From 539fced8549fbac5ffc87008fd991cf8dc2a9073 Mon Sep 17 00:00:00 2001 From: metas-jb Date: Fri, 19 May 2017 17:04:53 +0200 Subject: [PATCH] update new release 5.10 --- app/Dockerfile | 2 +- db/Dockerfile | 2 +- docker-src/app/Dockerfile | 2 +- docker-src/webapi/Dockerfile | 2 +- ...be291.js => bundle0f85c56ae9d5678c8d86.js} | 19539 ++++++++-------- ....map => bundle0f85c56ae9d5678c8d86.js.map} | 2 +- docker-src/webui/sources/dist/index.html | 2 +- docker-src/webui/sources/dist/info.json | 8 +- .../dist/src/assets/css/fonts/metasfresh.eot | Bin 12328 -> 12772 bytes .../dist/src/assets/css/fonts/metasfresh.svg | 4 +- .../dist/src/assets/css/fonts/metasfresh.ttf | Bin 12152 -> 12596 bytes .../dist/src/assets/css/fonts/metasfresh.woff | Bin 7976 -> 8352 bytes webapi/Dockerfile | 2 +- webui/Dockerfile | 2 +- 14 files changed, 10038 insertions(+), 9529 deletions(-) rename docker-src/webui/sources/dist/{bundle67dec0207a03a41be291.js => bundle0f85c56ae9d5678c8d86.js} (97%) rename docker-src/webui/sources/dist/{bundle67dec0207a03a41be291.js.map => bundle0f85c56ae9d5678c8d86.js.map} (51%) diff --git a/app/Dockerfile b/app/Dockerfile index 204d0f4..4097506 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-app:5.9 +FROM metasfresh/metasfresh-app:5.10 COPY sources/configs/* /opt/metasfresh/ COPY sources/start_app.sh /opt/metasfresh/ diff --git a/db/Dockerfile b/db/Dockerfile index 961f5d1..acc6e1f 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-db:5.9 +FROM metasfresh/metasfresh-db:5.10 RUN localedef -i de_DE -c -f UTF-8 -A /usr/share/locale/locale.alias de_DE.UTF-8 RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 diff --git a/docker-src/app/Dockerfile b/docker-src/app/Dockerfile index 2deb5ed..1c61bf1 100644 --- a/docker-src/app/Dockerfile +++ b/docker-src/app/Dockerfile @@ -11,7 +11,7 @@ RUN apt -y install netcat \ && apt -y autoclean RUN mkdir -p /opt/metasfresh -RUN curl https://repo.metasfresh.com/service/local/repositories/mvn-release/content/de/metas/dist/de.metas.endcustomer.mf15.dist/2.159/de.metas.endcustomer.mf15.dist-2.159-dist.tar.gz \ +RUN curl https://repo.metasfresh.com/service/local/repositories/mvn-release/content/de/metas/dist/de.metas.endcustomer.mf15.dist/2.173/de.metas.endcustomer.mf15.dist-2.173-dist.tar.gz \ | tar -xzC /opt/metasfresh/ COPY sources/configs/* /opt/metasfresh/ diff --git a/docker-src/webapi/Dockerfile b/docker-src/webapi/Dockerfile index d7fd8fa..c125f5f 100644 --- a/docker-src/webapi/Dockerfile +++ b/docker-src/webapi/Dockerfile @@ -12,7 +12,7 @@ RUN apt -y install netcat \ COPY sources/configs/local_settings.properties /root/ RUN mkdir -p /opt/metasfresh-webui-api/metasfresh-webui-api \ && mkdir -p /opt/metasfresh-webui-api/log -RUN curl https://repo.metasfresh.com/service/local/repositories/mvn-release/content/de/metas/ui/web/metasfresh-webui-api/2.80/metasfresh-webui-api-2.80.jar \ +RUN curl https://repo.metasfresh.com/service/local/repositories/mvn-release/content/de/metas/ui/web/metasfresh-webui-api/2.88/metasfresh-webui-api-2.88.jar \ --output /opt/metasfresh-webui-api/metasfresh-webui-api.jar \ && chmod 750 /opt/metasfresh-webui-api/metasfresh-webui-api.jar diff --git a/docker-src/webui/sources/dist/bundle67dec0207a03a41be291.js b/docker-src/webui/sources/dist/bundle0f85c56ae9d5678c8d86.js similarity index 97% rename from docker-src/webui/sources/dist/bundle67dec0207a03a41be291.js rename to docker-src/webui/sources/dist/bundle0f85c56ae9d5678c8d86.js index 3e2e118..f67cf77 100644 --- a/docker-src/webui/sources/dist/bundle67dec0207a03a41be291.js +++ b/docker-src/webui/sources/dist/bundle0f85c56ae9d5678c8d86.js @@ -20551,7 +20551,7 @@ var _NotificationHandler2 = _interopRequireDefault(_NotificationHandler); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); var _AppActions = __webpack_require__(421); @@ -20611,8 +20611,14 @@ store.dispatch((0, _AppActions.addNotification)('Error: ' + data.message.split(' ', 4).join(' ') + '...', data.message, 5000, 'error', errorTitle)); } } + if (error.response.request.responseURL.includes('showError=true')) { + var _data = error.response.data; - return Promise.reject(error); + + store.dispatch((0, _AppActions.addNotification)('Error: ' + _data.message.split(' ', 4).join(' ') + '...', _data.message, 5000, 'error', '')); + } else { + return Promise.reject(error); + } }); var App = function (_Component) { @@ -20844,11 +20850,14 @@ var emptyFunction = __webpack_require__(12); var invariant = __webpack_require__(8); + var ReactPropTypesSecret = __webpack_require__(28); module.exports = function() { - // Important! - // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. - function shim() { + function shim(props, propName, componentName, location, propFullName, secret) { + if (secret === ReactPropTypesSecret) { + // It is still safe when called from React. + return; + } invariant( false, 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + @@ -20860,6 +20869,8 @@ function getShim() { return shim; }; + // Important! + // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. var ReactPropTypes = { array: shim, bool: shim, @@ -25418,7 +25429,7 @@ var _Settings2 = _interopRequireDefault(_Settings); - var _Dashboard = __webpack_require__(602); + var _Dashboard = __webpack_require__(610); var _Dashboard2 = _interopRequireDefault(_Dashboard); @@ -25440,7 +25451,7 @@ var _AppActions = __webpack_require__(421); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -31754,6 +31765,10 @@ return _this.__navigate__REACT_HOT_LOADER__.apply(_this, arguments); }; + _this.navigateToAlphanumeric = function () { + return _this.__navigateToAlphanumeric__REACT_HOT_LOADER__.apply(_this, arguments); + }; + _this.handleKeyDown = function () { return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); }; @@ -31982,39 +31997,76 @@ }); var next = up ? selectedIndex + 1 : selectedIndex - 1; - this.setState({ selected: next >= 0 && next <= dropdownList.length - 1 ? dropdownList[next] : selected }); } + }, { + key: '__navigateToAlphanumeric__REACT_HOT_LOADER__', + value: function __navigateToAlphanumeric__REACT_HOT_LOADER__(char) { + var _state2 = this.state, + isOpen = _state2.isOpen, + selected = _state2.selected; + var list = this.props.list; + + + if (!isOpen) { + this.setState({ + isOpen: true + }); + } + + var caption = function caption(item) { + return item[Object.keys(item)[0]]; + }; + var items = list.filter(function (item) { + return caption(item)[0].toUpperCase() === char.toUpperCase(); + }); + + var selectedIndex = items.indexOf(selected); + + var item = selectedIndex > -1 ? items[selectedIndex + 1] : items[0]; + + if (!item) { + return; + } + + this.setState({ + selected: item + }); + } }, { key: '__handleKeyDown__REACT_HOT_LOADER__', value: function __handleKeyDown__REACT_HOT_LOADER__(e) { - var _state2 = this.state, - selected = _state2.selected, - isOpen = _state2.isOpen; + var _state3 = this.state, + selected = _state3.selected, + isOpen = _state3.isOpen; - switch (e.key) { - case 'ArrowDown': - e.preventDefault(); - this.navigate(true); - break; - case 'ArrowUp': - e.preventDefault(); - this.navigate(false); - break; - case 'Enter': - e.preventDefault(); - if (isOpen) { - e.stopPropagation(); - } - this.handleSelect(selected); - break; - case 'Escape': - e.preventDefault(); - this.handleBlur(); - break; + if (e.keyCode > 47 && e.keyCode < 123) { + this.navigateToAlphanumeric(e.key); + } else { + switch (e.key) { + case 'ArrowDown': + e.preventDefault(); + this.navigate(true); + break; + case 'ArrowUp': + e.preventDefault(); + this.navigate(false); + break; + case 'Enter': + e.preventDefault(); + if (isOpen) { + e.stopPropagation(); + } + this.handleSelect(selected); + break; + case 'Escape': + e.preventDefault(); + this.handleBlur(); + break; + } } } }, { @@ -48049,6 +48101,7 @@ exports.getAvailableLang = getAvailableLang; exports.browseViewRequest = browseViewRequest; exports.createViewRequest = createViewRequest; + exports.filterViewRequest = filterViewRequest; exports.addNotification = addNotification; exports.deleteNotification = deleteNotification; exports.updateUri = updateUri; @@ -48177,6 +48230,14 @@ }; } + function filterViewRequest(windowType, viewId, filters) { + return function () { + return _axios2.default.post(config.API_URL + '/documentView/' + windowType + '/' + viewId + '/filter', { + 'filters': filters + }); + }; + } + function addNotification(title, msg, time, notifType, shortMsg) { return { type: types.ADD_NOTIFICATION, @@ -48377,6 +48438,8 @@ __REACT_HOT_LOADER__.register(createViewRequest, 'createViewRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/AppActions.js'); + __REACT_HOT_LOADER__.register(filterViewRequest, 'filterViewRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/AppActions.js'); + __REACT_HOT_LOADER__.register(addNotification, 'addNotification', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/AppActions.js'); __REACT_HOT_LOADER__.register(deleteNotification, 'deleteNotification', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/AppActions.js'); @@ -53812,9 +53875,13 @@ var _moment2 = _interopRequireDefault(_moment); + var _Modal = __webpack_require__(483); + + var _Modal2 = _interopRequireDefault(_Modal); + var _AppActions = __webpack_require__(421); - var _Container = __webpack_require__(483); + var _Container = __webpack_require__(578); var _Container2 = _interopRequireDefault(_Container); @@ -53927,6 +53994,9 @@ value: function render() { var _this5 = this; + var _props = this.props, + rawModal = _props.rawModal, + modal = _props.modal; var _state = this.state, langs = _state.langs, value = _state.value, @@ -53938,6 +54008,18 @@ hideHeader: hideHeader, siteName: 'Settings' }, + modal.visible && _react2.default.createElement(_Modal2.default, { + windowType: modal.type, + data: modal.data, + layout: modal.layout, + rowData: modal.rowData, + tabId: modal.tabId, + rowId: modal.rowId, + modalTitle: modal.title, + modalType: modal.modalType, + modalViewId: modal.viewId, + rawModalVisible: rawModal && rawModal.visible + }), _react2.default.createElement( 'div', { className: 'window-wrapper' }, @@ -53990,11 +54072,29 @@ return Settings; }(_react.Component); + function mapStateToProps(state) { + var windowHandler = state.windowHandler; + + var _ref = windowHandler || { + modal: {}, + rawModal: {} + }, + modal = _ref.modal, + rawModal = _ref.rawModal; + + return { + modal: modal, + rawModal: rawModal + }; + } + Settings.propTypes = { - dispatch: _propTypes2.default.func.isRequired + dispatch: _propTypes2.default.func.isRequired, + modal: _propTypes2.default.object.isRequired, + rawModal: _propTypes2.default.object.isRequired }; - Settings = (0, _reactRedux.connect)()(Settings); + Settings = (0, _reactRedux.connect)(mapStateToProps)(Settings); var _default = Settings; exports.default = _default; @@ -54007,6 +54107,8 @@ __REACT_HOT_LOADER__.register(Settings, 'Settings', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Settings.js'); + __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Settings.js'); + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/containers/Settings.js'); }(); @@ -54022,8 +54124,6 @@ value: true }); - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _react = __webpack_require__(2); @@ -54036,101 +54136,462 @@ var _reactRedux = __webpack_require__(171); - var _Header = __webpack_require__(484); + var _Window = __webpack_require__(484); - var _Header2 = _interopRequireDefault(_Header); + var _Window2 = _interopRequireDefault(_Window); - var _ErrorScreen = __webpack_require__(601); + var _Process = __webpack_require__(575); - var _ErrorScreen2 = _interopRequireDefault(_ErrorScreen); + var _Process2 = _interopRequireDefault(_Process); + + var _Indicator = __webpack_require__(576); + + var _Indicator2 = _interopRequireDefault(_Indicator); + + var _OverlayField = __webpack_require__(577); + + var _OverlayField2 = _interopRequireDefault(_OverlayField); + + var _WindowActions = __webpack_require__(487); + + var _GenericActions = __webpack_require__(489); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - var Container = function (_Component) { - _inherits(Container, _Component); + var Modal = function (_Component) { + _inherits(Modal, _Component); - function Container(props) { - _classCallCheck(this, Container); + function Modal(props) { + _classCallCheck(this, Modal); - return _possibleConstructorReturn(this, (Container.__proto__ || Object.getPrototypeOf(Container)).call(this, props)); + var _this = _possibleConstructorReturn(this, (Modal.__proto__ || Object.getPrototypeOf(Modal)).call(this, props)); + + _this.init = function () { + return _this.__init__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClose = function () { + return _this.__handleClose__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.closeModal = function () { + return _this.__closeModal__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleScroll = function () { + return _this.__handleScroll__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.setFetchOnTrue = function () { + return _this.__setFetchOnTrue__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleStart = function () { + return _this.__handleStart__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.removeModal = function () { + return _this.__removeModal__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderModalBody = function () { + return _this.__renderModalBody__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderPanel = function () { + return _this.__renderPanel__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderOverlay = function () { + return _this.__renderOverlay__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + var _this$props = _this.props, + rowId = _this$props.rowId, + dataId = _this$props.dataId; + + + _this.state = { + scrolled: false, + isNew: rowId === 'NEW', + isNewDoc: dataId === 'NEW', + init: false, + pending: false, + waitingFetch: false + }; + return _this; } - _createClass(Container, [{ + _createClass(Modal, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.init(); + + // Dirty solution, but use only if you need to + // there is no way to affect body + // because body is out of react app range + // and css dont affect parents + // but we have to change scope of scrollbar + document.body.style.overflow = 'hidden'; + + var modalContent = document.querySelector('.js-panel-modal-content'); + + modalContent && modalContent.addEventListener('scroll', this.handleScroll); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + var modalContent = document.querySelector('.js-panel-modal-content'); + modalContent && modalContent.removeEventListener('scroll', this.handleScroll); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate(prevProps) { + var _this2 = this; + + var _props = this.props, + windowType = _props.windowType, + indicator = _props.indicator; + var waitingFetch = this.state.waitingFetch; + + + if (prevProps.windowType !== windowType) { + this.init(); + } + + // Case when we have to trigger pending start request + // in due to some pending patches that are required. + if (waitingFetch && prevProps.indicator !== indicator) { + this.setState({ + waitingFetch: false + }, function () { + _this2.handleStart(); + }); + } + } + }, { + key: '__init__REACT_HOT_LOADER__', + value: function __init__REACT_HOT_LOADER__() { + var _this3 = this; + + var _props2 = this.props, + dispatch = _props2.dispatch, + windowType = _props2.windowType, + dataId = _props2.dataId, + tabId = _props2.tabId, + rowId = _props2.rowId, + modalType = _props2.modalType, + selected = _props2.selected, + relativeType = _props2.relativeType, + isAdvanced = _props2.isAdvanced, + modalViewId = _props2.modalViewId, + modalViewDocumentIds = _props2.modalViewDocumentIds; + + + switch (modalType) { + case 'window': + dispatch((0, _WindowActions.createWindow)(windowType, dataId, tabId, rowId, true, isAdvanced)).catch(function (err) { + _this3.handleClose(); + throw err; + }); + break; + case 'process': + // We have 3 cases of processes (prioritized): + // - with viewDocumentIds: on single page with rawModal + // - with dataId: on single document page + // - with selected : on gridviews + dispatch((0, _WindowActions.createProcess)(windowType, modalViewId, relativeType, modalViewDocumentIds || (dataId ? [dataId] : selected), tabId, rowId)).catch(function (err) { + _this3.handleClose(); + + if (err.toString() !== 'Error: close_modal') { + throw err; + } + }); + break; + } + } + }, { + key: '__handleClose__REACT_HOT_LOADER__', + value: function __handleClose__REACT_HOT_LOADER__() { + var _props3 = this.props, + modalSaveStatus = _props3.modalSaveStatus, + modalType = _props3.modalType; + + + if (modalType === 'process') { + return this.closeModal(); + } + + if (modalSaveStatus || window.confirm('Do you really want to leave?')) { + this.closeModal(); + } + } + }, { + key: '__closeModal__REACT_HOT_LOADER__', + value: function __closeModal__REACT_HOT_LOADER__() { + var _this4 = this; + + var _props4 = this.props, + dispatch = _props4.dispatch, + closeCallback = _props4.closeCallback, + dataId = _props4.dataId, + windowType = _props4.windowType, + relativeType = _props4.relativeType, + relativeDataId = _props4.relativeDataId, + triggerField = _props4.triggerField; + var _state = this.state, + isNew = _state.isNew, + isNewDoc = _state.isNewDoc; + + + if (isNewDoc) { + dispatch((0, _GenericActions.processNewRecord)('window', windowType, dataId)).then(function (response) { + dispatch((0, _WindowActions.patch)('window', relativeType, relativeDataId, null, null, triggerField, _defineProperty({}, response.data, ''))).then(function () { + _this4.removeModal(); + }); + }); + } else { + closeCallback && closeCallback(isNew); + this.removeModal(); + } + } + }, { + key: '__handleScroll__REACT_HOT_LOADER__', + value: function __handleScroll__REACT_HOT_LOADER__(event) { + var scrollTop = event.srcElement.scrollTop; + + this.setState({ + scrolled: scrollTop > 0 + }); + } + }, { + key: '__setFetchOnTrue__REACT_HOT_LOADER__', + value: function __setFetchOnTrue__REACT_HOT_LOADER__() { + this.setState({ + waitingFetch: true + }); + } + }, { + key: '__handleStart__REACT_HOT_LOADER__', + value: function __handleStart__REACT_HOT_LOADER__() { + var _this5 = this; + + var _props5 = this.props, + dispatch = _props5.dispatch, + layout = _props5.layout, + windowType = _props5.windowType, + indicator = _props5.indicator; + + + if (indicator === 'pending') { + this.setState({ + waitingFetch: true, + pending: true + }); + + return; + } + + this.setState({ + pending: true + }, function () { + dispatch((0, _WindowActions.startProcess)(windowType, layout.pinstanceId)).then(function (response) { + _this5.setState({ + pending: false + }, function () { + dispatch((0, _WindowActions.handleProcessResponse)(response, windowType, layout.pinstanceId, function () { + return _this5.removeModal(); + })); + }); + }).catch(function () { + _this5.setState({ + pending: false + }); + }); + }); + } + }, { + key: '__removeModal__REACT_HOT_LOADER__', + value: function __removeModal__REACT_HOT_LOADER__() { + var _props6 = this.props, + dispatch = _props6.dispatch, + rawModalVisible = _props6.rawModalVisible; + + + dispatch((0, _WindowActions.closeModal)()); + + if (!rawModalVisible) { + document.body.style.overflow = 'auto'; + } + } + }, { + key: '__renderModalBody__REACT_HOT_LOADER__', + value: function __renderModalBody__REACT_HOT_LOADER__() { + var _props7 = this.props, + data = _props7.data, + layout = _props7.layout, + tabId = _props7.tabId, + rowId = _props7.rowId, + dataId = _props7.dataId, + modalType = _props7.modalType, + windowType = _props7.windowType, + isAdvanced = _props7.isAdvanced; + var pending = this.state.pending; + + + switch (modalType) { + case 'window': + return _react2.default.createElement(_Window2.default, { + data: data, + dataId: dataId, + layout: layout, + modal: true, + tabId: tabId, + rowId: rowId, + isModal: true, + isAdvanced: isAdvanced, + tabsInfo: null + }); + case 'process': + return _react2.default.createElement(_Process2.default, { + data: data, + layout: layout, + type: windowType, + disabled: pending + }); + } + } + }, { + key: '__renderPanel__REACT_HOT_LOADER__', + value: function __renderPanel__REACT_HOT_LOADER__() { + var _props8 = this.props, + data = _props8.data, + modalTitle = _props8.modalTitle, + modalType = _props8.modalType, + isDocumentNotSaved = _props8.isDocumentNotSaved, + layout = _props8.layout; + var _state2 = this.state, + scrolled = _state2.scrolled, + pending = _state2.pending, + isNewDoc = _state2.isNewDoc; + + + return data.length > 0 && _react2.default.createElement( + 'div', + { + className: 'screen-freeze js-not-unselect' + }, + _react2.default.createElement( + 'div', + { className: 'panel panel-modal panel-modal-primary' }, + _react2.default.createElement( + 'div', + { + className: 'panel-modal-header ' + (scrolled ? 'header-shadow' : '') + }, + _react2.default.createElement( + 'span', + { className: 'panel-modal-header-title' }, + modalTitle ? modalTitle : layout.caption + ), + _react2.default.createElement( + 'div', + { className: 'items-row-2' }, + isNewDoc && _react2.default.createElement( + 'button', + { + className: 'btn btn-meta-outline-secondary\n btn-distance-3 btn-md ' + (pending ? 'tag-disabled disabled ' : ''), + onClick: this.removeModal, + tabIndex: 0 + }, + 'Cancel' + ), + _react2.default.createElement( + 'button', + { + className: 'btn btn-meta-outline-secondary\n btn-distance-3 btn-md ' + (pending ? 'tag-disabled disabled ' : ''), + onClick: this.handleClose, + tabIndex: 0 + }, + modalType === 'process' ? 'Cancel' : 'Done' + ), + modalType === 'process' && _react2.default.createElement( + 'button', + { + className: 'btn btn-meta-primary btn-distance-3\n btn-md ' + (pending ? 'tag-disabled disabled' : ''), + onClick: this.handleStart, + tabIndex: 0 + }, + 'Start' + ) + ) + ), + _react2.default.createElement(_Indicator2.default, { isDocumentNotSaved: isDocumentNotSaved }), + _react2.default.createElement( + 'div', + { + className: 'panel-modal-content js-panel-modal-content\n container-fluid', + ref: function ref(c) { + c && c.focus(); + } + }, + this.renderModalBody() + ) + ) + ); + } + }, { + key: '__renderOverlay__REACT_HOT_LOADER__', + value: function __renderOverlay__REACT_HOT_LOADER__() { + var _props9 = this.props, + data = _props9.data, + layout = _props9.layout, + windowType = _props9.windowType; + var pending = this.state.pending; + + + return _react2.default.createElement(_OverlayField2.default, { + type: windowType, + disabled: pending, + data: data, + layout: layout, + handleSubmit: this.setFetchOnTrue, + closeOverlay: this.removeModal + }); + } + }, { key: 'render', value: function render() { - var _props = this.props, - docActionElem = _props.docActionElem, - docStatusData = _props.docStatusData, - docNoData = _props.docNoData, - docId = _props.docId, - docSummaryData = _props.docSummaryData, - dataId = _props.dataId, - windowType = _props.windowType, - breadcrumb = _props.breadcrumb, - references = _props.references, - actions = _props.actions, - showSidelist = _props.showSidelist, - siteName = _props.siteName, - connectionError = _props.connectionError, - noMargin = _props.noMargin, - entity = _props.entity, - children = _props.children, - query = _props.query, - attachments = _props.attachments, - showIndicator = _props.showIndicator, - isDocumentNotSaved = _props.isDocumentNotSaved, - hideHeader = _props.hideHeader, - handleDeletedStatus = _props.handleDeletedStatus, - dropzoneFocused = _props.dropzoneFocused, - notfound = _props.notfound; + var layout = this.props.layout; return _react2.default.createElement( 'div', null, - - // Forcing refresh component - !hideHeader && _react2.default.createElement(_Header2.default, _extends({ entity: entity, docStatusData: docStatusData, docNoData: docNoData, docSummaryData: docSummaryData, - handleDeletedStatus: handleDeletedStatus, isDocumentNotSaved: isDocumentNotSaved, - showIndicator: showIndicator, query: query, siteName: siteName, showSidelist: showSidelist, - attachments: attachments, actions: actions, references: references, windowType: windowType, - breadcrumb: breadcrumb, dataId: dataId, dropzoneFocused: dropzoneFocused, notfound: notfound, docId: docId - }, { - docStatus: docActionElem - })), - connectionError && _react2.default.createElement(_ErrorScreen2.default, null), - _react2.default.createElement( - 'div', - { - className: 'header-sticky-distance js-unselect ' + (noMargin ? 'dashboard' : 'container-fluid') - }, - children - ) + (!layout.layoutType || layout.layoutType === 'panel') && this.renderPanel(), + layout.layoutType === 'singleOverlayField' && this.renderOverlay() ); } }]); - return Container; + return Modal; }(_react.Component); - Container.propTypes = { - connectionError: _propTypes2.default.bool + Modal.propTypes = { + dispatch: _propTypes2.default.func.isRequired }; - var mapStateToProps = function mapStateToProps(state) { - return { - connectionError: state.windowHandler.connectionError || false - }; - }; - - var _default = (0, _reactRedux.connect)(mapStateToProps)(Container); + Modal = (0, _reactRedux.connect)()(Modal); + var _default = Modal; exports.default = _default; ; @@ -54139,11 +54600,9 @@ return; } - __REACT_HOT_LOADER__.register(Container, 'Container', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Container.js'); + __REACT_HOT_LOADER__.register(Modal, 'Modal', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js'); - __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Container.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Container.js'); + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js'); }(); ; @@ -54166,63 +54625,23 @@ var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(173); + var _Dropzone = __webpack_require__(485); - var _propTypes2 = _interopRequireDefault(_propTypes); + var _Dropzone2 = _interopRequireDefault(_Dropzone); - var _reactRedux = __webpack_require__(171); + var _WindowActions = __webpack_require__(487); - var _reactRouterRedux = __webpack_require__(236); - - var _metasfresh_logo_green_thumb = __webpack_require__(299); - - var _metasfresh_logo_green_thumb2 = _interopRequireDefault(_metasfresh_logo_green_thumb); - - var _SubHeader = __webpack_require__(485); - - var _SubHeader2 = _interopRequireDefault(_SubHeader); - - var _Breadcrumb = __webpack_require__(491); - - var _Breadcrumb2 = _interopRequireDefault(_Breadcrumb); - - var _MasterWidget = __webpack_require__(502); + var _MasterWidget = __webpack_require__(491); var _MasterWidget2 = _interopRequireDefault(_MasterWidget); - var _SideList = __webpack_require__(571); + var _Tabs = __webpack_require__(559); - var _SideList2 = _interopRequireDefault(_SideList); + var _Tabs2 = _interopRequireDefault(_Tabs); - var _Indicator = __webpack_require__(597); + var _Table = __webpack_require__(561); - var _Indicator2 = _interopRequireDefault(_Indicator); - - var _Inbox = __webpack_require__(598); - - var _Inbox2 = _interopRequireDefault(_Inbox); - - var _Tooltips = __webpack_require__(501); - - var _Tooltips2 = _interopRequireDefault(_Tooltips); - - var _Prompt = __webpack_require__(580); - - var _Prompt2 = _interopRequireDefault(_Prompt); - - var _WindowActions = __webpack_require__(503); - - var _GenericActions = __webpack_require__(489); - - var _keymap = __webpack_require__(490); - - var _keymap2 = _interopRequireDefault(_keymap); - - var _GlobalContextShortcuts = __webpack_require__(600); - - var _GlobalContextShortcuts2 = _interopRequireDefault(_GlobalContextShortcuts); - - var _reactShortcuts = __webpack_require__(526); + var _Table2 = _interopRequireDefault(_Table); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -54232,617 +54651,273 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - var shortcutManager = new _reactShortcuts.ShortcutManager(_keymap2.default); + var Window = function (_Component) { + _inherits(Window, _Component); - var Header = function (_Component) { - _inherits(Header, _Component); + function Window(props) { + _classCallCheck(this, Window); - function Header(props) { - _classCallCheck(this, Header); + var _this = _possibleConstructorReturn(this, (Window.__proto__ || Object.getPrototypeOf(Window)).call(this, props)); - var _this = _possibleConstructorReturn(this, (Header.__proto__ || Object.getPrototypeOf(Header)).call(this, props)); - - _this.componentWillUpdate = function () { - return _this.__componentWillUpdate__REACT_HOT_LOADER__.apply(_this, arguments); + _this.toggleTableFullScreen = function () { + return _this.__toggleTableFullScreen__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.getChildContext = function () { - return _this.__getChildContext__REACT_HOT_LOADER__.apply(_this, arguments); + _this.renderTabs = function () { + return _this.__renderTabs__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.handleInboxOpen = function () { - return _this.__handleInboxOpen__REACT_HOT_LOADER__.apply(_this, arguments); + _this.renderSections = function () { + return _this.__renderSections__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.handleMenuOverlay = function () { - return _this.__handleMenuOverlay__REACT_HOT_LOADER__.apply(_this, arguments); + _this.renderColumns = function () { + return _this.__renderColumns__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.handleScroll = function () { - return _this.__handleScroll__REACT_HOT_LOADER__.apply(_this, arguments); + _this.renderElementGroups = function () { + return _this.__renderElementGroups__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.handleDashboardLink = function () { - return _this.__handleDashboardLink__REACT_HOT_LOADER__.apply(_this, arguments); + _this.renderElementsLine = function () { + return _this.__renderElementsLine__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.toggleScrollScope = function () { - return _this.__toggleScrollScope__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.toggleTooltip = function () { - return _this.__toggleTooltip__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.openModal = function () { - return _this.__openModal__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handlePrint = function () { - return _this.__handlePrint__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleDelete = function () { - return _this.__handleDelete__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handlePromptCancelClick = function () { - return _this.__handlePromptCancelClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handlePromptSubmitClick = function () { - return _this.__handlePromptSubmitClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleDocStatusToggle = function () { - return _this.__handleDocStatusToggle__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleSidelistToggle = function () { - return _this.__handleSidelistToggle__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.closeOverlays = function () { - return _this.__closeOverlays__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.redirect = function () { - return _this.__redirect__REACT_HOT_LOADER__.apply(_this, arguments); + _this.renderElements = function () { + return _this.__renderElements__REACT_HOT_LOADER__.apply(_this, arguments); }; _this.state = { - isSubheaderShow: false, - isSideListShow: false, - sideListTab: null, - isMenuOverlayShow: false, - menuOverlay: null, - scrolled: false, - isInboxOpen: false, - tooltipOpen: '', - prompt: { - open: false - } + fullScreen: null, + dragActive: false }; + + if (props.isModal) { + _this.tabIndex = { + firstColumn: 0, + tabs: 0, + secondColumn: 0 + }; + } else { + _this.tabIndex = { + firstColumn: 1, + tabs: 2, + secondColumn: 3 + }; + } return _this; } - _createClass(Header, [{ - key: 'componentDidMount', - value: function componentDidMount() { - document.addEventListener('scroll', this.handleScroll); - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - document.removeEventListener('scroll', this.handleScroll); - this.toggleScrollScope(false); - } - }, { - key: '__componentWillUpdate__REACT_HOT_LOADER__', - value: function __componentWillUpdate__REACT_HOT_LOADER__(nextProps) { - var dropzoneFocused = this.props.dropzoneFocused; - - if (nextProps.dropzoneFocused !== dropzoneFocused && nextProps.dropzoneFocused) { - this.closeOverlays(); - } - } - }, { - key: '__getChildContext__REACT_HOT_LOADER__', - value: function __getChildContext__REACT_HOT_LOADER__() { - return { shortcuts: shortcutManager }; - } - }, { - key: '__handleInboxOpen__REACT_HOT_LOADER__', - value: function __handleInboxOpen__REACT_HOT_LOADER__(state) { + _createClass(Window, [{ + key: '__toggleTableFullScreen__REACT_HOT_LOADER__', + value: function __toggleTableFullScreen__REACT_HOT_LOADER__(tabId) { this.setState({ - isInboxOpen: !!state + fullScreen: tabId }); } }, { - key: '__handleMenuOverlay__REACT_HOT_LOADER__', - value: function __handleMenuOverlay__REACT_HOT_LOADER__(e, nodeId) { + key: '__renderTabs__REACT_HOT_LOADER__', + value: function __renderTabs__REACT_HOT_LOADER__(tabs) { var _this2 = this; - var _state = this.state, - isSubheaderShow = _state.isSubheaderShow, - isSideListShow = _state.isSideListShow; - - e && e.preventDefault(); - - var toggleBreadcrumb = function toggleBreadcrumb() { - _this2.setState({ - menuOverlay: nodeId - }, function () { - if (nodeId !== '') { - _this2.setState({ - isMenuOverlayShow: true - }); - } else { - _this2.setState({ - isMenuOverlayShow: false - }); - } - }); - }; - - if (!isSubheaderShow && !isSideListShow) { - toggleBreadcrumb(); - } - } - }, { - key: '__handleScroll__REACT_HOT_LOADER__', - value: function __handleScroll__REACT_HOT_LOADER__(event) { - var scrollTop = event.srcElement.body.scrollTop; - - if (scrollTop > 0) { - this.setState({ - scrolled: true - }); - } else { - this.setState({ - scrolled: false - }); - } - } - }, { - key: '__handleDashboardLink__REACT_HOT_LOADER__', - value: function __handleDashboardLink__REACT_HOT_LOADER__() { - var dispatch = this.props.dispatch; - - dispatch((0, _reactRouterRedux.push)('/')); - } - }, { - key: '__toggleScrollScope__REACT_HOT_LOADER__', - value: function __toggleScrollScope__REACT_HOT_LOADER__(open) { - if (!open) { - document.body.style.overflow = 'auto'; - } else { - document.body.style.overflow = 'hidden'; - } - } - }, { - key: '__toggleTooltip__REACT_HOT_LOADER__', - value: function __toggleTooltip__REACT_HOT_LOADER__(tooltip) { - this.setState({ - tooltipOpen: tooltip - }); - } - }, { - key: '__openModal__REACT_HOT_LOADER__', - value: function __openModal__REACT_HOT_LOADER__(windowType, type, caption, isAdvanced) { + var type = this.props.layout.type; var _props = this.props, - dispatch = _props.dispatch, - query = _props.query; + data = _props.data, + rowData = _props.rowData, + newRow = _props.newRow, + tabsInfo = _props.tabsInfo; + var fullScreen = this.state.fullScreen; - dispatch((0, _WindowActions.openModal)(caption, windowType, type, null, null, isAdvanced, query && query.viewId)); - } - }, { - key: '__handlePrint__REACT_HOT_LOADER__', - value: function __handlePrint__REACT_HOT_LOADER__(windowType, docId, docNo) { - var dispatch = this.props.dispatch; + var dataId = (0, _WindowActions.findRowByPropName)(data, 'ID').value; + return _react2.default.createElement( + _Tabs2.default, + { + tabIndex: this.tabIndex.tabs, + toggleTableFullScreen: this.toggleTableFullScreen, + fullScreen: fullScreen, + windowType: type + }, + tabs.map(function (elem) { + var tabid = elem.tabid, + caption = elem.caption, + elements = elem.elements, + emptyResultText = elem.emptyResultText, + emptyResultHint = elem.emptyResultHint, + queryOnActivate = elem.queryOnActivate, + supportQuickInput = elem.supportQuickInput; - dispatch((0, _GenericActions.openFile)('window', windowType, docId, 'print', windowType + '_' + (docNo ? docNo : docId) + '.pdf')); - } - }, { - key: '__handleDelete__REACT_HOT_LOADER__', - value: function __handleDelete__REACT_HOT_LOADER__() { - this.setState({ - prompt: Object.assign({}, this.state.prompt, { - open: true + return _react2.default.createElement(_Table2.default, { + entity: 'window', + caption: caption, + key: tabid, + rowData: rowData, + cols: elements, + tabid: tabid, + type: type, + docId: dataId, + emptyText: emptyResultText, + emptyHint: emptyResultHint, + newRow: newRow, + tabIndex: _this2.tabIndex.tabs, + queryOnActivate: queryOnActivate, + supportQuickInput: supportQuickInput, + tabInfo: tabsInfo && tabsInfo[tabid], + disconnectFromState: true + }); }) + ); + } + }, { + key: '__renderSections__REACT_HOT_LOADER__', + value: function __renderSections__REACT_HOT_LOADER__(sections) { + var _this3 = this; + + return sections.map(function (elem, id) { + var columns = elem.columns; + return _react2.default.createElement( + 'div', + { className: 'row', key: 'section' + id }, + columns && _this3.renderColumns(columns) + ); }); } }, { - key: '__handlePromptCancelClick__REACT_HOT_LOADER__', - value: function __handlePromptCancelClick__REACT_HOT_LOADER__() { - this.setState({ - prompt: Object.assign({}, this.state.prompt, { - open: false - }) + key: '__renderColumns__REACT_HOT_LOADER__', + value: function __renderColumns__REACT_HOT_LOADER__(columns) { + var _this4 = this; + + var maxRows = 12; + var colWidth = Math.floor(maxRows / columns.length); + return columns.map(function (elem, id) { + var isFirst = id === 0; + var elementGroups = elem.elementGroups; + return _react2.default.createElement( + 'div', + { className: 'col-sm-' + colWidth, key: 'col' + id }, + elementGroups && _this4.renderElementGroups(elementGroups, isFirst) + ); }); } }, { - key: '__handlePromptSubmitClick__REACT_HOT_LOADER__', - value: function __handlePromptSubmitClick__REACT_HOT_LOADER__(windowType, docId) { + key: '__renderElementGroups__REACT_HOT_LOADER__', + value: function __renderElementGroups__REACT_HOT_LOADER__(group, isFirst) { + var _this5 = this; + + return group.map(function (elem, id) { + var type = elem.type, + elementsLine = elem.elementsLine; + + var shouldBeFocused = isFirst && id === 0; + + var tabIndex = type === 'primary' ? _this5.tabIndex.firstColumn : _this5.tabIndex.secondColumn; + + return elementsLine && elementsLine.length > 0 && _react2.default.createElement( + 'div', + { + key: 'elemGroups' + id, + tabIndex: shouldBeFocused ? 0 : undefined, + className: 'panel panel-spaced panel-distance ' + (type === 'primary' ? 'panel-bordered panel-primary' : 'panel-secondary') + }, + _this5.renderElementsLine(elementsLine, tabIndex, shouldBeFocused) + ); + }); + } + }, { + key: '__renderElementsLine__REACT_HOT_LOADER__', + value: function __renderElementsLine__REACT_HOT_LOADER__(elementsLine, tabIndex, shouldBeFocused) { + var _this6 = this; + + return elementsLine.map(function (elem, id) { + var elements = elem.elements; + + var isFocused = shouldBeFocused && id === 0; + return elements && elements.length > 0 && _react2.default.createElement( + 'div', + { className: 'elements-line', key: 'line' + id }, + _this6.renderElements(elements, tabIndex, isFocused) + ); + }); + } + }, { + key: '__renderElements__REACT_HOT_LOADER__', + value: function __renderElements__REACT_HOT_LOADER__(elements, tabIndex, isFocused) { + var type = this.props.layout.type; var _props2 = this.props, - dispatch = _props2.dispatch, - handleDeletedStatus = _props2.handleDeletedStatus; + data = _props2.data, + modal = _props2.modal, + tabId = _props2.tabId, + rowId = _props2.rowId, + dataId = _props2.dataId, + isAdvanced = _props2.isAdvanced; + var fullScreen = this.state.fullScreen; - this.setState({ - prompt: Object.assign({}, this.state.prompt, { - open: false - }) - }, function () { - dispatch((0, _GenericActions.deleteRequest)('window', windowType, null, null, [docId])).then(function () { - handleDeletedStatus(true); - dispatch((0, _reactRouterRedux.push)('/window/' + windowType)); + return elements.map(function (elem, id) { + var autoFocus = isFocused && id === 0; + var widgetData = elem.fields.map(function (item) { + return (0, _WindowActions.findRowByPropName)(data, item.field); }); + var relativeDocId = (0, _WindowActions.findRowByPropName)(data, 'ID').value; + return _react2.default.createElement(_MasterWidget2.default, _extends({ + entity: 'window', + key: 'element' + id, + windowType: type, + dataId: dataId, + widgetData: widgetData, + isModal: !!modal, + tabId: tabId, + rowId: rowId, + relativeDocId: relativeDocId, + isAdvanced: isAdvanced, + tabIndex: tabIndex, + autoFocus: autoFocus, + fullScreen: fullScreen + }, elem)); }); } - }, { - key: '__handleDocStatusToggle__REACT_HOT_LOADER__', - value: function __handleDocStatusToggle__REACT_HOT_LOADER__(close) { - var elem = document.getElementsByClassName('js-dropdown-toggler')[0]; - - if (close) { - elem.blur(); - } else { - if (document.activeElement === elem) { - elem.blur(); - } else { - elem.focus(); - } - } - } - }, { - key: '__handleSidelistToggle__REACT_HOT_LOADER__', - value: function __handleSidelistToggle__REACT_HOT_LOADER__() { - var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - var sideListTab = arguments[1]; - - - this.toggleScrollScope(id !== null); - - this.setState({ - isSideListShow: id !== null && id !== sideListTab, - sideListTab: id !== sideListTab ? id : null - }); - } - }, { - key: '__closeOverlays__REACT_HOT_LOADER__', - value: function __closeOverlays__REACT_HOT_LOADER__(clickedItem, callback) { - var isSubheaderShow = this.state.isSubheaderShow; - - - this.setState({ - menuOverlay: null, - isMenuOverlayShow: false, - isInboxOpen: false, - isSideListShow: false, - sideListTab: null, - isSubheaderShow: clickedItem == 'isSubheaderShow' ? !isSubheaderShow : false, - tooltipOpen: '' - }, callback); - - if (document.getElementsByClassName('js-dropdown-toggler')[0] && clickedItem != 'dropdown') { - this.handleDocStatusToggle(true); - } - } - }, { - key: '__redirect__REACT_HOT_LOADER__', - value: function __redirect__REACT_HOT_LOADER__(where) { - var dispatch = this.props.dispatch; - - dispatch((0, _reactRouterRedux.push)(where)); - } }, { key: 'render', value: function render() { - var _this3 = this; - + var _props$layout = this.props.layout, + sections = _props$layout.sections, + tabs = _props$layout.tabs; var _props3 = this.props, - docSummaryData = _props3.docSummaryData, - siteName = _props3.siteName, - docNoData = _props3.docNoData, - docStatus = _props3.docStatus, - docStatusData = _props3.docStatusData, - windowType = _props3.windowType, - dataId = _props3.dataId, - breadcrumb = _props3.breadcrumb, - showSidelist = _props3.showSidelist, - inbox = _props3.inbox, - selected = _props3.selected, - entity = _props3.entity, - query = _props3.query, - showIndicator = _props3.showIndicator, - isDocumentNotSaved = _props3.isDocumentNotSaved, - selectedWindowType = _props3.selectedWindowType, - notfound = _props3.notfound, - docId = _props3.docId; - var _state2 = this.state, - isSubheaderShow = _state2.isSubheaderShow, - isSideListShow = _state2.isSideListShow, - menuOverlay = _state2.menuOverlay, - isInboxOpen = _state2.isInboxOpen, - scrolled = _state2.scrolled, - isMenuOverlayShow = _state2.isMenuOverlayShow, - tooltipOpen = _state2.tooltipOpen, - prompt = _state2.prompt, - sideListTab = _state2.sideListTab; + handleDropFile = _props3.handleDropFile, + handleRejectDropped = _props3.handleRejectDropped, + handleDragStart = _props3.handleDragStart, + isModal = _props3.isModal; return _react2.default.createElement( 'div', - null, - prompt.open && _react2.default.createElement(_Prompt2.default, { - title: 'Delete', - text: 'Are you sure?', - buttons: { submit: 'Delete', cancel: 'Cancel' }, - onCancelClick: this.handlePromptCancelClick, - onSubmitClick: function onSubmitClick() { - return _this3.handlePromptSubmitClick(windowType, dataId); - } - }), + { key: 'window', className: 'window-wrapper' }, _react2.default.createElement( - 'nav', + _Dropzone2.default, { - className: 'header header-super-faded js-not-unselect ' + (scrolled ? 'header-shadow' : '') + handleDropFile: handleDropFile, + handleRejectDropped: handleRejectDropped, + handleDragStart: handleDragStart }, _react2.default.createElement( 'div', - { className: 'container-fluid' }, - _react2.default.createElement( - 'div', - { className: 'header-container' }, - _react2.default.createElement( - 'div', - { className: 'header-left-side' }, - _react2.default.createElement( - 'div', - { - onClick: function onClick() { - return _this3.closeOverlays('isSubheaderShow'); - }, - onMouseEnter: function onMouseEnter() { - return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.OPEN_ACTIONS_MENU); - }, - onMouseLeave: function onMouseLeave() { - return _this3.toggleTooltip(''); - }, - className: 'btn-square btn-header ' + 'tooltip-parent ' + (isSubheaderShow ? 'btn-meta-default-dark ' + 'btn-subheader-open btn-header-open' : 'btn-meta-primary') - }, - _react2.default.createElement('i', { className: 'meta-icon-more' }), - tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.OPEN_ACTIONS_MENU && _react2.default.createElement(_Tooltips2.default, { - name: _keymap2.default.GLOBAL_CONTEXT.OPEN_ACTIONS_MENU, - action: 'Action menu', - type: '' - }) - ), - _react2.default.createElement(_Breadcrumb2.default, _extends({ breadcrumb: breadcrumb, windowType: windowType, docSummaryData: docSummaryData, - dataId: dataId, siteName: siteName, menuOverlay: menuOverlay, docId: docId, - isDocumentNotSaved: isDocumentNotSaved }, { - handleMenuOverlay: this.handleMenuOverlay, - openModal: this.openModal - })) - ), - _react2.default.createElement( - 'div', - { className: 'header-center' }, - _react2.default.createElement('img', { - src: _metasfresh_logo_green_thumb2.default, - className: 'header-logo pointer', - onClick: function onClick() { - return _this3.handleDashboardLink(); - } - }) - ), - _react2.default.createElement( - 'div', - { className: 'header-right-side' }, - docStatus && _react2.default.createElement( - 'div', - { - className: 'hidden-sm-down tooltip-parent', - onClick: function onClick() { - return _this3.toggleTooltip(''); - }, - onMouseEnter: function onMouseEnter() { - return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.DOC_STATUS); - }, - onMouseLeave: function onMouseLeave() { - return _this3.toggleTooltip(''); - } - }, - _react2.default.createElement(_MasterWidget2.default, _extends({ - entity: 'window', - windowType: windowType, - dataId: dataId, - widgetData: [docStatusData], - noLabel: true, - type: 'primary', - dropdownOpenCallback: function dropdownOpenCallback() { - _this3.closeOverlays('dropdown'); - } - }, docStatus)), - tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.DOC_STATUS && _react2.default.createElement(_Tooltips2.default, { - name: _keymap2.default.GLOBAL_CONTEXT.DOC_STATUS, - action: 'Doc status', - type: '' - }) - ), - _react2.default.createElement( - 'div', - { - className: 'header-item-container ' + 'header-item-container-static ' + 'pointer tooltip-parent ' + (isInboxOpen ? 'header-item-open ' : ''), - onClick: function onClick() { - return _this3.closeOverlays('', function () { - return _this3.handleInboxOpen(true); - }); - }, - onMouseEnter: function onMouseEnter() { - return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.OPEN_INBOX_MENU); - }, - onMouseLeave: function onMouseLeave() { - return _this3.toggleTooltip(''); - } - }, - _react2.default.createElement( - 'span', - { - className: 'header-item header-item-badge icon-lg' - }, - _react2.default.createElement('i', { - className: 'meta-icon-notifications' - }), - inbox.unreadCount > 0 && _react2.default.createElement( - 'span', - { - className: 'notification-number' - }, - inbox.unreadCount - ) - ), - tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.OPEN_INBOX_MENU && _react2.default.createElement(_Tooltips2.default, { - name: _keymap2.default.GLOBAL_CONTEXT.OPEN_INBOX_MENU, - action: 'Inbox', - type: '' - }) - ), - _react2.default.createElement(_Inbox2.default, { - open: isInboxOpen, - close: this.handleInboxOpen, - disableOnClickOutside: !isInboxOpen, - inbox: inbox - }), - showSidelist && _react2.default.createElement( - 'div', - { - className: 'tooltip-parent btn-header ' + 'side-panel-toggle btn-square ' + (isSideListShow ? 'btn-meta-default-bright ' + 'btn-header-open' : 'btn-meta-primary'), - onClick: function onClick() { - _this3.closeOverlays(); - _this3.handleSidelistToggle(0); - }, - onMouseEnter: function onMouseEnter() { - return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.OPEN_SIDEBAR_MENU_0); - }, - onMouseLeave: function onMouseLeave() { - return _this3.toggleTooltip(''); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-list' }), - tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.OPEN_SIDEBAR_MENU_0 && _react2.default.createElement(_Tooltips2.default, { - name: _keymap2.default.GLOBAL_CONTEXT.OPEN_SIDEBAR_MENU_0, - action: 'Side list', - type: '' - }) - ) - ) - ) - ), - showIndicator && _react2.default.createElement(_Indicator2.default, { isDocumentNotSaved: isDocumentNotSaved }) + { className: 'sections-wrapper' }, + sections && this.renderSections(sections) + ) ), - isSubheaderShow && _react2.default.createElement(_SubHeader2.default, { - dataId: dataId, - windowType: windowType, - closeSubheader: function closeSubheader() { - return _this3.closeOverlays('isSubheaderShow'); - }, - docNo: docNoData && docNoData.value, - openModal: this.openModal, - handlePrint: this.handlePrint, - handleDelete: this.handleDelete, - redirect: this.redirect, - selected: selected, - selectedWindowType: selectedWindowType, - entity: entity, - disableOnClickOutside: !isSubheaderShow, - query: query, - notfound: notfound - }), - showSidelist && isSideListShow && _react2.default.createElement(_SideList2.default, { - windowType: windowType ? windowType : '', - closeOverlays: this.closeOverlays, - closeSideList: this.handleSidelistToggle, - isSideListShow: isSideListShow, - disableOnClickOutside: !showSidelist, - docId: dataId, - defaultTab: sideListTab, - open: true - }), - _react2.default.createElement(_GlobalContextShortcuts2.default, { - handleSidelistToggle: function handleSidelistToggle(id) { - return showSidelist && _this3.handleSidelistToggle(id, sideListTab); - }, - handleMenuOverlay: isMenuOverlayShow ? function () { - return _this3.handleMenuOverlay('', ''); - } : function () { - return _this3.closeOverlays('', function () { - return _this3.handleMenuOverlay('', '0'); - }); - }, - handleInboxOpen: isInboxOpen ? function () { - return _this3.handleInboxOpen(false); - } : function () { - return _this3.handleInboxOpen(true); - }, - openModal: dataId ? function () { - return _this3.openModal(windowType, 'window', 'Advanced edit', true); - } : '', - handlePrint: dataId ? function () { - return _this3.handlePrint(windowType, dataId, docNoData.value); - } : '', - handleDelete: dataId ? this.handleDelete : '', - redirect: windowType ? function () { - return _this3.redirect('/window/' + windowType + '/new'); - } : '', - handleDocStatusToggle: document.getElementsByClassName('js-dropdown-toggler')[0] ? this.handleDocStatusToggle : '', - closeOverlays: this.closeOverlays - }) + !isModal && _react2.default.createElement( + 'div', + { className: 'mt-1 tabs-wrapper' }, + tabs && this.renderTabs(tabs) + ) ); } }]); - return Header; + return Window; }(_react.Component); - Header.propTypes = { - dispatch: _propTypes2.default.func.isRequired, - selected: _propTypes2.default.array.isRequired, - inbox: _propTypes2.default.object.isRequired - }; - - function mapStateToProps(state) { - var windowHandler = state.windowHandler, - appHandler = state.appHandler; - - var _ref = appHandler || { - inbox: {} - }, - inbox = _ref.inbox; - - var _ref2 = windowHandler || { - selected: [], - selectedWindowType: null - }, - selected = _ref2.selected, - selectedWindowType = _ref2.selectedWindowType; - - return { - selected: selected, - inbox: inbox, - selectedWindowType: selectedWindowType - }; - } - - Header.childContextTypes = { - shortcuts: _propTypes2.default.object.isRequired - }; - - Header = (0, _reactRedux.connect)(mapStateToProps)(Header); - - var _default = Header; + var _default = Window; exports.default = _default; ; @@ -54851,13 +54926,9 @@ return; } - __REACT_HOT_LOADER__.register(shortcutManager, 'shortcutManager', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); + __REACT_HOT_LOADER__.register(Window, 'Window', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Window.js'); - __REACT_HOT_LOADER__.register(Header, 'Header', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); - - __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Window.js'); }(); ; @@ -54872,31 +54943,15 @@ value: true }); - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _react = __webpack_require__(2); var _react2 = _interopRequireDefault(_react); - var _propTypes = __webpack_require__(173); + var _reactDropzone = __webpack_require__(486); - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _reactOnclickoutside = __webpack_require__(486); - - var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - - var _Actions = __webpack_require__(487); - - var _Actions2 = _interopRequireDefault(_Actions); - - var _keymap = __webpack_require__(490); - - var _keymap2 = _interopRequireDefault(_keymap); + var _reactDropzone2 = _interopRequireDefault(_reactDropzone); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -54906,328 +54961,106 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - var Subheader = function (_Component) { - _inherits(Subheader, _Component); + var DropzoneWrapper = function (_Component) { + _inherits(DropzoneWrapper, _Component); - function Subheader(props) { - _classCallCheck(this, Subheader); + function DropzoneWrapper(props) { + _classCallCheck(this, DropzoneWrapper); - var _this = _possibleConstructorReturn(this, (Subheader.__proto__ || Object.getPrototypeOf(Subheader)).call(this, props)); + var _this = _possibleConstructorReturn(this, (DropzoneWrapper.__proto__ || Object.getPrototypeOf(DropzoneWrapper)).call(this, props)); - _this.handleKeyDown = function () { - return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClickOutside = function () { - return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.toggleAttachmentDelete = function () { - return _this.__toggleAttachmentDelete__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.getColumnActiveElem = function () { - return _this.__getColumnActiveElem__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.getItemActiveElem = function () { - return _this.__getItemActiveElem__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderNavColumn = function () { - return _this.__renderNavColumn__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderActionsColumn = function () { - return _this.__renderActionsColumn__REACT_HOT_LOADER__.apply(_this, arguments); + _this.handleDragStart = function () { + return _this.__handleDragStart__REACT_HOT_LOADER__.apply(_this, arguments); }; _this.state = { - pdfSrc: null + dragActive: false }; return _this; } - _createClass(Subheader, [{ - key: 'componentDidMount', - value: function componentDidMount() { - document.getElementsByClassName('js-subheader-column')[0].focus(); - } - }, { - key: '__handleKeyDown__REACT_HOT_LOADER__', - value: function __handleKeyDown__REACT_HOT_LOADER__(e) { - var closeSubheader = this.props.closeSubheader; + _createClass(DropzoneWrapper, [{ + key: 'handleDropFile', + value: function handleDropFile(accepted, rejected) { + var _props = this.props, + handleDropFile = _props.handleDropFile, + handleRejectDropped = _props.handleRejectDropped; - switch (e.key) { - case 'ArrowDown': - { - e.preventDefault(); - var activeElem = this.getItemActiveElem(); - if (activeElem.nextSibling) { - activeElem.nextSibling.focus(); - } - break; - } - case 'ArrowUp': - { - e.preventDefault(); - var activeEl = this.getItemActiveElem(); - if (activeEl.previousSibling) { - activeEl.previousSibling.focus(); - } - break; - } - case 'ArrowLeft': - { - e.preventDefault(); - var activeColumn = this.getColumnActiveElem(); - if (activeColumn.previousSibling) { - activeColumn.previousSibling.focus(); - if (this.getItemActiveElem().nextSibling) { - this.getItemActiveElem().nextSibling.focus(); - } - } - break; - } - case 'ArrowRight': - { - e.preventDefault(); - var activeCol = this.getColumnActiveElem(); - if (activeCol.nextSibling) { - activeCol.nextSibling.focus(); - if (this.getItemActiveElem().nextSibling) { - this.getItemActiveElem().nextSibling.focus(); - } - } - break; - } - case 'Enter': - e.preventDefault(); - document.activeElement.click(); - break; - case 'Escape': - e.preventDefault(); - closeSubheader(); - break; + this.handleDragEnd(); + + if (accepted.length) { + handleDropFile(accepted); + } + + if (rejected.length) { + handleRejectDropped(rejected); } } }, { - key: '__handleClickOutside__REACT_HOT_LOADER__', - value: function __handleClickOutside__REACT_HOT_LOADER__() { - var closeSubheader = this.props.closeSubheader; + key: '__handleDragStart__REACT_HOT_LOADER__', + value: function __handleDragStart__REACT_HOT_LOADER__() { + var handleDragStart = this.props.handleDragStart; + var dragActive = this.state.dragActive; + - closeSubheader(); - } - }, { - key: '__toggleAttachmentDelete__REACT_HOT_LOADER__', - value: function __toggleAttachmentDelete__REACT_HOT_LOADER__(value) { this.setState({ - attachmentHovered: value + dragActive: true + }, function () { + dragActive && handleDragStart(); }); } }, { - key: '__getColumnActiveElem__REACT_HOT_LOADER__', - value: function __getColumnActiveElem__REACT_HOT_LOADER__() { - var active = document.activeElement; - if (active.classList.contains('js-subheader-item')) { - return active.parentNode; - } else { - return active; - } - } - }, { - key: '__getItemActiveElem__REACT_HOT_LOADER__', - value: function __getItemActiveElem__REACT_HOT_LOADER__() { - var active = document.activeElement; - if (active.classList.contains('js-subheader-column')) { - var child = active.childNodes; - if (child[0] && child[0].classList.contains('js-spacer')) { - return child[0]; - } else { - return child[1]; - } - } else { - return active; - } - } - }, { - key: '__renderNavColumn__REACT_HOT_LOADER__', - value: function __renderNavColumn__REACT_HOT_LOADER__() { - var _props = this.props, - dataId = _props.dataId, - windowType = _props.windowType, - openModal = _props.openModal, - closeSubheader = _props.closeSubheader, - handlePrint = _props.handlePrint, - handleDelete = _props.handleDelete, - docNo = _props.docNo, - redirect = _props.redirect; - - - var docLinks = dataId && [_react2.default.createElement( - 'div', - { - key: 0, - className: 'subheader-item js-subheader-item', - tabIndex: 0, - onClick: function onClick() { - openModal(windowType, 'window', 'Advanced edit', true); - closeSubheader(); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-edit' }), - ' Advanced Edit', - _react2.default.createElement( - 'span', - { className: 'tooltip-inline' }, - _keymap2.default.GLOBAL_CONTEXT.OPEN_ADVANCED_EDIT - ) - ), _react2.default.createElement( - 'div', - { - key: 1, - className: 'subheader-item js-subheader-item', - tabIndex: 0, - onClick: function onClick() { - handlePrint(windowType, dataId, docNo);closeSubheader(); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-print' }), - ' Print', - _react2.default.createElement( - 'span', - { className: 'tooltip-inline' }, - _keymap2.default.GLOBAL_CONTEXT.OPEN_PRINT_RAPORT - ) - ), _react2.default.createElement( - 'div', - { - key: 3, - className: 'subheader-item js-subheader-item', - tabIndex: 0, - onClick: function onClick() { - return handleDelete(); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-delete' }), - ' Delete', - _react2.default.createElement( - 'span', - { className: 'tooltip-inline' }, - _keymap2.default.GLOBAL_CONTEXT.DELETE_DOCUMENT - ) - )]; - - return _react2.default.createElement( - 'div', - { - className: 'subheader-column js-subheader-column', - tabIndex: 0 - }, - _react2.default.createElement('div', { className: 'js-spacer' }), - windowType && _react2.default.createElement( - 'div', - { - className: 'subheader-item js-subheader-item', - tabIndex: 0, - onClick: function onClick() { - redirect('/window/' + windowType + '/new');closeSubheader(); - } }, - _react2.default.createElement('i', { className: 'meta-icon-report-1' }), - ' New', - _react2.default.createElement( - 'span', - { className: 'tooltip-inline' }, - _keymap2.default.GLOBAL_CONTEXT.NEW_DOCUMENT - ) - ), - docLinks, - _react2.default.createElement( - 'div', - { - className: 'subheader-item js-subheader-item', - tabIndex: 0, - onClick: function onClick() { - return redirect('/settings'); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-settings' }), - ' Settings' - ), - _react2.default.createElement( - 'div', - { - className: 'subheader-item js-subheader-item', - tabIndex: 0, - onClick: function onClick() { - return redirect('/logout'); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-logout' }), - ' Log out' - ) - ); - } - }, { - key: '__renderActionsColumn__REACT_HOT_LOADER__', - value: function __renderActionsColumn__REACT_HOT_LOADER__() { - var _props2 = this.props, - windowType = _props2.windowType, - dataId = _props2.dataId, - selected = _props2.selected, - selectedWindowType = _props2.selectedWindowType, - entity = _props2.entity, - query = _props2.query, - openModal = _props2.openModal, - closeSubheader = _props2.closeSubheader, - notfound = _props2.notfound; - - - return _react2.default.createElement(_Actions2.default, _extends({ windowType: windowType, entity: entity, openModal: openModal, closeSubheader: closeSubheader, notfound: notfound }, { - docId: dataId ? dataId : query && query.viewId, - rowId: selectedWindowType === windowType ? selected : [] - })); + key: 'handleDragEnd', + value: function handleDragEnd() { + this.setState({ + dragActive: false + }); } }, { key: 'render', value: function render() { var _this2 = this; + var dragActive = this.state.dragActive; + + return _react2.default.createElement( - 'div', + _reactDropzone2.default, { - className: 'subheader-container overlay-shadow subheader-open js-not-unselect', - tabIndex: 0, - onKeyDown: this.handleKeyDown, - ref: function ref(c) { - return _this2.subHeader = c; + className: 'document-file-dropzone' + (dragActive ? ' document-file-dropzone-active' : ''), + disablePreview: true, + multiple: false, + disableClick: true, + onDragEnter: function onDragEnter() { + return _this2.handleDragStart(); + }, + onDragLeave: function onDragLeave() { + return _this2.handleDragEnd(); + }, + onDrop: function onDrop(accepted, rejected) { + return _this2.handleDropFile(accepted, rejected); } }, + this.props.children, _react2.default.createElement( 'div', - { className: 'container-fluid-subheader container-fluid' }, + { className: 'document-file-dropzone-backdrop' }, _react2.default.createElement( - 'div', - { className: 'subheader-row' }, - this.renderNavColumn(), - this.renderActionsColumn() + 'span', + { className: 'document-file-dropzone-info' }, + _react2.default.createElement('i', { className: 'meta-icon-upload-1' }), + ' Drop files here' ) ) ); } }]); - return Subheader; + return DropzoneWrapper; }(_react.Component); - Subheader.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - Subheader = (0, _reactRedux.connect)()((0, _reactOnclickoutside2.default)(Subheader)); - - var _default = Subheader; + var _default = DropzoneWrapper; exports.default = _default; ; @@ -55236,9 +55069,9 @@ return; } - __REACT_HOT_LOADER__.register(Subheader, 'Subheader', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SubHeader.js'); + __REACT_HOT_LOADER__.register(DropzoneWrapper, 'DropzoneWrapper', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Dropzone.js'); - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SubHeader.js'); + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Dropzone.js'); }(); ; @@ -55247,3503 +55080,509 @@ /* 486 */ /***/ function(module, exports, __webpack_require__) { - var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** - * A higher-order-component for handling onClickOutside for React components. - */ - (function(root) { - "use strict"; + (function webpackUniversalModuleDefinition(root, factory) { + if(true) + module.exports = factory(__webpack_require__(2)); + else if(typeof define === 'function' && define.amd) + define(["react"], factory); + else if(typeof exports === 'object') + exports["Dropzone"] = factory(require("react")); + else + root["Dropzone"] = factory(root["react"]); + })(this, function(__WEBPACK_EXTERNAL_MODULE_1__) { + return /******/ (function(modules) { // webpackBootstrap + /******/ // The module cache + /******/ var installedModules = {}; + /******/ + /******/ // The require function + /******/ function __webpack_require__(moduleId) { + /******/ + /******/ // Check if module is in cache + /******/ if(installedModules[moduleId]) + /******/ return installedModules[moduleId].exports; + /******/ + /******/ // Create a new module (and put it into the cache) + /******/ var module = installedModules[moduleId] = { + /******/ exports: {}, + /******/ id: moduleId, + /******/ loaded: false + /******/ }; + /******/ + /******/ // Execute the module function + /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); + /******/ + /******/ // Flag the module as loaded + /******/ module.loaded = true; + /******/ + /******/ // Return the exports of the module + /******/ return module.exports; + /******/ } + /******/ + /******/ + /******/ // expose the modules object (__webpack_modules__) + /******/ __webpack_require__.m = modules; + /******/ + /******/ // expose the module cache + /******/ __webpack_require__.c = installedModules; + /******/ + /******/ // __webpack_public_path__ + /******/ __webpack_require__.p = ""; + /******/ + /******/ // Load entry module and return exports + /******/ return __webpack_require__(0); + /******/ }) + /************************************************************************/ + /******/ ([ + /* 0 */ + /***/ function(module, exports, __webpack_require__) { - // administrative - var registeredComponents = []; - var handlers = []; - var IGNORE_CLASS = 'ignore-react-onclickoutside'; - var DEFAULT_EVENTS = ['mousedown', 'touchstart']; + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _attrAccept = __webpack_require__(2); + + var _attrAccept2 = _interopRequireDefault(_attrAccept); + + var _getDataTransferItems = __webpack_require__(3); + + var _getDataTransferItems2 = _interopRequireDefault(_getDataTransferItems); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint prefer-template: 0 */ + + + var supportMultiple = typeof document !== 'undefined' && document && document.createElement ? 'multiple' in document.createElement('input') : true; + + var Dropzone = function (_React$Component) { + _inherits(Dropzone, _React$Component); + + function Dropzone(props, context) { + _classCallCheck(this, Dropzone); + + var _this = _possibleConstructorReturn(this, (Dropzone.__proto__ || Object.getPrototypeOf(Dropzone)).call(this, props, context)); + + _this.onClick = _this.onClick.bind(_this); + _this.onDragStart = _this.onDragStart.bind(_this); + _this.onDragEnter = _this.onDragEnter.bind(_this); + _this.onDragLeave = _this.onDragLeave.bind(_this); + _this.onDragOver = _this.onDragOver.bind(_this); + _this.onDrop = _this.onDrop.bind(_this); + _this.onFileDialogCancel = _this.onFileDialogCancel.bind(_this); + _this.fileAccepted = _this.fileAccepted.bind(_this); + _this.isFileDialogActive = false; + _this.state = { + isDragActive: false + }; + return _this; + } + + _createClass(Dropzone, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.enterCounter = 0; + // Tried implementing addEventListener, but didn't work out + document.body.onfocus = this.onFileDialogCancel; + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + // Can be replaced with removeEventListener, if addEventListener works + document.body.onfocus = null; + } + }, { + key: 'onDragStart', + value: function onDragStart(e) { + if (this.props.onDragStart) { + this.props.onDragStart.call(this, e); + } + } + }, { + key: 'onDragEnter', + value: function onDragEnter(e) { + e.preventDefault(); + + // Count the dropzone and any children that are entered. + ++this.enterCounter; + + var allFilesAccepted = this.allFilesAccepted((0, _getDataTransferItems2.default)(e, this.props.multiple)); + + this.setState({ + isDragActive: allFilesAccepted, + isDragReject: !allFilesAccepted + }); + + if (this.props.onDragEnter) { + this.props.onDragEnter.call(this, e); + } + } + }, { + key: 'onDragOver', + value: function onDragOver(e) { + // eslint-disable-line class-methods-use-this + e.preventDefault(); + e.stopPropagation(); + try { + e.dataTransfer.dropEffect = 'copy'; // eslint-disable-line no-param-reassign + } catch (err) { + // continue regardless of error + } + + if (this.props.onDragOver) { + this.props.onDragOver.call(this, e); + } + return false; + } + }, { + key: 'onDragLeave', + value: function onDragLeave(e) { + e.preventDefault(); + + // Only deactivate once the dropzone and all children was left. + if (--this.enterCounter > 0) { + return; + } + + this.setState({ + isDragActive: false, + isDragReject: false + }); + + if (this.props.onDragLeave) { + this.props.onDragLeave.call(this, e); + } + } + }, { + key: 'onDrop', + value: function onDrop(e) { + var _this2 = this; + + var _props = this.props, + onDrop = _props.onDrop, + onDropAccepted = _props.onDropAccepted, + onDropRejected = _props.onDropRejected, + multiple = _props.multiple, + disablePreview = _props.disablePreview; + + var fileList = (0, _getDataTransferItems2.default)(e, multiple); + var acceptedFiles = []; + var rejectedFiles = []; + + // Stop default browser behavior + e.preventDefault(); + + // Reset the counter along with the drag on a drop. + this.enterCounter = 0; + this.isFileDialogActive = false; + + fileList.forEach(function (file) { + if (!disablePreview) { + file.preview = window.URL.createObjectURL(file); // eslint-disable-line no-param-reassign + } + + if (_this2.fileAccepted(file) && _this2.fileMatchSize(file)) { + acceptedFiles.push(file); + } else { + rejectedFiles.push(file); + } + }); + + if (onDrop) { + onDrop.call(this, acceptedFiles, rejectedFiles, e); + } + + if (rejectedFiles.length > 0 && onDropRejected) { + onDropRejected.call(this, rejectedFiles, e); + } + + if (acceptedFiles.length > 0 && onDropAccepted) { + onDropAccepted.call(this, acceptedFiles, e); + } + + // Reset drag state + this.setState({ + isDragActive: false, + isDragReject: false + }); + } + }, { + key: 'onClick', + value: function onClick(e) { + var _props2 = this.props, + onClick = _props2.onClick, + disableClick = _props2.disableClick; + + if (!disableClick) { + e.stopPropagation(); + this.open(); + if (onClick) { + onClick.call(this, e); + } + } + } + }, { + key: 'onFileDialogCancel', + value: function onFileDialogCancel() { + // timeout will not recognize context of this method + var onFileDialogCancel = this.props.onFileDialogCancel; + var fileInputEl = this.fileInputEl; + var isFileDialogActive = this.isFileDialogActive; + // execute the timeout only if the onFileDialogCancel is defined and FileDialog + // is opened in the browser + + if (onFileDialogCancel && isFileDialogActive) { + setTimeout(function () { + // Returns an object as FileList + var FileList = fileInputEl.files; + if (!FileList.length) { + isFileDialogActive = false; + onFileDialogCancel(); + } + }, 300); + } + } + }, { + key: 'fileAccepted', + value: function fileAccepted(file) { + return (0, _attrAccept2.default)(file, this.props.accept); + } + }, { + key: 'fileMatchSize', + value: function fileMatchSize(file) { + return file.size <= this.props.maxSize && file.size >= this.props.minSize; + } + }, { + key: 'allFilesAccepted', + value: function allFilesAccepted(files) { + return files.every(this.fileAccepted); + } + }, { + key: 'open', + value: function open() { + this.isFileDialogActive = true; + this.fileInputEl.value = null; + this.fileInputEl.click(); + } + }, { + key: 'render', + value: function render() { + var _this3 = this; + + var _props3 = this.props, + accept = _props3.accept, + activeClassName = _props3.activeClassName, + inputProps = _props3.inputProps, + multiple = _props3.multiple, + name = _props3.name, + rejectClassName = _props3.rejectClassName, + rest = _objectWithoutProperties(_props3, ['accept', 'activeClassName', 'inputProps', 'multiple', 'name', 'rejectClassName']); + + var activeStyle = rest.activeStyle, + className = rest.className, + rejectStyle = rest.rejectStyle, + style = rest.style, + props = _objectWithoutProperties(rest, ['activeStyle', 'className', 'rejectStyle', 'style']); + + var _state = this.state, + isDragActive = _state.isDragActive, + isDragReject = _state.isDragReject; + + + className = className || ''; + + if (isDragActive && activeClassName) { + className += ' ' + activeClassName; + } + if (isDragReject && rejectClassName) { + className += ' ' + rejectClassName; + } + + if (!className && !style && !activeStyle && !rejectStyle) { + style = { + width: 200, + height: 200, + borderWidth: 2, + borderColor: '#666', + borderStyle: 'dashed', + borderRadius: 5 + }; + activeStyle = { + borderStyle: 'solid', + backgroundColor: '#eee' + }; + rejectStyle = { + borderStyle: 'solid', + backgroundColor: '#ffdddd' + }; + } + + var appliedStyle = void 0; + if (activeStyle && isDragActive) { + appliedStyle = _extends({}, style, activeStyle); + } else if (rejectStyle && isDragReject) { + appliedStyle = _extends({}, style, rejectStyle); + } else { + appliedStyle = _extends({}, style); + } + + var inputAttributes = { + accept: accept, + type: 'file', + style: { display: 'none' }, + multiple: supportMultiple && multiple, + ref: function ref(el) { + return _this3.fileInputEl = el; + }, // eslint-disable-line + onChange: this.onDrop + }; + + if (name && name.length) { + inputAttributes.name = name; + } + + // Remove custom properties before passing them to the wrapper div element + var customProps = ['acceptedFiles', 'disablePreview', 'disableClick', 'onDropAccepted', 'onDropRejected', 'onFileDialogCancel', 'maxSize', 'minSize']; + var divProps = _extends({}, props); + customProps.forEach(function (prop) { + return delete divProps[prop]; + }); + + return _react2.default.createElement( + 'div', + _extends({ + className: className, + style: appliedStyle + }, divProps /* expand user provided props first so event handlers are never overridden */, { + onClick: this.onClick, + onDragStart: this.onDragStart, + onDragEnter: this.onDragEnter, + onDragOver: this.onDragOver, + onDragLeave: this.onDragLeave, + onDrop: this.onDrop + }), + this.props.children, + _react2.default.createElement('input', _extends({}, inputProps /* expand user provided inputProps first so inputAttributes override them */, inputAttributes)) + ); + } + }]); + + return Dropzone; + }(_react2.default.Component); + + Dropzone.defaultProps = { + disablePreview: false, + disableClick: false, + multiple: true, + maxSize: Infinity, + minSize: 0 + }; + + Dropzone.propTypes = { + onClick: _react2.default.PropTypes.func, + onDrop: _react2.default.PropTypes.func, + onDropAccepted: _react2.default.PropTypes.func, + onDropRejected: _react2.default.PropTypes.func, + onDragStart: _react2.default.PropTypes.func, + onDragEnter: _react2.default.PropTypes.func, + onDragOver: _react2.default.PropTypes.func, + onDragLeave: _react2.default.PropTypes.func, + + children: _react2.default.PropTypes.node, // Contents of the dropzone + style: _react2.default.PropTypes.object, // CSS styles to apply + activeStyle: _react2.default.PropTypes.object, // CSS styles to apply when drop will be accepted + rejectStyle: _react2.default.PropTypes.object, // CSS styles to apply when drop will be rejected + className: _react2.default.PropTypes.string, // Optional className + activeClassName: _react2.default.PropTypes.string, // className for accepted state + rejectClassName: _react2.default.PropTypes.string, // className for rejected state + + disablePreview: _react2.default.PropTypes.bool, // Enable/disable preview generation + disableClick: _react2.default.PropTypes.bool, // Disallow clicking on the dropzone container to open file dialog + onFileDialogCancel: _react2.default.PropTypes.func, // Provide a callback on clicking the cancel button of the file dialog + + inputProps: _react2.default.PropTypes.object, // Pass additional attributes to the tag + multiple: _react2.default.PropTypes.bool, // Allow dropping multiple files + accept: _react2.default.PropTypes.string, // Allow specific types of files. See https://github.com/okonet/attr-accept for more information + name: _react2.default.PropTypes.string, // name attribute for the input tag + maxSize: _react2.default.PropTypes.number, + minSize: _react2.default.PropTypes.number + }; + + exports.default = Dropzone; + module.exports = exports['default']; - /** - * Check whether some DOM node is our Component's node. - */ - var isNodeFound = function(current, componentNode, ignoreClass) { - if (current === componentNode) { - return true; - } - // SVG elements do not technically reside in the rendered DOM, so - // they do not have classList directly, but they offer a link to their - // corresponding element, which can have classList. This extra check is for - // that case. - // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement - // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17 - if (current.correspondingElement) { - return current.correspondingElement.classList.contains(ignoreClass); - } - return current.classList.contains(ignoreClass); - }; + /***/ }, + /* 1 */ + /***/ function(module, exports) { - /** - * Generate the event handler that checks whether a clicked DOM node - * is inside of, or lives outside of, our Component's node tree. - */ - var generateOutsideCheck = function(componentNode, componentInstance, ignoreClass, preventDefault, stopPropagation) { - return function(evt) { - if (preventDefault) { - evt.preventDefault(); - } - if (stopPropagation) { - evt.stopPropagation(); - } - var current = evt.target; - var found = false; - // If source=local then this event came from "somewhere" - // inside and should be ignored. We could handle this with - // a layered approach, too, but that requires going back to - // thinking in terms of Dom node nesting, running counter - // to React's "you shouldn't care about the DOM" philosophy. - while(current.parentNode) { - found = isNodeFound(current, componentNode, ignoreClass); - if(found) return; - current = current.parentNode; - } - // If element is in a detached DOM, consider it "not clicked - // outside", as it cannot be known whether it was outside. - if(current !== document) return; - componentInstance.handleClickOutside.bind(componentInstance, evt)(); - } - }; + module.exports = __WEBPACK_EXTERNAL_MODULE_1__; + /***/ }, + /* 2 */ + /***/ function(module, exports) { - /** - * This function generates the HOC function that you'll use - * in order to impart onOutsideClick listening to an - * arbitrary component. - */ - function setupHOC(root, React, ReactDOM) { + module.exports=function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){"use strict";n.__esModule=!0,r(8),r(9),n["default"]=function(t,n){if(t&&n){var r=function(){var r=Array.isArray(n)?n:n.split(","),e=t.name||"",o=t.type||"",i=o.replace(/\/.*$/,"");return{v:r.some(function(t){var n=t.trim();return"."===n.charAt(0)?e.toLowerCase().endsWith(n.toLowerCase()):/\/\*$/.test(n)?i===n.replace(/\/.*$/,""):o===n})}}();if("object"==typeof r)return r.v}return!0},t.exports=n["default"]},function(t,n){var r=t.exports={version:"1.2.2"};"number"==typeof __e&&(__e=r)},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(2),o=r(1),i=r(4),u=r(19),c="prototype",f=function(t,n){return function(){return t.apply(n,arguments)}},s=function(t,n,r){var a,p,l,y,d=t&s.G,h=t&s.P,v=d?e:t&s.S?e[n]||(e[n]={}):(e[n]||{})[c],x=d?o:o[n]||(o[n]={});d&&(r=n);for(a in r)p=!(t&s.F)&&v&&a in v,l=(p?v:r)[a],y=t&s.B&&p?f(l,e):h&&"function"==typeof l?f(Function.call,l):l,v&&!p&&u(v,a,l),x[a]!=l&&i(x,a,y),h&&((x[c]||(x[c]={}))[a]=l)};e.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s},function(t,n,r){var e=r(5),o=r(18);t.exports=r(22)?function(t,n,r){return e.setDesc(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r=Object;t.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(20)("wks"),o=r(2).Symbol;t.exports=function(t){return e[t]||(e[t]=o&&o[t]||(o||r(6))("Symbol."+t))}},function(t,n,r){r(26),t.exports=r(1).Array.some},function(t,n,r){r(25),t.exports=r(1).String.endsWith},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(10);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r(7)("match")]=!1,!"/./"[t](n)}catch(o){}}return!0}},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(16),o=r(11),i=r(7)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(2),o=r(4),i=r(6)("src"),u="toString",c=Function[u],f=(""+c).split(u);r(1).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,u){"function"==typeof r&&(o(r,i,t[n]?""+t[n]:f.join(String(n))),"name"in r||(r.name=n)),t===e?t[n]=r:(u||delete t[n],o(t,n,r))})(Function.prototype,u,function(){return"function"==typeof this&&this[i]||c.call(this)})},function(t,n,r){var e=r(2),o="__core-js_shared__",i=e[o]||(e[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n,r){var e=r(17),o=r(13);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))}},function(t,n,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(23),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){"use strict";var e=r(3),o=r(24),i=r(21),u="endsWith",c=""[u];e(e.P+e.F*r(14)(u),"String",{endsWith:function(t){var n=i(this,t,u),r=arguments,e=r.length>1?r[1]:void 0,f=o(n.length),s=void 0===e?f:Math.min(o(e),f),a=String(t);return c?c.call(n,a,s):n.slice(s-a.length,s)===a}})},function(t,n,r){var e=r(5),o=r(3),i=r(1).Array||Array,u={},c=function(t,n){e.each.call(t.split(","),function(t){void 0==n&&t in i?u[t]=i[t]:t in[]&&(u[t]=r(12)(Function.call,[][t],n))})};c("pop,reverse,shift,keys,values,entries",1),c("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),c("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",u)}]); - // The actual Component-wrapping HOC: - return function(Component) { - var wrapComponentWithOnClickOutsideHandling = React.createClass({ - statics: { - /** - * Access the wrapped Component's class. - */ - getClass: function() { - if (Component.getClass) { - return Component.getClass(); - } - return Component; - } - }, + /***/ }, + /* 3 */ + /***/ function(module, exports) { - /** - * Access the wrapped Component's instance. - */ - getInstance: function() { - return this.refs.instance; - }, + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.default = getDataTransferFiles; + function getDataTransferFiles(event) { + var isMultipleAllowed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; + + var dataTransferItemsList = []; + if (event.dataTransfer) { + var dt = event.dataTransfer; + if (dt.files && dt.files.length) { + dataTransferItemsList = dt.files; + } else if (dt.items && dt.items.length) { + // During the drag even the dataTransfer.files is null + // but Chrome implements some drag store, which is accesible via dataTransfer.items + dataTransferItemsList = dt.items; + } + } else if (event.target && event.target.files) { + dataTransferItemsList = event.target.files; + } + + if (dataTransferItemsList.length > 0) { + dataTransferItemsList = isMultipleAllowed ? dataTransferItemsList : [dataTransferItemsList[0]]; + } + + // Convert from DataTransferItemsList to the native Array + return Array.prototype.slice.call(dataTransferItemsList); + } + module.exports = exports["default"]; - // this is given meaning in componentDidMount - __outsideClickHandler: function(evt) {}, - - /** - * Add click listeners to the current document, - * linked to this component's state. - */ - componentDidMount: function() { - var instance = this.getInstance(); - - if(typeof instance.handleClickOutside !== "function") { - throw new Error("Component lacks a handleClickOutside(event) function for processing outside click events."); - } - - var fn = this.__outsideClickHandler = generateOutsideCheck( - ReactDOM.findDOMNode(instance), - instance, - this.props.outsideClickIgnoreClass || IGNORE_CLASS, - this.props.preventDefault || false, - this.props.stopPropagation || false - ); - - var pos = registeredComponents.length; - registeredComponents.push(this); - handlers[pos] = fn; - - // If there is a truthy disableOnClickOutside property for this - // component, don't immediately start listening for outside events. - if (!this.props.disableOnClickOutside) { - this.enableOnClickOutside(); - } - }, - - /** - * Track for disableOnClickOutside props changes and enable/disable click outside - */ - componentWillReceiveProps: function(nextProps) { - if (this.props.disableOnClickOutside && !nextProps.disableOnClickOutside) { - this.enableOnClickOutside(); - } else if (!this.props.disableOnClickOutside && nextProps.disableOnClickOutside) { - this.disableOnClickOutside(); - } - }, - - /** - * Remove the document's event listeners - */ - componentWillUnmount: function() { - this.disableOnClickOutside(); - this.__outsideClickHandler = false; - var pos = registeredComponents.indexOf(this); - if( pos>-1) { - // clean up so we don't leak memory - if (handlers[pos]) { handlers.splice(pos, 1); } - registeredComponents.splice(pos, 1); - } - }, - - /** - * Can be called to explicitly enable event listening - * for clicks and touches outside of this element. - */ - enableOnClickOutside: function() { - var fn = this.__outsideClickHandler; - if (typeof document !== "undefined") { - var events = this.props.eventTypes || DEFAULT_EVENTS; - if (!events.forEach) { events = [events] }; - events.forEach(function (eventName) { - document.addEventListener(eventName, fn); - }); - } - }, - - /** - * Can be called to explicitly disable event listening - * for clicks and touches outside of this element. - */ - disableOnClickOutside: function() { - var fn = this.__outsideClickHandler; - if (typeof document !== "undefined") { - var events = this.props.eventTypes || DEFAULT_EVENTS; - if (!events.forEach) { events = [events] }; - events.forEach(function (eventName) { - document.removeEventListener(eventName, fn); - }); - } - }, - - /** - * Pass-through render - */ - render: function() { - var passedProps = this.props; - var props = { ref: 'instance' }; - Object.keys(this.props).forEach(function(key) { - props[key] = passedProps[key]; - }); - return React.createElement(Component, props); - } - }); - - // Add display name for React devtools - (function bindWrappedComponentName(c, wrapper) { - var componentName = c.displayName || c.name || 'Component' - wrapper.displayName = 'OnClickOutside(' + componentName + ')'; - }(Component, wrapComponentWithOnClickOutsideHandling)); - - return wrapComponentWithOnClickOutsideHandling; - }; - } - - /** - * This function sets up the library in ways that - * work with the various modulde loading solutions - * used in JavaScript land today. - */ - function setupBinding(root, factory) { - if (true) { - // AMD. Register as an anonymous module. - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2),__webpack_require__(32)], __WEBPACK_AMD_DEFINE_RESULT__ = function(React, ReactDom) { - return factory(root, React, ReactDom); - }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else if (typeof exports === 'object') { - // Node. Note that this does not work with strict - // CommonJS, but only CommonJS-like environments - // that support module.exports - module.exports = factory(root, require('react'), require('react-dom')); - } else { - // Browser globals (root is window) - root.onClickOutside = factory(root, React, ReactDOM); - } - } - - // Make it all happen - setupBinding(root, setupHOC); - - }(this)); - - -/***/ }, -/* 487 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true + /***/ } + /******/ ]) }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _Loader = __webpack_require__(488); - - var _Loader2 = _interopRequireDefault(_Loader); - - var _GenericActions = __webpack_require__(489); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Actions = function (_Component) { - _inherits(Actions, _Component); - - function Actions(props) { - _classCallCheck(this, Actions); - - var _this = _possibleConstructorReturn(this, (Actions.__proto__ || Object.getPrototypeOf(Actions)).call(this, props)); - - _this.componentDidMount = function () { - return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderData = function () { - return _this.__renderData__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - data: [] - }; - return _this; - } - - _createClass(Actions, [{ - key: '__componentDidMount__REACT_HOT_LOADER__', - value: function __componentDidMount__REACT_HOT_LOADER__() { - var _this2 = this; - - var _props = this.props, - dispatch = _props.dispatch, - windowType = _props.windowType, - entity = _props.entity, - docId = _props.docId, - rowId = _props.rowId, - notfound = _props.notfound; - - - if (!windowType || docId === 'notfound' || notfound) { - return; - } - - dispatch((0, _GenericActions.actionsRequest)(entity, windowType, docId, rowId)).then(function (response) { - _this2.setState({ - data: response.data.actions - }); - }); - } - }, { - key: '__renderData__REACT_HOT_LOADER__', - value: function __renderData__REACT_HOT_LOADER__() { - var _props2 = this.props, - closeSubheader = _props2.closeSubheader, - openModal = _props2.openModal; - var data = this.state.data; - - - return data && data.length ? data.map(function (item, key) { - return _react2.default.createElement( - 'div', - { - className: 'subheader-item js-subheader-item', - onClick: function onClick() { - openModal(item.processId + '', 'process', item.caption); - closeSubheader(); - }, - key: key, - tabIndex: 0 - }, - item.caption - ); - }) : _react2.default.createElement( - 'div', - { className: 'subheader-item subheader-item-disabled' }, - 'There is no actions' - ); - } - }, { - key: 'render', - value: function render() { - var data = this.state.data; - - return _react2.default.createElement( - 'div', - { - className: 'subheader-column js-subheader-column', - tabIndex: 0 - }, - _react2.default.createElement( - 'div', - { className: 'subheader-header' }, - 'Actions' - ), - _react2.default.createElement('div', { className: 'subheader-break' }), - !data ? _react2.default.createElement(_Loader2.default, null) : this.renderData() - ); - } - }]); - - return Actions; - }(_react.Component); - - Actions.propTypes = { - windowType: _propTypes2.default.string, - dispatch: _propTypes2.default.func.isRequired - }; - - Actions = (0, _reactRedux.connect)()(Actions); - - var _default = Actions; - exports.default = _default; ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Actions, 'Actions', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js'); - }(); - - ; - -/***/ }, -/* 488 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _reactAddonsCssTransitionGroup = __webpack_require__(301); - - var _reactAddonsCssTransitionGroup2 = _interopRequireDefault(_reactAddonsCssTransitionGroup); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Loader = function (_Component) { - _inherits(Loader, _Component); - - function Loader(props) { - _classCallCheck(this, Loader); - - return _possibleConstructorReturn(this, (Loader.__proto__ || Object.getPrototypeOf(Loader)).call(this, props)); - } - - _createClass(Loader, [{ - key: 'render', - value: function render() { - return _react2.default.createElement( - 'div', - { - className: 'order-list-loader text-xs-center' - }, - _react2.default.createElement( - _reactAddonsCssTransitionGroup2.default, - { - transitionName: 'rotate', - transitionEnterTimeout: 1000, - transitionLeaveTimeout: 1000 - }, - _react2.default.createElement( - 'div', - { className: 'rotate icon-rotate' }, - _react2.default.createElement('i', { className: 'meta-icon-settings' }) - ) - ) - ); - } - }]); - - return Loader; - }(_react.Component); - - var _default = Loader; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Loader, 'Loader', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Loader.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Loader.js'); - }(); - - ; - -/***/ }, -/* 489 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.initLayout = initLayout; - exports.getData = getData; - exports.createInstance = createInstance; - exports.patchRequest = patchRequest; - exports.getDataByIds = getDataByIds; - exports.completeRequest = completeRequest; - exports.autocompleteRequest = autocompleteRequest; - exports.dropdownRequest = dropdownRequest; - exports.deleteRequest = deleteRequest; - exports.actionsRequest = actionsRequest; - exports.referencesRequest = referencesRequest; - exports.attachmentsRequest = attachmentsRequest; - exports.processNewRecord = processNewRecord; - exports.openFile = openFile; - - var _axios = __webpack_require__(201); - - var _axios2 = _interopRequireDefault(_axios); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - // IMPORTANT GENERIC METHODS TO HANDLE LAYOUTS, DATA, COMMITS - - function initLayout(entity, docType, tabId) { - var subentity = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; - var docId = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null; - var isAdvanced = arguments[5]; - var list = arguments[6]; - var supportTree = arguments[7]; - - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (subentity ? '/' + subentity : '') + '/layout' + (isAdvanced ? '?advanced=true' : '') + (list ? '?viewType=' + list : '') + (supportTree ? '&supportTree=true' : '')); - }; - } - - function getData(entity, docType, docId, tabId, rowId, subentity, subentityId, isAdvanced) { - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + (isAdvanced ? '?advanced=true' : '')); - }; - } - - function createInstance(entity, docType, docId, tabId, subentity) { - return function () { - return _axios2.default.post(config.API_URL + '/' + entity + '/' + docType + '/' + docId + (tabId ? '/' + tabId : '') + (subentity ? '/' + subentity : '')); - }; - } - - function patchRequest(entity, docType) { - var docId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'NEW'; - var tabId = arguments[3]; - var rowId = arguments[4]; - var property = arguments[5]; - var value = arguments[6]; - var subentity = arguments[7]; - var subentityId = arguments[8]; - var isAdvanced = arguments[9]; - var viewId = arguments[10]; - - - var payload = []; - - if (docId === 'NEW') { - payload = []; - } else if (Array.isArray(property) && value !== undefined) { - property.map(function (item) { - payload.push({ - 'op': 'replace', - 'path': item.field, - 'value': value - }); - }); - } else if (property && value !== undefined) { - payload = [{ - 'op': 'replace', - 'path': property, - 'value': value - }]; - } else { - payload = []; - } - - return function () { - return _axios2.default.patch(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + (isAdvanced ? '?advanced=true' : ''), payload); - }; - } - - function getDataByIds(entity, docType, viewId, docIds) { - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + '/byIds' + '?ids=' + docIds); - }; - } - - function completeRequest(entity, docType, docId, tabId, rowId, subentity, subentityId) { - return function () { - return _axios2.default.post(config.API_URL + '/' + entity + '/' + (docType ? '/' + docType : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + '/complete'); - }; - } - - function autocompleteRequest(docType, propertyName, query, docId, tabId, rowId, entity, subentity, subentityId, viewId) { - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + '/attribute/' + propertyName + '/typeahead' + '?query=' + encodeURIComponent(query)); - }; - } - - function dropdownRequest(docType, propertyName, docId, tabId, rowId, entity, subentity, subentityId, viewId) { - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + '/attribute/' + propertyName + '/dropdown'); - }; - } - - function deleteRequest(entity, docType, docId, tabId, ids, subentity, subentityId) { - return function () { - return _axios2.default.delete(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + (ids ? '?ids=' + ids : '')); - }; - } - - function actionsRequest(entity, type, id, selected) { - var query = ''; - var _iteratorNormalCompletion = true; - var _didIteratorError = false; - var _iteratorError = undefined; - - try { - for (var _iterator = selected[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { - var item = _step.value; - - query += ',' + item; - } - } catch (err) { - _didIteratorError = true; - _iteratorError = err; - } finally { - try { - if (!_iteratorNormalCompletion && _iterator.return) { - _iterator.return(); - } - } finally { - if (_didIteratorError) { - throw _iteratorError; - } - } - } - - query = query.substring(1); - - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + '/' + type + '/' + id + '/actions' + (selected.length > 0 && entity == 'documentView' ? '?selectedIds=' + query : '')); - }; - } - - function referencesRequest(entity, type, id) { - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + '/' + type + '/' + id + '/references'); - }; - } - - function attachmentsRequest(entity, docType, docId) { - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + '/' + docId + '/attachments'); - }; - } - - function processNewRecord(entity, docType, docId) { - return function () { - return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + '/' + docId + '/processNewRecord'); - }; - } - - function openFile(entity, docType, docId, fileType, fileId) { - return function () { - var url = config.API_URL + '/' + entity + '/' + docType + '/' + docId + '/' + fileType + '/' + fileId; - - window.open(url, '_blank'); - }; - } - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(initLayout, 'initLayout', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(getData, 'getData', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(createInstance, 'createInstance', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(patchRequest, 'patchRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(getDataByIds, 'getDataByIds', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(completeRequest, 'completeRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(autocompleteRequest, 'autocompleteRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(dropdownRequest, 'dropdownRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(deleteRequest, 'deleteRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(actionsRequest, 'actionsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(referencesRequest, 'referencesRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(attachmentsRequest, 'attachmentsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(processNewRecord, 'processNewRecord', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - - __REACT_HOT_LOADER__.register(openFile, 'openFile', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); - }(); - - ; - -/***/ }, -/* 490 */ -/***/ function(module, exports) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - /* Define your mod button*/ - - var mod = 'ctrl'; - - // DO NOT USE: - // mod + l - windows browser focusing address bar - - var _default = { - GLOBAL_CONTEXT: { - OPEN_ACTIONS_MENU: mod + '+' + '1', - OPEN_NAVIGATION_MENU: mod + '+' + '2', - OPEN_INBOX_MENU: mod + '+' + '3', - OPEN_SIDEBAR_MENU_0: mod + '+' + '4', - OPEN_SIDEBAR_MENU_1: mod + '+' + '5', - OPEN_SIDEBAR_MENU_2: mod + '+' + '6', - DOC_STATUS: mod + '+' + 'i', - - //=========== Document Context ================= - - OPEN_ADVANCED_EDIT: mod + '+' + 'e', - OPEN_PRINT_RAPORT: mod + '+' + 'p', - DELETE_DOCUMENT: mod + '+' + 'd', - NEW_DOCUMENT: mod + '+' + 'm' - }, - DOCUMENT_LIST_CONTEXT: { - OPEN_SELECTED: mod + '+' + 'b', //open document in new tab - REMOVE_SELECTED: mod + '+' + 'y', - ADVANCED_EDIT: mod + '+' + 'a', - //=================== POS ====================== - SELECT_ALL_LEAFS: mod + '+' + 's' - - }, - TABLE_CONTEXT: { - TOGGLE_QUICK_INPUT: mod + '+' + 'q', - TOGGLE_EXPAND: mod + '+' + 'space' - }, - PAGINATION_CONTEXT: { - NEXT_PAGE: 'pagedown', - PREV_PAGE: 'pageup', - FIRST_PAGE: 'home', - LAST_PAGE: 'end' - }, - QUICK_ACTIONS: { - QUICK_ACTION_POS: mod + '+' + 'u' - }, - DOCUMENT_STATUS_CONTEXT: { - COMPLETE_STATUS: mod + '+' + 'u' - } - }; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(mod, 'mod', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/keymap.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/keymap.js'); - }(); - - ; - -/***/ }, -/* 491 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _reactRouterRedux = __webpack_require__(236); - - var _MenuOverlay = __webpack_require__(492); - - var _MenuOverlay2 = _interopRequireDefault(_MenuOverlay); - - var _Tooltips = __webpack_require__(501); - - var _Tooltips2 = _interopRequireDefault(_Tooltips); - - var _keymap = __webpack_require__(490); - - var _keymap2 = _interopRequireDefault(_keymap); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Breadcrumb = function (_Component) { - _inherits(Breadcrumb, _Component); - - function Breadcrumb(props) { - _classCallCheck(this, Breadcrumb); - - var _this = _possibleConstructorReturn(this, (Breadcrumb.__proto__ || Object.getPrototypeOf(Breadcrumb)).call(this, props)); - - _this.linkToPage = function () { - return _this.__linkToPage__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.toggleTooltip = function () { - return _this.__toggleTooltip__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.toggleTooltipOnFirstLevel = function () { - return _this.__toggleTooltipOnFirstLevel__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.closeTooltips = function () { - return _this.__closeTooltips__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClick = function () { - return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderBtn = function () { - return _this.__renderBtn__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - tooltipOpen: false, - tooltipOnFirstlevel: false, - tooltipOnFirstlevelPositionLeft: 0 - }; - return _this; - } - - _createClass(Breadcrumb, [{ - key: '__linkToPage__REACT_HOT_LOADER__', - value: function __linkToPage__REACT_HOT_LOADER__(page) { - var dispatch = this.props.dispatch; - - dispatch((0, _reactRouterRedux.push)('/window/' + page)); - } - }, { - key: '__toggleTooltip__REACT_HOT_LOADER__', - value: function __toggleTooltip__REACT_HOT_LOADER__(tooltip) { - this.setState({ - tooltipOpen: tooltip - }); - } - }, { - key: '__toggleTooltipOnFirstLevel__REACT_HOT_LOADER__', - value: function __toggleTooltipOnFirstLevel__REACT_HOT_LOADER__(showTooltip) { - var breadcrumbWrapper = document.getElementsByClassName('header-breadcrumb-wrapper')[0]; - var breadcrumbWrapperLeft = breadcrumbWrapper && breadcrumbWrapper.getBoundingClientRect().left; - var elem = document.getElementsByClassName('header-item-last-level')[0]; - var elemWidth = elem && elem.offsetWidth; - var elemLeft = elem && elem.getBoundingClientRect().left; - - var tooltipPositionLeft = elemLeft + 0.5 * elemWidth - breadcrumbWrapperLeft; - - this.setState({ - tooltipOnFirstlevel: showTooltip, - tooltipOnFirstlevelPositionLeft: tooltipPositionLeft - }); - } - }, { - key: '__closeTooltips__REACT_HOT_LOADER__', - value: function __closeTooltips__REACT_HOT_LOADER__() { - this.setState({ - tooltipOpen: false, - tooltipOnFirstlevel: false - }); - } - }, { - key: '__handleClick__REACT_HOT_LOADER__', - value: function __handleClick__REACT_HOT_LOADER__(e, menu) { - var _props = this.props, - handleMenuOverlay = _props.handleMenuOverlay, - windowType = _props.windowType, - dataId = _props.dataId; - - - if (menu && menu.children && menu.children.elementId) { - windowType && dataId && this.linkToPage(windowType); - } else { - handleMenuOverlay(e, menu.nodeId); - } - - this.toggleTooltip(false); - } - }, { - key: '__renderBtn__REACT_HOT_LOADER__', - value: function __renderBtn__REACT_HOT_LOADER__(menu, index) { - var _this2 = this; - - var _props2 = this.props, - handleMenuOverlay = _props2.handleMenuOverlay, - menuOverlay = _props2.menuOverlay, - siteName = _props2.siteName, - openModal = _props2.openModal, - windowType = _props2.windowType, - breadcrumb = _props2.breadcrumb, - docId = _props2.docId; - - - return _react2.default.createElement( - 'div', - { key: index }, - index ? _react2.default.createElement( - 'span', - { className: 'divider' }, - '/' - ) : null, - _react2.default.createElement( - 'div', - { className: 'header-btn tooltip-parent' }, - _react2.default.createElement( - 'div', - { - className: 'header-item-container pointer ' + (menuOverlay === menu.nodeId ? 'header-item-open ' : '') + (!index ? 'header-item-container-static ' : '') + (breadcrumb && index === breadcrumb.length ? 'header-item-last-level' : ''), - onClick: function onClick(e) { - return _this2.handleClick(e, menu); - }, - onMouseEnter: index ? function () { - return _this2.toggleTooltipOnFirstLevel(breadcrumb && index === breadcrumb.length); - } : function () { - return _this2.toggleTooltip(true); - }, - onMouseLeave: this.closeTooltips - }, - _react2.default.createElement( - 'span', - { className: 'header-item icon-sm' }, - index ? menu.children.captionBreadcrumb : _react2.default.createElement('i', { className: 'meta-icon-menu' }) - ) - ), - menuOverlay === menu.nodeId && _react2.default.createElement(_MenuOverlay2.default, _extends({ siteName: siteName, handleMenuOverlay: handleMenuOverlay, openModal: openModal, windowType: windowType, - docId: docId }, { - nodeId: menu.nodeId, - node: menu, - onClickOutside: function onClickOutside(e) { - return handleMenuOverlay(e, ''); - }, - disableOnClickOutside: menuOverlay !== menu.nodeId - })) - ) - ); - } - }, { - key: 'render', - value: function render() { - var _this3 = this; - - var _props3 = this.props, - breadcrumb = _props3.breadcrumb, - docSummaryData = _props3.docSummaryData, - siteName = _props3.siteName; - var _state = this.state, - tooltipOpen = _state.tooltipOpen, - tooltipOnFirstlevel = _state.tooltipOnFirstlevel, - tooltipOnFirstlevelPositionLeft = _state.tooltipOnFirstlevelPositionLeft; - - - return _react2.default.createElement( - 'div', - { className: 'header-breadcrumb-wrapper' }, - tooltipOpen && _react2.default.createElement(_Tooltips2.default, { - extraClass: 'tooltip-home-menu', - name: _keymap2.default.GLOBAL_CONTEXT.OPEN_NAVIGATION_MENU, - action: 'Navigation', - type: '' - }), - tooltipOnFirstlevel && _react2.default.createElement(_Tooltips2.default, _extends({ tooltipOnFirstlevelPositionLeft: tooltipOnFirstlevelPositionLeft }, { - name: '', - action: 'Go to default documents list', - type: '', - delay: 100 - })), - _react2.default.createElement( - 'div', - { className: 'header-breadcrumb' }, - this.renderBtn({ nodeId: '0' }, 0), - breadcrumb && breadcrumb.map(function (item, index) { - return _this3.renderBtn(item, index + 1); - }), - docSummaryData && _react2.default.createElement( - 'div', - { - className: 'hidden-xs-down header-breadcrumb-line' - }, - _react2.default.createElement( - 'span', - { - className: 'header-breadcrumb-sitename' - }, - docSummaryData.value - ) - ), - siteName && _react2.default.createElement( - 'div', - { className: 'divider' }, - '/' - ), - siteName && _react2.default.createElement( - 'div', - null, - _react2.default.createElement( - 'span', - { - className: 'header-item icon-sm' - }, - siteName - ) - ) - ) - ); - } - }]); - - return Breadcrumb; - }(_react.Component); - - Breadcrumb.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - Breadcrumb = (0, _reactRedux.connect)()(Breadcrumb); - - var _default = Breadcrumb; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Breadcrumb, 'Breadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Breadcrumb.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Breadcrumb.js'); - }(); - - ; - -/***/ }, -/* 492 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _reactOnclickoutside = __webpack_require__(486); - - var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - - var _MenuOverlayContainer = __webpack_require__(493); - - var _MenuOverlayContainer2 = _interopRequireDefault(_MenuOverlayContainer); - - var _MenuOverlayItem = __webpack_require__(494); - - var _MenuOverlayItem2 = _interopRequireDefault(_MenuOverlayItem); - - var _reactRouterRedux = __webpack_require__(236); - - var _reactDebounceInput = __webpack_require__(496); - - var _reactDebounceInput2 = _interopRequireDefault(_reactDebounceInput); - - var _MenuActions = __webpack_require__(495); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var MenuOverlay = function (_Component) { - _inherits(MenuOverlay, _Component); - - function MenuOverlay(props) { - _classCallCheck(this, MenuOverlay); - - var _this = _possibleConstructorReturn(this, (MenuOverlay.__proto__ || Object.getPrototypeOf(MenuOverlay)).call(this, props)); - - _this.componentDidMount = function () { - return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.browseWholeTree = function () { - return _this.__browseWholeTree__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClickOutside = function () { - return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleQuery = function () { - return _this.__handleQuery__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClear = function () { - return _this.__handleClear__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleDeeper = function () { - return _this.__handleDeeper__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleSubDeeper = function () { - return _this.__handleSubDeeper__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClickBack = function () { - return _this.__handleClickBack__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleSubClickBack = function () { - return _this.__handleSubClickBack__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleRedirect = function () { - return _this.__handleRedirect__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleNewRedirect = function () { - return _this.__handleNewRedirect__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handlePath = function () { - return _this.__handlePath__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleSubPath = function () { - return _this.__handleSubPath__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderPath = function () { - return _this.__renderPath__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderNaviagtion = function () { - return _this.__renderNaviagtion__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderSubnavigation = function () { - return _this.__renderSubnavigation__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.linkClick = function () { - return _this.__linkClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleKeyDown = function () { - return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - queriedResults: [], - query: '', - deepNode: null, - deepSubNode: null, - path: '', - subPath: '', - data: {} - }; - return _this; - } - - _createClass(MenuOverlay, [{ - key: '__componentDidMount__REACT_HOT_LOADER__', - value: function __componentDidMount__REACT_HOT_LOADER__() { - var _this2 = this; - - var _props = this.props, - dispatch = _props.dispatch, - nodeId = _props.nodeId; - - if (nodeId == '0') { - dispatch((0, _MenuActions.getRootBreadcrumb)()).then(function (response) { - _this2.setState({ - data: response - }); - }); - } - } - }, { - key: '__browseWholeTree__REACT_HOT_LOADER__', - value: function __browseWholeTree__REACT_HOT_LOADER__() { - var dispatch = this.props.dispatch; - - dispatch((0, _reactRouterRedux.push)('/sitemap')); - } - }, { - key: '__handleClickOutside__REACT_HOT_LOADER__', - value: function __handleClickOutside__REACT_HOT_LOADER__(e) { - var onClickOutside = this.props.onClickOutside; - - onClickOutside(e); - } - }, { - key: '__handleQuery__REACT_HOT_LOADER__', - value: function __handleQuery__REACT_HOT_LOADER__(e) { - var _this3 = this; - - var dispatch = this.props.dispatch; - - e.preventDefault(); - if (e.target.value) { - this.setState({ - query: e.target.value - }); - dispatch((0, _MenuActions.queryPathsRequest)(e.target.value, 9)).then(function (response) { - _this3.setState({ - queriedResults: (0, _MenuActions.flattenLastElem)(response.data) - }); - }).catch(function (err) { - if (err.response && err.response.status === 404) { - _this3.setState({ - queriedResults: [] - }); - } - }); - } else { - - this.setState({ - query: '', - queriedResults: [] - }, function () { - document.getElementById('search-input-query').value = ''; - }); - } - } - }, { - key: '__handleClear__REACT_HOT_LOADER__', - value: function __handleClear__REACT_HOT_LOADER__(e) { - e.preventDefault(); - this.setState({ - query: '', - queriedResults: [] - }, function () { - document.getElementById('search-input-query').value = ''; - }); - } - }, { - key: '__handleDeeper__REACT_HOT_LOADER__', - value: function __handleDeeper__REACT_HOT_LOADER__(e, nodeId) { - var _this4 = this; - - var dispatch = this.props.dispatch; - - e.preventDefault(); - dispatch((0, _MenuActions.nodePathsRequest)(nodeId, 8)).then(function (response) { - _this4.setState({ - deepNode: response.data - }); - - _this4.handlePath(nodeId); - }); - } - }, { - key: '__handleSubDeeper__REACT_HOT_LOADER__', - value: function __handleSubDeeper__REACT_HOT_LOADER__(nodeId) { - var _this5 = this; - - var dispatch = this.props.dispatch; - - dispatch((0, _MenuActions.nodePathsRequest)(nodeId, 8)).then(function (response) { - _this5.setState({ - deepSubNode: response.data - }); - }); - } - }, { - key: '__handleClickBack__REACT_HOT_LOADER__', - value: function __handleClickBack__REACT_HOT_LOADER__(e) { - e.preventDefault(); - this.setState({ - deepNode: null - }); - } - }, { - key: '__handleSubClickBack__REACT_HOT_LOADER__', - value: function __handleSubClickBack__REACT_HOT_LOADER__(e) { - e.preventDefault(); - this.setState({ - deepSubNode: null - }); - } - }, { - key: '__handleRedirect__REACT_HOT_LOADER__', - value: function __handleRedirect__REACT_HOT_LOADER__(elementId) { - var _props2 = this.props, - dispatch = _props2.dispatch, - windowType = _props2.windowType, - docId = _props2.docId; - - this.handleClickOutside(); - - if (!docId && windowType == elementId) { - return; - } - dispatch((0, _reactRouterRedux.push)('/window/' + elementId)); - } - }, { - key: '__handleNewRedirect__REACT_HOT_LOADER__', - value: function __handleNewRedirect__REACT_HOT_LOADER__(elementId) { - var dispatch = this.props.dispatch; - - this.handleClickOutside(); - dispatch((0, _reactRouterRedux.push)('/window/' + elementId + '/new')); - } - }, { - key: '__handlePath__REACT_HOT_LOADER__', - value: function __handlePath__REACT_HOT_LOADER__(nodeId) { - var _this6 = this; - - var dispatch = this.props.dispatch; - - dispatch((0, _MenuActions.pathRequest)(nodeId)).then(function (response) { - var pathArray = []; - var node = response.data; - - do { - var children = node.children && node.children[0]; - node.children = undefined; - - pathArray.push(node); - node = children; - } while (node); - - //remove first MENU element - pathArray.shift(); - - _this6.setState({ - path: pathArray - }); - }); - } - }, { - key: '__handleSubPath__REACT_HOT_LOADER__', - value: function __handleSubPath__REACT_HOT_LOADER__(nodeId) { - var _this7 = this; - - var dispatch = this.props.dispatch; - - dispatch((0, _MenuActions.pathRequest)(nodeId)).then(function (response) { - var pathArray = []; - var node = response.data; - - do { - var children = node.children && node.children[0]; - node.children = undefined; - - pathArray.push(node); - node = children; - } while (node); - - //remove first MENU element - pathArray.shift(); - - _this7.setState({ - subPath: pathArray - }); - }); - } - }, { - key: '__renderPath__REACT_HOT_LOADER__', - value: function __renderPath__REACT_HOT_LOADER__(path) { - return _react2.default.createElement( - 'span', - null, - path && path.map(function (item, index) { - return _react2.default.createElement( - 'span', - { key: index }, - item.nodeId > 0 ? (index > 0 ? ' / ' : '') + item.captionBreadcrumb : item.captionBreadcrumb - ); - }) - ); - } - }, { - key: '__renderNaviagtion__REACT_HOT_LOADER__', - value: function __renderNaviagtion__REACT_HOT_LOADER__(node) { - var _this8 = this; - - var _state = this.state, - path = _state.path, - deepNode = _state.deepNode; - var _props3 = this.props, - handleMenuOverlay = _props3.handleMenuOverlay, - openModal = _props3.openModal, - dispatch = _props3.dispatch; - - return _react2.default.createElement( - 'div', - { - className: 'menu-overlay-container-column-wrapper js-menu-overlay', - tabIndex: 0, - onKeyDown: function onKeyDown(e) { - return _this8.handleKeyDown(e); - } - }, - _react2.default.createElement('div', { className: 'menu-overlay-top-spacer' }), - deepNode ? _react2.default.createElement( - 'div', - null, - _react2.default.createElement( - 'span', - { - className: 'menu-overlay-link', - onClick: function onClick(e) { - return _this8.handleClickBack(e); - } - }, - '< Back' - ) - ) : _react2.default.createElement( - 'div', - null, - _react2.default.createElement( - 'span', - { - className: 'menu-overlay-header menu-overlay-header-spaced menu-overlay-header-main pointer js-menu-header', - onClick: function onClick() { - return dispatch((0, _reactRouterRedux.push)('/')); - }, - tabIndex: 0, - onKeyDown: function onKeyDown(e) { - return _this8.handleKeyDown(e); - } - }, - 'Dashboard' - ) - ), - node.nodeId != 0 && _react2.default.createElement( - 'p', - { - className: 'menu-overlay-header menu-overlay-header-main menu-overlay-header-spaced group-header' - }, - this.renderPath(path) - ), - _react2.default.createElement( - 'div', - { className: 'column-wrapper' }, - node && node.children && node.children.map(function (item, index) { - return _react2.default.createElement(_MenuOverlayContainer2.default, _extends({ - key: index, - handleClickOnFolder: _this8.handleDeeper, - handleRedirect: _this8.handleRedirect, - handleNewRedirect: _this8.handleNewRedirect, - handlePath: _this8.handlePath, - parent: node, - back: function back(e) { - return _this8.handleClickBack(e); - }, - handleMenuOverlay: handleMenuOverlay, - openModal: openModal - }, item)); - }) - ) - ); - } - }, { - key: '__renderSubnavigation__REACT_HOT_LOADER__', - value: function __renderSubnavigation__REACT_HOT_LOADER__(nodeData) { - var _this9 = this; - - return _react2.default.createElement( - 'div', - null, - nodeData && nodeData.children && nodeData.children.map(function (item, index) { - return _react2.default.createElement( - 'span', - { - className: 'menu-overlay-expanded-link', - key: index - }, - _react2.default.createElement( - 'span', - { - className: item.elementId ? 'menu-overlay-link' : 'menu-overlay-expand', - onClick: function onClick() { - return _this9.linkClick(item); - } }, - item.caption - ) - ); - }) - ); - } - }, { - key: '__linkClick__REACT_HOT_LOADER__', - value: function __linkClick__REACT_HOT_LOADER__(item) { - var dispatch = this.props.dispatch; - - if (item.elementId && item.type == 'newRecord') { - this.handleNewRedirect(item.elementId); - } else if (item.elementId && item.type == 'window') { - this.handleRedirect(item.elementId); - dispatch((0, _MenuActions.getWindowBreadcrumb)(item.elementId)); - } else if (item.type == 'group') { - this.handleSubDeeper(item.nodeId); - this.handleSubPath(item.nodeId); - } - } - }, { - key: '__handleKeyDown__REACT_HOT_LOADER__', - value: function __handleKeyDown__REACT_HOT_LOADER__(e) { - var handleMenuOverlay = this.props.handleMenuOverlay; - - var input = document.getElementById('search-input-query'); - var firstMenuItem = document.getElementsByClassName('js-menu-item')[0]; - var parentSibling = document.activeElement.parentElement.nextSibling; - switch (e.key) { - case 'ArrowDown': - e.preventDefault(); - if (document.activeElement.classList.contains('js-menu-overlay')) { - firstMenuItem && firstMenuItem.focus(); - } else if (document.activeElement.classList.contains('js-menu-header')) { - firstMenuItem && firstMenuItem.focus(); - } else if (document.activeElement.classList.contains('input-field')) { - parentSibling && parentSibling.focus(); - } - break; - case 'Tab': - e.preventDefault(); - if (document.activeElement === input) { - firstMenuItem.focus(); - } else { - input.focus(); - } - break; - case 'Enter': - e.preventDefault(); - document.activeElement.click(); - break; - case 'Backspace': - if (document.activeElement !== input) { - e.preventDefault(); - this.handleClickBack(e); - document.getElementsByClassName('js-menu-overlay')[0].focus(); - } - break; - case 'Escape': - e.preventDefault(); - handleMenuOverlay('', ''); - } - } - }, { - key: 'render', - value: function render() { - var _this10 = this; - - var _state2 = this.state, - queriedResults = _state2.queriedResults, - deepNode = _state2.deepNode, - deepSubNode = _state2.deepSubNode, - subPath = _state2.subPath, - query = _state2.query, - data = _state2.data; - var _props4 = this.props, - nodeId = _props4.nodeId, - node = _props4.node, - siteName = _props4.siteName, - handleMenuOverlay = _props4.handleMenuOverlay, - openModal = _props4.openModal; - - var nodeData = nodeId == '0' ? data : node.children; - return _react2.default.createElement( - 'div', - { - className: 'menu-overlay menu-overlay-primary' - }, - _react2.default.createElement( - 'div', - { className: 'menu-overlay-body breadcrumbs-shadow' }, - nodeId == 0 ? - //ROOT - _react2.default.createElement( - 'div', - null, - _react2.default.createElement( - 'div', - { className: 'menu-overlay-root-body' }, - this.renderNaviagtion(deepNode ? deepNode : nodeData), - _react2.default.createElement( - 'div', - { - className: 'menu-overlay-query hidden-sm-down' - }, - _react2.default.createElement( - 'div', - { className: 'input-flex input-primary' }, - _react2.default.createElement('i', { - className: 'input-icon meta-icon-preview' - }), - _react2.default.createElement(_reactDebounceInput2.default, { - debounceTimeout: 250, - type: 'text', - id: 'search-input-query', - className: 'input-field', - placeholder: 'Type phrase here', - onChange: function onChange(e) { - return _this10.handleQuery(e); - }, - onKeyDown: function onKeyDown(e) { - return _this10.handleKeyDown(e); - } - }), - this.state.query && _react2.default.createElement('i', { - className: 'input-icon meta-icon-close-alt pointer', - onClick: function onClick(e) { - return _this10.handleClear(e); - } - }) - ), - queriedResults && queriedResults.map(function (result, index) { - return _react2.default.createElement(_MenuOverlayItem2.default, _extends({ - key: index, - handleClickOnFolder: _this10.handleDeeper, - handleRedirect: _this10.handleRedirect, - handleNewRedirect: _this10.handleNewRedirect, - query: true, - handlePath: _this10.handlePath, - handleMenuOverlay: handleMenuOverlay, - openModal: openModal - }, result)); - }), - queriedResults.length === 0 && query != '' && _react2.default.createElement( - 'span', - null, - 'There are no results' - ) - ) - ) - ) : - //NOT ROOT - _react2.default.createElement( - 'div', - { className: 'menu-overlay-node-container' }, - deepSubNode ? [_react2.default.createElement( - 'div', - { key: 'back' }, - _react2.default.createElement( - 'span', - { - className: 'menu-overlay-link', - onClick: function onClick(e) { - return _this10.handleSubClickBack(e); - } }, - '< Back' - ) - ), _react2.default.createElement( - 'p', - { - key: 'path', - className: 'menu-overlay-header' - }, - this.renderPath(subPath) - )] : _react2.default.createElement( - 'p', - { className: 'menu-overlay-header' }, - nodeData && nodeData.caption - ), - this.renderSubnavigation(deepSubNode ? deepSubNode : nodeData) - ), - nodeId == '0' && siteName !== 'Sitemap' && _react2.default.createElement( - 'div', - { className: 'text-xs-right' }, - _react2.default.createElement( - 'span', - { - className: 'menu-overlay-link tree-link', - onClick: this.browseWholeTree - }, - 'Browse whole tree >>' - ) - ) - ) - ); - } - }]); - - return MenuOverlay; - }(_react.Component); - - MenuOverlay.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - MenuOverlay = (0, _reactRedux.connect)()((0, _reactOnclickoutside2.default)(MenuOverlay)); - - var _default = MenuOverlay; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(MenuOverlay, 'MenuOverlay', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js'); - }(); - - ; - -/***/ }, -/* 493 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _MenuOverlayItem = __webpack_require__(494); - - var _MenuOverlayItem2 = _interopRequireDefault(_MenuOverlayItem); - - var _reactRedux = __webpack_require__(171); - - var _MenuActions = __webpack_require__(495); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var MenuOverlayContainer = function (_Component) { - _inherits(MenuOverlayContainer, _Component); - - function MenuOverlayContainer(props) { - _classCallCheck(this, MenuOverlayContainer); - - var _this = _possibleConstructorReturn(this, (MenuOverlayContainer.__proto__ || Object.getPrototypeOf(MenuOverlayContainer)).call(this, props)); - - _this.handleClick = function () { - return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - return _this; - } - - _createClass(MenuOverlayContainer, [{ - key: '__handleClick__REACT_HOT_LOADER__', - value: function __handleClick__REACT_HOT_LOADER__() { - var _props = this.props, - dispatch = _props.dispatch, - handleRedirect = _props.handleRedirect, - elementId = _props.elementId; - - handleRedirect(elementId); - dispatch((0, _MenuActions.getWindowBreadcrumb)(elementId)); - } - }, { - key: 'render', - value: function render() { - var _props2 = this.props, - children = _props2.children, - elementId = _props2.elementId, - caption = _props2.caption, - type = _props2.type, - handleClickOnFolder = _props2.handleClickOnFolder, - handleRedirect = _props2.handleRedirect, - handleNewRedirect = _props2.handleNewRedirect, - handlePath = _props2.handlePath, - printChildren = _props2.printChildren, - deep = _props2.deep, - back = _props2.back, - handleMenuOverlay = _props2.handleMenuOverlay, - openModal = _props2.openModal; - - - return _react2.default.createElement( - 'div', - { - tabIndex: 0, - className: 'menu-overlay-node-container ' + (deep ? 'menu-overlay-node-spaced ' : 'menu-overlay-expanded-link-spaced') }, - type === 'group' && _react2.default.createElement( - 'span', - { - className: 'menu-overlay-header ' + (!printChildren ? 'menu-overlay-header-spaced ' : ' ') + (!deep ? 'menu-overlay-header-main' : ' ') - }, - caption - ), - type !== 'group' && _react2.default.createElement(_MenuOverlayItem2.default, { - elementId: elementId, - caption: caption, - type: type, - handleClickOnFolder: handleClickOnFolder, - handleRedirect: handleRedirect, - handleNewRedirect: handleNewRedirect, - handlePath: handlePath, - back: back, - handleMenuOverlay: handleMenuOverlay, - printChildren: false, - openModal: openModal - }), - children && children.map(function (subitem, subindex) { - return subitem.children && printChildren ? _react2.default.createElement(MenuOverlayContainer, _extends({ - key: subindex, - handleClickOnFolder: handleClickOnFolder, - handleRedirect: handleRedirect, - handleNewRedirect: handleNewRedirect, - printChildren: true, - deep: true, - openModal: openModal - }, subitem)) : _react2.default.createElement(_MenuOverlayItem2.default, _extends({ - key: subindex, - handleClickOnFolder: handleClickOnFolder, - handleRedirect: handleRedirect, - handleNewRedirect: handleNewRedirect, - handlePath: handlePath, - printChildren: printChildren, - back: back, - handleMenuOverlay: handleMenuOverlay, - openModal: openModal - }, subitem)); - }) - ); - } - }]); - - return MenuOverlayContainer; - }(_react.Component); - - MenuOverlayContainer = (0, _reactRedux.connect)()(MenuOverlayContainer); - - var _default = MenuOverlayContainer; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(MenuOverlayContainer, 'MenuOverlayContainer', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayContainer.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayContainer.js'); - }(); - - ; - -/***/ }, -/* 494 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _MenuActions = __webpack_require__(495); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var MenuOverlayItem = function (_Component) { - _inherits(MenuOverlayItem, _Component); - - function MenuOverlayItem(props) { - _classCallCheck(this, MenuOverlayItem); - - var _this = _possibleConstructorReturn(this, (MenuOverlayItem.__proto__ || Object.getPrototypeOf(MenuOverlayItem)).call(this, props)); - - _this.clickedItem = function () { - return _this.__clickedItem__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClick = function () { - return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleKeyDown = function () { - return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderBreadcrumb = function () { - return _this.__renderBreadcrumb__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - return _this; - } - - _createClass(MenuOverlayItem, [{ - key: 'componentDidMount', - value: function componentDidMount() { - var query = this.props.query; - - if (!query && document.getElementsByClassName('js-menu-overlay')[0]) { - document.getElementsByClassName('js-menu-overlay')[0].focus(); - } - } - }, { - key: '__clickedItem__REACT_HOT_LOADER__', - value: function __clickedItem__REACT_HOT_LOADER__(e, elementId, nodeId, type) { - var _props = this.props, - handleClickOnFolder = _props.handleClickOnFolder, - handleNewRedirect = _props.handleNewRedirect, - openModal = _props.openModal, - caption = _props.caption; - - - if (type === 'newRecord') { - handleNewRedirect(elementId); - } else if (type === 'window') { - this.handleClick(elementId); - } else if (type === 'group') { - handleClickOnFolder(e, nodeId); - } else if (type === 'report' || type === 'process') { - openModal(elementId + '', 'process', caption); - } - } - }, { - key: '__handleClick__REACT_HOT_LOADER__', - value: function __handleClick__REACT_HOT_LOADER__(elementId) { - var handleRedirect = this.props.handleRedirect; - - handleRedirect(elementId); - this.renderBreadcrumb(elementId); - } - }, { - key: '__handleKeyDown__REACT_HOT_LOADER__', - value: function __handleKeyDown__REACT_HOT_LOADER__(e) { - var _props2 = this.props, - back = _props2.back, - handleMenuOverlay = _props2.handleMenuOverlay; - - var overlay = document.getElementsByClassName('js-menu-overlay')[0]; - - switch (e.key) { - case 'ArrowDown': - e.preventDefault(); - this.handleArrowDown(); - break; - case 'ArrowUp': - e.preventDefault(); - this.handeArrowUp(); - break; - case 'Tab': - e.preventDefault(); - document.getElementsByClassName('js-menu-item')[0].focus(); - break; - case 'Backspace': - e.preventDefault(); - back(e); - overlay.focus(); - break; - case 'Enter': - e.preventDefault(); - document.activeElement.childNodes[0].click(); - overlay.focus(); - break; - case 'Escape': - e.preventDefault(); - handleMenuOverlay('', ''); - } - } - }, { - key: 'handeArrowUp', - value: function handeArrowUp() { - var prevSiblings = document.activeElement.previousSibling; - if (prevSiblings && prevSiblings.classList.contains('input-primary')) { - document.getElementById('search-input-query').focus(); - } else if (prevSiblings && prevSiblings.classList.contains('js-menu-item')) { - document.activeElement.previousSibling.focus(); - } else { - this.handleGroupUp(); - } - } - }, { - key: 'handleGroupUp', - value: function handleGroupUp() { - var previousGroup = document.activeElement.parentElement.previousSibling; - var headerLink = document.getElementsByClassName('js-menu-header')[0]; - if (previousGroup) { - var listChildren = previousGroup.childNodes; - if (listChildren.length == 1) { - previousGroup.childNodes[0].focus(); - } else { - listChildren[listChildren.length - 1].focus(); - } - } else { - headerLink && headerLink.focus(); - } - } - }, { - key: 'handleArrowDown', - value: function handleArrowDown() { - - if (document.activeElement.nextSibling) { - document.activeElement.nextSibling.focus(); - } else { - if (document.activeElement.parentElement.nextSibling) { - var listChildren = document.activeElement.parentElement.nextSibling.childNodes; - if (listChildren.length == 1) { - listChildren[0].focus(); - } else { - listChildren[1].focus(); - } - } - } - } - }, { - key: '__renderBreadcrumb__REACT_HOT_LOADER__', - value: function __renderBreadcrumb__REACT_HOT_LOADER__(elementId) { - var dispatch = this.props.dispatch; - - - dispatch((0, _MenuActions.getWindowBreadcrumb)(elementId)); - } - }, { - key: 'render', - value: function render() { - var _this2 = this; - - var _props3 = this.props, - nodeId = _props3.nodeId, - type = _props3.type, - elementId = _props3.elementId, - caption = _props3.caption, - children = _props3.children, - handleClickOnFolder = _props3.handleClickOnFolder, - query = _props3.query, - printChildren = _props3.printChildren; - - - return _react2.default.createElement( - 'span', - { - tabIndex: 0, - onKeyDown: this.handleKeyDown, - className: 'menu-overlay-expanded-link js-menu-item ' + (!printChildren ? 'menu-overlay-expanded-link-spaced ' : '') - }, - !query && _react2.default.createElement( - 'span', - { - className: children ? 'menu-overlay-expand' : 'menu-overlay-link', - onClick: function onClick(e) { - children ? handleClickOnFolder(e, nodeId) : _this2.clickedItem(e, elementId, nodeId, type); - } - }, - caption - ), - query && _react2.default.createElement( - 'span', - { - className: children ? '' : type === 'group' ? 'query-clickable-group' : 'query-clickable-link', - onClick: children ? '' : function (e) { - return _this2.clickedItem(e, elementId, nodeId, type); - } - }, - children ? children.map(function (item, id) { - return _react2.default.createElement( - 'span', - { key: id, className: 'query-results' }, - _react2.default.createElement( - 'span', - { - className: 'query-caption' - }, - id === 0 ? caption + ' / ' : '/' - ), - _react2.default.createElement( - 'span', - { - title: item.caption, - className: type === 'group' ? 'query-clickable-group' : 'query-clickable-link', - onClick: function onClick(e) { - return _this2.clickedItem(e, item.elementId, item.nodeId, item.type); - } - }, - item.caption - ) - ); - }) : caption - ) - ); - } - }]); - - return MenuOverlayItem; - }(_react.Component); - - MenuOverlayItem.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - MenuOverlayItem = (0, _reactRedux.connect)()(MenuOverlayItem); - - var _default = MenuOverlayItem; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(MenuOverlayItem, 'MenuOverlayItem', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayItem.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayItem.js'); - }(); - - ; - -/***/ }, -/* 495 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - - exports.setBreadcrumb = setBreadcrumb; - exports.pathRequest = pathRequest; - exports.nodePathsRequest = nodePathsRequest; - exports.elementPathRequest = elementPathRequest; - exports.queryPathsRequest = queryPathsRequest; - exports.rootRequest = rootRequest; - exports.getRootBreadcrumb = getRootBreadcrumb; - exports.getWindowBreadcrumb = getWindowBreadcrumb; - exports.flattenLastElem = flattenLastElem; - exports.flattenOneLine = flattenOneLine; - - var _MenuTypes = __webpack_require__(233); - - var types = _interopRequireWildcard(_MenuTypes); - - var _axios = __webpack_require__(201); - - var _axios2 = _interopRequireDefault(_axios); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } - - function setBreadcrumb(breadcrumb) { - return { - type: types.SET_BREADCRUMB, - breadcrumb: breadcrumb - }; - } - - // THUNK ACTIONS - function pathRequest(nodeId) { - return function () { - return _axios2.default.get(config.API_URL + '/menu/path?nodeId=' + nodeId + '&inclusive=true'); - }; - } - - function nodePathsRequest(nodeId, limit) { - return function () { - return _axios2.default.get(config.API_URL + '/menu/node?nodeId=' + nodeId + '&depth=2' + (limit ? '&childrenLimit=' + limit : '')); - }; - } - - function elementPathRequest(pathType, elementId) { - return function () { - return _axios2.default.get(config.API_URL + '/menu/elementPath?type=' + pathType + '&elementId=' + elementId + '&inclusive=true'); - }; - } - - function queryPathsRequest(query, limit, child) { - return function () { - return _axios2.default.get(config.API_URL + '/menu/queryPaths?nameQuery=' + query + (limit ? '&childrenLimit=' + limit : '') + (child ? '&childrenInclusive=true' : '')); - }; - } - - function rootRequest(limit) { - var depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; - - return function () { - return _axios2.default.get(config.API_URL + '/menu/root?depth=' + depth + (limit ? '&childrenLimit=' + limit : '')); - }; - } - - function getRootBreadcrumb() { - return function (dispatch) { - return dispatch(rootRequest(6, 10)).then(function (root) { - return { nodeId: '0', children: root.data.children }; - }); - }; - } - - function getWindowBreadcrumb(id) { - return function (dispatch) { - dispatch(elementPathRequest('window', id)).then(function (response) { - var req = 0; - var pathData = flattenOneLine(response.data); - - // promise to get all of the breadcrumb menu options - var breadcrumbProcess = new Promise(function (resolve) { - var _loop = function _loop(i) { - var node = pathData[i]; - - dispatch(nodePathsRequest(node.nodeId, 10)).then(function (item) { - node.children = item.data; - req += 1; - - if (req === pathData.length) { - resolve(pathData); - } - }); - }; - - for (var i = 0; i < pathData.length; i++) { - _loop(i); - } - }); - - return breadcrumbProcess; - }).then(function (item) { - dispatch(setBreadcrumb(item.reverse())); - }).catch(function () { - dispatch(setBreadcrumb([])); - }); - }; - } - - //END OF THUNK ACTIONS - - // UTILITIES - - function flattenLastElem(node) { - var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'children'; - - var result = []; - - if (node[prop]) { - node[prop].map(function (child) { - var flat = flattenLastElem(child); - - if ((typeof flat === 'undefined' ? 'undefined' : _typeof(flat)) === 'object') { - result = result.concat(flat); - } else { - result.push(flattenLastElem(child)); - } - }); - return result; - } else { - return [node]; - } - } - - function flattenOneLine(node) { - var result = []; - if (node.children) { - flattenOneLine(node.children[0]).map(function (item) { - result.push(item); - }); - } - result.push({ - nodeId: node.nodeId, - caption: node.caption - }); - return result; - } - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(setBreadcrumb, 'setBreadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(pathRequest, 'pathRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(nodePathsRequest, 'nodePathsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(elementPathRequest, 'elementPathRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(queryPathsRequest, 'queryPathsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(rootRequest, 'rootRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(getRootBreadcrumb, 'getRootBreadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(getWindowBreadcrumb, 'getWindowBreadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(flattenLastElem, 'flattenLastElem', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - - __REACT_HOT_LOADER__.register(flattenOneLine, 'flattenOneLine', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); - }(); - - ; - -/***/ }, -/* 496 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - var _require = __webpack_require__(497); - - var DebounceInput = _require.DebounceInput; - - - module.exports = DebounceInput; //# sourceMappingURL=index.js.map /***/ }, -/* 497 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.DebounceInput = undefined; - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _lodash = __webpack_require__(498); - - var _lodash2 = _interopRequireDefault(_lodash); - - var _ReactComponentWithPureRenderMixin = __webpack_require__(499); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } - - var DebounceInput = exports.DebounceInput = _react2.default.createClass({ - displayName: 'DebounceInput', - - propTypes: { - element: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.func]), - type: _react2.default.PropTypes.string, - onChange: _react2.default.PropTypes.func.isRequired, - onKeyDown: _react2.default.PropTypes.func, - onBlur: _react2.default.PropTypes.func, - value: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.number]), - minLength: _react2.default.PropTypes.number, - debounceTimeout: _react2.default.PropTypes.number, - forceNotifyByEnter: _react2.default.PropTypes.bool, - forceNotifyOnBlur: _react2.default.PropTypes.bool - }, - - getDefaultProps: function getDefaultProps() { - return { - element: 'input', - type: 'text', - minLength: 0, - debounceTimeout: 100, - forceNotifyByEnter: true, - forceNotifyOnBlur: true - }; - }, - getInitialState: function getInitialState() { - return { - value: this.props.value || '' - }; - }, - componentWillMount: function componentWillMount() { - this.createNotifier(this.props.debounceTimeout); - }, - componentWillReceiveProps: function componentWillReceiveProps(_ref) { - var value = _ref.value; - var debounceTimeout = _ref.debounceTimeout; - - if (this.isDebouncing) { - return; - } - if (typeof value !== 'undefined' && this.state.value !== value) { - this.setState({ value: value }); - } - if (debounceTimeout !== this.props.debounceTimeout) { - this.createNotifier(debounceTimeout); - } - }, - - - shouldComponentUpdate: _ReactComponentWithPureRenderMixin.shouldComponentUpdate, - - componentWillUnmount: function componentWillUnmount() { - if (this.notify.flush) { - this.notify.flush(); - } - }, - - - isDebouncing: false, - - createNotifier: function createNotifier(debounceTimeout) { - var _this = this; - - if (debounceTimeout < 0) { - this.notify = function () { - return null; - }; - } else if (debounceTimeout === 0) { - this.notify = this.doNotify; - } else { - (function () { - var debouncedChangeFunc = (0, _lodash2.default)(function (event) { - _this.isDebouncing = false; - _this.doNotify(event); - }, debounceTimeout); - - _this.notify = function (event) { - _this.isDebouncing = true; - debouncedChangeFunc(event); - }; - })(); - } - }, - doNotify: function doNotify() { - var onChange = this.props.onChange; - - - onChange.apply(undefined, arguments); - }, - forceNotify: function forceNotify(event) { - if (!this.isDebouncing) { - return; - } - - if (this.notify.cancel) { - this.notify.cancel(); - this.isDebouncing = false; - } - - var value = this.state.value; - var minLength = this.props.minLength; - - - if (value.length >= minLength) { - this.doNotify(event); - } else { - this.doNotify(_extends({}, event, { target: _extends({}, event.target, { value: value }) })); - } - }, - onChange: function onChange(event) { - var _this2 = this; - - event.persist(); - - var oldValue = this.state.value; - - this.setState({ value: event.target.value }, function () { - var value = _this2.state.value; - - - if (value.length >= _this2.props.minLength) { - _this2.notify(event); - return; - } - - // If user hits backspace and goes below minLength consider it cleaning the value - if (oldValue.length > value.length) { - _this2.notify(_extends({}, event, { target: _extends({}, event.target, { value: '' }) })); - } - }); - }, - render: function render() { - var _this3 = this; - - var _props = this.props; - var element = _props.element; - var _onChange = _props.onChange; - var _value = _props.value; - var _minLength = _props.minLength; - var _debounceTimeout = _props.debounceTimeout; - var forceNotifyByEnter = _props.forceNotifyByEnter; - var forceNotifyOnBlur = _props.forceNotifyOnBlur; - var _onKeyDown = _props.onKeyDown; - var _onBlur = _props.onBlur; - - var props = _objectWithoutProperties(_props, ['element', 'onChange', 'value', 'minLength', 'debounceTimeout', 'forceNotifyByEnter', 'forceNotifyOnBlur', 'onKeyDown', 'onBlur']); - - var maybeOnKeyDown = forceNotifyByEnter ? { - onKeyDown: function onKeyDown(event) { - if (event.key === 'Enter') { - _this3.forceNotify(event); - } - // Invoke original onKeyDown if present - if (_onKeyDown) { - _onKeyDown(event); - } - } - } : {}; - - var maybeOnBlur = forceNotifyOnBlur ? { - onBlur: function onBlur(event) { - _this3.forceNotify(event); - // Invoke original onBlur if present - if (_onBlur) { - _onBlur(event); - } - } - } : {}; - - return _react2.default.createElement(element, _extends({}, props, { - onChange: this.onChange, - value: this.state.value - }, maybeOnKeyDown, maybeOnBlur)); - } - }); - //# sourceMappingURL=Component.js.map - -/***/ }, -/* 498 */ -/***/ function(module, exports) { - - /* WEBPACK VAR INJECTION */(function(global) {/** - * lodash (Custom Build) - * Build: `lodash modularize exports="npm" -o ./` - * Copyright jQuery Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ - - /** Used as the `TypeError` message for "Functions" methods. */ - var FUNC_ERROR_TEXT = 'Expected a function'; - - /** Used as references for various `Number` constants. */ - var NAN = 0 / 0; - - /** `Object#toString` result references. */ - var symbolTag = '[object Symbol]'; - - /** Used to match leading and trailing whitespace. */ - var reTrim = /^\s+|\s+$/g; - - /** Used to detect bad signed hexadecimal string values. */ - var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - - /** Used to detect binary string values. */ - var reIsBinary = /^0b[01]+$/i; - - /** Used to detect octal string values. */ - var reIsOctal = /^0o[0-7]+$/i; - - /** Built-in method references without a dependency on `root`. */ - var freeParseInt = parseInt; - - /** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); - - /** Used for built-in method references. */ - var objectProto = Object.prototype; - - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var objectToString = objectProto.toString; - - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeMax = Math.max, - nativeMin = Math.min; - - /** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. - */ - var now = function() { - return root.Date.now(); - }; - - /** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide `options` to indicate whether `func` should be invoked on the - * leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent - * calls to the debounced function return the result of the last `func` - * invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the debounced function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ - function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; - - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } - - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - result = wait - timeSinceLastCall; - - return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result; - } - - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; - } - - /** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ - function isObject(value) { - var type = typeof value; - return !!value && (type == 'object' || type == 'function'); - } - - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - function isObjectLike(value) { - return !!value && typeof value == 'object'; - } - - /** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ - function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && objectToString.call(value) == symbolTag); - } - - /** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3.2'); - * // => 3.2 - */ - function toNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - if (isObject(value)) { - var other = typeof value.valueOf == 'function' ? value.valueOf() : value; - value = isObject(other) ? (other + '') : other; - } - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - value = value.replace(reTrim, ''); - var isBinary = reIsBinary.test(value); - return (isBinary || reIsOctal.test(value)) - ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : (reIsBadHex.test(value) ? NAN : +value); - } - - module.exports = debounce; - - /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) - -/***/ }, -/* 499 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - var shallowCompare = __webpack_require__(500); - - /** - * If your React component's render function is "pure", e.g. it will render the - * same result given the same props and state, provide this mixin for a - * considerable performance boost. - * - * Most React components have pure render functions. - * - * Example: - * - * var ReactComponentWithPureRenderMixin = - * require('ReactComponentWithPureRenderMixin'); - * React.createClass({ - * mixins: [ReactComponentWithPureRenderMixin], - * - * render: function() { - * return
foo
; - * } - * }); - * - * Note: This only checks shallow equality for props and state. If these contain - * complex data structures this mixin may have false-negatives for deeper - * differences. Only mixin to components which have simple props and state, or - * use `forceUpdate()` when you know deep data structures have changed. - * - * See https://facebook.github.io/react/docs/pure-render-mixin.html - */ - var ReactComponentWithPureRenderMixin = { - shouldComponentUpdate: function (nextProps, nextState) { - return shallowCompare(this, nextProps, nextState); - } - }; - - module.exports = ReactComponentWithPureRenderMixin; - -/***/ }, -/* 500 */ -/***/ function(module, exports, __webpack_require__) { - - /** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - */ - - 'use strict'; - - var shallowEqual = __webpack_require__(117); - - /** - * Does a shallow comparison for props and state. - * See ReactComponentWithPureRenderMixin - * See also https://facebook.github.io/react/docs/shallow-compare.html - */ - function shallowCompare(instance, nextProps, nextState) { - return !shallowEqual(instance.props, nextProps) || !shallowEqual(instance.state, nextState); - } - - module.exports = shallowCompare; - -/***/ }, -/* 501 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Tooltips = function (_Component) { - _inherits(Tooltips, _Component); - - function Tooltips(props) { - _classCallCheck(this, Tooltips); - - var _this = _possibleConstructorReturn(this, (Tooltips.__proto__ || Object.getPrototypeOf(Tooltips)).call(this, props)); - - _this.state = { - opacity: 0 - }; - return _this; - } - - _createClass(Tooltips, [{ - key: 'componentDidMount', - value: function componentDidMount() { - var _this2 = this; - - var delay = this.props.delay; - - this.timeout = setTimeout(function () { - _this2.setState({ - opacity: 1 - }); - }, delay ? delay : 1000); - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - clearTimeout(this.timeout); - } - }, { - key: 'render', - value: function render() { - var _props = this.props, - name = _props.name, - action = _props.action, - type = _props.type, - extraClass = _props.extraClass, - tooltipOnFirstlevelPositionLeft = _props.tooltipOnFirstlevelPositionLeft; - var opacity = this.state.opacity; - - return _react2.default.createElement( - 'div', - { style: { opacity: opacity } }, - _react2.default.createElement( - 'div', - { - className: 'tooltip-wrapp ' + (type ? 'tooltip-' + type : '') + ' ' + (extraClass ? extraClass : ''), - style: { left: tooltipOnFirstlevelPositionLeft + 'px' } - }, - _react2.default.createElement( - 'div', - { className: 'tooltip-shortcut' }, - name - ), - _react2.default.createElement( - 'div', - { className: 'tooltip-name' }, - action - ) - ) - ); - } - }]); - - return Tooltips; - }(_react.Component); - - var _default = Tooltips; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Tooltips, 'Tooltips', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tooltips/Tooltips.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tooltips/Tooltips.js'); - }(); - - ; - -/***/ }, -/* 502 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _WindowActions = __webpack_require__(503); - - var _RawWidget = __webpack_require__(505); - - var _RawWidget2 = _interopRequireDefault(_RawWidget); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var MasterWidget = function (_Component) { - _inherits(MasterWidget, _Component); - - function MasterWidget(props) { - _classCallCheck(this, MasterWidget); - - var _this = _possibleConstructorReturn(this, (MasterWidget.__proto__ || Object.getPrototypeOf(MasterWidget)).call(this, props)); - - _this.handlePatch = function () { - return _this.__handlePatch__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleChange = function () { - return _this.__handleChange__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.setEditedFlag = function () { - return _this.__setEditedFlag__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.validatePrecision = function () { - return _this.__validatePrecision__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleProcess = function () { - return _this.__handleProcess__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleZoomInto = function () { - return _this.__handleZoomInto__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - updated: false, - edited: false, - data: '' - }; - return _this; - } - - _createClass(MasterWidget, [{ - key: 'componentDidMount', - value: function componentDidMount() { - var widgetData = this.props.widgetData; - - this.setState({ - data: widgetData[0].value - }); - } - }, { - key: 'componentWillReceiveProps', - value: function componentWillReceiveProps(nextProps) { - var _this2 = this; - - var widgetData = this.props.widgetData; - var edited = this.state.edited; - - - if (JSON.stringify(widgetData[0].value) !== JSON.stringify(nextProps.widgetData[0].value)) { - this.setState({ - data: nextProps.widgetData[0].value - }); - - if (!edited) { - this.setState({ - updated: true - }, function () { - _this2.timeout = setTimeout(function () { - _this2.setState({ - updated: false - }); - }, 1000); - }); - } else { - this.setState({ - edited: false - }); - } - } - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - clearTimeout(this.timeout); - } - }, { - key: '__handlePatch__REACT_HOT_LOADER__', - - - // - // This method may looks like a redundant for this one above, - // but is need to handle controlled components if - // they patch on other event than onchange - // - value: function __handlePatch__REACT_HOT_LOADER__(property, value) { - var _props = this.props, - isModal = _props.isModal, - widgetType = _props.widgetType, - dataId = _props.dataId, - windowType = _props.windowType, - dispatch = _props.dispatch, - rowId = _props.rowId, - tabId = _props.tabId, - onChange = _props.onChange, - relativeDocId = _props.relativeDocId, - _props$isAdvanced = _props.isAdvanced, - isAdvanced = _props$isAdvanced === undefined ? false : _props$isAdvanced, - entity = _props.entity; - - - var currRowId = rowId; - var ret = null; - - if (rowId === 'NEW') { - currRowId = relativeDocId; - } - - if (widgetType !== 'Button') { - dispatch((0, _WindowActions.updatePropertyValue)(property, value, tabId, currRowId, isModal)); - } - - ret = dispatch((0, _WindowActions.patch)(entity, windowType, dataId, tabId, currRowId, property, value, isModal, isAdvanced)); - - //callback - if (onChange) { - onChange(); - } - - return ret; - } - }, { - key: '__handleChange__REACT_HOT_LOADER__', - value: function __handleChange__REACT_HOT_LOADER__(property, val) { - var _this3 = this; - - var _props2 = this.props, - dispatch = _props2.dispatch, - tabId = _props2.tabId, - rowId = _props2.rowId, - isModal = _props2.isModal, - relativeDocId = _props2.relativeDocId, - widgetType = _props2.widgetType; - - - var currRowId = rowId; - - var dateParse = ['Date', 'DateTime', 'Time']; - - this.setState({ - edited: true, - data: val - }, function () { - if (dateParse.indexOf(widgetType) === -1 && !_this3.validatePrecision(val)) { - return; - } - if (rowId === 'NEW') { - currRowId = relativeDocId; - } - dispatch((0, _WindowActions.updatePropertyValue)(property, val, tabId, currRowId, isModal)); - }); - } - }, { - key: '__setEditedFlag__REACT_HOT_LOADER__', - value: function __setEditedFlag__REACT_HOT_LOADER__(edited) { - this.setState({ - edited: edited - }); - } - }, { - key: '__validatePrecision__REACT_HOT_LOADER__', - value: function __validatePrecision__REACT_HOT_LOADER__(value) { - var _props3 = this.props, - widgetType = _props3.widgetType, - precision = _props3.precision; - - var precisionProcessed = precision; - - if (widgetType === 'Integer' || widgetType === 'Quantity') { - precisionProcessed = 0; - } - - if (precisionProcessed < (value.split('.')[1] || []).length) { - return false; - } else { - return true; - } - } - }, { - key: '__handleProcess__REACT_HOT_LOADER__', - value: function __handleProcess__REACT_HOT_LOADER__(caption, buttonProcessId, tabId, rowId) { - var dispatch = this.props.dispatch; - - - dispatch((0, _WindowActions.openModal)(caption, buttonProcessId, 'process', tabId, rowId, false, false)); - } - }, { - key: '__handleZoomInto__REACT_HOT_LOADER__', - value: function __handleZoomInto__REACT_HOT_LOADER__(field) { - var _props4 = this.props, - dispatch = _props4.dispatch, - dataId = _props4.dataId, - windowType = _props4.windowType, - tabId = _props4.tabId, - rowId = _props4.rowId; - - dispatch((0, _WindowActions.getZoomIntoWindow)(windowType, dataId, field, tabId, rowId)).then(function (res) { - res.data && window.open('/window/' + res.data.documentPath.windowId + '/' + res.data.documentPath.documentId, '_blank'); - }); - } - }, { - key: 'render', - value: function render() { - var _props5 = this.props, - caption = _props5.caption, - widgetType = _props5.widgetType, - fields = _props5.fields, - windowType = _props5.windowType, - type = _props5.type, - noLabel = _props5.noLabel, - widgetData = _props5.widgetData, - dataId = _props5.dataId, - rowId = _props5.rowId, - tabId = _props5.tabId, - icon = _props5.icon, - gridAlign = _props5.gridAlign, - isModal = _props5.isModal, - entity = _props5.entity, - handleBackdropLock = _props5.handleBackdropLock, - tabIndex = _props5.tabIndex, - dropdownOpenCallback = _props5.dropdownOpenCallback, - autoFocus = _props5.autoFocus, - fullScreen = _props5.fullScreen, - disabled = _props5.disabled, - buttonProcessId = _props5.buttonProcessId, - listenOnKeys = _props5.listenOnKeys, - listenOnKeysFalse = _props5.listenOnKeysFalse, - closeTableField = _props5.closeTableField; - var _state = this.state, - updated = _state.updated, - data = _state.data; - - - return _react2.default.createElement(_RawWidget2.default, { - entity: entity, - widgetType: widgetType, - fields: fields, - windowType: windowType, - dataId: dataId, - widgetData: widgetData, - rowId: rowId, - tabId: tabId, - icon: icon, - gridAlign: gridAlign, - handlePatch: this.handlePatch, - handleChange: this.handleChange, - handleProcess: this.handleProcess, - updated: updated, - isModal: isModal, - setEditedFlag: this.setEditedFlag, - noLabel: noLabel, - type: type, - caption: caption, - handleBackdropLock: handleBackdropLock, - tabIndex: tabIndex, - dropdownOpenCallback: dropdownOpenCallback, - autoFocus: autoFocus, - fullScreen: fullScreen, - disabled: disabled, - buttonProcessId: buttonProcessId, - listenOnKeys: listenOnKeys, - listenOnKeysFalse: listenOnKeysFalse, - closeTableField: closeTableField, - inputValue: data, - handleZoomInto: this.handleZoomInto - }); - } - }]); - - return MasterWidget; - }(_react.Component); - - MasterWidget.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - MasterWidget = (0, _reactRedux.connect)()(MasterWidget); - - var _default = MasterWidget; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(MasterWidget, 'MasterWidget', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/MasterWidget.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/MasterWidget.js'); - }(); - - ; - -/***/ }, -/* 503 */ +/* 487 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -58800,13 +55639,13 @@ var _reactRouterRedux = __webpack_require__(236); - var _MenuActions = __webpack_require__(495); + var _MenuActions = __webpack_require__(488); var _GenericActions = __webpack_require__(489); var _AppActions = __webpack_require__(421); - var _ListActions = __webpack_require__(504); + var _ListActions = __webpack_require__(490); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -59312,7 +56151,7 @@ //ZOOM INTO function getZoomIntoWindow(windowId, docId, field, tabId, rowId) { return function () { - return _axios2.default.get(config.API_URL + '/window/' + windowId + '/' + docId + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + '/attribute' + '/' + field + '/zoomInto'); + return _axios2.default.get(config.API_URL + '/window/' + windowId + '/' + docId + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + '/attribute' + '/' + field + '/zoomInto?showError=true'); }; } @@ -59349,6 +56188,9 @@ throw err; }); } + }).catch(function (err) { + dispatch((0, _AppActions.setProcessSaved)()); + throw err; }); }; } @@ -59645,7 +56487,415 @@ ; /***/ }, -/* 504 */ +/* 488 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + + exports.setBreadcrumb = setBreadcrumb; + exports.pathRequest = pathRequest; + exports.nodePathsRequest = nodePathsRequest; + exports.elementPathRequest = elementPathRequest; + exports.queryPathsRequest = queryPathsRequest; + exports.rootRequest = rootRequest; + exports.getRootBreadcrumb = getRootBreadcrumb; + exports.getWindowBreadcrumb = getWindowBreadcrumb; + exports.flattenLastElem = flattenLastElem; + exports.flattenOneLine = flattenOneLine; + + var _MenuTypes = __webpack_require__(233); + + var types = _interopRequireWildcard(_MenuTypes); + + var _axios = __webpack_require__(201); + + var _axios2 = _interopRequireDefault(_axios); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } + + function setBreadcrumb(breadcrumb) { + return { + type: types.SET_BREADCRUMB, + breadcrumb: breadcrumb + }; + } + + // THUNK ACTIONS + function pathRequest(nodeId) { + return function () { + return _axios2.default.get(config.API_URL + '/menu/path?nodeId=' + nodeId + '&inclusive=true'); + }; + } + + function nodePathsRequest(nodeId, limit) { + return function () { + return _axios2.default.get(config.API_URL + '/menu/node?nodeId=' + nodeId + '&depth=2' + (limit ? '&childrenLimit=' + limit : '')); + }; + } + + function elementPathRequest(pathType, elementId) { + return function () { + return _axios2.default.get(config.API_URL + '/menu/elementPath?type=' + pathType + '&elementId=' + elementId + '&inclusive=true'); + }; + } + + function queryPathsRequest(query, limit, child) { + return function () { + return _axios2.default.get(config.API_URL + '/menu/queryPaths?nameQuery=' + query + (limit ? '&childrenLimit=' + limit : '') + (child ? '&childrenInclusive=true' : '')); + }; + } + + function rootRequest(limit) { + var depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; + + return function () { + return _axios2.default.get(config.API_URL + '/menu/root?depth=' + depth + (limit ? '&childrenLimit=' + limit : '')); + }; + } + + function getRootBreadcrumb() { + return function (dispatch) { + return dispatch(rootRequest(6, 10)).then(function (root) { + return { nodeId: '0', children: root.data.children }; + }); + }; + } + + function getWindowBreadcrumb(id) { + return function (dispatch) { + dispatch(elementPathRequest('window', id)).then(function (response) { + var req = 0; + var pathData = flattenOneLine(response.data); + + // promise to get all of the breadcrumb menu options + var breadcrumbProcess = new Promise(function (resolve) { + var _loop = function _loop(i) { + var node = pathData[i]; + + dispatch(nodePathsRequest(node.nodeId, 10)).then(function (item) { + node.children = item.data; + req += 1; + + if (req === pathData.length) { + resolve(pathData); + } + }); + }; + + for (var i = 0; i < pathData.length; i++) { + _loop(i); + } + }); + + return breadcrumbProcess; + }).then(function (item) { + dispatch(setBreadcrumb(item.reverse())); + }).catch(function () { + dispatch(setBreadcrumb([])); + }); + }; + } + + //END OF THUNK ACTIONS + + // UTILITIES + + function flattenLastElem(node) { + var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'children'; + + var result = []; + + if (node[prop]) { + node[prop].map(function (child) { + var flat = flattenLastElem(child); + + if ((typeof flat === 'undefined' ? 'undefined' : _typeof(flat)) === 'object') { + result = result.concat(flat); + } else { + result.push(flattenLastElem(child)); + } + }); + return result; + } else { + return [node]; + } + } + + function flattenOneLine(node) { + var result = []; + if (node.children) { + flattenOneLine(node.children[0]).map(function (item) { + result.push(item); + }); + } + result.push({ + nodeId: node.nodeId, + caption: node.caption + }); + return result; + } + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(setBreadcrumb, 'setBreadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(pathRequest, 'pathRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(nodePathsRequest, 'nodePathsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(elementPathRequest, 'elementPathRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(queryPathsRequest, 'queryPathsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(rootRequest, 'rootRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(getRootBreadcrumb, 'getRootBreadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(getWindowBreadcrumb, 'getWindowBreadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(flattenLastElem, 'flattenLastElem', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + + __REACT_HOT_LOADER__.register(flattenOneLine, 'flattenOneLine', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/MenuActions.js'); + }(); + + ; + +/***/ }, +/* 489 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.initLayout = initLayout; + exports.getData = getData; + exports.createInstance = createInstance; + exports.patchRequest = patchRequest; + exports.getDataByIds = getDataByIds; + exports.completeRequest = completeRequest; + exports.autocompleteRequest = autocompleteRequest; + exports.dropdownRequest = dropdownRequest; + exports.deleteRequest = deleteRequest; + exports.actionsRequest = actionsRequest; + exports.referencesRequest = referencesRequest; + exports.attachmentsRequest = attachmentsRequest; + exports.processNewRecord = processNewRecord; + exports.openFile = openFile; + + var _axios = __webpack_require__(201); + + var _axios2 = _interopRequireDefault(_axios); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + // IMPORTANT GENERIC METHODS TO HANDLE LAYOUTS, DATA, COMMITS + + function initLayout(entity, docType, tabId) { + var subentity = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null; + var docId = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null; + var isAdvanced = arguments[5]; + var list = arguments[6]; + var supportTree = arguments[7]; + + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (subentity ? '/' + subentity : '') + '/layout' + (isAdvanced ? '?advanced=true' : '') + (list ? '?viewType=' + list : '') + (supportTree ? '&supportTree=true' : '')); + }; + } + + function getData(entity, docType, docId, tabId, rowId, subentity, subentityId, isAdvanced) { + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + (isAdvanced ? '?advanced=true' : '')); + }; + } + + function createInstance(entity, docType, docId, tabId, subentity) { + return function () { + return _axios2.default.post(config.API_URL + '/' + entity + '/' + docType + '/' + docId + (tabId ? '/' + tabId : '') + (subentity ? '/' + subentity : '')); + }; + } + + function patchRequest(entity, docType) { + var docId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'NEW'; + var tabId = arguments[3]; + var rowId = arguments[4]; + var property = arguments[5]; + var value = arguments[6]; + var subentity = arguments[7]; + var subentityId = arguments[8]; + var isAdvanced = arguments[9]; + var viewId = arguments[10]; + + + var payload = []; + + if (docId === 'NEW') { + payload = []; + } else if (Array.isArray(property) && value !== undefined) { + property.map(function (item) { + payload.push({ + 'op': 'replace', + 'path': item.field, + 'value': value + }); + }); + } else if (property && value !== undefined) { + payload = [{ + 'op': 'replace', + 'path': property, + 'value': value + }]; + } else { + payload = []; + } + + return function () { + return _axios2.default.patch(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + (isAdvanced ? '?advanced=true' : ''), payload); + }; + } + + function getDataByIds(entity, docType, viewId, docIds) { + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + '/byIds' + '?ids=' + docIds); + }; + } + + function completeRequest(entity, docType, docId, tabId, rowId, subentity, subentityId) { + return function () { + return _axios2.default.post(config.API_URL + '/' + entity + '/' + (docType ? '/' + docType : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + '/complete'); + }; + } + + function autocompleteRequest(docType, propertyName, query, docId, tabId, rowId, entity, subentity, subentityId, viewId) { + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + '/attribute/' + propertyName + '/typeahead' + '?query=' + encodeURIComponent(query)); + }; + } + + function dropdownRequest(docType, propertyName, docId, tabId, rowId, entity, subentity, subentityId, viewId) { + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (viewId ? '/' + viewId : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (rowId ? '/' + rowId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + '/attribute/' + propertyName + '/dropdown'); + }; + } + + function deleteRequest(entity, docType, docId, tabId, ids, subentity, subentityId) { + return function () { + return _axios2.default.delete(config.API_URL + '/' + entity + (docType ? '/' + docType : '') + (docId ? '/' + docId : '') + (tabId ? '/' + tabId : '') + (subentity ? '/' + subentity : '') + (subentityId ? '/' + subentityId : '') + (ids ? '?ids=' + ids : '')); + }; + } + + function actionsRequest(entity, type, id, selected) { + var query = ''; + var _iteratorNormalCompletion = true; + var _didIteratorError = false; + var _iteratorError = undefined; + + try { + for (var _iterator = selected[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { + var item = _step.value; + + query += ',' + item; + } + } catch (err) { + _didIteratorError = true; + _iteratorError = err; + } finally { + try { + if (!_iteratorNormalCompletion && _iterator.return) { + _iterator.return(); + } + } finally { + if (_didIteratorError) { + throw _iteratorError; + } + } + } + + query = query.substring(1); + + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + '/' + type + '/' + id + '/actions' + (selected.length > 0 && entity == 'documentView' ? '?selectedIds=' + query : '')); + }; + } + + function referencesRequest(entity, type, id) { + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + '/' + type + '/' + id + '/references'); + }; + } + + function attachmentsRequest(entity, docType, docId) { + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + '/' + docId + '/attachments'); + }; + } + + function processNewRecord(entity, docType, docId) { + return function () { + return _axios2.default.get(config.API_URL + '/' + entity + '/' + docType + '/' + docId + '/processNewRecord'); + }; + } + + function openFile(entity, docType, docId, fileType, fileId) { + return function () { + var url = config.API_URL + '/' + entity + '/' + docType + '/' + docId + '/' + fileType + '/' + fileId; + + window.open(url, '_blank'); + }; + } + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(initLayout, 'initLayout', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(getData, 'getData', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(createInstance, 'createInstance', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(patchRequest, 'patchRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(getDataByIds, 'getDataByIds', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(completeRequest, 'completeRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(autocompleteRequest, 'autocompleteRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(dropdownRequest, 'dropdownRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(deleteRequest, 'deleteRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(actionsRequest, 'actionsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(referencesRequest, 'referencesRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(attachmentsRequest, 'attachmentsRequest', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(processNewRecord, 'processNewRecord', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + + __REACT_HOT_LOADER__.register(openFile, 'openFile', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/actions/GenericActions.js'); + }(); + + ; + +/***/ }, +/* 490 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -59749,7 +56999,346 @@ ; /***/ }, -/* 505 */ +/* 491 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _WindowActions = __webpack_require__(487); + + var _RawWidget = __webpack_require__(492); + + var _RawWidget2 = _interopRequireDefault(_RawWidget); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var MasterWidget = function (_Component) { + _inherits(MasterWidget, _Component); + + function MasterWidget(props) { + _classCallCheck(this, MasterWidget); + + var _this = _possibleConstructorReturn(this, (MasterWidget.__proto__ || Object.getPrototypeOf(MasterWidget)).call(this, props)); + + _this.handlePatch = function () { + return _this.__handlePatch__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleChange = function () { + return _this.__handleChange__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.setEditedFlag = function () { + return _this.__setEditedFlag__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.validatePrecision = function () { + return _this.__validatePrecision__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleProcess = function () { + return _this.__handleProcess__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleZoomInto = function () { + return _this.__handleZoomInto__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + updated: false, + edited: false, + data: '' + }; + return _this; + } + + _createClass(MasterWidget, [{ + key: 'componentDidMount', + value: function componentDidMount() { + var widgetData = this.props.widgetData; + + this.setState({ + data: widgetData[0].value + }); + } + }, { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(nextProps) { + var _this2 = this; + + var widgetData = this.props.widgetData; + var edited = this.state.edited; + + + if (JSON.stringify(widgetData[0].value) !== JSON.stringify(nextProps.widgetData[0].value)) { + this.setState({ + data: nextProps.widgetData[0].value + }); + + if (!edited) { + this.setState({ + updated: true + }, function () { + _this2.timeout = setTimeout(function () { + _this2.setState({ + updated: false + }); + }, 1000); + }); + } else { + this.setState({ + edited: false + }); + } + } + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + clearTimeout(this.timeout); + } + }, { + key: '__handlePatch__REACT_HOT_LOADER__', + + + // + // This method may looks like a redundant for this one above, + // but is need to handle controlled components if + // they patch on other event than onchange + // + value: function __handlePatch__REACT_HOT_LOADER__(property, value) { + var _props = this.props, + isModal = _props.isModal, + widgetType = _props.widgetType, + dataId = _props.dataId, + windowType = _props.windowType, + dispatch = _props.dispatch, + rowId = _props.rowId, + tabId = _props.tabId, + onChange = _props.onChange, + relativeDocId = _props.relativeDocId, + _props$isAdvanced = _props.isAdvanced, + isAdvanced = _props$isAdvanced === undefined ? false : _props$isAdvanced, + entity = _props.entity; + + + var currRowId = rowId; + var ret = null; + + if (rowId === 'NEW') { + currRowId = relativeDocId; + } + + if (widgetType !== 'Button') { + dispatch((0, _WindowActions.updatePropertyValue)(property, value, tabId, currRowId, isModal)); + } + + ret = dispatch((0, _WindowActions.patch)(entity, windowType, dataId, tabId, currRowId, property, value, isModal, isAdvanced)); + + //callback + if (onChange) { + onChange(); + } + + return ret; + } + }, { + key: '__handleChange__REACT_HOT_LOADER__', + value: function __handleChange__REACT_HOT_LOADER__(property, val) { + var _this3 = this; + + var _props2 = this.props, + dispatch = _props2.dispatch, + tabId = _props2.tabId, + rowId = _props2.rowId, + isModal = _props2.isModal, + relativeDocId = _props2.relativeDocId, + widgetType = _props2.widgetType; + + + var currRowId = rowId; + + var dateParse = ['Date', 'DateTime', 'Time']; + + this.setState({ + edited: true, + data: val + }, function () { + if (dateParse.indexOf(widgetType) === -1 && !_this3.validatePrecision(val)) { + return; + } + if (rowId === 'NEW') { + currRowId = relativeDocId; + } + dispatch((0, _WindowActions.updatePropertyValue)(property, val, tabId, currRowId, isModal)); + }); + } + }, { + key: '__setEditedFlag__REACT_HOT_LOADER__', + value: function __setEditedFlag__REACT_HOT_LOADER__(edited) { + this.setState({ + edited: edited + }); + } + }, { + key: '__validatePrecision__REACT_HOT_LOADER__', + value: function __validatePrecision__REACT_HOT_LOADER__(value) { + var _props3 = this.props, + widgetType = _props3.widgetType, + precision = _props3.precision; + + var precisionProcessed = precision; + + if (widgetType === 'Integer' || widgetType === 'Quantity') { + precisionProcessed = 0; + } + + if (precisionProcessed < (value.split('.')[1] || []).length) { + return false; + } else { + return true; + } + } + }, { + key: '__handleProcess__REACT_HOT_LOADER__', + value: function __handleProcess__REACT_HOT_LOADER__(caption, buttonProcessId, tabId, rowId) { + var dispatch = this.props.dispatch; + + + dispatch((0, _WindowActions.openModal)(caption, buttonProcessId, 'process', tabId, rowId, false, false)); + } + }, { + key: '__handleZoomInto__REACT_HOT_LOADER__', + value: function __handleZoomInto__REACT_HOT_LOADER__(field) { + var _props4 = this.props, + dispatch = _props4.dispatch, + dataId = _props4.dataId, + windowType = _props4.windowType, + tabId = _props4.tabId, + rowId = _props4.rowId; + + dispatch((0, _WindowActions.getZoomIntoWindow)(windowType, dataId, field, tabId, rowId)).then(function (res) { + res && res.data && window.open('/window/' + res.data.documentPath.windowId + '/' + res.data.documentPath.documentId, '_blank'); + }); + } + }, { + key: 'render', + value: function render() { + var _props5 = this.props, + caption = _props5.caption, + widgetType = _props5.widgetType, + fields = _props5.fields, + windowType = _props5.windowType, + type = _props5.type, + noLabel = _props5.noLabel, + widgetData = _props5.widgetData, + dataId = _props5.dataId, + rowId = _props5.rowId, + tabId = _props5.tabId, + icon = _props5.icon, + gridAlign = _props5.gridAlign, + isModal = _props5.isModal, + entity = _props5.entity, + handleBackdropLock = _props5.handleBackdropLock, + tabIndex = _props5.tabIndex, + dropdownOpenCallback = _props5.dropdownOpenCallback, + autoFocus = _props5.autoFocus, + fullScreen = _props5.fullScreen, + disabled = _props5.disabled, + buttonProcessId = _props5.buttonProcessId, + listenOnKeys = _props5.listenOnKeys, + listenOnKeysFalse = _props5.listenOnKeysFalse, + closeTableField = _props5.closeTableField; + var _state = this.state, + updated = _state.updated, + data = _state.data; + + + return _react2.default.createElement(_RawWidget2.default, { + entity: entity, + widgetType: widgetType, + fields: fields, + windowType: windowType, + dataId: dataId, + widgetData: widgetData, + rowId: rowId, + tabId: tabId, + icon: icon, + gridAlign: gridAlign, + handlePatch: this.handlePatch, + handleChange: this.handleChange, + handleProcess: this.handleProcess, + updated: updated, + isModal: isModal, + setEditedFlag: this.setEditedFlag, + noLabel: noLabel, + type: type, + caption: caption, + handleBackdropLock: handleBackdropLock, + tabIndex: tabIndex, + dropdownOpenCallback: dropdownOpenCallback, + autoFocus: autoFocus, + fullScreen: fullScreen, + disabled: disabled, + buttonProcessId: buttonProcessId, + listenOnKeys: listenOnKeys, + listenOnKeysFalse: listenOnKeysFalse, + closeTableField: closeTableField, + inputValue: data, + handleZoomInto: this.handleZoomInto + }); + } + }]); + + return MasterWidget; + }(_react.Component); + + MasterWidget.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + MasterWidget = (0, _reactRedux.connect)()(MasterWidget); + + var _default = MasterWidget; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(MasterWidget, 'MasterWidget', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/MasterWidget.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/widget/MasterWidget.js'); + }(); + + ; + +/***/ }, +/* 492 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -59774,39 +57363,39 @@ var _reactAddonsCssTransitionGroup2 = _interopRequireDefault(_reactAddonsCssTransitionGroup); - var _DatePicker = __webpack_require__(506); + var _DatePicker = __webpack_require__(493); var _DatePicker2 = _interopRequireDefault(_DatePicker); - var _Attributes = __webpack_require__(514); + var _Attributes = __webpack_require__(501); var _Attributes2 = _interopRequireDefault(_Attributes); - var _Lookup = __webpack_require__(516); + var _Lookup = __webpack_require__(504); var _Lookup2 = _interopRequireDefault(_Lookup); - var _DatetimeRange = __webpack_require__(518); + var _DatetimeRange = __webpack_require__(506); var _DatetimeRange2 = _interopRequireDefault(_DatetimeRange); - var _List = __webpack_require__(523); + var _List = __webpack_require__(511); var _List2 = _interopRequireDefault(_List); - var _ActionButton = __webpack_require__(524); + var _ActionButton = __webpack_require__(512); var _ActionButton2 = _interopRequireDefault(_ActionButton); - var _Image = __webpack_require__(567); + var _Image = __webpack_require__(555); var _Image2 = _interopRequireDefault(_Image); - var _DevicesWidget = __webpack_require__(568); + var _DevicesWidget = __webpack_require__(556); var _DevicesWidget2 = _interopRequireDefault(_DevicesWidget); - var _Constants = __webpack_require__(570); + var _Constants = __webpack_require__(558); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -59871,12 +57460,18 @@ _createClass(RawWidget, [{ key: 'componentDidMount', value: function componentDidMount() { - var autoFocus = this.props.autoFocus; + var _props = this.props, + autoFocus = _props.autoFocus, + textSelected = _props.textSelected; if (this.rawWidget && autoFocus) { this.rawWidget.focus(); } + + if (textSelected) { + this.rawWidget.select(); + } } }, { key: '__handleFocus__REACT_HOT_LOADER__', @@ -59933,14 +57528,14 @@ }, { key: '__handleProcess__REACT_HOT_LOADER__', value: function __handleProcess__REACT_HOT_LOADER__() { - var _props = this.props, - handleProcess = _props.handleProcess, - buttonProcessId = _props.buttonProcessId, - tabId = _props.tabId, - rowId = _props.rowId, - dataId = _props.dataId, - windowType = _props.windowType, - caption = _props.caption; + var _props2 = this.props, + handleProcess = _props2.handleProcess, + buttonProcessId = _props2.buttonProcessId, + tabId = _props2.tabId, + rowId = _props2.rowId, + dataId = _props2.dataId, + windowType = _props2.windowType, + caption = _props2.caption; handleProcess && handleProcess(caption, buttonProcessId, tabId, rowId, dataId, windowType); @@ -59955,18 +57550,18 @@ }, { key: '__getClassnames__REACT_HOT_LOADER__', value: function __getClassnames__REACT_HOT_LOADER__(icon) { - var _props2 = this.props, - widgetData = _props2.widgetData, - disabled = _props2.disabled, - gridAlign = _props2.gridAlign, - type = _props2.type, - updated = _props2.updated, - rowId = _props2.rowId, - isModal = _props2.isModal; + var _props3 = this.props, + widgetData = _props3.widgetData, + disabled = _props3.disabled, + gridAlign = _props3.gridAlign, + type = _props3.type, + updated = _props3.updated, + rowId = _props3.rowId, + isModal = _props3.isModal; var isEdited = this.state.isEdited; - return 'input-block ' + (icon ? 'input-icon-container ' : '') + (widgetData[0].readonly || disabled ? 'input-disabled ' : '') + (widgetData[0].mandatory && (widgetData[0].value && widgetData[0].value.length === 0 || !widgetData[0].value) ? 'input-mandatory ' : '') + (widgetData[0].validStatus && !widgetData[0].validStatus.valid && !widgetData[0].validStatus.initialValue && !isEdited ? 'input-error ' : '') + (gridAlign ? 'text-xs-' + gridAlign + ' ' : '') + (type === 'primary' ? 'input-primary ' : 'input-secondary ') + (updated ? 'pulse-on ' : 'pulse-off ') + (rowId && !isModal ? 'input-table ' : ''); + return 'input-block ' + (icon ? 'input-icon-container ' : '') + (widgetData[0].readonly || disabled ? 'input-disabled ' : '') + (widgetData[0].mandatory && (widgetData[0].value && widgetData[0].value.length === 0 || !widgetData[0].value && widgetData[0].value !== 0) ? 'input-mandatory ' : '') + (widgetData[0].validStatus && !widgetData[0].validStatus.valid && !widgetData[0].validStatus.initialValue && !isEdited ? 'input-error ' : '') + (gridAlign ? 'text-xs-' + gridAlign + ' ' : '') + (type === 'primary' ? 'input-primary ' : 'input-secondary ') + (updated ? 'pulse-on ' : 'pulse-off ') + (rowId && !isModal ? 'input-table ' : ''); } }, { key: '__renderErrorPopup__REACT_HOT_LOADER__', @@ -59982,42 +57577,42 @@ value: function __renderWidget__REACT_HOT_LOADER__() { var _this2 = this; - var _props3 = this.props, - handleChange = _props3.handleChange, - updated = _props3.updated, - isModal = _props3.isModal, - filterWidget = _props3.filterWidget, - filterId = _props3.filterId, - id = _props3.id, - range = _props3.range, - onHide = _props3.onHide, - handleBackdropLock = _props3.handleBackdropLock, - subentity = _props3.subentity, - subentityId = _props3.subentityId, - tabIndex = _props3.tabIndex, - dropdownOpenCallback = _props3.dropdownOpenCallback, - autoFocus = _props3.autoFocus, - fullScreen = _props3.fullScreen, - widgetType = _props3.widgetType, - fields = _props3.fields, - windowType = _props3.windowType, - dataId = _props3.dataId, - type = _props3.type, - widgetData = _props3.widgetData, - rowId = _props3.rowId, - tabId = _props3.tabId, - icon = _props3.icon, - gridAlign = _props3.gridAlign, - entity = _props3.entity, - onShow = _props3.onShow, - disabled = _props3.disabled, - caption = _props3.caption, - viewId = _props3.viewId, - inputValue = _props3.inputValue, - listenOnKeys = _props3.listenOnKeys, - listenOnKeysFalse = _props3.listenOnKeysFalse, - closeTableField = _props3.closeTableField, - handleZoomInto = _props3.handleZoomInto; + var _props4 = this.props, + handleChange = _props4.handleChange, + updated = _props4.updated, + isModal = _props4.isModal, + filterWidget = _props4.filterWidget, + filterId = _props4.filterId, + id = _props4.id, + range = _props4.range, + onHide = _props4.onHide, + handleBackdropLock = _props4.handleBackdropLock, + subentity = _props4.subentity, + subentityId = _props4.subentityId, + tabIndex = _props4.tabIndex, + dropdownOpenCallback = _props4.dropdownOpenCallback, + autoFocus = _props4.autoFocus, + fullScreen = _props4.fullScreen, + widgetType = _props4.widgetType, + fields = _props4.fields, + windowType = _props4.windowType, + dataId = _props4.dataId, + type = _props4.type, + widgetData = _props4.widgetData, + rowId = _props4.rowId, + tabId = _props4.tabId, + icon = _props4.icon, + gridAlign = _props4.gridAlign, + entity = _props4.entity, + onShow = _props4.onShow, + disabled = _props4.disabled, + caption = _props4.caption, + viewId = _props4.viewId, + inputValue = _props4.inputValue, + listenOnKeys = _props4.listenOnKeys, + listenOnKeysFalse = _props4.listenOnKeysFalse, + closeTableField = _props4.closeTableField, + handleZoomInto = _props4.handleZoomInto; var isEdited = this.state.isEdited; // check if it's value from MasterWidget or not @@ -60469,17 +58064,17 @@ value: function render() { var _this3 = this; - var _props4 = this.props, - caption = _props4.caption, - fields = _props4.fields, - type = _props4.type, - noLabel = _props4.noLabel, - widgetData = _props4.widgetData, - rowId = _props4.rowId, - isModal = _props4.isModal, - handlePatch = _props4.handlePatch, - widgetType = _props4.widgetType, - handleZoomInto = _props4.handleZoomInto; + var _props5 = this.props, + caption = _props5.caption, + fields = _props5.fields, + type = _props5.type, + noLabel = _props5.noLabel, + widgetData = _props5.widgetData, + rowId = _props5.rowId, + isModal = _props5.isModal, + handlePatch = _props5.handlePatch, + widgetType = _props5.widgetType, + handleZoomInto = _props5.handleZoomInto; var errorPopup = this.state.errorPopup; var widgetBody = this.renderWidget(); @@ -60509,7 +58104,7 @@ 'div', { key: 'title', - className: 'form-control-label ' + (type === 'primary' && !oneLineException ? 'col-sm-12 panel-title' : 'col-sm-3'), + className: 'form-control-label ' + (type === 'primary' && !oneLineException ? 'col-sm-12 panel-title' : type === 'primaryLongLabels' ? 'col-sm-6' : 'col-sm-3 '), title: caption }, fields[0].supportZoomInto ? _react2.default.createElement( @@ -60525,7 +58120,7 @@ _react2.default.createElement( 'div', { - className: ((type === 'primary' || noLabel) && !oneLineException ? 'col-sm-12 ' : 'col-sm-9 ') + (fields[0].devices ? 'form-group-flex ' : ''), + className: ((type === 'primary' || noLabel) && !oneLineException ? 'col-sm-12 ' : type === 'primaryLongLabels' ? 'col-sm-6' : 'col-sm-9 ') + (fields[0].devices ? 'form-group-flex ' : ''), onMouseEnter: function onMouseEnter() { return _this3.handleErrorPopup(true); }, @@ -60579,7 +58174,7 @@ ; /***/ }, -/* 506 */ +/* 493 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -60596,7 +58191,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatetime = __webpack_require__(507); + var _reactDatetime = __webpack_require__(494); var _reactDatetime2 = _interopRequireDefault(_reactDatetime); @@ -60736,24 +58331,24 @@ ; /***/ }, -/* 507 */ +/* 494 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; - var assign = __webpack_require__(508), + var assign = __webpack_require__(495), React = __webpack_require__(2), - DaysView = __webpack_require__(509), - MonthsView = __webpack_require__(510), - YearsView = __webpack_require__(511), - TimeView = __webpack_require__(512), + DaysView = __webpack_require__(496), + MonthsView = __webpack_require__(497), + YearsView = __webpack_require__(498), + TimeView = __webpack_require__(499), moment = __webpack_require__(310) ; var TYPES = React.PropTypes; var Datetime = React.createClass({ mixins: [ - __webpack_require__(513) + __webpack_require__(500) ], viewComponents: { days: DaysView, @@ -61154,7 +58749,7 @@ /***/ }, -/* 508 */ +/* 495 */ /***/ function(module, exports) { 'use strict'; @@ -61199,7 +58794,7 @@ /***/ }, -/* 509 */ +/* 496 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -61341,7 +58936,7 @@ /***/ }, -/* 510 */ +/* 497 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -61438,7 +59033,7 @@ /***/ }, -/* 511 */ +/* 498 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -61530,13 +59125,13 @@ /***/ }, -/* 512 */ +/* 499 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; var React = __webpack_require__(2), - assign = __webpack_require__(508); + assign = __webpack_require__(495); var DOM = React.DOM; var DateTimePickerTime = React.createClass({ @@ -61740,7 +59335,7 @@ /***/ }, -/* 513 */ +/* 500 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -61849,7 +59444,7 @@ /***/ }, -/* 514 */ +/* 501 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -61870,13 +59465,13 @@ var _reactRedux = __webpack_require__(171); - var _AttributesDropdown = __webpack_require__(515); + var _AttributesDropdown = __webpack_require__(502); var _AttributesDropdown2 = _interopRequireDefault(_AttributesDropdown); var _AppActions = __webpack_require__(421); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); var _GenericActions = __webpack_require__(489); @@ -62161,7 +59756,7 @@ ; /***/ }, -/* 515 */ +/* 502 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -62182,15 +59777,15 @@ var _reactRedux = __webpack_require__(171); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _RawWidget = __webpack_require__(505); + var _RawWidget = __webpack_require__(492); var _RawWidget2 = _interopRequireDefault(_RawWidget); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -62394,7 +59989,242 @@ ; /***/ }, -/* 516 */ +/* 503 */ +/***/ function(module, exports, __webpack_require__) { + + var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** + * A higher-order-component for handling onClickOutside for React components. + */ + (function(root) { + "use strict"; + + // administrative + var registeredComponents = []; + var handlers = []; + var IGNORE_CLASS = 'ignore-react-onclickoutside'; + var DEFAULT_EVENTS = ['mousedown', 'touchstart']; + + /** + * Check whether some DOM node is our Component's node. + */ + var isNodeFound = function(current, componentNode, ignoreClass) { + if (current === componentNode) { + return true; + } + // SVG elements do not technically reside in the rendered DOM, so + // they do not have classList directly, but they offer a link to their + // corresponding element, which can have classList. This extra check is for + // that case. + // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement + // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17 + if (current.correspondingElement) { + return current.correspondingElement.classList.contains(ignoreClass); + } + return current.classList.contains(ignoreClass); + }; + + /** + * Generate the event handler that checks whether a clicked DOM node + * is inside of, or lives outside of, our Component's node tree. + */ + var generateOutsideCheck = function(componentNode, componentInstance, ignoreClass, preventDefault, stopPropagation) { + return function(evt) { + if (preventDefault) { + evt.preventDefault(); + } + if (stopPropagation) { + evt.stopPropagation(); + } + var current = evt.target; + var found = false; + // If source=local then this event came from "somewhere" + // inside and should be ignored. We could handle this with + // a layered approach, too, but that requires going back to + // thinking in terms of Dom node nesting, running counter + // to React's "you shouldn't care about the DOM" philosophy. + while(current.parentNode) { + found = isNodeFound(current, componentNode, ignoreClass); + if(found) return; + current = current.parentNode; + } + // If element is in a detached DOM, consider it "not clicked + // outside", as it cannot be known whether it was outside. + if(current !== document) return; + componentInstance.handleClickOutside.bind(componentInstance, evt)(); + } + }; + + + /** + * This function generates the HOC function that you'll use + * in order to impart onOutsideClick listening to an + * arbitrary component. + */ + function setupHOC(root, React, ReactDOM) { + + // The actual Component-wrapping HOC: + return function(Component) { + var wrapComponentWithOnClickOutsideHandling = React.createClass({ + statics: { + /** + * Access the wrapped Component's class. + */ + getClass: function() { + if (Component.getClass) { + return Component.getClass(); + } + return Component; + } + }, + + /** + * Access the wrapped Component's instance. + */ + getInstance: function() { + return this.refs.instance; + }, + + // this is given meaning in componentDidMount + __outsideClickHandler: function(evt) {}, + + /** + * Add click listeners to the current document, + * linked to this component's state. + */ + componentDidMount: function() { + var instance = this.getInstance(); + + if(typeof instance.handleClickOutside !== "function") { + throw new Error("Component lacks a handleClickOutside(event) function for processing outside click events."); + } + + var fn = this.__outsideClickHandler = generateOutsideCheck( + ReactDOM.findDOMNode(instance), + instance, + this.props.outsideClickIgnoreClass || IGNORE_CLASS, + this.props.preventDefault || false, + this.props.stopPropagation || false + ); + + var pos = registeredComponents.length; + registeredComponents.push(this); + handlers[pos] = fn; + + // If there is a truthy disableOnClickOutside property for this + // component, don't immediately start listening for outside events. + if (!this.props.disableOnClickOutside) { + this.enableOnClickOutside(); + } + }, + + /** + * Track for disableOnClickOutside props changes and enable/disable click outside + */ + componentWillReceiveProps: function(nextProps) { + if (this.props.disableOnClickOutside && !nextProps.disableOnClickOutside) { + this.enableOnClickOutside(); + } else if (!this.props.disableOnClickOutside && nextProps.disableOnClickOutside) { + this.disableOnClickOutside(); + } + }, + + /** + * Remove the document's event listeners + */ + componentWillUnmount: function() { + this.disableOnClickOutside(); + this.__outsideClickHandler = false; + var pos = registeredComponents.indexOf(this); + if( pos>-1) { + // clean up so we don't leak memory + if (handlers[pos]) { handlers.splice(pos, 1); } + registeredComponents.splice(pos, 1); + } + }, + + /** + * Can be called to explicitly enable event listening + * for clicks and touches outside of this element. + */ + enableOnClickOutside: function() { + var fn = this.__outsideClickHandler; + if (typeof document !== "undefined") { + var events = this.props.eventTypes || DEFAULT_EVENTS; + if (!events.forEach) { events = [events] }; + events.forEach(function (eventName) { + document.addEventListener(eventName, fn); + }); + } + }, + + /** + * Can be called to explicitly disable event listening + * for clicks and touches outside of this element. + */ + disableOnClickOutside: function() { + var fn = this.__outsideClickHandler; + if (typeof document !== "undefined") { + var events = this.props.eventTypes || DEFAULT_EVENTS; + if (!events.forEach) { events = [events] }; + events.forEach(function (eventName) { + document.removeEventListener(eventName, fn); + }); + } + }, + + /** + * Pass-through render + */ + render: function() { + var passedProps = this.props; + var props = { ref: 'instance' }; + Object.keys(this.props).forEach(function(key) { + props[key] = passedProps[key]; + }); + return React.createElement(Component, props); + } + }); + + // Add display name for React devtools + (function bindWrappedComponentName(c, wrapper) { + var componentName = c.displayName || c.name || 'Component' + wrapper.displayName = 'OnClickOutside(' + componentName + ')'; + }(Component, wrapComponentWithOnClickOutsideHandling)); + + return wrapComponentWithOnClickOutsideHandling; + }; + } + + /** + * This function sets up the library in ways that + * work with the various modulde loading solutions + * used in JavaScript land today. + */ + function setupBinding(root, factory) { + if (true) { + // AMD. Register as an anonymous module. + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2),__webpack_require__(32)], __WEBPACK_AMD_DEFINE_RESULT__ = function(React, ReactDom) { + return factory(root, React, ReactDom); + }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else if (typeof exports === 'object') { + // Node. Note that this does not work with strict + // CommonJS, but only CommonJS-like environments + // that support module.exports + module.exports = factory(root, require('react'), require('react-dom')); + } else { + // Browser globals (root is window) + root.onClickOutside = factory(root, React, ReactDOM); + } + } + + // Make it all happen + setupBinding(root, setupHOC); + + }(this)); + + +/***/ }, +/* 504 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -62421,9 +60251,9 @@ var _GenericActions = __webpack_require__(489); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); - var _LookupList = __webpack_require__(517); + var _LookupList = __webpack_require__(505); var _LookupList2 = _interopRequireDefault(_LookupList); @@ -63050,7 +60880,7 @@ ; /***/ }, -/* 517 */ +/* 505 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -63071,7 +60901,7 @@ var _reactRedux = __webpack_require__(171); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); @@ -63317,7 +61147,7 @@ ; /***/ }, -/* 518 */ +/* 506 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -63332,7 +61162,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactBootstrapDaterangepicker = __webpack_require__(519); + var _reactBootstrapDaterangepicker = __webpack_require__(507); var _reactBootstrapDaterangepicker2 = _interopRequireDefault(_reactBootstrapDaterangepicker); @@ -63475,7 +61305,7 @@ ; /***/ }, -/* 519 */ +/* 507 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -63486,10 +61316,10 @@ * Original copyright in: ./lib/daterangepicker.js */ var React = __webpack_require__(2); - var $ = __webpack_require__(520); + var $ = __webpack_require__(508); var objectAssign = __webpack_require__(4); - var DateRangePicker = __webpack_require__(521); - var getOptions = __webpack_require__(522); + var DateRangePicker = __webpack_require__(509); + var getOptions = __webpack_require__(510); /* this is our export React class */ module.exports = React.createClass({ @@ -63634,7 +61464,7 @@ /***/ }, -/* 520 */ +/* 508 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -73893,7 +71723,7 @@ /***/ }, -/* 521 */ +/* 509 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** @@ -73907,7 +71737,7 @@ (function (root, factory) { if (true) { // AMD. Make globaly available as well - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(310), __webpack_require__(520)], __WEBPACK_AMD_DEFINE_RESULT__ = function (moment, jquery) { + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(310), __webpack_require__(508)], __WEBPACK_AMD_DEFINE_RESULT__ = function (moment, jquery) { return (root.daterangepicker = factory(moment, jquery)); }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else if (typeof module === 'object' && module.exports) { @@ -75525,7 +73355,7 @@ /***/ }, -/* 522 */ +/* 510 */ /***/ function(module, exports) { "use strict"; @@ -75566,7 +73396,7 @@ }; /***/ }, -/* 523 */ +/* 511 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -75731,7 +73561,7 @@ ; /***/ }, -/* 524 */ +/* 512 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -75754,7 +73584,7 @@ var _GenericActions = __webpack_require__(489); - var _DocumentStatusContextShortcuts = __webpack_require__(525); + var _DocumentStatusContextShortcuts = __webpack_require__(513); var _DocumentStatusContextShortcuts2 = _interopRequireDefault(_DocumentStatusContextShortcuts); @@ -76037,7 +73867,7 @@ ; /***/ }, -/* 525 */ +/* 513 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -76052,7 +73882,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactShortcuts = __webpack_require__(526); + var _reactShortcuts = __webpack_require__(514); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -76130,18 +73960,18 @@ ; /***/ }, -/* 526 */ +/* 514 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; module.exports = { - ShortcutManager: __webpack_require__(527), - Shortcuts: __webpack_require__(532) + ShortcutManager: __webpack_require__(515), + Shortcuts: __webpack_require__(520) }; /***/ }, -/* 527 */ +/* 515 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {'use strict'; @@ -76152,7 +73982,7 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - var _lodash = __webpack_require__(528); + var _lodash = __webpack_require__(516); var _lodash2 = _interopRequireDefault(_lodash); @@ -76160,9 +73990,9 @@ var _invariant2 = _interopRequireDefault(_invariant); - var _events = __webpack_require__(529); + var _events = __webpack_require__(517); - var _helpers = __webpack_require__(530); + var _helpers = __webpack_require__(518); var _helpers2 = _interopRequireDefault(_helpers); @@ -76316,7 +74146,7 @@ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(113))) /***/ }, -/* 528 */ +/* 516 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(global, module) {/** @@ -93407,7 +91237,7 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(311)(module))) /***/ }, -/* 529 */ +/* 517 */ /***/ function(module, exports) { // Copyright Joyent, Inc. and other Node contributors. @@ -93715,7 +91545,7 @@ /***/ }, -/* 530 */ +/* 518 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -93724,7 +91554,7 @@ value: true }); - var _platform = __webpack_require__(531); + var _platform = __webpack_require__(519); var _platform2 = _interopRequireDefault(_platform); @@ -93760,7 +91590,7 @@ module.exports = exports['default']; /***/ }, -/* 531 */ +/* 519 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/*! @@ -94984,15 +92814,15 @@ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(311)(module), (function() { return this; }()))) /***/ }, -/* 532 */ +/* 520 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; - module.exports = __webpack_require__(533); + module.exports = __webpack_require__(521); /***/ }, -/* 533 */ +/* 521 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -95011,11 +92841,11 @@ var _invariant2 = _interopRequireDefault(_invariant); - var _combokeys = __webpack_require__(534); + var _combokeys = __webpack_require__(522); var _combokeys2 = _interopRequireDefault(_combokeys); - var _helpers = __webpack_require__(530); + var _helpers = __webpack_require__(518); var _helpers2 = _interopRequireDefault(_helpers); @@ -95233,7 +93063,7 @@ module.exports = exports['default']; /***/ }, -/* 534 */ +/* 522 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -95302,27 +93132,27 @@ return self } - module.exports.prototype.bind = __webpack_require__(535) - module.exports.prototype.bindMultiple = __webpack_require__(536) - module.exports.prototype.unbind = __webpack_require__(537) - module.exports.prototype.trigger = __webpack_require__(538) - module.exports.prototype.reset = __webpack_require__(539) - module.exports.prototype.stopCallback = __webpack_require__(540) - module.exports.prototype.handleKey = __webpack_require__(541) - module.exports.prototype.addEvents = __webpack_require__(543) - module.exports.prototype.bindSingle = __webpack_require__(550) - module.exports.prototype.getKeyInfo = __webpack_require__(551) - module.exports.prototype.pickBestAction = __webpack_require__(555) - module.exports.prototype.getReverseMap = __webpack_require__(556) - module.exports.prototype.getMatches = __webpack_require__(557) - module.exports.prototype.resetSequences = __webpack_require__(559) - module.exports.prototype.fireCallback = __webpack_require__(560) - module.exports.prototype.bindSequence = __webpack_require__(563) - module.exports.prototype.resetSequenceTimer = __webpack_require__(564) - module.exports.prototype.detach = __webpack_require__(565) + module.exports.prototype.bind = __webpack_require__(523) + module.exports.prototype.bindMultiple = __webpack_require__(524) + module.exports.prototype.unbind = __webpack_require__(525) + module.exports.prototype.trigger = __webpack_require__(526) + module.exports.prototype.reset = __webpack_require__(527) + module.exports.prototype.stopCallback = __webpack_require__(528) + module.exports.prototype.handleKey = __webpack_require__(529) + module.exports.prototype.addEvents = __webpack_require__(531) + module.exports.prototype.bindSingle = __webpack_require__(538) + module.exports.prototype.getKeyInfo = __webpack_require__(539) + module.exports.prototype.pickBestAction = __webpack_require__(543) + module.exports.prototype.getReverseMap = __webpack_require__(544) + module.exports.prototype.getMatches = __webpack_require__(545) + module.exports.prototype.resetSequences = __webpack_require__(547) + module.exports.prototype.fireCallback = __webpack_require__(548) + module.exports.prototype.bindSequence = __webpack_require__(551) + module.exports.prototype.resetSequenceTimer = __webpack_require__(552) + module.exports.prototype.detach = __webpack_require__(553) module.exports.instances = [] - module.exports.reset = __webpack_require__(566) + module.exports.reset = __webpack_require__(554) /** * variable to store the flipped version of MAP from above @@ -95335,7 +93165,7 @@ /***/ }, -/* 535 */ +/* 523 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95364,7 +93194,7 @@ /***/ }, -/* 536 */ +/* 524 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95388,7 +93218,7 @@ /***/ }, -/* 537 */ +/* 525 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95418,7 +93248,7 @@ /***/ }, -/* 538 */ +/* 526 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95440,7 +93270,7 @@ /***/ }, -/* 539 */ +/* 527 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95462,7 +93292,7 @@ /***/ }, -/* 540 */ +/* 528 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95489,7 +93319,7 @@ /***/ }, -/* 541 */ +/* 529 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -95578,7 +93408,7 @@ // we ignore keypresses in a sequence that directly follow a keydown // for the same character ignoreThisKeypress = e.type === 'keypress' && self.ignoreNextKeypress - isModifier = __webpack_require__(542) + isModifier = __webpack_require__(530) if (e.type === self.nextExpectedAction && !isModifier(character) && !ignoreThisKeypress) { self.resetSequences(doNotReset) } @@ -95588,7 +93418,7 @@ /***/ }, -/* 542 */ +/* 530 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95606,17 +93436,17 @@ /***/ }, -/* 543 */ +/* 531 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ 'use strict' module.exports = function () { var self = this - var on = __webpack_require__(544) + var on = __webpack_require__(532) var element = self.element - self.eventHandler = __webpack_require__(545).bind(self) + self.eventHandler = __webpack_require__(533).bind(self) on(element, 'keypress', self.eventHandler) on(element, 'keydown', self.eventHandler) @@ -95625,7 +93455,7 @@ /***/ }, -/* 544 */ +/* 532 */ /***/ function(module, exports) { module.exports = on @@ -95646,7 +93476,7 @@ /***/ }, -/* 545 */ +/* 533 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -95668,7 +93498,7 @@ if (typeof e.which !== 'number') { e.which = e.keyCode } - characterFromEvent = __webpack_require__(546) + characterFromEvent = __webpack_require__(534) var character = characterFromEvent(e) // no character found then stop @@ -95682,13 +93512,13 @@ return } - eventModifiers = __webpack_require__(549) + eventModifiers = __webpack_require__(537) self.handleKey(character, eventModifiers(e), e) } /***/ }, -/* 546 */ +/* 534 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -95703,8 +93533,8 @@ module.exports = function (e) { var SPECIAL_KEYS_MAP, SPECIAL_CHARACTERS_MAP - SPECIAL_KEYS_MAP = __webpack_require__(547) - SPECIAL_CHARACTERS_MAP = __webpack_require__(548) + SPECIAL_KEYS_MAP = __webpack_require__(535) + SPECIAL_CHARACTERS_MAP = __webpack_require__(536) // for keypress events we should return the character as is if (e.type === 'keypress') { @@ -95745,7 +93575,7 @@ /***/ }, -/* 547 */ +/* 535 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95803,7 +93633,7 @@ /***/ }, -/* 548 */ +/* 536 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95837,7 +93667,7 @@ /***/ }, -/* 549 */ +/* 537 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95873,7 +93703,7 @@ /***/ }, -/* 550 */ +/* 538 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -95935,7 +93765,7 @@ /***/ }, -/* 551 */ +/* 539 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -95959,14 +93789,14 @@ var SHIFT_MAP var isModifier - keysFromString = __webpack_require__(552) + keysFromString = __webpack_require__(540) // take the keys from this pattern and figure out what the actual // pattern is all about keys = keysFromString(combination) - SPECIAL_ALIASES = __webpack_require__(553) - SHIFT_MAP = __webpack_require__(554) - isModifier = __webpack_require__(542) + SPECIAL_ALIASES = __webpack_require__(541) + SHIFT_MAP = __webpack_require__(542) + isModifier = __webpack_require__(530) for (j = 0; j < keys.length; ++j) { key = keys[j] @@ -96002,7 +93832,7 @@ /***/ }, -/* 552 */ +/* 540 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96024,7 +93854,7 @@ /***/ }, -/* 553 */ +/* 541 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96045,7 +93875,7 @@ /***/ }, -/* 554 */ +/* 542 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96084,7 +93914,7 @@ /***/ }, -/* 555 */ +/* 543 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96117,7 +93947,7 @@ /***/ }, -/* 556 */ +/* 544 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -96136,7 +93966,7 @@ if (!constructor.REVERSE_MAP) { constructor.REVERSE_MAP = {} - SPECIAL_KEYS_MAP = __webpack_require__(547) + SPECIAL_KEYS_MAP = __webpack_require__(535) for (var key in SPECIAL_KEYS_MAP) { // pull out the numeric keypad from here cause keypress should // be able to detect the keys from the character @@ -96154,7 +93984,7 @@ /***/ }, -/* 557 */ +/* 545 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -96195,7 +94025,7 @@ if (!self.callbacks[character]) { return matches } - isModifier = __webpack_require__(542) + isModifier = __webpack_require__(530) // if a modifier key is coming up on its own we should allow it if (action === 'keyup' && isModifier(character)) { modifiers = [character] @@ -96225,7 +94055,7 @@ // chrome will not fire a keypress if meta or control is down // safari will fire a keypress if meta or meta+shift is down // firefox will fire a keypress if meta or control is down - modifiersMatch = __webpack_require__(558) + modifiersMatch = __webpack_require__(546) if ((action === 'keypress' && !e.metaKey && !e.ctrlKey) || modifiersMatch(modifiers, callback.modifiers)) { // when you bind a combination or sequence a second time it // should overwrite the first one. if a sequenceName or @@ -96247,7 +94077,7 @@ /***/ }, -/* 558 */ +/* 546 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96266,7 +94096,7 @@ /***/ }, -/* 559 */ +/* 547 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96301,7 +94131,7 @@ /***/ }, -/* 560 */ +/* 548 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -96328,16 +94158,16 @@ } if (callback(e, combo) === false) { - preventDefault = __webpack_require__(561) + preventDefault = __webpack_require__(549) preventDefault(e) - stopPropagation = __webpack_require__(562) + stopPropagation = __webpack_require__(550) stopPropagation(e) } } /***/ }, -/* 561 */ +/* 549 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96360,7 +94190,7 @@ /***/ }, -/* 562 */ +/* 550 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96383,7 +94213,7 @@ /***/ }, -/* 563 */ +/* 551 */ /***/ function(module, exports, __webpack_require__) { /* eslint-env node, browser */ @@ -96435,7 +94265,7 @@ // or keypress. this is so if you finish a sequence and // release the key the final key will not trigger a keyup if (action !== 'keyup') { - characterFromEvent = __webpack_require__(546) + characterFromEvent = __webpack_require__(534) self.ignoreNextKeyup = characterFromEvent(e) } @@ -96467,7 +94297,7 @@ /***/ }, -/* 564 */ +/* 552 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96494,10 +94324,10 @@ /***/ }, -/* 565 */ +/* 553 */ /***/ function(module, exports, __webpack_require__) { - var off = __webpack_require__(544).off + var off = __webpack_require__(532).off module.exports = function () { var self = this var element = self.element @@ -96509,7 +94339,7 @@ /***/ }, -/* 566 */ +/* 554 */ /***/ function(module, exports) { /* eslint-env node, browser */ @@ -96525,7 +94355,7 @@ /***/ }, -/* 567 */ +/* 555 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -96882,7 +94712,7 @@ ; /***/ }, -/* 568 */ +/* 556 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -96897,7 +94727,7 @@ var _react2 = _interopRequireDefault(_react); - var _Device = __webpack_require__(569); + var _Device = __webpack_require__(557); var _Device2 = _interopRequireDefault(_Device); @@ -96965,7 +94795,7 @@ ; /***/ }, -/* 569 */ +/* 557 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -97150,7 +94980,7 @@ ; /***/ }, -/* 570 */ +/* 558 */ /***/ function(module, exports) { 'use strict'; @@ -97172,250 +95002,7 @@ ; /***/ }, -/* 571 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _reactRedux = __webpack_require__(171); - - var _Attachments = __webpack_require__(572); - - var _Attachments2 = _interopRequireDefault(_Attachments); - - var _Referenced = __webpack_require__(573); - - var _Referenced2 = _interopRequireDefault(_Referenced); - - var _DocumentList = __webpack_require__(574); - - var _DocumentList2 = _interopRequireDefault(_DocumentList); - - var _reactOnclickoutside = __webpack_require__(486); - - var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - - var _Tooltips = __webpack_require__(501); - - var _Tooltips2 = _interopRequireDefault(_Tooltips); - - var _keymap = __webpack_require__(490); - - var _keymap2 = _interopRequireDefault(_keymap); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var SideList = function (_Component) { - _inherits(SideList, _Component); - - function SideList(props) { - _classCallCheck(this, SideList); - - var _this = _possibleConstructorReturn(this, (SideList.__proto__ || Object.getPrototypeOf(SideList)).call(this, props)); - - _this.handleClickOutside = function () { - return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.changeTab = function () { - return _this.__changeTab__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderBody = function () { - return _this.__renderBody__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.toggleTooltip = function () { - return _this.__toggleTooltip__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - var defaultTab = _this.props.defaultTab; - - - _this.state = { - tab: defaultTab ? defaultTab : 0, - tooltipOpen: false - }; - return _this; - } - - _createClass(SideList, [{ - key: '__handleClickOutside__REACT_HOT_LOADER__', - value: function __handleClickOutside__REACT_HOT_LOADER__() { - var closeSideList = this.props.closeSideList; - - closeSideList(); - } - }, { - key: '__changeTab__REACT_HOT_LOADER__', - value: function __changeTab__REACT_HOT_LOADER__(index) { - this.setState({ - tab: index - }); - } - }, { - key: '__renderBody__REACT_HOT_LOADER__', - value: function __renderBody__REACT_HOT_LOADER__() { - var _props = this.props, - windowType = _props.windowType, - closeOverlays = _props.closeOverlays, - closeSideList = _props.closeSideList, - isSideListShow = _props.isSideListShow, - docId = _props.docId, - pagination = _props.pagination, - sorting = _props.sorting, - viewId = _props.viewId; - var tab = this.state.tab; - - - switch (tab) { - case 0: - return _react2.default.createElement(_DocumentList2.default, _extends({ - type: 'list', - readonly: true, - defaultViewId: viewId && viewId.windowType === windowType ? viewId.id : null, - defaultSort: sorting && sorting.windowType === windowType ? sorting.sort : null, - defaultPage: pagination && pagination.windowType === windowType ? pagination.page : null, - selected: [docId], - disconnectFromState: true, - autofocus: true - }, { windowType: windowType, closeOverlays: closeOverlays, closeSideList: closeSideList, - isSideListShow: isSideListShow })); - case 1: - return _react2.default.createElement(_Referenced2.default, { windowType: windowType, docId: docId }); - case 2: - return _react2.default.createElement(_Attachments2.default, { windowType: windowType, docId: docId }); - } - } - }, { - key: '__toggleTooltip__REACT_HOT_LOADER__', - value: function __toggleTooltip__REACT_HOT_LOADER__(id) { - this.setState({ - tooltipOpen: id - }); - } - }, { - key: 'render', - value: function render() { - var _this2 = this; - - var _state = this.state, - tab = _state.tab, - tooltipOpen = _state.tooltipOpen; - - - var tabs = [{ icon: 'meta-icon-list', title: 'Document list' }, { icon: 'meta-icon-share', title: 'Referenced documents' }, { icon: 'meta-icon-attachments', title: 'Attachments' }]; - - return _react2.default.createElement( - 'div', - { - ref: function ref(c) { - return _this2.panel = c; - }, - className: 'order-list-panel overlay-shadow order-list-panel-open js-not-unselect' - }, - _react2.default.createElement( - 'div', - { className: 'order-list-panel-body' }, - _react2.default.createElement( - 'div', - { className: 'order-list-nav' }, - tabs.map(function (item, index) { - return _react2.default.createElement( - 'div', - { - key: index, - className: 'order-list-btn tooltip-parent ' + (index === tab ? 'active ' : ''), - onClick: function onClick() { - return _this2.changeTab(index); - }, - onMouseEnter: function onMouseEnter() { - return _this2.toggleTooltip(index); - }, - onMouseLeave: function onMouseLeave() { - return _this2.toggleTooltip(); - }, - tabIndex: 0 - }, - _react2.default.createElement('i', { className: item.icon }), - tooltipOpen === index && _react2.default.createElement(_Tooltips2.default, { - name: _keymap2.default.GLOBAL_CONTEXT['OPEN_SIDEBAR_MENU_' + index], - action: item.title, - type: '' - }) - ); - }) - ), - _react2.default.createElement( - 'div', - { className: 'order-list-body' }, - this.renderBody() - ) - ) - ); - } - }]); - - return SideList; - }(_react.Component); - - function mapStateToProps(state) { - var listHandler = state.listHandler; - - var _ref = listHandler || { - sorting: {}, - pagination: {}, - viewId: {} - }, - sorting = _ref.sorting, - pagination = _ref.pagination, - viewId = _ref.viewId; - - return { - sorting: sorting, pagination: pagination, viewId: viewId - }; - } - - SideList = (0, _reactRedux.connect)(mapStateToProps)((0, _reactOnclickoutside2.default)(SideList)); - - var _default = SideList; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(SideList, 'SideList', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SideList.js'); - - __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SideList.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SideList.js'); - }(); - - ; - -/***/ }, -/* 572 */ +/* 559 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -97430,17 +95017,9 @@ var _react2 = _interopRequireDefault(_react); - var _reactRedux = __webpack_require__(171); + var _Tab = __webpack_require__(560); - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _Loader = __webpack_require__(488); - - var _Loader2 = _interopRequireDefault(_Loader); - - var _GenericActions = __webpack_require__(489); + var _Tab2 = _interopRequireDefault(_Tab); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -97450,1378 +95029,127 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - var Attachments = function (_Component) { - _inherits(Attachments, _Component); + var Tabs = function (_Component) { + _inherits(Tabs, _Component); - function Attachments(props) { - _classCallCheck(this, Attachments); + function Tabs(props) { + _classCallCheck(this, Tabs); - var _this = _possibleConstructorReturn(this, (Attachments.__proto__ || Object.getPrototypeOf(Attachments)).call(this, props)); - - _this.componentDidMount = function () { - return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.toggleAttachmentDelete = function () { - return _this.__toggleAttachmentDelete__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleAttachmentClick = function () { - return _this.__handleAttachmentClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleAttachmentDelete = function () { - return _this.__handleAttachmentDelete__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleKeyDown = function () { - return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderData = function () { - return _this.__renderData__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - data: null, - attachmentHovered: null - }; - return _this; - } - - _createClass(Attachments, [{ - key: '__componentDidMount__REACT_HOT_LOADER__', - value: function __componentDidMount__REACT_HOT_LOADER__() { - var _this2 = this; - - var _props = this.props, - dispatch = _props.dispatch, - windowType = _props.windowType, - docId = _props.docId; - - - dispatch((0, _GenericActions.attachmentsRequest)('window', windowType, docId)).then(function (response) { - _this2.setState({ - data: response.data - }, function () { - _this2.attachments && _this2.attachments.focus(); - }); - }); - } - }, { - key: '__toggleAttachmentDelete__REACT_HOT_LOADER__', - value: function __toggleAttachmentDelete__REACT_HOT_LOADER__(value) { - this.setState({ - attachmentHovered: value - }); - } - }, { - key: '__handleAttachmentClick__REACT_HOT_LOADER__', - value: function __handleAttachmentClick__REACT_HOT_LOADER__(id) { - var _props2 = this.props, - dispatch = _props2.dispatch, - windowType = _props2.windowType, - docId = _props2.docId; - - dispatch((0, _GenericActions.openFile)('window', windowType, docId, 'attachments', id)); - } - }, { - key: '__handleAttachmentDelete__REACT_HOT_LOADER__', - value: function __handleAttachmentDelete__REACT_HOT_LOADER__(e, id) { - var _this3 = this; - - var _props3 = this.props, - dispatch = _props3.dispatch, - windowType = _props3.windowType, - docId = _props3.docId; - - e.stopPropagation(); - - dispatch((0, _GenericActions.deleteRequest)('window', windowType, docId, null, null, 'attachments', id)).then(function () { - return dispatch((0, _GenericActions.attachmentsRequest)('window', windowType, docId)); - }).then(function (response) { - _this3.setState({ - data: response.data - }); - }); - } - }, { - key: '__handleKeyDown__REACT_HOT_LOADER__', - value: function __handleKeyDown__REACT_HOT_LOADER__(e) { - var active = document.activeElement; - - var keyHandler = function keyHandler(e, dir) { - var sib = dir ? 'nextSibling' : 'previousSibling'; - e.preventDefault(); - if (active.classList.contains('js-subheader-item')) { - active[sib] && active[sib].focus(); - } else { - active.childNodes[0].focus(); - } - }; - - switch (e.key) { - case 'ArrowDown': - keyHandler(e, true); - break; - case 'ArrowUp': - keyHandler(e, false); - break; - case 'Enter': - e.preventDefault(); - document.activeElement.click(); - break; - } - } - }, { - key: '__renderData__REACT_HOT_LOADER__', - value: function __renderData__REACT_HOT_LOADER__() { - var _this4 = this; - - var _state = this.state, - data = _state.data, - attachmentHovered = _state.attachmentHovered; - - - return data && data.length ? data.map(function (item, key) { - return _react2.default.createElement( - 'div', - { - className: 'subheader-item subheader-item-ellipsis js-subheader-item', - key: key, - tabIndex: 0, - onMouseEnter: function onMouseEnter() { - return _this4.toggleAttachmentDelete(item.id); - }, - onMouseLeave: function onMouseLeave() { - return _this4.toggleAttachmentDelete(null); - }, - onClick: function onClick() { - return _this4.handleAttachmentClick(item.id); - } - }, - item.name, - attachmentHovered === item.id && _react2.default.createElement( - 'div', - { - className: 'subheader-additional-box', - onClick: function onClick(e) { - return _this4.handleAttachmentDelete(e, item.id); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-delete' }) - ) - ); - }) : _react2.default.createElement( - 'div', - { - className: 'subheader-item subheader-item-disabled' - }, - 'There is no attachment' - ); - } - }, { - key: 'render', - value: function render() { - var _this5 = this; - - var data = this.state.data; - - return _react2.default.createElement( - 'div', - { - onKeyDown: this.handleKeyDown, - ref: function ref(c) { - return _this5.attachments = c; - }, - tabIndex: 0 - }, - !data ? _react2.default.createElement(_Loader2.default, null) : this.renderData() - ); - } - }]); - - return Attachments; - }(_react.Component); - - Attachments.PropTypes = { - windowType: _propTypes2.default.string.isRequired, - docId: _propTypes2.default.string.isRequired, - dispatch: _propTypes2.default.func.isRequired - }; - - Attachments = (0, _reactRedux.connect)()(Attachments); - - var _default = Attachments; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Attachments, 'Attachments', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Attachments.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Attachments.js'); - }(); - - ; - -/***/ }, -/* 573 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _reactRedux = __webpack_require__(171); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRouterRedux = __webpack_require__(236); - - var _Loader = __webpack_require__(488); - - var _Loader2 = _interopRequireDefault(_Loader); - - var _GenericActions = __webpack_require__(489); - - var _ListActions = __webpack_require__(504); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Referenced = function (_Component) { - _inherits(Referenced, _Component); - - function Referenced(props) { - _classCallCheck(this, Referenced); - - var _this = _possibleConstructorReturn(this, (Referenced.__proto__ || Object.getPrototypeOf(Referenced)).call(this, props)); - - _this.componentDidMount = function () { - return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleReferenceClick = function () { - return _this.__handleReferenceClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleKeyDown = function () { - return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderData = function () { - return _this.__renderData__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - data: null - }; - return _this; - } - - _createClass(Referenced, [{ - key: '__componentDidMount__REACT_HOT_LOADER__', - value: function __componentDidMount__REACT_HOT_LOADER__() { - var _this2 = this; - - var _props = this.props, - dispatch = _props.dispatch, - windowType = _props.windowType, - docId = _props.docId; - - - dispatch((0, _GenericActions.referencesRequest)('window', windowType, docId)).then(function (response) { - _this2.setState({ - data: response.data.groups - }, function () { - _this2.referenced && _this2.referenced.focus(); - }); - }); - } - }, { - key: '__handleReferenceClick__REACT_HOT_LOADER__', - value: function __handleReferenceClick__REACT_HOT_LOADER__(type, filter) { - var _props2 = this.props, - dispatch = _props2.dispatch, - windowType = _props2.windowType, - docId = _props2.docId; - - dispatch((0, _ListActions.setFilter)(filter, type)); - dispatch((0, _reactRouterRedux.push)('/window/' + type + '?refType=' + windowType + '&refId=' + docId)); - } - }, { - key: '__handleKeyDown__REACT_HOT_LOADER__', - value: function __handleKeyDown__REACT_HOT_LOADER__(e) { - var active = document.activeElement; - - var keyHandler = function keyHandler(e, dir) { - var sib = dir ? 'nextSibling' : 'previousSibling'; - e.preventDefault(); - if (active.classList.contains('js-subheader-item')) { - if (!active[sib]) { - return; - } - if (active[sib].classList.contains('js-subheader-item')) { - active[sib].focus(); - } else { - active[sib][sib] && active[sib][sib].focus(); - } - } else { - active.getElementsByClassName('js-subheader-item')[0].focus(); - } - }; - - switch (e.key) { - case 'ArrowDown': - keyHandler(e, true); - break; - case 'ArrowUp': - keyHandler(e, false); - break; - case 'Enter': - e.preventDefault(); - document.activeElement.click(); - break; - } - } - }, { - key: '__renderData__REACT_HOT_LOADER__', - value: function __renderData__REACT_HOT_LOADER__() { - var _this3 = this; - - var data = this.state.data; - - - return data && data.length ? data.map(function (item) { - return [_react2.default.createElement( - 'div', - { className: 'subheader-caption' }, - item.caption - )].concat(item.references.map(function (ref, refKey) { - return _react2.default.createElement( - 'div', - { - className: 'subheader-item js-subheader-item', - onClick: function onClick() { - _this3.handleReferenceClick(ref.documentType, ref.filter); - }, - key: refKey, - tabIndex: 0 - }, - ref.caption - ); - })); - }) : _react2.default.createElement( - 'div', - { className: 'subheader-item subheader-item-disabled' }, - 'There is no referenced document' - ); - } - }, { - key: 'render', - value: function render() { - var _this4 = this; - - var data = this.state.data; - - return _react2.default.createElement( - 'div', - { - onKeyDown: this.handleKeyDown, - ref: function ref(c) { - return _this4.referenced = c; - }, - tabIndex: 0 - }, - !data ? _react2.default.createElement(_Loader2.default, null) : this.renderData() - ); - } - }]); - - return Referenced; - }(_react.Component); - - Referenced.propTypes = { - windowType: _propTypes2.default.string.isRequired, - docId: _propTypes2.default.string.isRequired, - dispatch: _propTypes2.default.func.isRequired - }; - - Referenced = (0, _reactRedux.connect)()(Referenced); - - var _default = Referenced; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Referenced, 'Referenced', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Referenced.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Referenced.js'); - }(); - - ; - -/***/ }, -/* 574 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRouterRedux = __webpack_require__(236); - - var _reactRedux = __webpack_require__(171); - - var _QuickActions = __webpack_require__(575); - - var _QuickActions2 = _interopRequireDefault(_QuickActions); - - var _BlankPage = __webpack_require__(578); - - var _BlankPage2 = _interopRequireDefault(_BlankPage); - - var _Table = __webpack_require__(579); - - var _Table2 = _interopRequireDefault(_Table); - - var _Filters = __webpack_require__(591); - - var _Filters2 = _interopRequireDefault(_Filters); - - var _SelectionAttributes = __webpack_require__(595); - - var _SelectionAttributes2 = _interopRequireDefault(_SelectionAttributes); - - var _DataLayoutWrapper = __webpack_require__(596); - - var _DataLayoutWrapper2 = _interopRequireDefault(_DataLayoutWrapper); - - var _sockjsClient = __webpack_require__(422); - - var _sockjsClient2 = _interopRequireDefault(_sockjsClient); - - var _stompMin = __webpack_require__(481); - - var _stompMin2 = _interopRequireDefault(_stompMin); - - var _GenericActions = __webpack_require__(489); - - var _WindowActions = __webpack_require__(503); - - var _ListActions = __webpack_require__(504); - - var _AppActions = __webpack_require__(421); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var DocumentList = function (_Component) { - _inherits(DocumentList, _Component); - - function DocumentList(props) { - _classCallCheck(this, DocumentList); - - var _this = _possibleConstructorReturn(this, (DocumentList.__proto__ || Object.getPrototypeOf(DocumentList)).call(this, props)); - - _this.componentDidMount = function () { - return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.connectWS = function () { - return _this.__connectWS__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.getTableData = function () { - return _this.__getTableData__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.disconnectWS = function () { - return _this.__disconnectWS__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.redirectToNewDocument = function () { - return _this.__redirectToNewDocument__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.setClickOutsideLock = function () { - return _this.__setClickOutsideLock__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.fetchLayoutAndData = function () { - return _this.__fetchLayoutAndData__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.browseView = function () { - return _this.__browseView__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.createView = function () { - return _this.__createView__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.getData = function () { - return _this.__getData__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleChangePage = function () { - return _this.__handleChangePage__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.getSortingQuery = function () { - return _this.__getSortingQuery__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.sortData = function () { - return _this.__sortData__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleFilterChange = function () { - return _this.__handleFilterChange__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.redirectToDocument = function () { - return _this.__redirectToDocument__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - var _this$props = _this.props, - defaultViewId = _this$props.defaultViewId, - defaultPage = _this$props.defaultPage, - defaultSort = _this$props.defaultSort; - - - _this.pageLength = 20; - - _this.state = { - data: null, - layout: null, - - viewId: defaultViewId, - page: defaultPage || 1, - sort: defaultSort, - filters: null, - - clickOutsideLock: false, - refresh: null, - - cachedSelection: null - }; - _this.fetchLayoutAndData(); - return _this; - } - - _createClass(DocumentList, [{ - key: '__componentDidMount__REACT_HOT_LOADER__', - value: function __componentDidMount__REACT_HOT_LOADER__() { - this.mounted = true; - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - this.mounted = false; - this.disconnectWS(); - } - }, { - key: 'componentWillReceiveProps', - value: function componentWillReceiveProps(props) { - var _this2 = this; - - var windowType = props.windowType, - defaultViewId = props.defaultViewId, - defaultSort = props.defaultSort, - defaultPage = props.defaultPage, - selected = props.selected, - inBackground = props.inBackground, - dispatch = props.dispatch, - includedView = props.includedView, - selectedWindowType = props.selectedWindowType, - disconnectFromState = props.disconnectFromState; - var _state = this.state, - page = _state.page, - sort = _state.sort, - viewId = _state.viewId, - cachedSelection = _state.cachedSelection, - layout = _state.layout; - - /* - * If we browse list of docs, changing type of Document - * does not re-construct component, so we need to - * make it manually while the windowType changes. - */ - - if (windowType !== this.props.windowType) { - this.setState({ - data: null, - layout: null, - filters: null, - viewId: null - }, function () { - !disconnectFromState && dispatch((0, _WindowActions.selectTableItems)([], null)); - _this2.fetchLayoutAndData(); - }); - } - - if (defaultSort != this.props.defaultSort && defaultSort != sort) { - this.setState({ - sort: defaultSort - }); - } - - if (defaultPage != this.props.defaultPage && defaultPage != page) { - this.setState({ - page: defaultPage || 1 - }); - } - - if (defaultViewId != this.props.defaultViewId && defaultViewId != viewId) { - this.setState({ - viewId: defaultViewId - }); - } - - /* - * It is case when we need refersh global selection state, - * because scope is changed - * - * After opening modal cache current selection - * After closing modal with gridview, refresh selected. - */ - if (inBackground != this.props.inBackground) { - if (!inBackground) { - // In case of preventing cached selection restore - cachedSelection && !disconnectFromState && dispatch((0, _WindowActions.selectTableItems)(cachedSelection, windowType)); - this.setState({ - cachedSelection: undefined - }); - } else { - this.setState({ - cachedSelection: selected - }); - } - } - - /* - * When the selection of unfocused table changes - */ - if (selectedWindowType === windowType && cachedSelection !== null && cachedSelection !== undefined && layout && layout.supportIncludedView && includedView && includedView.windowType && includedView.viewId) { - // There is no need to restore cached selection in that case - this.setState({ - cachedSelection: null - }, function () { - dispatch((0, _ListActions.setListIncludedView)()); - }); - } - } - }, { - key: 'shouldComponentUpdate', - value: function shouldComponentUpdate(nextProps, nextState) { - return !!nextState.layout && !!nextState.data; - } - }, { - key: '__connectWS__REACT_HOT_LOADER__', - value: function __connectWS__REACT_HOT_LOADER__(viewId) { - var _this3 = this; - - var _props = this.props, - dispatch = _props.dispatch, - windowType = _props.windowType; - - this.sockClient && this.sockClient.connected && this.sockClient.disconnect(); - - this.sock = new _sockjsClient2.default(config.WS_URL); - this.sockClient = _stompMin2.default.Stomp.over(this.sock); - this.sockClient.debug = null; - this.sockClient.connect({}, function () { - _this3.sockClient.subscribe('/view/' + viewId, function (msg) { - var _JSON$parse = JSON.parse(msg.body), - fullyChanged = _JSON$parse.fullyChanged, - changedIds = _JSON$parse.changedIds; - - if (changedIds) { - dispatch((0, _GenericActions.getDataByIds)('documentView', windowType, viewId, changedIds.join())).then(function (response) { - response.data.map(function (row) { - _this3.setState({ - data: Object.assign(_this3.state.data, {}, { - result: _this3.state.data.result.map(function (resultRow) { - return resultRow.id === row.id ? row : resultRow; - }) - }) - }); - }); - }); - } - if (fullyChanged == true) { - _this3.browseView(true); - } - }); - }); - } - }, { - key: 'doesSelectionExist', - value: function doesSelectionExist(selected, hasIncluded) { - var data = this.state.data; - // When the rows are changing we should ensure - // that selection still exist - - if (hasIncluded) { - return true; - } - - var rows = []; - - data && data.result && data.result.map(function (item) { - rows = rows.concat((0, _WindowActions.mapIncluded)(item)); - }); - - return data && data.size && data.result && selected && selected[0] && (0, _WindowActions.getItemsByProperty)(rows, 'id', selected[0]).length; - } - }, { - key: '__getTableData__REACT_HOT_LOADER__', - value: function __getTableData__REACT_HOT_LOADER__(data) { - return data; - } - }, { - key: '__disconnectWS__REACT_HOT_LOADER__', - value: function __disconnectWS__REACT_HOT_LOADER__() { - this.sockClient && this.sockClient.connected && this.sockClient.disconnect(); - } - }, { - key: '__redirectToNewDocument__REACT_HOT_LOADER__', - value: function __redirectToNewDocument__REACT_HOT_LOADER__() { - var _props2 = this.props, - dispatch = _props2.dispatch, - windowType = _props2.windowType; - - - dispatch((0, _reactRouterRedux.push)('/window/' + windowType + '/new')); - } - }, { - key: '__setClickOutsideLock__REACT_HOT_LOADER__', - - - // FETCHING LAYOUT && DATA ------------------------------------------------- - - value: function __setClickOutsideLock__REACT_HOT_LOADER__(value) { - this.setState({ - clickOutsideLock: !!value - }); - } - }, { - key: '__fetchLayoutAndData__REACT_HOT_LOADER__', - - /* - * If viewId exist, than browse that view. - */ - value: function __fetchLayoutAndData__REACT_HOT_LOADER__(isNewFilter) { - var _this4 = this; - - var _props3 = this.props, - dispatch = _props3.dispatch, - windowType = _props3.windowType, - type = _props3.type, - setModalTitle = _props3.setModalTitle, - setNotFound = _props3.setNotFound; - var viewId = this.state.viewId; - - - dispatch((0, _GenericActions.initLayout)('documentView', windowType, null, null, null, null, type, true)).then(function (response) { - _this4.mounted && _this4.setState({ - layout: response.data - }, function () { - if (viewId && !isNewFilter) { - _this4.browseView(); - } else { - _this4.createView(); - } - setModalTitle && setModalTitle(response.data.caption); - }); - }).catch(function () { - // We have to always update that fields to refresh that view! - // Check the shouldComponentUpdate method - _this4.setState({ - data: 'notfound', - layout: 'notfound' - }, function () { - setNotFound && setNotFound(true); - }); - }); - } - }, { - key: '__browseView__REACT_HOT_LOADER__', - value: function __browseView__REACT_HOT_LOADER__(refresh) { - var _this5 = this; - - var _state2 = this.state, - viewId = _state2.viewId, - page = _state2.page, - sort = _state2.sort; - - - this.getData(viewId, page, sort, refresh).catch(function (err) { - if (err.response && err.response.status === 404) { - _this5.createView(); - } - }); - } - }, { - key: '__createView__REACT_HOT_LOADER__', - value: function __createView__REACT_HOT_LOADER__() { - var _this6 = this; - - var _props4 = this.props, - dispatch = _props4.dispatch, - windowType = _props4.windowType, - type = _props4.type, - refType = _props4.refType, - refId = _props4.refId; - var _state3 = this.state, - page = _state3.page, - sort = _state3.sort, - filters = _state3.filters; - - - dispatch((0, _AppActions.createViewRequest)(windowType, type, this.pageLength, filters, refType, refId)).then(function (response) { - _this6.mounted && _this6.setState({ - data: response.data, - viewId: response.data.viewId - }, function () { - _this6.getData(response.data.viewId, page, sort); - }); - }); - } - }, { - key: '__getData__REACT_HOT_LOADER__', - - - // END OF FETCHING LAYOUT && DATA ------------------------------------------ - - // MANAGING SORT, PAGINATION, FILTERS -------------------------------------- - - value: function __getData__REACT_HOT_LOADER__(id, page, sortingQuery, refresh) { - var _this7 = this; - - var _props5 = this.props, - dispatch = _props5.dispatch, - windowType = _props5.windowType, - updateUri = _props5.updateUri, - setNotFound = _props5.setNotFound; - - - setNotFound && setNotFound(false); - - if (updateUri) { - id && updateUri('viewId', id); - page && updateUri('page', page); - sortingQuery && updateUri('sort', sortingQuery); - } - - return dispatch((0, _AppActions.browseViewRequest)(id, page, this.pageLength, sortingQuery, windowType)).then(function (response) { - - _this7.mounted && _this7.setState(Object.assign({}, { - data: response.data, - filters: response.data.filters - }, refresh && { - refresh: Date.now() - }), function () { - _this7.connectWS(response.data.viewId); - }); - }); - } - }, { - key: '__handleChangePage__REACT_HOT_LOADER__', - value: function __handleChangePage__REACT_HOT_LOADER__(index) { - var _this8 = this; - - var _state4 = this.state, - data = _state4.data, - sort = _state4.sort, - page = _state4.page, - viewId = _state4.viewId; - - - var currentPage = page; - - switch (index) { - case 'up': - currentPage * data.pageLength < data.size ? currentPage++ : null; - break; - case 'down': - currentPage != 1 ? currentPage-- : null; - break; - default: - currentPage = index; - } - - this.setState({ - page: currentPage - }, function () { - _this8.getData(viewId, currentPage, sort); - }); - } - }, { - key: '__getSortingQuery__REACT_HOT_LOADER__', - value: function __getSortingQuery__REACT_HOT_LOADER__(asc, field) { - return (asc ? '+' : '-') + field; - } - }, { - key: '__sortData__REACT_HOT_LOADER__', - value: function __sortData__REACT_HOT_LOADER__(asc, field, startPage) { - var _this9 = this; - - var _state5 = this.state, - viewId = _state5.viewId, - page = _state5.page; - - - this.setState({ - sort: this.getSortingQuery(asc, field) - }, function () { - _this9.getData(viewId, startPage ? 1 : page, _this9.getSortingQuery(asc, field)); - }); - } - }, { - key: '__handleFilterChange__REACT_HOT_LOADER__', - - - // END OF MANAGING SORT, PAGINATION, FILTERS ------------------------------- - - value: function __handleFilterChange__REACT_HOT_LOADER__(filters) { - var _this10 = this; - - this.setState({ - filters: filters, - page: 1 - }, function () { - _this10.fetchLayoutAndData(true); - }); - } - }, { - key: '__redirectToDocument__REACT_HOT_LOADER__', - value: function __redirectToDocument__REACT_HOT_LOADER__(id) { - var _props6 = this.props, - dispatch = _props6.dispatch, - isModal = _props6.isModal, - windowType = _props6.windowType, - isSideListShow = _props6.isSideListShow; - var _state6 = this.state, - page = _state6.page, - viewId = _state6.viewId, - sort = _state6.sort; - - - if (isModal) { - return; - } - - dispatch((0, _reactRouterRedux.push)('/window/' + windowType + '/' + id)); - - if (!isSideListShow) { - // Caching last settings - dispatch((0, _ListActions.setPagination)(page, windowType)); - dispatch((0, _ListActions.setSorting)(sort, windowType)); - dispatch((0, _ListActions.setListId)(viewId, windowType)); - } - } - }, { - key: 'render', - value: function render() { - var _this11 = this; - - var _state7 = this.state, - layout = _state7.layout, - data = _state7.data, - viewId = _state7.viewId, - clickOutsideLock = _state7.clickOutsideLock, - refresh = _state7.refresh, - page = _state7.page, - filters = _state7.filters, - cachedSelection = _state7.cachedSelection; - var _props7 = this.props, - windowType = _props7.windowType, - open = _props7.open, - closeOverlays = _props7.closeOverlays, - selected = _props7.selected, - inBackground = _props7.inBackground, - fetchQuickActionsOnInit = _props7.fetchQuickActionsOnInit, - isModal = _props7.isModal, - processStatus = _props7.processStatus, - readonly = _props7.readonly, - includedView = _props7.includedView, - children = _props7.children, - isIncluded = _props7.isIncluded, - disablePaginationShortcuts = _props7.disablePaginationShortcuts, - notfound = _props7.notfound, - disconnectFromState = _props7.disconnectFromState, - autofocus = _props7.autofocus; - - - var hasIncluded = layout && layout.supportIncludedView && includedView && includedView.windowType && includedView.viewId; - var selectionValid = this.doesSelectionExist(selected, hasIncluded); - - if (notfound || layout === 'notfound' || data === 'notfound') { - return _react2.default.createElement(_BlankPage2.default, { what: 'Document type' }); - } - - if (layout && data) { - return _react2.default.createElement( - 'div', - { - className: 'document-list-wrapper ' + (isIncluded ? 'document-list-included ' : '') - }, - !readonly && !isIncluded && _react2.default.createElement( - 'div', - { - className: 'panel panel-primary panel-spaced panel-inline document-list-header' - }, - _react2.default.createElement( - 'div', - null, - layout.supportNewRecord && !isModal && _react2.default.createElement( - 'button', - { - className: 'btn btn-meta-outline-secondary btn-distance btn-sm hidden-sm-down btn-new-document', - onClick: function onClick() { - return _this11.redirectToNewDocument(); - }, - title: layout.newRecordCaption - }, - _react2.default.createElement('i', { className: 'meta-icon-add' }), - layout.newRecordCaption - ), - layout.filters && _react2.default.createElement(_Filters2.default, { - filterData: layout.filters, - filtersActive: filters, - windowType: windowType, - viewId: viewId, - updateDocList: this.handleFilterChange - }) - ), - _react2.default.createElement(_QuickActions2.default, { - windowType: includedView && includedView.windowType ? includedView.windowType : windowType, - viewId: includedView && includedView.viewId ? includedView.viewId : viewId, - selected: selectionValid ? selected : undefined, - refresh: refresh, - shouldNotUpdate: inBackground && !hasIncluded, - fetchOnInit: fetchQuickActionsOnInit, - processStatus: processStatus - }) - ), - _react2.default.createElement( - 'div', - { className: 'document-list-body' }, - _react2.default.createElement( - _Table2.default, - _extends({ - entity: 'documentView', - ref: function ref(c) { - return _this11.table = c && c.getWrappedInstance() && c.getWrappedInstance().refs.instance; - }, - rowData: { 1: data.result }, - cols: layout.elements, - tabid: 1, - type: windowType, - emptyText: layout.emptyResultText, - emptyHint: layout.emptyResultHint, - readonly: true, - keyProperty: 'id', - onDoubleClick: function onDoubleClick(id) { - return !isIncluded && _this11.redirectToDocument(id); - }, - size: data.size, - pageLength: this.pageLength, - handleChangePage: this.handleChangePage, - mainTable: true, - updateDocList: this.fetchLayoutAndData, - sort: this.sortData, - orderBy: data.orderBy, - tabIndex: 0, - indentSupported: layout.supportTree, - disableOnClickOutside: clickOutsideLock, - defaultSelected: cachedSelection ? cachedSelection : selected, - queryLimitHit: data.queryLimitHit, - doesSelectionExist: this.doesSelectionExist - }, { isIncluded: isIncluded, disconnectFromState: disconnectFromState, autofocus: autofocus, - open: open, page: page, closeOverlays: closeOverlays, inBackground: inBackground, - disablePaginationShortcuts: disablePaginationShortcuts, isModal: isModal }), - layout.supportAttributes && !isIncluded && !hasIncluded && _react2.default.createElement( - _DataLayoutWrapper2.default, - { - className: 'table-flex-wrapper attributes-selector js-not-unselect', - entity: 'documentView', - windowType: windowType, - viewId: viewId - }, - _react2.default.createElement(_SelectionAttributes2.default, { - refresh: refresh, - setClickOutsideLock: this.setClickOutsideLock, - selected: selectionValid ? selected : undefined, - shouldNotUpdate: inBackground - }) - ), - hasIncluded && _react2.default.createElement( - 'div', - { - className: 'table-flex-wrapper document-list-included js-not-unselect' - }, - children - ) - ) - ) - ); - } else { - return false; - } - } - }]); - - return DocumentList; - }(_react.Component); - - DocumentList.propTypes = { - windowType: _propTypes2.default.string.isRequired, - dispatch: _propTypes2.default.func.isRequired - }; - - DocumentList = (0, _reactRedux.connect)()(DocumentList); - - var _default = DocumentList; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(DocumentList, 'DocumentList', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/DocumentList.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/DocumentList.js'); - }(); - - ; - -/***/ }, -/* 575 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _ListActions = __webpack_require__(504); - - var _WindowActions = __webpack_require__(503); - - var _QuickActionsDropdown = __webpack_require__(576); - - var _QuickActionsDropdown2 = _interopRequireDefault(_QuickActionsDropdown); - - var _keymap = __webpack_require__(490); - - var _keymap2 = _interopRequireDefault(_keymap); - - var _QuickActionsContextShortcuts = __webpack_require__(577); - - var _QuickActionsContextShortcuts2 = _interopRequireDefault(_QuickActionsContextShortcuts); - - var _reactShortcuts = __webpack_require__(526); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var shortcutManager = new _reactShortcuts.ShortcutManager(_keymap2.default); - - var QuickActions = function (_Component) { - _inherits(QuickActions, _Component); - - function QuickActions(props) { - _classCallCheck(this, QuickActions); - - var _this = _possibleConstructorReturn(this, (QuickActions.__proto__ || Object.getPrototypeOf(QuickActions)).call(this, props)); - - _this.componentDidMount = function () { - return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.componentWillUnmount = function () { - return _this.__componentWillUnmount__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.componentDidUpdate = function () { - return _this.__componentDidUpdate__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.getChildContext = function () { - return _this.__getChildContext__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClickOutside = function () { - return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); - }; + var _this = _possibleConstructorReturn(this, (Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call(this, props)); _this.handleClick = function () { return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.fetchActions = function () { - return _this.__fetchActions__REACT_HOT_LOADER__.apply(_this, arguments); + _this.handlePillKeyDown = function () { + return _this.__handlePillKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); }; - _this.toggleDropdown = function () { - return _this.__toggleDropdown__REACT_HOT_LOADER__.apply(_this, arguments); + _this.renderPills = function () { + return _this.__renderPills__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderTabs = function () { + return _this.__renderTabs__REACT_HOT_LOADER__.apply(_this, arguments); }; _this.state = { - actions: [], - isDropdownOpen: false + selected: _this.props.children[0].key }; - - var fetchOnInit = _this.props.fetchOnInit; - - - if (fetchOnInit) { - _this.fetchActions(); - } return _this; } - _createClass(QuickActions, [{ - key: '__componentDidMount__REACT_HOT_LOADER__', - value: function __componentDidMount__REACT_HOT_LOADER__() { - this.mounted = true; - } - }, { - key: '__componentWillUnmount__REACT_HOT_LOADER__', - value: function __componentWillUnmount__REACT_HOT_LOADER__() { - this.mounted = false; - } - }, { - key: '__componentDidUpdate__REACT_HOT_LOADER__', - value: function __componentDidUpdate__REACT_HOT_LOADER__(prevProps) { - var _props = this.props, - selected = _props.selected, - refresh = _props.refresh, - shouldNotUpdate = _props.shouldNotUpdate, - viewId = _props.viewId; - - if (shouldNotUpdate) { - return; - } - - if (JSON.stringify(prevProps.selected) !== JSON.stringify(selected) || JSON.stringify(prevProps.refresh) !== JSON.stringify(refresh) || JSON.stringify(prevProps.viewId) !== JSON.stringify(viewId)) { - this.fetchActions(); - } - } - }, { - key: '__getChildContext__REACT_HOT_LOADER__', - value: function __getChildContext__REACT_HOT_LOADER__() { - return { shortcuts: shortcutManager }; - } - }, { - key: '__handleClickOutside__REACT_HOT_LOADER__', - value: function __handleClickOutside__REACT_HOT_LOADER__() { - this.toggleDropdown(); - } - }, { + _createClass(Tabs, [{ key: '__handleClick__REACT_HOT_LOADER__', - value: function __handleClick__REACT_HOT_LOADER__(action) { - var _props2 = this.props, - dispatch = _props2.dispatch, - viewId = _props2.viewId, - selected = _props2.selected; - - - if (action.disabled) { - return; - } - - dispatch((0, _WindowActions.openModal)(action.caption, action.processId, 'process', null, null, false, viewId, selected)); - - this.toggleDropdown(); - } - }, { - key: '__fetchActions__REACT_HOT_LOADER__', - value: function __fetchActions__REACT_HOT_LOADER__() { - var _this2 = this; - - var _props3 = this.props, - dispatch = _props3.dispatch, - windowType = _props3.windowType, - viewId = _props3.viewId, - selected = _props3.selected; - - dispatch((0, _ListActions.quickActionsRequest)(windowType, viewId, selected)).then(function (response) { - _this2.mounted && _this2.setState({ - actions: response.data.actions - }); + value: function __handleClick__REACT_HOT_LOADER__(e, id) { + e.preventDefault(); + this.setState({ + 'selected': id }); } }, { - key: '__toggleDropdown__REACT_HOT_LOADER__', - value: function __toggleDropdown__REACT_HOT_LOADER__(option) { - this.setState({ - isDropdownOpen: option + key: '__handlePillKeyDown__REACT_HOT_LOADER__', + value: function __handlePillKeyDown__REACT_HOT_LOADER__(e, key) { + if (e.key === 'Enter') { + this.handleClick(e, key); + } + } + }, { + key: '__renderPills__REACT_HOT_LOADER__', + value: function __renderPills__REACT_HOT_LOADER__(pills) { + var _this2 = this; + + var tabIndex = this.props.tabIndex; + + var maxWidth = 95 / pills.length + '%'; + var selected = this.state.selected; + + + return pills.map(function (item) { + return _react2.default.createElement( + 'li', + { + className: 'nav-item', + key: 'tab' + item.key, + onClick: function onClick(e) { + return _this2.handleClick(e, item.key); + }, + tabIndex: tabIndex, + onKeyDown: function onKeyDown(e) { + return _this2.handlePillKeyDown(e, item.key); + }, + style: { maxWidth: maxWidth } + }, + _react2.default.createElement( + 'a', + { + className: 'nav-link ' + (selected === item.key ? 'active' : '') + }, + item.props.caption + ) + ); + }); + } + }, { + key: '__renderTabs__REACT_HOT_LOADER__', + value: function __renderTabs__REACT_HOT_LOADER__(tabs) { + var _props = this.props, + toggleTableFullScreen = _props.toggleTableFullScreen, + fullScreen = _props.fullScreen, + windowType = _props.windowType; + var selected = this.state.selected; + + + return tabs.map(function (item) { + var itemWithProps = Object.assign({}, item, { + props: Object.assign({}, item.props, { + toggleFullScreen: toggleTableFullScreen, + fullScreen: fullScreen + }) + }); + + if (selected == item.key) { + var _item$props = item.props, + tabid = _item$props.tabid, + queryOnActivate = _item$props.queryOnActivate, + docId = _item$props.docId; + + + return _react2.default.createElement( + 'div', + { + key: 'pane' + item.key, + className: 'tab-pane active' + }, + _react2.default.createElement( + _Tab2.default, + { queryOnActivate: queryOnActivate, tabid: tabid, docId: docId, windowType: windowType }, + itemWithProps + ) + ); + } else { + return false; + } }); } }, { @@ -98829,361 +95157,39 @@ value: function render() { var _this3 = this; - var _state = this.state, - actions = _state.actions, - isDropdownOpen = _state.isDropdownOpen; - var _props4 = this.props, - shouldNotUpdate = _props4.shouldNotUpdate, - processStatus = _props4.processStatus; - - - if (actions.length) { - return _react2.default.createElement( - 'div', - { className: 'js-not-unselect' }, - _react2.default.createElement( - 'span', - { className: 'spacer-right' }, - 'Actions:' - ), - _react2.default.createElement( - 'div', - { className: 'quick-actions-wrapper' }, - _react2.default.createElement( - 'div', - { - className: 'tag tag-success tag-xlg spacer-right ' + 'quick-actions-tag ' + (actions[0].disabled || processStatus === 'pending' ? 'tag-default ' : 'pointer '), - onClick: function onClick() { - return _this3.handleClick(actions[0]); - }, - title: actions[0].caption - }, - actions[0].caption - ), - _react2.default.createElement( - 'div', - { - className: 'btn-meta-outline-secondary btn-icon-sm ' + 'btn-inline btn-icon pointer ' + (isDropdownOpen ? 'btn-disabled ' : ''), - onClick: function onClick() { - return _this3.toggleDropdown(!isDropdownOpen); - } - }, - _react2.default.createElement('i', { className: 'meta-icon-down-1' }) - ), - isDropdownOpen && _react2.default.createElement(_QuickActionsDropdown2.default, { - actions: actions, - handleClick: this.handleClick, - handleClickOutside: function handleClickOutside() { - return _this3.toggleDropdown(false); - }, - disableOnClickOutside: !isDropdownOpen - }) - ), - _react2.default.createElement(_QuickActionsContextShortcuts2.default, { - handleClick: function handleClick() { - return shouldNotUpdate ? null : _this3.handleClick(actions[0]); - } - }) - ); - } else { - return false; - } - } - }]); - - return QuickActions; - }(_react.Component); - - QuickActions.childContextTypes = { - shortcuts: _propTypes2.default.object.isRequired - }; - - QuickActions.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - QuickActions = (0, _reactRedux.connect)()(QuickActions); - - var _default = QuickActions; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(shortcutManager, 'shortcutManager', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js'); - - __REACT_HOT_LOADER__.register(QuickActions, 'QuickActions', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js'); - }(); - - ; - -/***/ }, -/* 576 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _reactRedux = __webpack_require__(171); - - var _reactOnclickoutside = __webpack_require__(486); - - var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var QuickActionsDropdown = function (_Component) { - _inherits(QuickActionsDropdown, _Component); - - function QuickActionsDropdown(props) { - _classCallCheck(this, QuickActionsDropdown); - - var _this = _possibleConstructorReturn(this, (QuickActionsDropdown.__proto__ || Object.getPrototypeOf(QuickActionsDropdown)).call(this, props)); - - _this.handleClickOutside = function () { - return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - return _this; - } - - _createClass(QuickActionsDropdown, [{ - key: '__handleClickOutside__REACT_HOT_LOADER__', - value: function __handleClickOutside__REACT_HOT_LOADER__() { - var handleClickOutside = this.props.handleClickOutside; - - - handleClickOutside(); - } - }, { - key: 'render', - value: function render() { - var _props = this.props, - actions = _props.actions, - handleClick = _props.handleClick; + var _props2 = this.props, + children = _props2.children, + tabIndex = _props2.tabIndex, + fullScreen = _props2.fullScreen; return _react2.default.createElement( 'div', - { - className: 'quick-actions-dropdown' - }, - actions.map(function (action, index) { - return _react2.default.createElement( - 'div', - { - className: 'quick-actions-item ' + (action.disabled ? 'quick-actions-item-disabled ' : ''), - key: index, - onClick: function onClick() { - return handleClick(action); - } - }, - action.caption, - action.disabled && _react2.default.createElement( - 'p', - { className: 'one-line' }, - _react2.default.createElement( - 'small', - null, - '(', - action.disabledReason, - ')' - ) - ) - ); - }) - ); - } - }]); - - return QuickActionsDropdown; - }(_react.Component); - - QuickActionsDropdown = (0, _reactRedux.connect)()((0, _reactOnclickoutside2.default)(QuickActionsDropdown)); - - var _default = QuickActionsDropdown; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(QuickActionsDropdown, 'QuickActionsDropdown', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActionsDropdown.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActionsDropdown.js'); - }(); - - ; - -/***/ }, -/* 577 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _reactShortcuts = __webpack_require__(526); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var QuickActionsContextShortcuts = function (_Component) { - _inherits(QuickActionsContextShortcuts, _Component); - - function QuickActionsContextShortcuts(props) { - _classCallCheck(this, QuickActionsContextShortcuts); - - var _this = _possibleConstructorReturn(this, (QuickActionsContextShortcuts.__proto__ || Object.getPrototypeOf(QuickActionsContextShortcuts)).call(this, props)); - - _this.handleShortcuts = function () { - return _this.__handleShortcuts__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - return _this; - } - - _createClass(QuickActionsContextShortcuts, [{ - key: '__handleShortcuts__REACT_HOT_LOADER__', - value: function __handleShortcuts__REACT_HOT_LOADER__(action, event) { - var handleClick = this.props.handleClick; - - - switch (action) { - case 'QUICK_ACTION_POS': - event.preventDefault(); - handleClick(); - break; - } - } - }, { - key: 'render', - value: function render() { - return _react2.default.createElement(_reactShortcuts.Shortcuts, { - name: 'QUICK_ACTIONS', - handler: this.handleShortcuts, - targetNodeSelector: 'body', - isolate: true, - preventDefault: true, - stopPropagation: true - }); - } - }]); - - return QuickActionsContextShortcuts; - }(_react.Component); - - var _default = QuickActionsContextShortcuts; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(QuickActionsContextShortcuts, 'QuickActionsContextShortcuts', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/shortcuts/QuickActionsContextShortcuts.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/shortcuts/QuickActionsContextShortcuts.js'); - }(); - - ; - -/***/ }, -/* 578 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var BlankPage = function (_Component) { - _inherits(BlankPage, _Component); - - function BlankPage(props) { - _classCallCheck(this, BlankPage); - - return _possibleConstructorReturn(this, (BlankPage.__proto__ || Object.getPrototypeOf(BlankPage)).call(this, props)); - } - - _createClass(BlankPage, [{ - key: 'render', - value: function render() { - var what = this.props.what; - - - return _react2.default.createElement( - 'div', - { className: 'blank-page' }, + { className: 'mb-1 ' + (fullScreen ? 'tabs-fullscreen container-fluid ' : '') }, _react2.default.createElement( - 'h1', - null, - '404' + 'ul', + { className: 'nav nav-tabs mt-1' }, + this.renderPills(children) ), _react2.default.createElement( - 'h3', - null, - what ? what + ' not found.' : 'Not found' + 'div', + { + className: 'tab-content', + tabIndex: tabIndex, + ref: function ref(c) { + return _this3.tabContent = c; + } + }, + this.renderTabs(children) ) ); } }]); - return BlankPage; + return Tabs; }(_react.Component); - var _default = BlankPage; + var _default = Tabs; exports.default = _default; ; @@ -99192,15 +95198,112 @@ return; } - __REACT_HOT_LOADER__.register(BlankPage, 'BlankPage', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/BlankPage.js'); + __REACT_HOT_LOADER__.register(Tabs, 'Tabs', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tabs.js'); - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/BlankPage.js'); + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tabs.js'); }(); ; /***/ }, -/* 579 */ +/* 560 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _WindowActions = __webpack_require__(487); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Tab = function (_Component) { + _inherits(Tab, _Component); + + function Tab(props) { + _classCallCheck(this, Tab); + + var _this = _possibleConstructorReturn(this, (Tab.__proto__ || Object.getPrototypeOf(Tab)).call(this, props)); + + var _this$props = _this.props, + dispatch = _this$props.dispatch, + tabid = _this$props.tabid, + windowType = _this$props.windowType, + queryOnActivate = _this$props.queryOnActivate, + docId = _this$props.docId; + + + if (queryOnActivate) { + dispatch((0, _WindowActions.getTab)(tabid, windowType, docId)).then(function (res) { + dispatch((0, _WindowActions.addRowData)(_defineProperty({}, tabid, res), 'master')); + }); + } + return _this; + } + + _createClass(Tab, [{ + key: 'render', + value: function render() { + var children = this.props.children; + + + return _react2.default.createElement( + 'div', + { className: 'table-flex-wrapper' }, + children + ); + } + }]); + + return Tab; + }(_react.Component); + + Tab.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + Tab = (0, _reactRedux.connect)()(Tab); + + var _default = Tab; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Tab, 'Tab', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tab.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tab.js'); + }(); + + ; + +/***/ }, +/* 561 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -99223,7 +95326,7 @@ var _reactRedux = __webpack_require__(171); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); @@ -99231,47 +95334,47 @@ var _immutabilityHelper2 = _interopRequireDefault(_immutabilityHelper); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); var _GenericActions = __webpack_require__(489); - var _Prompt = __webpack_require__(580); + var _Prompt = __webpack_require__(562); var _Prompt2 = _interopRequireDefault(_Prompt); - var _TableFilter = __webpack_require__(581); + var _TableFilter = __webpack_require__(563); var _TableFilter2 = _interopRequireDefault(_TableFilter); - var _TableItem = __webpack_require__(583); + var _TableItem = __webpack_require__(567); var _TableItem2 = _interopRequireDefault(_TableItem); - var _TablePagination = __webpack_require__(585); + var _TablePagination = __webpack_require__(569); var _TablePagination2 = _interopRequireDefault(_TablePagination); - var _TableHeader = __webpack_require__(587); + var _TableHeader = __webpack_require__(571); var _TableHeader2 = _interopRequireDefault(_TableHeader); - var _TableContextMenu = __webpack_require__(588); + var _TableContextMenu = __webpack_require__(572); var _TableContextMenu2 = _interopRequireDefault(_TableContextMenu); - var _keymap = __webpack_require__(490); + var _keymap = __webpack_require__(566); var _keymap2 = _interopRequireDefault(_keymap); - var _DocumentListContextShortcuts = __webpack_require__(589); + var _DocumentListContextShortcuts = __webpack_require__(573); var _DocumentListContextShortcuts2 = _interopRequireDefault(_DocumentListContextShortcuts); - var _TableContextShortcuts = __webpack_require__(590); + var _TableContextShortcuts = __webpack_require__(574); var _TableContextShortcuts2 = _interopRequireDefault(_TableContextShortcuts); - var _reactShortcuts = __webpack_require__(526); + var _reactShortcuts = __webpack_require__(514); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -99629,7 +95732,7 @@ }, { key: '__handleClickOutside__REACT_HOT_LOADER__', value: function __handleClickOutside__REACT_HOT_LOADER__(event) { - if (event.target.parentNode !== document) { + if (event.target.parentNode !== document && !event.target.parentNode.className.includes('notification')) { var item = event.path; for (var i = 0; i < item.length; i++) { if (item[i].classList && item[i].classList.contains('js-not-unselect')) { @@ -100122,7 +96225,7 @@ return _this7.changeListen(false); }, newRow: i === keys.length - 1 ? newRow : false, - isSelected: selected.indexOf(item[key][keyProp]) > -1, + isSelected: selected.indexOf(item[key][keyProp]) > -1 || selected[0] === 'all', handleSelect: _this7.selectRangeProduct, indentSupported: indentSupported, indent: item[key].indent, @@ -100210,8 +96313,8 @@ queryLimitHit = _props10.queryLimitHit, supportQuickInput = _props10.supportQuickInput, tabInfo = _props10.tabInfo, - isIncluded = _props10.isIncluded, - disablePaginationShortcuts = _props10.disablePaginationShortcuts; + disablePaginationShortcuts = _props10.disablePaginationShortcuts, + hasIncluded = _props10.hasIncluded; var _state6 = this.state, contextMenu = _state6.contextMenu, selected = _state6.selected, @@ -100282,7 +96385,7 @@ _react2.default.createElement( 'table', { - className: 'table table-bordered-vertically ' + 'table-striped js-table ' + (readonly ? 'table-read-only' : ''), + className: 'table table-bordered-vertically ' + 'table-striped js-table ' + (readonly ? 'table-read-only ' : '') + (hasIncluded ? 'table-fade-out' : ''), onKeyDown: this.handleKey, tabIndex: tabIndex, ref: function ref(c) { @@ -100327,6 +96430,7 @@ _react2.default.createElement(_TablePagination2.default, { handleChangePage: handleChangePage, handleSelectAll: this.selectAll, + handleSelectRange: this.selectRangeProduct, pageLength: pageLength, size: size, selected: selected, @@ -100334,7 +96438,6 @@ orderBy: orderBy, deselect: this.deselectAllProducts, queryLimitHit: queryLimitHit, - compressed: isIncluded, disablePaginationShortcuts: disablePaginationShortcuts }) ) @@ -100402,7 +96505,7 @@ ; /***/ }, -/* 580 */ +/* 562 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -100573,7 +96676,7 @@ ; /***/ }, -/* 581 */ +/* 563 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -100594,15 +96697,15 @@ var _reactRedux = __webpack_require__(171); - var _TableQuickInput = __webpack_require__(582); + var _TableQuickInput = __webpack_require__(564); var _TableQuickInput2 = _interopRequireDefault(_TableQuickInput); - var _Tooltips = __webpack_require__(501); + var _Tooltips = __webpack_require__(565); var _Tooltips2 = _interopRequireDefault(_Tooltips); - var _keymap = __webpack_require__(490); + var _keymap = __webpack_require__(566); var _keymap2 = _interopRequireDefault(_keymap); @@ -100754,7 +96857,7 @@ ; /***/ }, -/* 582 */ +/* 564 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -100777,11 +96880,11 @@ var _reactRedux = __webpack_require__(171); - var _RawWidget = __webpack_require__(505); + var _RawWidget = __webpack_require__(492); var _RawWidget2 = _interopRequireDefault(_RawWidget); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); var _GenericActions = __webpack_require__(489); @@ -101090,7 +97193,190 @@ ; /***/ }, -/* 583 */ +/* 565 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Tooltips = function (_Component) { + _inherits(Tooltips, _Component); + + function Tooltips(props) { + _classCallCheck(this, Tooltips); + + var _this = _possibleConstructorReturn(this, (Tooltips.__proto__ || Object.getPrototypeOf(Tooltips)).call(this, props)); + + _this.state = { + opacity: 0 + }; + return _this; + } + + _createClass(Tooltips, [{ + key: 'componentDidMount', + value: function componentDidMount() { + var _this2 = this; + + var delay = this.props.delay; + + this.timeout = setTimeout(function () { + _this2.setState({ + opacity: 1 + }); + }, delay ? delay : 1000); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + clearTimeout(this.timeout); + } + }, { + key: 'render', + value: function render() { + var _props = this.props, + name = _props.name, + action = _props.action, + type = _props.type, + extraClass = _props.extraClass, + tooltipOnFirstlevelPositionLeft = _props.tooltipOnFirstlevelPositionLeft; + var opacity = this.state.opacity; + + return _react2.default.createElement( + 'div', + { style: { opacity: opacity } }, + _react2.default.createElement( + 'div', + { + className: 'tooltip-wrapp ' + (type ? 'tooltip-' + type : '') + ' ' + (extraClass ? extraClass : ''), + style: { left: tooltipOnFirstlevelPositionLeft + 'px' } + }, + _react2.default.createElement( + 'div', + { className: 'tooltip-shortcut' }, + name + ), + _react2.default.createElement( + 'div', + { className: 'tooltip-name' }, + action + ) + ) + ); + } + }]); + + return Tooltips; + }(_react.Component); + + var _default = Tooltips; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Tooltips, 'Tooltips', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tooltips/Tooltips.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tooltips/Tooltips.js'); + }(); + + ; + +/***/ }, +/* 566 */ +/***/ function(module, exports) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + /* Define your mod button*/ + + var mod = 'ctrl'; + + // DO NOT USE: + // mod + l - windows browser focusing address bar + + var _default = { + GLOBAL_CONTEXT: { + OPEN_ACTIONS_MENU: mod + '+' + '1', + OPEN_NAVIGATION_MENU: mod + '+' + '2', + OPEN_INBOX_MENU: mod + '+' + '3', + OPEN_SIDEBAR_MENU_0: mod + '+' + '4', + OPEN_SIDEBAR_MENU_1: mod + '+' + '5', + OPEN_SIDEBAR_MENU_2: mod + '+' + '6', + DOC_STATUS: mod + '+' + 'i', + + //=========== Document Context ================= + + OPEN_ADVANCED_EDIT: mod + '+' + 'e', + OPEN_PRINT_RAPORT: mod + '+' + 'p', + DELETE_DOCUMENT: mod + '+' + 'd', + NEW_DOCUMENT: mod + '+' + 'm' + }, + DOCUMENT_LIST_CONTEXT: { + OPEN_SELECTED: mod + '+' + 'b', //open document in new tab + REMOVE_SELECTED: mod + '+' + 'y', + ADVANCED_EDIT: mod + '+' + 'a', + //=================== POS ====================== + SELECT_ALL_LEAFS: mod + '+' + 's' + + }, + TABLE_CONTEXT: { + TOGGLE_QUICK_INPUT: mod + '+' + 'q', + TOGGLE_EXPAND: mod + '+' + 'space' + }, + PAGINATION_CONTEXT: { + NEXT_PAGE: 'pagedown', + PREV_PAGE: 'pageup', + FIRST_PAGE: 'home', + LAST_PAGE: 'end' + }, + QUICK_ACTIONS: { + QUICK_ACTION_POS: mod + '+' + 'u' + }, + DOCUMENT_STATUS_CONTEXT: { + COMPLETE_STATUS: mod + '+' + 'u' + } + }; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(mod, 'mod', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/keymap.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/keymap.js'); + }(); + + ; + +/***/ }, +/* 567 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -101111,11 +97397,11 @@ var _reactRedux = __webpack_require__(171); - var _TableCell = __webpack_require__(584); + var _TableCell = __webpack_require__(568); var _TableCell2 = _interopRequireDefault(_TableCell); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -101392,7 +97678,7 @@ case 'CU': return 'meta-icon-product'; case 'PP_Order_Receive': - return 'meta-icon-receive'; + return 'meta-icon-receipt'; case 'PP_Order_Issue': return 'meta-icon-issue'; } @@ -101512,7 +97798,7 @@ ; /***/ }, -/* 584 */ +/* 568 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -101531,7 +97817,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); @@ -101539,7 +97825,7 @@ var _moment2 = _interopRequireDefault(_moment); - var _MasterWidget = __webpack_require__(502); + var _MasterWidget = __webpack_require__(491); var _MasterWidget2 = _interopRequireDefault(_MasterWidget); @@ -101744,7 +98030,7 @@ ; /***/ }, -/* 585 */ +/* 569 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -101759,7 +98045,7 @@ var _react2 = _interopRequireDefault(_react); - var _PaginationContextShortcuts = __webpack_require__(586); + var _PaginationContextShortcuts = __webpack_require__(570); var _PaginationContextShortcuts2 = _interopRequireDefault(_PaginationContextShortcuts); @@ -101795,6 +98081,14 @@ return _this.__handleSecondDotsState__REACT_HOT_LOADER__.apply(_this, arguments); }; + _this.handleSelectWholePage = function () { + return _this.__handleSelectWholePage__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.resetGoToPage = function () { + return _this.__resetGoToPage__REACT_HOT_LOADER__.apply(_this, arguments); + }; + _this.renderGoToPage = function () { return _this.__renderGoToPage__REACT_HOT_LOADER__.apply(_this, arguments); }; @@ -101890,6 +98184,21 @@ } }); } + }, { + key: '__handleSelectWholePage__REACT_HOT_LOADER__', + value: function __handleSelectWholePage__REACT_HOT_LOADER__(value) { + this.setState({ + selectedWholePage: value + }); + } + }, { + key: '__resetGoToPage__REACT_HOT_LOADER__', + value: function __resetGoToPage__REACT_HOT_LOADER__() { + this.setState({ + secondDotsState: false, + firstDotsState: false + }); + } }, { key: '__renderGoToPage__REACT_HOT_LOADER__', value: function __renderGoToPage__REACT_HOT_LOADER__(pages, value) { @@ -101939,7 +98248,9 @@ className: 'page-item', key: 1, onClick: function onClick() { - handleChangePage(1);deselect(); + _this5.resetGoToPage(); + handleChangePage(1); + deselect(); } }, _react2.default.createElement( @@ -102001,7 +98312,9 @@ className: 'page-item', key: 9999, onClick: function onClick() { - handleChangePage(pages);deselect(); + _this6.resetGoToPage(); + handleChangePage(pages); + deselect(); } }, _react2.default.createElement( @@ -102016,6 +98329,8 @@ }, { key: '__renderPaginationContent__REACT_HOT_LOADER__', value: function __renderPaginationContent__REACT_HOT_LOADER__(pagination, page, start, end) { + var _this7 = this; + var _props4 = this.props, handleChangePage = _props4.handleChangePage, deselect = _props4.deselect, @@ -102028,7 +98343,9 @@ className: 'page-item ' + (page === i ? 'active' : ''), key: i, onClick: function onClick() { - handleChangePage(i);deselect(); + _this7.resetGoToPage(); + handleChangePage(i); + deselect(); } }, _react2.default.createElement( @@ -102072,29 +98389,37 @@ value: function __renderSelectAll__REACT_HOT_LOADER__() { var _props6 = this.props, selected = _props6.selected, - handleSelectAll = _props6.handleSelectAll; + handleSelectAll = _props6.handleSelectAll, + handleSelectRange = _props6.handleSelectRange, + size = _props6.size, + pageLength = _props6.pageLength; + var selectedWholePage = selected && selected.length === pageLength; return _react2.default.createElement( 'div', { className: 'hidden-sm-down' }, _react2.default.createElement( 'div', null, - selected.length > 0 ? selected.length + ' items selected' : 'No items selected' + selected.length > 0 ? (selected[0] === 'all' ? size : selected.length) + ' items selected' : 'No items selected' ), _react2.default.createElement( 'div', { className: 'pagination-link pointer', - onClick: handleSelectAll + onClick: function onClick() { + selectedWholePage ? handleSelectRange(['all']) : handleSelectAll(); + } }, - 'Select all on this page' + selectedWholePage ? 'Select all ' + size + ' items' : 'Select all on this page' ) ); } }, { key: '__renderArrow__REACT_HOT_LOADER__', value: function __renderArrow__REACT_HOT_LOADER__(left) { + var _this8 = this; + var _props7 = this.props, compressed = _props7.compressed, handleChangePage = _props7.handleChangePage, @@ -102108,6 +98433,7 @@ { className: 'page-link ' + (compressed ? 'page-link-compressed ' : ''), onClick: function onClick() { + _this8.resetGoToPage(); handleChangePage(left ? 'down' : 'up'); deselect(); } @@ -102158,7 +98484,7 @@ return _react2.default.createElement( 'div', - { className: 'pagination-wrapper' }, + { className: 'pagination-wrapper js-not-unselect' }, _react2.default.createElement( 'div', { className: 'pagination-row' }, @@ -102223,7 +98549,7 @@ ; /***/ }, -/* 586 */ +/* 570 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -102238,7 +98564,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactShortcuts = __webpack_require__(526); + var _reactShortcuts = __webpack_require__(514); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -102322,7 +98648,7 @@ ; /***/ }, -/* 587 */ +/* 571 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -102481,7 +98807,7 @@ ; /***/ }, -/* 588 */ +/* 572 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -102502,7 +98828,7 @@ var _reactRedux = __webpack_require__(171); - var _keymap = __webpack_require__(490); + var _keymap = __webpack_require__(566); var _keymap2 = _interopRequireDefault(_keymap); @@ -102671,7 +98997,7 @@ ; /***/ }, -/* 589 */ +/* 573 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -102686,7 +99012,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactShortcuts = __webpack_require__(526); + var _reactShortcuts = __webpack_require__(514); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -102780,7 +99106,7 @@ ; /***/ }, -/* 590 */ +/* 574 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -102795,7 +99121,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactShortcuts = __webpack_require__(526); + var _reactShortcuts = __webpack_require__(514); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -102872,7 +99198,124 @@ ; /***/ }, -/* 591 */ +/* 575 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.Process = undefined; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _MasterWidget = __webpack_require__(491); + + var _MasterWidget2 = _interopRequireDefault(_MasterWidget); + + var _WindowActions = __webpack_require__(487); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Process = exports.Process = function (_Component) { + _inherits(Process, _Component); + + function Process(props) { + _classCallCheck(this, Process); + + var _this = _possibleConstructorReturn(this, (Process.__proto__ || Object.getPrototypeOf(Process)).call(this, props)); + + _this.renderElements = function () { + return _this.__renderElements__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + return _this; + } + + _createClass(Process, [{ + key: '__renderElements__REACT_HOT_LOADER__', + value: function __renderElements__REACT_HOT_LOADER__(layout, data, type) { + var disabled = this.props.disabled; + + var elements = layout.elements; + return elements.map(function (elem, id) { + var widgetData = elem.fields.map(function (item) { + return (0, _WindowActions.findRowByPropName)(data, item.field); + }); + return _react2.default.createElement(_MasterWidget2.default, _extends({ + entity: 'process', + key: 'element' + id, + windowType: type, + dataId: layout.pinstanceId, + widgetData: widgetData, + isModal: true, + disabled: disabled, + autoFocus: id === 0 + }, elem)); + }); + } + }, { + key: 'render', + value: function render() { + var _props = this.props, + data = _props.data, + layout = _props.layout, + type = _props.type; + + return _react2.default.createElement( + 'div', + { key: 'window', className: 'window-wrapper process-wrapper' }, + layout && layout.elements && this.renderElements(layout, data, type) + ); + } + }]); + + return Process; + }(_react.Component); + + Process.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + exports.Process = Process = (0, _reactRedux.connect)()(Process); + + var _default = Process; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Process, 'Process', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Process.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Process.js'); + }(); + + ; + +/***/ }, +/* 576 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -102891,11 +99334,5930 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _FiltersFrequent = __webpack_require__(592); + var _reactRedux = __webpack_require__(171); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Indicator = function (_Component) { + _inherits(Indicator, _Component); + + function Indicator(props) { + _classCallCheck(this, Indicator); + + var _this = _possibleConstructorReturn(this, (Indicator.__proto__ || Object.getPrototypeOf(Indicator)).call(this, props)); + + _this.renderIndicator = function () { + return _this.__renderIndicator__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + return _this; + } + + _createClass(Indicator, [{ + key: '__renderIndicator__REACT_HOT_LOADER__', + value: function __renderIndicator__REACT_HOT_LOADER__(state) { + switch (state) { + case 'saved': + return 'indicator-success'; + case 'pending': + return 'indicator-pending'; + case 'error': + return 'indicator-error'; + } + } + }, { + key: 'render', + value: function render() { + var _props = this.props, + indicator = _props.indicator, + isDocumentNotSaved = _props.isDocumentNotSaved; + + + return _react2.default.createElement( + 'div', + null, + _react2.default.createElement('div', { className: 'indicator-bar ' + (isDocumentNotSaved ? 'indicator-error ' : 'indicator-' + indicator) }) + ); + } + }]); + + return Indicator; + }(_react.Component); + + function mapStateToProps(state) { + var windowHandler = state.windowHandler; + + var _ref = windowHandler || { + indicator: '' + }, + indicator = _ref.indicator; + + return { + indicator: indicator + }; + } + + Indicator.propTypes = { + indicator: _propTypes2.default.string.isRequired + }; + + Indicator = (0, _reactRedux.connect)(mapStateToProps)(Indicator); + + var _default = Indicator; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Indicator, 'Indicator', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Indicator.js'); + + __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Indicator.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Indicator.js'); + }(); + + ; + +/***/ }, +/* 577 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _MasterWidget = __webpack_require__(491); + + var _MasterWidget2 = _interopRequireDefault(_MasterWidget); + + var _RawWidget = __webpack_require__(492); + + var _RawWidget2 = _interopRequireDefault(_RawWidget); + + var _WindowActions = __webpack_require__(487); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var OverlayField = function (_Component) { + _inherits(OverlayField, _Component); + + function OverlayField(props) { + _classCallCheck(this, OverlayField); + + var _this = _possibleConstructorReturn(this, (OverlayField.__proto__ || Object.getPrototypeOf(OverlayField)).call(this, props)); + + _this.handleKeyDown = function () { + return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderElements = function () { + return _this.__renderElements__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderParameters = function () { + return _this.__renderParameters__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + return _this; + } + + _createClass(OverlayField, [{ + key: '__handleKeyDown__REACT_HOT_LOADER__', + value: function __handleKeyDown__REACT_HOT_LOADER__(e) { + var _props = this.props, + handleSubmit = _props.handleSubmit, + closeOverlay = _props.closeOverlay; + + switch (e.key) { + case 'Enter': + document.activeElement.blur(); + handleSubmit(); + break; + case 'Escape': + closeOverlay(); + break; + } + } + }, { + key: '__renderElements__REACT_HOT_LOADER__', + value: function __renderElements__REACT_HOT_LOADER__(layout, data, type) { + var disabled = this.props.disabled; + + var elements = layout.elements; + return elements.map(function (elem, id) { + var widgetData = elem.fields.map(function (item) { + return (0, _WindowActions.findRowByPropName)(data, item.field); + }); + return _react2.default.createElement(_MasterWidget2.default, _extends({ + entity: 'process', + key: 'element' + id, + windowType: type, + dataId: layout.pinstanceId, + widgetData: widgetData, + isModal: true, + disabled: disabled, + autoFocus: id === 0 + }, elem)); + }); + } + }, { + key: '__renderParameters__REACT_HOT_LOADER__', + value: function __renderParameters__REACT_HOT_LOADER__(layout) { + var _props2 = this.props, + windowType = _props2.windowType, + viewId = _props2.viewId, + onShow = _props2.onShow, + onHide = _props2.onHide, + handlePatch = _props2.handlePatch, + handleChange = _props2.handleChange; + + var parameters = layout.parameters; + return parameters.map(function (item, index) { + return _react2.default.createElement(_RawWidget2.default, _extends({ + entity: 'documentView', + subentity: 'filter', + subentityId: layout.filterId, + widgetType: item.widgetType, + fields: [item], + type: item.type, + widgetData: [item], + key: index, + id: index, + range: item.range, + caption: item.caption, + noLabel: false, + filterWidget: true, + autoFocus: index === 0, + textSelected: true + }, { handlePatch: handlePatch, handleChange: handleChange, windowType: windowType, onShow: onShow, onHide: onHide, + viewId: viewId })); + }); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var _props3 = this.props, + data = _props3.data, + layout = _props3.layout, + type = _props3.type, + filter = _props3.filter; + + + return _react2.default.createElement( + 'div', + { + className: 'overlay-field js-not-unselect', + onKeyDown: function onKeyDown(e) { + return _this2.handleKeyDown(e); + }, + tabIndex: -1 + }, + filter ? this.renderParameters(layout) : layout && layout.elements && this.renderElements(layout, data, type) + ); + } + }]); + + return OverlayField; + }(_react.Component); + + var _default = OverlayField; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(OverlayField, 'OverlayField', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/OverlayField.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/OverlayField.js'); + }(); + + ; + +/***/ }, +/* 578 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _Header = __webpack_require__(579); + + var _Header2 = _interopRequireDefault(_Header); + + var _ErrorScreen = __webpack_require__(609); + + var _ErrorScreen2 = _interopRequireDefault(_ErrorScreen); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Container = function (_Component) { + _inherits(Container, _Component); + + function Container(props) { + _classCallCheck(this, Container); + + return _possibleConstructorReturn(this, (Container.__proto__ || Object.getPrototypeOf(Container)).call(this, props)); + } + + _createClass(Container, [{ + key: 'render', + value: function render() { + var _props = this.props, + docActionElem = _props.docActionElem, + docStatusData = _props.docStatusData, + docNoData = _props.docNoData, + docId = _props.docId, + docSummaryData = _props.docSummaryData, + dataId = _props.dataId, + windowType = _props.windowType, + breadcrumb = _props.breadcrumb, + references = _props.references, + actions = _props.actions, + showSidelist = _props.showSidelist, + siteName = _props.siteName, + connectionError = _props.connectionError, + noMargin = _props.noMargin, + entity = _props.entity, + children = _props.children, + query = _props.query, + attachments = _props.attachments, + showIndicator = _props.showIndicator, + isDocumentNotSaved = _props.isDocumentNotSaved, + hideHeader = _props.hideHeader, + handleDeletedStatus = _props.handleDeletedStatus, + dropzoneFocused = _props.dropzoneFocused, + notfound = _props.notfound; + + + return _react2.default.createElement( + 'div', + null, + + // Forcing refresh component + !hideHeader && _react2.default.createElement(_Header2.default, _extends({ entity: entity, docStatusData: docStatusData, docNoData: docNoData, docSummaryData: docSummaryData, + handleDeletedStatus: handleDeletedStatus, isDocumentNotSaved: isDocumentNotSaved, + showIndicator: showIndicator, query: query, siteName: siteName, showSidelist: showSidelist, + attachments: attachments, actions: actions, references: references, windowType: windowType, + breadcrumb: breadcrumb, dataId: dataId, dropzoneFocused: dropzoneFocused, notfound: notfound, docId: docId + }, { + docStatus: docActionElem + })), + connectionError && _react2.default.createElement(_ErrorScreen2.default, null), + _react2.default.createElement( + 'div', + { + className: 'header-sticky-distance js-unselect ' + (noMargin ? 'dashboard' : 'container-fluid') + }, + children + ) + ); + } + }]); + + return Container; + }(_react.Component); + + Container.propTypes = { + connectionError: _propTypes2.default.bool + }; + + var mapStateToProps = function mapStateToProps(state) { + return { + connectionError: state.windowHandler.connectionError || false + }; + }; + + var _default = (0, _reactRedux.connect)(mapStateToProps)(Container); + + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Container, 'Container', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Container.js'); + + __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Container.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Container.js'); + }(); + + ; + +/***/ }, +/* 579 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _reactRouterRedux = __webpack_require__(236); + + var _metasfresh_logo_green_thumb = __webpack_require__(299); + + var _metasfresh_logo_green_thumb2 = _interopRequireDefault(_metasfresh_logo_green_thumb); + + var _SubHeader = __webpack_require__(580); + + var _SubHeader2 = _interopRequireDefault(_SubHeader); + + var _Breadcrumb = __webpack_require__(583); + + var _Breadcrumb2 = _interopRequireDefault(_Breadcrumb); + + var _MasterWidget = __webpack_require__(491); + + var _MasterWidget2 = _interopRequireDefault(_MasterWidget); + + var _SideList = __webpack_require__(592); + + var _SideList2 = _interopRequireDefault(_SideList); + + var _Indicator = __webpack_require__(576); + + var _Indicator2 = _interopRequireDefault(_Indicator); + + var _Inbox = __webpack_require__(606); + + var _Inbox2 = _interopRequireDefault(_Inbox); + + var _Tooltips = __webpack_require__(565); + + var _Tooltips2 = _interopRequireDefault(_Tooltips); + + var _Prompt = __webpack_require__(562); + + var _Prompt2 = _interopRequireDefault(_Prompt); + + var _WindowActions = __webpack_require__(487); + + var _GenericActions = __webpack_require__(489); + + var _keymap = __webpack_require__(566); + + var _keymap2 = _interopRequireDefault(_keymap); + + var _GlobalContextShortcuts = __webpack_require__(608); + + var _GlobalContextShortcuts2 = _interopRequireDefault(_GlobalContextShortcuts); + + var _reactShortcuts = __webpack_require__(514); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var shortcutManager = new _reactShortcuts.ShortcutManager(_keymap2.default); + + var Header = function (_Component) { + _inherits(Header, _Component); + + function Header(props) { + _classCallCheck(this, Header); + + var _this = _possibleConstructorReturn(this, (Header.__proto__ || Object.getPrototypeOf(Header)).call(this, props)); + + _this.componentWillUpdate = function () { + return _this.__componentWillUpdate__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.getChildContext = function () { + return _this.__getChildContext__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleInboxOpen = function () { + return _this.__handleInboxOpen__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleMenuOverlay = function () { + return _this.__handleMenuOverlay__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleScroll = function () { + return _this.__handleScroll__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleDashboardLink = function () { + return _this.__handleDashboardLink__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleScrollScope = function () { + return _this.__toggleScrollScope__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleTooltip = function () { + return _this.__toggleTooltip__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.openModal = function () { + return _this.__openModal__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handlePrint = function () { + return _this.__handlePrint__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleDelete = function () { + return _this.__handleDelete__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handlePromptCancelClick = function () { + return _this.__handlePromptCancelClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handlePromptSubmitClick = function () { + return _this.__handlePromptSubmitClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleDocStatusToggle = function () { + return _this.__handleDocStatusToggle__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleSidelistToggle = function () { + return _this.__handleSidelistToggle__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.closeOverlays = function () { + return _this.__closeOverlays__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.redirect = function () { + return _this.__redirect__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + isSubheaderShow: false, + isSideListShow: false, + sideListTab: null, + isMenuOverlayShow: false, + menuOverlay: null, + scrolled: false, + isInboxOpen: false, + tooltipOpen: '', + prompt: { + open: false + } + }; + return _this; + } + + _createClass(Header, [{ + key: 'componentDidMount', + value: function componentDidMount() { + document.addEventListener('scroll', this.handleScroll); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + document.removeEventListener('scroll', this.handleScroll); + this.toggleScrollScope(false); + } + }, { + key: '__componentWillUpdate__REACT_HOT_LOADER__', + value: function __componentWillUpdate__REACT_HOT_LOADER__(nextProps) { + var dropzoneFocused = this.props.dropzoneFocused; + + if (nextProps.dropzoneFocused !== dropzoneFocused && nextProps.dropzoneFocused) { + this.closeOverlays(); + } + } + }, { + key: '__getChildContext__REACT_HOT_LOADER__', + value: function __getChildContext__REACT_HOT_LOADER__() { + return { shortcuts: shortcutManager }; + } + }, { + key: '__handleInboxOpen__REACT_HOT_LOADER__', + value: function __handleInboxOpen__REACT_HOT_LOADER__(state) { + this.setState({ + isInboxOpen: !!state + }); + } + }, { + key: '__handleMenuOverlay__REACT_HOT_LOADER__', + value: function __handleMenuOverlay__REACT_HOT_LOADER__(e, nodeId) { + var _this2 = this; + + var _state = this.state, + isSubheaderShow = _state.isSubheaderShow, + isSideListShow = _state.isSideListShow; + + e && e.preventDefault(); + + var toggleBreadcrumb = function toggleBreadcrumb() { + _this2.setState({ + menuOverlay: nodeId + }, function () { + if (nodeId !== '') { + _this2.setState({ + isMenuOverlayShow: true + }); + } else { + _this2.setState({ + isMenuOverlayShow: false + }); + } + }); + }; + + if (!isSubheaderShow && !isSideListShow) { + toggleBreadcrumb(); + } + } + }, { + key: '__handleScroll__REACT_HOT_LOADER__', + value: function __handleScroll__REACT_HOT_LOADER__(event) { + var scrollTop = event.srcElement.body.scrollTop; + + if (scrollTop > 0) { + this.setState({ + scrolled: true + }); + } else { + this.setState({ + scrolled: false + }); + } + } + }, { + key: '__handleDashboardLink__REACT_HOT_LOADER__', + value: function __handleDashboardLink__REACT_HOT_LOADER__() { + var dispatch = this.props.dispatch; + + dispatch((0, _reactRouterRedux.push)('/')); + } + }, { + key: '__toggleScrollScope__REACT_HOT_LOADER__', + value: function __toggleScrollScope__REACT_HOT_LOADER__(open) { + if (!open) { + document.body.style.overflow = 'auto'; + } else { + document.body.style.overflow = 'hidden'; + } + } + }, { + key: '__toggleTooltip__REACT_HOT_LOADER__', + value: function __toggleTooltip__REACT_HOT_LOADER__(tooltip) { + this.setState({ + tooltipOpen: tooltip + }); + } + }, { + key: '__openModal__REACT_HOT_LOADER__', + value: function __openModal__REACT_HOT_LOADER__(windowType, type, caption, isAdvanced) { + var _props = this.props, + dispatch = _props.dispatch, + query = _props.query; + + dispatch((0, _WindowActions.openModal)(caption, windowType, type, null, null, isAdvanced, query && query.viewId)); + } + }, { + key: '__handlePrint__REACT_HOT_LOADER__', + value: function __handlePrint__REACT_HOT_LOADER__(windowType, docId, docNo) { + var dispatch = this.props.dispatch; + + + dispatch((0, _GenericActions.openFile)('window', windowType, docId, 'print', windowType + '_' + (docNo ? docNo : docId) + '.pdf')); + } + }, { + key: '__handleDelete__REACT_HOT_LOADER__', + value: function __handleDelete__REACT_HOT_LOADER__() { + this.setState({ + prompt: Object.assign({}, this.state.prompt, { + open: true + }) + }); + } + }, { + key: '__handlePromptCancelClick__REACT_HOT_LOADER__', + value: function __handlePromptCancelClick__REACT_HOT_LOADER__() { + this.setState({ + prompt: Object.assign({}, this.state.prompt, { + open: false + }) + }); + } + }, { + key: '__handlePromptSubmitClick__REACT_HOT_LOADER__', + value: function __handlePromptSubmitClick__REACT_HOT_LOADER__(windowType, docId) { + var _props2 = this.props, + dispatch = _props2.dispatch, + handleDeletedStatus = _props2.handleDeletedStatus; + + + this.setState({ + prompt: Object.assign({}, this.state.prompt, { + open: false + }) + }, function () { + dispatch((0, _GenericActions.deleteRequest)('window', windowType, null, null, [docId])).then(function () { + handleDeletedStatus(true); + dispatch((0, _reactRouterRedux.push)('/window/' + windowType)); + }); + }); + } + }, { + key: '__handleDocStatusToggle__REACT_HOT_LOADER__', + value: function __handleDocStatusToggle__REACT_HOT_LOADER__(close) { + var elem = document.getElementsByClassName('js-dropdown-toggler')[0]; + + if (close) { + elem.blur(); + } else { + if (document.activeElement === elem) { + elem.blur(); + } else { + elem.focus(); + } + } + } + }, { + key: '__handleSidelistToggle__REACT_HOT_LOADER__', + value: function __handleSidelistToggle__REACT_HOT_LOADER__() { + var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + var sideListTab = arguments[1]; + + + this.toggleScrollScope(id !== null); + + this.setState({ + isSideListShow: id !== null && id !== sideListTab, + sideListTab: id !== sideListTab ? id : null + }); + } + }, { + key: '__closeOverlays__REACT_HOT_LOADER__', + value: function __closeOverlays__REACT_HOT_LOADER__(clickedItem, callback) { + var isSubheaderShow = this.state.isSubheaderShow; + + + this.setState({ + menuOverlay: null, + isMenuOverlayShow: false, + isInboxOpen: false, + isSideListShow: false, + sideListTab: null, + isSubheaderShow: clickedItem == 'isSubheaderShow' ? !isSubheaderShow : false, + tooltipOpen: '' + }, callback); + + if (document.getElementsByClassName('js-dropdown-toggler')[0] && clickedItem != 'dropdown') { + this.handleDocStatusToggle(true); + } + } + }, { + key: '__redirect__REACT_HOT_LOADER__', + value: function __redirect__REACT_HOT_LOADER__(where) { + var dispatch = this.props.dispatch; + + dispatch((0, _reactRouterRedux.push)(where)); + } + }, { + key: 'render', + value: function render() { + var _this3 = this; + + var _props3 = this.props, + docSummaryData = _props3.docSummaryData, + siteName = _props3.siteName, + docNoData = _props3.docNoData, + docStatus = _props3.docStatus, + docStatusData = _props3.docStatusData, + windowType = _props3.windowType, + dataId = _props3.dataId, + breadcrumb = _props3.breadcrumb, + showSidelist = _props3.showSidelist, + inbox = _props3.inbox, + selected = _props3.selected, + entity = _props3.entity, + query = _props3.query, + showIndicator = _props3.showIndicator, + isDocumentNotSaved = _props3.isDocumentNotSaved, + selectedWindowType = _props3.selectedWindowType, + notfound = _props3.notfound, + docId = _props3.docId; + var _state2 = this.state, + isSubheaderShow = _state2.isSubheaderShow, + isSideListShow = _state2.isSideListShow, + menuOverlay = _state2.menuOverlay, + isInboxOpen = _state2.isInboxOpen, + scrolled = _state2.scrolled, + isMenuOverlayShow = _state2.isMenuOverlayShow, + tooltipOpen = _state2.tooltipOpen, + prompt = _state2.prompt, + sideListTab = _state2.sideListTab; + + + return _react2.default.createElement( + 'div', + null, + prompt.open && _react2.default.createElement(_Prompt2.default, { + title: 'Delete', + text: 'Are you sure?', + buttons: { submit: 'Delete', cancel: 'Cancel' }, + onCancelClick: this.handlePromptCancelClick, + onSubmitClick: function onSubmitClick() { + return _this3.handlePromptSubmitClick(windowType, dataId); + } + }), + _react2.default.createElement( + 'nav', + { + className: 'header header-super-faded js-not-unselect ' + (scrolled ? 'header-shadow' : '') + }, + _react2.default.createElement( + 'div', + { className: 'container-fluid' }, + _react2.default.createElement( + 'div', + { className: 'header-container' }, + _react2.default.createElement( + 'div', + { className: 'header-left-side' }, + _react2.default.createElement( + 'div', + { + onClick: function onClick() { + return _this3.closeOverlays('isSubheaderShow'); + }, + onMouseEnter: function onMouseEnter() { + return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.OPEN_ACTIONS_MENU); + }, + onMouseLeave: function onMouseLeave() { + return _this3.toggleTooltip(''); + }, + className: 'btn-square btn-header ' + 'tooltip-parent ' + (isSubheaderShow ? 'btn-meta-default-dark ' + 'btn-subheader-open btn-header-open' : 'btn-meta-primary') + }, + _react2.default.createElement('i', { className: 'meta-icon-more' }), + tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.OPEN_ACTIONS_MENU && _react2.default.createElement(_Tooltips2.default, { + name: _keymap2.default.GLOBAL_CONTEXT.OPEN_ACTIONS_MENU, + action: 'Action menu', + type: '' + }) + ), + _react2.default.createElement(_Breadcrumb2.default, _extends({ breadcrumb: breadcrumb, windowType: windowType, docSummaryData: docSummaryData, + dataId: dataId, siteName: siteName, menuOverlay: menuOverlay, docId: docId, + isDocumentNotSaved: isDocumentNotSaved }, { + handleMenuOverlay: this.handleMenuOverlay, + openModal: this.openModal + })) + ), + _react2.default.createElement( + 'div', + { className: 'header-center' }, + _react2.default.createElement('img', { + src: _metasfresh_logo_green_thumb2.default, + className: 'header-logo pointer', + onClick: function onClick() { + return _this3.handleDashboardLink(); + } + }) + ), + _react2.default.createElement( + 'div', + { className: 'header-right-side' }, + docStatus && _react2.default.createElement( + 'div', + { + className: 'hidden-sm-down tooltip-parent', + onClick: function onClick() { + return _this3.toggleTooltip(''); + }, + onMouseEnter: function onMouseEnter() { + return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.DOC_STATUS); + }, + onMouseLeave: function onMouseLeave() { + return _this3.toggleTooltip(''); + } + }, + _react2.default.createElement(_MasterWidget2.default, _extends({ + entity: 'window', + windowType: windowType, + dataId: dataId, + widgetData: [docStatusData], + noLabel: true, + type: 'primary', + dropdownOpenCallback: function dropdownOpenCallback() { + _this3.closeOverlays('dropdown'); + } + }, docStatus)), + tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.DOC_STATUS && _react2.default.createElement(_Tooltips2.default, { + name: _keymap2.default.GLOBAL_CONTEXT.DOC_STATUS, + action: 'Doc status', + type: '' + }) + ), + _react2.default.createElement( + 'div', + { + className: 'header-item-container ' + 'header-item-container-static ' + 'pointer tooltip-parent ' + (isInboxOpen ? 'header-item-open ' : ''), + onClick: function onClick() { + return _this3.closeOverlays('', function () { + return _this3.handleInboxOpen(true); + }); + }, + onMouseEnter: function onMouseEnter() { + return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.OPEN_INBOX_MENU); + }, + onMouseLeave: function onMouseLeave() { + return _this3.toggleTooltip(''); + } + }, + _react2.default.createElement( + 'span', + { + className: 'header-item header-item-badge icon-lg' + }, + _react2.default.createElement('i', { + className: 'meta-icon-notifications' + }), + inbox.unreadCount > 0 && _react2.default.createElement( + 'span', + { + className: 'notification-number' + }, + inbox.unreadCount + ) + ), + tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.OPEN_INBOX_MENU && _react2.default.createElement(_Tooltips2.default, { + name: _keymap2.default.GLOBAL_CONTEXT.OPEN_INBOX_MENU, + action: 'Inbox', + type: '' + }) + ), + _react2.default.createElement(_Inbox2.default, { + open: isInboxOpen, + close: this.handleInboxOpen, + disableOnClickOutside: !isInboxOpen, + inbox: inbox + }), + showSidelist && _react2.default.createElement( + 'div', + { + className: 'tooltip-parent btn-header ' + 'side-panel-toggle btn-square ' + (isSideListShow ? 'btn-meta-default-bright ' + 'btn-header-open' : 'btn-meta-primary'), + onClick: function onClick() { + _this3.closeOverlays(); + _this3.handleSidelistToggle(0); + }, + onMouseEnter: function onMouseEnter() { + return _this3.toggleTooltip(_keymap2.default.GLOBAL_CONTEXT.OPEN_SIDEBAR_MENU_0); + }, + onMouseLeave: function onMouseLeave() { + return _this3.toggleTooltip(''); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-list' }), + tooltipOpen === _keymap2.default.GLOBAL_CONTEXT.OPEN_SIDEBAR_MENU_0 && _react2.default.createElement(_Tooltips2.default, { + name: _keymap2.default.GLOBAL_CONTEXT.OPEN_SIDEBAR_MENU_0, + action: 'Side list', + type: '' + }) + ) + ) + ) + ), + showIndicator && _react2.default.createElement(_Indicator2.default, { isDocumentNotSaved: isDocumentNotSaved }) + ), + isSubheaderShow && _react2.default.createElement(_SubHeader2.default, { + dataId: dataId, + windowType: windowType, + closeSubheader: function closeSubheader() { + return _this3.closeOverlays('isSubheaderShow'); + }, + docNo: docNoData && docNoData.value, + openModal: this.openModal, + handlePrint: this.handlePrint, + handleDelete: this.handleDelete, + redirect: this.redirect, + selected: selected, + selectedWindowType: selectedWindowType, + entity: entity, + disableOnClickOutside: !isSubheaderShow, + query: query, + notfound: notfound + }), + showSidelist && isSideListShow && _react2.default.createElement(_SideList2.default, { + windowType: windowType ? windowType : '', + closeOverlays: this.closeOverlays, + closeSideList: this.handleSidelistToggle, + isSideListShow: isSideListShow, + disableOnClickOutside: !showSidelist, + docId: dataId, + defaultTab: sideListTab, + open: true + }), + _react2.default.createElement(_GlobalContextShortcuts2.default, { + handleSidelistToggle: function handleSidelistToggle(id) { + return showSidelist && _this3.handleSidelistToggle(id, sideListTab); + }, + handleMenuOverlay: isMenuOverlayShow ? function () { + return _this3.handleMenuOverlay('', ''); + } : function () { + return _this3.closeOverlays('', function () { + return _this3.handleMenuOverlay('', '0'); + }); + }, + handleInboxOpen: isInboxOpen ? function () { + return _this3.handleInboxOpen(false); + } : function () { + return _this3.handleInboxOpen(true); + }, + openModal: dataId ? function () { + return _this3.openModal(windowType, 'window', 'Advanced edit', true); + } : '', + handlePrint: dataId ? function () { + return _this3.handlePrint(windowType, dataId, docNoData.value); + } : '', + handleDelete: dataId ? this.handleDelete : '', + redirect: windowType ? function () { + return _this3.redirect('/window/' + windowType + '/new'); + } : '', + handleDocStatusToggle: document.getElementsByClassName('js-dropdown-toggler')[0] ? this.handleDocStatusToggle : '', + closeOverlays: this.closeOverlays + }) + ); + } + }]); + + return Header; + }(_react.Component); + + Header.propTypes = { + dispatch: _propTypes2.default.func.isRequired, + selected: _propTypes2.default.array.isRequired, + inbox: _propTypes2.default.object.isRequired + }; + + function mapStateToProps(state) { + var windowHandler = state.windowHandler, + appHandler = state.appHandler; + + var _ref = appHandler || { + inbox: {} + }, + inbox = _ref.inbox; + + var _ref2 = windowHandler || { + selected: [], + selectedWindowType: null + }, + selected = _ref2.selected, + selectedWindowType = _ref2.selectedWindowType; + + return { + selected: selected, + inbox: inbox, + selectedWindowType: selectedWindowType + }; + } + + Header.childContextTypes = { + shortcuts: _propTypes2.default.object.isRequired + }; + + Header = (0, _reactRedux.connect)(mapStateToProps)(Header); + + var _default = Header; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(shortcutManager, 'shortcutManager', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); + + __REACT_HOT_LOADER__.register(Header, 'Header', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); + + __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Header.js'); + }(); + + ; + +/***/ }, +/* 580 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _reactOnclickoutside = __webpack_require__(503); + + var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); + + var _Actions = __webpack_require__(581); + + var _Actions2 = _interopRequireDefault(_Actions); + + var _keymap = __webpack_require__(566); + + var _keymap2 = _interopRequireDefault(_keymap); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Subheader = function (_Component) { + _inherits(Subheader, _Component); + + function Subheader(props) { + _classCallCheck(this, Subheader); + + var _this = _possibleConstructorReturn(this, (Subheader.__proto__ || Object.getPrototypeOf(Subheader)).call(this, props)); + + _this.handleKeyDown = function () { + return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClickOutside = function () { + return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleAttachmentDelete = function () { + return _this.__toggleAttachmentDelete__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.getColumnActiveElem = function () { + return _this.__getColumnActiveElem__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.getItemActiveElem = function () { + return _this.__getItemActiveElem__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderNavColumn = function () { + return _this.__renderNavColumn__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderActionsColumn = function () { + return _this.__renderActionsColumn__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + pdfSrc: null + }; + return _this; + } + + _createClass(Subheader, [{ + key: 'componentDidMount', + value: function componentDidMount() { + document.getElementsByClassName('js-subheader-column')[0].focus(); + } + }, { + key: '__handleKeyDown__REACT_HOT_LOADER__', + value: function __handleKeyDown__REACT_HOT_LOADER__(e) { + var closeSubheader = this.props.closeSubheader; + + + switch (e.key) { + case 'ArrowDown': + { + e.preventDefault(); + var activeElem = this.getItemActiveElem(); + if (activeElem.nextSibling) { + activeElem.nextSibling.focus(); + } + break; + } + case 'ArrowUp': + { + e.preventDefault(); + var activeEl = this.getItemActiveElem(); + if (activeEl.previousSibling) { + activeEl.previousSibling.focus(); + } + break; + } + case 'ArrowLeft': + { + e.preventDefault(); + var activeColumn = this.getColumnActiveElem(); + if (activeColumn.previousSibling) { + activeColumn.previousSibling.focus(); + if (this.getItemActiveElem().nextSibling) { + this.getItemActiveElem().nextSibling.focus(); + } + } + break; + } + case 'ArrowRight': + { + e.preventDefault(); + var activeCol = this.getColumnActiveElem(); + if (activeCol.nextSibling) { + activeCol.nextSibling.focus(); + if (this.getItemActiveElem().nextSibling) { + this.getItemActiveElem().nextSibling.focus(); + } + } + break; + } + case 'Enter': + e.preventDefault(); + document.activeElement.click(); + break; + case 'Escape': + e.preventDefault(); + closeSubheader(); + break; + } + } + }, { + key: '__handleClickOutside__REACT_HOT_LOADER__', + value: function __handleClickOutside__REACT_HOT_LOADER__() { + var closeSubheader = this.props.closeSubheader; + + closeSubheader(); + } + }, { + key: '__toggleAttachmentDelete__REACT_HOT_LOADER__', + value: function __toggleAttachmentDelete__REACT_HOT_LOADER__(value) { + this.setState({ + attachmentHovered: value + }); + } + }, { + key: '__getColumnActiveElem__REACT_HOT_LOADER__', + value: function __getColumnActiveElem__REACT_HOT_LOADER__() { + var active = document.activeElement; + if (active.classList.contains('js-subheader-item')) { + return active.parentNode; + } else { + return active; + } + } + }, { + key: '__getItemActiveElem__REACT_HOT_LOADER__', + value: function __getItemActiveElem__REACT_HOT_LOADER__() { + var active = document.activeElement; + if (active.classList.contains('js-subheader-column')) { + var child = active.childNodes; + if (child[0] && child[0].classList.contains('js-spacer')) { + return child[0]; + } else { + return child[1]; + } + } else { + return active; + } + } + }, { + key: '__renderNavColumn__REACT_HOT_LOADER__', + value: function __renderNavColumn__REACT_HOT_LOADER__() { + var _props = this.props, + dataId = _props.dataId, + windowType = _props.windowType, + openModal = _props.openModal, + closeSubheader = _props.closeSubheader, + handlePrint = _props.handlePrint, + handleDelete = _props.handleDelete, + docNo = _props.docNo, + redirect = _props.redirect; + + + var docLinks = dataId && [_react2.default.createElement( + 'div', + { + key: 0, + className: 'subheader-item js-subheader-item', + tabIndex: 0, + onClick: function onClick() { + openModal(windowType, 'window', 'Advanced edit', true); + closeSubheader(); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-edit' }), + ' Advanced Edit', + _react2.default.createElement( + 'span', + { className: 'tooltip-inline' }, + _keymap2.default.GLOBAL_CONTEXT.OPEN_ADVANCED_EDIT + ) + ), _react2.default.createElement( + 'div', + { + key: 1, + className: 'subheader-item js-subheader-item', + tabIndex: 0, + onClick: function onClick() { + handlePrint(windowType, dataId, docNo);closeSubheader(); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-print' }), + ' Print', + _react2.default.createElement( + 'span', + { className: 'tooltip-inline' }, + _keymap2.default.GLOBAL_CONTEXT.OPEN_PRINT_RAPORT + ) + ), _react2.default.createElement( + 'div', + { + key: 3, + className: 'subheader-item js-subheader-item', + tabIndex: 0, + onClick: function onClick() { + return handleDelete(); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-delete' }), + ' Delete', + _react2.default.createElement( + 'span', + { className: 'tooltip-inline' }, + _keymap2.default.GLOBAL_CONTEXT.DELETE_DOCUMENT + ) + )]; + + return _react2.default.createElement( + 'div', + { + className: 'subheader-column js-subheader-column', + tabIndex: 0 + }, + _react2.default.createElement('div', { className: 'js-spacer' }), + windowType && _react2.default.createElement( + 'div', + { + className: 'subheader-item js-subheader-item', + tabIndex: 0, + onClick: function onClick() { + redirect('/window/' + windowType + '/new');closeSubheader(); + } }, + _react2.default.createElement('i', { className: 'meta-icon-report-1' }), + ' New', + _react2.default.createElement( + 'span', + { className: 'tooltip-inline' }, + _keymap2.default.GLOBAL_CONTEXT.NEW_DOCUMENT + ) + ), + docLinks, + _react2.default.createElement( + 'div', + { + className: 'subheader-item js-subheader-item', + tabIndex: 0, + onClick: function onClick() { + return redirect('/settings'); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-settings' }), + ' Settings' + ), + _react2.default.createElement( + 'div', + { + className: 'subheader-item js-subheader-item', + tabIndex: 0, + onClick: function onClick() { + return redirect('/logout'); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-logout' }), + ' Log out' + ) + ); + } + }, { + key: '__renderActionsColumn__REACT_HOT_LOADER__', + value: function __renderActionsColumn__REACT_HOT_LOADER__() { + var _props2 = this.props, + windowType = _props2.windowType, + dataId = _props2.dataId, + selected = _props2.selected, + selectedWindowType = _props2.selectedWindowType, + entity = _props2.entity, + query = _props2.query, + openModal = _props2.openModal, + closeSubheader = _props2.closeSubheader, + notfound = _props2.notfound; + + + return _react2.default.createElement(_Actions2.default, _extends({ windowType: windowType, entity: entity, openModal: openModal, closeSubheader: closeSubheader, notfound: notfound }, { + docId: dataId ? dataId : query && query.viewId, + rowId: selectedWindowType === windowType ? selected : [] + })); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + return _react2.default.createElement( + 'div', + { + className: 'subheader-container overlay-shadow subheader-open js-not-unselect', + tabIndex: 0, + onKeyDown: this.handleKeyDown, + ref: function ref(c) { + return _this2.subHeader = c; + } + }, + _react2.default.createElement( + 'div', + { className: 'container-fluid-subheader container-fluid' }, + _react2.default.createElement( + 'div', + { className: 'subheader-row' }, + this.renderNavColumn(), + this.renderActionsColumn() + ) + ) + ); + } + }]); + + return Subheader; + }(_react.Component); + + Subheader.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + Subheader = (0, _reactRedux.connect)()((0, _reactOnclickoutside2.default)(Subheader)); + + var _default = Subheader; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Subheader, 'Subheader', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SubHeader.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SubHeader.js'); + }(); + + ; + +/***/ }, +/* 581 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _Loader = __webpack_require__(582); + + var _Loader2 = _interopRequireDefault(_Loader); + + var _GenericActions = __webpack_require__(489); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Actions = function (_Component) { + _inherits(Actions, _Component); + + function Actions(props) { + _classCallCheck(this, Actions); + + var _this = _possibleConstructorReturn(this, (Actions.__proto__ || Object.getPrototypeOf(Actions)).call(this, props)); + + _this.componentDidMount = function () { + return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderData = function () { + return _this.__renderData__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + data: [] + }; + return _this; + } + + _createClass(Actions, [{ + key: '__componentDidMount__REACT_HOT_LOADER__', + value: function __componentDidMount__REACT_HOT_LOADER__() { + var _this2 = this; + + var _props = this.props, + dispatch = _props.dispatch, + windowType = _props.windowType, + entity = _props.entity, + docId = _props.docId, + rowId = _props.rowId, + notfound = _props.notfound; + + + if (!windowType || docId === 'notfound' || notfound) { + return; + } + + dispatch((0, _GenericActions.actionsRequest)(entity, windowType, docId, rowId)).then(function (response) { + _this2.setState({ + data: response.data.actions + }); + }); + } + }, { + key: '__renderData__REACT_HOT_LOADER__', + value: function __renderData__REACT_HOT_LOADER__() { + var _props2 = this.props, + closeSubheader = _props2.closeSubheader, + openModal = _props2.openModal; + var data = this.state.data; + + + return data && data.length ? data.map(function (item, key) { + return _react2.default.createElement( + 'div', + { + className: 'subheader-item js-subheader-item', + onClick: function onClick() { + openModal(item.processId + '', 'process', item.caption); + closeSubheader(); + }, + key: key, + tabIndex: 0 + }, + item.caption + ); + }) : _react2.default.createElement( + 'div', + { className: 'subheader-item subheader-item-disabled' }, + 'There is no actions' + ); + } + }, { + key: 'render', + value: function render() { + var data = this.state.data; + + return _react2.default.createElement( + 'div', + { + className: 'subheader-column js-subheader-column', + tabIndex: 0 + }, + _react2.default.createElement( + 'div', + { className: 'subheader-header' }, + 'Actions' + ), + _react2.default.createElement('div', { className: 'subheader-break' }), + !data ? _react2.default.createElement(_Loader2.default, null) : this.renderData() + ); + } + }]); + + return Actions; + }(_react.Component); + + Actions.propTypes = { + windowType: _propTypes2.default.string, + dispatch: _propTypes2.default.func.isRequired + }; + + Actions = (0, _reactRedux.connect)()(Actions); + + var _default = Actions; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Actions, 'Actions', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Actions.js'); + }(); + + ; + +/***/ }, +/* 582 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _reactAddonsCssTransitionGroup = __webpack_require__(301); + + var _reactAddonsCssTransitionGroup2 = _interopRequireDefault(_reactAddonsCssTransitionGroup); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Loader = function (_Component) { + _inherits(Loader, _Component); + + function Loader(props) { + _classCallCheck(this, Loader); + + return _possibleConstructorReturn(this, (Loader.__proto__ || Object.getPrototypeOf(Loader)).call(this, props)); + } + + _createClass(Loader, [{ + key: 'render', + value: function render() { + return _react2.default.createElement( + 'div', + { + className: 'order-list-loader text-xs-center' + }, + _react2.default.createElement( + _reactAddonsCssTransitionGroup2.default, + { + transitionName: 'rotate', + transitionEnterTimeout: 1000, + transitionLeaveTimeout: 1000 + }, + _react2.default.createElement( + 'div', + { className: 'rotate icon-rotate' }, + _react2.default.createElement('i', { className: 'meta-icon-settings' }) + ) + ) + ); + } + }]); + + return Loader; + }(_react.Component); + + var _default = Loader; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Loader, 'Loader', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Loader.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Loader.js'); + }(); + + ; + +/***/ }, +/* 583 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _reactRouterRedux = __webpack_require__(236); + + var _MenuOverlay = __webpack_require__(584); + + var _MenuOverlay2 = _interopRequireDefault(_MenuOverlay); + + var _Tooltips = __webpack_require__(565); + + var _Tooltips2 = _interopRequireDefault(_Tooltips); + + var _keymap = __webpack_require__(566); + + var _keymap2 = _interopRequireDefault(_keymap); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Breadcrumb = function (_Component) { + _inherits(Breadcrumb, _Component); + + function Breadcrumb(props) { + _classCallCheck(this, Breadcrumb); + + var _this = _possibleConstructorReturn(this, (Breadcrumb.__proto__ || Object.getPrototypeOf(Breadcrumb)).call(this, props)); + + _this.linkToPage = function () { + return _this.__linkToPage__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleTooltip = function () { + return _this.__toggleTooltip__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleTooltipOnFirstLevel = function () { + return _this.__toggleTooltipOnFirstLevel__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.closeTooltips = function () { + return _this.__closeTooltips__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClick = function () { + return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderBtn = function () { + return _this.__renderBtn__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + tooltipOpen: false, + tooltipOnFirstlevel: false, + tooltipOnFirstlevelPositionLeft: 0 + }; + return _this; + } + + _createClass(Breadcrumb, [{ + key: '__linkToPage__REACT_HOT_LOADER__', + value: function __linkToPage__REACT_HOT_LOADER__(page) { + var dispatch = this.props.dispatch; + + dispatch((0, _reactRouterRedux.push)('/window/' + page)); + } + }, { + key: '__toggleTooltip__REACT_HOT_LOADER__', + value: function __toggleTooltip__REACT_HOT_LOADER__(tooltip) { + this.setState({ + tooltipOpen: tooltip + }); + } + }, { + key: '__toggleTooltipOnFirstLevel__REACT_HOT_LOADER__', + value: function __toggleTooltipOnFirstLevel__REACT_HOT_LOADER__(showTooltip) { + var breadcrumbWrapper = document.getElementsByClassName('header-breadcrumb-wrapper')[0]; + var breadcrumbWrapperLeft = breadcrumbWrapper && breadcrumbWrapper.getBoundingClientRect().left; + var elem = document.getElementsByClassName('header-item-last-level')[0]; + var elemWidth = elem && elem.offsetWidth; + var elemLeft = elem && elem.getBoundingClientRect().left; + + var tooltipPositionLeft = elemLeft + 0.5 * elemWidth - breadcrumbWrapperLeft; + + this.setState({ + tooltipOnFirstlevel: showTooltip, + tooltipOnFirstlevelPositionLeft: tooltipPositionLeft + }); + } + }, { + key: '__closeTooltips__REACT_HOT_LOADER__', + value: function __closeTooltips__REACT_HOT_LOADER__() { + this.setState({ + tooltipOpen: false, + tooltipOnFirstlevel: false + }); + } + }, { + key: '__handleClick__REACT_HOT_LOADER__', + value: function __handleClick__REACT_HOT_LOADER__(e, menu) { + var _props = this.props, + handleMenuOverlay = _props.handleMenuOverlay, + windowType = _props.windowType, + dataId = _props.dataId; + + + if (menu && menu.children && menu.children.elementId) { + windowType && dataId && this.linkToPage(windowType); + } else { + handleMenuOverlay(e, menu.nodeId); + } + + this.toggleTooltip(false); + } + }, { + key: '__renderBtn__REACT_HOT_LOADER__', + value: function __renderBtn__REACT_HOT_LOADER__(menu, index) { + var _this2 = this; + + var _props2 = this.props, + handleMenuOverlay = _props2.handleMenuOverlay, + menuOverlay = _props2.menuOverlay, + siteName = _props2.siteName, + openModal = _props2.openModal, + windowType = _props2.windowType, + breadcrumb = _props2.breadcrumb, + docId = _props2.docId; + + + return _react2.default.createElement( + 'div', + { key: index }, + index ? _react2.default.createElement( + 'span', + { className: 'divider' }, + '/' + ) : null, + _react2.default.createElement( + 'div', + { className: 'header-btn tooltip-parent' }, + _react2.default.createElement( + 'div', + { + className: 'header-item-container pointer ' + (menuOverlay === menu.nodeId ? 'header-item-open ' : '') + (!index ? 'header-item-container-static ' : '') + (breadcrumb && index === breadcrumb.length ? 'header-item-last-level' : ''), + onClick: function onClick(e) { + return _this2.handleClick(e, menu); + }, + onMouseEnter: index ? function () { + return _this2.toggleTooltipOnFirstLevel(breadcrumb && index === breadcrumb.length); + } : function () { + return _this2.toggleTooltip(true); + }, + onMouseLeave: this.closeTooltips + }, + _react2.default.createElement( + 'span', + { className: 'header-item icon-sm' }, + index ? menu.children.captionBreadcrumb : _react2.default.createElement('i', { className: 'meta-icon-menu' }) + ) + ), + menuOverlay === menu.nodeId && _react2.default.createElement(_MenuOverlay2.default, _extends({ siteName: siteName, handleMenuOverlay: handleMenuOverlay, openModal: openModal, windowType: windowType, + docId: docId }, { + nodeId: menu.nodeId, + node: menu, + onClickOutside: function onClickOutside(e) { + return handleMenuOverlay(e, ''); + }, + disableOnClickOutside: menuOverlay !== menu.nodeId + })) + ) + ); + } + }, { + key: 'render', + value: function render() { + var _this3 = this; + + var _props3 = this.props, + breadcrumb = _props3.breadcrumb, + docSummaryData = _props3.docSummaryData, + siteName = _props3.siteName; + var _state = this.state, + tooltipOpen = _state.tooltipOpen, + tooltipOnFirstlevel = _state.tooltipOnFirstlevel, + tooltipOnFirstlevelPositionLeft = _state.tooltipOnFirstlevelPositionLeft; + + + return _react2.default.createElement( + 'div', + { className: 'header-breadcrumb-wrapper' }, + tooltipOpen && _react2.default.createElement(_Tooltips2.default, { + extraClass: 'tooltip-home-menu', + name: _keymap2.default.GLOBAL_CONTEXT.OPEN_NAVIGATION_MENU, + action: 'Navigation', + type: '' + }), + tooltipOnFirstlevel && _react2.default.createElement(_Tooltips2.default, _extends({ tooltipOnFirstlevelPositionLeft: tooltipOnFirstlevelPositionLeft }, { + name: '', + action: 'Go to default documents list', + type: '' + })), + _react2.default.createElement( + 'div', + { className: 'header-breadcrumb' }, + this.renderBtn({ nodeId: '0' }, 0), + breadcrumb && breadcrumb.map(function (item, index) { + return _this3.renderBtn(item, index + 1); + }), + docSummaryData && _react2.default.createElement( + 'div', + { + className: 'hidden-xs-down header-breadcrumb-line' + }, + _react2.default.createElement( + 'span', + { + className: 'header-breadcrumb-sitename' + }, + docSummaryData.value + ) + ), + siteName && _react2.default.createElement( + 'div', + { className: 'divider' }, + '/' + ), + siteName && _react2.default.createElement( + 'div', + null, + _react2.default.createElement( + 'span', + { + className: 'header-item icon-sm' + }, + siteName + ) + ) + ) + ); + } + }]); + + return Breadcrumb; + }(_react.Component); + + Breadcrumb.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + Breadcrumb = (0, _reactRedux.connect)()(Breadcrumb); + + var _default = Breadcrumb; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Breadcrumb, 'Breadcrumb', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Breadcrumb.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Breadcrumb.js'); + }(); + + ; + +/***/ }, +/* 584 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _reactOnclickoutside = __webpack_require__(503); + + var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); + + var _MenuOverlayContainer = __webpack_require__(585); + + var _MenuOverlayContainer2 = _interopRequireDefault(_MenuOverlayContainer); + + var _MenuOverlayItem = __webpack_require__(586); + + var _MenuOverlayItem2 = _interopRequireDefault(_MenuOverlayItem); + + var _reactRouterRedux = __webpack_require__(236); + + var _reactDebounceInput = __webpack_require__(587); + + var _reactDebounceInput2 = _interopRequireDefault(_reactDebounceInput); + + var _MenuActions = __webpack_require__(488); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var MenuOverlay = function (_Component) { + _inherits(MenuOverlay, _Component); + + function MenuOverlay(props) { + _classCallCheck(this, MenuOverlay); + + var _this = _possibleConstructorReturn(this, (MenuOverlay.__proto__ || Object.getPrototypeOf(MenuOverlay)).call(this, props)); + + _this.componentDidMount = function () { + return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.browseWholeTree = function () { + return _this.__browseWholeTree__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClickOutside = function () { + return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleQuery = function () { + return _this.__handleQuery__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClear = function () { + return _this.__handleClear__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleDeeper = function () { + return _this.__handleDeeper__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleSubDeeper = function () { + return _this.__handleSubDeeper__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClickBack = function () { + return _this.__handleClickBack__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleSubClickBack = function () { + return _this.__handleSubClickBack__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleRedirect = function () { + return _this.__handleRedirect__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleNewRedirect = function () { + return _this.__handleNewRedirect__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handlePath = function () { + return _this.__handlePath__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleSubPath = function () { + return _this.__handleSubPath__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderPath = function () { + return _this.__renderPath__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderNaviagtion = function () { + return _this.__renderNaviagtion__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderSubnavigation = function () { + return _this.__renderSubnavigation__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.linkClick = function () { + return _this.__linkClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleKeyDown = function () { + return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + queriedResults: [], + query: '', + deepNode: null, + deepSubNode: null, + path: '', + subPath: '', + data: {} + }; + return _this; + } + + _createClass(MenuOverlay, [{ + key: '__componentDidMount__REACT_HOT_LOADER__', + value: function __componentDidMount__REACT_HOT_LOADER__() { + var _this2 = this; + + var _props = this.props, + dispatch = _props.dispatch, + nodeId = _props.nodeId; + + if (nodeId == '0') { + dispatch((0, _MenuActions.getRootBreadcrumb)()).then(function (response) { + _this2.setState({ + data: response + }); + }); + } + } + }, { + key: '__browseWholeTree__REACT_HOT_LOADER__', + value: function __browseWholeTree__REACT_HOT_LOADER__() { + var dispatch = this.props.dispatch; + + dispatch((0, _reactRouterRedux.push)('/sitemap')); + } + }, { + key: '__handleClickOutside__REACT_HOT_LOADER__', + value: function __handleClickOutside__REACT_HOT_LOADER__(e) { + var onClickOutside = this.props.onClickOutside; + + onClickOutside(e); + } + }, { + key: '__handleQuery__REACT_HOT_LOADER__', + value: function __handleQuery__REACT_HOT_LOADER__(e) { + var _this3 = this; + + var dispatch = this.props.dispatch; + + e.preventDefault(); + if (e.target.value) { + this.setState({ + query: e.target.value + }); + dispatch((0, _MenuActions.queryPathsRequest)(e.target.value, 9)).then(function (response) { + _this3.setState({ + queriedResults: (0, _MenuActions.flattenLastElem)(response.data) + }); + }).catch(function (err) { + if (err.response && err.response.status === 404) { + _this3.setState({ + queriedResults: [] + }); + } + }); + } else { + + this.setState({ + query: '', + queriedResults: [] + }, function () { + document.getElementById('search-input-query').value = ''; + }); + } + } + }, { + key: '__handleClear__REACT_HOT_LOADER__', + value: function __handleClear__REACT_HOT_LOADER__(e) { + e.preventDefault(); + this.setState({ + query: '', + queriedResults: [] + }, function () { + document.getElementById('search-input-query').value = ''; + }); + } + }, { + key: '__handleDeeper__REACT_HOT_LOADER__', + value: function __handleDeeper__REACT_HOT_LOADER__(e, nodeId) { + var _this4 = this; + + var dispatch = this.props.dispatch; + + e.preventDefault(); + dispatch((0, _MenuActions.nodePathsRequest)(nodeId, 8)).then(function (response) { + _this4.setState({ + deepNode: response.data + }); + + _this4.handlePath(nodeId); + }); + } + }, { + key: '__handleSubDeeper__REACT_HOT_LOADER__', + value: function __handleSubDeeper__REACT_HOT_LOADER__(nodeId) { + var _this5 = this; + + var dispatch = this.props.dispatch; + + dispatch((0, _MenuActions.nodePathsRequest)(nodeId, 8)).then(function (response) { + _this5.setState({ + deepSubNode: response.data + }); + }); + } + }, { + key: '__handleClickBack__REACT_HOT_LOADER__', + value: function __handleClickBack__REACT_HOT_LOADER__(e) { + e.preventDefault(); + this.setState({ + deepNode: null + }); + } + }, { + key: '__handleSubClickBack__REACT_HOT_LOADER__', + value: function __handleSubClickBack__REACT_HOT_LOADER__(e) { + e.preventDefault(); + this.setState({ + deepSubNode: null + }); + } + }, { + key: '__handleRedirect__REACT_HOT_LOADER__', + value: function __handleRedirect__REACT_HOT_LOADER__(elementId) { + var _props2 = this.props, + dispatch = _props2.dispatch, + windowType = _props2.windowType, + docId = _props2.docId; + + this.handleClickOutside(); + + if (!docId && windowType == elementId) { + return; + } + dispatch((0, _reactRouterRedux.push)('/window/' + elementId)); + } + }, { + key: '__handleNewRedirect__REACT_HOT_LOADER__', + value: function __handleNewRedirect__REACT_HOT_LOADER__(elementId) { + var dispatch = this.props.dispatch; + + this.handleClickOutside(); + dispatch((0, _reactRouterRedux.push)('/window/' + elementId + '/new')); + } + }, { + key: '__handlePath__REACT_HOT_LOADER__', + value: function __handlePath__REACT_HOT_LOADER__(nodeId) { + var _this6 = this; + + var dispatch = this.props.dispatch; + + dispatch((0, _MenuActions.pathRequest)(nodeId)).then(function (response) { + var pathArray = []; + var node = response.data; + + do { + var children = node.children && node.children[0]; + node.children = undefined; + + pathArray.push(node); + node = children; + } while (node); + + //remove first MENU element + pathArray.shift(); + + _this6.setState({ + path: pathArray + }); + }); + } + }, { + key: '__handleSubPath__REACT_HOT_LOADER__', + value: function __handleSubPath__REACT_HOT_LOADER__(nodeId) { + var _this7 = this; + + var dispatch = this.props.dispatch; + + dispatch((0, _MenuActions.pathRequest)(nodeId)).then(function (response) { + var pathArray = []; + var node = response.data; + + do { + var children = node.children && node.children[0]; + node.children = undefined; + + pathArray.push(node); + node = children; + } while (node); + + //remove first MENU element + pathArray.shift(); + + _this7.setState({ + subPath: pathArray + }); + }); + } + }, { + key: '__renderPath__REACT_HOT_LOADER__', + value: function __renderPath__REACT_HOT_LOADER__(path) { + return _react2.default.createElement( + 'span', + null, + path && path.map(function (item, index) { + return _react2.default.createElement( + 'span', + { key: index }, + item.nodeId > 0 ? (index > 0 ? ' / ' : '') + item.captionBreadcrumb : item.captionBreadcrumb + ); + }) + ); + } + }, { + key: '__renderNaviagtion__REACT_HOT_LOADER__', + value: function __renderNaviagtion__REACT_HOT_LOADER__(node) { + var _this8 = this; + + var _state = this.state, + path = _state.path, + deepNode = _state.deepNode; + var _props3 = this.props, + handleMenuOverlay = _props3.handleMenuOverlay, + openModal = _props3.openModal, + dispatch = _props3.dispatch; + + return _react2.default.createElement( + 'div', + { + className: 'menu-overlay-container-column-wrapper js-menu-overlay', + tabIndex: 0, + onKeyDown: function onKeyDown(e) { + return _this8.handleKeyDown(e); + } + }, + _react2.default.createElement('div', { className: 'menu-overlay-top-spacer' }), + deepNode ? _react2.default.createElement( + 'div', + null, + _react2.default.createElement( + 'span', + { + className: 'menu-overlay-link', + onClick: function onClick(e) { + return _this8.handleClickBack(e); + } + }, + '< Back' + ) + ) : _react2.default.createElement( + 'div', + null, + _react2.default.createElement( + 'span', + { + className: 'menu-overlay-header menu-overlay-header-spaced menu-overlay-header-main pointer js-menu-header', + onClick: function onClick() { + return dispatch((0, _reactRouterRedux.push)('/')); + }, + tabIndex: 0, + onKeyDown: function onKeyDown(e) { + return _this8.handleKeyDown(e); + } + }, + 'Dashboard' + ) + ), + node.nodeId != 0 && _react2.default.createElement( + 'p', + { + className: 'menu-overlay-header menu-overlay-header-main menu-overlay-header-spaced group-header' + }, + this.renderPath(path) + ), + _react2.default.createElement( + 'div', + { className: 'column-wrapper' }, + node && node.children && node.children.map(function (item, index) { + return _react2.default.createElement(_MenuOverlayContainer2.default, _extends({ + key: index, + handleClickOnFolder: _this8.handleDeeper, + handleRedirect: _this8.handleRedirect, + handleNewRedirect: _this8.handleNewRedirect, + handlePath: _this8.handlePath, + parent: node, + back: function back(e) { + return _this8.handleClickBack(e); + }, + handleMenuOverlay: handleMenuOverlay, + openModal: openModal + }, item)); + }) + ) + ); + } + }, { + key: '__renderSubnavigation__REACT_HOT_LOADER__', + value: function __renderSubnavigation__REACT_HOT_LOADER__(nodeData) { + var _this9 = this; + + return _react2.default.createElement( + 'div', + null, + nodeData && nodeData.children && nodeData.children.map(function (item, index) { + return _react2.default.createElement( + 'span', + { + className: 'menu-overlay-expanded-link', + key: index + }, + _react2.default.createElement( + 'span', + { + className: item.elementId ? 'menu-overlay-link' : 'menu-overlay-expand', + onClick: function onClick() { + return _this9.linkClick(item); + } }, + item.caption + ) + ); + }) + ); + } + }, { + key: '__linkClick__REACT_HOT_LOADER__', + value: function __linkClick__REACT_HOT_LOADER__(item) { + var dispatch = this.props.dispatch; + + if (item.elementId && item.type == 'newRecord') { + this.handleNewRedirect(item.elementId); + } else if (item.elementId && item.type == 'window') { + this.handleRedirect(item.elementId); + dispatch((0, _MenuActions.getWindowBreadcrumb)(item.elementId)); + } else if (item.type == 'group') { + this.handleSubDeeper(item.nodeId); + this.handleSubPath(item.nodeId); + } + } + }, { + key: '__handleKeyDown__REACT_HOT_LOADER__', + value: function __handleKeyDown__REACT_HOT_LOADER__(e) { + var handleMenuOverlay = this.props.handleMenuOverlay; + + var input = document.getElementById('search-input-query'); + var firstMenuItem = document.getElementsByClassName('js-menu-item')[0]; + var parentSibling = document.activeElement.parentElement.nextSibling; + switch (e.key) { + case 'ArrowDown': + e.preventDefault(); + if (document.activeElement.classList.contains('js-menu-overlay')) { + firstMenuItem && firstMenuItem.focus(); + } else if (document.activeElement.classList.contains('js-menu-header')) { + firstMenuItem && firstMenuItem.focus(); + } else if (document.activeElement.classList.contains('input-field')) { + parentSibling && parentSibling.focus(); + } + break; + case 'Tab': + e.preventDefault(); + if (document.activeElement === input) { + firstMenuItem.focus(); + } else { + input.focus(); + } + break; + case 'Enter': + e.preventDefault(); + document.activeElement.click(); + break; + case 'Backspace': + if (document.activeElement !== input) { + e.preventDefault(); + this.handleClickBack(e); + document.getElementsByClassName('js-menu-overlay')[0].focus(); + } + break; + case 'Escape': + e.preventDefault(); + handleMenuOverlay('', ''); + } + } + }, { + key: 'render', + value: function render() { + var _this10 = this; + + var _state2 = this.state, + queriedResults = _state2.queriedResults, + deepNode = _state2.deepNode, + deepSubNode = _state2.deepSubNode, + subPath = _state2.subPath, + query = _state2.query, + data = _state2.data; + var _props4 = this.props, + nodeId = _props4.nodeId, + node = _props4.node, + siteName = _props4.siteName, + handleMenuOverlay = _props4.handleMenuOverlay, + openModal = _props4.openModal; + + var nodeData = nodeId == '0' ? data : node.children; + return _react2.default.createElement( + 'div', + { + className: 'menu-overlay menu-overlay-primary' + }, + _react2.default.createElement( + 'div', + { className: 'menu-overlay-body breadcrumbs-shadow' }, + nodeId == 0 ? + //ROOT + _react2.default.createElement( + 'div', + null, + _react2.default.createElement( + 'div', + { className: 'menu-overlay-root-body' }, + this.renderNaviagtion(deepNode ? deepNode : nodeData), + _react2.default.createElement( + 'div', + { + className: 'menu-overlay-query hidden-sm-down' + }, + _react2.default.createElement( + 'div', + { className: 'input-flex input-primary' }, + _react2.default.createElement('i', { + className: 'input-icon meta-icon-preview' + }), + _react2.default.createElement(_reactDebounceInput2.default, { + debounceTimeout: 250, + type: 'text', + id: 'search-input-query', + className: 'input-field', + placeholder: 'Type phrase here', + onChange: function onChange(e) { + return _this10.handleQuery(e); + }, + onKeyDown: function onKeyDown(e) { + return _this10.handleKeyDown(e); + } + }), + this.state.query && _react2.default.createElement('i', { + className: 'input-icon meta-icon-close-alt pointer', + onClick: function onClick(e) { + return _this10.handleClear(e); + } + }) + ), + queriedResults && queriedResults.map(function (result, index) { + return _react2.default.createElement(_MenuOverlayItem2.default, _extends({ + key: index, + handleClickOnFolder: _this10.handleDeeper, + handleRedirect: _this10.handleRedirect, + handleNewRedirect: _this10.handleNewRedirect, + query: true, + handlePath: _this10.handlePath, + handleMenuOverlay: handleMenuOverlay, + openModal: openModal + }, result)); + }), + queriedResults.length === 0 && query != '' && _react2.default.createElement( + 'span', + null, + 'There are no results' + ) + ) + ) + ) : + //NOT ROOT + _react2.default.createElement( + 'div', + { className: 'menu-overlay-node-container' }, + deepSubNode ? [_react2.default.createElement( + 'div', + { key: 'back' }, + _react2.default.createElement( + 'span', + { + className: 'menu-overlay-link', + onClick: function onClick(e) { + return _this10.handleSubClickBack(e); + } }, + '< Back' + ) + ), _react2.default.createElement( + 'p', + { + key: 'path', + className: 'menu-overlay-header' + }, + this.renderPath(subPath) + )] : _react2.default.createElement( + 'p', + { className: 'menu-overlay-header' }, + nodeData && nodeData.caption + ), + this.renderSubnavigation(deepSubNode ? deepSubNode : nodeData) + ), + nodeId == '0' && siteName !== 'Sitemap' && _react2.default.createElement( + 'div', + { className: 'text-xs-right' }, + _react2.default.createElement( + 'span', + { + className: 'menu-overlay-link tree-link', + onClick: this.browseWholeTree + }, + 'Browse whole tree >>' + ) + ) + ) + ); + } + }]); + + return MenuOverlay; + }(_react.Component); + + MenuOverlay.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + MenuOverlay = (0, _reactRedux.connect)()((0, _reactOnclickoutside2.default)(MenuOverlay)); + + var _default = MenuOverlay; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(MenuOverlay, 'MenuOverlay', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlay.js'); + }(); + + ; + +/***/ }, +/* 585 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _MenuOverlayItem = __webpack_require__(586); + + var _MenuOverlayItem2 = _interopRequireDefault(_MenuOverlayItem); + + var _reactRedux = __webpack_require__(171); + + var _MenuActions = __webpack_require__(488); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var MenuOverlayContainer = function (_Component) { + _inherits(MenuOverlayContainer, _Component); + + function MenuOverlayContainer(props) { + _classCallCheck(this, MenuOverlayContainer); + + var _this = _possibleConstructorReturn(this, (MenuOverlayContainer.__proto__ || Object.getPrototypeOf(MenuOverlayContainer)).call(this, props)); + + _this.handleClick = function () { + return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + return _this; + } + + _createClass(MenuOverlayContainer, [{ + key: '__handleClick__REACT_HOT_LOADER__', + value: function __handleClick__REACT_HOT_LOADER__() { + var _props = this.props, + dispatch = _props.dispatch, + handleRedirect = _props.handleRedirect, + elementId = _props.elementId; + + handleRedirect(elementId); + dispatch((0, _MenuActions.getWindowBreadcrumb)(elementId)); + } + }, { + key: 'render', + value: function render() { + var _props2 = this.props, + children = _props2.children, + elementId = _props2.elementId, + caption = _props2.caption, + type = _props2.type, + handleClickOnFolder = _props2.handleClickOnFolder, + handleRedirect = _props2.handleRedirect, + handleNewRedirect = _props2.handleNewRedirect, + handlePath = _props2.handlePath, + printChildren = _props2.printChildren, + deep = _props2.deep, + back = _props2.back, + handleMenuOverlay = _props2.handleMenuOverlay, + openModal = _props2.openModal; + + + return _react2.default.createElement( + 'div', + { + tabIndex: 0, + className: 'menu-overlay-node-container ' + (deep ? 'menu-overlay-node-spaced ' : 'menu-overlay-expanded-link-spaced') }, + type === 'group' && _react2.default.createElement( + 'span', + { + className: 'menu-overlay-header ' + (!printChildren ? 'menu-overlay-header-spaced ' : ' ') + (!deep ? 'menu-overlay-header-main' : ' ') + }, + caption + ), + type !== 'group' && _react2.default.createElement(_MenuOverlayItem2.default, { + elementId: elementId, + caption: caption, + type: type, + handleClickOnFolder: handleClickOnFolder, + handleRedirect: handleRedirect, + handleNewRedirect: handleNewRedirect, + handlePath: handlePath, + back: back, + handleMenuOverlay: handleMenuOverlay, + printChildren: false, + openModal: openModal + }), + children && children.map(function (subitem, subindex) { + return subitem.children && printChildren ? _react2.default.createElement(MenuOverlayContainer, _extends({ + key: subindex, + handleClickOnFolder: handleClickOnFolder, + handleRedirect: handleRedirect, + handleNewRedirect: handleNewRedirect, + printChildren: true, + deep: true, + openModal: openModal + }, subitem)) : _react2.default.createElement(_MenuOverlayItem2.default, _extends({ + key: subindex, + handleClickOnFolder: handleClickOnFolder, + handleRedirect: handleRedirect, + handleNewRedirect: handleNewRedirect, + handlePath: handlePath, + printChildren: printChildren, + back: back, + handleMenuOverlay: handleMenuOverlay, + openModal: openModal + }, subitem)); + }) + ); + } + }]); + + return MenuOverlayContainer; + }(_react.Component); + + MenuOverlayContainer = (0, _reactRedux.connect)()(MenuOverlayContainer); + + var _default = MenuOverlayContainer; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(MenuOverlayContainer, 'MenuOverlayContainer', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayContainer.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayContainer.js'); + }(); + + ; + +/***/ }, +/* 586 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _MenuActions = __webpack_require__(488); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var MenuOverlayItem = function (_Component) { + _inherits(MenuOverlayItem, _Component); + + function MenuOverlayItem(props) { + _classCallCheck(this, MenuOverlayItem); + + var _this = _possibleConstructorReturn(this, (MenuOverlayItem.__proto__ || Object.getPrototypeOf(MenuOverlayItem)).call(this, props)); + + _this.clickedItem = function () { + return _this.__clickedItem__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClick = function () { + return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleKeyDown = function () { + return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderBreadcrumb = function () { + return _this.__renderBreadcrumb__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + return _this; + } + + _createClass(MenuOverlayItem, [{ + key: 'componentDidMount', + value: function componentDidMount() { + var query = this.props.query; + + if (!query && document.getElementsByClassName('js-menu-overlay')[0]) { + document.getElementsByClassName('js-menu-overlay')[0].focus(); + } + } + }, { + key: '__clickedItem__REACT_HOT_LOADER__', + value: function __clickedItem__REACT_HOT_LOADER__(e, elementId, nodeId, type) { + var _props = this.props, + handleClickOnFolder = _props.handleClickOnFolder, + handleNewRedirect = _props.handleNewRedirect, + openModal = _props.openModal, + caption = _props.caption; + + + if (type === 'newRecord') { + handleNewRedirect(elementId); + } else if (type === 'window') { + this.handleClick(elementId); + } else if (type === 'group') { + handleClickOnFolder(e, nodeId); + } else if (type === 'report' || type === 'process') { + openModal(elementId + '', 'process', caption); + } + } + }, { + key: '__handleClick__REACT_HOT_LOADER__', + value: function __handleClick__REACT_HOT_LOADER__(elementId) { + var handleRedirect = this.props.handleRedirect; + + handleRedirect(elementId); + this.renderBreadcrumb(elementId); + } + }, { + key: '__handleKeyDown__REACT_HOT_LOADER__', + value: function __handleKeyDown__REACT_HOT_LOADER__(e) { + var _props2 = this.props, + back = _props2.back, + handleMenuOverlay = _props2.handleMenuOverlay; + + var overlay = document.getElementsByClassName('js-menu-overlay')[0]; + + switch (e.key) { + case 'ArrowDown': + e.preventDefault(); + this.handleArrowDown(); + break; + case 'ArrowUp': + e.preventDefault(); + this.handeArrowUp(); + break; + case 'Tab': + e.preventDefault(); + document.getElementsByClassName('js-menu-item')[0].focus(); + break; + case 'Backspace': + e.preventDefault(); + back(e); + overlay.focus(); + break; + case 'Enter': + e.preventDefault(); + document.activeElement.childNodes[0].click(); + overlay.focus(); + break; + case 'Escape': + e.preventDefault(); + handleMenuOverlay('', ''); + } + } + }, { + key: 'handeArrowUp', + value: function handeArrowUp() { + var prevSiblings = document.activeElement.previousSibling; + if (prevSiblings && prevSiblings.classList.contains('input-primary')) { + document.getElementById('search-input-query').focus(); + } else if (prevSiblings && prevSiblings.classList.contains('js-menu-item')) { + document.activeElement.previousSibling.focus(); + } else { + this.handleGroupUp(); + } + } + }, { + key: 'handleGroupUp', + value: function handleGroupUp() { + var previousGroup = document.activeElement.parentElement.previousSibling; + var headerLink = document.getElementsByClassName('js-menu-header')[0]; + if (previousGroup) { + var listChildren = previousGroup.childNodes; + if (listChildren.length == 1) { + previousGroup.childNodes[0].focus(); + } else { + listChildren[listChildren.length - 1].focus(); + } + } else { + headerLink && headerLink.focus(); + } + } + }, { + key: 'handleArrowDown', + value: function handleArrowDown() { + + if (document.activeElement.nextSibling) { + document.activeElement.nextSibling.focus(); + } else { + if (document.activeElement.parentElement.nextSibling) { + var listChildren = document.activeElement.parentElement.nextSibling.childNodes; + if (listChildren.length == 1) { + listChildren[0].focus(); + } else { + listChildren[1].focus(); + } + } + } + } + }, { + key: '__renderBreadcrumb__REACT_HOT_LOADER__', + value: function __renderBreadcrumb__REACT_HOT_LOADER__(elementId) { + var dispatch = this.props.dispatch; + + + dispatch((0, _MenuActions.getWindowBreadcrumb)(elementId)); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var _props3 = this.props, + nodeId = _props3.nodeId, + type = _props3.type, + elementId = _props3.elementId, + caption = _props3.caption, + children = _props3.children, + handleClickOnFolder = _props3.handleClickOnFolder, + query = _props3.query, + printChildren = _props3.printChildren; + + + return _react2.default.createElement( + 'span', + { + tabIndex: 0, + onKeyDown: this.handleKeyDown, + className: 'menu-overlay-expanded-link js-menu-item ' + (!printChildren ? 'menu-overlay-expanded-link-spaced ' : '') + }, + !query && _react2.default.createElement( + 'span', + { + className: children ? 'menu-overlay-expand' : 'menu-overlay-link', + onClick: function onClick(e) { + children ? handleClickOnFolder(e, nodeId) : _this2.clickedItem(e, elementId, nodeId, type); + } + }, + caption + ), + query && _react2.default.createElement( + 'span', + { + className: children ? '' : type === 'group' ? 'query-clickable-group' : 'query-clickable-link', + onClick: children ? '' : function (e) { + return _this2.clickedItem(e, elementId, nodeId, type); + } + }, + children ? children.map(function (item, id) { + return _react2.default.createElement( + 'span', + { key: id, className: 'query-results' }, + _react2.default.createElement( + 'span', + { + className: 'query-caption' + }, + id === 0 ? caption + ' / ' : '/' + ), + _react2.default.createElement( + 'span', + { + title: item.caption, + className: type === 'group' ? 'query-clickable-group' : 'query-clickable-link', + onClick: function onClick(e) { + return _this2.clickedItem(e, item.elementId, item.nodeId, item.type); + } + }, + item.caption + ) + ); + }) : caption + ) + ); + } + }]); + + return MenuOverlayItem; + }(_react.Component); + + MenuOverlayItem.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + MenuOverlayItem = (0, _reactRedux.connect)()(MenuOverlayItem); + + var _default = MenuOverlayItem; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(MenuOverlayItem, 'MenuOverlayItem', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayItem.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/MenuOverlayItem.js'); + }(); + + ; + +/***/ }, +/* 587 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var _require = __webpack_require__(588); + + var DebounceInput = _require.DebounceInput; + + + module.exports = DebounceInput; + //# sourceMappingURL=index.js.map + +/***/ }, +/* 588 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.DebounceInput = undefined; + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _lodash = __webpack_require__(589); + + var _lodash2 = _interopRequireDefault(_lodash); + + var _ReactComponentWithPureRenderMixin = __webpack_require__(590); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + + var DebounceInput = exports.DebounceInput = _react2.default.createClass({ + displayName: 'DebounceInput', + + propTypes: { + element: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.func]), + type: _react2.default.PropTypes.string, + onChange: _react2.default.PropTypes.func.isRequired, + onKeyDown: _react2.default.PropTypes.func, + onBlur: _react2.default.PropTypes.func, + value: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.number]), + minLength: _react2.default.PropTypes.number, + debounceTimeout: _react2.default.PropTypes.number, + forceNotifyByEnter: _react2.default.PropTypes.bool, + forceNotifyOnBlur: _react2.default.PropTypes.bool + }, + + getDefaultProps: function getDefaultProps() { + return { + element: 'input', + type: 'text', + minLength: 0, + debounceTimeout: 100, + forceNotifyByEnter: true, + forceNotifyOnBlur: true + }; + }, + getInitialState: function getInitialState() { + return { + value: this.props.value || '' + }; + }, + componentWillMount: function componentWillMount() { + this.createNotifier(this.props.debounceTimeout); + }, + componentWillReceiveProps: function componentWillReceiveProps(_ref) { + var value = _ref.value; + var debounceTimeout = _ref.debounceTimeout; + + if (this.isDebouncing) { + return; + } + if (typeof value !== 'undefined' && this.state.value !== value) { + this.setState({ value: value }); + } + if (debounceTimeout !== this.props.debounceTimeout) { + this.createNotifier(debounceTimeout); + } + }, + + + shouldComponentUpdate: _ReactComponentWithPureRenderMixin.shouldComponentUpdate, + + componentWillUnmount: function componentWillUnmount() { + if (this.notify.flush) { + this.notify.flush(); + } + }, + + + isDebouncing: false, + + createNotifier: function createNotifier(debounceTimeout) { + var _this = this; + + if (debounceTimeout < 0) { + this.notify = function () { + return null; + }; + } else if (debounceTimeout === 0) { + this.notify = this.doNotify; + } else { + (function () { + var debouncedChangeFunc = (0, _lodash2.default)(function (event) { + _this.isDebouncing = false; + _this.doNotify(event); + }, debounceTimeout); + + _this.notify = function (event) { + _this.isDebouncing = true; + debouncedChangeFunc(event); + }; + })(); + } + }, + doNotify: function doNotify() { + var onChange = this.props.onChange; + + + onChange.apply(undefined, arguments); + }, + forceNotify: function forceNotify(event) { + if (!this.isDebouncing) { + return; + } + + if (this.notify.cancel) { + this.notify.cancel(); + this.isDebouncing = false; + } + + var value = this.state.value; + var minLength = this.props.minLength; + + + if (value.length >= minLength) { + this.doNotify(event); + } else { + this.doNotify(_extends({}, event, { target: _extends({}, event.target, { value: value }) })); + } + }, + onChange: function onChange(event) { + var _this2 = this; + + event.persist(); + + var oldValue = this.state.value; + + this.setState({ value: event.target.value }, function () { + var value = _this2.state.value; + + + if (value.length >= _this2.props.minLength) { + _this2.notify(event); + return; + } + + // If user hits backspace and goes below minLength consider it cleaning the value + if (oldValue.length > value.length) { + _this2.notify(_extends({}, event, { target: _extends({}, event.target, { value: '' }) })); + } + }); + }, + render: function render() { + var _this3 = this; + + var _props = this.props; + var element = _props.element; + var _onChange = _props.onChange; + var _value = _props.value; + var _minLength = _props.minLength; + var _debounceTimeout = _props.debounceTimeout; + var forceNotifyByEnter = _props.forceNotifyByEnter; + var forceNotifyOnBlur = _props.forceNotifyOnBlur; + var _onKeyDown = _props.onKeyDown; + var _onBlur = _props.onBlur; + + var props = _objectWithoutProperties(_props, ['element', 'onChange', 'value', 'minLength', 'debounceTimeout', 'forceNotifyByEnter', 'forceNotifyOnBlur', 'onKeyDown', 'onBlur']); + + var maybeOnKeyDown = forceNotifyByEnter ? { + onKeyDown: function onKeyDown(event) { + if (event.key === 'Enter') { + _this3.forceNotify(event); + } + // Invoke original onKeyDown if present + if (_onKeyDown) { + _onKeyDown(event); + } + } + } : {}; + + var maybeOnBlur = forceNotifyOnBlur ? { + onBlur: function onBlur(event) { + _this3.forceNotify(event); + // Invoke original onBlur if present + if (_onBlur) { + _onBlur(event); + } + } + } : {}; + + return _react2.default.createElement(element, _extends({}, props, { + onChange: this.onChange, + value: this.state.value + }, maybeOnKeyDown, maybeOnBlur)); + } + }); + //# sourceMappingURL=Component.js.map + +/***/ }, +/* 589 */ +/***/ function(module, exports) { + + /* WEBPACK VAR INJECTION */(function(global) {/** + * lodash (Custom Build) + * Build: `lodash modularize exports="npm" -o ./` + * Copyright jQuery Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ + + /** Used as the `TypeError` message for "Functions" methods. */ + var FUNC_ERROR_TEXT = 'Expected a function'; + + /** Used as references for various `Number` constants. */ + var NAN = 0 / 0; + + /** `Object#toString` result references. */ + var symbolTag = '[object Symbol]'; + + /** Used to match leading and trailing whitespace. */ + var reTrim = /^\s+|\s+$/g; + + /** Used to detect bad signed hexadecimal string values. */ + var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; + + /** Used to detect binary string values. */ + var reIsBinary = /^0b[01]+$/i; + + /** Used to detect octal string values. */ + var reIsOctal = /^0o[0-7]+$/i; + + /** Built-in method references without a dependency on `root`. */ + var freeParseInt = parseInt; + + /** Detect free variable `global` from Node.js. */ + var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + + /** Detect free variable `self`. */ + var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + + /** Used as a reference to the global object. */ + var root = freeGlobal || freeSelf || Function('return this')(); + + /** Used for built-in method references. */ + var objectProto = Object.prototype; + + /** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ + var objectToString = objectProto.toString; + + /* Built-in method references for those with the same name as other `lodash` methods. */ + var nativeMax = Math.max, + nativeMin = Math.min; + + /** + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Date + * @returns {number} Returns the timestamp. + * @example + * + * _.defer(function(stamp) { + * console.log(_.now() - stamp); + * }, _.now()); + * // => Logs the number of milliseconds it took for the deferred invocation. + */ + var now = function() { + return root.Date.now(); + }; + + /** + * Creates a debounced function that delays invoking `func` until after `wait` + * milliseconds have elapsed since the last time the debounced function was + * invoked. The debounced function comes with a `cancel` method to cancel + * delayed `func` invocations and a `flush` method to immediately invoke them. + * Provide `options` to indicate whether `func` should be invoked on the + * leading and/or trailing edge of the `wait` timeout. The `func` is invoked + * with the last arguments provided to the debounced function. Subsequent + * calls to the debounced function return the result of the last `func` + * invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is + * invoked on the trailing edge of the timeout only if the debounced function + * is invoked more than once during the `wait` timeout. + * + * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred + * until to the next tick, similar to `setTimeout` with a timeout of `0`. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.debounce` and `_.throttle`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to debounce. + * @param {number} [wait=0] The number of milliseconds to delay. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=false] + * Specify invoking on the leading edge of the timeout. + * @param {number} [options.maxWait] + * The maximum time `func` is allowed to be delayed before it's invoked. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new debounced function. + * @example + * + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); + * + * // Ensure `batchLog` is invoked once after 1 second of debounced calls. + * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); + * var source = new EventSource('/stream'); + * jQuery(source).on('message', debounced); + * + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); + */ + function debounce(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + wait = toNumber(wait) || 0; + if (isObject(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } + + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; + + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } + + function leadingEdge(time) { + // Reset any `maxWait` timer. + lastInvokeTime = time; + // Start the timer for the trailing edge. + timerId = setTimeout(timerExpired, wait); + // Invoke the leading edge. + return leading ? invokeFunc(time) : result; + } + + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + result = wait - timeSinceLastCall; + + return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result; + } + + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + + // Either this is the first call, activity has stopped and we're at the + // trailing edge, the system time has gone backwards and we're treating + // it as the trailing edge, or we've hit the `maxWait` limit. + return (lastCallTime === undefined || (timeSinceLastCall >= wait) || + (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); + } + + function timerExpired() { + var time = now(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + // Restart the timer. + timerId = setTimeout(timerExpired, remainingWait(time)); + } + + function trailingEdge(time) { + timerId = undefined; + + // Only invoke if we have `lastArgs` which means `func` has been + // debounced at least once. + if (trailing && lastArgs) { + return invokeFunc(time); + } + lastArgs = lastThis = undefined; + return result; + } + + function cancel() { + if (timerId !== undefined) { + clearTimeout(timerId); + } + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } + + function flush() { + return timerId === undefined ? result : trailingEdge(now()); + } + + function debounced() { + var time = now(), + isInvoking = shouldInvoke(time); + + lastArgs = arguments; + lastThis = this; + lastCallTime = time; + + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + if (maxing) { + // Handle invocations in a tight loop. + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); + } + return result; + } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; + } + + /** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ + function isObject(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); + } + + /** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ + function isObjectLike(value) { + return !!value && typeof value == 'object'; + } + + /** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ + function isSymbol(value) { + return typeof value == 'symbol' || + (isObjectLike(value) && objectToString.call(value) == symbolTag); + } + + /** + * Converts `value` to a number. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to process. + * @returns {number} Returns the number. + * @example + * + * _.toNumber(3.2); + * // => 3.2 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3.2'); + * // => 3.2 + */ + function toNumber(value) { + if (typeof value == 'number') { + return value; + } + if (isSymbol(value)) { + return NAN; + } + if (isObject(value)) { + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject(other) ? (other + '') : other; + } + if (typeof value != 'string') { + return value === 0 ? value : +value; + } + value = value.replace(reTrim, ''); + var isBinary = reIsBinary.test(value); + return (isBinary || reIsOctal.test(value)) + ? freeParseInt(value.slice(2), isBinary ? 2 : 8) + : (reIsBadHex.test(value) ? NAN : +value); + } + + module.exports = debounce; + + /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) + +/***/ }, +/* 590 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var shallowCompare = __webpack_require__(591); + + /** + * If your React component's render function is "pure", e.g. it will render the + * same result given the same props and state, provide this mixin for a + * considerable performance boost. + * + * Most React components have pure render functions. + * + * Example: + * + * var ReactComponentWithPureRenderMixin = + * require('ReactComponentWithPureRenderMixin'); + * React.createClass({ + * mixins: [ReactComponentWithPureRenderMixin], + * + * render: function() { + * return
foo
; + * } + * }); + * + * Note: This only checks shallow equality for props and state. If these contain + * complex data structures this mixin may have false-negatives for deeper + * differences. Only mixin to components which have simple props and state, or + * use `forceUpdate()` when you know deep data structures have changed. + * + * See https://facebook.github.io/react/docs/pure-render-mixin.html + */ + var ReactComponentWithPureRenderMixin = { + shouldComponentUpdate: function (nextProps, nextState) { + return shallowCompare(this, nextProps, nextState); + } + }; + + module.exports = ReactComponentWithPureRenderMixin; + +/***/ }, +/* 591 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + + 'use strict'; + + var shallowEqual = __webpack_require__(117); + + /** + * Does a shallow comparison for props and state. + * See ReactComponentWithPureRenderMixin + * See also https://facebook.github.io/react/docs/shallow-compare.html + */ + function shallowCompare(instance, nextProps, nextState) { + return !shallowEqual(instance.props, nextProps) || !shallowEqual(instance.state, nextState); + } + + module.exports = shallowCompare; + +/***/ }, +/* 592 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _reactRedux = __webpack_require__(171); + + var _Attachments = __webpack_require__(593); + + var _Attachments2 = _interopRequireDefault(_Attachments); + + var _Referenced = __webpack_require__(594); + + var _Referenced2 = _interopRequireDefault(_Referenced); + + var _DocumentList = __webpack_require__(595); + + var _DocumentList2 = _interopRequireDefault(_DocumentList); + + var _reactOnclickoutside = __webpack_require__(503); + + var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); + + var _Tooltips = __webpack_require__(565); + + var _Tooltips2 = _interopRequireDefault(_Tooltips); + + var _keymap = __webpack_require__(566); + + var _keymap2 = _interopRequireDefault(_keymap); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var SideList = function (_Component) { + _inherits(SideList, _Component); + + function SideList(props) { + _classCallCheck(this, SideList); + + var _this = _possibleConstructorReturn(this, (SideList.__proto__ || Object.getPrototypeOf(SideList)).call(this, props)); + + _this.handleClickOutside = function () { + return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.changeTab = function () { + return _this.__changeTab__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderBody = function () { + return _this.__renderBody__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleTooltip = function () { + return _this.__toggleTooltip__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + var defaultTab = _this.props.defaultTab; + + + _this.state = { + tab: defaultTab ? defaultTab : 0, + tooltipOpen: false + }; + return _this; + } + + _createClass(SideList, [{ + key: '__handleClickOutside__REACT_HOT_LOADER__', + value: function __handleClickOutside__REACT_HOT_LOADER__() { + var closeSideList = this.props.closeSideList; + + closeSideList(); + } + }, { + key: '__changeTab__REACT_HOT_LOADER__', + value: function __changeTab__REACT_HOT_LOADER__(index) { + this.setState({ + tab: index + }); + } + }, { + key: '__renderBody__REACT_HOT_LOADER__', + value: function __renderBody__REACT_HOT_LOADER__() { + var _props = this.props, + windowType = _props.windowType, + closeOverlays = _props.closeOverlays, + closeSideList = _props.closeSideList, + isSideListShow = _props.isSideListShow, + docId = _props.docId, + pagination = _props.pagination, + sorting = _props.sorting, + viewId = _props.viewId; + var tab = this.state.tab; + + + switch (tab) { + case 0: + return _react2.default.createElement(_DocumentList2.default, _extends({ + type: 'list', + readonly: true, + defaultViewId: viewId && viewId.windowType === windowType ? viewId.id : null, + defaultSort: sorting && sorting.windowType === windowType ? sorting.sort : null, + defaultPage: pagination && pagination.windowType === windowType ? pagination.page : null, + selected: [docId], + disconnectFromState: true, + autofocus: true + }, { windowType: windowType, closeOverlays: closeOverlays, closeSideList: closeSideList, + isSideListShow: isSideListShow })); + case 1: + return _react2.default.createElement(_Referenced2.default, { windowType: windowType, docId: docId }); + case 2: + return _react2.default.createElement(_Attachments2.default, { windowType: windowType, docId: docId }); + } + } + }, { + key: '__toggleTooltip__REACT_HOT_LOADER__', + value: function __toggleTooltip__REACT_HOT_LOADER__(id) { + this.setState({ + tooltipOpen: id + }); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var _state = this.state, + tab = _state.tab, + tooltipOpen = _state.tooltipOpen; + + + var tabs = [{ icon: 'meta-icon-list', title: 'Document list' }, { icon: 'meta-icon-share', title: 'Referenced documents' }, { icon: 'meta-icon-attachments', title: 'Attachments' }]; + + return _react2.default.createElement( + 'div', + { + ref: function ref(c) { + return _this2.panel = c; + }, + className: 'order-list-panel overlay-shadow order-list-panel-open js-not-unselect' + }, + _react2.default.createElement( + 'div', + { className: 'order-list-panel-body' }, + _react2.default.createElement( + 'div', + { className: 'order-list-nav' }, + tabs.map(function (item, index) { + return _react2.default.createElement( + 'div', + { + key: index, + className: 'order-list-btn tooltip-parent ' + (index === tab ? 'active ' : ''), + onClick: function onClick() { + return _this2.changeTab(index); + }, + onMouseEnter: function onMouseEnter() { + return _this2.toggleTooltip(index); + }, + onMouseLeave: function onMouseLeave() { + return _this2.toggleTooltip(); + }, + tabIndex: 0 + }, + _react2.default.createElement('i', { className: item.icon }), + tooltipOpen === index && _react2.default.createElement(_Tooltips2.default, { + name: _keymap2.default.GLOBAL_CONTEXT['OPEN_SIDEBAR_MENU_' + index], + action: item.title, + type: '' + }) + ); + }) + ), + _react2.default.createElement( + 'div', + { className: 'order-list-body' }, + this.renderBody() + ) + ) + ); + } + }]); + + return SideList; + }(_react.Component); + + function mapStateToProps(state) { + var listHandler = state.listHandler; + + var _ref = listHandler || { + sorting: {}, + pagination: {}, + viewId: {} + }, + sorting = _ref.sorting, + pagination = _ref.pagination, + viewId = _ref.viewId; + + return { + sorting: sorting, pagination: pagination, viewId: viewId + }; + } + + SideList = (0, _reactRedux.connect)(mapStateToProps)((0, _reactOnclickoutside2.default)(SideList)); + + var _default = SideList; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(SideList, 'SideList', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SideList.js'); + + __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SideList.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/SideList.js'); + }(); + + ; + +/***/ }, +/* 593 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _reactRedux = __webpack_require__(171); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _Loader = __webpack_require__(582); + + var _Loader2 = _interopRequireDefault(_Loader); + + var _GenericActions = __webpack_require__(489); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Attachments = function (_Component) { + _inherits(Attachments, _Component); + + function Attachments(props) { + _classCallCheck(this, Attachments); + + var _this = _possibleConstructorReturn(this, (Attachments.__proto__ || Object.getPrototypeOf(Attachments)).call(this, props)); + + _this.componentDidMount = function () { + return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleAttachmentDelete = function () { + return _this.__toggleAttachmentDelete__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleAttachmentClick = function () { + return _this.__handleAttachmentClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleAttachmentDelete = function () { + return _this.__handleAttachmentDelete__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleKeyDown = function () { + return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderData = function () { + return _this.__renderData__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + data: null, + attachmentHovered: null + }; + return _this; + } + + _createClass(Attachments, [{ + key: '__componentDidMount__REACT_HOT_LOADER__', + value: function __componentDidMount__REACT_HOT_LOADER__() { + var _this2 = this; + + var _props = this.props, + dispatch = _props.dispatch, + windowType = _props.windowType, + docId = _props.docId; + + + dispatch((0, _GenericActions.attachmentsRequest)('window', windowType, docId)).then(function (response) { + _this2.setState({ + data: response.data + }, function () { + _this2.attachments && _this2.attachments.focus(); + }); + }); + } + }, { + key: '__toggleAttachmentDelete__REACT_HOT_LOADER__', + value: function __toggleAttachmentDelete__REACT_HOT_LOADER__(value) { + this.setState({ + attachmentHovered: value + }); + } + }, { + key: '__handleAttachmentClick__REACT_HOT_LOADER__', + value: function __handleAttachmentClick__REACT_HOT_LOADER__(id) { + var _props2 = this.props, + dispatch = _props2.dispatch, + windowType = _props2.windowType, + docId = _props2.docId; + + dispatch((0, _GenericActions.openFile)('window', windowType, docId, 'attachments', id)); + } + }, { + key: '__handleAttachmentDelete__REACT_HOT_LOADER__', + value: function __handleAttachmentDelete__REACT_HOT_LOADER__(e, id) { + var _this3 = this; + + var _props3 = this.props, + dispatch = _props3.dispatch, + windowType = _props3.windowType, + docId = _props3.docId; + + e.stopPropagation(); + + dispatch((0, _GenericActions.deleteRequest)('window', windowType, docId, null, null, 'attachments', id)).then(function () { + return dispatch((0, _GenericActions.attachmentsRequest)('window', windowType, docId)); + }).then(function (response) { + _this3.setState({ + data: response.data + }); + }); + } + }, { + key: '__handleKeyDown__REACT_HOT_LOADER__', + value: function __handleKeyDown__REACT_HOT_LOADER__(e) { + var active = document.activeElement; + + var keyHandler = function keyHandler(e, dir) { + var sib = dir ? 'nextSibling' : 'previousSibling'; + e.preventDefault(); + if (active.classList.contains('js-subheader-item')) { + active[sib] && active[sib].focus(); + } else { + active.childNodes[0].focus(); + } + }; + + switch (e.key) { + case 'ArrowDown': + keyHandler(e, true); + break; + case 'ArrowUp': + keyHandler(e, false); + break; + case 'Enter': + e.preventDefault(); + document.activeElement.click(); + break; + } + } + }, { + key: '__renderData__REACT_HOT_LOADER__', + value: function __renderData__REACT_HOT_LOADER__() { + var _this4 = this; + + var _state = this.state, + data = _state.data, + attachmentHovered = _state.attachmentHovered; + + + return data && data.length ? data.map(function (item, key) { + return _react2.default.createElement( + 'div', + { + className: 'subheader-item subheader-item-ellipsis js-subheader-item', + key: key, + tabIndex: 0, + onMouseEnter: function onMouseEnter() { + return _this4.toggleAttachmentDelete(item.id); + }, + onMouseLeave: function onMouseLeave() { + return _this4.toggleAttachmentDelete(null); + }, + onClick: function onClick() { + return _this4.handleAttachmentClick(item.id); + } + }, + item.name, + attachmentHovered === item.id && _react2.default.createElement( + 'div', + { + className: 'subheader-additional-box', + onClick: function onClick(e) { + return _this4.handleAttachmentDelete(e, item.id); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-delete' }) + ) + ); + }) : _react2.default.createElement( + 'div', + { + className: 'subheader-item subheader-item-disabled' + }, + 'There is no attachment' + ); + } + }, { + key: 'render', + value: function render() { + var _this5 = this; + + var data = this.state.data; + + return _react2.default.createElement( + 'div', + { + onKeyDown: this.handleKeyDown, + ref: function ref(c) { + return _this5.attachments = c; + }, + tabIndex: 0 + }, + !data ? _react2.default.createElement(_Loader2.default, null) : this.renderData() + ); + } + }]); + + return Attachments; + }(_react.Component); + + Attachments.PropTypes = { + windowType: _propTypes2.default.string.isRequired, + docId: _propTypes2.default.string.isRequired, + dispatch: _propTypes2.default.func.isRequired + }; + + Attachments = (0, _reactRedux.connect)()(Attachments); + + var _default = Attachments; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Attachments, 'Attachments', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Attachments.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Attachments.js'); + }(); + + ; + +/***/ }, +/* 594 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _reactRedux = __webpack_require__(171); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRouterRedux = __webpack_require__(236); + + var _Loader = __webpack_require__(582); + + var _Loader2 = _interopRequireDefault(_Loader); + + var _GenericActions = __webpack_require__(489); + + var _ListActions = __webpack_require__(490); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var Referenced = function (_Component) { + _inherits(Referenced, _Component); + + function Referenced(props) { + _classCallCheck(this, Referenced); + + var _this = _possibleConstructorReturn(this, (Referenced.__proto__ || Object.getPrototypeOf(Referenced)).call(this, props)); + + _this.componentDidMount = function () { + return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleReferenceClick = function () { + return _this.__handleReferenceClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleKeyDown = function () { + return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.renderData = function () { + return _this.__renderData__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + data: null + }; + return _this; + } + + _createClass(Referenced, [{ + key: '__componentDidMount__REACT_HOT_LOADER__', + value: function __componentDidMount__REACT_HOT_LOADER__() { + var _this2 = this; + + var _props = this.props, + dispatch = _props.dispatch, + windowType = _props.windowType, + docId = _props.docId; + + + dispatch((0, _GenericActions.referencesRequest)('window', windowType, docId)).then(function (response) { + _this2.setState({ + data: response.data.groups + }, function () { + _this2.referenced && _this2.referenced.focus(); + }); + }); + } + }, { + key: '__handleReferenceClick__REACT_HOT_LOADER__', + value: function __handleReferenceClick__REACT_HOT_LOADER__(type, filter) { + var _props2 = this.props, + dispatch = _props2.dispatch, + windowType = _props2.windowType, + docId = _props2.docId; + + dispatch((0, _ListActions.setFilter)(filter, type)); + dispatch((0, _reactRouterRedux.push)('/window/' + type + '?refType=' + windowType + '&refId=' + docId)); + } + }, { + key: '__handleKeyDown__REACT_HOT_LOADER__', + value: function __handleKeyDown__REACT_HOT_LOADER__(e) { + var active = document.activeElement; + + var keyHandler = function keyHandler(e, dir) { + var sib = dir ? 'nextSibling' : 'previousSibling'; + e.preventDefault(); + if (active.classList.contains('js-subheader-item')) { + if (!active[sib]) { + return; + } + if (active[sib].classList.contains('js-subheader-item')) { + active[sib].focus(); + } else { + active[sib][sib] && active[sib][sib].focus(); + } + } else { + active.getElementsByClassName('js-subheader-item')[0].focus(); + } + }; + + switch (e.key) { + case 'ArrowDown': + keyHandler(e, true); + break; + case 'ArrowUp': + keyHandler(e, false); + break; + case 'Enter': + e.preventDefault(); + document.activeElement.click(); + break; + } + } + }, { + key: '__renderData__REACT_HOT_LOADER__', + value: function __renderData__REACT_HOT_LOADER__() { + var _this3 = this; + + var data = this.state.data; + + + return data && data.length ? data.map(function (item) { + return [_react2.default.createElement( + 'div', + { className: 'subheader-caption' }, + item.caption + )].concat(item.references.map(function (ref, refKey) { + return _react2.default.createElement( + 'div', + { + className: 'subheader-item js-subheader-item', + onClick: function onClick() { + _this3.handleReferenceClick(ref.documentType, ref.filter); + }, + key: refKey, + tabIndex: 0 + }, + ref.caption + ); + })); + }) : _react2.default.createElement( + 'div', + { className: 'subheader-item subheader-item-disabled' }, + 'There is no referenced document' + ); + } + }, { + key: 'render', + value: function render() { + var _this4 = this; + + var data = this.state.data; + + return _react2.default.createElement( + 'div', + { + onKeyDown: this.handleKeyDown, + ref: function ref(c) { + return _this4.referenced = c; + }, + tabIndex: 0 + }, + !data ? _react2.default.createElement(_Loader2.default, null) : this.renderData() + ); + } + }]); + + return Referenced; + }(_react.Component); + + Referenced.propTypes = { + windowType: _propTypes2.default.string.isRequired, + docId: _propTypes2.default.string.isRequired, + dispatch: _propTypes2.default.func.isRequired + }; + + Referenced = (0, _reactRedux.connect)()(Referenced); + + var _default = Referenced; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(Referenced, 'Referenced', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Referenced.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/header/Referenced.js'); + }(); + + ; + +/***/ }, +/* 595 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRouterRedux = __webpack_require__(236); + + var _reactRedux = __webpack_require__(171); + + var _QuickActions = __webpack_require__(596); + + var _QuickActions2 = _interopRequireDefault(_QuickActions); + + var _BlankPage = __webpack_require__(599); + + var _BlankPage2 = _interopRequireDefault(_BlankPage); + + var _Table = __webpack_require__(561); + + var _Table2 = _interopRequireDefault(_Table); + + var _Filters = __webpack_require__(600); + + var _Filters2 = _interopRequireDefault(_Filters); + + var _SelectionAttributes = __webpack_require__(604); + + var _SelectionAttributes2 = _interopRequireDefault(_SelectionAttributes); + + var _DataLayoutWrapper = __webpack_require__(605); + + var _DataLayoutWrapper2 = _interopRequireDefault(_DataLayoutWrapper); + + var _sockjsClient = __webpack_require__(422); + + var _sockjsClient2 = _interopRequireDefault(_sockjsClient); + + var _stompMin = __webpack_require__(481); + + var _stompMin2 = _interopRequireDefault(_stompMin); + + var _GenericActions = __webpack_require__(489); + + var _WindowActions = __webpack_require__(487); + + var _ListActions = __webpack_require__(490); + + var _AppActions = __webpack_require__(421); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var DocumentList = function (_Component) { + _inherits(DocumentList, _Component); + + function DocumentList(props) { + _classCallCheck(this, DocumentList); + + var _this = _possibleConstructorReturn(this, (DocumentList.__proto__ || Object.getPrototypeOf(DocumentList)).call(this, props)); + + _this.componentDidMount = function () { + return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.connectWS = function () { + return _this.__connectWS__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.getTableData = function () { + return _this.__getTableData__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.disconnectWS = function () { + return _this.__disconnectWS__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.redirectToNewDocument = function () { + return _this.__redirectToNewDocument__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.setClickOutsideLock = function () { + return _this.__setClickOutsideLock__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.fetchLayoutAndData = function () { + return _this.__fetchLayoutAndData__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.browseView = function () { + return _this.__browseView__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.createView = function () { + return _this.__createView__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.filterView = function () { + return _this.__filterView__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.getData = function () { + return _this.__getData__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleChangePage = function () { + return _this.__handleChangePage__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.getSortingQuery = function () { + return _this.__getSortingQuery__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.sortData = function () { + return _this.__sortData__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleFilterChange = function () { + return _this.__handleFilterChange__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.redirectToDocument = function () { + return _this.__redirectToDocument__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + var _this$props = _this.props, + defaultViewId = _this$props.defaultViewId, + defaultPage = _this$props.defaultPage, + defaultSort = _this$props.defaultSort; + + + _this.pageLength = 20; + + _this.state = { + data: null, + layout: null, + + viewId: defaultViewId, + page: defaultPage || 1, + sort: defaultSort, + filters: null, + + clickOutsideLock: false, + refresh: null, + + cachedSelection: null + }; + _this.fetchLayoutAndData(); + return _this; + } + + _createClass(DocumentList, [{ + key: '__componentDidMount__REACT_HOT_LOADER__', + value: function __componentDidMount__REACT_HOT_LOADER__() { + this.mounted = true; + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.mounted = false; + this.disconnectWS(); + } + }, { + key: 'componentWillReceiveProps', + value: function componentWillReceiveProps(props) { + var _this2 = this; + + var windowType = props.windowType, + defaultViewId = props.defaultViewId, + defaultSort = props.defaultSort, + defaultPage = props.defaultPage, + selected = props.selected, + inBackground = props.inBackground, + dispatch = props.dispatch, + includedView = props.includedView, + selectedWindowType = props.selectedWindowType, + disconnectFromState = props.disconnectFromState; + var _state = this.state, + page = _state.page, + sort = _state.sort, + viewId = _state.viewId, + cachedSelection = _state.cachedSelection, + layout = _state.layout; + + /* + * If we browse list of docs, changing type of Document + * does not re-construct component, so we need to + * make it manually while the windowType changes. + */ + + if (windowType !== this.props.windowType) { + this.setState({ + data: null, + layout: null, + filters: null, + viewId: null + }, function () { + !disconnectFromState && dispatch((0, _WindowActions.selectTableItems)([], null)); + _this2.fetchLayoutAndData(); + }); + } + + if (defaultSort != this.props.defaultSort && defaultSort != sort) { + this.setState({ + sort: defaultSort + }); + } + + if (defaultPage != this.props.defaultPage && defaultPage != page) { + this.setState({ + page: defaultPage || 1 + }); + } + + if (defaultViewId != this.props.defaultViewId && defaultViewId != viewId) { + this.setState({ + viewId: defaultViewId + }); + } + + /* + * It is case when we need refersh global selection state, + * because scope is changed + * + * After opening modal cache current selection + * After closing modal with gridview, refresh selected. + */ + if (inBackground != this.props.inBackground) { + if (!inBackground) { + // In case of preventing cached selection restore + cachedSelection && !disconnectFromState && dispatch((0, _WindowActions.selectTableItems)(cachedSelection, windowType)); + this.setState({ + cachedSelection: undefined + }); + } else { + this.setState({ + cachedSelection: selected + }); + } + } + + /* + * When the selection of unfocused table changes + */ + if (selectedWindowType === windowType && cachedSelection !== null && cachedSelection !== undefined && layout && layout.supportIncludedView && includedView && includedView.windowType && includedView.viewId) { + // There is no need to restore cached selection in that case + this.setState({ + cachedSelection: null + }, function () { + dispatch((0, _ListActions.setListIncludedView)()); + }); + } + } + }, { + key: 'shouldComponentUpdate', + value: function shouldComponentUpdate(nextProps, nextState) { + return !!nextState.layout && !!nextState.data; + } + }, { + key: '__connectWS__REACT_HOT_LOADER__', + value: function __connectWS__REACT_HOT_LOADER__(viewId) { + var _this3 = this; + + var _props = this.props, + dispatch = _props.dispatch, + windowType = _props.windowType; + + this.sockClient && this.sockClient.connected && this.sockClient.disconnect(); + + this.sock = new _sockjsClient2.default(config.WS_URL); + this.sockClient = _stompMin2.default.Stomp.over(this.sock); + this.sockClient.debug = null; + this.sockClient.connect({}, function () { + _this3.sockClient.subscribe('/view/' + viewId, function (msg) { + var _JSON$parse = JSON.parse(msg.body), + fullyChanged = _JSON$parse.fullyChanged, + changedIds = _JSON$parse.changedIds; + + if (changedIds) { + dispatch((0, _GenericActions.getDataByIds)('documentView', windowType, viewId, changedIds.join())).then(function (response) { + response.data.map(function (row) { + _this3.setState({ + data: Object.assign(_this3.state.data, {}, { + result: _this3.state.data.result.map(function (resultRow) { + return resultRow.id === row.id ? row : resultRow; + }) + }) + }); + }); + }); + } + if (fullyChanged == true) { + _this3.browseView(true); + } + }); + }); + } + }, { + key: 'doesSelectionExist', + value: function doesSelectionExist(selected, hasIncluded) { + var data = this.state.data; + // When the rows are changing we should ensure + // that selection still exist + + if (hasIncluded) { + return true; + } + + var rows = []; + + data && data.result && data.result.map(function (item) { + rows = rows.concat((0, _WindowActions.mapIncluded)(item)); + }); + + return data && data.size && data.result && selected && selected[0] && (0, _WindowActions.getItemsByProperty)(rows, 'id', selected[0]).length; + } + }, { + key: '__getTableData__REACT_HOT_LOADER__', + value: function __getTableData__REACT_HOT_LOADER__(data) { + return data; + } + }, { + key: '__disconnectWS__REACT_HOT_LOADER__', + value: function __disconnectWS__REACT_HOT_LOADER__() { + this.sockClient && this.sockClient.connected && this.sockClient.disconnect(); + } + }, { + key: '__redirectToNewDocument__REACT_HOT_LOADER__', + value: function __redirectToNewDocument__REACT_HOT_LOADER__() { + var _props2 = this.props, + dispatch = _props2.dispatch, + windowType = _props2.windowType; + + + dispatch((0, _reactRouterRedux.push)('/window/' + windowType + '/new')); + } + }, { + key: '__setClickOutsideLock__REACT_HOT_LOADER__', + + + // FETCHING LAYOUT && DATA ------------------------------------------------- + + value: function __setClickOutsideLock__REACT_HOT_LOADER__(value) { + this.setState({ + clickOutsideLock: !!value + }); + } + }, { + key: '__fetchLayoutAndData__REACT_HOT_LOADER__', + + + /* + * If viewId exist, than browse that view. + */ + value: function __fetchLayoutAndData__REACT_HOT_LOADER__(isNewFilter) { + var _this4 = this; + + var _props3 = this.props, + dispatch = _props3.dispatch, + windowType = _props3.windowType, + type = _props3.type, + setModalTitle = _props3.setModalTitle, + setNotFound = _props3.setNotFound; + var viewId = this.state.viewId; + + + dispatch((0, _GenericActions.initLayout)('documentView', windowType, null, null, null, null, type, true)).then(function (response) { + _this4.mounted && _this4.setState({ + layout: response.data + }, function () { + if (viewId && !isNewFilter) { + _this4.browseView(); + } else { + if (viewId) { + _this4.filterView(); + } else { + _this4.createView(); + } + } + setModalTitle && setModalTitle(response.data.caption); + }); + }).catch(function () { + // We have to always update that fields to refresh that view! + // Check the shouldComponentUpdate method + _this4.setState({ + data: 'notfound', + layout: 'notfound' + }, function () { + setNotFound && setNotFound(true); + }); + }); + } + }, { + key: '__browseView__REACT_HOT_LOADER__', + value: function __browseView__REACT_HOT_LOADER__(refresh) { + var _this5 = this; + + var _state2 = this.state, + viewId = _state2.viewId, + page = _state2.page, + sort = _state2.sort; + + + this.getData(viewId, page, sort, refresh).catch(function (err) { + if (err.response && err.response.status === 404) { + _this5.createView(); + } + }); + } + }, { + key: '__createView__REACT_HOT_LOADER__', + value: function __createView__REACT_HOT_LOADER__() { + var _this6 = this; + + var _props4 = this.props, + dispatch = _props4.dispatch, + windowType = _props4.windowType, + type = _props4.type, + refType = _props4.refType, + refId = _props4.refId; + var _state3 = this.state, + page = _state3.page, + sort = _state3.sort, + filters = _state3.filters; + + + dispatch((0, _AppActions.createViewRequest)(windowType, type, this.pageLength, filters, refType, refId)).then(function (response) { + _this6.mounted && _this6.setState({ + data: response.data, + viewId: response.data.viewId + }, function () { + _this6.getData(response.data.viewId, page, sort); + }); + }); + } + }, { + key: '__filterView__REACT_HOT_LOADER__', + value: function __filterView__REACT_HOT_LOADER__() { + var _this7 = this; + + var _props5 = this.props, + dispatch = _props5.dispatch, + windowType = _props5.windowType; + var _state4 = this.state, + page = _state4.page, + sort = _state4.sort, + filters = _state4.filters, + viewId = _state4.viewId; + + + dispatch((0, _AppActions.filterViewRequest)(windowType, viewId, filters)).then(function (response) { + _this7.mounted && _this7.setState({ + data: response.data, + viewId: response.data.viewId + }, function () { + _this7.getData(response.data.viewId, page, sort); + }); + }); + } + }, { + key: '__getData__REACT_HOT_LOADER__', + + + // END OF FETCHING LAYOUT && DATA ------------------------------------------ + + // MANAGING SORT, PAGINATION, FILTERS -------------------------------------- + + value: function __getData__REACT_HOT_LOADER__(id, page, sortingQuery, refresh) { + var _this8 = this; + + var _props6 = this.props, + dispatch = _props6.dispatch, + windowType = _props6.windowType, + updateUri = _props6.updateUri, + setNotFound = _props6.setNotFound; + + + setNotFound && setNotFound(false); + + if (updateUri) { + id && updateUri('viewId', id); + page && updateUri('page', page); + sortingQuery && updateUri('sort', sortingQuery); + } + + return dispatch((0, _AppActions.browseViewRequest)(id, page, this.pageLength, sortingQuery, windowType)).then(function (response) { + + _this8.mounted && _this8.setState(Object.assign({}, { + data: response.data, + filters: response.data.filters + }, refresh && { + refresh: Date.now() + }), function () { + _this8.connectWS(response.data.viewId); + }); + }); + } + }, { + key: '__handleChangePage__REACT_HOT_LOADER__', + value: function __handleChangePage__REACT_HOT_LOADER__(index) { + var _this9 = this; + + var _state5 = this.state, + data = _state5.data, + sort = _state5.sort, + page = _state5.page, + viewId = _state5.viewId; + + + var currentPage = page; + + switch (index) { + case 'up': + currentPage * data.pageLength < data.size ? currentPage++ : null; + break; + case 'down': + currentPage != 1 ? currentPage-- : null; + break; + default: + currentPage = index; + } + + this.setState({ + page: currentPage + }, function () { + _this9.getData(viewId, currentPage, sort); + }); + } + }, { + key: '__getSortingQuery__REACT_HOT_LOADER__', + value: function __getSortingQuery__REACT_HOT_LOADER__(asc, field) { + return (asc ? '+' : '-') + field; + } + }, { + key: '__sortData__REACT_HOT_LOADER__', + value: function __sortData__REACT_HOT_LOADER__(asc, field, startPage) { + var _this10 = this; + + var _state6 = this.state, + viewId = _state6.viewId, + page = _state6.page; + + + this.setState({ + sort: this.getSortingQuery(asc, field) + }, function () { + _this10.getData(viewId, startPage ? 1 : page, _this10.getSortingQuery(asc, field)); + }); + } + }, { + key: '__handleFilterChange__REACT_HOT_LOADER__', + + + // END OF MANAGING SORT, PAGINATION, FILTERS ------------------------------- + + value: function __handleFilterChange__REACT_HOT_LOADER__(filters) { + var _this11 = this; + + this.setState({ + filters: filters, + page: 1 + }, function () { + _this11.fetchLayoutAndData(true); + }); + } + }, { + key: '__redirectToDocument__REACT_HOT_LOADER__', + value: function __redirectToDocument__REACT_HOT_LOADER__(id) { + var _props7 = this.props, + dispatch = _props7.dispatch, + isModal = _props7.isModal, + windowType = _props7.windowType, + isSideListShow = _props7.isSideListShow; + var _state7 = this.state, + page = _state7.page, + viewId = _state7.viewId, + sort = _state7.sort; + + + if (isModal) { + return; + } + + dispatch((0, _reactRouterRedux.push)('/window/' + windowType + '/' + id)); + + if (!isSideListShow) { + // Caching last settings + dispatch((0, _ListActions.setPagination)(page, windowType)); + dispatch((0, _ListActions.setSorting)(sort, windowType)); + dispatch((0, _ListActions.setListId)(viewId, windowType)); + } + } + }, { + key: 'render', + value: function render() { + var _this12 = this; + + var _state8 = this.state, + layout = _state8.layout, + data = _state8.data, + viewId = _state8.viewId, + clickOutsideLock = _state8.clickOutsideLock, + refresh = _state8.refresh, + page = _state8.page, + filters = _state8.filters, + cachedSelection = _state8.cachedSelection; + var _props8 = this.props, + windowType = _props8.windowType, + open = _props8.open, + closeOverlays = _props8.closeOverlays, + selected = _props8.selected, + inBackground = _props8.inBackground, + fetchQuickActionsOnInit = _props8.fetchQuickActionsOnInit, + isModal = _props8.isModal, + processStatus = _props8.processStatus, + readonly = _props8.readonly, + includedView = _props8.includedView, + isIncluded = _props8.isIncluded, + disablePaginationShortcuts = _props8.disablePaginationShortcuts, + notfound = _props8.notfound, + disconnectFromState = _props8.disconnectFromState, + autofocus = _props8.autofocus, + selectedWindowType = _props8.selectedWindowType; + + + var hasIncluded = layout && layout.supportIncludedView && includedView && includedView.windowType && includedView.viewId; + var selectionValid = this.doesSelectionExist(selected, hasIncluded); + + if (notfound || layout === 'notfound' || data === 'notfound') { + return _react2.default.createElement(_BlankPage2.default, { what: 'Document type' }); + } + + if (layout && data) { + return _react2.default.createElement( + 'div', + { + className: 'document-list-wrapper ' + (isIncluded ? 'document-list-included ' : '') + }, + !readonly && _react2.default.createElement( + 'div', + { + className: 'panel panel-primary panel-spaced panel-inline document-list-header' + }, + !hasIncluded && _react2.default.createElement( + 'div', + null, + layout.supportNewRecord && !isModal && _react2.default.createElement( + 'button', + { + className: 'btn btn-meta-outline-secondary btn-distance btn-sm hidden-sm-down btn-new-document', + onClick: function onClick() { + return _this12.redirectToNewDocument(); + }, + title: layout.newRecordCaption + }, + _react2.default.createElement('i', { className: 'meta-icon-add' }), + layout.newRecordCaption + ), + layout.filters && _react2.default.createElement(_Filters2.default, { + filterData: layout.filters, + filtersActive: filters, + windowType: windowType, + viewId: viewId, + updateDocList: this.handleFilterChange + }) + ), + _react2.default.createElement(_QuickActions2.default, { + windowType: windowType, + selectedWindowType: selectedWindowType, + viewId: viewId, + selected: selectionValid ? selected : undefined, + refresh: refresh, + fetchOnInit: fetchQuickActionsOnInit, + processStatus: processStatus, + hidden: hasIncluded, + shouldNotUpdate: inBackground && !hasIncluded + }) + ), + _react2.default.createElement( + 'div', + { className: 'document-list-body' }, + _react2.default.createElement( + _Table2.default, + _extends({ + entity: 'documentView', + ref: function ref(c) { + return _this12.table = c && c.getWrappedInstance() && c.getWrappedInstance().refs.instance; + }, + rowData: { 1: data.result }, + cols: layout.elements, + tabid: 1, + type: windowType, + emptyText: layout.emptyResultText, + emptyHint: layout.emptyResultHint, + readonly: true, + keyProperty: 'id', + onDoubleClick: function onDoubleClick(id) { + return !isIncluded && _this12.redirectToDocument(id); + }, + size: data.size, + pageLength: this.pageLength, + handleChangePage: this.handleChangePage, + mainTable: true, + updateDocList: this.fetchLayoutAndData, + sort: this.sortData, + orderBy: data.orderBy, + tabIndex: 0, + indentSupported: layout.supportTree, + disableOnClickOutside: clickOutsideLock, + defaultSelected: cachedSelection ? cachedSelection : selected, + queryLimitHit: data.queryLimitHit, + doesSelectionExist: this.doesSelectionExist + }, { isIncluded: isIncluded, disconnectFromState: disconnectFromState, autofocus: autofocus, + open: open, page: page, closeOverlays: closeOverlays, inBackground: inBackground, + disablePaginationShortcuts: disablePaginationShortcuts, isModal: isModal, + hasIncluded: hasIncluded + }), + layout.supportAttributes && !isIncluded && !hasIncluded && _react2.default.createElement( + _DataLayoutWrapper2.default, + { + className: 'table-flex-wrapper attributes-selector js-not-unselect', + entity: 'documentView', + windowType: windowType, + viewId: viewId + }, + _react2.default.createElement(_SelectionAttributes2.default, { + refresh: refresh, + setClickOutsideLock: this.setClickOutsideLock, + selected: selectionValid ? selected : undefined, + shouldNotUpdate: inBackground + }) + ) + ) + ) + ); + } else { + return false; + } + } + }]); + + return DocumentList; + }(_react.Component); + + DocumentList.propTypes = { + windowType: _propTypes2.default.string.isRequired, + dispatch: _propTypes2.default.func.isRequired + }; + + DocumentList = (0, _reactRedux.connect)()(DocumentList); + + var _default = DocumentList; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(DocumentList, 'DocumentList', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/DocumentList.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/DocumentList.js'); + }(); + + ; + +/***/ }, +/* 596 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _reactRedux = __webpack_require__(171); + + var _ListActions = __webpack_require__(490); + + var _WindowActions = __webpack_require__(487); + + var _QuickActionsDropdown = __webpack_require__(597); + + var _QuickActionsDropdown2 = _interopRequireDefault(_QuickActionsDropdown); + + var _keymap = __webpack_require__(566); + + var _keymap2 = _interopRequireDefault(_keymap); + + var _QuickActionsContextShortcuts = __webpack_require__(598); + + var _QuickActionsContextShortcuts2 = _interopRequireDefault(_QuickActionsContextShortcuts); + + var _reactShortcuts = __webpack_require__(514); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var shortcutManager = new _reactShortcuts.ShortcutManager(_keymap2.default); + + var QuickActions = function (_Component) { + _inherits(QuickActions, _Component); + + function QuickActions(props) { + _classCallCheck(this, QuickActions); + + var _this = _possibleConstructorReturn(this, (QuickActions.__proto__ || Object.getPrototypeOf(QuickActions)).call(this, props)); + + _this.componentDidMount = function () { + return _this.__componentDidMount__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.componentWillUnmount = function () { + return _this.__componentWillUnmount__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.componentDidUpdate = function () { + return _this.__componentDidUpdate__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.getChildContext = function () { + return _this.__getChildContext__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClickOutside = function () { + return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.handleClick = function () { + return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.fetchActions = function () { + return _this.__fetchActions__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.toggleDropdown = function () { + return _this.__toggleDropdown__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + _this.state = { + actions: [], + isDropdownOpen: false + }; + + var fetchOnInit = _this.props.fetchOnInit; + + + if (fetchOnInit) { + _this.fetchActions(); + } + return _this; + } + + _createClass(QuickActions, [{ + key: '__componentDidMount__REACT_HOT_LOADER__', + value: function __componentDidMount__REACT_HOT_LOADER__() { + this.mounted = true; + } + }, { + key: '__componentWillUnmount__REACT_HOT_LOADER__', + value: function __componentWillUnmount__REACT_HOT_LOADER__() { + this.mounted = false; + } + }, { + key: '__componentDidUpdate__REACT_HOT_LOADER__', + value: function __componentDidUpdate__REACT_HOT_LOADER__(prevProps) { + var _props = this.props, + selected = _props.selected, + refresh = _props.refresh, + shouldNotUpdate = _props.shouldNotUpdate, + viewId = _props.viewId, + selectedWindowType = _props.selectedWindowType, + windowType = _props.windowType; + + + if (shouldNotUpdate) { + return; + } + + if (selectedWindowType && selectedWindowType !== windowType) { + return; + } + + if (JSON.stringify(prevProps.selected) !== JSON.stringify(selected) || JSON.stringify(prevProps.refresh) !== JSON.stringify(refresh) || JSON.stringify(prevProps.viewId) !== JSON.stringify(viewId)) { + this.fetchActions(); + } + } + }, { + key: '__getChildContext__REACT_HOT_LOADER__', + value: function __getChildContext__REACT_HOT_LOADER__() { + return { shortcuts: shortcutManager }; + } + }, { + key: '__handleClickOutside__REACT_HOT_LOADER__', + value: function __handleClickOutside__REACT_HOT_LOADER__() { + this.toggleDropdown(); + } + }, { + key: '__handleClick__REACT_HOT_LOADER__', + value: function __handleClick__REACT_HOT_LOADER__(action) { + var _props2 = this.props, + dispatch = _props2.dispatch, + viewId = _props2.viewId, + selected = _props2.selected; + + + if (action.disabled) { + return; + } + + dispatch((0, _WindowActions.openModal)(action.caption, action.processId, 'process', null, null, false, viewId, selected)); + + this.toggleDropdown(); + } + }, { + key: '__fetchActions__REACT_HOT_LOADER__', + value: function __fetchActions__REACT_HOT_LOADER__() { + var _this2 = this; + + var _props3 = this.props, + dispatch = _props3.dispatch, + windowType = _props3.windowType, + viewId = _props3.viewId, + selected = _props3.selected; + + dispatch((0, _ListActions.quickActionsRequest)(windowType, viewId, selected)).then(function (response) { + _this2.mounted && _this2.setState({ + actions: response.data.actions + }); + }); + } + }, { + key: '__toggleDropdown__REACT_HOT_LOADER__', + value: function __toggleDropdown__REACT_HOT_LOADER__(option) { + this.setState({ + isDropdownOpen: option + }); + } + }, { + key: 'render', + value: function render() { + var _this3 = this; + + var _state = this.state, + actions = _state.actions, + isDropdownOpen = _state.isDropdownOpen; + var _props4 = this.props, + shouldNotUpdate = _props4.shouldNotUpdate, + processStatus = _props4.processStatus, + hidden = _props4.hidden; + + + if (actions.length && !hidden) { + return _react2.default.createElement( + 'div', + { className: 'js-not-unselect' }, + _react2.default.createElement( + 'span', + { className: 'spacer-right' }, + 'Actions:' + ), + _react2.default.createElement( + 'div', + { className: 'quick-actions-wrapper' }, + _react2.default.createElement( + 'div', + { + className: 'tag tag-success tag-xlg spacer-right ' + 'quick-actions-tag ' + (actions[0].disabled || processStatus === 'pending' ? 'tag-default ' : 'pointer '), + onClick: function onClick() { + return _this3.handleClick(actions[0]); + }, + title: actions[0].caption + }, + actions[0].caption + ), + _react2.default.createElement( + 'div', + { + className: 'btn-meta-outline-secondary btn-icon-sm ' + 'btn-inline btn-icon pointer ' + (isDropdownOpen ? 'btn-disabled ' : ''), + onClick: function onClick() { + return _this3.toggleDropdown(!isDropdownOpen); + } + }, + _react2.default.createElement('i', { className: 'meta-icon-down-1' }) + ), + isDropdownOpen && _react2.default.createElement(_QuickActionsDropdown2.default, { + actions: actions, + handleClick: this.handleClick, + handleClickOutside: function handleClickOutside() { + return _this3.toggleDropdown(false); + }, + disableOnClickOutside: !isDropdownOpen + }) + ), + _react2.default.createElement(_QuickActionsContextShortcuts2.default, { + handleClick: function handleClick() { + return shouldNotUpdate ? null : _this3.handleClick(actions[0]); + } + }) + ); + } else { + return false; + } + } + }]); + + return QuickActions; + }(_react.Component); + + QuickActions.childContextTypes = { + shortcuts: _propTypes2.default.object.isRequired + }; + + QuickActions.propTypes = { + dispatch: _propTypes2.default.func.isRequired + }; + + QuickActions = (0, _reactRedux.connect)()(QuickActions); + + var _default = QuickActions; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(shortcutManager, 'shortcutManager', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js'); + + __REACT_HOT_LOADER__.register(QuickActions, 'QuickActions', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActions.js'); + }(); + + ; + +/***/ }, +/* 597 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _reactRedux = __webpack_require__(171); + + var _reactOnclickoutside = __webpack_require__(503); + + var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var QuickActionsDropdown = function (_Component) { + _inherits(QuickActionsDropdown, _Component); + + function QuickActionsDropdown(props) { + _classCallCheck(this, QuickActionsDropdown); + + var _this = _possibleConstructorReturn(this, (QuickActionsDropdown.__proto__ || Object.getPrototypeOf(QuickActionsDropdown)).call(this, props)); + + _this.handleClickOutside = function () { + return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + return _this; + } + + _createClass(QuickActionsDropdown, [{ + key: '__handleClickOutside__REACT_HOT_LOADER__', + value: function __handleClickOutside__REACT_HOT_LOADER__() { + var handleClickOutside = this.props.handleClickOutside; + + + handleClickOutside(); + } + }, { + key: 'render', + value: function render() { + var _props = this.props, + actions = _props.actions, + handleClick = _props.handleClick; + + + return _react2.default.createElement( + 'div', + { + className: 'quick-actions-dropdown' + }, + actions.map(function (action, index) { + return _react2.default.createElement( + 'div', + { + className: 'quick-actions-item ' + (action.disabled ? 'quick-actions-item-disabled ' : ''), + key: index, + onClick: function onClick() { + return handleClick(action); + } + }, + action.caption, + action.disabled && _react2.default.createElement( + 'p', + { className: 'one-line' }, + _react2.default.createElement( + 'small', + null, + '(', + action.disabledReason, + ')' + ) + ) + ); + }) + ); + } + }]); + + return QuickActionsDropdown; + }(_react.Component); + + QuickActionsDropdown = (0, _reactRedux.connect)()((0, _reactOnclickoutside2.default)(QuickActionsDropdown)); + + var _default = QuickActionsDropdown; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(QuickActionsDropdown, 'QuickActionsDropdown', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActionsDropdown.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/QuickActionsDropdown.js'); + }(); + + ; + +/***/ }, +/* 598 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _reactShortcuts = __webpack_require__(514); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var QuickActionsContextShortcuts = function (_Component) { + _inherits(QuickActionsContextShortcuts, _Component); + + function QuickActionsContextShortcuts(props) { + _classCallCheck(this, QuickActionsContextShortcuts); + + var _this = _possibleConstructorReturn(this, (QuickActionsContextShortcuts.__proto__ || Object.getPrototypeOf(QuickActionsContextShortcuts)).call(this, props)); + + _this.handleShortcuts = function () { + return _this.__handleShortcuts__REACT_HOT_LOADER__.apply(_this, arguments); + }; + + return _this; + } + + _createClass(QuickActionsContextShortcuts, [{ + key: '__handleShortcuts__REACT_HOT_LOADER__', + value: function __handleShortcuts__REACT_HOT_LOADER__(action, event) { + var handleClick = this.props.handleClick; + + + switch (action) { + case 'QUICK_ACTION_POS': + event.preventDefault(); + handleClick(); + break; + } + } + }, { + key: 'render', + value: function render() { + return _react2.default.createElement(_reactShortcuts.Shortcuts, { + name: 'QUICK_ACTIONS', + handler: this.handleShortcuts, + targetNodeSelector: 'body', + isolate: true, + preventDefault: true, + stopPropagation: true + }); + } + }]); + + return QuickActionsContextShortcuts; + }(_react.Component); + + var _default = QuickActionsContextShortcuts; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(QuickActionsContextShortcuts, 'QuickActionsContextShortcuts', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/shortcuts/QuickActionsContextShortcuts.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/shortcuts/QuickActionsContextShortcuts.js'); + }(); + + ; + +/***/ }, +/* 599 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var BlankPage = function (_Component) { + _inherits(BlankPage, _Component); + + function BlankPage(props) { + _classCallCheck(this, BlankPage); + + return _possibleConstructorReturn(this, (BlankPage.__proto__ || Object.getPrototypeOf(BlankPage)).call(this, props)); + } + + _createClass(BlankPage, [{ + key: 'render', + value: function render() { + var what = this.props.what; + + + return _react2.default.createElement( + 'div', + { className: 'blank-page' }, + _react2.default.createElement( + 'h1', + null, + '404' + ), + _react2.default.createElement( + 'h3', + null, + what ? what + ' not found.' : 'Not found' + ) + ); + } + }]); + + return BlankPage; + }(_react.Component); + + var _default = BlankPage; + exports.default = _default; + ; + + var _temp = function () { + if (typeof __REACT_HOT_LOADER__ === 'undefined') { + return; + } + + __REACT_HOT_LOADER__.register(BlankPage, 'BlankPage', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/BlankPage.js'); + + __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/BlankPage.js'); + }(); + + ; + +/***/ }, +/* 600 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _propTypes = __webpack_require__(173); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _FiltersFrequent = __webpack_require__(601); var _FiltersFrequent2 = _interopRequireDefault(_FiltersFrequent); - var _FiltersNotFrequent = __webpack_require__(594); + var _FiltersNotFrequent = __webpack_require__(603); var _FiltersNotFrequent2 = _interopRequireDefault(_FiltersNotFrequent); @@ -103165,7 +105527,7 @@ ; /***/ }, -/* 592 */ +/* 601 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -103182,11 +105544,11 @@ var _reactRedux = __webpack_require__(171); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _FiltersItem = __webpack_require__(593); + var _FiltersItem = __webpack_require__(602); var _FiltersItem2 = _interopRequireDefault(_FiltersItem); @@ -103214,6 +105576,10 @@ return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); }; + _this.outsideClick = function () { + return _this.__outsideClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + _this.state = { openFilterId: null }; @@ -103230,6 +105596,11 @@ }, { key: '__handleClickOutside__REACT_HOT_LOADER__', value: function __handleClickOutside__REACT_HOT_LOADER__() { + this.outsideClick(); + } + }, { + key: '__outsideClick__REACT_HOT_LOADER__', + value: function __outsideClick__REACT_HOT_LOADER__() { var _props = this.props, widgetShown = _props.widgetShown, dropdownToggled = _props.dropdownToggled; @@ -103291,7 +105662,8 @@ onHide: function onHide() { return handleShow(false); }, - viewId: viewId + viewId: viewId, + outsideClick: _this2.outsideClick }) ); }) @@ -103321,7 +105693,7 @@ ; /***/ }, -/* 593 */ +/* 602 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -103330,16 +105702,22 @@ value: true }); + var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _react = __webpack_require__(2); var _react2 = _interopRequireDefault(_react); - var _RawWidget = __webpack_require__(505); + var _RawWidget = __webpack_require__(492); var _RawWidget2 = _interopRequireDefault(_RawWidget); + var _OverlayField = __webpack_require__(577); + + var _OverlayField2 = _interopRequireDefault(_OverlayField); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } @@ -103465,6 +105843,10 @@ var filter = this.state.filter; + if (filter && filter.parametersLayoutType === 'singleOverlayField' && !filter.parameters[0].value) { + return this.handleClear(); + } + applyFilters(filter, function () { closeFilterMenu(); }); @@ -103494,85 +105876,93 @@ windowType = _props3.windowType, onShow = _props3.onShow, onHide = _props3.onHide, - viewId = _props3.viewId; + viewId = _props3.viewId, + outsideClick = _props3.outsideClick; var filter = this.state.filter; return _react2.default.createElement( 'div', - { className: 'filter-menu filter-widget' }, - _react2.default.createElement( + null, + data.parametersLayoutType === 'singleOverlayField' ? _react2.default.createElement(_OverlayField2.default, _extends({ + type: windowType, + filter: true, + layout: filter, + handlePatch: this.setValue, + handleChange: this.setValue, + closeOverlay: outsideClick, + handleSubmit: this.handleApply + }, { windowType: windowType, onShow: onShow, onHide: onHide, viewId: viewId })) : _react2.default.createElement( 'div', - null, - 'Active filter:', - _react2.default.createElement( - 'span', - { className: 'filter-active' }, - ' ', - data.caption - ), - isActive && _react2.default.createElement( - 'span', - { - className: 'filter-clear', - onClick: function onClick() { - return _this4.handleClear(); - } - }, - 'Clear filter ', - _react2.default.createElement('i', { className: 'meta-icon-trash' }) - ) - ), - _react2.default.createElement( - 'div', - { className: 'form-group row filter-content' }, + { className: 'filter-menu filter-widget' }, _react2.default.createElement( 'div', - { className: 'col-sm-12' }, - filter.parameters && filter.parameters.map(function (item, index) { - return _react2.default.createElement(_RawWidget2.default, { - entity: 'documentView', - subentity: 'filter', - subentityId: filter.filterId, - handlePatch: _this4.setValue, - handleChange: _this4.setValue, - widgetType: item.widgetType, - fields: [item], - windowType: windowType, - type: item.type, - widgetData: [item], - key: index, - id: index, - range: item.range, - onShow: onShow, - onHide: onHide, - caption: item.caption, - noLabel: false, - filterWidget: true, - viewId: viewId - }); - }) - ), - _react2.default.createElement( - 'div', - { className: 'col-sm-12 text-xs-right' }, - notValidFields && _react2.default.createElement( - 'div', - { className: 'input-error' }, - 'Mandatory filters are not filled!' + null, + 'Active filter:', + _react2.default.createElement( + 'span', + { className: 'filter-active' }, + data.caption + ), + isActive && _react2.default.createElement( + 'span', + { + className: 'filter-clear', + onClick: function onClick() { + return _this4.handleClear(); + } + }, + 'Clear filter', + _react2.default.createElement('i', { className: 'meta-icon-trash' }) ) - ) - ), - _react2.default.createElement( - 'div', - { className: 'filter-btn-wrapper' }, + ), _react2.default.createElement( - 'button', - { - className: 'applyBtn btn btn-sm btn-success', - onClick: this.handleApply - }, - 'Apply' + 'div', + { className: 'form-group row filter-content' }, + _react2.default.createElement( + 'div', + { className: 'col-sm-12' }, + filter.parameters && filter.parameters.map(function (item, index) { + return _react2.default.createElement(_RawWidget2.default, _extends({ + entity: 'documentView', + subentity: 'filter', + subentityId: filter.filterId, + handlePatch: _this4.setValue, + handleChange: _this4.setValue, + widgetType: item.widgetType, + fields: [item], + type: item.type, + widgetData: [item], + key: index, + id: index, + range: item.range, + caption: item.caption, + noLabel: false, + filterWidget: true + }, { viewId: viewId, windowType: windowType, onShow: onShow, onHide: onHide })); + }) + ), + _react2.default.createElement( + 'div', + { className: 'col-sm-12 text-xs-right' }, + notValidFields && _react2.default.createElement( + 'div', + { className: 'input-error' }, + 'Mandatory filters are not filled!' + ) + ) + ), + _react2.default.createElement( + 'div', + { className: 'filter-btn-wrapper' }, + _react2.default.createElement( + 'button', + { + className: 'applyBtn btn btn-sm btn-success', + onClick: this.handleApply + }, + 'Apply' + ) ) ) ); @@ -103599,7 +105989,7 @@ ; /***/ }, -/* 594 */ +/* 603 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -103616,15 +106006,15 @@ var _reactRedux = __webpack_require__(171); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _FiltersItem = __webpack_require__(593); + var _FiltersItem = __webpack_require__(602); var _FiltersItem2 = _interopRequireDefault(_FiltersItem); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -103646,6 +106036,10 @@ return _this.__handleClickOutside__REACT_HOT_LOADER__.apply(_this, arguments); }; + _this.outsideClick = function () { + return _this.__outsideClick__REACT_HOT_LOADER__.apply(_this, arguments); + }; + _this.toggleDropdown = function () { return _this.__toggleDropdown__REACT_HOT_LOADER__.apply(_this, arguments); }; @@ -103664,6 +106058,11 @@ _createClass(FiltersNotFrequent, [{ key: '__handleClickOutside__REACT_HOT_LOADER__', value: function __handleClickOutside__REACT_HOT_LOADER__() { + this.outsideClick(); + } + }, { + key: '__outsideClick__REACT_HOT_LOADER__', + value: function __outsideClick__REACT_HOT_LOADER__() { var _props = this.props, widgetShown = _props.widgetShown, dropdownToggled = _props.dropdownToggled; @@ -103763,7 +106162,8 @@ onHide: function onHide() { return handleShow(false); }, - viewId: viewId + viewId: viewId, + outsideClick: this.outsideClick }) ) ); @@ -103792,7 +106192,7 @@ ; /***/ }, -/* 595 */ +/* 604 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -103811,9 +106211,9 @@ var _GenericActions = __webpack_require__(489); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); - var _RawWidget = __webpack_require__(505); + var _RawWidget = __webpack_require__(492); var _RawWidget2 = _interopRequireDefault(_RawWidget); @@ -104022,7 +106422,7 @@ ; /***/ }, -/* 596 */ +/* 605 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -104041,7 +106441,7 @@ var _GenericActions = __webpack_require__(489); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -104225,120 +106625,7 @@ ; /***/ }, -/* 597 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Indicator = function (_Component) { - _inherits(Indicator, _Component); - - function Indicator(props) { - _classCallCheck(this, Indicator); - - var _this = _possibleConstructorReturn(this, (Indicator.__proto__ || Object.getPrototypeOf(Indicator)).call(this, props)); - - _this.renderIndicator = function () { - return _this.__renderIndicator__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - return _this; - } - - _createClass(Indicator, [{ - key: '__renderIndicator__REACT_HOT_LOADER__', - value: function __renderIndicator__REACT_HOT_LOADER__(state) { - switch (state) { - case 'saved': - return 'indicator-success'; - case 'pending': - return 'indicator-pending'; - case 'error': - return 'indicator-error'; - } - } - }, { - key: 'render', - value: function render() { - var _props = this.props, - indicator = _props.indicator, - isDocumentNotSaved = _props.isDocumentNotSaved; - - - return _react2.default.createElement( - 'div', - null, - _react2.default.createElement('div', { className: 'indicator-bar ' + (isDocumentNotSaved ? 'indicator-error ' : 'indicator-' + indicator) }) - ); - } - }]); - - return Indicator; - }(_react.Component); - - function mapStateToProps(state) { - var windowHandler = state.windowHandler; - - var _ref = windowHandler || { - indicator: '' - }, - indicator = _ref.indicator; - - return { - indicator: indicator - }; - } - - Indicator.propTypes = { - indicator: _propTypes2.default.string.isRequired - }; - - Indicator = (0, _reactRedux.connect)(mapStateToProps)(Indicator); - - var _default = Indicator; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Indicator, 'Indicator', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Indicator.js'); - - __REACT_HOT_LOADER__.register(mapStateToProps, 'mapStateToProps', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Indicator.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Indicator.js'); - }(); - - ; - -/***/ }, -/* 598 */ +/* 606 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -104361,11 +106648,11 @@ var _reactRouterRedux = __webpack_require__(236); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _InboxItem = __webpack_require__(599); + var _InboxItem = __webpack_require__(607); var _InboxItem2 = _interopRequireDefault(_InboxItem); @@ -104602,7 +106889,7 @@ ; /***/ }, -/* 599 */ +/* 607 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -104765,7 +107052,7 @@ ; /***/ }, -/* 600 */ +/* 608 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -104780,7 +107067,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactShortcuts = __webpack_require__(526); + var _reactShortcuts = __webpack_require__(514); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -104921,7 +107208,7 @@ ; /***/ }, -/* 601 */ +/* 609 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -104993,7 +107280,7 @@ ; /***/ }, -/* 602 */ +/* 610 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -105015,15 +107302,15 @@ var _reactRedux = __webpack_require__(171); - var _Container = __webpack_require__(483); + var _Container = __webpack_require__(578); var _Container2 = _interopRequireDefault(_Container); - var _DraggableWrapper = __webpack_require__(603); + var _DraggableWrapper = __webpack_require__(611); var _DraggableWrapper2 = _interopRequireDefault(_DraggableWrapper); - var _Modal = __webpack_require__(770); + var _Modal = __webpack_require__(483); var _Modal2 = _interopRequireDefault(_Modal); @@ -105135,7 +107422,7 @@ ; /***/ }, -/* 603 */ +/* 611 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -105161,13 +107448,13 @@ var _update2 = _interopRequireDefault(_update); - var _DraggableWidget = __webpack_require__(604); + var _DraggableWidget = __webpack_require__(612); var _DraggableWidget2 = _interopRequireDefault(_DraggableWidget); - var _reactDnd = __webpack_require__(606); + var _reactDnd = __webpack_require__(614); - var _reactDndHtml5Backend = __webpack_require__(738); + var _reactDndHtml5Backend = __webpack_require__(746); var _reactDndHtml5Backend2 = _interopRequireDefault(_reactDndHtml5Backend); @@ -105175,7 +107462,7 @@ var _metasfresh_logo_green_thumb2 = _interopRequireDefault(_metasfresh_logo_green_thumb); - var _RawChart = __webpack_require__(726); + var _RawChart = __webpack_require__(734); var _RawChart2 = _interopRequireDefault(_RawChart); @@ -105386,7 +107673,7 @@ ; /***/ }, -/* 604 */ +/* 612 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -105406,17 +107693,17 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _ItemTypes = __webpack_require__(605); + var _ItemTypes = __webpack_require__(613); var _ItemTypes2 = _interopRequireDefault(_ItemTypes); - var _reactDnd = __webpack_require__(606); + var _reactDnd = __webpack_require__(614); - var _reactOnclickoutside = __webpack_require__(486); + var _reactOnclickoutside = __webpack_require__(503); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _RawChart = __webpack_require__(726); + var _RawChart = __webpack_require__(734); var _RawChart2 = _interopRequireDefault(_RawChart); @@ -105696,7 +107983,7 @@ ; /***/ }, -/* 605 */ +/* 613 */ /***/ function(module, exports) { 'use strict'; @@ -105721,7 +108008,7 @@ ; /***/ }, -/* 606 */ +/* 614 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -105730,24 +108017,24 @@ function _interopRequire(obj) { return obj && obj.__esModule ? obj['default'] : obj; } - var _DragDropContext = __webpack_require__(607); + var _DragDropContext = __webpack_require__(615); exports.DragDropContext = _interopRequire(_DragDropContext); - var _DragLayer = __webpack_require__(703); + var _DragLayer = __webpack_require__(711); exports.DragLayer = _interopRequire(_DragLayer); - var _DragSource = __webpack_require__(706); + var _DragSource = __webpack_require__(714); exports.DragSource = _interopRequire(_DragSource); - var _DropTarget = __webpack_require__(721); + var _DropTarget = __webpack_require__(729); exports.DropTarget = _interopRequire(_DropTarget); /***/ }, -/* 607 */ +/* 615 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -105772,13 +108059,13 @@ var _react2 = _interopRequireDefault(_react); - var _dndCore = __webpack_require__(608); + var _dndCore = __webpack_require__(616); var _invariant = __webpack_require__(200); var _invariant2 = _interopRequireDefault(_invariant); - var _utilsCheckDecoratorArguments = __webpack_require__(702); + var _utilsCheckDecoratorArguments = __webpack_require__(710); var _utilsCheckDecoratorArguments2 = _interopRequireDefault(_utilsCheckDecoratorArguments); @@ -105852,7 +108139,7 @@ module.exports = exports['default']; /***/ }, -/* 608 */ +/* 616 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -105861,7 +108148,7 @@ value: true }); - var _DragDropManager = __webpack_require__(609); + var _DragDropManager = __webpack_require__(617); Object.defineProperty(exports, 'DragDropManager', { enumerable: true, @@ -105870,7 +108157,7 @@ } }); - var _DragSource = __webpack_require__(699); + var _DragSource = __webpack_require__(707); Object.defineProperty(exports, 'DragSource', { enumerable: true, @@ -105879,7 +108166,7 @@ } }); - var _DropTarget = __webpack_require__(700); + var _DropTarget = __webpack_require__(708); Object.defineProperty(exports, 'DropTarget', { enumerable: true, @@ -105888,7 +108175,7 @@ } }); - var _createTestBackend = __webpack_require__(701); + var _createTestBackend = __webpack_require__(709); Object.defineProperty(exports, 'createTestBackend', { enumerable: true, @@ -105900,7 +108187,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }, -/* 609 */ +/* 617 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -105915,15 +108202,15 @@ var _createStore2 = _interopRequireDefault(_createStore); - var _reducers = __webpack_require__(610); + var _reducers = __webpack_require__(618); var _reducers2 = _interopRequireDefault(_reducers); - var _dragDrop = __webpack_require__(612); + var _dragDrop = __webpack_require__(620); var dragDropActions = _interopRequireWildcard(_dragDrop); - var _DragDropMonitor = __webpack_require__(694); + var _DragDropMonitor = __webpack_require__(702); var _DragDropMonitor2 = _interopRequireDefault(_DragDropMonitor); @@ -106017,7 +108304,7 @@ exports.default = DragDropManager; /***/ }, -/* 610 */ +/* 618 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -106027,23 +108314,23 @@ }); exports.default = reduce; - var _dragOffset = __webpack_require__(611); + var _dragOffset = __webpack_require__(619); var _dragOffset2 = _interopRequireDefault(_dragOffset); - var _dragOperation = __webpack_require__(616); + var _dragOperation = __webpack_require__(624); var _dragOperation2 = _interopRequireDefault(_dragOperation); - var _refCount = __webpack_require__(675); + var _refCount = __webpack_require__(683); var _refCount2 = _interopRequireDefault(_refCount); - var _dirtyHandlerIds = __webpack_require__(676); + var _dirtyHandlerIds = __webpack_require__(684); var _dirtyHandlerIds2 = _interopRequireDefault(_dirtyHandlerIds); - var _stateId = __webpack_require__(693); + var _stateId = __webpack_require__(701); var _stateId2 = _interopRequireDefault(_stateId); @@ -106063,7 +108350,7 @@ } /***/ }, -/* 611 */ +/* 619 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -106078,7 +108365,7 @@ exports.getSourceClientOffset = getSourceClientOffset; exports.getDifferenceFromInitialOffset = getDifferenceFromInitialOffset; - var _dragDrop = __webpack_require__(612); + var _dragDrop = __webpack_require__(620); var initialState = { initialSourceClientOffset: null, @@ -106147,7 +108434,7 @@ } /***/ }, -/* 612 */ +/* 620 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -106169,15 +108456,15 @@ var _invariant2 = _interopRequireDefault(_invariant); - var _isArray = __webpack_require__(613); + var _isArray = __webpack_require__(621); var _isArray2 = _interopRequireDefault(_isArray); - var _isObject = __webpack_require__(614); + var _isObject = __webpack_require__(622); var _isObject2 = _interopRequireDefault(_isObject); - var _matchesType = __webpack_require__(615); + var _matchesType = __webpack_require__(623); var _matchesType2 = _interopRequireDefault(_matchesType); @@ -106342,7 +108629,7 @@ } /***/ }, -/* 613 */ +/* 621 */ /***/ function(module, exports) { /** @@ -106374,7 +108661,7 @@ /***/ }, -/* 614 */ +/* 622 */ /***/ function(module, exports) { /** @@ -106411,7 +108698,7 @@ /***/ }, -/* 615 */ +/* 623 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -106421,7 +108708,7 @@ }); exports.default = matchesType; - var _isArray = __webpack_require__(613); + var _isArray = __webpack_require__(621); var _isArray2 = _interopRequireDefault(_isArray); @@ -106438,7 +108725,7 @@ } /***/ }, -/* 616 */ +/* 624 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -106451,13 +108738,13 @@ exports.default = dragOperation; - var _without = __webpack_require__(617); + var _without = __webpack_require__(625); var _without2 = _interopRequireDefault(_without); - var _dragDrop = __webpack_require__(612); + var _dragDrop = __webpack_require__(620); - var _registry = __webpack_require__(674); + var _registry = __webpack_require__(682); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -106522,12 +108809,12 @@ } /***/ }, -/* 617 */ +/* 625 */ /***/ function(module, exports, __webpack_require__) { - var baseDifference = __webpack_require__(618), - baseRest = __webpack_require__(662), - isArrayLikeObject = __webpack_require__(671); + var baseDifference = __webpack_require__(626), + baseRest = __webpack_require__(670), + isArrayLikeObject = __webpack_require__(679); /** * Creates an array excluding all given values using @@ -106559,15 +108846,15 @@ /***/ }, -/* 618 */ +/* 626 */ /***/ function(module, exports, __webpack_require__) { - var SetCache = __webpack_require__(619), - arrayIncludes = __webpack_require__(653), - arrayIncludesWith = __webpack_require__(658), - arrayMap = __webpack_require__(659), - baseUnary = __webpack_require__(660), - cacheHas = __webpack_require__(661); + var SetCache = __webpack_require__(627), + arrayIncludes = __webpack_require__(661), + arrayIncludesWith = __webpack_require__(666), + arrayMap = __webpack_require__(667), + baseUnary = __webpack_require__(668), + cacheHas = __webpack_require__(669); /** Used as the size to enable large array optimizations. */ var LARGE_ARRAY_SIZE = 200; @@ -106632,12 +108919,12 @@ /***/ }, -/* 619 */ +/* 627 */ /***/ function(module, exports, __webpack_require__) { - var MapCache = __webpack_require__(620), - setCacheAdd = __webpack_require__(651), - setCacheHas = __webpack_require__(652); + var MapCache = __webpack_require__(628), + setCacheAdd = __webpack_require__(659), + setCacheHas = __webpack_require__(660); /** * @@ -106665,14 +108952,14 @@ /***/ }, -/* 620 */ +/* 628 */ /***/ function(module, exports, __webpack_require__) { - var mapCacheClear = __webpack_require__(621), - mapCacheDelete = __webpack_require__(645), - mapCacheGet = __webpack_require__(648), - mapCacheHas = __webpack_require__(649), - mapCacheSet = __webpack_require__(650); + var mapCacheClear = __webpack_require__(629), + mapCacheDelete = __webpack_require__(653), + mapCacheGet = __webpack_require__(656), + mapCacheHas = __webpack_require__(657), + mapCacheSet = __webpack_require__(658); /** * Creates a map cache object to store key-value pairs. @@ -106703,12 +108990,12 @@ /***/ }, -/* 621 */ +/* 629 */ /***/ function(module, exports, __webpack_require__) { - var Hash = __webpack_require__(622), - ListCache = __webpack_require__(636), - Map = __webpack_require__(644); + var Hash = __webpack_require__(630), + ListCache = __webpack_require__(644), + Map = __webpack_require__(652); /** * Removes all key-value entries from the map. @@ -106730,14 +109017,14 @@ /***/ }, -/* 622 */ +/* 630 */ /***/ function(module, exports, __webpack_require__) { - var hashClear = __webpack_require__(623), - hashDelete = __webpack_require__(632), - hashGet = __webpack_require__(633), - hashHas = __webpack_require__(634), - hashSet = __webpack_require__(635); + var hashClear = __webpack_require__(631), + hashDelete = __webpack_require__(640), + hashGet = __webpack_require__(641), + hashHas = __webpack_require__(642), + hashSet = __webpack_require__(643); /** * Creates a hash object. @@ -106768,10 +109055,10 @@ /***/ }, -/* 623 */ +/* 631 */ /***/ function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(624); + var nativeCreate = __webpack_require__(632); /** * Removes all key-value entries from the hash. @@ -106789,10 +109076,10 @@ /***/ }, -/* 624 */ +/* 632 */ /***/ function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(625); + var getNative = __webpack_require__(633); /* Built-in method references that are verified to be native. */ var nativeCreate = getNative(Object, 'create'); @@ -106801,11 +109088,11 @@ /***/ }, -/* 625 */ +/* 633 */ /***/ function(module, exports, __webpack_require__) { - var baseIsNative = __webpack_require__(626), - getValue = __webpack_require__(631); + var baseIsNative = __webpack_require__(634), + getValue = __webpack_require__(639); /** * Gets the native function at `key` of `object`. @@ -106824,13 +109111,13 @@ /***/ }, -/* 626 */ +/* 634 */ /***/ function(module, exports, __webpack_require__) { - var isFunction = __webpack_require__(627), - isMasked = __webpack_require__(628), - isObject = __webpack_require__(614), - toSource = __webpack_require__(630); + var isFunction = __webpack_require__(635), + isMasked = __webpack_require__(636), + isObject = __webpack_require__(622), + toSource = __webpack_require__(638); /** * Used to match `RegExp` @@ -106877,11 +109164,11 @@ /***/ }, -/* 627 */ +/* 635 */ /***/ function(module, exports, __webpack_require__) { var baseGetTag = __webpack_require__(183), - isObject = __webpack_require__(614); + isObject = __webpack_require__(622); /** `Object#toString` result references. */ var asyncTag = '[object AsyncFunction]', @@ -106920,10 +109207,10 @@ /***/ }, -/* 628 */ +/* 636 */ /***/ function(module, exports, __webpack_require__) { - var coreJsData = __webpack_require__(629); + var coreJsData = __webpack_require__(637); /** Used to detect methods masquerading as native. */ var maskSrcKey = (function() { @@ -106946,7 +109233,7 @@ /***/ }, -/* 629 */ +/* 637 */ /***/ function(module, exports, __webpack_require__) { var root = __webpack_require__(185); @@ -106958,7 +109245,7 @@ /***/ }, -/* 630 */ +/* 638 */ /***/ function(module, exports) { /** Used for built-in method references. */ @@ -106990,7 +109277,7 @@ /***/ }, -/* 631 */ +/* 639 */ /***/ function(module, exports) { /** @@ -107009,7 +109296,7 @@ /***/ }, -/* 632 */ +/* 640 */ /***/ function(module, exports) { /** @@ -107032,10 +109319,10 @@ /***/ }, -/* 633 */ +/* 641 */ /***/ function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(624); + var nativeCreate = __webpack_require__(632); /** Used to stand-in for `undefined` hash values. */ var HASH_UNDEFINED = '__lodash_hash_undefined__'; @@ -107068,10 +109355,10 @@ /***/ }, -/* 634 */ +/* 642 */ /***/ function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(624); + var nativeCreate = __webpack_require__(632); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -107097,10 +109384,10 @@ /***/ }, -/* 635 */ +/* 643 */ /***/ function(module, exports, __webpack_require__) { - var nativeCreate = __webpack_require__(624); + var nativeCreate = __webpack_require__(632); /** Used to stand-in for `undefined` hash values. */ var HASH_UNDEFINED = '__lodash_hash_undefined__'; @@ -107126,14 +109413,14 @@ /***/ }, -/* 636 */ +/* 644 */ /***/ function(module, exports, __webpack_require__) { - var listCacheClear = __webpack_require__(637), - listCacheDelete = __webpack_require__(638), - listCacheGet = __webpack_require__(641), - listCacheHas = __webpack_require__(642), - listCacheSet = __webpack_require__(643); + var listCacheClear = __webpack_require__(645), + listCacheDelete = __webpack_require__(646), + listCacheGet = __webpack_require__(649), + listCacheHas = __webpack_require__(650), + listCacheSet = __webpack_require__(651); /** * Creates an list cache object. @@ -107164,7 +109451,7 @@ /***/ }, -/* 637 */ +/* 645 */ /***/ function(module, exports) { /** @@ -107183,10 +109470,10 @@ /***/ }, -/* 638 */ +/* 646 */ /***/ function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(639); + var assocIndexOf = __webpack_require__(647); /** Used for built-in method references. */ var arrayProto = Array.prototype; @@ -107224,10 +109511,10 @@ /***/ }, -/* 639 */ +/* 647 */ /***/ function(module, exports, __webpack_require__) { - var eq = __webpack_require__(640); + var eq = __webpack_require__(648); /** * Gets the index at which the `key` is found in `array` of key-value pairs. @@ -107251,7 +109538,7 @@ /***/ }, -/* 640 */ +/* 648 */ /***/ function(module, exports) { /** @@ -107294,10 +109581,10 @@ /***/ }, -/* 641 */ +/* 649 */ /***/ function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(639); + var assocIndexOf = __webpack_require__(647); /** * Gets the list cache value for `key`. @@ -107319,10 +109606,10 @@ /***/ }, -/* 642 */ +/* 650 */ /***/ function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(639); + var assocIndexOf = __webpack_require__(647); /** * Checks if a list cache value for `key` exists. @@ -107341,10 +109628,10 @@ /***/ }, -/* 643 */ +/* 651 */ /***/ function(module, exports, __webpack_require__) { - var assocIndexOf = __webpack_require__(639); + var assocIndexOf = __webpack_require__(647); /** * Sets the list cache `key` to `value`. @@ -107373,10 +109660,10 @@ /***/ }, -/* 644 */ +/* 652 */ /***/ function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(625), + var getNative = __webpack_require__(633), root = __webpack_require__(185); /* Built-in method references that are verified to be native. */ @@ -107386,10 +109673,10 @@ /***/ }, -/* 645 */ +/* 653 */ /***/ function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(646); + var getMapData = __webpack_require__(654); /** * Removes `key` and its value from the map. @@ -107410,10 +109697,10 @@ /***/ }, -/* 646 */ +/* 654 */ /***/ function(module, exports, __webpack_require__) { - var isKeyable = __webpack_require__(647); + var isKeyable = __webpack_require__(655); /** * Gets the data for `map`. @@ -107434,7 +109721,7 @@ /***/ }, -/* 647 */ +/* 655 */ /***/ function(module, exports) { /** @@ -107455,10 +109742,10 @@ /***/ }, -/* 648 */ +/* 656 */ /***/ function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(646); + var getMapData = __webpack_require__(654); /** * Gets the map value for `key`. @@ -107477,10 +109764,10 @@ /***/ }, -/* 649 */ +/* 657 */ /***/ function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(646); + var getMapData = __webpack_require__(654); /** * Checks if a map value for `key` exists. @@ -107499,10 +109786,10 @@ /***/ }, -/* 650 */ +/* 658 */ /***/ function(module, exports, __webpack_require__) { - var getMapData = __webpack_require__(646); + var getMapData = __webpack_require__(654); /** * Sets the map `key` to `value`. @@ -107527,7 +109814,7 @@ /***/ }, -/* 651 */ +/* 659 */ /***/ function(module, exports) { /** Used to stand-in for `undefined` hash values. */ @@ -107552,7 +109839,7 @@ /***/ }, -/* 652 */ +/* 660 */ /***/ function(module, exports) { /** @@ -107572,10 +109859,10 @@ /***/ }, -/* 653 */ +/* 661 */ /***/ function(module, exports, __webpack_require__) { - var baseIndexOf = __webpack_require__(654); + var baseIndexOf = __webpack_require__(662); /** * A specialized version of `_.includes` for arrays without support for @@ -107595,12 +109882,12 @@ /***/ }, -/* 654 */ +/* 662 */ /***/ function(module, exports, __webpack_require__) { - var baseFindIndex = __webpack_require__(655), - baseIsNaN = __webpack_require__(656), - strictIndexOf = __webpack_require__(657); + var baseFindIndex = __webpack_require__(663), + baseIsNaN = __webpack_require__(664), + strictIndexOf = __webpack_require__(665); /** * The base implementation of `_.indexOf` without `fromIndex` bounds checks. @@ -107621,7 +109908,7 @@ /***/ }, -/* 655 */ +/* 663 */ /***/ function(module, exports) { /** @@ -107651,7 +109938,7 @@ /***/ }, -/* 656 */ +/* 664 */ /***/ function(module, exports) { /** @@ -107669,7 +109956,7 @@ /***/ }, -/* 657 */ +/* 665 */ /***/ function(module, exports) { /** @@ -107698,7 +109985,7 @@ /***/ }, -/* 658 */ +/* 666 */ /***/ function(module, exports) { /** @@ -107726,7 +110013,7 @@ /***/ }, -/* 659 */ +/* 667 */ /***/ function(module, exports) { /** @@ -107753,7 +110040,7 @@ /***/ }, -/* 660 */ +/* 668 */ /***/ function(module, exports) { /** @@ -107773,7 +110060,7 @@ /***/ }, -/* 661 */ +/* 669 */ /***/ function(module, exports) { /** @@ -107792,12 +110079,12 @@ /***/ }, -/* 662 */ +/* 670 */ /***/ function(module, exports, __webpack_require__) { - var identity = __webpack_require__(663), - overRest = __webpack_require__(664), - setToString = __webpack_require__(666); + var identity = __webpack_require__(671), + overRest = __webpack_require__(672), + setToString = __webpack_require__(674); /** * The base implementation of `_.rest` which doesn't validate or coerce arguments. @@ -107815,7 +110102,7 @@ /***/ }, -/* 663 */ +/* 671 */ /***/ function(module, exports) { /** @@ -107842,10 +110129,10 @@ /***/ }, -/* 664 */ +/* 672 */ /***/ function(module, exports, __webpack_require__) { - var apply = __webpack_require__(665); + var apply = __webpack_require__(673); /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMax = Math.max; @@ -107884,7 +110171,7 @@ /***/ }, -/* 665 */ +/* 673 */ /***/ function(module, exports) { /** @@ -107911,11 +110198,11 @@ /***/ }, -/* 666 */ +/* 674 */ /***/ function(module, exports, __webpack_require__) { - var baseSetToString = __webpack_require__(667), - shortOut = __webpack_require__(670); + var baseSetToString = __webpack_require__(675), + shortOut = __webpack_require__(678); /** * Sets the `toString` method of `func` to return `string`. @@ -107931,12 +110218,12 @@ /***/ }, -/* 667 */ +/* 675 */ /***/ function(module, exports, __webpack_require__) { - var constant = __webpack_require__(668), - defineProperty = __webpack_require__(669), - identity = __webpack_require__(663); + var constant = __webpack_require__(676), + defineProperty = __webpack_require__(677), + identity = __webpack_require__(671); /** * The base implementation of `setToString` without support for hot loop shorting. @@ -107959,7 +110246,7 @@ /***/ }, -/* 668 */ +/* 676 */ /***/ function(module, exports) { /** @@ -107991,10 +110278,10 @@ /***/ }, -/* 669 */ +/* 677 */ /***/ function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(625); + var getNative = __webpack_require__(633); var defineProperty = (function() { try { @@ -108008,7 +110295,7 @@ /***/ }, -/* 670 */ +/* 678 */ /***/ function(module, exports) { /** Used to detect hot functions by number of calls within a span of milliseconds. */ @@ -108051,10 +110338,10 @@ /***/ }, -/* 671 */ +/* 679 */ /***/ function(module, exports, __webpack_require__) { - var isArrayLike = __webpack_require__(672), + var isArrayLike = __webpack_require__(680), isObjectLike = __webpack_require__(191); /** @@ -108090,11 +110377,11 @@ /***/ }, -/* 672 */ +/* 680 */ /***/ function(module, exports, __webpack_require__) { - var isFunction = __webpack_require__(627), - isLength = __webpack_require__(673); + var isFunction = __webpack_require__(635), + isLength = __webpack_require__(681); /** * Checks if `value` is array-like. A value is considered array-like if it's @@ -108129,7 +110416,7 @@ /***/ }, -/* 673 */ +/* 681 */ /***/ function(module, exports) { /** Used as references for various `Number` constants. */ @@ -108170,7 +110457,7 @@ /***/ }, -/* 674 */ +/* 682 */ /***/ function(module, exports) { 'use strict'; @@ -108216,7 +110503,7 @@ } /***/ }, -/* 675 */ +/* 683 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -108226,7 +110513,7 @@ }); exports.default = refCount; - var _registry = __webpack_require__(674); + var _registry = __webpack_require__(682); function refCount() { var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; @@ -108245,7 +110532,7 @@ } /***/ }, -/* 676 */ +/* 684 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -108256,17 +110543,17 @@ exports.default = dirtyHandlerIds; exports.areDirty = areDirty; - var _xor = __webpack_require__(677); + var _xor = __webpack_require__(685); var _xor2 = _interopRequireDefault(_xor); - var _intersection = __webpack_require__(690); + var _intersection = __webpack_require__(698); var _intersection2 = _interopRequireDefault(_intersection); - var _dragDrop = __webpack_require__(612); + var _dragDrop = __webpack_require__(620); - var _registry = __webpack_require__(674); + var _registry = __webpack_require__(682); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -108343,13 +110630,13 @@ } /***/ }, -/* 677 */ +/* 685 */ /***/ function(module, exports, __webpack_require__) { - var arrayFilter = __webpack_require__(678), - baseRest = __webpack_require__(662), - baseXor = __webpack_require__(679), - isArrayLikeObject = __webpack_require__(671); + var arrayFilter = __webpack_require__(686), + baseRest = __webpack_require__(670), + baseXor = __webpack_require__(687), + isArrayLikeObject = __webpack_require__(679); /** * Creates an array of unique values that is the @@ -108377,7 +110664,7 @@ /***/ }, -/* 678 */ +/* 686 */ /***/ function(module, exports) { /** @@ -108408,12 +110695,12 @@ /***/ }, -/* 679 */ +/* 687 */ /***/ function(module, exports, __webpack_require__) { - var baseDifference = __webpack_require__(618), - baseFlatten = __webpack_require__(680), - baseUniq = __webpack_require__(685); + var baseDifference = __webpack_require__(626), + baseFlatten = __webpack_require__(688), + baseUniq = __webpack_require__(693); /** * The base implementation of methods like `_.xor`, without support for @@ -108450,11 +110737,11 @@ /***/ }, -/* 680 */ +/* 688 */ /***/ function(module, exports, __webpack_require__) { - var arrayPush = __webpack_require__(681), - isFlattenable = __webpack_require__(682); + var arrayPush = __webpack_require__(689), + isFlattenable = __webpack_require__(690); /** * The base implementation of `_.flatten` with support for restricting flattening. @@ -108494,7 +110781,7 @@ /***/ }, -/* 681 */ +/* 689 */ /***/ function(module, exports) { /** @@ -108520,12 +110807,12 @@ /***/ }, -/* 682 */ +/* 690 */ /***/ function(module, exports, __webpack_require__) { var Symbol = __webpack_require__(184), - isArguments = __webpack_require__(683), - isArray = __webpack_require__(613); + isArguments = __webpack_require__(691), + isArray = __webpack_require__(621); /** Built-in value references. */ var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined; @@ -108546,10 +110833,10 @@ /***/ }, -/* 683 */ +/* 691 */ /***/ function(module, exports, __webpack_require__) { - var baseIsArguments = __webpack_require__(684), + var baseIsArguments = __webpack_require__(692), isObjectLike = __webpack_require__(191); /** Used for built-in method references. */ @@ -108588,7 +110875,7 @@ /***/ }, -/* 684 */ +/* 692 */ /***/ function(module, exports, __webpack_require__) { var baseGetTag = __webpack_require__(183), @@ -108612,15 +110899,15 @@ /***/ }, -/* 685 */ +/* 693 */ /***/ function(module, exports, __webpack_require__) { - var SetCache = __webpack_require__(619), - arrayIncludes = __webpack_require__(653), - arrayIncludesWith = __webpack_require__(658), - cacheHas = __webpack_require__(661), - createSet = __webpack_require__(686), - setToArray = __webpack_require__(689); + var SetCache = __webpack_require__(627), + arrayIncludes = __webpack_require__(661), + arrayIncludesWith = __webpack_require__(666), + cacheHas = __webpack_require__(669), + createSet = __webpack_require__(694), + setToArray = __webpack_require__(697); /** Used as the size to enable large array optimizations. */ var LARGE_ARRAY_SIZE = 200; @@ -108690,12 +110977,12 @@ /***/ }, -/* 686 */ +/* 694 */ /***/ function(module, exports, __webpack_require__) { - var Set = __webpack_require__(687), - noop = __webpack_require__(688), - setToArray = __webpack_require__(689); + var Set = __webpack_require__(695), + noop = __webpack_require__(696), + setToArray = __webpack_require__(697); /** Used as references for various `Number` constants. */ var INFINITY = 1 / 0; @@ -108715,10 +111002,10 @@ /***/ }, -/* 687 */ +/* 695 */ /***/ function(module, exports, __webpack_require__) { - var getNative = __webpack_require__(625), + var getNative = __webpack_require__(633), root = __webpack_require__(185); /* Built-in method references that are verified to be native. */ @@ -108728,7 +111015,7 @@ /***/ }, -/* 688 */ +/* 696 */ /***/ function(module, exports) { /** @@ -108751,7 +111038,7 @@ /***/ }, -/* 689 */ +/* 697 */ /***/ function(module, exports) { /** @@ -108775,13 +111062,13 @@ /***/ }, -/* 690 */ +/* 698 */ /***/ function(module, exports, __webpack_require__) { - var arrayMap = __webpack_require__(659), - baseIntersection = __webpack_require__(691), - baseRest = __webpack_require__(662), - castArrayLikeObject = __webpack_require__(692); + var arrayMap = __webpack_require__(667), + baseIntersection = __webpack_require__(699), + baseRest = __webpack_require__(670), + castArrayLikeObject = __webpack_require__(700); /** * Creates an array of unique values that are included in all given arrays @@ -108811,15 +111098,15 @@ /***/ }, -/* 691 */ +/* 699 */ /***/ function(module, exports, __webpack_require__) { - var SetCache = __webpack_require__(619), - arrayIncludes = __webpack_require__(653), - arrayIncludesWith = __webpack_require__(658), - arrayMap = __webpack_require__(659), - baseUnary = __webpack_require__(660), - cacheHas = __webpack_require__(661); + var SetCache = __webpack_require__(627), + arrayIncludes = __webpack_require__(661), + arrayIncludesWith = __webpack_require__(666), + arrayMap = __webpack_require__(667), + baseUnary = __webpack_require__(668), + cacheHas = __webpack_require__(669); /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMin = Math.min; @@ -108891,10 +111178,10 @@ /***/ }, -/* 692 */ +/* 700 */ /***/ function(module, exports, __webpack_require__) { - var isArrayLikeObject = __webpack_require__(671); + var isArrayLikeObject = __webpack_require__(679); /** * Casts `value` to an empty array if it's not an array like object. @@ -108911,7 +111198,7 @@ /***/ }, -/* 693 */ +/* 701 */ /***/ function(module, exports) { "use strict"; @@ -108927,7 +111214,7 @@ } /***/ }, -/* 694 */ +/* 702 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -108942,21 +111229,21 @@ var _invariant2 = _interopRequireDefault(_invariant); - var _isArray = __webpack_require__(613); + var _isArray = __webpack_require__(621); var _isArray2 = _interopRequireDefault(_isArray); - var _matchesType = __webpack_require__(615); + var _matchesType = __webpack_require__(623); var _matchesType2 = _interopRequireDefault(_matchesType); - var _HandlerRegistry = __webpack_require__(695); + var _HandlerRegistry = __webpack_require__(703); var _HandlerRegistry2 = _interopRequireDefault(_HandlerRegistry); - var _dragOffset = __webpack_require__(611); + var _dragOffset = __webpack_require__(619); - var _dirtyHandlerIds = __webpack_require__(676); + var _dirtyHandlerIds = __webpack_require__(684); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -109163,7 +111450,7 @@ exports.default = DragDropMonitor; /***/ }, -/* 695 */ +/* 703 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -109180,17 +111467,17 @@ var _invariant2 = _interopRequireDefault(_invariant); - var _isArray = __webpack_require__(613); + var _isArray = __webpack_require__(621); var _isArray2 = _interopRequireDefault(_isArray); - var _asap = __webpack_require__(696); + var _asap = __webpack_require__(704); var _asap2 = _interopRequireDefault(_asap); - var _registry = __webpack_require__(674); + var _registry = __webpack_require__(682); - var _getNextUniqueId = __webpack_require__(698); + var _getNextUniqueId = __webpack_require__(706); var _getNextUniqueId2 = _interopRequireDefault(_getNextUniqueId); @@ -109391,13 +111678,13 @@ exports.default = HandlerRegistry; /***/ }, -/* 696 */ +/* 704 */ /***/ function(module, exports, __webpack_require__) { "use strict"; // rawAsap provides everything we need except exception management. - var rawAsap = __webpack_require__(697); + var rawAsap = __webpack_require__(705); // RawTasks are recycled to reduce GC churn. var freeTasks = []; // We queue errors to ensure they are thrown in right order (FIFO). @@ -109463,7 +111750,7 @@ /***/ }, -/* 697 */ +/* 705 */ /***/ function(module, exports) { /* WEBPACK VAR INJECTION */(function(global) {"use strict"; @@ -109693,7 +111980,7 @@ /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }, -/* 698 */ +/* 706 */ /***/ function(module, exports) { "use strict"; @@ -109709,7 +111996,7 @@ } /***/ }, -/* 699 */ +/* 707 */ /***/ function(module, exports) { "use strict"; @@ -109748,7 +112035,7 @@ exports.default = DragSource; /***/ }, -/* 700 */ +/* 708 */ /***/ function(module, exports) { "use strict"; @@ -109785,7 +112072,7 @@ exports.default = DropTarget; /***/ }, -/* 701 */ +/* 709 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -109798,7 +112085,7 @@ exports.default = createBackend; - var _noop = __webpack_require__(688); + var _noop = __webpack_require__(696); var _noop2 = _interopRequireDefault(_noop); @@ -109873,7 +112160,7 @@ } /***/ }, -/* 702 */ +/* 710 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -109901,7 +112188,7 @@ module.exports = exports['default']; /***/ }, -/* 703 */ +/* 711 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -109926,11 +112213,11 @@ var _react2 = _interopRequireDefault(_react); - var _utilsShallowEqual = __webpack_require__(704); + var _utilsShallowEqual = __webpack_require__(712); var _utilsShallowEqual2 = _interopRequireDefault(_utilsShallowEqual); - var _utilsShallowEqualScalar = __webpack_require__(705); + var _utilsShallowEqualScalar = __webpack_require__(713); var _utilsShallowEqualScalar2 = _interopRequireDefault(_utilsShallowEqualScalar); @@ -109942,7 +112229,7 @@ var _invariant2 = _interopRequireDefault(_invariant); - var _utilsCheckDecoratorArguments = __webpack_require__(702); + var _utilsCheckDecoratorArguments = __webpack_require__(710); var _utilsCheckDecoratorArguments2 = _interopRequireDefault(_utilsCheckDecoratorArguments); @@ -110044,7 +112331,7 @@ module.exports = exports['default']; /***/ }, -/* 704 */ +/* 712 */ /***/ function(module, exports) { "use strict"; @@ -110085,7 +112372,7 @@ module.exports = exports["default"]; /***/ }, -/* 705 */ +/* 713 */ /***/ function(module, exports) { 'use strict'; @@ -110130,7 +112417,7 @@ module.exports = exports['default']; /***/ }, -/* 706 */ +/* 714 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110149,31 +112436,31 @@ var _lodashIsPlainObject2 = _interopRequireDefault(_lodashIsPlainObject); - var _utilsCheckDecoratorArguments = __webpack_require__(702); + var _utilsCheckDecoratorArguments = __webpack_require__(710); var _utilsCheckDecoratorArguments2 = _interopRequireDefault(_utilsCheckDecoratorArguments); - var _decorateHandler = __webpack_require__(707); + var _decorateHandler = __webpack_require__(715); var _decorateHandler2 = _interopRequireDefault(_decorateHandler); - var _registerSource = __webpack_require__(713); + var _registerSource = __webpack_require__(721); var _registerSource2 = _interopRequireDefault(_registerSource); - var _createSourceFactory = __webpack_require__(714); + var _createSourceFactory = __webpack_require__(722); var _createSourceFactory2 = _interopRequireDefault(_createSourceFactory); - var _createSourceMonitor = __webpack_require__(715); + var _createSourceMonitor = __webpack_require__(723); var _createSourceMonitor2 = _interopRequireDefault(_createSourceMonitor); - var _createSourceConnector = __webpack_require__(716); + var _createSourceConnector = __webpack_require__(724); var _createSourceConnector2 = _interopRequireDefault(_createSourceConnector); - var _utilsIsValidType = __webpack_require__(720); + var _utilsIsValidType = __webpack_require__(728); var _utilsIsValidType2 = _interopRequireDefault(_utilsIsValidType); @@ -110214,7 +112501,7 @@ module.exports = exports['default']; /***/ }, -/* 707 */ +/* 715 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110237,13 +112524,13 @@ var _react2 = _interopRequireDefault(_react); - var _disposables = __webpack_require__(708); + var _disposables = __webpack_require__(716); - var _utilsShallowEqual = __webpack_require__(704); + var _utilsShallowEqual = __webpack_require__(712); var _utilsShallowEqual2 = _interopRequireDefault(_utilsShallowEqual); - var _utilsShallowEqualScalar = __webpack_require__(705); + var _utilsShallowEqualScalar = __webpack_require__(713); var _utilsShallowEqualScalar2 = _interopRequireDefault(_utilsShallowEqualScalar); @@ -110411,7 +112698,7 @@ module.exports = exports['default']; /***/ }, -/* 708 */ +/* 716 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110420,32 +112707,32 @@ exports.__esModule = true; - var _isDisposable2 = __webpack_require__(709); + var _isDisposable2 = __webpack_require__(717); var _isDisposable3 = _interopRequireWildcard(_isDisposable2); exports.isDisposable = _isDisposable3['default']; - var _Disposable2 = __webpack_require__(710); + var _Disposable2 = __webpack_require__(718); var _Disposable3 = _interopRequireWildcard(_Disposable2); exports.Disposable = _Disposable3['default']; - var _CompositeDisposable2 = __webpack_require__(711); + var _CompositeDisposable2 = __webpack_require__(719); var _CompositeDisposable3 = _interopRequireWildcard(_CompositeDisposable2); exports.CompositeDisposable = _CompositeDisposable3['default']; - var _SerialDisposable2 = __webpack_require__(712); + var _SerialDisposable2 = __webpack_require__(720); var _SerialDisposable3 = _interopRequireWildcard(_SerialDisposable2); exports.SerialDisposable = _SerialDisposable3['default']; /***/ }, -/* 709 */ +/* 717 */ /***/ function(module, exports) { 'use strict'; @@ -110460,7 +112747,7 @@ module.exports = exports['default']; /***/ }, -/* 710 */ +/* 718 */ /***/ function(module, exports) { "use strict"; @@ -110504,7 +112791,7 @@ module.exports = exports["default"]; /***/ }, -/* 711 */ +/* 719 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110515,7 +112802,7 @@ exports.__esModule = true; - var _isDisposable = __webpack_require__(709); + var _isDisposable = __webpack_require__(717); var _isDisposable2 = _interopRequireWildcard(_isDisposable); @@ -110610,7 +112897,7 @@ module.exports = exports['default']; /***/ }, -/* 712 */ +/* 720 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110621,7 +112908,7 @@ exports.__esModule = true; - var _isDisposable = __webpack_require__(709); + var _isDisposable = __webpack_require__(717); var _isDisposable2 = _interopRequireWildcard(_isDisposable); @@ -110696,7 +112983,7 @@ module.exports = exports['default']; /***/ }, -/* 713 */ +/* 721 */ /***/ function(module, exports) { "use strict"; @@ -110721,7 +113008,7 @@ module.exports = exports["default"]; /***/ }, -/* 714 */ +/* 722 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110813,7 +113100,7 @@ module.exports = exports['default']; /***/ }, -/* 715 */ +/* 723 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110911,7 +113198,7 @@ module.exports = exports['default']; /***/ }, -/* 716 */ +/* 724 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -110921,11 +113208,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _wrapConnectorHooks = __webpack_require__(717); + var _wrapConnectorHooks = __webpack_require__(725); var _wrapConnectorHooks2 = _interopRequireDefault(_wrapConnectorHooks); - var _areOptionsEqual = __webpack_require__(719); + var _areOptionsEqual = __webpack_require__(727); var _areOptionsEqual2 = _interopRequireDefault(_areOptionsEqual); @@ -111005,7 +113292,7 @@ module.exports = exports['default']; /***/ }, -/* 717 */ +/* 725 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111015,7 +113302,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _utilsCloneWithRef = __webpack_require__(718); + var _utilsCloneWithRef = __webpack_require__(726); var _utilsCloneWithRef2 = _interopRequireDefault(_utilsCloneWithRef); @@ -111077,7 +113364,7 @@ module.exports = exports['default']; /***/ }, -/* 718 */ +/* 726 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111118,7 +113405,7 @@ module.exports = exports['default']; /***/ }, -/* 719 */ +/* 727 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111128,7 +113415,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _utilsShallowEqual = __webpack_require__(704); + var _utilsShallowEqual = __webpack_require__(712); var _utilsShallowEqual2 = _interopRequireDefault(_utilsShallowEqual); @@ -111143,7 +113430,7 @@ module.exports = exports['default']; /***/ }, -/* 720 */ +/* 728 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111153,7 +113440,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _lodashIsArray = __webpack_require__(613); + var _lodashIsArray = __webpack_require__(621); var _lodashIsArray2 = _interopRequireDefault(_lodashIsArray); @@ -111166,7 +113453,7 @@ module.exports = exports['default']; /***/ }, -/* 721 */ +/* 729 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111185,31 +113472,31 @@ var _lodashIsPlainObject2 = _interopRequireDefault(_lodashIsPlainObject); - var _utilsCheckDecoratorArguments = __webpack_require__(702); + var _utilsCheckDecoratorArguments = __webpack_require__(710); var _utilsCheckDecoratorArguments2 = _interopRequireDefault(_utilsCheckDecoratorArguments); - var _decorateHandler = __webpack_require__(707); + var _decorateHandler = __webpack_require__(715); var _decorateHandler2 = _interopRequireDefault(_decorateHandler); - var _registerTarget = __webpack_require__(722); + var _registerTarget = __webpack_require__(730); var _registerTarget2 = _interopRequireDefault(_registerTarget); - var _createTargetFactory = __webpack_require__(723); + var _createTargetFactory = __webpack_require__(731); var _createTargetFactory2 = _interopRequireDefault(_createTargetFactory); - var _createTargetMonitor = __webpack_require__(724); + var _createTargetMonitor = __webpack_require__(732); var _createTargetMonitor2 = _interopRequireDefault(_createTargetMonitor); - var _createTargetConnector = __webpack_require__(725); + var _createTargetConnector = __webpack_require__(733); var _createTargetConnector2 = _interopRequireDefault(_createTargetConnector); - var _utilsIsValidType = __webpack_require__(720); + var _utilsIsValidType = __webpack_require__(728); var _utilsIsValidType2 = _interopRequireDefault(_utilsIsValidType); @@ -111250,7 +113537,7 @@ module.exports = exports['default']; /***/ }, -/* 722 */ +/* 730 */ /***/ function(module, exports) { "use strict"; @@ -111275,7 +113562,7 @@ module.exports = exports["default"]; /***/ }, -/* 723 */ +/* 731 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111363,7 +113650,7 @@ module.exports = exports['default']; /***/ }, -/* 724 */ +/* 732 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111453,7 +113740,7 @@ module.exports = exports['default']; /***/ }, -/* 725 */ +/* 733 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111463,11 +113750,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _wrapConnectorHooks = __webpack_require__(717); + var _wrapConnectorHooks = __webpack_require__(725); var _wrapConnectorHooks2 = _interopRequireDefault(_wrapConnectorHooks); - var _areOptionsEqual = __webpack_require__(719); + var _areOptionsEqual = __webpack_require__(727); var _areOptionsEqual2 = _interopRequireDefault(_areOptionsEqual); @@ -111520,7 +113807,7 @@ module.exports = exports['default']; /***/ }, -/* 726 */ +/* 734 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111537,11 +113824,11 @@ var _reactRedux = __webpack_require__(171); - var _BarChartComponent = __webpack_require__(727); + var _BarChartComponent = __webpack_require__(735); var _BarChartComponent2 = _interopRequireDefault(_BarChartComponent); - var _PieChartComponent = __webpack_require__(736); + var _PieChartComponent = __webpack_require__(744); var _PieChartComponent2 = _interopRequireDefault(_PieChartComponent); @@ -111565,7 +113852,8 @@ _this.state = { chartData: [], - intervalId: null + intervalId: null, + err: null }; return _this; } @@ -111581,12 +113869,16 @@ if (chartType === 'Indicator') { return (0, _AppActions.getTargetIndicatorsData)(id)().then(function (response) { return response.data.datasets[0].values; + }).catch(function (err) { + throw err; }); } return (0, _AppActions.getKPIData)(id)().then(function (response) { return response.data.datasets[0].values; - }).catch(function () {}); + }).catch(function (err) { + throw err; + }); } }, { key: 'fetchData', @@ -111594,7 +113886,9 @@ var _this2 = this; this.getData().then(function (chartData) { - _this2.setState({ chartData: chartData }); + _this2.setState({ chartData: chartData, err: null }); + }).catch(function (err) { + _this2.setState({ err: err }); }); } }, { @@ -111707,14 +114001,16 @@ }, { key: 'render', value: function render() { - var chartData = this.state.chartData; + var _state = this.state, + chartData = _state.chartData, + err = _state.err; - if (chartData) { - return chartData.length > 0 && this.renderChart(); - } else { - return this.renderError(); - } + return err ? this.renderError() : chartData && chartData.length > 0 ? this.renderChart() : _react2.default.createElement( + 'div', + null, + 'No data' + ); } }]); @@ -111740,7 +114036,7 @@ ; /***/ }, -/* 727 */ +/* 735 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -111757,21 +114053,21 @@ var _react2 = _interopRequireDefault(_react); - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); - var _ranges = __webpack_require__(729); + var _ranges = __webpack_require__(737); - var _axes = __webpack_require__(730); + var _axes = __webpack_require__(738); - var _svg = __webpack_require__(731); + var _svg = __webpack_require__(739); - var _dimensions = __webpack_require__(732); + var _dimensions = __webpack_require__(740); - var _data = __webpack_require__(734); + var _data = __webpack_require__(742); - var _legend = __webpack_require__(735); + var _legend = __webpack_require__(743); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } @@ -111936,17 +114232,17 @@ ; /***/ }, -/* 728 */ +/* 736 */ /***/ function(module, exports, __webpack_require__) { - // https://d3js.org Version 4.8.0. Copyright 2017 Mike Bostock. + // https://d3js.org Version 4.9.1. Copyright 2017 Mike Bostock. (function (global, factory) { true ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.d3 = global.d3 || {}))); }(this, (function (exports) { 'use strict'; - var version = "4.8.0"; + var version = "4.9.1"; var ascending = function(a, b) { return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; @@ -112508,15 +114804,15 @@ var epsilon = 1e-6; function translateX(x) { - return "translate(" + x + ",0)"; + return "translate(" + (x + 0.5) + ",0)"; } function translateY(y) { - return "translate(0," + y + ")"; + return "translate(0," + (y + 0.5) + ")"; } function center(scale) { - var offset = scale.bandwidth() / 2; + var offset = Math.max(0, scale.bandwidth() - 1) / 2; // Adjust for 0.5px offset. if (scale.round()) offset = Math.round(offset); return function(d) { return scale(d) + offset; @@ -112535,7 +114831,7 @@ tickSizeOuter = 6, tickPadding = 3, k = orient === top || orient === left ? -1 : 1, - x, y = orient === left || orient === right ? (x = "x", "y") : (x = "y", "x"), + x = orient === left || orient === right ? "x" : "y", transform = orient === top || orient === bottom ? translateX : translateY; function axis(context) { @@ -112562,14 +114858,11 @@ line = line.merge(tickEnter.append("line") .attr("stroke", "#000") - .attr(x + "2", k * tickSizeInner) - .attr(y + "1", 0.5) - .attr(y + "2", 0.5)); + .attr(x + "2", k * tickSizeInner)); text = text.merge(tickEnter.append("text") .attr("fill", "#000") .attr(x, k * spacing) - .attr(y, 0.5) .attr("dy", orient === top ? "0em" : orient === bottom ? "0.71em" : "0.32em")); if (context !== selection) { @@ -113344,7 +115637,7 @@ : (fullname.local ? attrConstantNS : attrConstant)))(fullname, value)); }; - var window = function(node) { + var defaultView = function(node) { return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node || (node.document && node) // node is a Window || node.defaultView; // node is a Document @@ -113371,17 +115664,19 @@ } var selection_style = function(name, value, priority) { - var node; return arguments.length > 1 ? this.each((value == null ? styleRemove : typeof value === "function" ? styleFunction : styleConstant)(name, value, priority == null ? "" : priority)) - : window(node = this.node()) - .getComputedStyle(node, null) - .getPropertyValue(name); + : styleValue(this.node(), name); }; + function styleValue(node, name) { + return node.style.getPropertyValue(name) + || defaultView(node).getComputedStyle(node, null).getPropertyValue(name); + } + function propertyRemove(name) { return function() { delete this[name]; @@ -113590,13 +115885,13 @@ }; function dispatchEvent(node, type, params) { - var window$$1 = window(node), - event = window$$1.CustomEvent; + var window = defaultView(node), + event = window.CustomEvent; - if (event) { + if (typeof event === "function") { event = new event(type, params); } else { - event = window$$1.document.createEvent("Event"); + event = window.document.createEvent("Event"); if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail; else event.initEvent(type, false, false); } @@ -113779,8 +116074,11 @@ gestures = {}, listeners = dispatch("start", "drag", "end"), active = 0, + mousedownx, + mousedowny, mousemoving, - touchending; + touchending, + clickDistance2 = 0; function drag(selection$$1) { selection$$1 @@ -113799,12 +116097,17 @@ dragDisable(exports.event.view); nopropagation(); mousemoving = false; + mousedownx = exports.event.clientX; + mousedowny = exports.event.clientY; gesture("start"); } function mousemoved() { noevent(); - mousemoving = true; + if (!mousemoving) { + var dx = exports.event.clientX - mousedownx, dy = exports.event.clientY - mousedowny; + mousemoving = dx * dx + dy * dy > clickDistance2; + } gestures.mouse("drag"); } @@ -113894,6 +116197,10 @@ return value === listeners ? drag : value; }; + drag.clickDistance = function(_) { + return arguments.length ? (clickDistance2 = (_ = +_) * _, drag) : Math.sqrt(clickDistance2); + }; + return drag; }; @@ -114642,7 +116949,7 @@ : b instanceof color ? interpolateRgb : b instanceof Date ? date : Array.isArray(b) ? array$1 - : isNaN(b) ? object + : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? object : reinterpolate)(a, b); }; @@ -115605,9 +117912,8 @@ value10, interpolate0; return function() { - var style = window(this).getComputedStyle(this, null), - value0 = style.getPropertyValue(name), - value1 = (this.style.removeProperty(name), style.getPropertyValue(name)); + var value0 = styleValue(this, name), + value1 = (this.style.removeProperty(name), styleValue(this, name)); return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$2(value00 = value0, value10 = value1); @@ -115624,7 +117930,7 @@ var value00, interpolate0; return function() { - var value0 = window(this).getComputedStyle(this, null).getPropertyValue(name); + var value0 = styleValue(this, name); return value0 === value1 ? null : value0 === value00 ? interpolate0 : interpolate0 = interpolate$$2(value00 = value0, value1); @@ -115636,10 +117942,9 @@ value10, interpolate0; return function() { - var style = window(this).getComputedStyle(this, null), - value0 = style.getPropertyValue(name), + var value0 = styleValue(this, name), value1 = value(this); - if (value1 == null) value1 = (this.style.removeProperty(name), style.getPropertyValue(name)); + if (value1 == null) value1 = (this.style.removeProperty(name), styleValue(this, name)); return value0 === value1 ? null : value0 === value00 && value1 === value10 ? interpolate0 : interpolate0 = interpolate$$2(value00 = value0, value10 = value1); @@ -120307,9 +122612,11 @@ } PathString.prototype = { + _radius: 4.5, _circle: circle$1(4.5), pointRadius: function(_) { - return this._circle = circle$1(_), this; + if ((_ = +_) !== this._radius) this._radius = _, this._circle = null; + return this; }, polygonStart: function() { this._line = 0; @@ -120336,6 +122643,7 @@ break; } default: { + if (this._circle == null) this._circle = circle$1(this._radius); this._string.push("M", x, ",", y, this._circle); break; } @@ -120346,6 +122654,8 @@ var result = this._string.join(""); this._string = []; return result; + } else { + return null; } } }; @@ -120670,7 +122980,7 @@ // TODO ignore if not clipping polygons. if (v !== v0) { point2 = intersect(point0, point1); - if (pointEqual(point0, point2) || pointEqual(point1, point2)) { + if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2)) { point1[0] += epsilon$2; point1[1] += epsilon$2; v = visible(point1[0], point1[1]); @@ -122907,7 +125217,6 @@ var noabort = {}; function Queue(size) { - if (!(size >= 1)) throw new Error; this._size = size; this._call = this._error = null; @@ -122922,7 +125231,8 @@ Queue.prototype = queue.prototype = { constructor: Queue, defer: function(callback) { - if (typeof callback !== "function" || this._call) throw new Error; + if (typeof callback !== "function") throw new Error("invalid callback"); + if (this._call) throw new Error("defer after await"); if (this._error != null) return this; var t = slice$3.call(arguments, 1); t.push(callback); @@ -122935,13 +125245,15 @@ return this; }, await: function(callback) { - if (typeof callback !== "function" || this._call) throw new Error; + if (typeof callback !== "function") throw new Error("invalid callback"); + if (this._call) throw new Error("multiple await"); this._call = function(error, results) { callback.apply(null, [error].concat(results)); }; maybeNotify(this); return this; }, awaitAll: function(callback) { - if (typeof callback !== "function" || this._call) throw new Error; + if (typeof callback !== "function") throw new Error("invalid callback"); + if (this._call) throw new Error("multiple await"); this._call = callback; maybeNotify(this); return this; @@ -123017,66 +125329,108 @@ } function queue(concurrency) { - return new Queue(arguments.length ? +concurrency : Infinity); + if (concurrency == null) concurrency = Infinity; + else if (!((concurrency = +concurrency) >= 1)) throw new Error("invalid concurrency"); + return new Queue(concurrency); } - var uniform = function(min, max) { - min = min == null ? 0 : +min; - max = max == null ? 1 : +max; - if (arguments.length === 1) max = min, min = 0; - else max -= min; - return function() { - return Math.random() * max + min; - }; + var defaultSource$1 = function() { + return Math.random(); }; - var normal = function(mu, sigma) { - var x, r; - mu = mu == null ? 0 : +mu; - sigma = sigma == null ? 1 : +sigma; - return function() { - var y; + var uniform = ((function sourceRandomUniform(source) { + function randomUniform(min, max) { + min = min == null ? 0 : +min; + max = max == null ? 1 : +max; + if (arguments.length === 1) max = min, min = 0; + else max -= min; + return function() { + return source() * max + min; + }; + } - // If available, use the second previously-generated uniform random. - if (x != null) y = x, x = null; + randomUniform.source = sourceRandomUniform; - // Otherwise, generate a new x and y. - else do { - x = Math.random() * 2 - 1; - y = Math.random() * 2 - 1; - r = x * x + y * y; - } while (!r || r > 1); + return randomUniform; + }))(defaultSource$1); - return mu + sigma * y * Math.sqrt(-2 * Math.log(r) / r); - }; - }; + var normal = ((function sourceRandomNormal(source) { + function randomNormal(mu, sigma) { + var x, r; + mu = mu == null ? 0 : +mu; + sigma = sigma == null ? 1 : +sigma; + return function() { + var y; - var logNormal = function() { - var randomNormal = normal.apply(this, arguments); - return function() { - return Math.exp(randomNormal()); - }; - }; + // If available, use the second previously-generated uniform random. + if (x != null) y = x, x = null; - var irwinHall = function(n) { - return function() { - for (var sum = 0, i = 0; i < n; ++i) sum += Math.random(); - return sum; - }; - }; + // Otherwise, generate a new x and y. + else do { + x = source() * 2 - 1; + y = source() * 2 - 1; + r = x * x + y * y; + } while (!r || r > 1); - var bates = function(n) { - var randomIrwinHall = irwinHall(n); - return function() { - return randomIrwinHall() / n; - }; - }; + return mu + sigma * y * Math.sqrt(-2 * Math.log(r) / r); + }; + } - var exponential$1 = function(lambda) { - return function() { - return -Math.log(1 - Math.random()) / lambda; - }; - }; + randomNormal.source = sourceRandomNormal; + + return randomNormal; + }))(defaultSource$1); + + var logNormal = ((function sourceRandomLogNormal(source) { + function randomLogNormal() { + var randomNormal = normal.source(source).apply(this, arguments); + return function() { + return Math.exp(randomNormal()); + }; + } + + randomLogNormal.source = sourceRandomLogNormal; + + return randomLogNormal; + }))(defaultSource$1); + + var irwinHall = ((function sourceRandomIrwinHall(source) { + function randomIrwinHall(n) { + return function() { + for (var sum = 0, i = 0; i < n; ++i) sum += source(); + return sum; + }; + } + + randomIrwinHall.source = sourceRandomIrwinHall; + + return randomIrwinHall; + }))(defaultSource$1); + + var bates = ((function sourceRandomBates(source) { + function randomBates(n) { + var randomIrwinHall = irwinHall.source(source)(n); + return function() { + return randomIrwinHall() / n; + }; + } + + randomBates.source = sourceRandomBates; + + return randomBates; + }))(defaultSource$1); + + var exponential$1 = ((function sourceRandomExponential(source) { + function randomExponential(lambda) { + return function() { + return -Math.log(1 - source()) / lambda; + }; + } + + randomExponential.source = sourceRandomExponential; + + return randomExponential; + }))(defaultSource$1); var request = function(url, callback) { var request, @@ -123584,17 +125938,39 @@ }; scale.nice = function(count) { - var d = domain(), - i = d.length - 1, - n = count == null ? 10 : count, - start = d[0], - stop = d[i], - step = tickStep(start, stop, n); + if (count == null) count = 10; - if (step) { - step = tickStep(Math.floor(start / step) * step, Math.ceil(stop / step) * step, n); - d[0] = Math.floor(start / step) * step; - d[i] = Math.ceil(stop / step) * step; + var d = domain(), + i0 = 0, + i1 = d.length - 1, + start = d[i0], + stop = d[i1], + step; + + if (stop < start) { + step = start, start = stop, stop = step; + step = i0, i0 = i1, i1 = step; + } + + step = tickIncrement(start, stop, count); + + if (step > 0) { + start = Math.floor(start / step) * step; + stop = Math.ceil(stop / step) * step; + step = tickIncrement(start, stop, count); + } else if (step < 0) { + start = Math.ceil(start * step) / step; + stop = Math.floor(stop * step) / step; + step = tickIncrement(start, stop, count); + } + + if (step > 0) { + d[i0] = Math.floor(start / step) * step; + d[i1] = Math.ceil(stop / step) * step; + domain(d); + } else if (step < 0) { + d[i0] = Math.ceil(start * step) / step; + d[i1] = Math.floor(stop * step) / step; domain(d); } @@ -125659,6 +128035,91 @@ return a; }; + var slice$5 = Array.prototype.slice; + + var radialPoint = function(x, y) { + return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)]; + }; + + function linkSource(d) { + return d.source; + } + + function linkTarget(d) { + return d.target; + } + + function link$2(curve) { + var source = linkSource, + target = linkTarget, + x$$1 = x$3, + y$$1 = y$3, + context = null; + + function link() { + var buffer, argv = slice$5.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv); + if (!context) context = buffer = path(); + curve(context, +x$$1.apply(this, (argv[0] = s, argv)), +y$$1.apply(this, argv), +x$$1.apply(this, (argv[0] = t, argv)), +y$$1.apply(this, argv)); + if (buffer) return context = null, buffer + "" || null; + } + + link.source = function(_) { + return arguments.length ? (source = _, link) : source; + }; + + link.target = function(_) { + return arguments.length ? (target = _, link) : target; + }; + + link.x = function(_) { + return arguments.length ? (x$$1 = typeof _ === "function" ? _ : constant$10(+_), link) : x$$1; + }; + + link.y = function(_) { + return arguments.length ? (y$$1 = typeof _ === "function" ? _ : constant$10(+_), link) : y$$1; + }; + + link.context = function(_) { + return arguments.length ? ((context = _ == null ? null : _), link) : context; + }; + + return link; + } + + function curveHorizontal(context, x0, y0, x1, y1) { + context.moveTo(x0, y0); + context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1); + } + + function curveVertical(context, x0, y0, x1, y1) { + context.moveTo(x0, y0); + context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1); + } + + function curveRadial$1(context, x0, y0, x1, y1) { + var p0 = radialPoint(x0, y0), + p1 = radialPoint(x0, y0 = (y0 + y1) / 2), + p2 = radialPoint(x1, y0), + p3 = radialPoint(x1, y1); + context.moveTo(p0[0], p0[1]); + context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]); + } + + function linkHorizontal() { + return link$2(curveHorizontal); + } + + function linkVertical() { + return link$2(curveVertical); + } + + function linkRadial() { + var l = link$2(curveRadial$1); + l.angle = l.x, delete l.x; + l.radius = l.y, delete l.y; + return l; + } + var circle$2 = { draw: function(context, size) { var r = Math.sqrt(size / pi$4); @@ -126640,13 +129101,11 @@ return new Step(context, 1); } - var slice$5 = Array.prototype.slice; - var none$1 = function(series, order) { if (!((n = series.length) > 1)) return; - for (var i = 1, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) { + for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) { s0 = s1, s1 = series[order[i]]; - for (var j = 0; j < m; ++j) { + for (j = 0; j < m; ++j) { s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1]; } } @@ -126720,6 +129179,21 @@ none$1(series, order); }; + var diverging = function(series, order) { + if (!((n = series.length) > 1)) return; + for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) { + for (yp = yn = 0, i = 0; i < n; ++i) { + if ((dy = (d = series[order[i]][j])[1] - d[0]) >= 0) { + d[0] = yp, d[1] = yp += dy; + } else if (dy < 0) { + d[1] = yn, d[0] = yn += dy; + } else { + d[0] = yp; + } + } + } + }; + var silhouette = function(series, order) { if (!((n = series.length) > 0)) return; for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) { @@ -127893,7 +130367,8 @@ touchstarting, touchending, touchDelay = 500, - wheelDelay = 150; + wheelDelay = 150, + clickDistance2 = 0; function zoom(selection$$1) { selection$$1 @@ -128083,7 +130558,9 @@ if (touchending || !filter.apply(this, arguments)) return; var g = gesture(this, arguments), v = select(exports.event.view).on("mousemove.zoom", mousemoved, true).on("mouseup.zoom", mouseupped, true), - p = mouse(this); + p = mouse(this), + x0 = exports.event.clientX, + y0 = exports.event.clientY; dragDisable(exports.event.view); nopropagation$2(); @@ -128093,7 +130570,10 @@ function mousemoved() { noevent$2(); - g.moved = true; + if (!g.moved) { + var dx = exports.event.clientX - x0, dy = exports.event.clientY - y0; + g.moved = dx * dx + dy * dy > clickDistance2; + } g.zoom("mouse", constrain(translate(g.that.__zoom, g.mouse[0] = mouse(g.that), g.mouse[1]), g.extent)); } @@ -128225,6 +130705,10 @@ return value === listeners ? zoom : value; }; + zoom.clickDistance = function(_) { + return arguments.length ? (clickDistance2 = (_ = +_) * _, zoom) : Math.sqrt(clickDistance2); + }; + return zoom; }; @@ -128484,9 +130968,10 @@ exports.selection = selection; exports.selector = selector; exports.selectorAll = selectorAll; + exports.style = styleValue; exports.touch = touch; exports.touches = touches; - exports.window = window; + exports.window = defaultView; exports.customEvent = customEvent; exports.arc = arc; exports.area = area$2; @@ -128494,6 +130979,9 @@ exports.pie = pie; exports.radialArea = radialArea; exports.radialLine = radialLine$1; + exports.linkHorizontal = linkHorizontal; + exports.linkVertical = linkVertical; + exports.linkRadial = linkRadial; exports.symbol = symbol; exports.symbols = symbols; exports.symbolCircle = circle$2; @@ -128523,6 +131011,7 @@ exports.curveStepBefore = stepBefore; exports.stack = stack; exports.stackOffsetExpand = expand; + exports.stackOffsetDiverging = diverging; exports.stackOffsetNone = none$1; exports.stackOffsetSilhouette = silhouette; exports.stackOffsetWiggle = wiggle; @@ -128615,7 +131104,7 @@ /***/ }, -/* 729 */ +/* 737 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -128625,7 +131114,7 @@ }); exports.getZRange = exports.getYRange = exports.getX1Range = exports.getX0Range = undefined; - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); @@ -128678,7 +131167,7 @@ ; /***/ }, -/* 730 */ +/* 738 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -128688,7 +131177,7 @@ }); exports.populateYAxis = exports.moveXAxis = exports.getXAxisLabelsHeight = exports.populateXAxis = undefined; - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); @@ -128775,7 +131264,7 @@ ; /***/ }, -/* 731 */ +/* 739 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -128785,7 +131274,7 @@ }); exports.sizeSvg = exports.getSvg = undefined; - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); @@ -128835,7 +131324,7 @@ ; /***/ }, -/* 732 */ +/* 740 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -128847,7 +131336,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - var _boxSize = __webpack_require__(733); + var _boxSize = __webpack_require__(741); var _boxSize2 = _interopRequireDefault(_boxSize); @@ -128896,7 +131385,7 @@ ; /***/ }, -/* 733 */ +/* 741 */ /***/ function(module, exports) { "use strict"; @@ -128933,7 +131422,7 @@ ; /***/ }, -/* 734 */ +/* 742 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -128943,7 +131432,7 @@ }); exports.drawData = exports.isXRangeChanged = exports.isYRangeChanged = undefined; - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); @@ -129059,7 +131548,7 @@ ; /***/ }, -/* 735 */ +/* 743 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -129069,11 +131558,11 @@ }); exports.drawLegend = undefined; - var _boxSize = __webpack_require__(733); + var _boxSize = __webpack_require__(741); var _boxSize2 = _interopRequireDefault(_boxSize); - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); @@ -129162,7 +131651,7 @@ ; /***/ }, -/* 736 */ +/* 744 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -129177,11 +131666,11 @@ var _react2 = _interopRequireDefault(_react); - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); - var _svg = __webpack_require__(737); + var _svg = __webpack_require__(745); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } @@ -129468,7 +131957,7 @@ ; /***/ }, -/* 737 */ +/* 745 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -129478,7 +131967,7 @@ }); exports.getSvg = undefined; - var _d = __webpack_require__(728); + var _d = __webpack_require__(736); var d3 = _interopRequireWildcard(_d); @@ -129507,7 +131996,7 @@ ; /***/ }, -/* 738 */ +/* 746 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -129519,15 +132008,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _HTML5Backend = __webpack_require__(739); + var _HTML5Backend = __webpack_require__(747); var _HTML5Backend2 = _interopRequireDefault(_HTML5Backend); - var _getEmptyImage = __webpack_require__(769); + var _getEmptyImage = __webpack_require__(777); var _getEmptyImage2 = _interopRequireDefault(_getEmptyImage); - var _NativeTypes = __webpack_require__(768); + var _NativeTypes = __webpack_require__(776); var NativeTypes = _interopRequireWildcard(_NativeTypes); @@ -129539,7 +132028,7 @@ } /***/ }, -/* 739 */ +/* 747 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -129552,25 +132041,25 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - var _lodashDefaults = __webpack_require__(740); + var _lodashDefaults = __webpack_require__(748); var _lodashDefaults2 = _interopRequireDefault(_lodashDefaults); - var _shallowEqual = __webpack_require__(760); + var _shallowEqual = __webpack_require__(768); var _shallowEqual2 = _interopRequireDefault(_shallowEqual); - var _EnterLeaveCounter = __webpack_require__(761); + var _EnterLeaveCounter = __webpack_require__(769); var _EnterLeaveCounter2 = _interopRequireDefault(_EnterLeaveCounter); - var _BrowserDetector = __webpack_require__(763); + var _BrowserDetector = __webpack_require__(771); - var _OffsetUtils = __webpack_require__(765); + var _OffsetUtils = __webpack_require__(773); - var _NativeDragSources = __webpack_require__(767); + var _NativeDragSources = __webpack_require__(775); - var _NativeTypes = __webpack_require__(768); + var _NativeTypes = __webpack_require__(776); var NativeTypes = _interopRequireWildcard(_NativeTypes); @@ -130120,13 +132609,13 @@ module.exports = exports['default']; /***/ }, -/* 740 */ +/* 748 */ /***/ function(module, exports, __webpack_require__) { - var apply = __webpack_require__(665), - assignInWith = __webpack_require__(741), - baseRest = __webpack_require__(662), - customDefaultsAssignIn = __webpack_require__(759); + var apply = __webpack_require__(673), + assignInWith = __webpack_require__(749), + baseRest = __webpack_require__(670), + customDefaultsAssignIn = __webpack_require__(767); /** * Assigns own and inherited enumerable string keyed properties of source @@ -130158,12 +132647,12 @@ /***/ }, -/* 741 */ +/* 749 */ /***/ function(module, exports, __webpack_require__) { - var copyObject = __webpack_require__(742), - createAssigner = __webpack_require__(745), - keysIn = __webpack_require__(748); + var copyObject = __webpack_require__(750), + createAssigner = __webpack_require__(753), + keysIn = __webpack_require__(756); /** * This method is like `_.assignIn` except that it accepts `customizer` @@ -130202,11 +132691,11 @@ /***/ }, -/* 742 */ +/* 750 */ /***/ function(module, exports, __webpack_require__) { - var assignValue = __webpack_require__(743), - baseAssignValue = __webpack_require__(744); + var assignValue = __webpack_require__(751), + baseAssignValue = __webpack_require__(752); /** * Copies properties of `source` to `object`. @@ -130248,11 +132737,11 @@ /***/ }, -/* 743 */ +/* 751 */ /***/ function(module, exports, __webpack_require__) { - var baseAssignValue = __webpack_require__(744), - eq = __webpack_require__(640); + var baseAssignValue = __webpack_require__(752), + eq = __webpack_require__(648); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -130282,10 +132771,10 @@ /***/ }, -/* 744 */ +/* 752 */ /***/ function(module, exports, __webpack_require__) { - var defineProperty = __webpack_require__(669); + var defineProperty = __webpack_require__(677); /** * The base implementation of `assignValue` and `assignMergeValue` without @@ -130313,11 +132802,11 @@ /***/ }, -/* 745 */ +/* 753 */ /***/ function(module, exports, __webpack_require__) { - var baseRest = __webpack_require__(662), - isIterateeCall = __webpack_require__(746); + var baseRest = __webpack_require__(670), + isIterateeCall = __webpack_require__(754); /** * Creates a function like `_.assign`. @@ -130356,13 +132845,13 @@ /***/ }, -/* 746 */ +/* 754 */ /***/ function(module, exports, __webpack_require__) { - var eq = __webpack_require__(640), - isArrayLike = __webpack_require__(672), - isIndex = __webpack_require__(747), - isObject = __webpack_require__(614); + var eq = __webpack_require__(648), + isArrayLike = __webpack_require__(680), + isIndex = __webpack_require__(755), + isObject = __webpack_require__(622); /** * Checks if the given arguments are from an iteratee call. @@ -130392,7 +132881,7 @@ /***/ }, -/* 747 */ +/* 755 */ /***/ function(module, exports) { /** Used as references for various `Number` constants. */ @@ -130420,12 +132909,12 @@ /***/ }, -/* 748 */ +/* 756 */ /***/ function(module, exports, __webpack_require__) { - var arrayLikeKeys = __webpack_require__(749), - baseKeysIn = __webpack_require__(756), - isArrayLike = __webpack_require__(672); + var arrayLikeKeys = __webpack_require__(757), + baseKeysIn = __webpack_require__(764), + isArrayLike = __webpack_require__(680); /** * Creates an array of the own and inherited enumerable property names of `object`. @@ -130458,15 +132947,15 @@ /***/ }, -/* 749 */ +/* 757 */ /***/ function(module, exports, __webpack_require__) { - var baseTimes = __webpack_require__(750), - isArguments = __webpack_require__(683), - isArray = __webpack_require__(613), - isBuffer = __webpack_require__(751), - isIndex = __webpack_require__(747), - isTypedArray = __webpack_require__(753); + var baseTimes = __webpack_require__(758), + isArguments = __webpack_require__(691), + isArray = __webpack_require__(621), + isBuffer = __webpack_require__(759), + isIndex = __webpack_require__(755), + isTypedArray = __webpack_require__(761); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -130513,7 +133002,7 @@ /***/ }, -/* 750 */ +/* 758 */ /***/ function(module, exports) { /** @@ -130539,11 +133028,11 @@ /***/ }, -/* 751 */ +/* 759 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(185), - stubFalse = __webpack_require__(752); + stubFalse = __webpack_require__(760); /** Detect free variable `exports`. */ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; @@ -130584,7 +133073,7 @@ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(311)(module))) /***/ }, -/* 752 */ +/* 760 */ /***/ function(module, exports) { /** @@ -130608,12 +133097,12 @@ /***/ }, -/* 753 */ +/* 761 */ /***/ function(module, exports, __webpack_require__) { - var baseIsTypedArray = __webpack_require__(754), - baseUnary = __webpack_require__(660), - nodeUtil = __webpack_require__(755); + var baseIsTypedArray = __webpack_require__(762), + baseUnary = __webpack_require__(668), + nodeUtil = __webpack_require__(763); /* Node.js helper references. */ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; @@ -130641,11 +133130,11 @@ /***/ }, -/* 754 */ +/* 762 */ /***/ function(module, exports, __webpack_require__) { var baseGetTag = __webpack_require__(183), - isLength = __webpack_require__(673), + isLength = __webpack_require__(681), isObjectLike = __webpack_require__(191); /** `Object#toString` result references. */ @@ -130707,7 +133196,7 @@ /***/ }, -/* 755 */ +/* 763 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(186); @@ -130736,12 +133225,12 @@ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(311)(module))) /***/ }, -/* 756 */ +/* 764 */ /***/ function(module, exports, __webpack_require__) { - var isObject = __webpack_require__(614), - isPrototype = __webpack_require__(757), - nativeKeysIn = __webpack_require__(758); + var isObject = __webpack_require__(622), + isPrototype = __webpack_require__(765), + nativeKeysIn = __webpack_require__(766); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -130775,7 +133264,7 @@ /***/ }, -/* 757 */ +/* 765 */ /***/ function(module, exports) { /** Used for built-in method references. */ @@ -130799,7 +133288,7 @@ /***/ }, -/* 758 */ +/* 766 */ /***/ function(module, exports) { /** @@ -130825,10 +133314,10 @@ /***/ }, -/* 759 */ +/* 767 */ /***/ function(module, exports, __webpack_require__) { - var eq = __webpack_require__(640); + var eq = __webpack_require__(648); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -130860,7 +133349,7 @@ /***/ }, -/* 760 */ +/* 768 */ /***/ function(module, exports) { "use strict"; @@ -130901,7 +133390,7 @@ module.exports = exports["default"]; /***/ }, -/* 761 */ +/* 769 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -130912,11 +133401,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } - var _lodashUnion = __webpack_require__(762); + var _lodashUnion = __webpack_require__(770); var _lodashUnion2 = _interopRequireDefault(_lodashUnion); - var _lodashWithout = __webpack_require__(617); + var _lodashWithout = __webpack_require__(625); var _lodashWithout2 = _interopRequireDefault(_lodashWithout); @@ -130958,13 +133447,13 @@ module.exports = exports['default']; /***/ }, -/* 762 */ +/* 770 */ /***/ function(module, exports, __webpack_require__) { - var baseFlatten = __webpack_require__(680), - baseRest = __webpack_require__(662), - baseUniq = __webpack_require__(685), - isArrayLikeObject = __webpack_require__(671); + var baseFlatten = __webpack_require__(688), + baseRest = __webpack_require__(670), + baseUniq = __webpack_require__(693), + isArrayLikeObject = __webpack_require__(679); /** * Creates an array of unique values, in order, from all given arrays using @@ -130990,7 +133479,7 @@ /***/ }, -/* 763 */ +/* 771 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -130999,7 +133488,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _lodashMemoize = __webpack_require__(764); + var _lodashMemoize = __webpack_require__(772); var _lodashMemoize2 = _interopRequireDefault(_lodashMemoize); @@ -131015,10 +133504,10 @@ exports.isSafari = isSafari; /***/ }, -/* 764 */ +/* 772 */ /***/ function(module, exports, __webpack_require__) { - var MapCache = __webpack_require__(620); + var MapCache = __webpack_require__(628); /** Error message constants. */ var FUNC_ERROR_TEXT = 'Expected a function'; @@ -131094,7 +133583,7 @@ /***/ }, -/* 765 */ +/* 773 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -131106,9 +133595,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } - var _BrowserDetector = __webpack_require__(763); + var _BrowserDetector = __webpack_require__(771); - var _MonotonicInterpolant = __webpack_require__(766); + var _MonotonicInterpolant = __webpack_require__(774); var _MonotonicInterpolant2 = _interopRequireDefault(_MonotonicInterpolant); @@ -131194,7 +133683,7 @@ } /***/ }, -/* 766 */ +/* 774 */ /***/ function(module, exports) { "use strict"; @@ -131311,7 +133800,7 @@ module.exports = exports["default"]; /***/ }, -/* 767 */ +/* 775 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -131329,7 +133818,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - var _NativeTypes = __webpack_require__(768); + var _NativeTypes = __webpack_require__(776); var NativeTypes = _interopRequireWildcard(_NativeTypes); @@ -131419,7 +133908,7 @@ } /***/ }, -/* 768 */ +/* 776 */ /***/ function(module, exports) { 'use strict'; @@ -131433,7 +133922,7 @@ exports.TEXT = TEXT; /***/ }, -/* 769 */ +/* 777 */ /***/ function(module, exports) { 'use strict'; @@ -131453,2023 +133942,6 @@ module.exports = exports['default']; -/***/ }, -/* 770 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _Window = __webpack_require__(771); - - var _Window2 = _interopRequireDefault(_Window); - - var _Process = __webpack_require__(776); - - var _Process2 = _interopRequireDefault(_Process); - - var _Indicator = __webpack_require__(597); - - var _Indicator2 = _interopRequireDefault(_Indicator); - - var _OverlayField = __webpack_require__(777); - - var _OverlayField2 = _interopRequireDefault(_OverlayField); - - var _WindowActions = __webpack_require__(503); - - var _GenericActions = __webpack_require__(489); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Modal = function (_Component) { - _inherits(Modal, _Component); - - function Modal(props) { - _classCallCheck(this, Modal); - - var _this = _possibleConstructorReturn(this, (Modal.__proto__ || Object.getPrototypeOf(Modal)).call(this, props)); - - _this.init = function () { - return _this.__init__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleClose = function () { - return _this.__handleClose__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.closeModal = function () { - return _this.__closeModal__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleScroll = function () { - return _this.__handleScroll__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.setFetchOnTrue = function () { - return _this.__setFetchOnTrue__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handleStart = function () { - return _this.__handleStart__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.removeModal = function () { - return _this.__removeModal__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderModalBody = function () { - return _this.__renderModalBody__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderPanel = function () { - return _this.__renderPanel__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderOverlay = function () { - return _this.__renderOverlay__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - var _this$props = _this.props, - rowId = _this$props.rowId, - dataId = _this$props.dataId; - - - _this.state = { - scrolled: false, - isNew: rowId === 'NEW', - isNewDoc: dataId === 'NEW', - init: false, - pending: false, - waitingFetch: false - }; - return _this; - } - - _createClass(Modal, [{ - key: 'componentDidMount', - value: function componentDidMount() { - this.init(); - - // Dirty solution, but use only if you need to - // there is no way to affect body - // because body is out of react app range - // and css dont affect parents - // but we have to change scope of scrollbar - document.body.style.overflow = 'hidden'; - - var modalContent = document.querySelector('.js-panel-modal-content'); - - modalContent && modalContent.addEventListener('scroll', this.handleScroll); - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - var modalContent = document.querySelector('.js-panel-modal-content'); - modalContent && modalContent.removeEventListener('scroll', this.handleScroll); - } - }, { - key: 'componentDidUpdate', - value: function componentDidUpdate(prevProps) { - var _this2 = this; - - var _props = this.props, - windowType = _props.windowType, - indicator = _props.indicator; - var waitingFetch = this.state.waitingFetch; - - - if (prevProps.windowType !== windowType) { - this.init(); - } - - // Case when we have to trigger pending start request - // in due to some pending patches that are required. - if (waitingFetch && prevProps.indicator !== indicator) { - this.setState({ - waitingFetch: false - }, function () { - _this2.handleStart(); - }); - } - } - }, { - key: '__init__REACT_HOT_LOADER__', - value: function __init__REACT_HOT_LOADER__() { - var _this3 = this; - - var _props2 = this.props, - dispatch = _props2.dispatch, - windowType = _props2.windowType, - dataId = _props2.dataId, - tabId = _props2.tabId, - rowId = _props2.rowId, - modalType = _props2.modalType, - selected = _props2.selected, - relativeType = _props2.relativeType, - isAdvanced = _props2.isAdvanced, - modalViewId = _props2.modalViewId, - modalViewDocumentIds = _props2.modalViewDocumentIds; - - - switch (modalType) { - case 'window': - dispatch((0, _WindowActions.createWindow)(windowType, dataId, tabId, rowId, true, isAdvanced)).catch(function (err) { - _this3.handleClose(); - throw err; - }); - break; - case 'process': - // We have 3 cases of processes (prioritized): - // - with viewDocumentIds: on single page with rawModal - // - with dataId: on single document page - // - with selected : on gridviews - dispatch((0, _WindowActions.createProcess)(windowType, modalViewId, relativeType, modalViewDocumentIds || (dataId ? [dataId] : selected), tabId, rowId)).catch(function (err) { - _this3.handleClose(); - - if (err.toString() !== 'Error: close_modal') { - throw err; - } - }); - break; - } - } - }, { - key: '__handleClose__REACT_HOT_LOADER__', - value: function __handleClose__REACT_HOT_LOADER__() { - var _props3 = this.props, - modalSaveStatus = _props3.modalSaveStatus, - modalType = _props3.modalType; - - - if (modalType === 'process') { - return this.closeModal(); - } - - if (modalSaveStatus || window.confirm('Do you really want to leave?')) { - this.closeModal(); - } - } - }, { - key: '__closeModal__REACT_HOT_LOADER__', - value: function __closeModal__REACT_HOT_LOADER__() { - var _this4 = this; - - var _props4 = this.props, - dispatch = _props4.dispatch, - closeCallback = _props4.closeCallback, - dataId = _props4.dataId, - windowType = _props4.windowType, - relativeType = _props4.relativeType, - relativeDataId = _props4.relativeDataId, - triggerField = _props4.triggerField; - var _state = this.state, - isNew = _state.isNew, - isNewDoc = _state.isNewDoc; - - - if (isNewDoc) { - dispatch((0, _GenericActions.processNewRecord)('window', windowType, dataId)).then(function (response) { - dispatch((0, _WindowActions.patch)('window', relativeType, relativeDataId, null, null, triggerField, _defineProperty({}, response.data, ''))).then(function () { - _this4.removeModal(); - }); - }); - } else { - closeCallback && closeCallback(isNew); - this.removeModal(); - } - } - }, { - key: '__handleScroll__REACT_HOT_LOADER__', - value: function __handleScroll__REACT_HOT_LOADER__(event) { - var scrollTop = event.srcElement.scrollTop; - - this.setState({ - scrolled: scrollTop > 0 - }); - } - }, { - key: '__setFetchOnTrue__REACT_HOT_LOADER__', - value: function __setFetchOnTrue__REACT_HOT_LOADER__() { - this.setState({ - waitingFetch: true - }); - } - }, { - key: '__handleStart__REACT_HOT_LOADER__', - value: function __handleStart__REACT_HOT_LOADER__() { - var _this5 = this; - - var _props5 = this.props, - dispatch = _props5.dispatch, - layout = _props5.layout, - windowType = _props5.windowType, - indicator = _props5.indicator; - - - if (indicator === 'pending') { - this.setState({ - waitingFetch: true, - pending: true - }); - - return; - } - - this.setState({ - pending: true - }, function () { - dispatch((0, _WindowActions.startProcess)(windowType, layout.pinstanceId)).then(function (response) { - _this5.setState({ - pending: false - }, function () { - dispatch((0, _WindowActions.handleProcessResponse)(response, windowType, layout.pinstanceId, function () { - return _this5.removeModal(); - })); - }); - }).catch(function () { - _this5.setState({ - pending: false - }); - }); - }); - } - }, { - key: '__removeModal__REACT_HOT_LOADER__', - value: function __removeModal__REACT_HOT_LOADER__() { - var _props6 = this.props, - dispatch = _props6.dispatch, - rawModalVisible = _props6.rawModalVisible; - - - dispatch((0, _WindowActions.closeModal)()); - - if (!rawModalVisible) { - document.body.style.overflow = 'auto'; - } - } - }, { - key: '__renderModalBody__REACT_HOT_LOADER__', - value: function __renderModalBody__REACT_HOT_LOADER__() { - var _props7 = this.props, - data = _props7.data, - layout = _props7.layout, - tabId = _props7.tabId, - rowId = _props7.rowId, - dataId = _props7.dataId, - modalType = _props7.modalType, - windowType = _props7.windowType, - isAdvanced = _props7.isAdvanced; - var pending = this.state.pending; - - - switch (modalType) { - case 'window': - return _react2.default.createElement(_Window2.default, { - data: data, - dataId: dataId, - layout: layout, - modal: true, - tabId: tabId, - rowId: rowId, - isModal: true, - isAdvanced: isAdvanced, - tabsInfo: null - }); - case 'process': - return _react2.default.createElement(_Process2.default, { - data: data, - layout: layout, - type: windowType, - disabled: pending - }); - } - } - }, { - key: '__renderPanel__REACT_HOT_LOADER__', - value: function __renderPanel__REACT_HOT_LOADER__() { - var _props8 = this.props, - data = _props8.data, - modalTitle = _props8.modalTitle, - modalType = _props8.modalType, - isDocumentNotSaved = _props8.isDocumentNotSaved, - layout = _props8.layout; - var _state2 = this.state, - scrolled = _state2.scrolled, - pending = _state2.pending, - isNewDoc = _state2.isNewDoc; - - - return data.length > 0 && _react2.default.createElement( - 'div', - { - className: 'screen-freeze js-not-unselect' - }, - _react2.default.createElement( - 'div', - { className: 'panel panel-modal panel-modal-primary' }, - _react2.default.createElement( - 'div', - { - className: 'panel-modal-header ' + (scrolled ? 'header-shadow' : '') - }, - _react2.default.createElement( - 'span', - { className: 'panel-modal-header-title' }, - modalTitle ? modalTitle : layout.caption - ), - _react2.default.createElement( - 'div', - { className: 'items-row-2' }, - isNewDoc && _react2.default.createElement( - 'button', - { - className: 'btn btn-meta-outline-secondary\n btn-distance-3 btn-md ' + (pending ? 'tag-disabled disabled ' : ''), - onClick: this.removeModal, - tabIndex: 0 - }, - 'Cancel' - ), - _react2.default.createElement( - 'button', - { - className: 'btn btn-meta-outline-secondary\n btn-distance-3 btn-md ' + (pending ? 'tag-disabled disabled ' : ''), - onClick: this.handleClose, - tabIndex: 0 - }, - modalType === 'process' ? 'Cancel' : 'Done' - ), - modalType === 'process' && _react2.default.createElement( - 'button', - { - className: 'btn btn-meta-primary btn-distance-3\n btn-md ' + (pending ? 'tag-disabled disabled' : ''), - onClick: this.handleStart, - tabIndex: 0 - }, - 'Start' - ) - ) - ), - _react2.default.createElement(_Indicator2.default, { isDocumentNotSaved: isDocumentNotSaved }), - _react2.default.createElement( - 'div', - { - className: 'panel-modal-content js-panel-modal-content\n container-fluid', - ref: function ref(c) { - c && c.focus(); - } - }, - this.renderModalBody() - ) - ) - ); - } - }, { - key: '__renderOverlay__REACT_HOT_LOADER__', - value: function __renderOverlay__REACT_HOT_LOADER__() { - var _props9 = this.props, - data = _props9.data, - layout = _props9.layout, - windowType = _props9.windowType; - var pending = this.state.pending; - - - return _react2.default.createElement(_OverlayField2.default, { - type: windowType, - disabled: pending, - data: data, - layout: layout, - setFetchOnTrue: this.setFetchOnTrue, - removeModal: this.removeModal - }); - } - }, { - key: 'render', - value: function render() { - var layout = this.props.layout; - - - return _react2.default.createElement( - 'div', - null, - (!layout.layoutType || layout.layoutType === 'panel') && this.renderPanel(), - layout.layoutType === 'singleOverlayField' && this.renderOverlay() - ); - } - }]); - - return Modal; - }(_react.Component); - - Modal.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - Modal = (0, _reactRedux.connect)()(Modal); - - var _default = Modal; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Modal, 'Modal', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/Modal.js'); - }(); - - ; - -/***/ }, -/* 771 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _Dropzone = __webpack_require__(772); - - var _Dropzone2 = _interopRequireDefault(_Dropzone); - - var _WindowActions = __webpack_require__(503); - - var _MasterWidget = __webpack_require__(502); - - var _MasterWidget2 = _interopRequireDefault(_MasterWidget); - - var _Tabs = __webpack_require__(774); - - var _Tabs2 = _interopRequireDefault(_Tabs); - - var _Table = __webpack_require__(579); - - var _Table2 = _interopRequireDefault(_Table); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Window = function (_Component) { - _inherits(Window, _Component); - - function Window(props) { - _classCallCheck(this, Window); - - var _this = _possibleConstructorReturn(this, (Window.__proto__ || Object.getPrototypeOf(Window)).call(this, props)); - - _this.toggleTableFullScreen = function () { - return _this.__toggleTableFullScreen__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderTabs = function () { - return _this.__renderTabs__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderSections = function () { - return _this.__renderSections__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderColumns = function () { - return _this.__renderColumns__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderElementGroups = function () { - return _this.__renderElementGroups__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderElementsLine = function () { - return _this.__renderElementsLine__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderElements = function () { - return _this.__renderElements__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - fullScreen: null, - dragActive: false - }; - - if (props.isModal) { - _this.tabIndex = { - firstColumn: 0, - tabs: 0, - secondColumn: 0 - }; - } else { - _this.tabIndex = { - firstColumn: 1, - tabs: 2, - secondColumn: 3 - }; - } - return _this; - } - - _createClass(Window, [{ - key: '__toggleTableFullScreen__REACT_HOT_LOADER__', - value: function __toggleTableFullScreen__REACT_HOT_LOADER__(tabId) { - this.setState({ - fullScreen: tabId - }); - } - }, { - key: '__renderTabs__REACT_HOT_LOADER__', - value: function __renderTabs__REACT_HOT_LOADER__(tabs) { - var _this2 = this; - - var type = this.props.layout.type; - var _props = this.props, - data = _props.data, - rowData = _props.rowData, - newRow = _props.newRow, - tabsInfo = _props.tabsInfo; - var fullScreen = this.state.fullScreen; - - var dataId = (0, _WindowActions.findRowByPropName)(data, 'ID').value; - - return _react2.default.createElement( - _Tabs2.default, - { - tabIndex: this.tabIndex.tabs, - toggleTableFullScreen: this.toggleTableFullScreen, - fullScreen: fullScreen, - windowType: type - }, - tabs.map(function (elem) { - var tabid = elem.tabid, - caption = elem.caption, - elements = elem.elements, - emptyResultText = elem.emptyResultText, - emptyResultHint = elem.emptyResultHint, - queryOnActivate = elem.queryOnActivate, - supportQuickInput = elem.supportQuickInput; - - return _react2.default.createElement(_Table2.default, { - entity: 'window', - caption: caption, - key: tabid, - rowData: rowData, - cols: elements, - tabid: tabid, - type: type, - docId: dataId, - emptyText: emptyResultText, - emptyHint: emptyResultHint, - newRow: newRow, - tabIndex: _this2.tabIndex.tabs, - queryOnActivate: queryOnActivate, - supportQuickInput: supportQuickInput, - tabInfo: tabsInfo && tabsInfo[tabid], - disconnectFromState: true - }); - }) - ); - } - }, { - key: '__renderSections__REACT_HOT_LOADER__', - value: function __renderSections__REACT_HOT_LOADER__(sections) { - var _this3 = this; - - return sections.map(function (elem, id) { - var columns = elem.columns; - return _react2.default.createElement( - 'div', - { className: 'row', key: 'section' + id }, - columns && _this3.renderColumns(columns) - ); - }); - } - }, { - key: '__renderColumns__REACT_HOT_LOADER__', - value: function __renderColumns__REACT_HOT_LOADER__(columns) { - var _this4 = this; - - var maxRows = 12; - var colWidth = Math.floor(maxRows / columns.length); - return columns.map(function (elem, id) { - var isFirst = id === 0; - var elementGroups = elem.elementGroups; - return _react2.default.createElement( - 'div', - { className: 'col-sm-' + colWidth, key: 'col' + id }, - elementGroups && _this4.renderElementGroups(elementGroups, isFirst) - ); - }); - } - }, { - key: '__renderElementGroups__REACT_HOT_LOADER__', - value: function __renderElementGroups__REACT_HOT_LOADER__(group, isFirst) { - var _this5 = this; - - return group.map(function (elem, id) { - var type = elem.type, - elementsLine = elem.elementsLine; - - var shouldBeFocused = isFirst && id === 0; - - var tabIndex = type === 'primary' ? _this5.tabIndex.firstColumn : _this5.tabIndex.secondColumn; - - return elementsLine && elementsLine.length > 0 && _react2.default.createElement( - 'div', - { - key: 'elemGroups' + id, - tabIndex: shouldBeFocused ? 0 : undefined, - className: 'panel panel-spaced panel-distance ' + (type === 'primary' ? 'panel-bordered panel-primary' : 'panel-secondary') - }, - _this5.renderElementsLine(elementsLine, tabIndex, shouldBeFocused) - ); - }); - } - }, { - key: '__renderElementsLine__REACT_HOT_LOADER__', - value: function __renderElementsLine__REACT_HOT_LOADER__(elementsLine, tabIndex, shouldBeFocused) { - var _this6 = this; - - return elementsLine.map(function (elem, id) { - var elements = elem.elements; - - var isFocused = shouldBeFocused && id === 0; - return elements && elements.length > 0 && _react2.default.createElement( - 'div', - { className: 'elements-line', key: 'line' + id }, - _this6.renderElements(elements, tabIndex, isFocused) - ); - }); - } - }, { - key: '__renderElements__REACT_HOT_LOADER__', - value: function __renderElements__REACT_HOT_LOADER__(elements, tabIndex, isFocused) { - var type = this.props.layout.type; - var _props2 = this.props, - data = _props2.data, - modal = _props2.modal, - tabId = _props2.tabId, - rowId = _props2.rowId, - dataId = _props2.dataId, - isAdvanced = _props2.isAdvanced; - var fullScreen = this.state.fullScreen; - - - return elements.map(function (elem, id) { - var autoFocus = isFocused && id === 0; - var widgetData = elem.fields.map(function (item) { - return (0, _WindowActions.findRowByPropName)(data, item.field); - }); - var relativeDocId = (0, _WindowActions.findRowByPropName)(data, 'ID').value; - return _react2.default.createElement(_MasterWidget2.default, _extends({ - entity: 'window', - key: 'element' + id, - windowType: type, - dataId: dataId, - widgetData: widgetData, - isModal: !!modal, - tabId: tabId, - rowId: rowId, - relativeDocId: relativeDocId, - isAdvanced: isAdvanced, - tabIndex: tabIndex, - autoFocus: autoFocus, - fullScreen: fullScreen - }, elem)); - }); - } - }, { - key: 'render', - value: function render() { - var _props$layout = this.props.layout, - sections = _props$layout.sections, - tabs = _props$layout.tabs; - var _props3 = this.props, - handleDropFile = _props3.handleDropFile, - handleRejectDropped = _props3.handleRejectDropped, - handleDragStart = _props3.handleDragStart, - isModal = _props3.isModal; - - - return _react2.default.createElement( - 'div', - { key: 'window', className: 'window-wrapper' }, - _react2.default.createElement( - _Dropzone2.default, - { - handleDropFile: handleDropFile, - handleRejectDropped: handleRejectDropped, - handleDragStart: handleDragStart - }, - _react2.default.createElement( - 'div', - { className: 'sections-wrapper' }, - sections && this.renderSections(sections) - ) - ), - !isModal && _react2.default.createElement( - 'div', - { className: 'mt-1 tabs-wrapper' }, - tabs && this.renderTabs(tabs) - ) - ); - } - }]); - - return Window; - }(_react.Component); - - var _default = Window; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Window, 'Window', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Window.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Window.js'); - }(); - - ; - -/***/ }, -/* 772 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _reactDropzone = __webpack_require__(773); - - var _reactDropzone2 = _interopRequireDefault(_reactDropzone); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var DropzoneWrapper = function (_Component) { - _inherits(DropzoneWrapper, _Component); - - function DropzoneWrapper(props) { - _classCallCheck(this, DropzoneWrapper); - - var _this = _possibleConstructorReturn(this, (DropzoneWrapper.__proto__ || Object.getPrototypeOf(DropzoneWrapper)).call(this, props)); - - _this.handleDragStart = function () { - return _this.__handleDragStart__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - dragActive: false - }; - return _this; - } - - _createClass(DropzoneWrapper, [{ - key: 'handleDropFile', - value: function handleDropFile(accepted, rejected) { - var _props = this.props, - handleDropFile = _props.handleDropFile, - handleRejectDropped = _props.handleRejectDropped; - - - this.handleDragEnd(); - - if (accepted.length) { - handleDropFile(accepted); - } - - if (rejected.length) { - handleRejectDropped(rejected); - } - } - }, { - key: '__handleDragStart__REACT_HOT_LOADER__', - value: function __handleDragStart__REACT_HOT_LOADER__() { - var handleDragStart = this.props.handleDragStart; - var dragActive = this.state.dragActive; - - - this.setState({ - dragActive: true - }, function () { - dragActive && handleDragStart(); - }); - } - }, { - key: 'handleDragEnd', - value: function handleDragEnd() { - this.setState({ - dragActive: false - }); - } - }, { - key: 'render', - value: function render() { - var _this2 = this; - - var dragActive = this.state.dragActive; - - - return _react2.default.createElement( - _reactDropzone2.default, - { - className: 'document-file-dropzone' + (dragActive ? ' document-file-dropzone-active' : ''), - disablePreview: true, - multiple: false, - disableClick: true, - onDragEnter: function onDragEnter() { - return _this2.handleDragStart(); - }, - onDragLeave: function onDragLeave() { - return _this2.handleDragEnd(); - }, - onDrop: function onDrop(accepted, rejected) { - return _this2.handleDropFile(accepted, rejected); - } - }, - this.props.children, - _react2.default.createElement( - 'div', - { className: 'document-file-dropzone-backdrop' }, - _react2.default.createElement( - 'span', - { className: 'document-file-dropzone-info' }, - _react2.default.createElement('i', { className: 'meta-icon-upload-1' }), - ' Drop files here' - ) - ) - ); - } - }]); - - return DropzoneWrapper; - }(_react.Component); - - var _default = DropzoneWrapper; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(DropzoneWrapper, 'DropzoneWrapper', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Dropzone.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Dropzone.js'); - }(); - - ; - -/***/ }, -/* 773 */ -/***/ function(module, exports, __webpack_require__) { - - (function webpackUniversalModuleDefinition(root, factory) { - if(true) - module.exports = factory(__webpack_require__(2)); - else if(typeof define === 'function' && define.amd) - define(["react"], factory); - else if(typeof exports === 'object') - exports["Dropzone"] = factory(require("react")); - else - root["Dropzone"] = factory(root["react"]); - })(this, function(__WEBPACK_EXTERNAL_MODULE_1__) { - return /******/ (function(modules) { // webpackBootstrap - /******/ // The module cache - /******/ var installedModules = {}; - /******/ - /******/ // The require function - /******/ function __webpack_require__(moduleId) { - /******/ - /******/ // Check if module is in cache - /******/ if(installedModules[moduleId]) - /******/ return installedModules[moduleId].exports; - /******/ - /******/ // Create a new module (and put it into the cache) - /******/ var module = installedModules[moduleId] = { - /******/ exports: {}, - /******/ id: moduleId, - /******/ loaded: false - /******/ }; - /******/ - /******/ // Execute the module function - /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - /******/ - /******/ // Flag the module as loaded - /******/ module.loaded = true; - /******/ - /******/ // Return the exports of the module - /******/ return module.exports; - /******/ } - /******/ - /******/ - /******/ // expose the modules object (__webpack_modules__) - /******/ __webpack_require__.m = modules; - /******/ - /******/ // expose the module cache - /******/ __webpack_require__.c = installedModules; - /******/ - /******/ // __webpack_public_path__ - /******/ __webpack_require__.p = ""; - /******/ - /******/ // Load entry module and return exports - /******/ return __webpack_require__(0); - /******/ }) - /************************************************************************/ - /******/ ([ - /* 0 */ - /***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(1); - - var _react2 = _interopRequireDefault(_react); - - var _attrAccept = __webpack_require__(2); - - var _attrAccept2 = _interopRequireDefault(_attrAccept); - - var _getDataTransferItems = __webpack_require__(3); - - var _getDataTransferItems2 = _interopRequireDefault(_getDataTransferItems); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint prefer-template: 0 */ - - - var supportMultiple = typeof document !== 'undefined' && document && document.createElement ? 'multiple' in document.createElement('input') : true; - - var Dropzone = function (_React$Component) { - _inherits(Dropzone, _React$Component); - - function Dropzone(props, context) { - _classCallCheck(this, Dropzone); - - var _this = _possibleConstructorReturn(this, (Dropzone.__proto__ || Object.getPrototypeOf(Dropzone)).call(this, props, context)); - - _this.onClick = _this.onClick.bind(_this); - _this.onDragStart = _this.onDragStart.bind(_this); - _this.onDragEnter = _this.onDragEnter.bind(_this); - _this.onDragLeave = _this.onDragLeave.bind(_this); - _this.onDragOver = _this.onDragOver.bind(_this); - _this.onDrop = _this.onDrop.bind(_this); - _this.onFileDialogCancel = _this.onFileDialogCancel.bind(_this); - _this.fileAccepted = _this.fileAccepted.bind(_this); - _this.isFileDialogActive = false; - _this.state = { - isDragActive: false - }; - return _this; - } - - _createClass(Dropzone, [{ - key: 'componentDidMount', - value: function componentDidMount() { - this.enterCounter = 0; - // Tried implementing addEventListener, but didn't work out - document.body.onfocus = this.onFileDialogCancel; - } - }, { - key: 'componentWillUnmount', - value: function componentWillUnmount() { - // Can be replaced with removeEventListener, if addEventListener works - document.body.onfocus = null; - } - }, { - key: 'onDragStart', - value: function onDragStart(e) { - if (this.props.onDragStart) { - this.props.onDragStart.call(this, e); - } - } - }, { - key: 'onDragEnter', - value: function onDragEnter(e) { - e.preventDefault(); - - // Count the dropzone and any children that are entered. - ++this.enterCounter; - - var allFilesAccepted = this.allFilesAccepted((0, _getDataTransferItems2.default)(e, this.props.multiple)); - - this.setState({ - isDragActive: allFilesAccepted, - isDragReject: !allFilesAccepted - }); - - if (this.props.onDragEnter) { - this.props.onDragEnter.call(this, e); - } - } - }, { - key: 'onDragOver', - value: function onDragOver(e) { - // eslint-disable-line class-methods-use-this - e.preventDefault(); - e.stopPropagation(); - try { - e.dataTransfer.dropEffect = 'copy'; // eslint-disable-line no-param-reassign - } catch (err) { - // continue regardless of error - } - - if (this.props.onDragOver) { - this.props.onDragOver.call(this, e); - } - return false; - } - }, { - key: 'onDragLeave', - value: function onDragLeave(e) { - e.preventDefault(); - - // Only deactivate once the dropzone and all children was left. - if (--this.enterCounter > 0) { - return; - } - - this.setState({ - isDragActive: false, - isDragReject: false - }); - - if (this.props.onDragLeave) { - this.props.onDragLeave.call(this, e); - } - } - }, { - key: 'onDrop', - value: function onDrop(e) { - var _this2 = this; - - var _props = this.props, - onDrop = _props.onDrop, - onDropAccepted = _props.onDropAccepted, - onDropRejected = _props.onDropRejected, - multiple = _props.multiple, - disablePreview = _props.disablePreview; - - var fileList = (0, _getDataTransferItems2.default)(e, multiple); - var acceptedFiles = []; - var rejectedFiles = []; - - // Stop default browser behavior - e.preventDefault(); - - // Reset the counter along with the drag on a drop. - this.enterCounter = 0; - this.isFileDialogActive = false; - - fileList.forEach(function (file) { - if (!disablePreview) { - file.preview = window.URL.createObjectURL(file); // eslint-disable-line no-param-reassign - } - - if (_this2.fileAccepted(file) && _this2.fileMatchSize(file)) { - acceptedFiles.push(file); - } else { - rejectedFiles.push(file); - } - }); - - if (onDrop) { - onDrop.call(this, acceptedFiles, rejectedFiles, e); - } - - if (rejectedFiles.length > 0 && onDropRejected) { - onDropRejected.call(this, rejectedFiles, e); - } - - if (acceptedFiles.length > 0 && onDropAccepted) { - onDropAccepted.call(this, acceptedFiles, e); - } - - // Reset drag state - this.setState({ - isDragActive: false, - isDragReject: false - }); - } - }, { - key: 'onClick', - value: function onClick(e) { - var _props2 = this.props, - onClick = _props2.onClick, - disableClick = _props2.disableClick; - - if (!disableClick) { - e.stopPropagation(); - this.open(); - if (onClick) { - onClick.call(this, e); - } - } - } - }, { - key: 'onFileDialogCancel', - value: function onFileDialogCancel() { - // timeout will not recognize context of this method - var onFileDialogCancel = this.props.onFileDialogCancel; - var fileInputEl = this.fileInputEl; - var isFileDialogActive = this.isFileDialogActive; - // execute the timeout only if the onFileDialogCancel is defined and FileDialog - // is opened in the browser - - if (onFileDialogCancel && isFileDialogActive) { - setTimeout(function () { - // Returns an object as FileList - var FileList = fileInputEl.files; - if (!FileList.length) { - isFileDialogActive = false; - onFileDialogCancel(); - } - }, 300); - } - } - }, { - key: 'fileAccepted', - value: function fileAccepted(file) { - return (0, _attrAccept2.default)(file, this.props.accept); - } - }, { - key: 'fileMatchSize', - value: function fileMatchSize(file) { - return file.size <= this.props.maxSize && file.size >= this.props.minSize; - } - }, { - key: 'allFilesAccepted', - value: function allFilesAccepted(files) { - return files.every(this.fileAccepted); - } - }, { - key: 'open', - value: function open() { - this.isFileDialogActive = true; - this.fileInputEl.value = null; - this.fileInputEl.click(); - } - }, { - key: 'render', - value: function render() { - var _this3 = this; - - var _props3 = this.props, - accept = _props3.accept, - activeClassName = _props3.activeClassName, - inputProps = _props3.inputProps, - multiple = _props3.multiple, - name = _props3.name, - rejectClassName = _props3.rejectClassName, - rest = _objectWithoutProperties(_props3, ['accept', 'activeClassName', 'inputProps', 'multiple', 'name', 'rejectClassName']); - - var activeStyle = rest.activeStyle, - className = rest.className, - rejectStyle = rest.rejectStyle, - style = rest.style, - props = _objectWithoutProperties(rest, ['activeStyle', 'className', 'rejectStyle', 'style']); - - var _state = this.state, - isDragActive = _state.isDragActive, - isDragReject = _state.isDragReject; - - - className = className || ''; - - if (isDragActive && activeClassName) { - className += ' ' + activeClassName; - } - if (isDragReject && rejectClassName) { - className += ' ' + rejectClassName; - } - - if (!className && !style && !activeStyle && !rejectStyle) { - style = { - width: 200, - height: 200, - borderWidth: 2, - borderColor: '#666', - borderStyle: 'dashed', - borderRadius: 5 - }; - activeStyle = { - borderStyle: 'solid', - backgroundColor: '#eee' - }; - rejectStyle = { - borderStyle: 'solid', - backgroundColor: '#ffdddd' - }; - } - - var appliedStyle = void 0; - if (activeStyle && isDragActive) { - appliedStyle = _extends({}, style, activeStyle); - } else if (rejectStyle && isDragReject) { - appliedStyle = _extends({}, style, rejectStyle); - } else { - appliedStyle = _extends({}, style); - } - - var inputAttributes = { - accept: accept, - type: 'file', - style: { display: 'none' }, - multiple: supportMultiple && multiple, - ref: function ref(el) { - return _this3.fileInputEl = el; - }, // eslint-disable-line - onChange: this.onDrop - }; - - if (name && name.length) { - inputAttributes.name = name; - } - - // Remove custom properties before passing them to the wrapper div element - var customProps = ['acceptedFiles', 'disablePreview', 'disableClick', 'onDropAccepted', 'onDropRejected', 'onFileDialogCancel', 'maxSize', 'minSize']; - var divProps = _extends({}, props); - customProps.forEach(function (prop) { - return delete divProps[prop]; - }); - - return _react2.default.createElement( - 'div', - _extends({ - className: className, - style: appliedStyle - }, divProps /* expand user provided props first so event handlers are never overridden */, { - onClick: this.onClick, - onDragStart: this.onDragStart, - onDragEnter: this.onDragEnter, - onDragOver: this.onDragOver, - onDragLeave: this.onDragLeave, - onDrop: this.onDrop - }), - this.props.children, - _react2.default.createElement('input', _extends({}, inputProps /* expand user provided inputProps first so inputAttributes override them */, inputAttributes)) - ); - } - }]); - - return Dropzone; - }(_react2.default.Component); - - Dropzone.defaultProps = { - disablePreview: false, - disableClick: false, - multiple: true, - maxSize: Infinity, - minSize: 0 - }; - - Dropzone.propTypes = { - onClick: _react2.default.PropTypes.func, - onDrop: _react2.default.PropTypes.func, - onDropAccepted: _react2.default.PropTypes.func, - onDropRejected: _react2.default.PropTypes.func, - onDragStart: _react2.default.PropTypes.func, - onDragEnter: _react2.default.PropTypes.func, - onDragOver: _react2.default.PropTypes.func, - onDragLeave: _react2.default.PropTypes.func, - - children: _react2.default.PropTypes.node, // Contents of the dropzone - style: _react2.default.PropTypes.object, // CSS styles to apply - activeStyle: _react2.default.PropTypes.object, // CSS styles to apply when drop will be accepted - rejectStyle: _react2.default.PropTypes.object, // CSS styles to apply when drop will be rejected - className: _react2.default.PropTypes.string, // Optional className - activeClassName: _react2.default.PropTypes.string, // className for accepted state - rejectClassName: _react2.default.PropTypes.string, // className for rejected state - - disablePreview: _react2.default.PropTypes.bool, // Enable/disable preview generation - disableClick: _react2.default.PropTypes.bool, // Disallow clicking on the dropzone container to open file dialog - onFileDialogCancel: _react2.default.PropTypes.func, // Provide a callback on clicking the cancel button of the file dialog - - inputProps: _react2.default.PropTypes.object, // Pass additional attributes to the tag - multiple: _react2.default.PropTypes.bool, // Allow dropping multiple files - accept: _react2.default.PropTypes.string, // Allow specific types of files. See https://github.com/okonet/attr-accept for more information - name: _react2.default.PropTypes.string, // name attribute for the input tag - maxSize: _react2.default.PropTypes.number, - minSize: _react2.default.PropTypes.number - }; - - exports.default = Dropzone; - module.exports = exports['default']; - - /***/ }, - /* 1 */ - /***/ function(module, exports) { - - module.exports = __WEBPACK_EXTERNAL_MODULE_1__; - - /***/ }, - /* 2 */ - /***/ function(module, exports) { - - module.exports=function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){"use strict";n.__esModule=!0,r(8),r(9),n["default"]=function(t,n){if(t&&n){var r=function(){var r=Array.isArray(n)?n:n.split(","),e=t.name||"",o=t.type||"",i=o.replace(/\/.*$/,"");return{v:r.some(function(t){var n=t.trim();return"."===n.charAt(0)?e.toLowerCase().endsWith(n.toLowerCase()):/\/\*$/.test(n)?i===n.replace(/\/.*$/,""):o===n})}}();if("object"==typeof r)return r.v}return!0},t.exports=n["default"]},function(t,n){var r=t.exports={version:"1.2.2"};"number"==typeof __e&&(__e=r)},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(2),o=r(1),i=r(4),u=r(19),c="prototype",f=function(t,n){return function(){return t.apply(n,arguments)}},s=function(t,n,r){var a,p,l,y,d=t&s.G,h=t&s.P,v=d?e:t&s.S?e[n]||(e[n]={}):(e[n]||{})[c],x=d?o:o[n]||(o[n]={});d&&(r=n);for(a in r)p=!(t&s.F)&&v&&a in v,l=(p?v:r)[a],y=t&s.B&&p?f(l,e):h&&"function"==typeof l?f(Function.call,l):l,v&&!p&&u(v,a,l),x[a]!=l&&i(x,a,y),h&&((x[c]||(x[c]={}))[a]=l)};e.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s},function(t,n,r){var e=r(5),o=r(18);t.exports=r(22)?function(t,n,r){return e.setDesc(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r=Object;t.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(20)("wks"),o=r(2).Symbol;t.exports=function(t){return e[t]||(e[t]=o&&o[t]||(o||r(6))("Symbol."+t))}},function(t,n,r){r(26),t.exports=r(1).Array.some},function(t,n,r){r(25),t.exports=r(1).String.endsWith},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(10);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r(7)("match")]=!1,!"/./"[t](n)}catch(o){}}return!0}},function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(16),o=r(11),i=r(7)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(2),o=r(4),i=r(6)("src"),u="toString",c=Function[u],f=(""+c).split(u);r(1).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,u){"function"==typeof r&&(o(r,i,t[n]?""+t[n]:f.join(String(n))),"name"in r||(r.name=n)),t===e?t[n]=r:(u||delete t[n],o(t,n,r))})(Function.prototype,u,function(){return"function"==typeof this&&this[i]||c.call(this)})},function(t,n,r){var e=r(2),o="__core-js_shared__",i=e[o]||(e[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n,r){var e=r(17),o=r(13);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(o(t))}},function(t,n,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(23),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){"use strict";var e=r(3),o=r(24),i=r(21),u="endsWith",c=""[u];e(e.P+e.F*r(14)(u),"String",{endsWith:function(t){var n=i(this,t,u),r=arguments,e=r.length>1?r[1]:void 0,f=o(n.length),s=void 0===e?f:Math.min(o(e),f),a=String(t);return c?c.call(n,a,s):n.slice(s-a.length,s)===a}})},function(t,n,r){var e=r(5),o=r(3),i=r(1).Array||Array,u={},c=function(t,n){e.each.call(t.split(","),function(t){void 0==n&&t in i?u[t]=i[t]:t in[]&&(u[t]=r(12)(Function.call,[][t],n))})};c("pop,reverse,shift,keys,values,entries",1),c("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),c("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",u)}]); - - /***/ }, - /* 3 */ - /***/ function(module, exports) { - - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = getDataTransferFiles; - function getDataTransferFiles(event) { - var isMultipleAllowed = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; - - var dataTransferItemsList = []; - if (event.dataTransfer) { - var dt = event.dataTransfer; - if (dt.files && dt.files.length) { - dataTransferItemsList = dt.files; - } else if (dt.items && dt.items.length) { - // During the drag even the dataTransfer.files is null - // but Chrome implements some drag store, which is accesible via dataTransfer.items - dataTransferItemsList = dt.items; - } - } else if (event.target && event.target.files) { - dataTransferItemsList = event.target.files; - } - - if (dataTransferItemsList.length > 0) { - dataTransferItemsList = isMultipleAllowed ? dataTransferItemsList : [dataTransferItemsList[0]]; - } - - // Convert from DataTransferItemsList to the native Array - return Array.prototype.slice.call(dataTransferItemsList); - } - module.exports = exports["default"]; - - /***/ } - /******/ ]) - }); - ; - //# sourceMappingURL=index.js.map - -/***/ }, -/* 774 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _Tab = __webpack_require__(775); - - var _Tab2 = _interopRequireDefault(_Tab); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Tabs = function (_Component) { - _inherits(Tabs, _Component); - - function Tabs(props) { - _classCallCheck(this, Tabs); - - var _this = _possibleConstructorReturn(this, (Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call(this, props)); - - _this.handleClick = function () { - return _this.__handleClick__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.handlePillKeyDown = function () { - return _this.__handlePillKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderPills = function () { - return _this.__renderPills__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderTabs = function () { - return _this.__renderTabs__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.state = { - selected: _this.props.children[0].key - }; - return _this; - } - - _createClass(Tabs, [{ - key: '__handleClick__REACT_HOT_LOADER__', - value: function __handleClick__REACT_HOT_LOADER__(e, id) { - e.preventDefault(); - this.setState({ - 'selected': id - }); - } - }, { - key: '__handlePillKeyDown__REACT_HOT_LOADER__', - value: function __handlePillKeyDown__REACT_HOT_LOADER__(e, key) { - if (e.key === 'Enter') { - this.handleClick(e, key); - } - } - }, { - key: '__renderPills__REACT_HOT_LOADER__', - value: function __renderPills__REACT_HOT_LOADER__(pills) { - var _this2 = this; - - var tabIndex = this.props.tabIndex; - - var maxWidth = 95 / pills.length + '%'; - var selected = this.state.selected; - - - return pills.map(function (item) { - return _react2.default.createElement( - 'li', - { - className: 'nav-item', - key: 'tab' + item.key, - onClick: function onClick(e) { - return _this2.handleClick(e, item.key); - }, - tabIndex: tabIndex, - onKeyDown: function onKeyDown(e) { - return _this2.handlePillKeyDown(e, item.key); - }, - style: { maxWidth: maxWidth } - }, - _react2.default.createElement( - 'a', - { - className: 'nav-link ' + (selected === item.key ? 'active' : '') - }, - item.props.caption - ) - ); - }); - } - }, { - key: '__renderTabs__REACT_HOT_LOADER__', - value: function __renderTabs__REACT_HOT_LOADER__(tabs) { - var _props = this.props, - toggleTableFullScreen = _props.toggleTableFullScreen, - fullScreen = _props.fullScreen, - windowType = _props.windowType; - var selected = this.state.selected; - - - return tabs.map(function (item) { - var itemWithProps = Object.assign({}, item, { - props: Object.assign({}, item.props, { - toggleFullScreen: toggleTableFullScreen, - fullScreen: fullScreen - }) - }); - - if (selected == item.key) { - var _item$props = item.props, - tabid = _item$props.tabid, - queryOnActivate = _item$props.queryOnActivate, - docId = _item$props.docId; - - - return _react2.default.createElement( - 'div', - { - key: 'pane' + item.key, - className: 'tab-pane active' - }, - _react2.default.createElement( - _Tab2.default, - { queryOnActivate: queryOnActivate, tabid: tabid, docId: docId, windowType: windowType }, - itemWithProps - ) - ); - } else { - return false; - } - }); - } - }, { - key: 'render', - value: function render() { - var _this3 = this; - - var _props2 = this.props, - children = _props2.children, - tabIndex = _props2.tabIndex, - fullScreen = _props2.fullScreen; - - - return _react2.default.createElement( - 'div', - { className: 'mb-1 ' + (fullScreen ? 'tabs-fullscreen container-fluid ' : '') }, - _react2.default.createElement( - 'ul', - { className: 'nav nav-tabs mt-1' }, - this.renderPills(children) - ), - _react2.default.createElement( - 'div', - { - className: 'tab-content', - tabIndex: tabIndex, - ref: function ref(c) { - return _this3.tabContent = c; - } - }, - this.renderTabs(children) - ) - ); - } - }]); - - return Tabs; - }(_react.Component); - - var _default = Tabs; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Tabs, 'Tabs', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tabs.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tabs.js'); - }(); - - ; - -/***/ }, -/* 775 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _WindowActions = __webpack_require__(503); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Tab = function (_Component) { - _inherits(Tab, _Component); - - function Tab(props) { - _classCallCheck(this, Tab); - - var _this = _possibleConstructorReturn(this, (Tab.__proto__ || Object.getPrototypeOf(Tab)).call(this, props)); - - var _this$props = _this.props, - dispatch = _this$props.dispatch, - tabid = _this$props.tabid, - windowType = _this$props.windowType, - queryOnActivate = _this$props.queryOnActivate, - docId = _this$props.docId; - - - if (queryOnActivate) { - dispatch((0, _WindowActions.getTab)(tabid, windowType, docId)).then(function (res) { - dispatch((0, _WindowActions.addRowData)(_defineProperty({}, tabid, res), 'master')); - }); - } - return _this; - } - - _createClass(Tab, [{ - key: 'render', - value: function render() { - var children = this.props.children; - - - return _react2.default.createElement( - 'div', - { className: 'table-flex-wrapper' }, - children - ); - } - }]); - - return Tab; - }(_react.Component); - - Tab.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - Tab = (0, _reactRedux.connect)()(Tab); - - var _default = Tab; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Tab, 'Tab', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tab.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/tabs/Tab.js'); - }(); - - ; - -/***/ }, -/* 776 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.Process = undefined; - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(173); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _reactRedux = __webpack_require__(171); - - var _MasterWidget = __webpack_require__(502); - - var _MasterWidget2 = _interopRequireDefault(_MasterWidget); - - var _WindowActions = __webpack_require__(503); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var Process = exports.Process = function (_Component) { - _inherits(Process, _Component); - - function Process(props) { - _classCallCheck(this, Process); - - var _this = _possibleConstructorReturn(this, (Process.__proto__ || Object.getPrototypeOf(Process)).call(this, props)); - - _this.renderElements = function () { - return _this.__renderElements__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - return _this; - } - - _createClass(Process, [{ - key: '__renderElements__REACT_HOT_LOADER__', - value: function __renderElements__REACT_HOT_LOADER__(layout, data, type) { - var disabled = this.props.disabled; - - var elements = layout.elements; - return elements.map(function (elem, id) { - var widgetData = elem.fields.map(function (item) { - return (0, _WindowActions.findRowByPropName)(data, item.field); - }); - return _react2.default.createElement(_MasterWidget2.default, _extends({ - entity: 'process', - key: 'element' + id, - windowType: type, - dataId: layout.pinstanceId, - widgetData: widgetData, - isModal: true, - disabled: disabled, - autoFocus: id === 0 - }, elem)); - }); - } - }, { - key: 'render', - value: function render() { - var _props = this.props, - data = _props.data, - layout = _props.layout, - type = _props.type; - - return _react2.default.createElement( - 'div', - { key: 'window', className: 'window-wrapper' }, - layout && layout.elements && this.renderElements(layout, data, type) - ); - } - }]); - - return Process; - }(_react.Component); - - Process.propTypes = { - dispatch: _propTypes2.default.func.isRequired - }; - - exports.Process = Process = (0, _reactRedux.connect)()(Process); - - var _default = Process; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(Process, 'Process', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Process.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/Process.js'); - }(); - - ; - -/***/ }, -/* 777 */ -/***/ function(module, exports, __webpack_require__) { - - 'use strict'; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - - var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _MasterWidget = __webpack_require__(502); - - var _MasterWidget2 = _interopRequireDefault(_MasterWidget); - - var _WindowActions = __webpack_require__(503); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - - function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - - function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - - var OverlayField = function (_Component) { - _inherits(OverlayField, _Component); - - function OverlayField(props) { - _classCallCheck(this, OverlayField); - - var _this = _possibleConstructorReturn(this, (OverlayField.__proto__ || Object.getPrototypeOf(OverlayField)).call(this, props)); - - _this.handleKeyDown = function () { - return _this.__handleKeyDown__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - _this.renderElements = function () { - return _this.__renderElements__REACT_HOT_LOADER__.apply(_this, arguments); - }; - - return _this; - } - - _createClass(OverlayField, [{ - key: '__handleKeyDown__REACT_HOT_LOADER__', - value: function __handleKeyDown__REACT_HOT_LOADER__(e) { - var _props = this.props, - setFetchOnTrue = _props.setFetchOnTrue, - removeModal = _props.removeModal; - - switch (e.key) { - case 'Enter': - document.activeElement.blur(); - setFetchOnTrue(); - break; - case 'Escape': - removeModal(); - break; - } - } - }, { - key: '__renderElements__REACT_HOT_LOADER__', - value: function __renderElements__REACT_HOT_LOADER__(layout, data, type) { - var disabled = this.props.disabled; - - var elements = layout.elements; - return elements.map(function (elem, id) { - var widgetData = elem.fields.map(function (item) { - return (0, _WindowActions.findRowByPropName)(data, item.field); - }); - return _react2.default.createElement(_MasterWidget2.default, _extends({ - entity: 'process', - key: 'element' + id, - windowType: type, - dataId: layout.pinstanceId, - widgetData: widgetData, - isModal: true, - disabled: disabled, - autoFocus: id === 0 - }, elem)); - }); - } - }, { - key: 'render', - value: function render() { - var _this2 = this; - - var _props2 = this.props, - data = _props2.data, - layout = _props2.layout, - type = _props2.type; - - return _react2.default.createElement( - 'div', - { - className: 'overlay-field js-not-unselect', - onKeyDown: function onKeyDown(e) { - return _this2.handleKeyDown(e); - } - }, - layout && layout.elements && this.renderElements(layout, data, type) - ); - } - }]); - - return OverlayField; - }(_react.Component); - - var _default = OverlayField; - exports.default = _default; - ; - - var _temp = function () { - if (typeof __REACT_HOT_LOADER__ === 'undefined') { - return; - } - - __REACT_HOT_LOADER__.register(OverlayField, 'OverlayField', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/OverlayField.js'); - - __REACT_HOT_LOADER__.register(_default, 'default', '/var/lib/jenkins/workspace/resh-webui-frontend_release-CJHGXWMUEPJJZOWIOELTHOTVGMVSRVEG6UNVXK6JWIXJ3STHXWUA/src/components/app/OverlayField.js'); - }(); - - ; - /***/ }, /* 778 */ /***/ function(module, exports, __webpack_require__) { @@ -133496,19 +133968,19 @@ var _reactRouterRedux = __webpack_require__(236); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); var _AppActions = __webpack_require__(421); - var _Window = __webpack_require__(771); + var _Window = __webpack_require__(484); var _Window2 = _interopRequireDefault(_Window); - var _BlankPage = __webpack_require__(578); + var _BlankPage = __webpack_require__(599); var _BlankPage2 = _interopRequireDefault(_BlankPage); - var _Modal = __webpack_require__(770); + var _Modal = __webpack_require__(483); var _Modal2 = _interopRequireDefault(_Modal); @@ -133516,11 +133988,11 @@ var _RawModal2 = _interopRequireDefault(_RawModal); - var _DocumentList = __webpack_require__(574); + var _DocumentList = __webpack_require__(595); var _DocumentList2 = _interopRequireDefault(_DocumentList); - var _Container = __webpack_require__(483); + var _Container = __webpack_require__(578); var _Container2 = _interopRequireDefault(_Container); @@ -133713,7 +134185,10 @@ modal = _props3.modal, rawModal = _props3.rawModal, selected = _props3.selected, - indicator = _props3.indicator; + indicator = _props3.indicator, + selectedWindowType = _props3.selectedWindowType, + includedView = _props3.includedView, + processStatus = _props3.processStatus; var _state = this.state, newRow = _state.newRow, modalTitle = _state.modalTitle; @@ -133757,13 +134232,28 @@ key: 'rawModal', modalTitle: modalTitle }, - _react2.default.createElement(_DocumentList2.default, { - type: 'grid', - windowType: rawModal.type, - defaultViewId: rawModal.viewId, - selected: selected, - setModalTitle: this.setModalTitle - }) + _react2.default.createElement( + _DocumentList2.default, + { + type: 'grid', + windowType: rawModal.type, + defaultViewId: rawModal.viewId, + selected: selected, + selectedWindowType: selectedWindowType, + isModal: true, + setModalTitle: this.setModalTitle, + processStatus: processStatus, + includedView: includedView, + inBackground: includedView.windowType && includedView.viewId + }, + _react2.default.createElement(_DocumentList2.default, { + type: 'includedView', + selected: selected, + windowType: includedView.windowType, + defaultViewId: includedView.viewId, + isIncluded: true + }) + ) )); } @@ -133847,25 +134337,39 @@ function mapStateToProps(state) { var windowHandler = state.windowHandler, - menuHandler = state.menuHandler; + menuHandler = state.menuHandler, + listHandler = state.listHandler, + appHandler = state.appHandler; var _ref = windowHandler || { master: {}, modal: false, rawModal: {}, selected: [], + selectedWindowType: null, indicator: '' }, master = _ref.master, modal = _ref.modal, rawModal = _ref.rawModal, selected = _ref.selected, + selectedWindowType = _ref.selectedWindowType, indicator = _ref.indicator; - var _ref2 = menuHandler || { + var _ref2 = listHandler || { + includedView: {} + }, + includedView = _ref2.includedView; + + var _ref3 = appHandler || { + processStatus: '' + }, + processStatus = _ref3.processStatus; + + var _ref4 = menuHandler || { breadcrumb: [] }, - breadcrumb = _ref2.breadcrumb; + breadcrumb = _ref4.breadcrumb; return { master: master, @@ -133873,7 +134377,10 @@ modal: modal, selected: selected, rawModal: rawModal, - indicator: indicator + indicator: indicator, + selectedWindowType: selectedWindowType, + includedView: includedView, + processStatus: processStatus }; } @@ -133923,11 +134430,11 @@ var _reactRedux = __webpack_require__(171); - var _Indicator = __webpack_require__(597); + var _Indicator = __webpack_require__(576); var _Indicator2 = _interopRequireDefault(_Indicator); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -134130,15 +134637,15 @@ var _reactRedux = __webpack_require__(171); - var _DocumentList = __webpack_require__(574); + var _DocumentList = __webpack_require__(595); var _DocumentList2 = _interopRequireDefault(_DocumentList); - var _Container = __webpack_require__(483); + var _Container = __webpack_require__(578); var _Container2 = _interopRequireDefault(_Container); - var _Modal = __webpack_require__(770); + var _Modal = __webpack_require__(483); var _Modal2 = _interopRequireDefault(_Modal); @@ -134146,11 +134653,11 @@ var _RawModal2 = _interopRequireDefault(_RawModal); - var _MenuActions = __webpack_require__(495); + var _MenuActions = __webpack_require__(488); var _AppActions = __webpack_require__(421); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -134301,8 +134808,9 @@ modalTitle: modalTitle }, _react2.default.createElement( - _DocumentList2.default, - { + 'div', + { className: 'document-lists-wrapper' }, + _react2.default.createElement(_DocumentList2.default, { type: 'grid', windowType: rawModal.type, defaultViewId: rawModal.viewId, @@ -134313,10 +134821,11 @@ processStatus: processStatus, includedView: includedView, inBackground: includedView.windowType && includedView.viewId - }, - _react2.default.createElement(_DocumentList2.default, { + }), + includedView.windowType && includedView.viewId && _react2.default.createElement(_DocumentList2.default, { type: 'includedView', selected: selected, + selectedWindowType: selectedWindowType, windowType: includedView.windowType, defaultViewId: includedView.viewId, isIncluded: true @@ -134451,11 +134960,11 @@ var _reactRedux = __webpack_require__(171); - var _Container = __webpack_require__(483); + var _Container = __webpack_require__(578); var _Container2 = _interopRequireDefault(_Container); - var _Inbox = __webpack_require__(598); + var _Inbox = __webpack_require__(606); var _Inbox2 = _interopRequireDefault(_Inbox); @@ -134560,27 +135069,27 @@ var _reactRedux = __webpack_require__(171); - var _MenuOverlayContainer = __webpack_require__(493); + var _MenuOverlayContainer = __webpack_require__(585); var _MenuOverlayContainer2 = _interopRequireDefault(_MenuOverlayContainer); var _reactRouterRedux = __webpack_require__(236); - var _reactDebounceInput = __webpack_require__(496); + var _reactDebounceInput = __webpack_require__(587); var _reactDebounceInput2 = _interopRequireDefault(_reactDebounceInput); - var _Container = __webpack_require__(483); + var _Container = __webpack_require__(578); var _Container2 = _interopRequireDefault(_Container); - var _Modal = __webpack_require__(770); + var _Modal = __webpack_require__(483); var _Modal2 = _interopRequireDefault(_Modal); - var _MenuActions = __webpack_require__(495); + var _MenuActions = __webpack_require__(488); - var _WindowActions = __webpack_require__(503); + var _WindowActions = __webpack_require__(487); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -135292,7 +135801,7 @@ // module - exports.push([module.id, "/*!\n * Bootstrap v4.0.0-alpha.5 (https://getbootstrap.com)\n * Copyright 2011-2016 The Bootstrap Authors\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n *//*! normalize.css v4.2.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary{display:block}audio, canvas, progress, video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden], template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active, a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b, strong{font-weight:inherit}b, strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub, sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code, kbd, pre, samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button, input, optgroup, select, textarea{font:inherit;margin:0}optgroup{font-weight:700}button, input{overflow:visible}button, select{text-transform:none}[type=reset], [type=submit], button, html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox], [type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}@media print{*, ::after, ::before, ::first-letter, blockquote::first-line, div::first-line, li::first-line, p::first-line{text-shadow:none!important;box-shadow:none!important}a, a:visited{text-decoration:underline}abbr[title]::after{content:\" (\" attr(title) \")\"}pre{white-space:pre-wrap!important}blockquote, pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img, tr{page-break-inside:avoid}h2, h3, p{orphans:3;widows:3}h2, h3{page-break-after:avoid}.navbar{display:none}.btn>.caret, .dropup>.btn>.caret{border-top-color:#000!important}.tag{border:1px solid #000}.table{border-collapse:collapse!important}.table td, .table th{background-color:#fff!important}.table-bordered td, .table-bordered th{border:1px solid #ddd!important}}html{box-sizing:border-box}*, ::after, ::before{box-sizing:inherit}@-ms-viewport{width:device-width}html{font-size:16px;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;font-size:1rem;line-height:1.5;color:#373a3c;background-color:#fff}[tabindex=\"-1\"]:focus{outline:0!important}h1, h2, h3, h4, h5, h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title], abbr[title]{cursor:help;border-bottom:1px dotted #818a91}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl, ol, ul{margin-top:0;margin-bottom:1rem}ol ol, ol ul, ul ol, ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}a{color:#0275d8;text-decoration:none}a:focus, a:hover{color:#014c8c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle}[role=button]{cursor:pointer}[role=button], a, area, button, input, label, select, summary, textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse;background-color:transparent}caption{padding-top:.75rem;padding-bottom:.75rem;color:#818a91;text-align:left;caption-side:bottom}th{text-align:left}label{display:inline-block;margin-bottom:.5rem}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button, input, select, textarea{line-height:inherit}input[type=checkbox]:disabled, input[type=radio]:disabled{cursor:not-allowed}input[type=date], input[type=time], input[type=datetime-local], input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit}input[type=search]{-webkit-appearance:none}output{display:inline-block}[hidden]{display:none!important}.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1, h1{font-size:2.5rem}.h2, h2{font-size:2rem}.h3, h3{font-size:1.75rem}.h4, h4{font-size:1.5rem}.h5, h5{font-size:1.25rem}.h6, h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300}.display-2{font-size:5.5rem;font-weight:300}.display-3{font-size:4.5rem;font-weight:300}.display-4{font-size:3.5rem;font-weight:300}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small, small{font-size:80%;font-weight:400}.mark, mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:5px}.initialism{font-size:90%;text-transform:uppercase}.blockquote{padding:.5rem 1rem;margin-bottom:1rem;font-size:1.25rem;border-left:.25rem solid #eceeef}.blockquote-footer{display:block;font-size:80%;color:#818a91}.blockquote-footer::before{content:\"\\2014 \\A0\"}.blockquote-reverse{padding-right:1rem;padding-left:0;text-align:right;border-right:.25rem solid #eceeef;border-left:0}.blockquote-reverse .blockquote-footer::before{content:\"\"}.blockquote-reverse .blockquote-footer::after{content:\"\\A0 \\2014\"}dl.row>dd+dt{clear:left}.carousel-inner>.carousel-item>a>img, .carousel-inner>.carousel-item>img, .img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #ddd;border-radius:.25rem;transition:all .2s ease-in-out;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#818a91}code, kbd, pre, samp{font-family:Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace}code{padding:.2rem .4rem;font-size:90%;color:#bd4147;background-color:#f7f7f9;border-radius:.25rem}kbd{padding:.2rem .4rem;font-size:90%;color:#fff;background-color:#333;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;margin-top:0;margin-bottom:1rem;font-size:90%;color:#373a3c}pre code{padding:0;font-size:inherit;color:inherit;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}.container::after{content:\"\";display:table;clear:both}@media (min-width:576px){.container{width:540px;max-width:100%}}@media (min-width:768px){.container{width:720px;max-width:100%}}@media (min-width:992px){.container{width:960px;max-width:100%}}@media (min-width:1200px){.container{width:1140px;max-width:100%}}.container-fluid{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}.container-fluid::after{content:\"\";display:table;clear:both}.row{margin-right:-15px;margin-left:-15px}.row::after{content:\"\";display:table;clear:both}@media (min-width:576px){.row{margin-right:-15px;margin-left:-15px}}@media (min-width:768px){.row{margin-right:-15px;margin-left:-15px}}@media (min-width:992px){.row{margin-right:-15px;margin-left:-15px}}@media (min-width:1200px){.row{margin-right:-15px;margin-left:-15px}}.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}@media (min-width:576px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}@media (min-width:768px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}@media (min-width:992px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}@media (min-width:1200px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}.col-xs-1{float:left;width:8.333333%}.col-xs-2{float:left;width:16.666667%}.col-xs-3{float:left;width:25%}.col-xs-4{float:left;width:33.333333%}.col-xs-5{float:left;width:41.666667%}.col-xs-6{float:left;width:50%}.col-xs-7{float:left;width:58.333333%}.col-xs-8{float:left;width:66.666667%}.col-xs-9{float:left;width:75%}.col-xs-10{float:left;width:83.333333%}.col-xs-11{float:left;width:91.666667%}.col-xs-12{float:left;width:100%}.pull-xs-0{right:auto}.pull-xs-1{right:8.333333%}.pull-xs-2{right:16.666667%}.pull-xs-3{right:25%}.pull-xs-4{right:33.333333%}.pull-xs-5{right:41.666667%}.pull-xs-6{right:50%}.pull-xs-7{right:58.333333%}.pull-xs-8{right:66.666667%}.pull-xs-9{right:75%}.pull-xs-10{right:83.333333%}.pull-xs-11{right:91.666667%}.pull-xs-12{right:100%}.push-xs-0{left:auto}.push-xs-1{left:8.333333%}.push-xs-2{left:16.666667%}.push-xs-3{left:25%}.push-xs-4{left:33.333333%}.push-xs-5{left:41.666667%}.push-xs-6{left:50%}.push-xs-7{left:58.333333%}.push-xs-8{left:66.666667%}.push-xs-9{left:75%}.push-xs-10{left:83.333333%}.push-xs-11{left:91.666667%}.push-xs-12{left:100%}.offset-xs-1{margin-left:8.333333%}.offset-xs-2{margin-left:16.666667%}.offset-xs-3{margin-left:25%}.offset-xs-4{margin-left:33.333333%}.offset-xs-5{margin-left:41.666667%}.offset-xs-6{margin-left:50%}.offset-xs-7{margin-left:58.333333%}.offset-xs-8{margin-left:66.666667%}.offset-xs-9{margin-left:75%}.offset-xs-10{margin-left:83.333333%}.offset-xs-11{margin-left:91.666667%}@media (min-width:576px){.col-sm-1{float:left;width:8.333333%}.col-sm-2{float:left;width:16.666667%}.col-sm-3{float:left;width:25%}.col-sm-4{float:left;width:33.333333%}.col-sm-5{float:left;width:41.666667%}.col-sm-6{float:left;width:50%}.col-sm-7{float:left;width:58.333333%}.col-sm-8{float:left;width:66.666667%}.col-sm-9{float:left;width:75%}.col-sm-10{float:left;width:83.333333%}.col-sm-11{float:left;width:91.666667%}.col-sm-12{float:left;width:100%}.pull-sm-0{right:auto}.pull-sm-1{right:8.333333%}.pull-sm-2{right:16.666667%}.pull-sm-3{right:25%}.pull-sm-4{right:33.333333%}.pull-sm-5{right:41.666667%}.pull-sm-6{right:50%}.pull-sm-7{right:58.333333%}.pull-sm-8{right:66.666667%}.pull-sm-9{right:75%}.pull-sm-10{right:83.333333%}.pull-sm-11{right:91.666667%}.pull-sm-12{right:100%}.push-sm-0{left:auto}.push-sm-1{left:8.333333%}.push-sm-2{left:16.666667%}.push-sm-3{left:25%}.push-sm-4{left:33.333333%}.push-sm-5{left:41.666667%}.push-sm-6{left:50%}.push-sm-7{left:58.333333%}.push-sm-8{left:66.666667%}.push-sm-9{left:75%}.push-sm-10{left:83.333333%}.push-sm-11{left:91.666667%}.push-sm-12{left:100%}.offset-sm-0{margin-left:0%}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md-1{float:left;width:8.333333%}.col-md-2{float:left;width:16.666667%}.col-md-3{float:left;width:25%}.col-md-4{float:left;width:33.333333%}.col-md-5{float:left;width:41.666667%}.col-md-6{float:left;width:50%}.col-md-7{float:left;width:58.333333%}.col-md-8{float:left;width:66.666667%}.col-md-9{float:left;width:75%}.col-md-10{float:left;width:83.333333%}.col-md-11{float:left;width:91.666667%}.col-md-12{float:left;width:100%}.pull-md-0{right:auto}.pull-md-1{right:8.333333%}.pull-md-2{right:16.666667%}.pull-md-3{right:25%}.pull-md-4{right:33.333333%}.pull-md-5{right:41.666667%}.pull-md-6{right:50%}.pull-md-7{right:58.333333%}.pull-md-8{right:66.666667%}.pull-md-9{right:75%}.pull-md-10{right:83.333333%}.pull-md-11{right:91.666667%}.pull-md-12{right:100%}.push-md-0{left:auto}.push-md-1{left:8.333333%}.push-md-2{left:16.666667%}.push-md-3{left:25%}.push-md-4{left:33.333333%}.push-md-5{left:41.666667%}.push-md-6{left:50%}.push-md-7{left:58.333333%}.push-md-8{left:66.666667%}.push-md-9{left:75%}.push-md-10{left:83.333333%}.push-md-11{left:91.666667%}.push-md-12{left:100%}.offset-md-0{margin-left:0%}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg-1{float:left;width:8.333333%}.col-lg-2{float:left;width:16.666667%}.col-lg-3{float:left;width:25%}.col-lg-4{float:left;width:33.333333%}.col-lg-5{float:left;width:41.666667%}.col-lg-6{float:left;width:50%}.col-lg-7{float:left;width:58.333333%}.col-lg-8{float:left;width:66.666667%}.col-lg-9{float:left;width:75%}.col-lg-10{float:left;width:83.333333%}.col-lg-11{float:left;width:91.666667%}.col-lg-12{float:left;width:100%}.pull-lg-0{right:auto}.pull-lg-1{right:8.333333%}.pull-lg-2{right:16.666667%}.pull-lg-3{right:25%}.pull-lg-4{right:33.333333%}.pull-lg-5{right:41.666667%}.pull-lg-6{right:50%}.pull-lg-7{right:58.333333%}.pull-lg-8{right:66.666667%}.pull-lg-9{right:75%}.pull-lg-10{right:83.333333%}.pull-lg-11{right:91.666667%}.pull-lg-12{right:100%}.push-lg-0{left:auto}.push-lg-1{left:8.333333%}.push-lg-2{left:16.666667%}.push-lg-3{left:25%}.push-lg-4{left:33.333333%}.push-lg-5{left:41.666667%}.push-lg-6{left:50%}.push-lg-7{left:58.333333%}.push-lg-8{left:66.666667%}.push-lg-9{left:75%}.push-lg-10{left:83.333333%}.push-lg-11{left:91.666667%}.push-lg-12{left:100%}.offset-lg-0{margin-left:0%}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl-1{float:left;width:8.333333%}.col-xl-2{float:left;width:16.666667%}.col-xl-3{float:left;width:25%}.col-xl-4{float:left;width:33.333333%}.col-xl-5{float:left;width:41.666667%}.col-xl-6{float:left;width:50%}.col-xl-7{float:left;width:58.333333%}.col-xl-8{float:left;width:66.666667%}.col-xl-9{float:left;width:75%}.col-xl-10{float:left;width:83.333333%}.col-xl-11{float:left;width:91.666667%}.col-xl-12{float:left;width:100%}.pull-xl-0{right:auto}.pull-xl-1{right:8.333333%}.pull-xl-2{right:16.666667%}.pull-xl-3{right:25%}.pull-xl-4{right:33.333333%}.pull-xl-5{right:41.666667%}.pull-xl-6{right:50%}.pull-xl-7{right:58.333333%}.pull-xl-8{right:66.666667%}.pull-xl-9{right:75%}.pull-xl-10{right:83.333333%}.pull-xl-11{right:91.666667%}.pull-xl-12{right:100%}.push-xl-0{left:auto}.push-xl-1{left:8.333333%}.push-xl-2{left:16.666667%}.push-xl-3{left:25%}.push-xl-4{left:33.333333%}.push-xl-5{left:41.666667%}.push-xl-6{left:50%}.push-xl-7{left:58.333333%}.push-xl-8{left:66.666667%}.push-xl-9{left:75%}.push-xl-10{left:83.333333%}.push-xl-11{left:91.666667%}.push-xl-12{left:100%}.offset-xl-0{margin-left:0%}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;max-width:100%;margin-bottom:1rem}.table td, .table th{padding:.75rem;vertical-align:top;border-top:1px solid #eceeef}.table thead th{vertical-align:bottom;border-bottom:2px solid #eceeef}.table tbody+tbody{border-top:2px solid #eceeef}.table .table{background-color:#fff}.table-sm td, .table-sm th{padding:.3rem}.table-bordered{border:1px solid #eceeef}.table-bordered td, .table-bordered th{border:1px solid #eceeef}.table-bordered thead td, .table-bordered thead th{border-bottom-width:2px}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}.table-active, .table-active>td, .table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td, .table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table-success, .table-success>td, .table-success>th{background-color:#dff0d8}.table-hover .table-success:hover{background-color:#d0e9c6}.table-hover .table-success:hover>td, .table-hover .table-success:hover>th{background-color:#d0e9c6}.table-info, .table-info>td, .table-info>th{background-color:#d9edf7}.table-hover .table-info:hover{background-color:#c4e3f3}.table-hover .table-info:hover>td, .table-hover .table-info:hover>th{background-color:#c4e3f3}.table-warning, .table-warning>td, .table-warning>th{background-color:#fcf8e3}.table-hover .table-warning:hover{background-color:#faf2cc}.table-hover .table-warning:hover>td, .table-hover .table-warning:hover>th{background-color:#faf2cc}.table-danger, .table-danger>td, .table-danger>th{background-color:#f2dede}.table-hover .table-danger:hover{background-color:#ebcccc}.table-hover .table-danger:hover>td, .table-hover .table-danger:hover>th{background-color:#ebcccc}.thead-inverse th{color:#fff;background-color:#373a3c}.thead-default th{color:#55595c;background-color:#eceeef}.table-inverse{color:#eceeef;background-color:#373a3c}.table-inverse td, .table-inverse th, .table-inverse thead th{border-color:#55595c}.table-inverse.table-bordered{border:0}.table-responsive{display:block;width:100%;min-height:0%;overflow-x:auto}.table-reflow thead{float:left}.table-reflow tbody{display:block;white-space:nowrap}.table-reflow td, .table-reflow th{border-top:1px solid #eceeef;border-left:1px solid #eceeef}.table-reflow td:last-child, .table-reflow th:last-child{border-right:1px solid #eceeef}.table-reflow tbody:last-child tr:last-child td, .table-reflow tbody:last-child tr:last-child th, .table-reflow tfoot:last-child tr:last-child td, .table-reflow tfoot:last-child tr:last-child th, .table-reflow thead:last-child tr:last-child td, .table-reflow thead:last-child tr:last-child th{border-bottom:1px solid #eceeef}.table-reflow tr{float:left}.table-reflow tr td, .table-reflow tr th{display:block!important;border:1px solid #eceeef}.form-control{display:block;width:100%;padding:.5rem .75rem;font-size:1rem;line-height:1.25;color:#55595c;background-color:#fff;background-image:none;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{color:#55595c;background-color:#fff;border-color:#66afe9;outline:0}.form-control::-webkit-input-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999;opacity:1}.form-control::placeholder{color:#999;opacity:1}.form-control:disabled, .form-control[readonly]{background-color:#eceeef;opacity:1}.form-control:disabled{cursor:not-allowed}select.form-control:not([size]):not([multiple]){height:calc(2.5rem - 2px)}select.form-control:focus::-ms-value{color:#55595c;background-color:#fff}.form-control-file, .form-control-range{display:block}.col-form-label{padding-top:.5rem;padding-bottom:.5rem;margin-bottom:0}.col-form-label-lg{padding-top:.75rem;padding-bottom:.75rem;font-size:1.25rem}.col-form-label-sm{padding-top:.25rem;padding-bottom:.25rem;font-size:.875rem}.col-form-legend{padding-top:.5rem;padding-bottom:.5rem;margin-bottom:0;font-size:1rem}.form-control-static{padding-top:.5rem;padding-bottom:.5rem;line-height:1.25;border:solid transparent;border-width:1px 0}.form-control-static.form-control-lg, .form-control-static.form-control-sm, .input-group-lg>.form-control-static.form-control, .input-group-lg>.form-control-static.input-group-addon, .input-group-lg>.input-group-btn>.form-control-static.btn, .input-group-sm>.form-control-static.form-control, .input-group-sm>.form-control-static.input-group-addon, .input-group-sm>.input-group-btn>.form-control-static.btn{padding-right:0;padding-left:0}.form-control-sm, .input-group-sm>.form-control, .input-group-sm>.input-group-addon, .input-group-sm>.input-group-btn>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-sm>.input-group-btn>select.btn:not([size]):not([multiple]), .input-group-sm>select.form-control:not([size]):not([multiple]), .input-group-sm>select.input-group-addon:not([size]):not([multiple]), select.form-control-sm:not([size]):not([multiple]){height:1.8125rem}.form-control-lg, .input-group-lg>.form-control, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-lg>.input-group-btn>select.btn:not([size]):not([multiple]), .input-group-lg>select.form-control:not([size]):not([multiple]), .input-group-lg>select.input-group-addon:not([size]):not([multiple]), select.form-control-lg:not([size]):not([multiple]){height:3.166667rem}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-check{position:relative;display:block;margin-bottom:.75rem}.form-check+.form-check{margin-top:-.25rem}.form-check.disabled .form-check-label{color:#818a91;cursor:not-allowed}.form-check-label{padding-left:1.25rem;margin-bottom:0;cursor:pointer}.form-check-input{position:absolute;margin-top:.25rem;margin-left:-1.25rem}.form-check-input:only-child{position:static}.form-check-inline{position:relative;display:inline-block;padding-left:1.25rem;margin-bottom:0;vertical-align:middle;cursor:pointer}.form-check-inline+.form-check-inline{margin-left:.75rem}.form-check-inline.disabled{color:#818a91;cursor:not-allowed}.form-control-feedback{margin-top:.25rem}.form-control-danger, .form-control-success, .form-control-warning{padding-right:2.25rem;background-repeat:no-repeat;background-position:center right .625rem;background-size:1.25rem 1.25rem}.has-success .custom-control, .has-success .form-check-inline, .has-success .form-check-label, .has-success .form-control-feedback, .has-success .form-control-label{color:#5cb85c}.has-success .form-control{border-color:#5cb85c}.has-success .form-control:focus{box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #a3d7a3}.has-success .input-group-addon{color:#5cb85c;border-color:#5cb85c;background-color:#eaf6ea}.has-success .form-control-success{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#5cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E\")}.has-warning .custom-control, .has-warning .form-check-inline, .has-warning .form-check-label, .has-warning .form-control-feedback, .has-warning .form-control-label{color:#f0ad4e}.has-warning .form-control{border-color:#f0ad4e}.has-warning .form-control:focus{box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f8d9ac}.has-warning .input-group-addon{color:#f0ad4e;border-color:#f0ad4e;background-color:#fff}.has-warning .form-control-warning{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E\")}.has-danger .custom-control, .has-danger .form-check-inline, .has-danger .form-check-label, .has-danger .form-control-feedback, .has-danger .form-control-label{color:#d9534f}.has-danger .form-control{border-color:#d9534f}.has-danger .form-control:focus{box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eba5a3}.has-danger .input-group-addon{color:#d9534f;border-color:#d9534f;background-color:#fdf7f7}.has-danger .form-control-danger{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E\")}@media (min-width:576px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;width:auto;vertical-align:middle}.form-inline .input-group .form-control, .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .form-control-label{margin-bottom:0;vertical-align:middle}.form-inline .form-check{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .form-check-label{padding-left:0}.form-inline .form-check-input{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.btn{display:inline-block;font-weight:400;line-height:1.25;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.5rem 1rem;font-size:1rem;border-radius:.25rem}.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:focus, .btn:hover{text-decoration:none}.btn.focus{text-decoration:none}.btn.active, .btn:active{background-image:none;outline:0}.btn.disabled, .btn:disabled{cursor:not-allowed;opacity:.65}a.btn.disabled, fieldset[disabled] a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-primary:hover{color:#fff;background-color:#025aa5;border-color:#01549b}.btn-primary.focus, .btn-primary:focus{color:#fff;background-color:#025aa5;border-color:#01549b}.btn-primary.active, .btn-primary:active, .open>.btn-primary.dropdown-toggle{color:#fff;background-color:#025aa5;border-color:#01549b;background-image:none}.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.btn-primary.dropdown-toggle.focus, .open>.btn-primary.dropdown-toggle:focus, .open>.btn-primary.dropdown-toggle:hover{color:#fff;background-color:#014682;border-color:#01315a}.btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary:disabled.focus, .btn-primary:disabled:focus{background-color:#0275d8;border-color:#0275d8}.btn-primary.disabled:hover, .btn-primary:disabled:hover{background-color:#0275d8;border-color:#0275d8}.btn-secondary{color:#373a3c;background-color:#fff;border-color:#ccc}.btn-secondary:hover{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.btn-secondary.focus, .btn-secondary:focus{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.btn-secondary.active, .btn-secondary:active, .open>.btn-secondary.dropdown-toggle{color:#373a3c;background-color:#e6e6e6;border-color:#adadad;background-image:none}.btn-secondary.active.focus, .btn-secondary.active:focus, .btn-secondary.active:hover, .btn-secondary:active.focus, .btn-secondary:active:focus, .btn-secondary:active:hover, .open>.btn-secondary.dropdown-toggle.focus, .open>.btn-secondary.dropdown-toggle:focus, .open>.btn-secondary.dropdown-toggle:hover{color:#373a3c;background-color:#d4d4d4;border-color:#8c8c8c}.btn-secondary.disabled.focus, .btn-secondary.disabled:focus, .btn-secondary:disabled.focus, .btn-secondary:disabled:focus{background-color:#fff;border-color:#ccc}.btn-secondary.disabled:hover, .btn-secondary:disabled:hover{background-color:#fff;border-color:#ccc}.btn-info{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#2aabd2}.btn-info.focus, .btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#2aabd2}.btn-info.active, .btn-info:active, .open>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;border-color:#2aabd2;background-image:none}.btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover, .open>.btn-info.dropdown-toggle.focus, .open>.btn-info.dropdown-toggle:focus, .open>.btn-info.dropdown-toggle:hover{color:#fff;background-color:#269abc;border-color:#1f7e9a}.btn-info.disabled.focus, .btn-info.disabled:focus, .btn-info:disabled.focus, .btn-info:disabled:focus{background-color:#5bc0de;border-color:#5bc0de}.btn-info.disabled:hover, .btn-info:disabled:hover{background-color:#5bc0de;border-color:#5bc0de}.btn-success{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#419641}.btn-success.focus, .btn-success:focus{color:#fff;background-color:#449d44;border-color:#419641}.btn-success.active, .btn-success:active, .open>.btn-success.dropdown-toggle{color:#fff;background-color:#449d44;border-color:#419641;background-image:none}.btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:focus, .btn-success:active:hover, .open>.btn-success.dropdown-toggle.focus, .open>.btn-success.dropdown-toggle:focus, .open>.btn-success.dropdown-toggle:hover{color:#fff;background-color:#398439;border-color:#2d672d}.btn-success.disabled.focus, .btn-success.disabled:focus, .btn-success:disabled.focus, .btn-success:disabled:focus{background-color:#5cb85c;border-color:#5cb85c}.btn-success.disabled:hover, .btn-success:disabled:hover{background-color:#5cb85c;border-color:#5cb85c}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#eb9316}.btn-warning.focus, .btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#eb9316}.btn-warning.active, .btn-warning:active, .open>.btn-warning.dropdown-toggle{color:#fff;background-color:#ec971f;border-color:#eb9316;background-image:none}.btn-warning.active.focus, .btn-warning.active:focus, .btn-warning.active:hover, .btn-warning:active.focus, .btn-warning:active:focus, .btn-warning:active:hover, .open>.btn-warning.dropdown-toggle.focus, .open>.btn-warning.dropdown-toggle:focus, .open>.btn-warning.dropdown-toggle:hover{color:#fff;background-color:#d58512;border-color:#b06d0f}.btn-warning.disabled.focus, .btn-warning.disabled:focus, .btn-warning:disabled.focus, .btn-warning:disabled:focus{background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning.disabled:hover, .btn-warning:disabled:hover{background-color:#f0ad4e;border-color:#f0ad4e}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#c12e2a}.btn-danger.focus, .btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#c12e2a}.btn-danger.active, .btn-danger:active, .open>.btn-danger.dropdown-toggle{color:#fff;background-color:#c9302c;border-color:#c12e2a;background-image:none}.btn-danger.active.focus, .btn-danger.active:focus, .btn-danger.active:hover, .btn-danger:active.focus, .btn-danger:active:focus, .btn-danger:active:hover, .open>.btn-danger.dropdown-toggle.focus, .open>.btn-danger.dropdown-toggle:focus, .open>.btn-danger.dropdown-toggle:hover{color:#fff;background-color:#ac2925;border-color:#8b211e}.btn-danger.disabled.focus, .btn-danger.disabled:focus, .btn-danger:disabled.focus, .btn-danger:disabled:focus{background-color:#d9534f;border-color:#d9534f}.btn-danger.disabled:hover, .btn-danger:disabled:hover{background-color:#d9534f;border-color:#d9534f}.btn-outline-primary{color:#0275d8;background-image:none;background-color:transparent;border-color:#0275d8}.btn-outline-primary:hover{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.focus, .btn-outline-primary:focus{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.active, .btn-outline-primary:active, .open>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.active.focus, .btn-outline-primary.active:focus, .btn-outline-primary.active:hover, .btn-outline-primary:active.focus, .btn-outline-primary:active:focus, .btn-outline-primary:active:hover, .open>.btn-outline-primary.dropdown-toggle.focus, .open>.btn-outline-primary.dropdown-toggle:focus, .open>.btn-outline-primary.dropdown-toggle:hover{color:#fff;background-color:#014682;border-color:#01315a}.btn-outline-primary.disabled.focus, .btn-outline-primary.disabled:focus, .btn-outline-primary:disabled.focus, .btn-outline-primary:disabled:focus{border-color:#43a7fd}.btn-outline-primary.disabled:hover, .btn-outline-primary:disabled:hover{border-color:#43a7fd}.btn-outline-secondary{color:#ccc;background-image:none;background-color:transparent;border-color:#ccc}.btn-outline-secondary:hover{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.focus, .btn-outline-secondary:focus{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.active, .btn-outline-secondary:active, .open>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.active.focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.active:hover, .btn-outline-secondary:active.focus, .btn-outline-secondary:active:focus, .btn-outline-secondary:active:hover, .open>.btn-outline-secondary.dropdown-toggle.focus, .open>.btn-outline-secondary.dropdown-toggle:focus, .open>.btn-outline-secondary.dropdown-toggle:hover{color:#fff;background-color:#a1a1a1;border-color:#8c8c8c}.btn-outline-secondary.disabled.focus, .btn-outline-secondary.disabled:focus, .btn-outline-secondary:disabled.focus, .btn-outline-secondary:disabled:focus{border-color:#fff}.btn-outline-secondary.disabled:hover, .btn-outline-secondary:disabled:hover{border-color:#fff}.btn-outline-info{color:#5bc0de;background-image:none;background-color:transparent;border-color:#5bc0de}.btn-outline-info:hover{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.focus, .btn-outline-info:focus{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.active, .btn-outline-info:active, .open>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.active.focus, .btn-outline-info.active:focus, .btn-outline-info.active:hover, .btn-outline-info:active.focus, .btn-outline-info:active:focus, .btn-outline-info:active:hover, .open>.btn-outline-info.dropdown-toggle.focus, .open>.btn-outline-info.dropdown-toggle:focus, .open>.btn-outline-info.dropdown-toggle:hover{color:#fff;background-color:#269abc;border-color:#1f7e9a}.btn-outline-info.disabled.focus, .btn-outline-info.disabled:focus, .btn-outline-info:disabled.focus, .btn-outline-info:disabled:focus{border-color:#b0e1ef}.btn-outline-info.disabled:hover, .btn-outline-info:disabled:hover{border-color:#b0e1ef}.btn-outline-success{color:#5cb85c;background-image:none;background-color:transparent;border-color:#5cb85c}.btn-outline-success:hover{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.focus, .btn-outline-success:focus{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.active, .btn-outline-success:active, .open>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.active.focus, .btn-outline-success.active:focus, .btn-outline-success.active:hover, .btn-outline-success:active.focus, .btn-outline-success:active:focus, .btn-outline-success:active:hover, .open>.btn-outline-success.dropdown-toggle.focus, .open>.btn-outline-success.dropdown-toggle:focus, .open>.btn-outline-success.dropdown-toggle:hover{color:#fff;background-color:#398439;border-color:#2d672d}.btn-outline-success.disabled.focus, .btn-outline-success.disabled:focus, .btn-outline-success:disabled.focus, .btn-outline-success:disabled:focus{border-color:#a3d7a3}.btn-outline-success.disabled:hover, .btn-outline-success:disabled:hover{border-color:#a3d7a3}.btn-outline-warning{color:#f0ad4e;background-image:none;background-color:transparent;border-color:#f0ad4e}.btn-outline-warning:hover{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.focus, .btn-outline-warning:focus{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.active, .btn-outline-warning:active, .open>.btn-outline-warning.dropdown-toggle{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.active.focus, .btn-outline-warning.active:focus, .btn-outline-warning.active:hover, .btn-outline-warning:active.focus, .btn-outline-warning:active:focus, .btn-outline-warning:active:hover, .open>.btn-outline-warning.dropdown-toggle.focus, .open>.btn-outline-warning.dropdown-toggle:focus, .open>.btn-outline-warning.dropdown-toggle:hover{color:#fff;background-color:#d58512;border-color:#b06d0f}.btn-outline-warning.disabled.focus, .btn-outline-warning.disabled:focus, .btn-outline-warning:disabled.focus, .btn-outline-warning:disabled:focus{border-color:#f8d9ac}.btn-outline-warning.disabled:hover, .btn-outline-warning:disabled:hover{border-color:#f8d9ac}.btn-outline-danger{color:#d9534f;background-image:none;background-color:transparent;border-color:#d9534f}.btn-outline-danger:hover{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.focus, .btn-outline-danger:focus{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.active, .btn-outline-danger:active, .open>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.active.focus, .btn-outline-danger.active:focus, .btn-outline-danger.active:hover, .btn-outline-danger:active.focus, .btn-outline-danger:active:focus, .btn-outline-danger:active:hover, .open>.btn-outline-danger.dropdown-toggle.focus, .open>.btn-outline-danger.dropdown-toggle:focus, .open>.btn-outline-danger.dropdown-toggle:hover{color:#fff;background-color:#ac2925;border-color:#8b211e}.btn-outline-danger.disabled.focus, .btn-outline-danger.disabled:focus, .btn-outline-danger:disabled.focus, .btn-outline-danger:disabled:focus{border-color:#eba5a3}.btn-outline-danger.disabled:hover, .btn-outline-danger:disabled:hover{border-color:#eba5a3}.btn-link{font-weight:400;color:#0275d8;border-radius:0}.btn-link, .btn-link.active, .btn-link:active, .btn-link:disabled{background-color:transparent}.btn-link, .btn-link:active, .btn-link:focus{border-color:transparent}.btn-link:hover{border-color:transparent}.btn-link:focus, .btn-link:hover{color:#014c8c;text-decoration:underline;background-color:transparent}.btn-link:disabled:focus, .btn-link:disabled:hover{color:#818a91;text-decoration:none}.btn-group-lg>.btn, .btn-lg{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn, .btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block, input[type=reset].btn-block, input[type=submit].btn-block{width:100%}.fade{opacity:0;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;transition-timing-function:ease;transition-duration:.35s;transition-property:height}.dropdown, .dropup{position:relative}.dropdown-toggle::after{display:inline-block;width:0;height:0;margin-left:.3em;vertical-align:middle;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-left:.3em solid transparent}.dropdown-toggle:focus{outline:0}.dropup .dropdown-toggle::after{border-top:0;border-bottom:.3em solid}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#373a3c;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-divider{height:1px;margin:.5rem 0;overflow:hidden;background-color:#e5e5e5}.dropdown-item{display:block;width:100%;padding:3px 1.5rem;clear:both;font-weight:400;color:#373a3c;text-align:inherit;white-space:nowrap;background:0 0;border:0}.dropdown-item:focus, .dropdown-item:hover{color:#2b2d2f;text-decoration:none;background-color:#f5f5f5}.dropdown-item.active, .dropdown-item.active:focus, .dropdown-item.active:hover{color:#fff;text-decoration:none;background-color:#0275d8;outline:0}.dropdown-item.disabled, .dropdown-item.disabled:focus, .dropdown-item.disabled:hover{color:#818a91}.dropdown-item.disabled:focus, .dropdown-item.disabled:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#818a91;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.dropup .caret, .navbar-fixed-bottom .dropdown .caret{content:\"\";border-top:0;border-bottom:.3em solid}.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:.125rem}.btn-group, .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn, .btn-group>.btn{position:relative;float:left;margin-bottom:0}.btn-group-vertical>.btn.active, .btn-group-vertical>.btn:active, .btn-group-vertical>.btn:focus, .btn-group>.btn.active, .btn-group>.btn:active, .btn-group>.btn:focus{z-index:2}.btn-group-vertical>.btn:hover, .btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn, .btn-group .btn+.btn-group, .btn-group .btn-group+.btn, .btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-.5rem}.btn-toolbar::after{content:\"\";display:table;clear:both}.btn-toolbar .btn-group, .btn-toolbar .input-group{float:left}.btn-toolbar>.btn, .btn-toolbar>.btn-group, .btn-toolbar>.input-group{margin-left:.5rem}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child), .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child, .btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle{outline:0}.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn+.dropdown-toggle-split::after{margin-left:0}.btn-group-sm>.btn+.dropdown-toggle-split, .btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split, .btn-lg+.dropdown-toggle-split{padding-right:1.125rem;padding-left:1.125rem}.btn .caret{margin-left:0}.btn-group-lg>.btn .caret, .btn-lg .caret{border-width:.3em .3em 0;border-bottom-width:0}.dropup .btn-group-lg>.btn .caret, .dropup .btn-lg .caret{border-width:0 .3em .3em}.btn-group-vertical>.btn, .btn-group-vertical>.btn-group, .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group::after{content:\"\";display:table;clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn, .btn-group-vertical>.btn+.btn-group, .btn-group-vertical>.btn-group+.btn, .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child, .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}[data-toggle=buttons]>.btn input[type=checkbox], [data-toggle=buttons]>.btn input[type=radio], [data-toggle=buttons]>.btn-group>.btn input[type=checkbox], [data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;width:100%;display:table;border-collapse:separate}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:active, .input-group .form-control:focus, .input-group .form-control:hover{z-index:3}.input-group .form-control, .input-group-addon, .input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child), .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon, .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.25;color:#55595c;text-align:center;background-color:#eceeef;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.input-group-addon.form-control-sm, .input-group-sm>.input-group-addon, .input-group-sm>.input-group-btn>.input-group-addon.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-addon.form-control-lg, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.input-group-addon.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-addon input[type=checkbox], .input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:not(:last-child), .input-group-addon:not(:last-child), .input-group-btn:not(:first-child)>.btn-group:not(:last-child)>.btn, .input-group-btn:not(:first-child)>.btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:not(:last-child)>.btn, .input-group-btn:not(:last-child)>.btn-group>.btn, .input-group-btn:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:not(:last-child){border-right:0}.input-group .form-control:not(:first-child), .input-group-addon:not(:first-child), .input-group-btn:not(:first-child)>.btn, .input-group-btn:not(:first-child)>.btn-group>.btn, .input-group-btn:not(:first-child)>.dropdown-toggle, .input-group-btn:not(:last-child)>.btn-group:not(:first-child)>.btn, .input-group-btn:not(:last-child)>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.form-control+.input-group-addon:not(:first-child){border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active, .input-group-btn>.btn:focus, .input-group-btn>.btn:hover{z-index:3}.input-group-btn:not(:last-child)>.btn, .input-group-btn:not(:last-child)>.btn-group{margin-right:-1px}.input-group-btn:not(:first-child)>.btn, .input-group-btn:not(:first-child)>.btn-group{z-index:2;margin-left:-1px}.input-group-btn:not(:first-child)>.btn-group:active, .input-group-btn:not(:first-child)>.btn-group:focus, .input-group-btn:not(:first-child)>.btn-group:hover, .input-group-btn:not(:first-child)>.btn:active, .input-group-btn:not(:first-child)>.btn:focus, .input-group-btn:not(:first-child)>.btn:hover{z-index:3}.custom-control{position:relative;display:inline-block;padding-left:1.5rem;cursor:pointer}.custom-control+.custom-control{margin-left:1rem}.custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control-input:checked~.custom-control-indicator{color:#fff;background-color:#0074d9}.custom-control-input:focus~.custom-control-indicator{box-shadow:0 0 0 .075rem #fff,0 0 0 .2rem #0074d9}.custom-control-input:active~.custom-control-indicator{color:#fff;background-color:#84c6ff}.custom-control-input:disabled~.custom-control-indicator{cursor:not-allowed;background-color:#eee}.custom-control-input:disabled~.custom-control-description{color:#767676;cursor:not-allowed}.custom-control-indicator{position:absolute;top:.25rem;left:0;display:block;width:1rem;height:1rem;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ddd;background-repeat:no-repeat;background-position:center center;background-size:50% 50%}.custom-checkbox .custom-control-indicator{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-indicator{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E\")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-indicator{background-color:#0074d9;background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#fff' d='M0 2h4'/%3E%3C/svg%3E\")}.custom-radio .custom-control-indicator{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-indicator{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#fff'/%3E%3C/svg%3E\")}.custom-controls-stacked .custom-control{float:left;clear:left}.custom-controls-stacked .custom-control+.custom-control{margin-left:0}.custom-select{display:inline-block;max-width:100%;height:calc(2.5rem - 2px);padding:.375rem 1.75rem .375rem .75rem;padding-right:.75rem\\9;color:#55595c;vertical-align:middle;background:#fff url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E\") no-repeat right .75rem center;background-image:none\\9;background-size:8px 10px;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;-moz-appearance:none;-webkit-appearance:none}.custom-select:focus{border-color:#51a7e8;outline:0}.custom-select:focus::-ms-value{color:#55595c;background-color:#fff}.custom-select:disabled{color:#818a91;cursor:not-allowed;background-color:#eceeef}.custom-select::-ms-expand{opacity:0}.custom-select-sm{padding-top:.375rem;padding-bottom:.375rem;font-size:75%}.custom-file{position:relative;display:inline-block;max-width:100%;height:2.5rem;cursor:pointer}.custom-file-input{min-width:14rem;max-width:100%;margin:0;filter:alpha(opacity=0);opacity:0}.custom-file-control{position:absolute;top:0;right:0;left:0;z-index:5;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#555;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;border:1px solid #ddd;border-radius:.25rem}.custom-file-control:lang(en)::after{content:\"Choose file...\"}.custom-file-control::before{position:absolute;top:-1px;right:-1px;bottom:-1px;z-index:6;display:block;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#555;background-color:#eee;border:1px solid #ddd;border-radius:0 .25rem .25rem 0}.custom-file-control:lang(en)::before{content:\"Browse\"}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:inline-block}.nav-link:focus, .nav-link:hover{text-decoration:none}.nav-link.disabled{color:#818a91}.nav-link.disabled, .nav-link.disabled:focus, .nav-link.disabled:hover{color:#818a91;cursor:not-allowed;background-color:transparent}.nav-inline .nav-item{display:inline-block}.nav-inline .nav-item+.nav-item, .nav-inline .nav-link+.nav-link{margin-left:1rem}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs::after{content:\"\";display:table;clear:both}.nav-tabs .nav-item{float:left;margin-bottom:-1px}.nav-tabs .nav-item+.nav-item{margin-left:.2rem}.nav-tabs .nav-link{display:block;padding:.5em 1em;border:1px solid transparent;border-top-right-radius:.25rem;border-top-left-radius:.25rem}.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{border-color:#eceeef #eceeef #ddd}.nav-tabs .nav-link.disabled, .nav-tabs .nav-link.disabled:focus, .nav-tabs .nav-link.disabled:hover{color:#818a91;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.open .nav-link, .nav-tabs .nav-item.open .nav-link:focus, .nav-tabs .nav-item.open .nav-link:hover, .nav-tabs .nav-link.active, .nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover{color:#55595c;background-color:#fff;border-color:#ddd #ddd transparent}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.nav-pills::after{content:\"\";display:table;clear:both}.nav-pills .nav-item{float:left}.nav-pills .nav-item+.nav-item{margin-left:.2rem}.nav-pills .nav-link{display:block;padding:.5em 1em;border-radius:.25rem}.nav-pills .nav-item.open .nav-link, .nav-pills .nav-item.open .nav-link:focus, .nav-pills .nav-item.open .nav-link:hover, .nav-pills .nav-link.active, .nav-pills .nav-link.active:focus, .nav-pills .nav-link.active:hover{color:#fff;cursor:default;background-color:#0275d8}.nav-stacked .nav-item{display:block;float:none}.nav-stacked .nav-item+.nav-item{margin-top:.2rem;margin-left:0}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;padding:.5rem 1rem}.navbar::after{content:\"\";display:table;clear:both}@media (min-width:576px){.navbar{border-radius:.25rem}}.navbar-full{z-index:1000}@media (min-width:576px){.navbar-full{border-radius:0}}.navbar-fixed-bottom, .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:576px){.navbar-fixed-bottom, .navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar-sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1030;width:100%}@media (min-width:576px){.navbar-sticky-top{border-radius:0}}.navbar-brand{float:left;padding-top:.25rem;padding-bottom:.25rem;margin-right:1rem;font-size:1.25rem;line-height:inherit}.navbar-brand:focus, .navbar-brand:hover{text-decoration:none}.navbar-divider{float:left;width:1px;padding-top:.425rem;padding-bottom:.425rem;margin-right:1rem;margin-left:1rem;overflow:hidden}.navbar-divider::before{content:\"\\A0\"}.navbar-text{display:inline-block;padding-top:.425rem;padding-bottom:.425rem}.navbar-toggler{width:2.5em;height:2em;padding:.5rem .75rem;font-size:1.25rem;line-height:1;background:transparent no-repeat center center;background-size:24px 24px;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus, .navbar-toggler:hover{text-decoration:none}.navbar-toggleable-xs::after{content:\"\";display:table;clear:both}@media (max-width:575px){.navbar-toggleable-xs .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-xs .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-xs .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:576px){.navbar-toggleable-xs{display:block}}.navbar-toggleable-sm::after{content:\"\";display:table;clear:both}@media (max-width:767px){.navbar-toggleable-sm .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-sm .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-sm .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:768px){.navbar-toggleable-sm{display:block}}.navbar-toggleable-md::after{content:\"\";display:table;clear:both}@media (max-width:991px){.navbar-toggleable-md .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-md .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-md .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:992px){.navbar-toggleable-md{display:block}}.navbar-toggleable-lg::after{content:\"\";display:table;clear:both}@media (max-width:1199px){.navbar-toggleable-lg .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-lg .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-lg .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:1200px){.navbar-toggleable-lg{display:block}}.navbar-toggleable-xl{display:block}.navbar-toggleable-xl::after{content:\"\";display:table;clear:both}.navbar-toggleable-xl .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-xl .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-xl .navbar-nav .dropdown-menu{position:static;float:none}.navbar-nav .nav-item{float:left}.navbar-nav .nav-link{display:block;padding-top:.425rem;padding-bottom:.425rem}.navbar-nav .nav-link+.nav-link{margin-left:1rem}.navbar-nav .nav-item+.nav-item{margin-left:1rem}.navbar-light .navbar-brand, .navbar-light .navbar-toggler{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus, .navbar-light .navbar-brand:hover, .navbar-light .navbar-toggler:focus, .navbar-light .navbar-toggler:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .active>.nav-link:focus, .navbar-light .navbar-nav .active>.nav-link:hover, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.active:focus, .navbar-light .navbar-nav .nav-link.active:hover, .navbar-light .navbar-nav .nav-link.open, .navbar-light .navbar-nav .nav-link.open:focus, .navbar-light .navbar-nav .nav-link.open:hover, .navbar-light .navbar-nav .open>.nav-link, .navbar-light .navbar-nav .open>.nav-link:focus, .navbar-light .navbar-nav .open>.nav-link:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E\");border-color:rgba(0,0,0,.1)}.navbar-light .navbar-divider{background-color:rgba(0,0,0,.075)}.navbar-dark .navbar-brand, .navbar-dark .navbar-toggler{color:#fff}.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover, .navbar-dark .navbar-toggler:focus, .navbar-dark .navbar-toggler:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .active>.nav-link:focus, .navbar-dark .navbar-nav .active>.nav-link:hover, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.active:focus, .navbar-dark .navbar-nav .nav-link.active:hover, .navbar-dark .navbar-nav .nav-link.open, .navbar-dark .navbar-nav .nav-link.open:focus, .navbar-dark .navbar-nav .nav-link.open:hover, .navbar-dark .navbar-nav .open>.nav-link, .navbar-dark .navbar-nav .open>.nav-link:focus, .navbar-dark .navbar-nav .open>.nav-link:hover{color:#fff}.navbar-dark .navbar-toggler{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E\");border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-divider{background-color:rgba(255,255,255,.075)}.navbar-toggleable-xs::after{content:\"\";display:table;clear:both}@media (max-width:575px){.navbar-toggleable-xs .navbar-nav .nav-item{float:none;margin-left:0}}@media (min-width:576px){.navbar-toggleable-xs{display:block!important}}.navbar-toggleable-sm::after{content:\"\";display:table;clear:both}@media (max-width:767px){.navbar-toggleable-sm .navbar-nav .nav-item{float:none;margin-left:0}}@media (min-width:768px){.navbar-toggleable-sm{display:block!important}}.navbar-toggleable-md::after{content:\"\";display:table;clear:both}@media (max-width:991px){.navbar-toggleable-md .navbar-nav .nav-item{float:none;margin-left:0}}@media (min-width:992px){.navbar-toggleable-md{display:block!important}}.card{position:relative;display:block;margin-bottom:.75rem;background-color:#fff;border-radius:.25rem;border:1px solid rgba(0,0,0,.125)}.card-block{padding:1.25rem}.card-block::after{content:\"\";display:table;clear:both}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card>.list-group:first-child .list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:#f5f5f5;border-bottom:1px solid rgba(0,0,0,.125)}.card-header::after{content:\"\";display:table;clear:both}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:#f5f5f5;border-top:1px solid rgba(0,0,0,.125)}.card-footer::after{content:\"\";display:table;clear:both}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-primary{background-color:#0275d8;border-color:#0275d8}.card-primary .card-footer, .card-primary .card-header{background-color:transparent}.card-success{background-color:#5cb85c;border-color:#5cb85c}.card-success .card-footer, .card-success .card-header{background-color:transparent}.card-info{background-color:#5bc0de;border-color:#5bc0de}.card-info .card-footer, .card-info .card-header{background-color:transparent}.card-warning{background-color:#f0ad4e;border-color:#f0ad4e}.card-warning .card-footer, .card-warning .card-header{background-color:transparent}.card-danger{background-color:#d9534f;border-color:#d9534f}.card-danger .card-footer, .card-danger .card-header{background-color:transparent}.card-outline-primary{background-color:transparent;border-color:#0275d8}.card-outline-secondary{background-color:transparent;border-color:#ccc}.card-outline-info{background-color:transparent;border-color:#5bc0de}.card-outline-success{background-color:transparent;border-color:#5cb85c}.card-outline-warning{background-color:transparent;border-color:#f0ad4e}.card-outline-danger{background-color:transparent;border-color:#d9534f}.card-inverse .card-footer, .card-inverse .card-header{border-color:rgba(255,255,255,.2)}.card-inverse .card-blockquote, .card-inverse .card-footer, .card-inverse .card-header, .card-inverse .card-title{color:#fff}.card-inverse .card-blockquote .blockquote-footer, .card-inverse .card-link, .card-inverse .card-subtitle, .card-inverse .card-text{color:rgba(255,255,255,.65)}.card-inverse .card-link:focus, .card-inverse .card-link:hover{color:#fff}.card-blockquote{padding:0;margin-bottom:0;border-left:0}.card-img{border-radius:calc(.25rem - 1px)}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img-top{border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}@media (min-width:576px){.card-deck{display:table;width:100%;margin-bottom:.75rem;table-layout:fixed;border-spacing:1.25rem 0}.card-deck .card{display:table-cell;margin-bottom:0;vertical-align:top}.card-deck-wrapper{margin-right:-1.25rem;margin-left:-1.25rem}}@media (min-width:576px){.card-group{display:table;width:100%;table-layout:fixed}.card-group .card{display:table-cell;vertical-align:top}.card-group .card+.card{margin-left:0;border-left:0}.card-group .card:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.card-group .card:first-child .card-img-top{border-top-right-radius:0}.card-group .card:first-child .card-img-bottom{border-bottom-right-radius:0}.card-group .card:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.card-group .card:last-child .card-img-top{border-top-left-radius:0}.card-group .card:last-child .card-img-bottom{border-bottom-left-radius:0}.card-group .card:not(:first-child):not(:last-child){border-radius:0}.card-group .card:not(:first-child):not(:last-child) .card-img-bottom, .card-group .card:not(:first-child):not(:last-child) .card-img-top{border-radius:0}}@media (min-width:576px){.card-columns{column-count:3;column-gap:1.25rem}.card-columns .card{display:inline-block;width:100%}}.breadcrumb{padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#eceeef;border-radius:.25rem}.breadcrumb::after{content:\"\";display:table;clear:both}.breadcrumb-item{float:left}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;padding-left:.5rem;color:#818a91;content:\"/\"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#818a91}.pagination{display:inline-block;padding-left:0;margin-top:1rem;margin-bottom:1rem;border-radius:.25rem}.page-item{display:inline}.page-item:first-child .page-link{margin-left:0;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link, .page-item.active .page-link:focus, .page-item.active .page-link:hover{z-index:2;color:#fff;cursor:default;background-color:#0275d8;border-color:#0275d8}.page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover{color:#818a91;pointer-events:none;cursor:not-allowed;background-color:#fff;border-color:#ddd}.page-link{position:relative;float:left;padding:.5rem .75rem;margin-left:-1px;color:#0275d8;text-decoration:none;background-color:#fff;border:1px solid #ddd}.page-link:focus, .page-link:hover{color:#014c8c;background-color:#eceeef;border-color:#ddd}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{padding:.275rem .75rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.tag{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.tag:empty{display:none}.btn .tag{position:relative;top:-1px}a.tag:focus, a.tag:hover{color:#fff;text-decoration:none;cursor:pointer}.tag-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.tag-default{background-color:#818a91}.tag-default[href]:focus, .tag-default[href]:hover{background-color:#687077}.tag-primary{background-color:#0275d8}.tag-primary[href]:focus, .tag-primary[href]:hover{background-color:#025aa5}.tag-success{background-color:#5cb85c}.tag-success[href]:focus, .tag-success[href]:hover{background-color:#449d44}.tag-info{background-color:#5bc0de}.tag-info[href]:focus, .tag-info[href]:hover{background-color:#31b0d5}.tag-warning{background-color:#f0ad4e}.tag-warning[href]:focus, .tag-warning[href]:hover{background-color:#ec971f}.tag-danger{background-color:#d9534f}.tag-danger[href]:focus, .tag-danger[href]:hover{background-color:#c9302c}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#eceeef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-hr{border-top-color:#d0d5d8}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:2.5rem}.alert-dismissible .close{position:relative;top:-.125rem;right:-1.25rem;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d0e9c6;color:#3c763d}.alert-success hr{border-top-color:#c1e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bcdff1;color:#31708f}.alert-info hr{border-top-color:#a6d5ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faf2cc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7ecb5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebcccc;color:#a94442}.alert-danger hr{border-top-color:#e4b9b9}.alert-danger .alert-link{color:#843534}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:block;width:100%;height:1rem;margin-bottom:1rem}.progress[value]{background-color:#eee;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem}.progress[value]::-ms-fill{background-color:#0074d9;border:0}.progress[value]::-moz-progress-bar{background-color:#0074d9;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.progress[value]::-webkit-progress-value{background-color:#0074d9;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.progress[value=\"100\"]::-moz-progress-bar{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.progress[value=\"100\"]::-webkit-progress-value{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.progress[value]::-webkit-progress-bar{background-color:#eee;border-radius:.25rem}.progress[value], base::-moz-progress-bar{background-color:#eee;border-radius:.25rem}@media screen and (min-width:0\\0){.progress{background-color:#eee;border-radius:.25rem}.progress-bar{display:inline-block;height:1rem;text-indent:-999rem;background-color:#0074d9;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.progress[width=\"100%\"]{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}}.progress-striped[value]::-webkit-progress-value{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-striped[value]::-moz-progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-striped[value]::-ms-fill{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}@media screen and (min-width:0\\0){.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}}.progress-animated[value]::-webkit-progress-value{animation:progress-bar-stripes 2s linear infinite}.progress-animated[value]::-moz-progress-bar{animation:progress-bar-stripes 2s linear infinite}@media screen and (min-width:0\\0){.progress-animated .progress-bar-striped{animation:progress-bar-stripes 2s linear infinite}}.progress-success[value]::-webkit-progress-value{background-color:#5cb85c}.progress-success[value]::-moz-progress-bar{background-color:#5cb85c}.progress-success[value]::-ms-fill{background-color:#5cb85c}@media screen and (min-width:0\\0){.progress-success .progress-bar{background-color:#5cb85c}}.progress-info[value]::-webkit-progress-value{background-color:#5bc0de}.progress-info[value]::-moz-progress-bar{background-color:#5bc0de}.progress-info[value]::-ms-fill{background-color:#5bc0de}@media screen and (min-width:0\\0){.progress-info .progress-bar{background-color:#5bc0de}}.progress-warning[value]::-webkit-progress-value{background-color:#f0ad4e}.progress-warning[value]::-moz-progress-bar{background-color:#f0ad4e}.progress-warning[value]::-ms-fill{background-color:#f0ad4e}@media screen and (min-width:0\\0){.progress-warning .progress-bar{background-color:#f0ad4e}}.progress-danger[value]::-webkit-progress-value{background-color:#d9534f}.progress-danger[value]::-moz-progress-bar{background-color:#d9534f}.progress-danger[value]::-ms-fill{background-color:#d9534f}@media screen and (min-width:0\\0){.progress-danger .progress-bar{background-color:#d9534f}}.media, .media-body{overflow:hidden}.media-body{width:10000px}.media-body, .media-left, .media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right{padding-left:10px}.media-left{padding-right:10px}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:0}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item.disabled, .list-group-item.disabled:focus, .list-group-item.disabled:hover{color:#818a91;cursor:not-allowed;background-color:#eceeef}.list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text{color:#818a91}.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover{z-index:2;color:#fff;text-decoration:none;background-color:#0275d8;border-color:#0275d8}.list-group-item.active .list-group-item-heading, .list-group-item.active .list-group-item-heading>.small, .list-group-item.active .list-group-item-heading>small, .list-group-item.active:focus .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading>.small, .list-group-item.active:focus .list-group-item-heading>small, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading>.small, .list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text, .list-group-item.active:focus .list-group-item-text, .list-group-item.active:hover .list-group-item-text{color:#a8d6fe}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-item-action{width:100%;color:#555;text-align:inherit}.list-group-item-action .list-group-item-heading{color:#333}.list-group-item-action:focus, .list-group-item-action:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success, button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading, button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus, a.list-group-item-success:hover, button.list-group-item-success:focus, button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active, a.list-group-item-success.active:focus, a.list-group-item-success.active:hover, button.list-group-item-success.active, button.list-group-item-success.active:focus, button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info, button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading, button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus, a.list-group-item-info:hover, button.list-group-item-info:focus, button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active, a.list-group-item-info.active:focus, a.list-group-item-info.active:hover, button.list-group-item-info.active, button.list-group-item-info.active:focus, button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning, button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading, button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus, a.list-group-item-warning:hover, button.list-group-item-warning:focus, button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active, a.list-group-item-warning.active:focus, a.list-group-item-warning.active:hover, button.list-group-item-warning.active, button.list-group-item-warning.active:focus, button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger, button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading, button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus, a.list-group-item-danger:hover, button.list-group-item-danger:focus, button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active, a.list-group-item-danger.active:focus, a.list-group-item-danger.active:hover, button.list-group-item-danger.active, button.list-group-item-danger.active:focus, button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9{padding-bottom:42.857143%}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.embed-responsive-1by1{padding-bottom:100%}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2}.close:focus, .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;outline:0}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-25%)}.modal.in .modal-dialog{transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.in{opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header::after{content:\"\";display:table;clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.5}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer::after{content:\"\";display:table;clear:both}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:600px;margin:30px auto}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg{max-width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.in{opacity:.9}.tooltip.bs-tether-element-attached-bottom, .tooltip.tooltip-top{padding:5px 0;margin-top:-3px}.tooltip.bs-tether-element-attached-bottom .tooltip-inner::before, .tooltip.tooltip-top .tooltip-inner::before{bottom:0;left:50%;margin-left:-5px;content:\"\";border-width:5px 5px 0;border-top-color:#000}.tooltip.bs-tether-element-attached-left, .tooltip.tooltip-right{padding:0 5px;margin-left:3px}.tooltip.bs-tether-element-attached-left .tooltip-inner::before, .tooltip.tooltip-right .tooltip-inner::before{top:50%;left:0;margin-top:-5px;content:\"\";border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.bs-tether-element-attached-top, .tooltip.tooltip-bottom{padding:5px 0;margin-top:3px}.tooltip.bs-tether-element-attached-top .tooltip-inner::before, .tooltip.tooltip-bottom .tooltip-inner::before{top:0;left:50%;margin-left:-5px;content:\"\";border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bs-tether-element-attached-right, .tooltip.tooltip-left{padding:0 5px;margin-left:-3px}.tooltip.bs-tether-element-attached-right .tooltip-inner::before, .tooltip.tooltip-left .tooltip-inner::before{top:50%;right:0;margin-top:-5px;content:\"\";border-width:5px 0 5px 5px;border-left-color:#000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.tooltip-inner::before{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;padding:1px;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover.bs-tether-element-attached-bottom, .popover.popover-top{margin-top:-10px}.popover.bs-tether-element-attached-bottom::after, .popover.bs-tether-element-attached-bottom::before, .popover.popover-top::after, .popover.popover-top::before{left:50%;border-bottom-width:0}.popover.bs-tether-element-attached-bottom::before, .popover.popover-top::before{bottom:-11px;margin-left:-11px;border-top-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-bottom::after, .popover.popover-top::after{bottom:-10px;margin-left:-10px;border-top-color:#fff}.popover.bs-tether-element-attached-left, .popover.popover-right{margin-left:10px}.popover.bs-tether-element-attached-left::after, .popover.bs-tether-element-attached-left::before, .popover.popover-right::after, .popover.popover-right::before{top:50%;border-left-width:0}.popover.bs-tether-element-attached-left::before, .popover.popover-right::before{left:-11px;margin-top:-11px;border-right-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-left::after, .popover.popover-right::after{left:-10px;margin-top:-10px;border-right-color:#fff}.popover.bs-tether-element-attached-top, .popover.popover-bottom{margin-top:10px}.popover.bs-tether-element-attached-top::after, .popover.bs-tether-element-attached-top::before, .popover.popover-bottom::after, .popover.popover-bottom::before{left:50%;border-top-width:0}.popover.bs-tether-element-attached-top::before, .popover.popover-bottom::before{top:-11px;margin-left:-11px;border-bottom-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-top::after, .popover.popover-bottom::after{top:-10px;margin-left:-10px;border-bottom-color:#f7f7f7}.popover.bs-tether-element-attached-top .popover-title::before, .popover.popover-bottom .popover-title::before{position:absolute;top:0;left:50%;display:block;width:20px;margin-left:-10px;content:\"\";border-bottom:1px solid #f7f7f7}.popover.bs-tether-element-attached-right, .popover.popover-left{margin-left:-10px}.popover.bs-tether-element-attached-right::after, .popover.bs-tether-element-attached-right::before, .popover.popover-left::after, .popover.popover-left::before{top:50%;border-right-width:0}.popover.bs-tether-element-attached-right::before, .popover.popover-left::before{right:-11px;margin-top:-11px;border-left-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-right::after, .popover.popover-left::after{right:-10px;margin-top:-10px;border-left-color:#fff}.popover-title{padding:8px 14px;margin:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:.2375rem .2375rem 0 0}.popover-title:empty{display:none}.popover-content{padding:9px 14px}.popover::after, .popover::before{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover::before{content:\"\";border-width:11px}.popover::after{content:\"\";border-width:10px}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.carousel-item{position:relative;display:none;transition:.6s ease-in-out left}.carousel-inner>.carousel-item>a>img, .carousel-inner>.carousel-item>img{line-height:1}@media all and (transform-3d), (-webkit-transform-3d){.carousel-inner>.carousel-item{transition:transform .6s ease-in-out;backface-visibility:hidden;perspective:1000px}.carousel-inner>.carousel-item.active.right, .carousel-inner>.carousel-item.next{left:0;transform:translate3d(100%,0,0)}.carousel-inner>.carousel-item.active.left, .carousel-inner>.carousel-item.prev{left:0;transform:translate3d(-100%,0,0)}.carousel-inner>.carousel-item.active, .carousel-inner>.carousel-item.next.left, .carousel-inner>.carousel-item.prev.right{left:0;transform:translate3d(0,0,0)}}.carousel-inner>.active, .carousel-inner>.next, .carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next, .carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left, .carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5}.carousel-control.left{background-image:linear-gradient(to right,rgba(0,0,0,.5) 0%,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0%,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:focus, .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control .icon-next, .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-prev::before{content:\"\\2039\"}.carousel-control .icon-next::before{content:\"\\203A\"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:transparent;border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media (min-width:576px){.carousel-control .icon-next, .carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .icon-prev{margin-left:-15px}.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-faded{background-color:#f7f7f9}.bg-primary{background-color:#0275d8!important}a.bg-primary:focus, a.bg-primary:hover{background-color:#025aa5!important}.bg-success{background-color:#5cb85c!important}a.bg-success:focus, a.bg-success:hover{background-color:#449d44!important}.bg-info{background-color:#5bc0de!important}a.bg-info:focus, a.bg-info:hover{background-color:#31b0d5!important}.bg-warning{background-color:#f0ad4e!important}a.bg-warning:focus, a.bg-warning:hover{background-color:#ec971f!important}.bg-danger{background-color:#d9534f!important}a.bg-danger:focus, a.bg-danger:hover{background-color:#c9302c!important}.bg-inverse{background-color:#373a3c!important}a.bg-inverse:focus, a.bg-inverse:hover{background-color:#1f2021!important}.rounded{border-radius:.25rem}.rounded-top{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.rounded-right{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.rounded-bottom{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-left{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.rounded-circle{border-radius:50%}.clearfix::after{content:\"\";display:table;clear:both}.d-block{display:block!important}.d-inline-block{display:inline-block!important}.d-inline{display:inline!important}.float-xs-left{float:left!important}.float-xs-right{float:right!important}.float-xs-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active, .sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-100{width:100%!important}.h-100{height:100%!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.m-0{margin:0 0!important}.mt-0{margin-top:0!important}.mr-0{margin-right:0!important}.mb-0{margin-bottom:0!important}.ml-0{margin-left:0!important}.mx-0{margin-right:0!important;margin-left:0!important}.my-0{margin-top:0!important;margin-bottom:0!important}.m-1{margin:1rem 1rem!important}.mt-1{margin-top:1rem!important}.mr-1{margin-right:1rem!important}.mb-1{margin-bottom:1rem!important}.ml-1{margin-left:1rem!important}.mx-1{margin-right:1rem!important;margin-left:1rem!important}.my-1{margin-top:1rem!important;margin-bottom:1rem!important}.m-2{margin:1.5rem 1.5rem!important}.mt-2{margin-top:1.5rem!important}.mr-2{margin-right:1.5rem!important}.mb-2{margin-bottom:1.5rem!important}.ml-2{margin-left:1.5rem!important}.mx-2{margin-right:1.5rem!important;margin-left:1.5rem!important}.my-2{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-3{margin:3rem 3rem!important}.mt-3{margin-top:3rem!important}.mr-3{margin-right:3rem!important}.mb-3{margin-bottom:3rem!important}.ml-3{margin-left:3rem!important}.mx-3{margin-right:3rem!important;margin-left:3rem!important}.my-3{margin-top:3rem!important;margin-bottom:3rem!important}.p-0{padding:0 0!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0{padding-left:0!important}.px-0{padding-right:0!important;padding-left:0!important}.py-0{padding-top:0!important;padding-bottom:0!important}.p-1{padding:1rem 1rem!important}.pt-1{padding-top:1rem!important}.pr-1{padding-right:1rem!important}.pb-1{padding-bottom:1rem!important}.pl-1{padding-left:1rem!important}.px-1{padding-right:1rem!important;padding-left:1rem!important}.py-1{padding-top:1rem!important;padding-bottom:1rem!important}.p-2{padding:1.5rem 1.5rem!important}.pt-2{padding-top:1.5rem!important}.pr-2{padding-right:1.5rem!important}.pb-2{padding-bottom:1.5rem!important}.pl-2{padding-left:1.5rem!important}.px-2{padding-right:1.5rem!important;padding-left:1.5rem!important}.py-2{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-3{padding:3rem 3rem!important}.pt-3{padding-top:3rem!important}.pr-3{padding-right:3rem!important}.pb-3{padding-bottom:3rem!important}.pl-3{padding-left:3rem!important}.px-3{padding-right:3rem!important;padding-left:3rem!important}.py-3{padding-top:3rem!important;padding-bottom:3rem!important}.pos-f-t{position:fixed;top:0;right:0;left:0;z-index:1030}.text-justify{text-align:justify!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-xs-left{text-align:left!important}.text-xs-right{text-align:right!important}.text-xs-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-normal{font-weight:400}.font-weight-bold{font-weight:700}.font-italic{font-style:italic}.text-white{color:#fff!important}.text-muted{color:#818a91!important}a.text-muted:focus, a.text-muted:hover{color:#687077!important}.text-primary{color:#0275d8!important}a.text-primary:focus, a.text-primary:hover{color:#025aa5!important}.text-success{color:#5cb85c!important}a.text-success:focus, a.text-success:hover{color:#449d44!important}.text-info{color:#5bc0de!important}a.text-info:focus, a.text-info:hover{color:#31b0d5!important}.text-warning{color:#f0ad4e!important}a.text-warning:focus, a.text-warning:hover{color:#ec971f!important}.text-danger{color:#d9534f!important}a.text-danger:focus, a.text-danger:hover{color:#c9302c!important}.text-gray-dark{color:#373a3c!important}a.text-gray-dark:focus, a.text-gray-dark:hover{color:#1f2021!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.invisible{visibility:hidden!important}.hidden-xs-up{display:none!important}@media (max-width:575px){.hidden-xs-down{display:none!important}}@media (min-width:576px){.hidden-sm-up{display:none!important}}@media (max-width:767px){.hidden-sm-down{display:none!important}}@media (min-width:768px){.hidden-md-up{display:none!important}}@media (max-width:991px){.hidden-md-down{display:none!important}}@media (min-width:992px){.hidden-lg-up{display:none!important}}@media (max-width:1199px){.hidden-lg-down{display:none!important}}@media (min-width:1200px){.hidden-xl-up{display:none!important}}.hidden-xl-down{display:none!important}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}*:focus, .input-checkbox:focus input ~ .input-checkbox-tick, *:focus > .input-dropdown, .input-focused > .input-dropdown, .input-focused {\n border-color: #4d5b65;\n outline: 0;\n}*:focus > .nav-link.active {\n border-color: #4d5b65 #4d5b65 transparent !important;\n outline:0;\n}*:focus > .nav-link {\n border-color: #4d5b65 #4d5b65 #dee6ec !important;\n outline:0;\n}.btn:focus, button:focus {\n outline: 0;\n}.btn-device:focus {\n border: 1px solid #4d5b65;\n}.chart-wrapper {\n width: 100%;\n overflow: auto;\n}.pie-path {\n stroke: #fff;\n stroke-width: 2px;\n}.error-load-data {\n padding-top: 1rem;\n color: #f67a89;\n}.error-load-data .error-load-text {\n padding-bottom: 1rem;\n}.error-loading {\n width: 120px;\n height: 120px;\n border-radius: 100%;\n border: 20px solid rgba(0, 0, 0, 0.2);\n animation: spin 4s infinite linear;\n}@keyframes spin { \n 0%, 100% { \n border-bottom-color: #808080;\n border-left-color: rgba(0, 0, 0, 0.2);\n border-right-color: rgba(0, 0, 0, 0.2);\n border-top-color: rgba(0, 0, 0, 0.2); \n }\n\n 25% {\n border-right-color: #808080;\n border-left-color: rgba(0, 0, 0, 0.2);\n border-top-color: rgba(0, 0, 0, 0.2);\n border-bottom-color: rgba(0, 0, 0, 0.2);\n }\n\n 50% {\n border-top-color: #808080;\n border-left-color: rgba(0, 0, 0, 0.2);\n border-right-color: rgba(0, 0, 0, 0.2);\n border-bottom-color: rgba(0, 0, 0, 0.2);\n }\n\n 75% {\n border-left-color: #808080;\n border-right-color: rgba(0, 0, 0, 0.2);\n border-top-color: rgba(0, 0, 0, 0.2);\n border-bottom-color: rgba(0, 0, 0, 0.2);\n }\n}.daterangepicker {\n position: absolute;\n color: #6b7b86;\n background: #fff;\n border-radius: 4px;\n width: 278px;\n padding: 4px;\n margin-top: 1px;\n top: 100px;\n left: 20px;\n /* Calendars */\n}.daterangepicker:before, .daterangepicker:after {\n position: absolute;\n display: inline-block;\n border-bottom-color: rgba(0, 0, 0, 0.2);\n content: '';\n}.daterangepicker:before {\n top: -7px;\n border-right: 7px solid transparent;\n border-left: 7px solid transparent;\n border-bottom: 7px solid #ccc;\n}.daterangepicker:after {\n top: -6px;\n border-right: 6px solid transparent;\n border-bottom: 6px solid #fff;\n border-left: 6px solid transparent;\n}.daterangepicker.opensleft:before {\n right: 9px;\n}.daterangepicker.opensleft:after {\n right: 10px;\n}.daterangepicker.openscenter:before {\n left: 0;\n right: 0;\n width: 0;\n margin-left: auto;\n margin-right: auto;\n}.daterangepicker.openscenter:after {\n left: 0;\n right: 0;\n width: 0;\n margin-left: auto;\n margin-right: auto;\n}.daterangepicker.opensright:before {\n left: 9px;\n}.daterangepicker.opensright:after {\n left: 10px;\n}.daterangepicker.dropup {\n margin-top: -5px;\n}.daterangepicker.dropup:before {\n top: initial;\n bottom: -7px;\n border-bottom: initial;\n border-top: 7px solid #ccc;\n}.daterangepicker.dropup:after {\n top: initial;\n bottom: -6px;\n border-bottom: initial;\n border-top: 6px solid #fff;\n}.daterangepicker.dropdown-menu {\n max-width: none;\n z-index: 3001;\n}.daterangepicker.single .ranges, .daterangepicker.single .calendar {\n float: none;\n}.daterangepicker.show-calendar .calendar {\n display: block;\n}.daterangepicker .calendar {\n display: none;\n max-width: 270px;\n margin: 4px;\n}.daterangepicker .calendar.single .calendar-table {\n border: none;\n}.daterangepicker .calendar th, .daterangepicker .calendar td {\n white-space: nowrap;\n text-align: center;\n min-width: 36px;\n}.daterangepicker .calendar-table {\n border: 1px solid #fff;\n padding: 4px;\n border-radius: 4px;\n background: #fff;\n}.daterangepicker table {\n width: 100%;\n margin: 0;\n}.daterangepicker td, .daterangepicker th {\n text-align: center;\n width: 20px;\n height: 20px;\n border: 1px solid transparent;\n white-space: nowrap;\n cursor: pointer;\n font-weight:500;\n}.daterangepicker td.available:hover, .daterangepicker th.available:hover {\n background-color: #eee;\n border-color: transparent;\n color: inherit;\n}.daterangepicker td.week, .daterangepicker th.week {\n font-size: 80%;\n}.daterangepicker td.in-range {\n color: inherit;\n}.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {\n background-color: #fff;\n border-color: transparent;\n font-weight: 400;\n}.daterangepicker td.in-range {\n background-color: #ebf4f8;\n border-color: transparent;\n border-radius: 0;\n}.daterangepicker td.start-date {\n}.daterangepicker td.end-date {\n}.daterangepicker td.start-date.end-date {\n}.daterangepicker td.active, .daterangepicker td.active:hover {\n background-color: #357ebd;\n border-color: transparent;\n color: #fff;\n}.daterangepicker th.month {\n width: auto;\n text-transform: uppercase;\n letter-spacing: .7px;\n}.daterangepicker td.disabled, .daterangepicker option.disabled {\n color: #999;\n cursor: default;\n text-decoration: line-through;\n}.daterangepicker select.monthselect, .daterangepicker select.yearselect {\n font-size: 12px;\n padding: 1px;\n height: auto;\n margin: 0;\n cursor: default;\n}.daterangepicker select.monthselect {\n margin-right: 2%;\n width: 56%;\n}.daterangepicker select.yearselect {\n width: 40%;\n}.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {\n width: 50px;\n margin-bottom: 0;\n background-color: #fff;\n color: #555;\n border: 1px solid #9aafbd;\n}.daterangepicker .input-mini {\n border: 1px solid #ccc;\n border-radius: 4px;\n color: #555;\n height: 30px;\n line-height: 30px;\n display: block;\n vertical-align: middle;\n margin: 0 0 5px 0;\n padding: 0 6px 0 28px;\n width: 100%;\n}.daterangepicker .input-mini.active {\n border: 1px solid #08c;\n border-radius: 4px;\n}.daterangepicker .daterangepicker_input {\n position: relative;\n}.daterangepicker .daterangepicker_input i {\n position: absolute;\n left: 8px;\n top: 8px;\n}.daterangepicker.rtl .input-mini {\n padding-right: 28px;\n padding-left: 6px;\n}.daterangepicker.rtl .daterangepicker_input i {\n left: auto;\n right: 8px;\n}.daterangepicker .calendar-time {\n text-align: center;\n margin: 5px auto;\n line-height: 30px;\n position: relative;\n padding-left: 28px;\n}.daterangepicker .calendar-time select.disabled {\n color: #ccc;\n cursor: default;\n}.ranges {\n font-size: 11px;\n float: none;\n margin: 4px;\n text-align: left;\n}.ranges ul {\n list-style: none;\n margin: 0 auto;\n padding: 0;\n width: 100%;\n}.ranges li {\n font-size: 13px;\n background: #f5f5f5;\n border: 1px solid #f5f5f5;\n border-radius: 4px;\n color: #08c;\n padding: 3px 12px;\n margin-bottom: 8px;\n cursor: pointer;\n}.ranges li:hover {\n background: #08c;\n border: 1px solid #08c;\n color: #fff;\n}.ranges li.active {\n background: #08c;\n border: 1px solid #08c;\n color: #fff;\n}/* Larger Screen Styling */@media (min-width: 564px) {\n .daterangepicker {\n width: auto;\n }\n .daterangepicker .ranges ul {\n width: 160px;\n }\n .daterangepicker.single .ranges ul {\n width: 100%;\n }\n .daterangepicker.single .calendar.left {\n clear: none;\n }\n .daterangepicker.single.ltr .ranges, .daterangepicker.single.ltr .calendar {\n float: left;\n }\n .daterangepicker.single.rtl .ranges, .daterangepicker.single.rtl .calendar {\n float: right;\n }\n .daterangepicker.ltr {\n direction: ltr;\n text-align: left;\n }\n .daterangepicker.ltr .calendar.left {\n clear: left;\n margin-right: 0;\n }\n .daterangepicker.ltr .calendar.left .calendar-table {\n border-right: none;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .daterangepicker.ltr .calendar.right {\n margin-left: 0;\n }\n .daterangepicker.ltr .calendar.right .calendar-table {\n border-left: none;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .daterangepicker.ltr .left .daterangepicker_input {\n padding-right: 12px;\n }\n .daterangepicker.ltr .calendar.left .calendar-table {\n padding-right: 12px;\n }\n .daterangepicker.ltr .ranges, .daterangepicker.ltr .calendar {\n float: left;\n }\n .daterangepicker.rtl {\n direction: rtl;\n text-align: right;\n }\n .daterangepicker.rtl .calendar.left {\n clear: right;\n margin-left: 0;\n }\n .daterangepicker.rtl .calendar.left .calendar-table {\n border-left: none;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .daterangepicker.rtl .calendar.right {\n margin-right: 0;\n }\n .daterangepicker.rtl .calendar.right .calendar-table {\n border-right: none;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .daterangepicker.rtl .left .daterangepicker_input {\n padding-left: 12px;\n }\n .daterangepicker.rtl .calendar.left .calendar-table {\n padding-left: 12px;\n }\n .daterangepicker.rtl .ranges, .daterangepicker.rtl .calendar {\n text-align: right;\n float: right;\n }\n}@media (min-width: 730px) {\n .daterangepicker .ranges {\n width: auto;\n }\n .daterangepicker.ltr .ranges {\n float: left;\n }\n .daterangepicker.rtl .ranges {\n float: right;\n }\n .daterangepicker .calendar.left {\n clear: none !important;\n }\n}.daterangepicker td, .daterangepicker th {\n font-size: .8rem;\n}.daterangepicker th:not(.month):not(.next):not(.prev) {\n color: #afbfc9;\n font-weight: 400;\n}.daterangepicker .calendar th, .daterangepicker .calendar td {\n padding: 4px 6px;\n}.daterangepicker .next.available:after {\n font-size: 1rem;\n content: '\\203A'\n}.daterangepicker .prev.available:after {\n font-size: 1rem;\n content: '\\2039'\n}/* Date range datepicker custom styles */.daterangepicker td.in-range {\n background-color: #f2f7fa;\n}.daterangepicker td.active, .daterangepicker td.active:hover {\n background-color: #9aafbd;\n color: #fff;\n}.cancelBtn {\n border: solid 1px #C9D5DC;\n color: #6b7b86;\n background-color: transparent;\n}.applyBtn {\n color: #fff;\n background-color: #76b727;\n border-color: #76b727;\n}.applyBtn:hover, .applyBtn:focus, .daterangepicker .applyBtn:active {\n background-color: #76b727;\n border-color: #76b727;\n}.ranges li {\n background-color: #f2f7fa;\n color: #4d5b65;\n}.ranges li:hover {\n background-color: #9aafbd;\n border: 1px solid #9aafbd;\n}.ranges li.active {\n background-color: #9aafbd;\n border: 1px solid #9aafbd;\n}.daterangepicker .input-mini.active {\n border: 1px solid #9aafbd;\n}.dropdown-menu.daterangepicker {\n border: 1px solid #C9D5DC;\n}.rdt {\n position: relative;\n font-size: .8rem;\n color: #6b7b86;\n font-weight:500;\n cursor: pointer;\n}.rdt > .form-control {\n border-radius:0;\n border:0;\n border-color: #C9D5DC;\n padding: 1px;\n cursor: inherit;\n line-height: 21px;\n}.rdt > .form-control:focus {\n background-color: transparent;\n}.rdt > input[value='(none)']{\n opacity: .7;\n font-weight: normal;\n}.rdtPicker {\n display: none;\n position: absolute;\n width: 260px;\n padding: 0;\n margin-top: 3px;\n z-index: 99 !important;\n background: #fff;\n border: 1px solid #C9D5DC;\n border-radius: 3px;\n}.rdtOpen .rdtPicker {\n display: block;\n}.rdtStatic .rdtPicker {\n box-shadow: none;\n position: static;\n}.rdtPicker .rdtTimeToggle {\n text-align: center;\n}.rdtPicker table {\n width: 100%;\n margin: 5px 0;\n}.rdtPicker td, .rdtPicker th {\n text-align: center;\n height: 28px;\n}.rdtPicker td {\n cursor: pointer;\n}.rdtPicker td.rdtToday:hover, .rdtPicker td.rdtHour:hover, .rdtPicker td.rdtMinute:hover, .rdtPicker td.rdtSecond:hover, .rdtPicker .rdtTimeToggle:hover {\n cursor: pointer;\n}.rdtPicker td.rdtOld, .rdtPicker td.rdtNew {\n color: #6b7b86;\n font-weight:400;\n}.rdtToday {\n border: 1px solid #f67a89;\n}.rdtPicker td.rdtActive, .rdtPicker td.rdtActive:hover {\n background-color: #9aafbd;\n color:#fff;\n}.rdtPicker td.rdtActive.rdtToday:before {\n border-bottom-color: #fff;\n}.rdtPicker td.rdtDisabled, .rdtPicker td.rdtDisabled:hover {\n background: none;\n color: #999999;\n cursor: default;\n}.rdtPicker td span.rdtOld {\n color: #999999;\n}.rdtPicker td span.rdtDisabled, .rdtPicker td span.rdtDisabled:hover {\n background: none;\n color: #999999;\n cursor: default;\n}.rdtPicker .dow {\n width: 14.2857%;\n border-bottom: none;\n color: #afbfc9;\n font-weight: 400;\n}.rdtPicker th.rdtSwitch {\n width: 100px;\n}.rdtPicker th.rdtNext, .rdtPicker th.rdtPrev {\n font-size: 16px;\n color: #7180b6;\n vertical-align: top;\n}.rdtPrev span, .rdtNext span {\n display: block;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Chrome/Safari/Opera */ /* Konqueror */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n}.rdtPicker th.rdtDisabled, .rdtPicker th.rdtDisabled:hover {\n background: none;\n color: #999999;\n cursor: default;\n}.rdtPicker thead tr:first-child th {\n cursor: pointer;\n text-transform: uppercase;\n letter-spacing: .7px;\n}.rdtPicker tfoot {\n border-top: 1px solid #f9f9f9;\n}.rdtPicker button {\n border: none;\n background: none;\n cursor: pointer;\n}.rdtPicker button:hover {\n background-color: #eee;\n}.rdtPicker thead button {\n width: 100%;\n height: 100%;\n}td.rdtMonth, td.rdtYear {\n height: 50px;\n width: 25%;\n cursor: pointer;\n}td.rdtMonth:hover, td.rdtYear:hover {\n background: #eee;\n}.rdtCounters {\n display: inline-block;\n}.rdtCounters > div {\n float: left;\n}.rdtCounter {\n height: 100px;\n}.rdtCounter {\n width: 40px;\n}.rdtCounterSeparator {\n line-height: 100px;\n}.rdtCounter .rdtBtn {\n height: 40%;\n line-height: 40px;\n cursor: pointer;\n display: block;\n\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Chrome/Safari/Opera */ /* Konqueror */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n}.rdtCounter .rdtBtn:hover {\n background: #eee;\n}.rdtCounter .rdtCount {\n height: 20%;\n font-size: 1.2em;\n}.rdtMilli {\n vertical-align: middle;\n padding-left: 8px;\n width: 48px;\n}.rdtMilli input {\n width: 100%;\n font-size: 1.2em;\n margin-top: 37px;\n}.rdtDayPart {\n margin-top: 43px;\n}.draggable-widget {\n border: 1px solid #C9D5DC;\n width: calc(33.333% - 1rem);\n margin: .5rem;\n background-color: white;\n display: inline-block;\n border-radius: 3px;\n pointer-events: visible;\n vertical-align: top\n}@media screen and (max-width: 991px) {.draggable-widget{width:calc(50% - 1rem)}\n }@media screen and (max-width: 768px) {.draggable-widget{width:calc(100% - 1rem)}\n }.draggable-widget-header {\n padding: 6px 10px;\n background: #f2f7fa;\n border-bottom: 1px solid #C9D5DC;\n font-size: 0.875rem;\n color: #4d5b65;\n position: relative;\n cursor: move;\n height: 34px;\n white-space: nowrap;\n text-overflow: ellipsis;\n}.draggable-widget-body {\n min-height: 250px;\n height: calc(100% - 34px);\n z-index: 1;\n overflow: hidden;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.draggable-widget-icon {\n padding: 10px;\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n}.draggable-widget-menu {\n background: white;\n border: 1px solid #C9D5DC;\n border-radius: 3px;\n display: inline-block;\n position: absolute;\n top: 25px;\n right: -4px;\n z-index: 100;\n}.draggable-widget-menu span {\n width: 100%;\n padding: 5px;\n display: block;\n}.draggable-widget-menu span:hover {\n cursor: pointer;\n background: #f2f7fa;\n}.draggable-widget-maximize {\n width: 100%;\n height: calc(100vh - 100px);\n position: relative;\n margin: 0;\n}.dragging {\n border: 2px dashed #C9D5DC;\n opacity: 0.5;\n}.dragging .draggable-widget-header {\n background: transparent;\n border-bottom: none;\n color: transparent;\n}.draggable-widget-body iframe {\n width: calc(100% - 1px);\n min-height: 280px;\n height: 100%;\n float: left;\n}@charset 'UTF-8';@font-face {\n font-family: 'metasfresh';\n src:url(" + __webpack_require__(788) + ");\n src:url(" + __webpack_require__(788) + "?#iefix) format('embedded-opentype'),\n url(" + __webpack_require__(789) + ") format('woff'),\n url(" + __webpack_require__(790) + ") format('truetype'),\n url(" + __webpack_require__(791) + "#metasfresh) format('svg');\n font-weight: normal;\n font-style: normal;\n \n}[data-icon]:before {\n font-family: 'metasfresh' !important;\n content: attr(data-icon);\n font-style: normal !important;\n font-weight: normal !important;\n font-variant: normal !important;\n text-transform: none !important;\n speak: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}[class^='meta-icon-']:before, [class*=' meta-icon-']:before {\n font-family: 'metasfresh' !important;\n font-style: normal !important;\n font-weight: normal !important;\n font-variant: normal !important;\n text-transform: none !important;\n speak: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}.meta-icon-accept:before {\n content: 'a';\n}.meta-icon-add:before {\n content: 'b';\n}.meta-icon-attachments:before {\n content: 'c';\n}.meta-icon-beschaffung:before {\n content: 'd';\n}.meta-icon-calendar:before {\n content: 'e';\n}.meta-icon-checkbox:before {\n content: 'f';\n}.meta-icon-checkbox-1:before {\n content: 'g';\n}.meta-icon-chevron-1:before {\n content: 'h';\n}.meta-icon-close-1:before {\n content: 'i';\n}.meta-icon-close-alt:before {\n content: 'j';\n}.meta-icon-collapse:before {\n content: 'k';\n}.meta-icon-crm:before {\n content: 'l';\n}.meta-icon-delete:before {\n content: 'm';\n}.meta-icon-down-1:before {\n content: 'n';\n}.meta-icon-duplicate:before {\n content: 'o';\n}.meta-icon-edit:before {\n content: 'p';\n}.meta-icon-fakturierung:before {\n content: 'q';\n}.meta-icon-file:before {\n content: 'r';\n}.meta-icon-finanzen:before {\n content: 's';\n}.meta-icon-fullscreen:before {\n content: 't';\n}.meta-icon-generate:before {\n content: 'u';\n}.meta-icon-important:before {\n content: 'v';\n}.meta-icon-langerverwaltung:before {\n content: 'w';\n}.meta-icon-left:before {\n content: 'x';\n}.meta-icon-lieferung:before {\n content: 'y';\n}.meta-icon-list:before {\n content: 'z';\n}.meta-icon-listing-down:before {\n content: 'A';\n}.meta-icon-listing-up:before {\n content: 'B';\n}.meta-icon-logout:before {\n content: 'C';\n}.meta-icon-menu:before {\n content: 'D';\n}.meta-icon-message:before {\n content: 'E';\n}.meta-icon-more:before {\n content: 'F';\n}.meta-icon-notifications:before {\n content: 'G';\n}.meta-icon-package:before {\n content: 'H';\n}.meta-icon-pallete:before {\n content: 'I';\n}.meta-icon-preview:before {\n content: 'J';\n}.meta-icon-print:before {\n content: 'K';\n}.meta-icon-product:before {\n content: 'L';\n}.meta-icon-production:before {\n content: 'M';\n}.meta-icon-produktverwaltung:before {\n content: 'N';\n}.meta-icon-profile:before {\n content: 'O';\n}.meta-icon-report:before {\n content: 'P';\n}.meta-icon-report-1:before {\n content: 'Q';\n}.meta-icon-right:before {\n content: 'R';\n}.meta-icon-sales:before {\n content: 'S';\n}.meta-icon-save:before {\n content: 'T';\n}.meta-icon-settings:before {\n content: 'U';\n}.meta-icon-share:before {\n content: 'V';\n}.meta-icon-trash:before {\n content: 'W';\n}.meta-icon-upload:before {\n content: 'X';\n}.meta-icon-upload-1:before {\n content: 'Y';\n}.meta-icon-vertragsverwaltung:before {\n content: 'Z';\n}.meta-icon-wereneingang:before {\n content: '0';\n}.meta-icon-photo:before {\n content: '1';\n}.meta-icon-receive:before {\n content: '2';\n}.meta-icon-issue:before {\n content: '3';\n}.header-sticky-distance{\n margin-top: 55px;\n}.header {\n border-bottom: 1px solid;\n position: fixed;\n top:0;\n left:0;\n width: 100%;\n height: 55px;\n z-index: 100;\n}.header-container {\n width: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}.header-logo {\n height: 31px;\n}@media (max-width: 543px){\n .header .container-fluid {\n padding-left:0;\n padding-right:0;\n }\n .header-logo {\n height: 20px;\n }\n}.header-middle {\n padding: .7rem 1rem;\n display: inline-block;\n}.header-btn {\n width:100%;\n}.header-breadcrumb {\n color: #6b7b86;\n font-size: 0.875rem;\n width: auto;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n overflow: hidden;\n}.header-breadcrumb-line {\n color: #6b7b86;\n font-size: 0.875rem;\n width: auto;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n overflow: hidden;\n\n position: relative;\n -ms-flex:1;\n flex:1;\n}@media (max-width: 543px){\n .header-breadcrumb{\n top: 25px;\n left: -55px;\n position: absolute;\n background-color: #fff;\n width: calc(100vw);\n border-bottom: 1px solid #dee6ec;\n border-top: 1px solid #dee6ec;\n padding:4px 0;\n }\n .header-sticky-distance {\n margin-top: 130px;\n }\n}.header-breadcrumb a {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}.header-breadcrumb-link{\n color: #467799 !important;\n}.header-breadcrumb .divider {\n margin: 0 .2rem;\n min-width: 5px;\n}.header-breadcrumb > * {\n white-space: nowrap;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n\n -ms-flex-negative:1;\n\n flex-shrink:1;\n}.header-breadcrumb-wrapper {\n position: relative;\n -ms-flex:1;\n flex:1;\n}.header-breadcrumb > .menu-overlay-expand, .header-breadcrumb > .menu-overlay-link {\n display: inline-block;\n}.header-input-id {\n margin: 0 .3rem;\n}.header-super-faded {\n background-color: #FFF;\n border-bottom-color: #dee6ec;\n}.header-input-sm {\n width:85px;\n min-width: 85px;\n}.header-input-sm input{\n font-size: 0.85rem;\n}.header-input-sm .input-icon-right {\n font-size: 0.85rem;\n right:3px;\n}.header-input-sm .form-group {\n margin-bottom:0;\n}.header-input-sm .input-secondary, .header-input-sm .input-secondary input {\n margin: 0;\n font-size: 0.85rem;\n line-height: 1;\n padding: 0 10px 0 0;\n}.subheader-container {\n display: none;\n width: 50%;\n position: fixed;\n z-index: 201;\n margin-top:-1px;\n background-color: #F8FAFB;\n}.subheader-open {\n display: block;\n}.subheader-column {\n width: 50%;\n border-right: 1px solid #e1e7ec;\n \n overflow: hidden;\n}.subheader-column:focus {\n border-color: #e1e7ec;\n}@media (max-width: 543px) {\n .subheader-container {\n top: 55px;\n width: 100%;\n z-index: 201;\n max-height: calc(100vh - 55px);\n overflow: scroll;\n }\n .subheader-column {\n width: 100%;\n border-bottom: 1px solid #dee6ec;\n }\n}.subheader-item {\n position: relative;\n width: 100%;\n display: block;\n padding: .75rem 1.25rem;\n text-decoration: none !important;\n color: inherit;\n}.subheader-caption {\n position: relative;\n width: 100%;\n padding: .75rem 1.25rem;\n margin-left: -.5rem;\n}.subheader-additional-box{\n position:absolute;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n height: 100%;\n width: 50px;\n right:0;\n top:0;\n background-color: #6c7b85;\n}.subheader-item-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}.subheader-item:not(.subheader-item-disabled){\n cursor: pointer;\n}.subheader-item:not(.subheader-item-disabled):hover {\n background-color: #9aafbd;\n color: #fff;\n}.subheader-item:focus {\n background-color: #9aafbd;\n color: #fff;\n}.subheader-item:focus {\n background-color: #9aafbd;\n color: #fff;\n}.subheader-header {\n padding: .75rem 1.25rem;\n color: #9aafbd;\n font-size: 1.1rem;\n}.subheader-row {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n}.subheader-break {\n width: 100%;\n height: 1px;\n padding:0 !important;\n background-color: #e1e7ec;\n}.btn-subheader-open {\n position: relative;\n z-index:300;\n}.btn-square {\n min-width: 55px;\n \n}.header-left-side, .header-right-side {\n width: calc(50% - 75px);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n}.header-right-side {\n -ms-flex-align: center;\n -ms-grid-row-align: center;\n align-items: center;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}.header-right-side .form-group {\n height: auto;\n min-height: 100%;\n margin: 0;\n}.header-left-side {\n -ms-flex-align: center;\n -ms-grid-row-align: center;\n align-items: center;\n}.btn-header-open {\n border-width: 1px 1px 0 1px;\n border-style: solid;\n pointer-events: none;\n}.btn-header {\n position: relative;\n top:-1px;\n border-color: #dee6ec;\n}/* OVERLAY */.menu-overlay {\n position: fixed;\n z-index:-1;\n pointer-events: none;\n top:55px;\n}@media screen and (max-width: 543px){\n .menu-overlay {\n top: 118px;\n }\n}.menu-overlay-body {\n padding: 0 1.2rem 1.8rem 1.2rem;\n min-height: 400px;\n z-index:1;\n margin-top:-1px;\n pointer-events: all;\n overflow: auto;\n max-height: calc(100vh - 80px);\n}.menu-overlay-top-spacer {\n height:1rem;\n content:\"\";\n}@media screen and (max-width: 543px) {\n .menu-overlay-body {\n min-height: 200px;\n max-height: calc(100vh - 100px);\n }\n}.menu-overlay-root-body {\n display: -ms-flexbox;\n display: flex;\n}.menu-overlay-node-container {\n width: 100%;\n display: inline-block;\n}.menu-overlay-header-deep {\n font-weight: 400;\n}.menu-overlay-node-spaced {\n margin-left: 1rem;\n}.menu-overlay-root-body .menu-overlay-node-container {\n width: 220px;\n display: block;\n}.menu-overlay-query {\n width: 350px;\n\n padding: 1rem 1.2rem;\n\n max-height: 600px;\n overflow: hidden;\n}.menu-overlay-query .input-primary {\n padding: .1rem .50rem;\n background-color: #fff;\n margin-bottom: .5rem;\n}.menu-overlay-query .input-field {\n margin-left: .3rem;\n}.menu-overlay-container {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: start;\n align-items: flex-start;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n\n width: 450px;\n}.menu-overlay-primary .menu-overlay-body {\n background-color: #F8FAFB;\n border:1px solid #e1e8ee;\n position: relative;\n}.menu-overlay-caption {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n z-index:25;\n background-color: #F8FAFB;\n border:1px solid #e1e8ee;\n border-bottom-width: 0;\n color: #467799;\n pointer-events: visible;\n width: 55px;\n height: 55px;\n padding-bottom: 6px;\n}.menu-overlay-caption-text {\n width: 80px;\n padding-bottom: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n}.menu-overlay-header {\n font-size: .875rem;\n margin:0;\n}.menu-overlay-header-main {\n font-weight: 500;\n text-transform: uppercase;\n}.menu-overlay-header-spaced {\n margin: 1rem 0;\n}.menu-overlay-expanded-link {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-left: 1rem;\n}.menu-overlay-expanded-link-spaced {\n margin: .5rem 0;\n}.menu-overlay-link, .menu-overlay-expand {\n color: #467799;\n cursor: pointer;\n border-bottom: 1px solid transparent;\n}.menu-overlay-expand:hover {\n border-bottom: 1px dashed #467799;\n}.menu-overlay-link:hover {\n border-bottom: 1px solid #467799;\n}.menu-overlay-expanded-link:focus .menu-overlay-expand {\n border-bottom: 1px dashed #467799;\n}.menu-overlay-expanded-link:focus .query-clickable-group {\n border-bottom: 1px dashed #467799;\n}.menu-overlay-expanded-link:focus .menu-overlay-link {\n border-bottom: 1px solid #467799;\n}.menu-overlay-expanded-link:focus .query-clickable-link {\n border-bottom: 1px solid #467799;\n}.menu-overlay-expanded-link {\n color: #467799;\n width: auto;\n}.menu-overlay-header:focus {\n border-bottom: 1px solid #6b7b86;\n}.header-breadcrumb>span:first-of-type>.ico-home {\n min-width: 24px;\n}.header-breadcrumb>span:first-child {\n min-width: 26px;\n}.header-item {\n color: #467799;\n display: inline-block;\n position: relative;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n text-align: center;\n}.header-item.icon-sm {\n font-size: .875rem;\n padding-top: 0;\n}.header-item.icon-sm i {\n vertical-align: text-bottom;\n line-height: 0.9;\n}.header-item-container {\n min-width: 55px;\n height: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n border: 1px solid transparent;\n padding-left: .2rem;\n padding-right: .2rem;\n}.header-item-container-static {\n width: 55px;\n}.header-item-container:hover {\n background-color: #F8FAFB;\n border-bottom: 1px solid #dee6ec;\n}.header-item-open {\n background-color: #F8FAFB;\n border: 1px solid #e1e8ee;\n pointer-events: none;\n z-index: 2;\n border-bottom: 0 !important;\n}.header-item-open .header-item {\n margin-top: -1px;\n}.header-item-badge.header-item {\n overflow: visible;\n}.logo-wrapper {\n text-align: center;\n}.dashboard-wrapper {\n height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: top;\n justify-content: top;\n -ms-flex-align: center;\n align-items: center;\n}.inbox {\n position: fixed;\n top: 54px;\n right: 0;\n z-index: 2;\n width: 400px;\n}.inbox-all {\n width: 100%;\n padding: 1rem 0;\n}.inbox-all .inbox-body {\n background-color: #fff;\n}.inbox-header, .inbox-footer {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: justify;\n justify-content: space-between;\n padding: .4rem .8rem;\n}.inbox-header {\n border-bottom: 1px solid #e1e8ee;\n}.inbox-footer {\n border-top: 1px solid #e1e8ee;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}.inbox-caption {\n position: relative;\n width: 55px;\n height: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-pack: center;\n justify-content: center;\n}.inbox-body {\n background-color: #F8FAFB;\n border: 1px solid #e1e8ee;\n position: relative;\n}.inbox-list {\n max-height: 400px;\n overflow-y: auto;\n}.inbox-header-title {\n font-weight: 700;\n}.inbox-link {\n font-size: .8rem;\n color: #467799;\n cursor: pointer;\n}.inbox-link:hover {\n text-decoration: underline;\n}.inbox-item {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n border-top: 1px solid #dee6ec;\n padding: .3rem .8rem;\n font-size: .8rem;\n min-height: 80px;\n}.inbox-item:focus {\n border: 1px solid #9aafbd;\n}.inbox-item:not(.inbox-item-empty):hover {\n background-color: #edf3f6;\n}.inbox-item-content {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: justify;\n justify-content: space-between;\n width: 100%;\n}.inbox-item-unread {\n background-color: #E6F1FA;\n}.inbox-item:first-child {\n border-top: 0;\n}.inbox-item:last-child {\n border-bottom: 0;\n}.inbox-item-icon {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-pack: center;\n justify-content: center;\n padding-right: .8rem;\n padding-left: .4rem;\n font-size: 1.5rem;\n}.inbox-item-icon-sm {\n font-size: .7rem;\n margin-left: -.5rem;\n padding-left: 0;\n padding-right: 0;\n}.inbox-item-footer {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n font-size: .7rem;\n color: #afbfc9;\n padding-top: .3rem;\n}.indicators-wrapper {\n border-radius: 3px;\n overflow: hidden;\n margin: .5rem;\n display: -ms-flexbox;\n display: flex;\n}.indicator {\n width: 25%;\n border: 1px solid #dee6ec;\n border-right: none;\n -ms-flex-direction: column;\n flex-direction: column;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n height: 130px;\n padding: 10px;\n overflow: hidden;\n}.indicator:last-child {\n border-right: 1px solid #dee6ec;\n}.indicator-value {\n font-size: 2.2rem;\n font-weight: bold;\n text-align: center;\n -ms-flex: 2;\n flex: 2;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: end;\n align-items: flex-end;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}.indicator-caption {\n float: right;\n font-weight: bold;\n font-size: 0.8rem;\n background: #f2f7fa;\n padding: 5px;\n}.indicator-kpi-caption {\n font-size: 0.8rem;\n text-align: center;\n -ms-flex: 1;\n flex: 1;\n vertical-align: middle;\n display: -ms-flexbox;\n display: flex;\n}@media screen and (max-width: 991px) {\n .indicator {\n border-right: 1px solid #dee6ec;\n width: calc(50% - 1rem);\n margin: .5rem;\n display: inline-block;\n text-align: center;\n padding: 20px;\n }\n .indicators-wrapper {\n margin: 0;\n display: block;\n }\n .indicator-value {\n display: block;\n }\n .indicator-kpi-caption {\n display: block;\n }\n}@media screen and (max-width: 768px) {\n .indicator {\n width: calc(100% - 1rem);\n height: 130px;\n }\n}.indicator-hidden {\n display: none;\n}.indicator iframe {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}.indicator:not(:first-of-type) {\n border-left: 1px solid #dee6ec;\n}.indicator-bar {\n height: 2px;\n}.indicator-saved {\n animation-name: indicator-saving;\n animation-duration: 1s;\n}.indicator-pending {\n background-color: #D0D2CE;\n animation-name: indicator-pending;\n animation-duration: 1s;\n}.indicator-error {\n animation-name: indicator-error;\n animation-duration: 1s;\n width: 100%;\n background-color: #e85667;\n}@keyframes indicator-pending {\n 0% {\n width: 0%;\n }\n 100% {\n width: 30%;\n }\n}@keyframes indicator-saving {\n 0% {\n width: 30%;\n background-color: #ADADAD;\n }\n 60% {\n width: 100%;\n background-color: #ADADAD;\n }\n 85% {\n width: 100%;\n background-color: #89d729;\n }\n 100% {\n width: 0%;\n background-color: transparent;\n }\n}@keyframes indicator-error {\n 0% {\n width: 30%;\n background-color: #ADADAD;\n }\n 60% {\n width: 100%;\n background-color: #ADADAD;\n }\n 85% {\n width: 100%;\n background-color: #e85667;\n }\n 100% {\n width: 100%;\n background-color: #e85667;\n }\n}/*\n* MAIN PROPERTIES\n*/table td:focus\n{\n outline-color: #4d5b65;\n outline-width:1px;\n outline-offset:0px;\n outline-style: inset;\n}.table-read-only *:focus {\n outline-width:0px;\n}textarea {\n resize: none;\n background: transparent;\n width: 100%;\n height:6.8rem;\n}::-webkit-input-placeholder {\n font-weight: normal;\n}:-ms-input-placeholder {\n font-weight: normal;\n}::placeholder {\n font-weight: normal;\n}input {\n background-color: transparent;\n color: #4d5b65;\n min-width: 50px;\n text-align: inherit;\n}.form-group-flex {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n}.form-group-flex-item {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: baseline;\n align-items: baseline;\n}.form-control:disabled {\n cursor: default !important;\n}.form-control-label {\n margin-top:.5rem;\n margin-bottom: .3rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}/*\n* CUSTOM BUTTONS\n*/button {\n position: relative;\n}.btn-flag {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n padding: .35rem .2rem;\n vertical-align: middle;\n color: #fff;\n background-color: #9BAFBC;\n border-radius: 3px 0 0 3px;\n text-align: center;\n}.btn-inline {\n display: inline-block;\n}.btn-icon {\n width: 32px;\n height: 32px;\n border-radius: 3px;\n border: 1px solid #C9D5DC;\n font-size: 16px;\n line-height: 32px;\n text-align: center;\n text-decoration: none !important;\n color: #4d5b65;\n}.btn-square {\n height: 54px;\n width: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n font-size: 18px;\n}.btn-xs {\n padding: .25rem .6rem;\n font-size: .65rem;\n line-height: 1.5;\n border-radius: .2rem;\n}.btn-sm {\n padding: .3125rem .6rem;\n font-size: .75rem;\n line-height: 1.5;\n border-radius: .2rem;\n}.btn-md {\n padding: .5rem 1.2rem;\n font-size: .875rem;\n line-height: 1.5;\n border-radius: .2rem;\n}.btn-disabled {\n pointer-events: none;\n}.btn-xs.dropdown-toggle {\n padding: .25rem;\n}.btn-meta-default {\n color: #9aafbd;\n background-color: #F8FAFB;\n border-color: #F8FAFB;\n}.btn-meta-default:hover {\n background-color: rgb(223, 232, 236);\n border-color: rgb(223, 232, 236);\n}.btn-meta-default-dark {\n color: #9aafbd;\n background-color: #F8FAFB;\n}.btn-meta-default-dark:hover {\n background-color: rgb(223, 232, 236);\n}.btn-meta-default-bright {\n color: #9aafbd;\n background-color: #fff;\n}.btn-meta-default-bright:hover {\n background-color: rgb(223, 232, 236);\n}.btn-meta-success{\n color: #fff;\n background-color: #89d729;\n border-color: #89d729;\n}.btn-meta-success:hover{\n background-color: rgb(123, 194, 36);\n border-color: rgb(123, 194, 36);\n}.btn-meta-inv-success{\n color: #89d729;\n background-color: #fff;\n border-color: #fff;\n}.btn-meta-inv-success:hover{\n background-color: #fff;\n border-color: #fff;\n}.btn-meta-primary {\n color: #fff;\n background-color: #9aafbd;\n border-color: #9aafbd;\n}.btn-meta-primary:hover{\n background-color: rgb(91, 120, 139);\n border-color: rgb(91, 120, 139);\n}.btn-meta-secondary {\n color: #fff;\n background-color: #C9D5DC;\n border-color: #C9D5DC;\n}.btn-meta-secondary:hover{\n background-color: rgb(91, 121, 139);\n border-color: rgb(91, 121, 139);\n}.btn-meta-outline-secondary {\n border: solid 1px #C9D5DC;\n color: #6b7b86;\n background-color: transparent;\n}.btn-meta-outline-secondary:hover {\n background-color: rgb(242, 242, 242);\n}.btn-distance {\n margin-right: .5rem;\n}.btn-distance-3 {\n margin-right: 1.5rem;\n}.btn-distance-rev {\n margin-left: .5rem;\n}.btn-flagged {\n padding-left: 1rem;\n}/*\n* CUSTOM CHECKBOX\n*/.input-checkbox {\n position: relative;\n display: inline-block;\n height: 18px;\n padding-left: 18px;\n cursor: pointer;\n margin-top: .5rem;\n margin-bottom: 0;\n}.table .input-checkbox {\n margin-top: 4px;\n height: 15px;\n}.input-checkbox input {\n position: absolute;\n z-index: -1;\n opacity: 0;\n}.input-checkbox-tick {\n position: absolute;\n left: 0;\n width: 18px;\n height: 18px;\n background: #fff;\n border:1px solid #C9D5DC;\n border-radius: 2px;\n}.input-checkbox input:checked ~ .input-checkbox-tick {\n background: #76b727;\n border-color: #76b727;\n}.input-checkbox input:disabled ~ .input-checkbox-tick {\n pointer-events: none;\n background: #ccc;\n border: 0;\n}.input-checkbox-tick:after {\n position: absolute;\n display: none;\n content: '';\n}.input-checkbox input:checked ~ .input-checkbox-tick:after {\n display: block;\n}.input-checkbox .input-checkbox-tick:after {\n top: 2px;\n left: 5px;\n width: 6px;\n height: 10px;\n transform: rotate(45deg);\n border: 2px solid #fff;\n border-width: 0 2px 2px 0;\n}.input-checkbox input:disabled ~ .input-checkbox-tick:after {\n border-color: #fff;\n}/*\n* CUSTOM SWITCH\n*/.input-switch {\n position: relative;\n display: inline-block;\n width: 44px;\n height: 22px;\n margin-top: .5rem;\n margin-bottom:0;\n}.input-switch:focus .input-slider {\n box-shadow: inset 0 0 5px #000;\n}.input-switch.input-table {\n height: 15px;\n width: 30px;\n margin-top: 0;\n}.input-switch input {\n display:none;\n}.input-slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n transition: .4s;\n border-radius: 24px;\n}.input-slider:before {\n position: absolute;\n content: '';\n height: 18px;\n width: 18px;\n left: 2px;\n bottom: 2px;\n background-color: white;\n transition: .4s;\n border-radius: 50%;\n}.input-table .input-slider:before {\n height:11px;\n width: 11px;\n left: 2px;\n}input:checked + .input-slider {\n background-color: #76b727;\n}input:focus + .input-slider {\n box-shadow: 0 0 1px #76b727;\n}input:checked + .input-slider:before {\n transform: translateX(22px);\n}.input-table input:checked + .input-slider:before {\n transform: translateX(15px);\n}/*\n* INPUT STATES\n*/.input-primary.input-mandatory {\n border: 2px solid #a8daf8 !important;\n}.input-secondary.input-mandatory {\n border-bottom: 2px solid #a8daf8 !important;\n}.input-auto {\n font-style: italic;\n}.input-primary, .input-secondary {\n margin-right:0;\n margin-left:0;\n padding: .3rem .50rem;\n display: inline-block;\n}.input-secondary {\n border-bottom: 1px solid #C9D5DC;\n color: #6b7b86;\n padding: .125rem .5rem;\n /* Margin top for depreciation of padding differences */\n margin-top: .3125rem;\n margin-bottom: .125rem;\n}.input-secondary input{\n color: #6b7b86;\n}.input-secondary .input-icon-right {\n color: #afbfc9;\n}.input-primary input\n.input-primary .input-rest {\n color: #4d5b65;\n}.input-secondary + .input-dropdown-list {\n border-top:0;\n}.input-primary {\n border: 1px solid #C9D5DC;\n border-radius: 3px;\n}.input-body-container {\n position: relative;\n}.input-error-popup {\n position: absolute;\n right:0;\n bottom: 100%;\n margin-bottom: .3rem;\n \n padding: .2rem .5rem;\n \n font-size: .7rem;\n color: #f67a89;\n background-color: #fff;\n border: 1px solid #f67a89;\n border-radius: 3px;\n}.input-error {\n border-color: #f67a89;\n}.input-error input {\n color: #e85667;\n}.input-error.input-primary, .input-error.input-primary * {\n border-color: #f67a89 !important;\n background-color: #fdf7f8 !important;\n}.input-error.input-primary .input-icon, .input-error.input-primary .meta-icon-preview {\n background: none !important;\n}.input-error.input-secondary, .input-error.input-secondary * {\n border-color: #f67a89 !important;\n}.input-secondary .input-icon {\n bottom: -3px;\n}.input-icon {\n bottom: -3px;\n position: relative;\n color: #afbfc9;\n}.input-editable {\n -ms-flex: 2 1 30%;\n flex: 2 1 30%;\n}.input-full {\n -ms-flex: 2 1 100%;\n flex: 2 1 100%;\n}.input-full .input-editable {\n -ms-flex: 4 1 30%;\n flex: 4 1 30%;\n}.input-full .input-rest {\n -ms-flex: 0 0 20%;\n flex: 0 0 20%;\n}.input-readonly {\n pointer-events: none;\n}.input-rest {\n text-align: right;\n -ms-flex: 1 1 50%;\n flex: 1 1 50%;\n white-space: nowrap;\n overflow: hidden;\n margin-right: 5px;\n display: -ms-flexbox;\n display: flex;\n}@media (max-width: 543px){\n .input-dropdown-container .input-dropdown{\n -ms-flex-direction: column;\n flex-direction: column;\n }\n .input-dropdown .input-icon {\n top: -9px;\n }\n .input-editable {\n -ms-flex: 1 1 50%;\n flex: 1 1 50%;\n -ms-flex-negative: 1;\n flex-shrink: 1;\n }\n .input-rest {\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: baseline;\n -ms-grid-row-align: baseline;\n align-items: baseline;\n\n }\n}.input-rest span {\n overflow: hidden;\n text-overflow: ellipsis;\n -ms-flex: 1 1 50%;\n flex: 1 1 50%;\n}.input-block {\n width: 100%;\n}.input-icon-container {\n position: relative;\n display: inline-block;\n padding-right: 0.5rem;\n}.input-icon-container .meta-icon-calendar {\n z-index: -1;\n}.input-icon-right{\n position: absolute;\n top: 2px;\n right: 5px;\n font-size:18px;\n}.input-icon-sm {\n font-size:10px;\n margin-right: 3px;\n margin-bottom: 5px;\n}.input-icon-lg {\n font-size: 16px;\n}.btn-icon-sm {\n font-size: 12px;\n margin-right:5px;\n}.btn-icon-md {\n font-size: 14px;\n margin-right:5px;\n}.form-group {\n position: relative;\n margin-bottom: 0.2rem;\n}.form-control {\n color: #6E7D87;\n background-color: transparent;\n font-size: 14px;\n padding: .375rem .25rem .1rem;\n}.form-control:disabled, .form-control[readonly] {\n background-color: transparent;\n}.form-control-meta {\n border-radius:0;\n border-width: 0 0 1px 0;\n border-color: #C9D5DC;\n padding-right: 1.5rem;\n font-style: normal;\n}.form-control-meta:focus {\n border-color: #C9D5DC;\n background-color: transparent;\n}.form-control-meta[type='number']::-webkit-outer-spin-button, .form-control-meta[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n}.input-dropdown-container {\n position: relative;\n cursor: pointer;\n min-width: 200px;\n}.input-dropdown-container-static {\n position: static;\n}.input-dropdown-container .input-dropdown {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n position:relative;\n}.input-dropdown-container:focus {\n outline-width: 0;\n}.input-dropdown-focused .input-toggled {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}.input-table .input-dropdown-list {\n margin-top:8px;\n margin-left:-14px;\n}.input-dropdown-list {\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index:99;\n border-width: 0 1px 1px 1px;\n border-style: solid;\n border-color: #C9D5DC;\n max-height: 357px;\n height: auto;\n overflow-y: auto;\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n}.input-field {\n border: 0;\n width: 100%;\n outline-width:0;\n cursor: inherit;\n}.input-dropdown-list-header {\n background-color: #f2f7fa;\n padding: .25rem .50rem;\n font-size: .8rem;\n}.input-dropdown-list-option {\n padding: .25rem .50rem;\n cursor: pointer;\n position: relative;\n}.input-dropdown-list-option:not(:first-of-type) {\n border-top: 1px solid #C9D5DC;\n}.input-dropdown-list-option-alt {\n font-size: .8rem;\n font-weight:bold;\n}.input-dropdown-list-option:hover, .input-dropdown-list-option-key-on {\n background-color: #9aafbd;\n color: #fff;\n}.input-dropdown-list-option p {\n margin:0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}.input-dropdown-item-title {\n margin-bottom: 6px;\n font-weight: 500;\n}.input-dropdown-item-subtitle {\n font-size: .75rem;\n}input[type=checkbox]:disabled, input[type=radio]:disabled {\n cursor: default;\n}.form-flex-align {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n margin-bottom: .5rem;\n -ms-flex-align: center;\n align-items: center;\n\n -ms-flex:1;\n\n flex:1;\n}.form-flex-align > *:not(:last-child){\n margin-right: .5rem;\n}.form-flex-align input {\n -ms-flex: 2 1 auto;\n flex: 2 1 auto;\n}.input-disabled {\n opacity: .5;\n}.input-flex {\n width: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}.attributes {\n position: static;\n padding-top: 4px;\n display: block;\n min-width: 5rem;\n max-width: 10rem;\n}.attributes-in-table {\n padding:0;\n}.attributes-in-table .tag {\n padding: .095rem .3rem;\n}.attributes::-moz-selection {\n background-color: none;\n color: inherit;\n}.attributes::selection {\n background-color: none;\n color: inherit;\n}.attributes-dropdown {\n position: absolute;\n z-index: 50;\n margin-top:5px;\n width: 450px;\n}.quick-input-container {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex:1;\n flex:1;\n}.quick-input-container > * {\n margin:0;\n -ms-flex:2;\n flex:2;\n}.quick-input-container .hint {\n -ms-flex:1;\n flex:1;\n}.quick-input-container > *:first-of-type {\n -ms-flex:4;\n flex:4;\n}.btn-select {\n background: #9aafbd;\n color: white;\n}.btn-filter:hover {\n background: #9aafbd;\n color: white;\n}.btn-active {\n background: #1d4776;\n color: white;\n}.btn-active:hover {\n background: #1d4776;\n color: white;\n}.btn i {\n padding-right: 4px;\n vertical-align: middle;\n}.input-table .input-field {\n background: white;\n height: 20px;\n font-weight: normal;\n}.input-table .input-secondary {\n margin: 0;\n border-bottom: 0;\n}.input-table .input-secondary, .input-table .input-dropdown {\n padding: 0;\n}.form-group-table {\n margin-bottom: 0;\n}.input-table .input-disabled input, .input-table .input-mandatory input {\n background: transparent;\n}.input-dropdown-focused input {\n background-color: transparent;\n}.cell-mandatory:focus {\n outline: 1px solid #a8daf8;\n}.cell-disabled:focus {\n outline: 1px dashed #cbcbcb;\n}.rdtPicker {\n left: -.75rem;\n margin-top: 7px;\n}.rdtPicker table {\n margin: 0;\n}.input-table .input-dropdown .input-field {\n background: transparent;\n color: #4d5b65;\n font-style: italic;\n}.input-table .input-dropdown {\n border: none;\n}table .List .input-dropdown-item-title {\n font-weight: normal;\n}.input-disabled .input-field::-webkit-outer-spin-button, .input-disabled .input-field::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}.input-disabled .meta-icon-calendar {\n display: none;\n}table .input-secondary .input-icon-right {\n color: #7180b6;\n}table .input-icon {\n color: #7180b6;\n}.table .rdtPicker thead th {\n background-color: white;\n color: #6b7b86;\n}.table.table-bordered-vertically .rdtPicker td {\n border-right: 0;\n}.table-striped tbody .rdtPicker tr:nth-of-type(odd) {\n background-color: white;\n}table .rdtPicker tbody {\n background-color: white;\n}table .rdtPicker td, .rdtPicker th {\n height: 28px;\n}table .rdtPicker table td, .rdtPicker table th {\n vertical-align: middle;\n padding: 0;\n}.Lookup .input-icon {\n height: 16px;\n bottom: 0;\n}.notification-handler {\n position: fixed;\n top: 55px;\n right: 10px;\n width: 300px;\n z-index: 800;\n text-align: right;\n}.notification-item {\n text-align: left;\n width: 100%;\n overflow: hidden;\n word-wrap: break-word;\n display: inline-block;\n border: 2px solid red;\n border-radius: 3px;\n margin-bottom: 10px;\n margin-top: 10px;\n background: white;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24);\n padding: 10px 15px 10px 13px;\n position: relative;\n}.notification-item.primary {\n border: 2px solid #1d4776;\n}.notification-item.primary .notification-header {\n color: #1d4776;\n}.notification-item.success {\n border: 2px solid #76b727;\n}.notification-item.success .notification-header {\n color: #76b727;\n}.notification-item.warning {\n border: 2px solid #e5bf26;\n}.notification-item.warning .notification-header {\n color: #e5bf26;\n}.notification-item.error {\n border: 2px solid #f67a89;\n}.notification-item.error .notification-header {\n color: #f67a89;\n}.notification-item i {\n position: absolute;\n top: 5px;\n right: 5px;\n color: #C9D5DC;\n font-weight: 400;\n font-size: 12px;\n cursor: pointer;\n}.notification-header {\n font-weight: 500;\n}.notification-content {\n line-height: 1.2em;\n font-size: 14px;\n}.notif-animate {\n opacity: 1;\n transition: all 0.5s;\n}.panel {\n display: block;\n width: 100%;\n}.panel:focus {\n /*outline:none;*/\n}.panel-modal {\n max-width: 90%;\n height: 90vh;\n}.panel-modal-primary {\n background-color: #F8FAFB;\n}.panel-distance {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n}.row:first-child .panel-distance:first-child {\n margin-top: 2.25rem;\n}.panel-distance:last-child {\n margin-bottom: 0;\n}.panel-distance.panel-secondary {\n margin: 0;\n}.row:first-child .panel-distance.panel-secondary:first-child {\n margin-top: 2.25rem;\n}.panel-spaced {\n padding: 1rem 1.25rem 1.25rem 1.25rem;\n}.panel-spaced-sm {\n padding: .75rem .5rem;\n}.panel-spaced-lg {\n padding: 2rem 2rem;\n}.panel-bordered {\n border: 1px solid;\n border-radius: 3px;\n}.panel-shadowed {\n box-shadow: 0 2px 5px rgba(0, 0, 0, .1);\n}.panel-bordered-force {\n overflow: auto;\n}.panel-primary {\n border-color: #dee6ec;\n background-color: #FFF;\n}@media (max-width: 543px) {\n .panel-distance {\n margin-top: .5rem;\n margin-bottom: .5rem;\n }\n .panel-spaced {\n padding: .5rem;\n }\n}.panel-modal-header {\n position: relative;\n z-index: 500;\n width: 100%;\n height: 75px;\n color: #9aafbd;\n border-bottom: 1px solid #dee6ec;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 2rem;\n box-shadow: none;\n transition: all 0.2s ease;\n}.panel-modal-content {\n position: relative;\n padding-top: 1.5rem;\n max-height: calc(100% - 77px);\n min-height: calc(100% - 100px);\n width: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n color: #4d5b65;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.panel-modal-header-title {\n font-size: 1.5rem;\n font-weight: 500;\n color: #4d5b65;\n}.panel-inline>* {\n display: inline-block;\n}.panel-title {\n margin-bottom: .625rem;\n}.panel-title-spaced {\n margin-top: 1.5rem;\n}.panel-prompt {\n width: 450px;\n height: 200px;\n border: solid 0 #dee6ec;\n}.panel-prompt-header {\n box-shadow: none;\n padding: 0 1rem;\n height: 50px;\n}.panel-prompt-header i {cursor: pointer;}.panel-prompt-content {\n height: calc(100% - 100px);\n padding: 1.1rem;\n}.panel-prompt-footer {\n border-top: 1px solid #dee6ec;\n border-bottom: none;\n}.panel-prompt-header-title {\n font-size: 1.1rem;\n}.panel-prompt-footer .btn-sm {\n min-width: 74px;\n}.prompt-button-wrapper {\n width: 100%;\n text-align: right;\n}.overlay-field {\n background: rgba(255,255,255,0.8);\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 500;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.overlay-field .form-group {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n}.overlay-field input {\n text-align: center;\n font-size: 60px;\n}.overlay-field .form-control-label {\n font-size: 30px;\n text-align: center;\n}.table {\n margin-bottom: 0;\n}.table *::-moz-selection{\n background-color: transparent;\n color: #4d5b65;\n}.table *::selection{\n background-color: transparent;\n color: #4d5b65;\n}.table .input-body-container *::-moz-selection {\n background-color: #9aafbd;\n color: #fff;\n}.table .input-body-container *::selection {\n background-color: #9aafbd;\n color: #fff;\n}.table tbody+tbody {\n border-top: 0;\n}.table thead th {\n border: 0;\n background-color: #9BAFBC;\n color: #fff;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n vertical-align: middle;\n}.table .col-xs-12, .table .col-sm-12 {\n position: static;\n}.table.table-bordered-horizontally td {\n border-bottom: 1px solid #dee6ec;\n}.table.table-bordered-vertically td:not(:last-child) {\n border-right: 1px solid #dee6ec;\n}.table-hide-property {\n display: none;\n}.table td, .table th {\n padding: .50rem .75rem;\n height: 42px;\n}.table td {\n cursor: pointer;\n border-top: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding-top: 0;\n padding-bottom: 0;\n vertical-align: middle;\n}.table td span {\n pointer-events: none;\n}/*\n * Feel really sorry about that, but it is hard to get over \n * table styles in bootstrap and avoid !important.\n */.table-striped tbody tr {\n border-left: 3px solid transparent;\n}.table-striped tbody tr.tr-odd:nth-child(even) {\n background-color: #f2f7fa;\n}.table-striped tbody tr.tr-odd:nth-child(odd) {\n background-color: #fff;\n}.table-striped tbody tr.tr-even:nth-last-child(odd) {\n background-color: #f2f7fa;\n}.table-striped tbody tr.tr-even:nth-last-child(even) {\n background-color: #fff;\n}.table-striped tbody tr.tr-even.row-disabled, .table-striped tbody tr.tr-odd.row-disabled {\n background-color: #f3f3f3;\n color: #a9a9a9;\n}.table-striped tbody tr.tr-even.row-boundary, .table-striped tbody tr.tr-odd.row-boundary {\n border-bottom: 2px solid #ddd;\n}.row-not-saved {\n background-color: #FEDADA !important;\n}.row-selected {\n background-color: #d5e3ec !important;\n}.row-selected.row-not-saved {\n border-left: 3px solid #e78484;\n}.table-sub-summary-row {\n background-color: #fff !important;\n border-top: 1px solid #9BAFBC;\n}.table-total-summary-row {\n background-color: #9BAFBC;\n color: #fff;\n text-transform: uppercase;\n}.table-total-summary-row td {\n border: 0;\n}.table-footer-header {\n background-color: #bdd0dc;\n color: #fff;\n font-weight: bold;\n}.table-input-inline {\n border: 0;\n outline-width: 0;\n width: 100%;\n height: 20px;\n color: #4d5b65;\n background-color: #fff;\n text-align: center;\n}.table-flex-wrapper {\n -ms-flex-positive: 1;\n flex-grow: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.table-flex-wrapper-row {\n -ms-flex-direction: row;\n flex-direction: row;\n}.row-bordered-bottom td {\n border-bottom: 1px solid;\n}.row-bordered-bright td {\n border-color: #C9D5DC;\n}.row-bordered-dark td {\n border-color: #4d5b65;\n}.row-bordered-mod td:nth-child(1) {\n border: 0;\n}.product-order-summary {\n width: 100%;\n}.product-order-summary td {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem;\n}.product-order-summary td:nth-child(1) {\n width: 15%;\n}.product-order-summary td:nth-child(2) {\n width: 30%;\n}.product-order-summary td:nth-child(3) {\n width: 30%;\n text-align: right;\n}.product-order-summary td:last-child {\n text-align: right;\n}.product-order-summary tr:last-child {\n font-weight: bold;\n font-size: 1rem;\n}.table-filter-line {\n height:3rem;\n}/* Pagination */.page-item.active .page-link, .page-item.active .page-link:focus, .page-item.active .page-link:hover {\n background-color: #9aafbd;\n border-color: #9aafbd;\n}.page-link {\n min-width: 38px;\n text-align: center;\n}.page-link-compressed{\n border:0;\n background-color: transparent;\n padding: .1rem .3rem;\n}.page-item.active .page-link-compressed {\n background-color: transparent;\n font-weight: bold;\n color: #4d5b65;\n}th {\n font-weight: 500;\n position: relative;\n}.empty-info-text {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 200px;\n}.empty-info-text div {\n text-align: center;\n}.table td {\n width: 75px;\n position: relative;\n}.th-lg {\n width: 200px;\n}.th-md {\n width: 100px;\n}.th-sm {\n min-width: 60px;\n max-width: 100px;\n}.table .td-lg {\n width: 225px;\n max-width: 225px;\n}.td-lg .input-dropdown-list {\n width: 225px;\n}.table .td-md {\n width: 144px;\n max-width: 144px;\n}.td-lg .input-dropdown-list {\n width: auto;\n}.pagination {\n margin-top: 0;\n margin-bottom: 0;\n}.pagination-row {\n margin: 1rem;\n font-size: .7rem;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}.order-list-panel-body .pagination-wrapper {\n padding: 0 10px;\n}.order-list-panel-body .page-link {\n padding: .4rem .65rem;\n}.pagination-part {\n text-align: right;\n}.pagination-part>*:not(:last-of-type) {\n margin-right: 1rem;\n}.pagination-link {\n text-decoration: underline;\n}.table.table-bordered-vertically td.indented {\n min-width:0;\n border-right:0;\n padding-top:0;\n padding-bottom:0;\n line-height: 42px;\n vertical-align: middle;\n}/* INDENT SIGN ================ */.indent {\n position: relative;\n height: 42px;\n}.indent-item-mid, .indent-icon, .indent-bot, .indent-mid {\n display: inline-block;\n width: 20px;\n height: 42px;\n vertical-align: middle;\n}.indent-item-mid{\n padding-left:6px;\n}.indent-item-mid .indent-sign {\n top: 0;\n left: 0;\n width: 1px;\n height: 42px;\n border-left: 1px solid #afbfca;\n}.indent-item-mid .indent-sign.indent-sign-bot {\n height: 18px;\n}.indent-mid {\n position: absolute;\n top: 18px;\n width: 5px;\n height: 1px;\n border-top: 1px solid #afbfca;\n}.indent-bot {\n position: absolute;\n bottom:-1px;\n margin-left: 6px;\n width: 1px;\n height: 6px;\n border-left: 1px solid #afbfca;\n}/* END OF INDENT SIGN ============ */.indent-item {\n right:18px;\n top:16px;\n\n width:5px;\n height:1px;\n border-top: 1px solid #afbfca;\n}.indent-root {\n right: 8px;\n bottom: 0;\n\n width:1px;\n height: 6px;\n border-left: 1px solid #afbfca;\n}.indent-parent {\n right: 8px;\n top: 0;\n\n width:1px;\n height: 6px;\n border-left: 1px solid #afbfca;\n}.document-list-table {\n -ms-flex: 2.6;\n flex: 2.6;\n}.nav-tabs {\n display: -ms-flexbox;\n display: flex;\n}.nav-tabs .nav-link {\n border: 1px solid #dee6ec;\n background-color: #fdfdfd;\n cursor: pointer;\n padding: .6rem 1.2rem;\n font-weight: 400;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}.nav-tabs .nav-item.nav-item {\n margin-right: .5rem;\n margin-left: 0;\n}.nav-tabs .nav-link.active {\n font-weight: 500;\n}.tab-content {\n border: 1px solid;\n border-color: transparent #dee6ec #dee6ec #dee6ec;\n background-color: #fff;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n padding: 1rem 1.2rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}.tabs-fullscreen {\n position: fixed;\n top: 55px;\n left: 0;\n width: 100%;\n height: calc(100% - 55px);\n background-color: #fff;\n z-index: 99;\n}.tabs-fullscreen.container-fluid {\n height: calc(100% - 55px);\n}.tab-pane {\n display: none;\n}.tab-pane.active {\n -ms-flex-positive: 1;\n flex-grow: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.tab-pane .panel:not(.panel-prompt):not(.table-content-empty) {\n padding-bottom: 100px;\n}.tab-pane .input-dropdown-list {\n max-height: 100px;\n}.tab-pane tbody tr:last-child {\n border-bottom: 1px solid #dee6ec;\n}.tabs-wrapper, .tabs-wrapper>div {\n -ms-flex-positive: 1;\n flex-grow: 1;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.tag {\n padding: .25rem .6rem;\n font-size: .65rem;\n line-height: 1.5;\n border-radius: .2rem;\n color: #fff;\n display: inline-block;\n font-weight: 500;\n}.tag-disabled {\n pointer-events: none;\n}.tag-block {\n display: block;\n text-overflow: ellipsis;\n overflow: hidden;\n}.tag-success {\n background-color: #89d729;\n}.tag-primary {\n background-color: #1d4776;\n}.tag-default {\n background-color: #dfe5ec;\n color: #4d5b65;\n}.tag-warning {\n background-color: #fd8b0f;\n}.tag-error {\n background-color:#f67a89;\n color: #fff;\n}.tag-secondary {\n background-color: #80909a;\n color: #fff;\n}.tag-sm {\n font-size: .6rem;\n padding: 0 .3rem;\n position: relative;\n top:-2px;\n}.tag-lg {\n font-size: .75rem;\n}.tag-xlg {\n padding: .344rem .6rem;\n\n font-size: .9rem;\n font-weight: normal;\n}.quick-actions-tag {\n max-width: 180px;\n min-width: 160px;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: middle;\n}@media (max-width: 543px){\n .quick-actions-tag {\n max-width: 120px;\n min-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: middle;\n }\n}.tooltip-wrapp {\n background: white;\n color: #6b7b86;\n font-size: 10px;\n border: 1px solid #d5e5f0;\n padding: 5px;\n text-align: center;\n z-index: 200;\n border-radius: 3px;\n position: absolute;\n top: 110%;\n left: 50%;\n width: 80px;\n margin-left: -40px;\n}.header-breadcrumb > .tooltip-wrapp {\n display: block;\n overflow: visible;\n}.tooltip-home-menu {\n left: 25px;\n}.tooltip-wrapp:after {\n position: absolute;\n content: '';\n width: 0;\n height: 0;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-bottom: 6px solid white;\n bottom: 100%;\n left: 50%;\n margin-left: -4px;\n}.tooltip-wrapp:before {\n position: absolute;\n content: '';\n width: 0;\n height: 0;\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-bottom: 8px solid #d5e5f0;\n bottom: 100%;\n left: 50%;\n margin-left: -6px;\n}.tooltip-right:after {\n border-top: 4px solid transparent;\n border-right: 6px solid white;\n border-bottom: 4px solid transparent;\n bottom: 50%;\n left: auto;\n right: 100%;\n margin-left: auto;\n margin-bottom: -4px;\n}.tooltip-right:before {\n border-top: 6px solid transparent;\n border-right: 8px solid #d5e5f0;\n border-bottom: 6px solid transparent;\n bottom: 50%;\n left: auto;\n right: 100%;\n margin-left: auto;\n margin-bottom: -6px;\n}.tooltip-shortcut {\n font-weight: bold;\n}.tooltip-name {\n opacity: 0.5;\n white-space: normal;\n}.tooltip-parent {\n position: relative;\n}.tooltip-inline {\n color: #6b7b86;\n font-size: 10px;\n float: right;\n opacity: 0.5;\n font-weight: bold;\n}.tooltip-extended {\n position: absolute;\n display: none;\n width: 480px;\n z-index: 100;\n}.tooltip-extended-show {\n display: block;\n}.tooltip-extended-right {\n left: 100%;\n}.tooltip-arrowed:after, .tooltip-arrowed:before {\n content: '';\n display: block;\n position: absolute;\n right: 100%;\n top: 50%;\n width: 0;\n height: 0;\n border-style: solid;\n}.tooltip-arrowed:before {\n margin-top: -5px;\n border-color: transparent #c9d5dc transparent transparent;\n border-width: 9px;\n}.tooltip-arrowed:after {\n margin-top: -4px;\n border-color: transparent #fff transparent transparent;\n border-width: 8px;\n}.tooltip-primary {\n border-radius: 3px;\n background-color: #ffffff;\n border: solid 1px #c9d5dc;\n padding: 20px;\n}.image-source-options {\n margin: 0 .5rem .5rem .5rem;\n}.image-source-options .input{\n display: none;\n}.image-source-options [class^=meta-icon]{\n float: left;\n font-size: 1rem;\n}.image-source-options [class^=meta-icon]:before{\n float: left;\n}.image-placeholder{\n width: 200px;\n height: 150px;\n border: solid 1px #C9D5DC;\n border-radius: 4px;\n margin: 0 .5rem;\n display: table;\n}.image-placeholder .placeholder-value{\n display: table-cell;\n vertical-align: middle;\n text-align: center;\n}.camera-preview{\n position: fixed;\n bottom: 7.5%;\n right: 50%;\n margin-right: -50%;\n width: 100%;\n height: 85%;\n cursor: pointer;\n z-index:1000;\n text-align: center;\n}.camera-preview video{\n width: auto;\n height: 100%;\n}.camera-preview .preview-loader{\n opacity: 0;\n background-color: rgba(0, 0, 0, .5);\n transition: opacity .2s;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}.camera-preview.loading .preview-loader{\n opacity: 1;\n}.image-widget {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n}.image-preview {\n width: 200px;\n}/**\n* IMPORTANT NOTE\n*\n* Layers\n* - 0 - default - all static elements like tables or forms\n* - < 100 - elements that are over static content (order list)\n* - 100 - header\n* - 200 - backdrop\n* - 200 < - elements that are over backdrop (header expanded)\n* - 400 - screen-freeze\n*/body {\n background-color: #F8FAFB;\n color: #4d5b65;\n font-size: 14px;\n font-family: 'Roboto', sans-serif;\n}*::-moz-selection {\n background-color: #9aafbd;\n color: #fff;\n}*::selection {\n background-color: #9aafbd;\n color: #fff;\n}.container-fluid {\n padding-left: 3rem;\n padding-right: 3rem;\n height: 100%;\n}.container-fluid-subheader {\n padding-right: 0;\n}@media (max-width: 768px) {\n .container-fluid {\n padding-left: .5rem;\n padding-right: .5rem;\n }\n .row {\n margin-left: -0.5rem;\n margin-right: -0.5rem;\n }\n [class^='col-'], [class*=' col-'] {\n padding-left: .5rem;\n padding-right: .5rem;\n }\n}.window-wrapper {\n min-height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}.sections-wrapper {\n -ms-flex-positive: 0;\n flex-grow: 0;\n}/*\n* Extension for bootstrap grid\n*/@media (min-width: 1900px) {\n .container {\n max-width: 1824px;\n }\n}.text-brand {\n font-weight: 700;\n color: #9aafbd;\n}.context-menu {\n position: fixed;\n display: none;\n width: 150px;\n background-color: #fff;\n left: 0;\n top: 0;\n outline-width: 0;\n font-size: .75rem;\n font-weight: normal;\n color: #4d5b65;\n box-shadow: 0 0 6px rgba(0, 0, 0, .1);\n z-index: 3;\n}.context-menu-open {\n display: block;\n}.context-menu-item {\n cursor: pointer;\n padding: .5rem .5rem;\n}.context-menu-item:hover {\n background-color: #9aafbd;\n color: #fff;\n}.context-menu-item:last-of-type {\n margin: 0;\n}.backdrop {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 200;\n}.order-list-panel {\n position: fixed;\n display: none;\n top:96px;\n height: calc(100% - 96px);\n width: 472px;\n background-color: #fff;\n border-left: 1px solid #dee6ec;\n z-index: 201;\n right: 0;\n bottom: 0;\n overflow-y: scroll;\n overflow-x: hidden;\n}@media (max-width: 543px) {\n .order-list-panel {\n width: 100%;\n height: calc(100% - 80px);\n }\n}.order-list-panel-open {\n display: block;\n}.order-list-panel-header {\n padding-left: 10px;\n}.order-list-panel-icon {\n margin: 12px 5px;\n}.order-list-panel-body {\n font-size: 12px;\n}.order-list-panel-body .subheader-item, .order-list-panel-body .subheader-caption {\n font-size: 14px;\n}.order-list-nav {\n position: fixed;\n z-index: 201;\n width: 472px;\n background: #fff;\n top: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n border-bottom: 1px solid #C9D5DC;\n}.order-list-btn{\n -ms-flex:1;\n flex:1;\n text-align: center;\n font-size: 1rem;\n padding: .5rem 0;\n cursor: pointer;\n}.order-list-btn.active, .order-list-btn.active:hover {\n color: #fff;\n background-color: #C9D5DC;\n}.order-list-btn:hover {\n background-color: #f2f7fa;\n}.order-list-btn:not(:last-child){\n border-right: 1px solid #C9D5DC;\n}.order-list-loader {\n margin: 1rem;\n}.sm {\n font-size: 0.75rem;\n}.meta-dropdown-toggle i {\n margin-left: .4rem;\n margin-top: .2rem;\n font-size: .6rem;\n}.dropdown-status-toggler {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 1.2rem;\n cursor: pointer;\n position: relative;\n border-bottom: 1px solid transparent;\n height: 55px;\n}.dropdown-status-toggler .tag {\n padding: .3rem 1.5rem;\n}.dropdown-status-toggler:hover, .dropdown-status-toggler:focus {\n background-color: #eef2f7;\n\n border-bottom: 1px solid #dee6ec;\n outline-width: 0;\n}.dropdown-status-toggler.dropdown-status-open {\n background-color: #eef2f7;\n}.dropdown-status-toggler.dropdown-status-open .dropdown-status-list {\n display: block;\n}.dropdown-status-list {\n position: absolute;\n display: none;\n left: 0;\n top: calc(100% + 1px);\n list-style-type: none;\n padding: 0;\n background-color: inherit;\n min-width: 100%;\n width: auto;\n z-index: 99;\n}.dropdown-status-item {\n padding: 8px 10px;\n}.dropdown-status-item:hover, .dropdown-status-item.dropdown-status-item-on-key {\n background-color: #dfe5ec;\n}.dropdown-status-item-def-1 {\n background-color: #89d729;\n color: #fff;\n}.dropdown-status-item-def-1:hover, .dropdown-status-item-def-1.dropdown-status-item-on-key {\n background-color: #76b727;\n}.dropdown-status-item-def {\n background-color: #1d4776;\n color: #fff;\n}.dropdown-status-item-def:hover, .dropdown-status-item-def.dropdown-status-item-on-key {\n background-color: #16365b;\n}.dropdown-status-toggler .meta-icon-chevron {\n margin-top: 1px;\n}.items-row {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: end;\n align-items: flex-end;\n}.items-row-2 {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}.items-col-bottom {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -ms-flex-align: end;\n align-items: flex-end;\n height: 100%;\n}.meta-icon-primary {\n color: #1d4776;\n}.meta-icon-success {\n color: #89d729;\n}.meta-icon-default {\n color: #eef2f7;\n}.elements-line {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: stretch;\n align-items: stretch;\n}.elements-line>* {\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}.screen-freeze {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 400;\n background-color: rgba(18, 18, 18, .7);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n color: #fff;\n pointer-events: visible;\n}.screen-freeze-behind {\n overflow: hidden;\n}.screen-prompt-freeze {\n background-color: transparent;\n}.rotate {\n display: inline-block;\n animation: rotation 2s linear infinite;\n text-align: center;\n}.icon-rotate {\n width: 1rem;\n height: 1rem;\n}@keyframes rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}.pointer {\n cursor: pointer;\n}.document-list-wrapper {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -ms-flex-direction: column;\n flex-direction: column;\n min-height: 100%;\n}.document-list-included {\n -ms-flex: 2;\n flex: 2;\n margin-left: .1rem;\n overflow: auto;\n overflow-x: hidden;\n}.document-list-header {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}.document-list-header > * {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.document-list-header > *:not(:last-child) {\n margin-right: .5rem;\n}.document-list-body {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -ms-flex-direction: column;\n flex-direction: column;\n}.map-tree-wrapper {\n padding-top: 55px;\n}.map-tree-wrapper .subheader-container {\n top: 55px;\n}.nav-tree-children {\n padding-left: 20px;\n}.nav-tree-item {\n padding-top: 10px;\n display: inline-block;\n}.nav-tree-header {\n font-weight: 500;\n text-transform: uppercase;\n}.header-super-faded {\n box-shadow: none;\n transition: all 0.2s ease;\n}.header-shadow {\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24);\n}.overlay-shadow {\n box-shadow: 0 5px 15px 0 rgba(165, 165, 165, 0.8);\n}.breadcrumbs-shadow {\n box-shadow: 0 6px 10px 0 rgba(165, 165, 165, 0.8);\n}.prompt-shadow {\n box-shadow: 0 0 30px 0 rgba(165, 165, 165, 0.8);\n}.meta-icon-checkbox {\n color: rgba(107, 123, 134, 0.2);\n}.table .YesNo i {\n height: 14px;\n display: inline-block;\n}.column-wrapper {\n column-count: 2;\n}@media (max-width: 543px) {\n .column-wrapper {\n column-count: 1;\n }\n}.font-weight-semibold {\n font-weight: 500;\n}.input-dropdown-item-title {\n font-weight: 400;\n}.ico-home {\n width: 16px;\n height: 16px;\n min-width: 20px;\n display: inline-block;\n position: relative;\n top: 2px;\n}.ico-home i:before {\n font-size: 15px;\n}.notification-number {\n width: 15px;\n height: 15px;\n background: #e85667;\n color: #fff;\n font-size: 8px;\n display: inline-block;\n vertical-align: middle;\n line-height: 16px;\n text-align: center;\n border-radius: 50%;\n position: absolute;\n top: -5px;\n right: 10px;\n}.queried-result {\n width: 100%;\n display: block;\n}.tree-link {\n font-size: 12px;\n position: absolute;\n right: 20px;\n bottom: 15px;\n}@media (max-width: 543px) {\n .tree-link {\n position: static;\n }\n}.search-wrapper {\n padding-top: 20px;\n}.query-results .query-results {\n display: inline-block;\n}.query-results .menu-overlay-expanded-link {\n display: inline;\n margin: 0;\n}.query-results .menu-overlay-expand {\n margin-left: 0 !important;\n}.query-caption {\n display: inline;\n}.header-breadcrumb .menu-overlay-query .menu-overlay-expand {\n margin-left: 0 !important;\n}.query-results .menu-overlay-expanded-link:hover {\n border-bottom: none;\n}.query-results .menu-overlay-expand:hover {\n border-bottom: none;\n}.query-results .menu-overlay-link:hover {\n border-bottom: none;\n}.menu-overlay-query .menu-overlay-expand:hover {\n border-bottom: none;\n}.menu-overlay-query .menu-overlay-expand {\n border-bottom: none;\n}.menu-overlay-query .menu-overlay-link {\n border-bottom: none;\n}.query-results .query-results:hover {\n border-bottom: none;\n}.query-clickable-group {\n border-bottom: 1px solid transparent;\n cursor: pointer;\n}.query-clickable-group:hover {\n border-bottom: 1px dashed #467799;\n}.query-clickable-link {\n border-bottom: 1px solid transparent;\n cursor: pointer;\n}.query-clickable-link:hover {\n border-bottom: 1px solid #467799;\n}.group-header {\n width: 100%;\n}.header-breadcrumb .menu-overlay .menu-overlay-expand {\n margin-left: 0 !important;\n}.map-tree-wrapper .input-field {\n margin-left: .3rem;\n}.map-tree-wrapper .input-primary {\n background-color: #fff;\n}.page-dots {\n position: relative;\n}.page-dots-open {\n padding: 6px;\n border: 1px solid #C9D5DC;\n position: absolute;\n bottom: calc(100% + 10px);\n left: 0;\n margin-left: -26px;\n background-color: #f2f7fa;\n text-align: center;\n border-radius: 10px;\n width: 80px;\n}.page-dots-open input {\n background: #fff;\n border: 1px solid #C9D5DC;\n width: 100%;\n}.page-dots-open span {\n font-weight: 500;\n padding-bottom: 4px;\n display: inline-block;\n}.page-link {\n float: none;\n}.dashboard {\n border: none;\n width: 100%;\n height: 100%;\n min-height: 500px;\n}.fullscreen {\n height: 100%;\n}html {\n height: 100%;\n}body {\n height: calc(100% - 62px);\n}#root, #root>div, .root-children, .root-children>div {\n height: 100%;\n}.sort-menu {\n cursor: pointer;\n width: 100%;\n line-height: 22px;\n vertical-align: middle;\n}.sort-menu .sort-ico {\n height: 15px;\n cursor: pointer;\n color: #4d5b65;\n opacity: 0;\n display: inline-block;\n padding: 0 10px;\n vertical-align: middle;\n}.sort-menu .th-caption {\n color: white;\n vertical-align: middle;\n}.sort-menu .sort {\n color: white;\n opacity: 1;\n}.sort-menu:hover .th-caption {color: #4d5b65;text-decoration: underline;}.sort-menu:hover .sort-ico {color: #4d5b65;}th {\n position: relative;\n}.rotate-90 {\n transform: rotate(180deg);\n}.sort.rotate-90 {\n text-align: left;\n}.pulse-on {\n background: #FDFBD4 !important;\n transition: all .33s;\n}.pulse-off {\n transition: all 1.33s;\n}td.pulse-on input {\n background: transparent !important;\n}td.pulse-off input {\n background: transparent !important;\n}.filter-wrapper {\n position: relative;\n display: inline-block;\n}.filter-menu {\n border: 1px solid #C9D5DC;\n background: white;\n border-radius: 3px;\n display: inline-block;\n position: absolute;\n z-index: 4;\n left: 0;\n top: 31px;\n list-style: none;\n padding: 0;\n margin: 0;\n}.filter-widget {\n padding: 8px 13px 12px 13px;\n min-width: 480px;\n}.filter-menu li {\n padding: 7px 13px;\n cursor: pointer;\n white-space: nowrap;\n}.filter-menu li:hover {\n background: #9aafbd;\n color: white;\n}.filter-clear {\n font-size: 11px;\n color: #7180b6;\n cursor: pointer;\n vertical-align: middle;\n float: right;\n}.filter-clear i {\n font-size: 15px;\n vertical-align: middle;\n}.filter-active {\n font-weight: 500;\n}.filter-content {\n padding-top: 10px;\n}.login-container {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n height: 100%;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}.login-form {\n width: 20%;\n min-width: 300px;\n}.login-form > div {\n position: relative;\n}.filter-btn-wrapper {\n text-align: right;\n padding-top: 10px;\n}.dashboard-wrapper {\n padding-top: 10px;\n}.dashboard-cards-wrapper {\n width: 100%;\n height: 100%;\n}.dashboard-logo-wrapper {\n -ms-flex-pack: center;\n justify-content: center;\n}.cell-text-wrapper {\n overflow: hidden;\n text-overflow: ellipsis;\n}.icon-sm {\n font-size: 15px;\n padding-top: 3px;\n}.icon-lg {\n font-size: 18px;\n}.hint {\n font-size: .75rem;\n color: #afbfc9;\n}.spacer-right {\n margin-right: .2rem;\n}.quick-actions-wrapper {\n position: relative;\n display: -ms-flexbox;\n display: flex;\n}.quick-actions-dropdown {\n position: absolute;\n z-index:1;\n width: 100%;\n left: 0;\n top: 100%;\n\n margin-top: .2rem;\n padding: .3rem;\n\n background-color: #fff;\n border:1px solid #dee6ec;\n border-radius: 4px;\n}.quick-actions-dropdown small {\n color: #afbfc9;\n}.quick-actions-item {\n cursor: pointer;\n padding: .5rem .3rem;\n}.quick-actions-item p {\n margin:0;\n}.quick-actions-item:hover{\n background-color: #F8FAFB;\n}.quick-actions-item-disabled {\n padding: .3rem .3rem;\n cursor: default;\n color: #9BAFBC;\n}.attributes-selector {\n -ms-flex:1;\n flex:1;\n\n background-color: #fff;\n border-radius: 3px;\n border: 1px solid #dee6ec;\n margin-left: .5rem;\n \n overflow: auto;\n overflow-x: hidden;\n}.attributes-selector-header, .attributes-selector-body {\n padding: .54rem .7rem;\n}.attributes-selector-header {\n border-bottom: 1px solid #dee6ec;\n background-color: #f2f7fa;\n}.one-line {\n width: 100%;\n overflow:hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}.document-file-dropzone{\n width: 100%;\n height: auto;\n position: relative;\n}.document-file-dropzone-backdrop{\n background-color: black;\n opacity: 0.5;\n cursor: copy;\n display: none;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin-top: 15px;\n border: 5px dashed white;\n}.document-file-dropzone-info{\n position: absolute;\n top: 50%;\n left: 0;\n right: 0;\n bottom: 0;\n color: white;\n height: 30px;\n line-height: 30px;\n margin-top: -15px;\n text-align: center;\n font-size: 1.5rem;\n}.document-file-dropzone-active .document-file-dropzone-backdrop{\n display: block;\n}@media (max-width: 991px){\n .btn-new-document {\n max-width: 140px;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n}.progress-bar {\n position: absolute;\n bottom:0;\n left:0;\n height: 3px;\n background-color: rgba(0,0,0,.3);\n}.progress-bar.error {\n background-color: #f67a89;\n}.progress-bar.warning {\n background-color: #e5bf26;\n}.progress-bar.success {\n background-color: #76b727;\n}.raw-modal {\n z-index:399;\n}/*\n * Animations\n */.fade-enter {\n opacity: 0.01;\n}.fade-enter.fade-enter-active {\n opacity: 1;\n transition: opacity .2s;\n}.fade-leave {\n opacity: 1;\n}.fade-leave.fade-leave-active {\n opacity: 0.01;\n transition: opacity .2s;\n}.slidein-enter {\n right: -100%;\n}.slidein-enter.slidein-enter-active {\n right: 0;\n transition: right .2s;\n transition-delay: .8s;\n}.slidein-leave {\n right: 0;\n transition: right .2s;\n}.slidein-leave.slidein-leave-active {\n right: -100%;\n}.progress-enter {\n width:100%;\n}.progress-enter.progress-enter-active {\n width: 0;\n transition: width 5s linear;\n}.progress-leave {\n width: 0;\n transition: width 5s linear;\n}.progress-leave.slidein-leave-active {\n width: 0;\n}.browser-warning {\n color: #9BAFBC;\n padding-top: 10px;\n max-width: 300px;\n text-align: center;\n}.browser-warning p {\n margin: 0;\n}.blank-page {\n height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.blank-page h1 {\n font-size: 6rem;\n opacity: .3;\n}.blank-page h3 {\n font-size: 3rem;\n opacity: .2;\n}.zoom-into:hover {\n text-decoration: underline;\n cursor: pointer;\n}", ""]); + exports.push([module.id, "/*!\n * Bootstrap v4.0.0-alpha.5 (https://getbootstrap.com)\n * Copyright 2011-2016 The Bootstrap Authors\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n *//*! normalize.css v4.2.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary{display:block}audio, canvas, progress, video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden], template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active, a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b, strong{font-weight:inherit}b, strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub, sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code, kbd, pre, samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button, input, optgroup, select, textarea{font:inherit;margin:0}optgroup{font-weight:700}button, input{overflow:visible}button, select{text-transform:none}[type=reset], [type=submit], button, html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox], [type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}@media print{*, ::after, ::before, ::first-letter, blockquote::first-line, div::first-line, li::first-line, p::first-line{text-shadow:none!important;box-shadow:none!important}a, a:visited{text-decoration:underline}abbr[title]::after{content:\" (\" attr(title) \")\"}pre{white-space:pre-wrap!important}blockquote, pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img, tr{page-break-inside:avoid}h2, h3, p{orphans:3;widows:3}h2, h3{page-break-after:avoid}.navbar{display:none}.btn>.caret, .dropup>.btn>.caret{border-top-color:#000!important}.tag{border:1px solid #000}.table{border-collapse:collapse!important}.table td, .table th{background-color:#fff!important}.table-bordered td, .table-bordered th{border:1px solid #ddd!important}}html{box-sizing:border-box}*, ::after, ::before{box-sizing:inherit}@-ms-viewport{width:device-width}html{font-size:16px;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;font-size:1rem;line-height:1.5;color:#373a3c;background-color:#fff}[tabindex=\"-1\"]:focus{outline:0!important}h1, h2, h3, h4, h5, h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title], abbr[title]{cursor:help;border-bottom:1px dotted #818a91}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl, ol, ul{margin-top:0;margin-bottom:1rem}ol ol, ol ul, ul ol, ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}a{color:#0275d8;text-decoration:none}a:focus, a:hover{color:#014c8c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle}[role=button]{cursor:pointer}[role=button], a, area, button, input, label, select, summary, textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse;background-color:transparent}caption{padding-top:.75rem;padding-bottom:.75rem;color:#818a91;text-align:left;caption-side:bottom}th{text-align:left}label{display:inline-block;margin-bottom:.5rem}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button, input, select, textarea{line-height:inherit}input[type=checkbox]:disabled, input[type=radio]:disabled{cursor:not-allowed}input[type=date], input[type=time], input[type=datetime-local], input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit}input[type=search]{-webkit-appearance:none}output{display:inline-block}[hidden]{display:none!important}.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1, h1{font-size:2.5rem}.h2, h2{font-size:2rem}.h3, h3{font-size:1.75rem}.h4, h4{font-size:1.5rem}.h5, h5{font-size:1.25rem}.h6, h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300}.display-2{font-size:5.5rem;font-weight:300}.display-3{font-size:4.5rem;font-weight:300}.display-4{font-size:3.5rem;font-weight:300}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small, small{font-size:80%;font-weight:400}.mark, mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:5px}.initialism{font-size:90%;text-transform:uppercase}.blockquote{padding:.5rem 1rem;margin-bottom:1rem;font-size:1.25rem;border-left:.25rem solid #eceeef}.blockquote-footer{display:block;font-size:80%;color:#818a91}.blockquote-footer::before{content:\"\\2014 \\A0\"}.blockquote-reverse{padding-right:1rem;padding-left:0;text-align:right;border-right:.25rem solid #eceeef;border-left:0}.blockquote-reverse .blockquote-footer::before{content:\"\"}.blockquote-reverse .blockquote-footer::after{content:\"\\A0 \\2014\"}dl.row>dd+dt{clear:left}.carousel-inner>.carousel-item>a>img, .carousel-inner>.carousel-item>img, .img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid #ddd;border-radius:.25rem;transition:all .2s ease-in-out;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:90%;color:#818a91}code, kbd, pre, samp{font-family:Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace}code{padding:.2rem .4rem;font-size:90%;color:#bd4147;background-color:#f7f7f9;border-radius:.25rem}kbd{padding:.2rem .4rem;font-size:90%;color:#fff;background-color:#333;border-radius:.2rem}kbd kbd{padding:0;font-size:100%;font-weight:700}pre{display:block;margin-top:0;margin-bottom:1rem;font-size:90%;color:#373a3c}pre code{padding:0;font-size:inherit;color:inherit;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}.container::after{content:\"\";display:table;clear:both}@media (min-width:576px){.container{width:540px;max-width:100%}}@media (min-width:768px){.container{width:720px;max-width:100%}}@media (min-width:992px){.container{width:960px;max-width:100%}}@media (min-width:1200px){.container{width:1140px;max-width:100%}}.container-fluid{margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}.container-fluid::after{content:\"\";display:table;clear:both}.row{margin-right:-15px;margin-left:-15px}.row::after{content:\"\";display:table;clear:both}@media (min-width:576px){.row{margin-right:-15px;margin-left:-15px}}@media (min-width:768px){.row{margin-right:-15px;margin-left:-15px}}@media (min-width:992px){.row{margin-right:-15px;margin-left:-15px}}@media (min-width:1200px){.row{margin-right:-15px;margin-left:-15px}}.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}@media (min-width:576px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}@media (min-width:768px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}@media (min-width:992px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}@media (min-width:1200px){.col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xs, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{padding-right:15px;padding-left:15px}}.col-xs-1{float:left;width:8.333333%}.col-xs-2{float:left;width:16.666667%}.col-xs-3{float:left;width:25%}.col-xs-4{float:left;width:33.333333%}.col-xs-5{float:left;width:41.666667%}.col-xs-6{float:left;width:50%}.col-xs-7{float:left;width:58.333333%}.col-xs-8{float:left;width:66.666667%}.col-xs-9{float:left;width:75%}.col-xs-10{float:left;width:83.333333%}.col-xs-11{float:left;width:91.666667%}.col-xs-12{float:left;width:100%}.pull-xs-0{right:auto}.pull-xs-1{right:8.333333%}.pull-xs-2{right:16.666667%}.pull-xs-3{right:25%}.pull-xs-4{right:33.333333%}.pull-xs-5{right:41.666667%}.pull-xs-6{right:50%}.pull-xs-7{right:58.333333%}.pull-xs-8{right:66.666667%}.pull-xs-9{right:75%}.pull-xs-10{right:83.333333%}.pull-xs-11{right:91.666667%}.pull-xs-12{right:100%}.push-xs-0{left:auto}.push-xs-1{left:8.333333%}.push-xs-2{left:16.666667%}.push-xs-3{left:25%}.push-xs-4{left:33.333333%}.push-xs-5{left:41.666667%}.push-xs-6{left:50%}.push-xs-7{left:58.333333%}.push-xs-8{left:66.666667%}.push-xs-9{left:75%}.push-xs-10{left:83.333333%}.push-xs-11{left:91.666667%}.push-xs-12{left:100%}.offset-xs-1{margin-left:8.333333%}.offset-xs-2{margin-left:16.666667%}.offset-xs-3{margin-left:25%}.offset-xs-4{margin-left:33.333333%}.offset-xs-5{margin-left:41.666667%}.offset-xs-6{margin-left:50%}.offset-xs-7{margin-left:58.333333%}.offset-xs-8{margin-left:66.666667%}.offset-xs-9{margin-left:75%}.offset-xs-10{margin-left:83.333333%}.offset-xs-11{margin-left:91.666667%}@media (min-width:576px){.col-sm-1{float:left;width:8.333333%}.col-sm-2{float:left;width:16.666667%}.col-sm-3{float:left;width:25%}.col-sm-4{float:left;width:33.333333%}.col-sm-5{float:left;width:41.666667%}.col-sm-6{float:left;width:50%}.col-sm-7{float:left;width:58.333333%}.col-sm-8{float:left;width:66.666667%}.col-sm-9{float:left;width:75%}.col-sm-10{float:left;width:83.333333%}.col-sm-11{float:left;width:91.666667%}.col-sm-12{float:left;width:100%}.pull-sm-0{right:auto}.pull-sm-1{right:8.333333%}.pull-sm-2{right:16.666667%}.pull-sm-3{right:25%}.pull-sm-4{right:33.333333%}.pull-sm-5{right:41.666667%}.pull-sm-6{right:50%}.pull-sm-7{right:58.333333%}.pull-sm-8{right:66.666667%}.pull-sm-9{right:75%}.pull-sm-10{right:83.333333%}.pull-sm-11{right:91.666667%}.pull-sm-12{right:100%}.push-sm-0{left:auto}.push-sm-1{left:8.333333%}.push-sm-2{left:16.666667%}.push-sm-3{left:25%}.push-sm-4{left:33.333333%}.push-sm-5{left:41.666667%}.push-sm-6{left:50%}.push-sm-7{left:58.333333%}.push-sm-8{left:66.666667%}.push-sm-9{left:75%}.push-sm-10{left:83.333333%}.push-sm-11{left:91.666667%}.push-sm-12{left:100%}.offset-sm-0{margin-left:0%}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md-1{float:left;width:8.333333%}.col-md-2{float:left;width:16.666667%}.col-md-3{float:left;width:25%}.col-md-4{float:left;width:33.333333%}.col-md-5{float:left;width:41.666667%}.col-md-6{float:left;width:50%}.col-md-7{float:left;width:58.333333%}.col-md-8{float:left;width:66.666667%}.col-md-9{float:left;width:75%}.col-md-10{float:left;width:83.333333%}.col-md-11{float:left;width:91.666667%}.col-md-12{float:left;width:100%}.pull-md-0{right:auto}.pull-md-1{right:8.333333%}.pull-md-2{right:16.666667%}.pull-md-3{right:25%}.pull-md-4{right:33.333333%}.pull-md-5{right:41.666667%}.pull-md-6{right:50%}.pull-md-7{right:58.333333%}.pull-md-8{right:66.666667%}.pull-md-9{right:75%}.pull-md-10{right:83.333333%}.pull-md-11{right:91.666667%}.pull-md-12{right:100%}.push-md-0{left:auto}.push-md-1{left:8.333333%}.push-md-2{left:16.666667%}.push-md-3{left:25%}.push-md-4{left:33.333333%}.push-md-5{left:41.666667%}.push-md-6{left:50%}.push-md-7{left:58.333333%}.push-md-8{left:66.666667%}.push-md-9{left:75%}.push-md-10{left:83.333333%}.push-md-11{left:91.666667%}.push-md-12{left:100%}.offset-md-0{margin-left:0%}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg-1{float:left;width:8.333333%}.col-lg-2{float:left;width:16.666667%}.col-lg-3{float:left;width:25%}.col-lg-4{float:left;width:33.333333%}.col-lg-5{float:left;width:41.666667%}.col-lg-6{float:left;width:50%}.col-lg-7{float:left;width:58.333333%}.col-lg-8{float:left;width:66.666667%}.col-lg-9{float:left;width:75%}.col-lg-10{float:left;width:83.333333%}.col-lg-11{float:left;width:91.666667%}.col-lg-12{float:left;width:100%}.pull-lg-0{right:auto}.pull-lg-1{right:8.333333%}.pull-lg-2{right:16.666667%}.pull-lg-3{right:25%}.pull-lg-4{right:33.333333%}.pull-lg-5{right:41.666667%}.pull-lg-6{right:50%}.pull-lg-7{right:58.333333%}.pull-lg-8{right:66.666667%}.pull-lg-9{right:75%}.pull-lg-10{right:83.333333%}.pull-lg-11{right:91.666667%}.pull-lg-12{right:100%}.push-lg-0{left:auto}.push-lg-1{left:8.333333%}.push-lg-2{left:16.666667%}.push-lg-3{left:25%}.push-lg-4{left:33.333333%}.push-lg-5{left:41.666667%}.push-lg-6{left:50%}.push-lg-7{left:58.333333%}.push-lg-8{left:66.666667%}.push-lg-9{left:75%}.push-lg-10{left:83.333333%}.push-lg-11{left:91.666667%}.push-lg-12{left:100%}.offset-lg-0{margin-left:0%}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl-1{float:left;width:8.333333%}.col-xl-2{float:left;width:16.666667%}.col-xl-3{float:left;width:25%}.col-xl-4{float:left;width:33.333333%}.col-xl-5{float:left;width:41.666667%}.col-xl-6{float:left;width:50%}.col-xl-7{float:left;width:58.333333%}.col-xl-8{float:left;width:66.666667%}.col-xl-9{float:left;width:75%}.col-xl-10{float:left;width:83.333333%}.col-xl-11{float:left;width:91.666667%}.col-xl-12{float:left;width:100%}.pull-xl-0{right:auto}.pull-xl-1{right:8.333333%}.pull-xl-2{right:16.666667%}.pull-xl-3{right:25%}.pull-xl-4{right:33.333333%}.pull-xl-5{right:41.666667%}.pull-xl-6{right:50%}.pull-xl-7{right:58.333333%}.pull-xl-8{right:66.666667%}.pull-xl-9{right:75%}.pull-xl-10{right:83.333333%}.pull-xl-11{right:91.666667%}.pull-xl-12{right:100%}.push-xl-0{left:auto}.push-xl-1{left:8.333333%}.push-xl-2{left:16.666667%}.push-xl-3{left:25%}.push-xl-4{left:33.333333%}.push-xl-5{left:41.666667%}.push-xl-6{left:50%}.push-xl-7{left:58.333333%}.push-xl-8{left:66.666667%}.push-xl-9{left:75%}.push-xl-10{left:83.333333%}.push-xl-11{left:91.666667%}.push-xl-12{left:100%}.offset-xl-0{margin-left:0%}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}.table{width:100%;max-width:100%;margin-bottom:1rem}.table td, .table th{padding:.75rem;vertical-align:top;border-top:1px solid #eceeef}.table thead th{vertical-align:bottom;border-bottom:2px solid #eceeef}.table tbody+tbody{border-top:2px solid #eceeef}.table .table{background-color:#fff}.table-sm td, .table-sm th{padding:.3rem}.table-bordered{border:1px solid #eceeef}.table-bordered td, .table-bordered th{border:1px solid #eceeef}.table-bordered thead td, .table-bordered thead th{border-bottom-width:2px}.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}.table-hover tbody tr:hover{background-color:rgba(0,0,0,.075)}.table-active, .table-active>td, .table-active>th{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover{background-color:rgba(0,0,0,.075)}.table-hover .table-active:hover>td, .table-hover .table-active:hover>th{background-color:rgba(0,0,0,.075)}.table-success, .table-success>td, .table-success>th{background-color:#dff0d8}.table-hover .table-success:hover{background-color:#d0e9c6}.table-hover .table-success:hover>td, .table-hover .table-success:hover>th{background-color:#d0e9c6}.table-info, .table-info>td, .table-info>th{background-color:#d9edf7}.table-hover .table-info:hover{background-color:#c4e3f3}.table-hover .table-info:hover>td, .table-hover .table-info:hover>th{background-color:#c4e3f3}.table-warning, .table-warning>td, .table-warning>th{background-color:#fcf8e3}.table-hover .table-warning:hover{background-color:#faf2cc}.table-hover .table-warning:hover>td, .table-hover .table-warning:hover>th{background-color:#faf2cc}.table-danger, .table-danger>td, .table-danger>th{background-color:#f2dede}.table-hover .table-danger:hover{background-color:#ebcccc}.table-hover .table-danger:hover>td, .table-hover .table-danger:hover>th{background-color:#ebcccc}.thead-inverse th{color:#fff;background-color:#373a3c}.thead-default th{color:#55595c;background-color:#eceeef}.table-inverse{color:#eceeef;background-color:#373a3c}.table-inverse td, .table-inverse th, .table-inverse thead th{border-color:#55595c}.table-inverse.table-bordered{border:0}.table-responsive{display:block;width:100%;min-height:0%;overflow-x:auto}.table-reflow thead{float:left}.table-reflow tbody{display:block;white-space:nowrap}.table-reflow td, .table-reflow th{border-top:1px solid #eceeef;border-left:1px solid #eceeef}.table-reflow td:last-child, .table-reflow th:last-child{border-right:1px solid #eceeef}.table-reflow tbody:last-child tr:last-child td, .table-reflow tbody:last-child tr:last-child th, .table-reflow tfoot:last-child tr:last-child td, .table-reflow tfoot:last-child tr:last-child th, .table-reflow thead:last-child tr:last-child td, .table-reflow thead:last-child tr:last-child th{border-bottom:1px solid #eceeef}.table-reflow tr{float:left}.table-reflow tr td, .table-reflow tr th{display:block!important;border:1px solid #eceeef}.form-control{display:block;width:100%;padding:.5rem .75rem;font-size:1rem;line-height:1.25;color:#55595c;background-color:#fff;background-image:none;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.form-control::-ms-expand{background-color:transparent;border:0}.form-control:focus{color:#55595c;background-color:#fff;border-color:#66afe9;outline:0}.form-control::-webkit-input-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999;opacity:1}.form-control::placeholder{color:#999;opacity:1}.form-control:disabled, .form-control[readonly]{background-color:#eceeef;opacity:1}.form-control:disabled{cursor:not-allowed}select.form-control:not([size]):not([multiple]){height:calc(2.5rem - 2px)}select.form-control:focus::-ms-value{color:#55595c;background-color:#fff}.form-control-file, .form-control-range{display:block}.col-form-label{padding-top:.5rem;padding-bottom:.5rem;margin-bottom:0}.col-form-label-lg{padding-top:.75rem;padding-bottom:.75rem;font-size:1.25rem}.col-form-label-sm{padding-top:.25rem;padding-bottom:.25rem;font-size:.875rem}.col-form-legend{padding-top:.5rem;padding-bottom:.5rem;margin-bottom:0;font-size:1rem}.form-control-static{padding-top:.5rem;padding-bottom:.5rem;line-height:1.25;border:solid transparent;border-width:1px 0}.form-control-static.form-control-lg, .form-control-static.form-control-sm, .input-group-lg>.form-control-static.form-control, .input-group-lg>.form-control-static.input-group-addon, .input-group-lg>.input-group-btn>.form-control-static.btn, .input-group-sm>.form-control-static.form-control, .input-group-sm>.form-control-static.input-group-addon, .input-group-sm>.input-group-btn>.form-control-static.btn{padding-right:0;padding-left:0}.form-control-sm, .input-group-sm>.form-control, .input-group-sm>.input-group-addon, .input-group-sm>.input-group-btn>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-sm>.input-group-btn>select.btn:not([size]):not([multiple]), .input-group-sm>select.form-control:not([size]):not([multiple]), .input-group-sm>select.input-group-addon:not([size]):not([multiple]), select.form-control-sm:not([size]):not([multiple]){height:1.8125rem}.form-control-lg, .input-group-lg>.form-control, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-lg>.input-group-btn>select.btn:not([size]):not([multiple]), .input-group-lg>select.form-control:not([size]):not([multiple]), .input-group-lg>select.input-group-addon:not([size]):not([multiple]), select.form-control-lg:not([size]):not([multiple]){height:3.166667rem}.form-group{margin-bottom:1rem}.form-text{display:block;margin-top:.25rem}.form-check{position:relative;display:block;margin-bottom:.75rem}.form-check+.form-check{margin-top:-.25rem}.form-check.disabled .form-check-label{color:#818a91;cursor:not-allowed}.form-check-label{padding-left:1.25rem;margin-bottom:0;cursor:pointer}.form-check-input{position:absolute;margin-top:.25rem;margin-left:-1.25rem}.form-check-input:only-child{position:static}.form-check-inline{position:relative;display:inline-block;padding-left:1.25rem;margin-bottom:0;vertical-align:middle;cursor:pointer}.form-check-inline+.form-check-inline{margin-left:.75rem}.form-check-inline.disabled{color:#818a91;cursor:not-allowed}.form-control-feedback{margin-top:.25rem}.form-control-danger, .form-control-success, .form-control-warning{padding-right:2.25rem;background-repeat:no-repeat;background-position:center right .625rem;background-size:1.25rem 1.25rem}.has-success .custom-control, .has-success .form-check-inline, .has-success .form-check-label, .has-success .form-control-feedback, .has-success .form-control-label{color:#5cb85c}.has-success .form-control{border-color:#5cb85c}.has-success .form-control:focus{box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #a3d7a3}.has-success .input-group-addon{color:#5cb85c;border-color:#5cb85c;background-color:#eaf6ea}.has-success .form-control-success{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#5cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E\")}.has-warning .custom-control, .has-warning .form-check-inline, .has-warning .form-check-label, .has-warning .form-control-feedback, .has-warning .form-control-label{color:#f0ad4e}.has-warning .form-control{border-color:#f0ad4e}.has-warning .form-control:focus{box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f8d9ac}.has-warning .input-group-addon{color:#f0ad4e;border-color:#f0ad4e;background-color:#fff}.has-warning .form-control-warning{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#f0ad4e' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E\")}.has-danger .custom-control, .has-danger .form-check-inline, .has-danger .form-check-label, .has-danger .form-control-feedback, .has-danger .form-control-label{color:#d9534f}.has-danger .form-control{border-color:#d9534f}.has-danger .form-control:focus{box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #eba5a3}.has-danger .input-group-addon{color:#d9534f;border-color:#d9534f;background-color:#fdf7f7}.has-danger .form-control-danger{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E\")}@media (min-width:576px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;width:auto;vertical-align:middle}.form-inline .input-group .form-control, .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .form-control-label{margin-bottom:0;vertical-align:middle}.form-inline .form-check{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .form-check-label{padding-left:0}.form-inline .form-check-input{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.btn{display:inline-block;font-weight:400;line-height:1.25;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.5rem 1rem;font-size:1rem;border-radius:.25rem}.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:focus, .btn:hover{text-decoration:none}.btn.focus{text-decoration:none}.btn.active, .btn:active{background-image:none;outline:0}.btn.disabled, .btn:disabled{cursor:not-allowed;opacity:.65}a.btn.disabled, fieldset[disabled] a.btn{pointer-events:none}.btn-primary{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-primary:hover{color:#fff;background-color:#025aa5;border-color:#01549b}.btn-primary.focus, .btn-primary:focus{color:#fff;background-color:#025aa5;border-color:#01549b}.btn-primary.active, .btn-primary:active, .open>.btn-primary.dropdown-toggle{color:#fff;background-color:#025aa5;border-color:#01549b;background-image:none}.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.btn-primary.dropdown-toggle.focus, .open>.btn-primary.dropdown-toggle:focus, .open>.btn-primary.dropdown-toggle:hover{color:#fff;background-color:#014682;border-color:#01315a}.btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary:disabled.focus, .btn-primary:disabled:focus{background-color:#0275d8;border-color:#0275d8}.btn-primary.disabled:hover, .btn-primary:disabled:hover{background-color:#0275d8;border-color:#0275d8}.btn-secondary{color:#373a3c;background-color:#fff;border-color:#ccc}.btn-secondary:hover{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.btn-secondary.focus, .btn-secondary:focus{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.btn-secondary.active, .btn-secondary:active, .open>.btn-secondary.dropdown-toggle{color:#373a3c;background-color:#e6e6e6;border-color:#adadad;background-image:none}.btn-secondary.active.focus, .btn-secondary.active:focus, .btn-secondary.active:hover, .btn-secondary:active.focus, .btn-secondary:active:focus, .btn-secondary:active:hover, .open>.btn-secondary.dropdown-toggle.focus, .open>.btn-secondary.dropdown-toggle:focus, .open>.btn-secondary.dropdown-toggle:hover{color:#373a3c;background-color:#d4d4d4;border-color:#8c8c8c}.btn-secondary.disabled.focus, .btn-secondary.disabled:focus, .btn-secondary:disabled.focus, .btn-secondary:disabled:focus{background-color:#fff;border-color:#ccc}.btn-secondary.disabled:hover, .btn-secondary:disabled:hover{background-color:#fff;border-color:#ccc}.btn-info{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#2aabd2}.btn-info.focus, .btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#2aabd2}.btn-info.active, .btn-info:active, .open>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;border-color:#2aabd2;background-image:none}.btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover, .open>.btn-info.dropdown-toggle.focus, .open>.btn-info.dropdown-toggle:focus, .open>.btn-info.dropdown-toggle:hover{color:#fff;background-color:#269abc;border-color:#1f7e9a}.btn-info.disabled.focus, .btn-info.disabled:focus, .btn-info:disabled.focus, .btn-info:disabled:focus{background-color:#5bc0de;border-color:#5bc0de}.btn-info.disabled:hover, .btn-info:disabled:hover{background-color:#5bc0de;border-color:#5bc0de}.btn-success{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#419641}.btn-success.focus, .btn-success:focus{color:#fff;background-color:#449d44;border-color:#419641}.btn-success.active, .btn-success:active, .open>.btn-success.dropdown-toggle{color:#fff;background-color:#449d44;border-color:#419641;background-image:none}.btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:focus, .btn-success:active:hover, .open>.btn-success.dropdown-toggle.focus, .open>.btn-success.dropdown-toggle:focus, .open>.btn-success.dropdown-toggle:hover{color:#fff;background-color:#398439;border-color:#2d672d}.btn-success.disabled.focus, .btn-success.disabled:focus, .btn-success:disabled.focus, .btn-success:disabled:focus{background-color:#5cb85c;border-color:#5cb85c}.btn-success.disabled:hover, .btn-success:disabled:hover{background-color:#5cb85c;border-color:#5cb85c}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#eb9316}.btn-warning.focus, .btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#eb9316}.btn-warning.active, .btn-warning:active, .open>.btn-warning.dropdown-toggle{color:#fff;background-color:#ec971f;border-color:#eb9316;background-image:none}.btn-warning.active.focus, .btn-warning.active:focus, .btn-warning.active:hover, .btn-warning:active.focus, .btn-warning:active:focus, .btn-warning:active:hover, .open>.btn-warning.dropdown-toggle.focus, .open>.btn-warning.dropdown-toggle:focus, .open>.btn-warning.dropdown-toggle:hover{color:#fff;background-color:#d58512;border-color:#b06d0f}.btn-warning.disabled.focus, .btn-warning.disabled:focus, .btn-warning:disabled.focus, .btn-warning:disabled:focus{background-color:#f0ad4e;border-color:#f0ad4e}.btn-warning.disabled:hover, .btn-warning:disabled:hover{background-color:#f0ad4e;border-color:#f0ad4e}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#c12e2a}.btn-danger.focus, .btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#c12e2a}.btn-danger.active, .btn-danger:active, .open>.btn-danger.dropdown-toggle{color:#fff;background-color:#c9302c;border-color:#c12e2a;background-image:none}.btn-danger.active.focus, .btn-danger.active:focus, .btn-danger.active:hover, .btn-danger:active.focus, .btn-danger:active:focus, .btn-danger:active:hover, .open>.btn-danger.dropdown-toggle.focus, .open>.btn-danger.dropdown-toggle:focus, .open>.btn-danger.dropdown-toggle:hover{color:#fff;background-color:#ac2925;border-color:#8b211e}.btn-danger.disabled.focus, .btn-danger.disabled:focus, .btn-danger:disabled.focus, .btn-danger:disabled:focus{background-color:#d9534f;border-color:#d9534f}.btn-danger.disabled:hover, .btn-danger:disabled:hover{background-color:#d9534f;border-color:#d9534f}.btn-outline-primary{color:#0275d8;background-image:none;background-color:transparent;border-color:#0275d8}.btn-outline-primary:hover{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.focus, .btn-outline-primary:focus{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.active, .btn-outline-primary:active, .open>.btn-outline-primary.dropdown-toggle{color:#fff;background-color:#0275d8;border-color:#0275d8}.btn-outline-primary.active.focus, .btn-outline-primary.active:focus, .btn-outline-primary.active:hover, .btn-outline-primary:active.focus, .btn-outline-primary:active:focus, .btn-outline-primary:active:hover, .open>.btn-outline-primary.dropdown-toggle.focus, .open>.btn-outline-primary.dropdown-toggle:focus, .open>.btn-outline-primary.dropdown-toggle:hover{color:#fff;background-color:#014682;border-color:#01315a}.btn-outline-primary.disabled.focus, .btn-outline-primary.disabled:focus, .btn-outline-primary:disabled.focus, .btn-outline-primary:disabled:focus{border-color:#43a7fd}.btn-outline-primary.disabled:hover, .btn-outline-primary:disabled:hover{border-color:#43a7fd}.btn-outline-secondary{color:#ccc;background-image:none;background-color:transparent;border-color:#ccc}.btn-outline-secondary:hover{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.focus, .btn-outline-secondary:focus{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.active, .btn-outline-secondary:active, .open>.btn-outline-secondary.dropdown-toggle{color:#fff;background-color:#ccc;border-color:#ccc}.btn-outline-secondary.active.focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.active:hover, .btn-outline-secondary:active.focus, .btn-outline-secondary:active:focus, .btn-outline-secondary:active:hover, .open>.btn-outline-secondary.dropdown-toggle.focus, .open>.btn-outline-secondary.dropdown-toggle:focus, .open>.btn-outline-secondary.dropdown-toggle:hover{color:#fff;background-color:#a1a1a1;border-color:#8c8c8c}.btn-outline-secondary.disabled.focus, .btn-outline-secondary.disabled:focus, .btn-outline-secondary:disabled.focus, .btn-outline-secondary:disabled:focus{border-color:#fff}.btn-outline-secondary.disabled:hover, .btn-outline-secondary:disabled:hover{border-color:#fff}.btn-outline-info{color:#5bc0de;background-image:none;background-color:transparent;border-color:#5bc0de}.btn-outline-info:hover{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.focus, .btn-outline-info:focus{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.active, .btn-outline-info:active, .open>.btn-outline-info.dropdown-toggle{color:#fff;background-color:#5bc0de;border-color:#5bc0de}.btn-outline-info.active.focus, .btn-outline-info.active:focus, .btn-outline-info.active:hover, .btn-outline-info:active.focus, .btn-outline-info:active:focus, .btn-outline-info:active:hover, .open>.btn-outline-info.dropdown-toggle.focus, .open>.btn-outline-info.dropdown-toggle:focus, .open>.btn-outline-info.dropdown-toggle:hover{color:#fff;background-color:#269abc;border-color:#1f7e9a}.btn-outline-info.disabled.focus, .btn-outline-info.disabled:focus, .btn-outline-info:disabled.focus, .btn-outline-info:disabled:focus{border-color:#b0e1ef}.btn-outline-info.disabled:hover, .btn-outline-info:disabled:hover{border-color:#b0e1ef}.btn-outline-success{color:#5cb85c;background-image:none;background-color:transparent;border-color:#5cb85c}.btn-outline-success:hover{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.focus, .btn-outline-success:focus{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.active, .btn-outline-success:active, .open>.btn-outline-success.dropdown-toggle{color:#fff;background-color:#5cb85c;border-color:#5cb85c}.btn-outline-success.active.focus, .btn-outline-success.active:focus, .btn-outline-success.active:hover, .btn-outline-success:active.focus, .btn-outline-success:active:focus, .btn-outline-success:active:hover, .open>.btn-outline-success.dropdown-toggle.focus, .open>.btn-outline-success.dropdown-toggle:focus, .open>.btn-outline-success.dropdown-toggle:hover{color:#fff;background-color:#398439;border-color:#2d672d}.btn-outline-success.disabled.focus, .btn-outline-success.disabled:focus, .btn-outline-success:disabled.focus, .btn-outline-success:disabled:focus{border-color:#a3d7a3}.btn-outline-success.disabled:hover, .btn-outline-success:disabled:hover{border-color:#a3d7a3}.btn-outline-warning{color:#f0ad4e;background-image:none;background-color:transparent;border-color:#f0ad4e}.btn-outline-warning:hover{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.focus, .btn-outline-warning:focus{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.active, .btn-outline-warning:active, .open>.btn-outline-warning.dropdown-toggle{color:#fff;background-color:#f0ad4e;border-color:#f0ad4e}.btn-outline-warning.active.focus, .btn-outline-warning.active:focus, .btn-outline-warning.active:hover, .btn-outline-warning:active.focus, .btn-outline-warning:active:focus, .btn-outline-warning:active:hover, .open>.btn-outline-warning.dropdown-toggle.focus, .open>.btn-outline-warning.dropdown-toggle:focus, .open>.btn-outline-warning.dropdown-toggle:hover{color:#fff;background-color:#d58512;border-color:#b06d0f}.btn-outline-warning.disabled.focus, .btn-outline-warning.disabled:focus, .btn-outline-warning:disabled.focus, .btn-outline-warning:disabled:focus{border-color:#f8d9ac}.btn-outline-warning.disabled:hover, .btn-outline-warning:disabled:hover{border-color:#f8d9ac}.btn-outline-danger{color:#d9534f;background-image:none;background-color:transparent;border-color:#d9534f}.btn-outline-danger:hover{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.focus, .btn-outline-danger:focus{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.active, .btn-outline-danger:active, .open>.btn-outline-danger.dropdown-toggle{color:#fff;background-color:#d9534f;border-color:#d9534f}.btn-outline-danger.active.focus, .btn-outline-danger.active:focus, .btn-outline-danger.active:hover, .btn-outline-danger:active.focus, .btn-outline-danger:active:focus, .btn-outline-danger:active:hover, .open>.btn-outline-danger.dropdown-toggle.focus, .open>.btn-outline-danger.dropdown-toggle:focus, .open>.btn-outline-danger.dropdown-toggle:hover{color:#fff;background-color:#ac2925;border-color:#8b211e}.btn-outline-danger.disabled.focus, .btn-outline-danger.disabled:focus, .btn-outline-danger:disabled.focus, .btn-outline-danger:disabled:focus{border-color:#eba5a3}.btn-outline-danger.disabled:hover, .btn-outline-danger:disabled:hover{border-color:#eba5a3}.btn-link{font-weight:400;color:#0275d8;border-radius:0}.btn-link, .btn-link.active, .btn-link:active, .btn-link:disabled{background-color:transparent}.btn-link, .btn-link:active, .btn-link:focus{border-color:transparent}.btn-link:hover{border-color:transparent}.btn-link:focus, .btn-link:hover{color:#014c8c;text-decoration:underline;background-color:transparent}.btn-link:disabled:focus, .btn-link:disabled:hover{color:#818a91;text-decoration:none}.btn-group-lg>.btn, .btn-lg{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.btn-group-sm>.btn, .btn-sm{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block, input[type=reset].btn-block, input[type=submit].btn-block{width:100%}.fade{opacity:0;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;transition-timing-function:ease;transition-duration:.35s;transition-property:height}.dropdown, .dropup{position:relative}.dropdown-toggle::after{display:inline-block;width:0;height:0;margin-left:.3em;vertical-align:middle;content:\"\";border-top:.3em solid;border-right:.3em solid transparent;border-left:.3em solid transparent}.dropdown-toggle:focus{outline:0}.dropup .dropdown-toggle::after{border-top:0;border-bottom:.3em solid}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#373a3c;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-divider{height:1px;margin:.5rem 0;overflow:hidden;background-color:#e5e5e5}.dropdown-item{display:block;width:100%;padding:3px 1.5rem;clear:both;font-weight:400;color:#373a3c;text-align:inherit;white-space:nowrap;background:0 0;border:0}.dropdown-item:focus, .dropdown-item:hover{color:#2b2d2f;text-decoration:none;background-color:#f5f5f5}.dropdown-item.active, .dropdown-item.active:focus, .dropdown-item.active:hover{color:#fff;text-decoration:none;background-color:#0275d8;outline:0}.dropdown-item.disabled, .dropdown-item.disabled:focus, .dropdown-item.disabled:hover{color:#818a91}.dropdown-item.disabled:focus, .dropdown-item.disabled:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:.5rem 1.5rem;margin-bottom:0;font-size:.875rem;color:#818a91;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.dropup .caret, .navbar-fixed-bottom .dropdown .caret{content:\"\";border-top:0;border-bottom:.3em solid}.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:.125rem}.btn-group, .btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn, .btn-group>.btn{position:relative;float:left;margin-bottom:0}.btn-group-vertical>.btn.active, .btn-group-vertical>.btn:active, .btn-group-vertical>.btn:focus, .btn-group>.btn.active, .btn-group>.btn:active, .btn-group>.btn:focus{z-index:2}.btn-group-vertical>.btn:hover, .btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn, .btn-group .btn+.btn-group, .btn-group .btn-group+.btn, .btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-.5rem}.btn-toolbar::after{content:\"\";display:table;clear:both}.btn-toolbar .btn-group, .btn-toolbar .input-group{float:left}.btn-toolbar>.btn, .btn-toolbar>.btn-group, .btn-toolbar>.input-group{margin-left:.5rem}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child), .btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child, .btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle{outline:0}.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn+.dropdown-toggle-split::after{margin-left:0}.btn-group-sm>.btn+.dropdown-toggle-split, .btn-sm+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-group-lg>.btn+.dropdown-toggle-split, .btn-lg+.dropdown-toggle-split{padding-right:1.125rem;padding-left:1.125rem}.btn .caret{margin-left:0}.btn-group-lg>.btn .caret, .btn-lg .caret{border-width:.3em .3em 0;border-bottom-width:0}.dropup .btn-group-lg>.btn .caret, .dropup .btn-lg .caret{border-width:0 .3em .3em}.btn-group-vertical>.btn, .btn-group-vertical>.btn-group, .btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group::after{content:\"\";display:table;clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn, .btn-group-vertical>.btn+.btn-group, .btn-group-vertical>.btn-group+.btn, .btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child, .btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}[data-toggle=buttons]>.btn input[type=checkbox], [data-toggle=buttons]>.btn input[type=radio], [data-toggle=buttons]>.btn-group>.btn input[type=checkbox], [data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;width:100%;display:table;border-collapse:separate}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:active, .input-group .form-control:focus, .input-group .form-control:hover{z-index:3}.input-group .form-control, .input-group-addon, .input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child), .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon, .input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;font-weight:400;line-height:1.25;color:#55595c;text-align:center;background-color:#eceeef;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.input-group-addon.form-control-sm, .input-group-sm>.input-group-addon, .input-group-sm>.input-group-btn>.input-group-addon.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.input-group-addon.form-control-lg, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.input-group-addon.btn{padding:.75rem 1.5rem;font-size:1.25rem;border-radius:.3rem}.input-group-addon input[type=checkbox], .input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:not(:last-child), .input-group-addon:not(:last-child), .input-group-btn:not(:first-child)>.btn-group:not(:last-child)>.btn, .input-group-btn:not(:first-child)>.btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:not(:last-child)>.btn, .input-group-btn:not(:last-child)>.btn-group>.btn, .input-group-btn:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:not(:last-child){border-right:0}.input-group .form-control:not(:first-child), .input-group-addon:not(:first-child), .input-group-btn:not(:first-child)>.btn, .input-group-btn:not(:first-child)>.btn-group>.btn, .input-group-btn:not(:first-child)>.dropdown-toggle, .input-group-btn:not(:last-child)>.btn-group:not(:first-child)>.btn, .input-group-btn:not(:last-child)>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.form-control+.input-group-addon:not(:first-child){border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active, .input-group-btn>.btn:focus, .input-group-btn>.btn:hover{z-index:3}.input-group-btn:not(:last-child)>.btn, .input-group-btn:not(:last-child)>.btn-group{margin-right:-1px}.input-group-btn:not(:first-child)>.btn, .input-group-btn:not(:first-child)>.btn-group{z-index:2;margin-left:-1px}.input-group-btn:not(:first-child)>.btn-group:active, .input-group-btn:not(:first-child)>.btn-group:focus, .input-group-btn:not(:first-child)>.btn-group:hover, .input-group-btn:not(:first-child)>.btn:active, .input-group-btn:not(:first-child)>.btn:focus, .input-group-btn:not(:first-child)>.btn:hover{z-index:3}.custom-control{position:relative;display:inline-block;padding-left:1.5rem;cursor:pointer}.custom-control+.custom-control{margin-left:1rem}.custom-control-input{position:absolute;z-index:-1;opacity:0}.custom-control-input:checked~.custom-control-indicator{color:#fff;background-color:#0074d9}.custom-control-input:focus~.custom-control-indicator{box-shadow:0 0 0 .075rem #fff,0 0 0 .2rem #0074d9}.custom-control-input:active~.custom-control-indicator{color:#fff;background-color:#84c6ff}.custom-control-input:disabled~.custom-control-indicator{cursor:not-allowed;background-color:#eee}.custom-control-input:disabled~.custom-control-description{color:#767676;cursor:not-allowed}.custom-control-indicator{position:absolute;top:.25rem;left:0;display:block;width:1rem;height:1rem;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#ddd;background-repeat:no-repeat;background-position:center center;background-size:50% 50%}.custom-checkbox .custom-control-indicator{border-radius:.25rem}.custom-checkbox .custom-control-input:checked~.custom-control-indicator{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E\")}.custom-checkbox .custom-control-input:indeterminate~.custom-control-indicator{background-color:#0074d9;background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#fff' d='M0 2h4'/%3E%3C/svg%3E\")}.custom-radio .custom-control-indicator{border-radius:50%}.custom-radio .custom-control-input:checked~.custom-control-indicator{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#fff'/%3E%3C/svg%3E\")}.custom-controls-stacked .custom-control{float:left;clear:left}.custom-controls-stacked .custom-control+.custom-control{margin-left:0}.custom-select{display:inline-block;max-width:100%;height:calc(2.5rem - 2px);padding:.375rem 1.75rem .375rem .75rem;padding-right:.75rem\\9;color:#55595c;vertical-align:middle;background:#fff url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E\") no-repeat right .75rem center;background-image:none\\9;background-size:8px 10px;border:1px solid rgba(0,0,0,.15);border-radius:.25rem;-moz-appearance:none;-webkit-appearance:none}.custom-select:focus{border-color:#51a7e8;outline:0}.custom-select:focus::-ms-value{color:#55595c;background-color:#fff}.custom-select:disabled{color:#818a91;cursor:not-allowed;background-color:#eceeef}.custom-select::-ms-expand{opacity:0}.custom-select-sm{padding-top:.375rem;padding-bottom:.375rem;font-size:75%}.custom-file{position:relative;display:inline-block;max-width:100%;height:2.5rem;cursor:pointer}.custom-file-input{min-width:14rem;max-width:100%;margin:0;filter:alpha(opacity=0);opacity:0}.custom-file-control{position:absolute;top:0;right:0;left:0;z-index:5;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#555;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;border:1px solid #ddd;border-radius:.25rem}.custom-file-control:lang(en)::after{content:\"Choose file...\"}.custom-file-control::before{position:absolute;top:-1px;right:-1px;bottom:-1px;z-index:6;display:block;height:2.5rem;padding:.5rem 1rem;line-height:1.5;color:#555;background-color:#eee;border:1px solid #ddd;border-radius:0 .25rem .25rem 0}.custom-file-control:lang(en)::before{content:\"Browse\"}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:inline-block}.nav-link:focus, .nav-link:hover{text-decoration:none}.nav-link.disabled{color:#818a91}.nav-link.disabled, .nav-link.disabled:focus, .nav-link.disabled:hover{color:#818a91;cursor:not-allowed;background-color:transparent}.nav-inline .nav-item{display:inline-block}.nav-inline .nav-item+.nav-item, .nav-inline .nav-link+.nav-link{margin-left:1rem}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs::after{content:\"\";display:table;clear:both}.nav-tabs .nav-item{float:left;margin-bottom:-1px}.nav-tabs .nav-item+.nav-item{margin-left:.2rem}.nav-tabs .nav-link{display:block;padding:.5em 1em;border:1px solid transparent;border-top-right-radius:.25rem;border-top-left-radius:.25rem}.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{border-color:#eceeef #eceeef #ddd}.nav-tabs .nav-link.disabled, .nav-tabs .nav-link.disabled:focus, .nav-tabs .nav-link.disabled:hover{color:#818a91;background-color:transparent;border-color:transparent}.nav-tabs .nav-item.open .nav-link, .nav-tabs .nav-item.open .nav-link:focus, .nav-tabs .nav-item.open .nav-link:hover, .nav-tabs .nav-link.active, .nav-tabs .nav-link.active:focus, .nav-tabs .nav-link.active:hover{color:#55595c;background-color:#fff;border-color:#ddd #ddd transparent}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.nav-pills::after{content:\"\";display:table;clear:both}.nav-pills .nav-item{float:left}.nav-pills .nav-item+.nav-item{margin-left:.2rem}.nav-pills .nav-link{display:block;padding:.5em 1em;border-radius:.25rem}.nav-pills .nav-item.open .nav-link, .nav-pills .nav-item.open .nav-link:focus, .nav-pills .nav-item.open .nav-link:hover, .nav-pills .nav-link.active, .nav-pills .nav-link.active:focus, .nav-pills .nav-link.active:hover{color:#fff;cursor:default;background-color:#0275d8}.nav-stacked .nav-item{display:block;float:none}.nav-stacked .nav-item+.nav-item{margin-top:.2rem;margin-left:0}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{position:relative;padding:.5rem 1rem}.navbar::after{content:\"\";display:table;clear:both}@media (min-width:576px){.navbar{border-radius:.25rem}}.navbar-full{z-index:1000}@media (min-width:576px){.navbar-full{border-radius:0}}.navbar-fixed-bottom, .navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:576px){.navbar-fixed-bottom, .navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0}.navbar-fixed-bottom{bottom:0}.navbar-sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1030;width:100%}@media (min-width:576px){.navbar-sticky-top{border-radius:0}}.navbar-brand{float:left;padding-top:.25rem;padding-bottom:.25rem;margin-right:1rem;font-size:1.25rem;line-height:inherit}.navbar-brand:focus, .navbar-brand:hover{text-decoration:none}.navbar-divider{float:left;width:1px;padding-top:.425rem;padding-bottom:.425rem;margin-right:1rem;margin-left:1rem;overflow:hidden}.navbar-divider::before{content:\"\\A0\"}.navbar-text{display:inline-block;padding-top:.425rem;padding-bottom:.425rem}.navbar-toggler{width:2.5em;height:2em;padding:.5rem .75rem;font-size:1.25rem;line-height:1;background:transparent no-repeat center center;background-size:24px 24px;border:1px solid transparent;border-radius:.25rem}.navbar-toggler:focus, .navbar-toggler:hover{text-decoration:none}.navbar-toggleable-xs::after{content:\"\";display:table;clear:both}@media (max-width:575px){.navbar-toggleable-xs .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-xs .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-xs .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:576px){.navbar-toggleable-xs{display:block}}.navbar-toggleable-sm::after{content:\"\";display:table;clear:both}@media (max-width:767px){.navbar-toggleable-sm .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-sm .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-sm .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:768px){.navbar-toggleable-sm{display:block}}.navbar-toggleable-md::after{content:\"\";display:table;clear:both}@media (max-width:991px){.navbar-toggleable-md .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-md .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-md .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:992px){.navbar-toggleable-md{display:block}}.navbar-toggleable-lg::after{content:\"\";display:table;clear:both}@media (max-width:1199px){.navbar-toggleable-lg .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-lg .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-lg .navbar-nav .dropdown-menu{position:static;float:none}}@media (min-width:1200px){.navbar-toggleable-lg{display:block}}.navbar-toggleable-xl{display:block}.navbar-toggleable-xl::after{content:\"\";display:table;clear:both}.navbar-toggleable-xl .navbar-brand{display:block;float:none;margin-top:.5rem;margin-right:0}.navbar-toggleable-xl .navbar-nav{margin-top:.5rem;margin-bottom:.5rem}.navbar-toggleable-xl .navbar-nav .dropdown-menu{position:static;float:none}.navbar-nav .nav-item{float:left}.navbar-nav .nav-link{display:block;padding-top:.425rem;padding-bottom:.425rem}.navbar-nav .nav-link+.nav-link{margin-left:1rem}.navbar-nav .nav-item+.nav-item{margin-left:1rem}.navbar-light .navbar-brand, .navbar-light .navbar-toggler{color:rgba(0,0,0,.9)}.navbar-light .navbar-brand:focus, .navbar-light .navbar-brand:hover, .navbar-light .navbar-toggler:focus, .navbar-light .navbar-toggler:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-nav .nav-link{color:rgba(0,0,0,.5)}.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{color:rgba(0,0,0,.7)}.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .active>.nav-link:focus, .navbar-light .navbar-nav .active>.nav-link:hover, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.active:focus, .navbar-light .navbar-nav .nav-link.active:hover, .navbar-light .navbar-nav .nav-link.open, .navbar-light .navbar-nav .nav-link.open:focus, .navbar-light .navbar-nav .nav-link.open:hover, .navbar-light .navbar-nav .open>.nav-link, .navbar-light .navbar-nav .open>.nav-link:focus, .navbar-light .navbar-nav .open>.nav-link:hover{color:rgba(0,0,0,.9)}.navbar-light .navbar-toggler{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E\");border-color:rgba(0,0,0,.1)}.navbar-light .navbar-divider{background-color:rgba(0,0,0,.075)}.navbar-dark .navbar-brand, .navbar-dark .navbar-toggler{color:#fff}.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover, .navbar-dark .navbar-toggler:focus, .navbar-dark .navbar-toggler:hover{color:#fff}.navbar-dark .navbar-nav .nav-link{color:rgba(255,255,255,.5)}.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover{color:rgba(255,255,255,.75)}.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .active>.nav-link:focus, .navbar-dark .navbar-nav .active>.nav-link:hover, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.active:focus, .navbar-dark .navbar-nav .nav-link.active:hover, .navbar-dark .navbar-nav .nav-link.open, .navbar-dark .navbar-nav .nav-link.open:focus, .navbar-dark .navbar-nav .nav-link.open:hover, .navbar-dark .navbar-nav .open>.nav-link, .navbar-dark .navbar-nav .open>.nav-link:focus, .navbar-dark .navbar-nav .open>.nav-link:hover{color:#fff}.navbar-dark .navbar-toggler{background-image:url(\"data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E\");border-color:rgba(255,255,255,.1)}.navbar-dark .navbar-divider{background-color:rgba(255,255,255,.075)}.navbar-toggleable-xs::after{content:\"\";display:table;clear:both}@media (max-width:575px){.navbar-toggleable-xs .navbar-nav .nav-item{float:none;margin-left:0}}@media (min-width:576px){.navbar-toggleable-xs{display:block!important}}.navbar-toggleable-sm::after{content:\"\";display:table;clear:both}@media (max-width:767px){.navbar-toggleable-sm .navbar-nav .nav-item{float:none;margin-left:0}}@media (min-width:768px){.navbar-toggleable-sm{display:block!important}}.navbar-toggleable-md::after{content:\"\";display:table;clear:both}@media (max-width:991px){.navbar-toggleable-md .navbar-nav .nav-item{float:none;margin-left:0}}@media (min-width:992px){.navbar-toggleable-md{display:block!important}}.card{position:relative;display:block;margin-bottom:.75rem;background-color:#fff;border-radius:.25rem;border:1px solid rgba(0,0,0,.125)}.card-block{padding:1.25rem}.card-block::after{content:\"\";display:table;clear:both}.card-title{margin-bottom:.75rem}.card-subtitle{margin-top:-.375rem;margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link:hover{text-decoration:none}.card-link+.card-link{margin-left:1.25rem}.card>.list-group:first-child .list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.card>.list-group:last-child .list-group-item:last-child{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.card-header{padding:.75rem 1.25rem;margin-bottom:0;background-color:#f5f5f5;border-bottom:1px solid rgba(0,0,0,.125)}.card-header::after{content:\"\";display:table;clear:both}.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0}.card-footer{padding:.75rem 1.25rem;background-color:#f5f5f5;border-top:1px solid rgba(0,0,0,.125)}.card-footer::after{content:\"\";display:table;clear:both}.card-footer:last-child{border-radius:0 0 calc(.25rem - 1px) calc(.25rem - 1px)}.card-header-tabs{margin-right:-.625rem;margin-bottom:-.75rem;margin-left:-.625rem;border-bottom:0}.card-header-pills{margin-right:-.625rem;margin-left:-.625rem}.card-primary{background-color:#0275d8;border-color:#0275d8}.card-primary .card-footer, .card-primary .card-header{background-color:transparent}.card-success{background-color:#5cb85c;border-color:#5cb85c}.card-success .card-footer, .card-success .card-header{background-color:transparent}.card-info{background-color:#5bc0de;border-color:#5bc0de}.card-info .card-footer, .card-info .card-header{background-color:transparent}.card-warning{background-color:#f0ad4e;border-color:#f0ad4e}.card-warning .card-footer, .card-warning .card-header{background-color:transparent}.card-danger{background-color:#d9534f;border-color:#d9534f}.card-danger .card-footer, .card-danger .card-header{background-color:transparent}.card-outline-primary{background-color:transparent;border-color:#0275d8}.card-outline-secondary{background-color:transparent;border-color:#ccc}.card-outline-info{background-color:transparent;border-color:#5bc0de}.card-outline-success{background-color:transparent;border-color:#5cb85c}.card-outline-warning{background-color:transparent;border-color:#f0ad4e}.card-outline-danger{background-color:transparent;border-color:#d9534f}.card-inverse .card-footer, .card-inverse .card-header{border-color:rgba(255,255,255,.2)}.card-inverse .card-blockquote, .card-inverse .card-footer, .card-inverse .card-header, .card-inverse .card-title{color:#fff}.card-inverse .card-blockquote .blockquote-footer, .card-inverse .card-link, .card-inverse .card-subtitle, .card-inverse .card-text{color:rgba(255,255,255,.65)}.card-inverse .card-link:focus, .card-inverse .card-link:hover{color:#fff}.card-blockquote{padding:0;margin-bottom:0;border-left:0}.card-img{border-radius:calc(.25rem - 1px)}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:1.25rem}.card-img-top{border-top-right-radius:calc(.25rem - 1px);border-top-left-radius:calc(.25rem - 1px)}.card-img-bottom{border-bottom-right-radius:calc(.25rem - 1px);border-bottom-left-radius:calc(.25rem - 1px)}@media (min-width:576px){.card-deck{display:table;width:100%;margin-bottom:.75rem;table-layout:fixed;border-spacing:1.25rem 0}.card-deck .card{display:table-cell;margin-bottom:0;vertical-align:top}.card-deck-wrapper{margin-right:-1.25rem;margin-left:-1.25rem}}@media (min-width:576px){.card-group{display:table;width:100%;table-layout:fixed}.card-group .card{display:table-cell;vertical-align:top}.card-group .card+.card{margin-left:0;border-left:0}.card-group .card:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.card-group .card:first-child .card-img-top{border-top-right-radius:0}.card-group .card:first-child .card-img-bottom{border-bottom-right-radius:0}.card-group .card:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.card-group .card:last-child .card-img-top{border-top-left-radius:0}.card-group .card:last-child .card-img-bottom{border-bottom-left-radius:0}.card-group .card:not(:first-child):not(:last-child){border-radius:0}.card-group .card:not(:first-child):not(:last-child) .card-img-bottom, .card-group .card:not(:first-child):not(:last-child) .card-img-top{border-radius:0}}@media (min-width:576px){.card-columns{column-count:3;column-gap:1.25rem}.card-columns .card{display:inline-block;width:100%}}.breadcrumb{padding:.75rem 1rem;margin-bottom:1rem;list-style:none;background-color:#eceeef;border-radius:.25rem}.breadcrumb::after{content:\"\";display:table;clear:both}.breadcrumb-item{float:left}.breadcrumb-item+.breadcrumb-item::before{display:inline-block;padding-right:.5rem;padding-left:.5rem;color:#818a91;content:\"/\"}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:underline}.breadcrumb-item+.breadcrumb-item:hover::before{text-decoration:none}.breadcrumb-item.active{color:#818a91}.pagination{display:inline-block;padding-left:0;margin-top:1rem;margin-bottom:1rem;border-radius:.25rem}.page-item{display:inline}.page-item:first-child .page-link{margin-left:0;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.page-item:last-child .page-link{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.page-item.active .page-link, .page-item.active .page-link:focus, .page-item.active .page-link:hover{z-index:2;color:#fff;cursor:default;background-color:#0275d8;border-color:#0275d8}.page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover{color:#818a91;pointer-events:none;cursor:not-allowed;background-color:#fff;border-color:#ddd}.page-link{position:relative;float:left;padding:.5rem .75rem;margin-left:-1px;color:#0275d8;text-decoration:none;background-color:#fff;border:1px solid #ddd}.page-link:focus, .page-link:hover{color:#014c8c;background-color:#eceeef;border-color:#ddd}.pagination-lg .page-link{padding:.75rem 1.5rem;font-size:1.25rem}.pagination-lg .page-item:first-child .page-link{border-bottom-left-radius:.3rem;border-top-left-radius:.3rem}.pagination-lg .page-item:last-child .page-link{border-bottom-right-radius:.3rem;border-top-right-radius:.3rem}.pagination-sm .page-link{padding:.275rem .75rem;font-size:.875rem}.pagination-sm .page-item:first-child .page-link{border-bottom-left-radius:.2rem;border-top-left-radius:.2rem}.pagination-sm .page-item:last-child .page-link{border-bottom-right-radius:.2rem;border-top-right-radius:.2rem}.tag{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.tag:empty{display:none}.btn .tag{position:relative;top:-1px}a.tag:focus, a.tag:hover{color:#fff;text-decoration:none;cursor:pointer}.tag-pill{padding-right:.6em;padding-left:.6em;border-radius:10rem}.tag-default{background-color:#818a91}.tag-default[href]:focus, .tag-default[href]:hover{background-color:#687077}.tag-primary{background-color:#0275d8}.tag-primary[href]:focus, .tag-primary[href]:hover{background-color:#025aa5}.tag-success{background-color:#5cb85c}.tag-success[href]:focus, .tag-success[href]:hover{background-color:#449d44}.tag-info{background-color:#5bc0de}.tag-info[href]:focus, .tag-info[href]:hover{background-color:#31b0d5}.tag-warning{background-color:#f0ad4e}.tag-warning[href]:focus, .tag-warning[href]:hover{background-color:#ec971f}.tag-danger{background-color:#d9534f}.tag-danger[href]:focus, .tag-danger[href]:hover{background-color:#c9302c}.jumbotron{padding:2rem 1rem;margin-bottom:2rem;background-color:#eceeef;border-radius:.3rem}@media (min-width:576px){.jumbotron{padding:4rem 2rem}}.jumbotron-hr{border-top-color:#d0d5d8}.jumbotron-fluid{padding-right:0;padding-left:0;border-radius:0}.alert{padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:2.5rem}.alert-dismissible .close{position:relative;top:-.125rem;right:-1.25rem;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d0e9c6;color:#3c763d}.alert-success hr{border-top-color:#c1e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bcdff1;color:#31708f}.alert-info hr{border-top-color:#a6d5ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faf2cc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7ecb5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebcccc;color:#a94442}.alert-danger hr{border-top-color:#e4b9b9}.alert-danger .alert-link{color:#843534}@keyframes progress-bar-stripes{from{background-position:1rem 0}to{background-position:0 0}}.progress{display:block;width:100%;height:1rem;margin-bottom:1rem}.progress[value]{background-color:#eee;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem}.progress[value]::-ms-fill{background-color:#0074d9;border:0}.progress[value]::-moz-progress-bar{background-color:#0074d9;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.progress[value]::-webkit-progress-value{background-color:#0074d9;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.progress[value=\"100\"]::-moz-progress-bar{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.progress[value=\"100\"]::-webkit-progress-value{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.progress[value]::-webkit-progress-bar{background-color:#eee;border-radius:.25rem}.progress[value], base::-moz-progress-bar{background-color:#eee;border-radius:.25rem}@media screen and (min-width:0\\0){.progress{background-color:#eee;border-radius:.25rem}.progress-bar{display:inline-block;height:1rem;text-indent:-999rem;background-color:#0074d9;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.progress[width=\"100%\"]{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}}.progress-striped[value]::-webkit-progress-value{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-striped[value]::-moz-progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-striped[value]::-ms-fill{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}@media screen and (min-width:0\\0){.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}}.progress-animated[value]::-webkit-progress-value{animation:progress-bar-stripes 2s linear infinite}.progress-animated[value]::-moz-progress-bar{animation:progress-bar-stripes 2s linear infinite}@media screen and (min-width:0\\0){.progress-animated .progress-bar-striped{animation:progress-bar-stripes 2s linear infinite}}.progress-success[value]::-webkit-progress-value{background-color:#5cb85c}.progress-success[value]::-moz-progress-bar{background-color:#5cb85c}.progress-success[value]::-ms-fill{background-color:#5cb85c}@media screen and (min-width:0\\0){.progress-success .progress-bar{background-color:#5cb85c}}.progress-info[value]::-webkit-progress-value{background-color:#5bc0de}.progress-info[value]::-moz-progress-bar{background-color:#5bc0de}.progress-info[value]::-ms-fill{background-color:#5bc0de}@media screen and (min-width:0\\0){.progress-info .progress-bar{background-color:#5bc0de}}.progress-warning[value]::-webkit-progress-value{background-color:#f0ad4e}.progress-warning[value]::-moz-progress-bar{background-color:#f0ad4e}.progress-warning[value]::-ms-fill{background-color:#f0ad4e}@media screen and (min-width:0\\0){.progress-warning .progress-bar{background-color:#f0ad4e}}.progress-danger[value]::-webkit-progress-value{background-color:#d9534f}.progress-danger[value]::-moz-progress-bar{background-color:#d9534f}.progress-danger[value]::-ms-fill{background-color:#d9534f}@media screen and (min-width:0\\0){.progress-danger .progress-bar{background-color:#d9534f}}.media, .media-body{overflow:hidden}.media-body{width:10000px}.media-body, .media-left, .media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right{padding-left:10px}.media-left{padding-right:10px}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:0}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item.disabled, .list-group-item.disabled:focus, .list-group-item.disabled:hover{color:#818a91;cursor:not-allowed;background-color:#eceeef}.list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text{color:#818a91}.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover{z-index:2;color:#fff;text-decoration:none;background-color:#0275d8;border-color:#0275d8}.list-group-item.active .list-group-item-heading, .list-group-item.active .list-group-item-heading>.small, .list-group-item.active .list-group-item-heading>small, .list-group-item.active:focus .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading>.small, .list-group-item.active:focus .list-group-item-heading>small, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading>.small, .list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text, .list-group-item.active:focus .list-group-item-text, .list-group-item.active:hover .list-group-item-text{color:#a8d6fe}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-item-action{width:100%;color:#555;text-align:inherit}.list-group-item-action .list-group-item-heading{color:#333}.list-group-item-action:focus, .list-group-item-action:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success, button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading, button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus, a.list-group-item-success:hover, button.list-group-item-success:focus, button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active, a.list-group-item-success.active:focus, a.list-group-item-success.active:hover, button.list-group-item-success.active, button.list-group-item-success.active:focus, button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info, button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading, button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus, a.list-group-item-info:hover, button.list-group-item-info:focus, button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active, a.list-group-item-info.active:focus, a.list-group-item-info.active:hover, button.list-group-item-info.active, button.list-group-item-info.active:focus, button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning, button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading, button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus, a.list-group-item-warning:hover, button.list-group-item-warning:focus, button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active, a.list-group-item-warning.active:focus, a.list-group-item-warning.active:hover, button.list-group-item-warning.active, button.list-group-item-warning.active:focus, button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger, button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading, button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus, a.list-group-item-danger:hover, button.list-group-item-danger:focus, button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active, a.list-group-item-danger.active:focus, a.list-group-item-danger.active:hover, button.list-group-item-danger.active, button.list-group-item-danger.active:focus, button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-21by9{padding-bottom:42.857143%}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.embed-responsive-1by1{padding-bottom:100%}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2}.close:focus, .close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;outline:0}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translate(0,-25%)}.modal.in .modal-dialog{transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0}.modal-backdrop.in{opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header::after{content:\"\";display:table;clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.5}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer::after{content:\"\";display:table;clear:both}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:576px){.modal-dialog{max-width:600px;margin:30px auto}.modal-sm{max-width:300px}}@media (min-width:992px){.modal-lg{max-width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;opacity:0}.tooltip.in{opacity:.9}.tooltip.bs-tether-element-attached-bottom, .tooltip.tooltip-top{padding:5px 0;margin-top:-3px}.tooltip.bs-tether-element-attached-bottom .tooltip-inner::before, .tooltip.tooltip-top .tooltip-inner::before{bottom:0;left:50%;margin-left:-5px;content:\"\";border-width:5px 5px 0;border-top-color:#000}.tooltip.bs-tether-element-attached-left, .tooltip.tooltip-right{padding:0 5px;margin-left:3px}.tooltip.bs-tether-element-attached-left .tooltip-inner::before, .tooltip.tooltip-right .tooltip-inner::before{top:50%;left:0;margin-top:-5px;content:\"\";border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.bs-tether-element-attached-top, .tooltip.tooltip-bottom{padding:5px 0;margin-top:3px}.tooltip.bs-tether-element-attached-top .tooltip-inner::before, .tooltip.tooltip-bottom .tooltip-inner::before{top:0;left:50%;margin-left:-5px;content:\"\";border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bs-tether-element-attached-right, .tooltip.tooltip-left{padding:0 5px;margin-left:-3px}.tooltip.bs-tether-element-attached-right .tooltip-inner::before, .tooltip.tooltip-left .tooltip-inner::before{top:50%;right:0;margin-top:-5px;content:\"\";border-width:5px 0 5px 5px;border-left-color:#000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:.25rem}.tooltip-inner::before{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px;padding:1px;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;font-size:.875rem;word-wrap:break-word;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:.3rem}.popover.bs-tether-element-attached-bottom, .popover.popover-top{margin-top:-10px}.popover.bs-tether-element-attached-bottom::after, .popover.bs-tether-element-attached-bottom::before, .popover.popover-top::after, .popover.popover-top::before{left:50%;border-bottom-width:0}.popover.bs-tether-element-attached-bottom::before, .popover.popover-top::before{bottom:-11px;margin-left:-11px;border-top-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-bottom::after, .popover.popover-top::after{bottom:-10px;margin-left:-10px;border-top-color:#fff}.popover.bs-tether-element-attached-left, .popover.popover-right{margin-left:10px}.popover.bs-tether-element-attached-left::after, .popover.bs-tether-element-attached-left::before, .popover.popover-right::after, .popover.popover-right::before{top:50%;border-left-width:0}.popover.bs-tether-element-attached-left::before, .popover.popover-right::before{left:-11px;margin-top:-11px;border-right-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-left::after, .popover.popover-right::after{left:-10px;margin-top:-10px;border-right-color:#fff}.popover.bs-tether-element-attached-top, .popover.popover-bottom{margin-top:10px}.popover.bs-tether-element-attached-top::after, .popover.bs-tether-element-attached-top::before, .popover.popover-bottom::after, .popover.popover-bottom::before{left:50%;border-top-width:0}.popover.bs-tether-element-attached-top::before, .popover.popover-bottom::before{top:-11px;margin-left:-11px;border-bottom-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-top::after, .popover.popover-bottom::after{top:-10px;margin-left:-10px;border-bottom-color:#f7f7f7}.popover.bs-tether-element-attached-top .popover-title::before, .popover.popover-bottom .popover-title::before{position:absolute;top:0;left:50%;display:block;width:20px;margin-left:-10px;content:\"\";border-bottom:1px solid #f7f7f7}.popover.bs-tether-element-attached-right, .popover.popover-left{margin-left:-10px}.popover.bs-tether-element-attached-right::after, .popover.bs-tether-element-attached-right::before, .popover.popover-left::after, .popover.popover-left::before{top:50%;border-right-width:0}.popover.bs-tether-element-attached-right::before, .popover.popover-left::before{right:-11px;margin-top:-11px;border-left-color:rgba(0,0,0,.25)}.popover.bs-tether-element-attached-right::after, .popover.popover-left::after{right:-10px;margin-top:-10px;border-left-color:#fff}.popover-title{padding:8px 14px;margin:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:.2375rem .2375rem 0 0}.popover-title:empty{display:none}.popover-content{padding:9px 14px}.popover::after, .popover::before{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover::before{content:\"\";border-width:11px}.popover::after{content:\"\";border-width:10px}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.carousel-item{position:relative;display:none;transition:.6s ease-in-out left}.carousel-inner>.carousel-item>a>img, .carousel-inner>.carousel-item>img{line-height:1}@media all and (transform-3d), (-webkit-transform-3d){.carousel-inner>.carousel-item{transition:transform .6s ease-in-out;backface-visibility:hidden;perspective:1000px}.carousel-inner>.carousel-item.active.right, .carousel-inner>.carousel-item.next{left:0;transform:translate3d(100%,0,0)}.carousel-inner>.carousel-item.active.left, .carousel-inner>.carousel-item.prev{left:0;transform:translate3d(-100%,0,0)}.carousel-inner>.carousel-item.active, .carousel-inner>.carousel-item.next.left, .carousel-inner>.carousel-item.prev.right{left:0;transform:translate3d(0,0,0)}}.carousel-inner>.active, .carousel-inner>.next, .carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next, .carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left, .carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);opacity:.5}.carousel-control.left{background-image:linear-gradient(to right,rgba(0,0,0,.5) 0%,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0%,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:focus, .carousel-control:hover{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control .icon-next, .carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-prev::before{content:\"\\2039\"}.carousel-control .icon-next::before{content:\"\\203A\"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:transparent;border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media (min-width:576px){.carousel-control .icon-next, .carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .icon-prev{margin-left:-15px}.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.bg-faded{background-color:#f7f7f9}.bg-primary{background-color:#0275d8!important}a.bg-primary:focus, a.bg-primary:hover{background-color:#025aa5!important}.bg-success{background-color:#5cb85c!important}a.bg-success:focus, a.bg-success:hover{background-color:#449d44!important}.bg-info{background-color:#5bc0de!important}a.bg-info:focus, a.bg-info:hover{background-color:#31b0d5!important}.bg-warning{background-color:#f0ad4e!important}a.bg-warning:focus, a.bg-warning:hover{background-color:#ec971f!important}.bg-danger{background-color:#d9534f!important}a.bg-danger:focus, a.bg-danger:hover{background-color:#c9302c!important}.bg-inverse{background-color:#373a3c!important}a.bg-inverse:focus, a.bg-inverse:hover{background-color:#1f2021!important}.rounded{border-radius:.25rem}.rounded-top{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.rounded-right{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.rounded-bottom{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-left{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.rounded-circle{border-radius:50%}.clearfix::after{content:\"\";display:table;clear:both}.d-block{display:block!important}.d-inline-block{display:inline-block!important}.d-inline{display:inline!important}.float-xs-left{float:left!important}.float-xs-right{float:right!important}.float-xs-none{float:none!important}@media (min-width:576px){.float-sm-left{float:left!important}.float-sm-right{float:right!important}.float-sm-none{float:none!important}}@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}.float-md-none{float:none!important}}@media (min-width:992px){.float-lg-left{float:left!important}.float-lg-right{float:right!important}.float-lg-none{float:none!important}}@media (min-width:1200px){.float-xl-left{float:left!important}.float-xl-right{float:right!important}.float-xl-none{float:none!important}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active, .sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-100{width:100%!important}.h-100{height:100%!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.m-0{margin:0 0!important}.mt-0{margin-top:0!important}.mr-0{margin-right:0!important}.mb-0{margin-bottom:0!important}.ml-0{margin-left:0!important}.mx-0{margin-right:0!important;margin-left:0!important}.my-0{margin-top:0!important;margin-bottom:0!important}.m-1{margin:1rem 1rem!important}.mt-1{margin-top:1rem!important}.mr-1{margin-right:1rem!important}.mb-1{margin-bottom:1rem!important}.ml-1{margin-left:1rem!important}.mx-1{margin-right:1rem!important;margin-left:1rem!important}.my-1{margin-top:1rem!important;margin-bottom:1rem!important}.m-2{margin:1.5rem 1.5rem!important}.mt-2{margin-top:1.5rem!important}.mr-2{margin-right:1.5rem!important}.mb-2{margin-bottom:1.5rem!important}.ml-2{margin-left:1.5rem!important}.mx-2{margin-right:1.5rem!important;margin-left:1.5rem!important}.my-2{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.m-3{margin:3rem 3rem!important}.mt-3{margin-top:3rem!important}.mr-3{margin-right:3rem!important}.mb-3{margin-bottom:3rem!important}.ml-3{margin-left:3rem!important}.mx-3{margin-right:3rem!important;margin-left:3rem!important}.my-3{margin-top:3rem!important;margin-bottom:3rem!important}.p-0{padding:0 0!important}.pt-0{padding-top:0!important}.pr-0{padding-right:0!important}.pb-0{padding-bottom:0!important}.pl-0{padding-left:0!important}.px-0{padding-right:0!important;padding-left:0!important}.py-0{padding-top:0!important;padding-bottom:0!important}.p-1{padding:1rem 1rem!important}.pt-1{padding-top:1rem!important}.pr-1{padding-right:1rem!important}.pb-1{padding-bottom:1rem!important}.pl-1{padding-left:1rem!important}.px-1{padding-right:1rem!important;padding-left:1rem!important}.py-1{padding-top:1rem!important;padding-bottom:1rem!important}.p-2{padding:1.5rem 1.5rem!important}.pt-2{padding-top:1.5rem!important}.pr-2{padding-right:1.5rem!important}.pb-2{padding-bottom:1.5rem!important}.pl-2{padding-left:1.5rem!important}.px-2{padding-right:1.5rem!important;padding-left:1.5rem!important}.py-2{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.p-3{padding:3rem 3rem!important}.pt-3{padding-top:3rem!important}.pr-3{padding-right:3rem!important}.pb-3{padding-bottom:3rem!important}.pl-3{padding-left:3rem!important}.px-3{padding-right:3rem!important;padding-left:3rem!important}.py-3{padding-top:3rem!important;padding-bottom:3rem!important}.pos-f-t{position:fixed;top:0;right:0;left:0;z-index:1030}.text-justify{text-align:justify!important}.text-nowrap{white-space:nowrap!important}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-xs-left{text-align:left!important}.text-xs-right{text-align:right!important}.text-xs-center{text-align:center!important}@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width:1200px){.text-xl-left{text-align:left!important}.text-xl-right{text-align:right!important}.text-xl-center{text-align:center!important}}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.font-weight-normal{font-weight:400}.font-weight-bold{font-weight:700}.font-italic{font-style:italic}.text-white{color:#fff!important}.text-muted{color:#818a91!important}a.text-muted:focus, a.text-muted:hover{color:#687077!important}.text-primary{color:#0275d8!important}a.text-primary:focus, a.text-primary:hover{color:#025aa5!important}.text-success{color:#5cb85c!important}a.text-success:focus, a.text-success:hover{color:#449d44!important}.text-info{color:#5bc0de!important}a.text-info:focus, a.text-info:hover{color:#31b0d5!important}.text-warning{color:#f0ad4e!important}a.text-warning:focus, a.text-warning:hover{color:#ec971f!important}.text-danger{color:#d9534f!important}a.text-danger:focus, a.text-danger:hover{color:#c9302c!important}.text-gray-dark{color:#373a3c!important}a.text-gray-dark:focus, a.text-gray-dark:hover{color:#1f2021!important}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.invisible{visibility:hidden!important}.hidden-xs-up{display:none!important}@media (max-width:575px){.hidden-xs-down{display:none!important}}@media (min-width:576px){.hidden-sm-up{display:none!important}}@media (max-width:767px){.hidden-sm-down{display:none!important}}@media (min-width:768px){.hidden-md-up{display:none!important}}@media (max-width:991px){.hidden-md-down{display:none!important}}@media (min-width:992px){.hidden-lg-up{display:none!important}}@media (max-width:1199px){.hidden-lg-down{display:none!important}}@media (min-width:1200px){.hidden-xl-up{display:none!important}}.hidden-xl-down{display:none!important}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}*:focus, .input-checkbox:focus input ~ .input-checkbox-tick, *:focus > .input-dropdown, .input-focused > .input-dropdown, .input-focused {\n border-color: #4d5b65;\n outline: 0;\n}*:focus > .nav-link.active {\n border-color: #4d5b65 #4d5b65 transparent !important;\n outline:0;\n}*:focus > .nav-link {\n border-color: #4d5b65 #4d5b65 #dee6ec !important;\n outline:0;\n}.btn:focus, button:focus {\n outline: 0;\n}.btn-device:focus {\n border: 1px solid #4d5b65;\n}.chart-wrapper {\n width: 100%;\n overflow: auto;\n min-height: 425px;\n}.pie-path {\n stroke: #fff;\n stroke-width: 2px;\n}.error-load-data {\n padding-top: 1rem;\n color: #f67a89;\n}.error-load-data .error-load-text {\n padding-bottom: 1rem;\n}.error-loading {\n width: 120px;\n height: 120px;\n border-radius: 100%;\n border: 20px solid rgba(0, 0, 0, 0.2);\n animation: spin 4s infinite linear;\n}@keyframes spin { \n 0%, 100% { \n border-bottom-color: #808080;\n border-left-color: rgba(0, 0, 0, 0.2);\n border-right-color: rgba(0, 0, 0, 0.2);\n border-top-color: rgba(0, 0, 0, 0.2); \n }\n\n 25% {\n border-right-color: #808080;\n border-left-color: rgba(0, 0, 0, 0.2);\n border-top-color: rgba(0, 0, 0, 0.2);\n border-bottom-color: rgba(0, 0, 0, 0.2);\n }\n\n 50% {\n border-top-color: #808080;\n border-left-color: rgba(0, 0, 0, 0.2);\n border-right-color: rgba(0, 0, 0, 0.2);\n border-bottom-color: rgba(0, 0, 0, 0.2);\n }\n\n 75% {\n border-left-color: #808080;\n border-right-color: rgba(0, 0, 0, 0.2);\n border-top-color: rgba(0, 0, 0, 0.2);\n border-bottom-color: rgba(0, 0, 0, 0.2);\n }\n}.daterangepicker {\n position: absolute;\n color: #6b7b86;\n background: #fff;\n border-radius: 4px;\n width: 278px;\n padding: 4px;\n margin-top: 1px;\n top: 100px;\n left: 20px;\n /* Calendars */\n}.daterangepicker:before, .daterangepicker:after {\n position: absolute;\n display: inline-block;\n border-bottom-color: rgba(0, 0, 0, 0.2);\n content: '';\n}.daterangepicker:before {\n top: -7px;\n border-right: 7px solid transparent;\n border-left: 7px solid transparent;\n border-bottom: 7px solid #ccc;\n}.daterangepicker:after {\n top: -6px;\n border-right: 6px solid transparent;\n border-bottom: 6px solid #fff;\n border-left: 6px solid transparent;\n}.daterangepicker.opensleft:before {\n right: 9px;\n}.daterangepicker.opensleft:after {\n right: 10px;\n}.daterangepicker.openscenter:before {\n left: 0;\n right: 0;\n width: 0;\n margin-left: auto;\n margin-right: auto;\n}.daterangepicker.openscenter:after {\n left: 0;\n right: 0;\n width: 0;\n margin-left: auto;\n margin-right: auto;\n}.daterangepicker.opensright:before {\n left: 9px;\n}.daterangepicker.opensright:after {\n left: 10px;\n}.daterangepicker.dropup {\n margin-top: -5px;\n}.daterangepicker.dropup:before {\n top: initial;\n bottom: -7px;\n border-bottom: initial;\n border-top: 7px solid #ccc;\n}.daterangepicker.dropup:after {\n top: initial;\n bottom: -6px;\n border-bottom: initial;\n border-top: 6px solid #fff;\n}.daterangepicker.dropdown-menu {\n max-width: none;\n z-index: 3001;\n}.daterangepicker.single .ranges, .daterangepicker.single .calendar {\n float: none;\n}.daterangepicker.show-calendar .calendar {\n display: block;\n}.daterangepicker .calendar {\n display: none;\n max-width: 270px;\n margin: 4px;\n}.daterangepicker .calendar.single .calendar-table {\n border: none;\n}.daterangepicker .calendar th, .daterangepicker .calendar td {\n white-space: nowrap;\n text-align: center;\n min-width: 36px;\n}.daterangepicker .calendar-table {\n border: 1px solid #fff;\n padding: 4px;\n border-radius: 4px;\n background: #fff;\n}.daterangepicker table {\n width: 100%;\n margin: 0;\n}.daterangepicker td, .daterangepicker th {\n text-align: center;\n width: 20px;\n height: 20px;\n border: 1px solid transparent;\n white-space: nowrap;\n cursor: pointer;\n font-weight:500;\n}.daterangepicker td.available:hover, .daterangepicker th.available:hover {\n background-color: #eee;\n border-color: transparent;\n color: inherit;\n}.daterangepicker td.week, .daterangepicker th.week {\n font-size: 80%;\n}.daterangepicker td.in-range {\n color: inherit;\n}.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {\n background-color: #fff;\n border-color: transparent;\n font-weight: 400;\n}.daterangepicker td.in-range {\n background-color: #ebf4f8;\n border-color: transparent;\n border-radius: 0;\n}.daterangepicker td.start-date {\n}.daterangepicker td.end-date {\n}.daterangepicker td.start-date.end-date {\n}.daterangepicker td.active, .daterangepicker td.active:hover {\n background-color: #357ebd;\n border-color: transparent;\n color: #fff;\n}.daterangepicker th.month {\n width: auto;\n text-transform: uppercase;\n letter-spacing: .7px;\n}.daterangepicker td.disabled, .daterangepicker option.disabled {\n color: #999;\n cursor: default;\n text-decoration: line-through;\n}.daterangepicker select.monthselect, .daterangepicker select.yearselect {\n font-size: 12px;\n padding: 1px;\n height: auto;\n margin: 0;\n cursor: default;\n}.daterangepicker select.monthselect {\n margin-right: 2%;\n width: 56%;\n}.daterangepicker select.yearselect {\n width: 40%;\n}.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {\n width: 50px;\n margin-bottom: 0;\n background-color: #fff;\n color: #555;\n border: 1px solid #9aafbd;\n}.daterangepicker .input-mini {\n border: 1px solid #ccc;\n border-radius: 4px;\n color: #555;\n height: 30px;\n line-height: 30px;\n display: block;\n vertical-align: middle;\n margin: 0 0 5px 0;\n padding: 0 6px 0 28px;\n width: 100%;\n}.daterangepicker .input-mini.active {\n border: 1px solid #08c;\n border-radius: 4px;\n}.daterangepicker .daterangepicker_input {\n position: relative;\n}.daterangepicker .daterangepicker_input i {\n position: absolute;\n left: 8px;\n top: 8px;\n}.daterangepicker.rtl .input-mini {\n padding-right: 28px;\n padding-left: 6px;\n}.daterangepicker.rtl .daterangepicker_input i {\n left: auto;\n right: 8px;\n}.daterangepicker .calendar-time {\n text-align: center;\n margin: 5px auto;\n line-height: 30px;\n position: relative;\n padding-left: 28px;\n}.daterangepicker .calendar-time select.disabled {\n color: #ccc;\n cursor: default;\n}.ranges {\n font-size: 11px;\n float: none;\n margin: 4px;\n text-align: left;\n}.ranges ul {\n list-style: none;\n margin: 0 auto;\n padding: 0;\n width: 100%;\n}.ranges li {\n font-size: 13px;\n background: #f5f5f5;\n border: 1px solid #f5f5f5;\n border-radius: 4px;\n color: #08c;\n padding: 3px 12px;\n margin-bottom: 8px;\n cursor: pointer;\n}.ranges li:hover {\n background: #08c;\n border: 1px solid #08c;\n color: #fff;\n}.ranges li.active {\n background: #08c;\n border: 1px solid #08c;\n color: #fff;\n}/* Larger Screen Styling */@media (min-width: 564px) {\n .daterangepicker {\n width: auto;\n }\n .daterangepicker .ranges ul {\n width: 160px;\n }\n .daterangepicker.single .ranges ul {\n width: 100%;\n }\n .daterangepicker.single .calendar.left {\n clear: none;\n }\n .daterangepicker.single.ltr .ranges, .daterangepicker.single.ltr .calendar {\n float: left;\n }\n .daterangepicker.single.rtl .ranges, .daterangepicker.single.rtl .calendar {\n float: right;\n }\n .daterangepicker.ltr {\n direction: ltr;\n text-align: left;\n }\n .daterangepicker.ltr .calendar.left {\n clear: left;\n margin-right: 0;\n }\n .daterangepicker.ltr .calendar.left .calendar-table {\n border-right: none;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .daterangepicker.ltr .calendar.right {\n margin-left: 0;\n }\n .daterangepicker.ltr .calendar.right .calendar-table {\n border-left: none;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .daterangepicker.ltr .left .daterangepicker_input {\n padding-right: 12px;\n }\n .daterangepicker.ltr .calendar.left .calendar-table {\n padding-right: 12px;\n }\n .daterangepicker.ltr .ranges, .daterangepicker.ltr .calendar {\n float: left;\n }\n .daterangepicker.rtl {\n direction: rtl;\n text-align: right;\n }\n .daterangepicker.rtl .calendar.left {\n clear: right;\n margin-left: 0;\n }\n .daterangepicker.rtl .calendar.left .calendar-table {\n border-left: none;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .daterangepicker.rtl .calendar.right {\n margin-right: 0;\n }\n .daterangepicker.rtl .calendar.right .calendar-table {\n border-right: none;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .daterangepicker.rtl .left .daterangepicker_input {\n padding-left: 12px;\n }\n .daterangepicker.rtl .calendar.left .calendar-table {\n padding-left: 12px;\n }\n .daterangepicker.rtl .ranges, .daterangepicker.rtl .calendar {\n text-align: right;\n float: right;\n }\n}@media (min-width: 730px) {\n .daterangepicker .ranges {\n width: auto;\n }\n .daterangepicker.ltr .ranges {\n float: left;\n }\n .daterangepicker.rtl .ranges {\n float: right;\n }\n .daterangepicker .calendar.left {\n clear: none !important;\n }\n}.daterangepicker td, .daterangepicker th {\n font-size: .8rem;\n}.daterangepicker th:not(.month):not(.next):not(.prev) {\n color: #afbfc9;\n font-weight: 400;\n}.daterangepicker .calendar th, .daterangepicker .calendar td {\n padding: 4px 6px;\n}.daterangepicker .next.available:after {\n font-size: 1rem;\n content: '\\203A'\n}.daterangepicker .prev.available:after {\n font-size: 1rem;\n content: '\\2039'\n}/* Date range datepicker custom styles */.daterangepicker td.in-range {\n background-color: #f2f7fa;\n}.daterangepicker td.active, .daterangepicker td.active:hover {\n background-color: #9aafbd;\n color: #fff;\n}.cancelBtn {\n border: solid 1px #C9D5DC;\n color: #6b7b86;\n background-color: transparent;\n}.applyBtn {\n color: #fff;\n background-color: #76b727;\n border-color: #76b727;\n}.applyBtn:hover, .applyBtn:focus, .daterangepicker .applyBtn:active {\n background-color: #76b727;\n border-color: #76b727;\n}.ranges li {\n background-color: #f2f7fa;\n color: #4d5b65;\n}.ranges li:hover {\n background-color: #9aafbd;\n border: 1px solid #9aafbd;\n}.ranges li.active {\n background-color: #9aafbd;\n border: 1px solid #9aafbd;\n}.daterangepicker .input-mini.active {\n border: 1px solid #9aafbd;\n}.dropdown-menu.daterangepicker {\n border: 1px solid #C9D5DC;\n}.rdt {\n position: relative;\n font-size: .8rem;\n color: #6b7b86;\n font-weight:500;\n cursor: pointer;\n}.rdt > .form-control {\n border-radius:0;\n border:0;\n border-color: #C9D5DC;\n padding: 1px;\n cursor: inherit;\n line-height: 21px;\n}.rdt > .form-control:focus {\n background-color: transparent;\n}.rdt > input[value='(none)']{\n opacity: .7;\n font-weight: normal;\n}.rdtPicker {\n display: none;\n position: absolute;\n width: 260px;\n padding: 0;\n margin-top: 3px;\n z-index: 99 !important;\n background: #fff;\n border: 1px solid #C9D5DC;\n border-radius: 3px;\n}.rdtOpen .rdtPicker {\n display: block;\n}.rdtStatic .rdtPicker {\n box-shadow: none;\n position: static;\n}.rdtPicker .rdtTimeToggle {\n text-align: center;\n}.rdtPicker table {\n width: 100%;\n margin: 5px 0;\n}.rdtPicker td, .rdtPicker th {\n text-align: center;\n height: 28px;\n}.rdtPicker td {\n cursor: pointer;\n}.rdtPicker td.rdtToday:hover, .rdtPicker td.rdtHour:hover, .rdtPicker td.rdtMinute:hover, .rdtPicker td.rdtSecond:hover, .rdtPicker .rdtTimeToggle:hover {\n cursor: pointer;\n}.rdtPicker td.rdtOld, .rdtPicker td.rdtNew {\n color: #6b7b86;\n font-weight:400;\n}.rdtToday {\n border: 1px solid #f67a89;\n}.rdtPicker td.rdtActive, .rdtPicker td.rdtActive:hover {\n background-color: #9aafbd;\n color:#fff;\n}.rdtPicker td.rdtActive.rdtToday:before {\n border-bottom-color: #fff;\n}.rdtPicker td.rdtDisabled, .rdtPicker td.rdtDisabled:hover {\n background: none;\n color: #999999;\n cursor: default;\n}.rdtPicker td span.rdtOld {\n color: #999999;\n}.rdtPicker td span.rdtDisabled, .rdtPicker td span.rdtDisabled:hover {\n background: none;\n color: #999999;\n cursor: default;\n}.rdtPicker .dow {\n width: 14.2857%;\n border-bottom: none;\n color: #afbfc9;\n font-weight: 400;\n}.rdtPicker th.rdtSwitch {\n width: 100px;\n}.rdtPicker th.rdtNext, .rdtPicker th.rdtPrev {\n font-size: 16px;\n color: #7180b6;\n vertical-align: top;\n}.rdtPrev span, .rdtNext span {\n display: block;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Chrome/Safari/Opera */ /* Konqueror */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n}.rdtPicker th.rdtDisabled, .rdtPicker th.rdtDisabled:hover {\n background: none;\n color: #999999;\n cursor: default;\n}.rdtPicker thead tr:first-child th {\n cursor: pointer;\n text-transform: uppercase;\n letter-spacing: .7px;\n}.rdtPicker tfoot {\n border-top: 1px solid #f9f9f9;\n}.rdtPicker button {\n border: none;\n background: none;\n cursor: pointer;\n}.rdtPicker button:hover {\n background-color: #eee;\n}.rdtPicker thead button {\n width: 100%;\n height: 100%;\n}td.rdtMonth, td.rdtYear {\n height: 50px;\n width: 25%;\n cursor: pointer;\n}td.rdtMonth:hover, td.rdtYear:hover {\n background: #eee;\n}.rdtCounters {\n display: inline-block;\n}.rdtCounters > div {\n float: left;\n}.rdtCounter {\n height: 100px;\n}.rdtCounter {\n width: 40px;\n}.rdtCounterSeparator {\n line-height: 100px;\n}.rdtCounter .rdtBtn {\n height: 40%;\n line-height: 40px;\n cursor: pointer;\n display: block;\n\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Chrome/Safari/Opera */ /* Konqueror */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n}.rdtCounter .rdtBtn:hover {\n background: #eee;\n}.rdtCounter .rdtCount {\n height: 20%;\n font-size: 1.2em;\n}.rdtMilli {\n vertical-align: middle;\n padding-left: 8px;\n width: 48px;\n}.rdtMilli input {\n width: 100%;\n font-size: 1.2em;\n margin-top: 37px;\n}.rdtDayPart {\n margin-top: 43px;\n}.draggable-widget {\n border: 1px solid #C9D5DC;\n width: calc(33.333% - 1rem);\n margin: .5rem;\n background-color: white;\n display: inline-block;\n border-radius: 3px;\n pointer-events: visible;\n vertical-align: top\n}@media screen and (max-width: 991px) {.draggable-widget{width:calc(50% - 1rem)}\n }@media screen and (max-width: 768px) {.draggable-widget{width:calc(100% - 1rem)}\n }.draggable-widget-header {\n padding: 6px 10px;\n background: #f2f7fa;\n border-bottom: 1px solid #C9D5DC;\n font-size: 0.875rem;\n color: #4d5b65;\n position: relative;\n cursor: move;\n height: 34px;\n white-space: nowrap;\n text-overflow: ellipsis;\n}.draggable-widget-body {\n min-height: 250px;\n height: calc(100% - 34px);\n z-index: 1;\n overflow: hidden;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.draggable-widget-icon {\n padding: 10px;\n cursor: pointer;\n position: absolute;\n right: 0;\n top: 0;\n}.draggable-widget-menu {\n background: white;\n border: 1px solid #C9D5DC;\n border-radius: 3px;\n display: inline-block;\n position: absolute;\n top: 25px;\n right: -4px;\n z-index: 100;\n}.draggable-widget-menu span {\n width: 100%;\n padding: 5px;\n display: block;\n}.draggable-widget-menu span:hover {\n cursor: pointer;\n background: #f2f7fa;\n}.draggable-widget-maximize {\n width: 100%;\n height: calc(100vh - 100px);\n position: relative;\n margin: 0;\n}.dragging {\n border: 2px dashed #C9D5DC;\n opacity: 0.5;\n}.dragging .draggable-widget-header {\n background: transparent;\n border-bottom: none;\n color: transparent;\n}.draggable-widget-body iframe {\n width: calc(100% - 1px);\n min-height: 280px;\n height: 100%;\n float: left;\n}@charset 'UTF-8';@font-face {\n font-family: 'metasfresh';\n src:url(" + __webpack_require__(788) + ");\n src:url(" + __webpack_require__(788) + "?#iefix) format('embedded-opentype'),\n url(" + __webpack_require__(789) + ") format('woff'),\n url(" + __webpack_require__(790) + ") format('truetype'),\n url(" + __webpack_require__(791) + "#metasfresh) format('svg');\n font-weight: normal;\n font-style: normal;\n\n}[data-icon]:before {\n font-family: 'metasfresh' !important;\n content: attr(data-icon);\n font-style: normal !important;\n font-weight: normal !important;\n font-variant: normal !important;\n text-transform: none !important;\n speak: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}[class^='meta-icon-']:before, [class*=' meta-icon-']:before {\n font-family: 'metasfresh' !important;\n font-style: normal !important;\n font-weight: normal !important;\n font-variant: normal !important;\n text-transform: none !important;\n speak: none;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}.meta-icon-accept:before {\n content: 'a';\n}.meta-icon-add:before {\n content: 'b';\n}.meta-icon-attachments:before {\n content: 'c';\n}.meta-icon-beschaffung:before {\n content: 'd';\n}.meta-icon-calendar:before {\n content: 'e';\n}.meta-icon-checkbox:before {\n content: 'f';\n}.meta-icon-checkbox-1:before {\n content: 'g';\n}.meta-icon-chevron-1:before {\n content: 'h';\n}.meta-icon-close-1:before {\n content: 'i';\n}.meta-icon-close-alt:before {\n content: 'j';\n}.meta-icon-collapse:before {\n content: 'k';\n}.meta-icon-crm:before {\n content: 'l';\n}.meta-icon-delete:before {\n content: 'm';\n}.meta-icon-down-1:before {\n content: 'n';\n}.meta-icon-duplicate:before {\n content: 'o';\n}.meta-icon-edit:before {\n content: 'p';\n}.meta-icon-fakturierung:before {\n content: 'q';\n}.meta-icon-file:before {\n content: 'r';\n}.meta-icon-finanzen:before {\n content: 's';\n}.meta-icon-fullscreen:before {\n content: 't';\n}.meta-icon-generate:before {\n content: 'u';\n}.meta-icon-important:before {\n content: 'v';\n}.meta-icon-langerverwaltung:before {\n content: 'w';\n}.meta-icon-left:before {\n content: 'x';\n}.meta-icon-lieferung:before {\n content: 'y';\n}.meta-icon-list:before {\n content: 'z';\n}.meta-icon-listing-down:before {\n content: 'A';\n}.meta-icon-listing-up:before {\n content: 'B';\n}.meta-icon-logout:before {\n content: 'C';\n}.meta-icon-menu:before {\n content: 'D';\n}.meta-icon-message:before {\n content: 'E';\n}.meta-icon-more:before {\n content: 'F';\n}.meta-icon-notifications:before {\n content: 'G';\n}.meta-icon-package:before {\n content: 'H';\n}.meta-icon-pallete:before {\n content: 'I';\n}.meta-icon-preview:before {\n content: 'J';\n}.meta-icon-print:before {\n content: 'K';\n}.meta-icon-product:before {\n content: 'L';\n}.meta-icon-production:before {\n content: 'M';\n}.meta-icon-produktverwaltung:before {\n content: 'N';\n}.meta-icon-profile:before {\n content: 'O';\n}.meta-icon-report:before {\n content: 'P';\n}.meta-icon-report-1:before {\n content: 'Q';\n}.meta-icon-right:before {\n content: 'R';\n}.meta-icon-sales:before {\n content: 'S';\n}.meta-icon-save:before {\n content: 'T';\n}.meta-icon-settings:before {\n content: 'U';\n}.meta-icon-share:before {\n content: 'V';\n}.meta-icon-trash:before {\n content: 'W';\n}.meta-icon-upload:before {\n content: 'X';\n}.meta-icon-upload-1:before {\n content: 'Y';\n}.meta-icon-vertragsverwaltung:before {\n content: 'Z';\n}.meta-icon-wereneingang:before {\n content: '0';\n}.meta-icon-photo:before {\n content: '1';\n}.meta-icon-issue:before {\n content: '2';\n}.meta-icon-receipt:before {\n content: '3';\n}.header-sticky-distance{\n margin-top: 55px;\n}.header {\n border-bottom: 1px solid;\n position: fixed;\n top:0;\n left:0;\n width: 100%;\n height: 55px;\n z-index: 100;\n}.header-container {\n width: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}.header-logo {\n height: 31px;\n}@media (max-width: 543px){\n .header .container-fluid {\n padding-left:0;\n padding-right:0;\n }\n .header-logo {\n height: 20px;\n }\n}.header-middle {\n padding: .7rem 1rem;\n display: inline-block;\n}.header-btn {\n width:100%;\n}.header-breadcrumb {\n color: #6b7b86;\n font-size: 0.875rem;\n width: auto;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n overflow: hidden;\n}.header-breadcrumb-line {\n color: #6b7b86;\n font-size: 0.875rem;\n width: auto;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n overflow: hidden;\n\n position: relative;\n -ms-flex:1;\n flex:1;\n}@media (max-width: 543px){\n .header-breadcrumb{\n top: 25px;\n left: -55px;\n position: absolute;\n background-color: #fff;\n width: calc(100vw);\n border-bottom: 1px solid #dee6ec;\n border-top: 1px solid #dee6ec;\n padding:4px 0;\n }\n .header-sticky-distance {\n margin-top: 130px;\n }\n}.header-breadcrumb a {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}.header-breadcrumb-link{\n color: #467799 !important;\n}.header-breadcrumb .divider {\n margin: 0 .2rem;\n min-width: 5px;\n}.header-breadcrumb > * {\n white-space: nowrap;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n\n -ms-flex-negative:1;\n\n flex-shrink:1;\n}.header-breadcrumb-wrapper {\n position: relative;\n -ms-flex:1;\n flex:1;\n}.header-breadcrumb > .menu-overlay-expand, .header-breadcrumb > .menu-overlay-link {\n display: inline-block;\n}.header-input-id {\n margin: 0 .3rem;\n}.header-super-faded {\n background-color: #FFF;\n border-bottom-color: #dee6ec;\n}.header-input-sm {\n width:85px;\n min-width: 85px;\n}.header-input-sm input{\n font-size: 0.85rem;\n}.header-input-sm .input-icon-right {\n font-size: 0.85rem;\n right:3px;\n}.header-input-sm .form-group {\n margin-bottom:0;\n}.header-input-sm .input-secondary, .header-input-sm .input-secondary input {\n margin: 0;\n font-size: 0.85rem;\n line-height: 1;\n padding: 0 10px 0 0;\n}.subheader-container {\n display: none;\n width: 50%;\n position: fixed;\n z-index: 201;\n margin-top:-1px;\n background-color: #F8FAFB;\n}.subheader-open {\n display: block;\n}.subheader-column {\n width: 50%;\n border-right: 1px solid #e1e7ec;\n \n overflow: hidden;\n}.subheader-column:focus {\n border-color: #e1e7ec;\n}@media (max-width: 543px) {\n .subheader-container {\n top: 55px;\n width: 100%;\n z-index: 201;\n max-height: calc(100vh - 55px);\n overflow: scroll;\n }\n .subheader-column {\n width: 100%;\n border-bottom: 1px solid #dee6ec;\n }\n}.subheader-item {\n position: relative;\n width: 100%;\n display: block;\n padding: .75rem 1.25rem;\n text-decoration: none !important;\n color: inherit;\n}.subheader-caption {\n position: relative;\n width: 100%;\n padding: .75rem 1.25rem;\n margin-left: -.5rem;\n text-transform: uppercase;\n color: #6b7b86;\n font-weight: 500;\n}.subheader-additional-box{\n position:absolute;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n height: 100%;\n width: 50px;\n right:0;\n top:0;\n background-color: #6c7b85;\n}.subheader-item-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}.subheader-item:not(.subheader-item-disabled){\n cursor: pointer;\n}.subheader-item:not(.subheader-item-disabled):hover {\n background-color: #9aafbd;\n color: #fff;\n}.subheader-item:focus {\n background-color: #9aafbd;\n color: #fff;\n}.subheader-item:focus {\n background-color: #9aafbd;\n color: #fff;\n}.subheader-header {\n padding: .75rem 1.25rem;\n color: #9aafbd;\n font-size: 1.1rem;\n}.subheader-row {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n}.subheader-break {\n width: 100%;\n height: 1px;\n padding:0 !important;\n background-color: #e1e7ec;\n}.btn-subheader-open {\n position: relative;\n z-index:300;\n}.btn-square {\n min-width: 55px;\n \n}.header-left-side, .header-right-side {\n width: calc(50% - 75px);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n}.header-right-side {\n -ms-flex-align: center;\n -ms-grid-row-align: center;\n align-items: center;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}.header-right-side .form-group {\n height: auto;\n min-height: 100%;\n margin: 0;\n}.header-left-side {\n -ms-flex-align: center;\n -ms-grid-row-align: center;\n align-items: center;\n}.btn-header-open {\n border-width: 1px 1px 0 1px;\n border-style: solid;\n pointer-events: none;\n}.btn-header {\n position: relative;\n top:-1px;\n border-color: #dee6ec;\n}/* OVERLAY */.menu-overlay {\n position: fixed;\n z-index:-1;\n pointer-events: none;\n top:55px;\n}@media screen and (max-width: 543px){\n .menu-overlay {\n top: 118px;\n }\n}.menu-overlay-body {\n padding: 0 1.2rem 1.8rem 1.2rem;\n min-height: 400px;\n z-index:1;\n margin-top:-1px;\n pointer-events: all;\n overflow: auto;\n max-height: calc(100vh - 80px);\n}.menu-overlay-top-spacer {\n height:1rem;\n content:\"\";\n}@media screen and (max-width: 543px) {\n .menu-overlay-body {\n min-height: 200px;\n max-height: calc(100vh - 100px);\n }\n}.menu-overlay-root-body {\n display: -ms-flexbox;\n display: flex;\n}.menu-overlay-node-container {\n width: 100%;\n display: inline-block;\n}.menu-overlay-header-deep {\n font-weight: 400;\n}.menu-overlay-node-spaced {\n margin-left: 1rem;\n}.menu-overlay-root-body .menu-overlay-node-container {\n width: 220px;\n display: block;\n}.menu-overlay-query {\n width: 350px;\n\n padding: 1rem 1.2rem;\n\n max-height: 600px;\n overflow: hidden;\n}.menu-overlay-query .input-primary {\n padding: .1rem .50rem;\n background-color: #fff;\n margin-bottom: .5rem;\n}.menu-overlay-query .input-field {\n margin-left: .3rem;\n}.menu-overlay-container {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: start;\n align-items: flex-start;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n\n width: 450px;\n}.menu-overlay-primary .menu-overlay-body {\n background-color: #F8FAFB;\n border:1px solid #e1e8ee;\n position: relative;\n}.menu-overlay-caption {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n position: relative;\n z-index:25;\n background-color: #F8FAFB;\n border:1px solid #e1e8ee;\n border-bottom-width: 0;\n color: #467799;\n pointer-events: visible;\n width: 55px;\n height: 55px;\n padding-bottom: 6px;\n}.menu-overlay-caption-text {\n width: 80px;\n padding-bottom: 2px;\n overflow: hidden;\n text-overflow: ellipsis;\n}.menu-overlay-header {\n font-size: .875rem;\n margin:0;\n}.menu-overlay-header-main {\n font-weight: 500;\n text-transform: uppercase;\n}.menu-overlay-header-spaced {\n margin: 1rem 0;\n}.menu-overlay-expanded-link {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-left: 1rem;\n}.menu-overlay-expanded-link-spaced {\n margin: .5rem 0;\n}.menu-overlay-link, .menu-overlay-expand {\n color: #467799;\n cursor: pointer;\n border-bottom: 1px solid transparent;\n}.menu-overlay-expand:hover {\n border-bottom: 1px dashed #467799;\n}.menu-overlay-link:hover {\n border-bottom: 1px solid #467799;\n}.menu-overlay-expanded-link:focus .menu-overlay-expand {\n border-bottom: 1px dashed #467799;\n}.menu-overlay-expanded-link:focus .query-clickable-group {\n border-bottom: 1px dashed #467799;\n}.menu-overlay-expanded-link:focus .menu-overlay-link {\n border-bottom: 1px solid #467799;\n}.menu-overlay-expanded-link:focus .query-clickable-link {\n border-bottom: 1px solid #467799;\n}.menu-overlay-expanded-link {\n color: #467799;\n width: auto;\n}.menu-overlay-header:focus {\n border-bottom: 1px solid #6b7b86;\n}.header-breadcrumb>span:first-of-type>.ico-home {\n min-width: 24px;\n}.header-breadcrumb>span:first-child {\n min-width: 26px;\n}.header-item {\n color: #467799;\n display: inline-block;\n position: relative;\n text-overflow: ellipsis;\n overflow: hidden;\n width: 100%;\n text-align: center;\n}.header-item.icon-sm {\n font-size: .875rem;\n padding-top: 0;\n}.header-item.icon-sm i {\n vertical-align: text-bottom;\n line-height: 0.9;\n}.header-item-container {\n min-width: 55px;\n height: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n border: 1px solid transparent;\n padding-left: .2rem;\n padding-right: .2rem;\n}.header-item-container-static {\n width: 55px;\n}.header-item-container:hover {\n background-color: #F8FAFB;\n border-bottom: 1px solid #dee6ec;\n}.header-item-open {\n background-color: #F8FAFB;\n border: 1px solid #e1e8ee;\n pointer-events: none;\n z-index: 2;\n border-bottom: 0 !important;\n}.header-item-open .header-item {\n margin-top: -1px;\n}.header-item-badge.header-item {\n overflow: visible;\n}.logo-wrapper {\n text-align: center;\n}.dashboard-wrapper {\n height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: top;\n justify-content: top;\n -ms-flex-align: center;\n align-items: center;\n}.inbox {\n position: fixed;\n top: 54px;\n right: 0;\n z-index: 2;\n width: 400px;\n}.inbox-all {\n width: 100%;\n padding: 1rem 0;\n}.inbox-all .inbox-body {\n background-color: #fff;\n}.inbox-header, .inbox-footer {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: justify;\n justify-content: space-between;\n padding: .4rem .8rem;\n}.inbox-header {\n border-bottom: 1px solid #e1e8ee;\n}.inbox-footer {\n border-top: 1px solid #e1e8ee;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}.inbox-caption {\n position: relative;\n width: 55px;\n height: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-pack: center;\n justify-content: center;\n}.inbox-body {\n background-color: #F8FAFB;\n border: 1px solid #e1e8ee;\n position: relative;\n}.inbox-list {\n max-height: 400px;\n overflow-y: auto;\n}.inbox-header-title {\n font-weight: 700;\n}.inbox-link {\n font-size: .8rem;\n color: #467799;\n cursor: pointer;\n}.inbox-link:hover {\n text-decoration: underline;\n}.inbox-item {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n border-top: 1px solid #dee6ec;\n padding: .3rem .8rem;\n font-size: .8rem;\n min-height: 80px;\n}.inbox-item:focus {\n border: 1px solid #9aafbd;\n}.inbox-item:not(.inbox-item-empty):hover {\n background-color: #edf3f6;\n}.inbox-item-content {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: justify;\n justify-content: space-between;\n width: 100%;\n}.inbox-item-unread {\n background-color: #E6F1FA;\n}.inbox-item:first-child {\n border-top: 0;\n}.inbox-item:last-child {\n border-bottom: 0;\n}.inbox-item-icon {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-pack: center;\n justify-content: center;\n padding-right: .8rem;\n padding-left: .4rem;\n font-size: 1.5rem;\n}.inbox-item-icon-sm {\n font-size: .7rem;\n margin-left: -.5rem;\n padding-left: 0;\n padding-right: 0;\n}.inbox-item-footer {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n font-size: .7rem;\n color: #afbfc9;\n padding-top: .3rem;\n}.indicators-wrapper {\n border-radius: 3px;\n overflow: hidden;\n margin: .5rem;\n display: -ms-flexbox;\n display: flex;\n}.indicator {\n width: 25%;\n border: 1px solid #dee6ec;\n border-right: none;\n -ms-flex-direction: column;\n flex-direction: column;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n height: 130px;\n padding: 10px;\n overflow: hidden;\n}.indicator:last-child {\n border-right: 1px solid #dee6ec;\n}.indicator-value {\n font-size: 2.2rem;\n font-weight: bold;\n text-align: center;\n -ms-flex: 2;\n flex: 2;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: end;\n align-items: flex-end;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}.indicator-caption {\n float: right;\n font-weight: bold;\n font-size: 0.8rem;\n background: #f2f7fa;\n padding: 5px;\n}.indicator-kpi-caption {\n font-size: 0.8rem;\n text-align: center;\n -ms-flex: 1;\n flex: 1;\n vertical-align: middle;\n display: -ms-flexbox;\n display: flex;\n}@media screen and (max-width: 991px) {\n .indicator {\n border-right: 1px solid #dee6ec;\n width: calc(50% - 1rem);\n margin: .5rem;\n display: inline-block;\n text-align: center;\n padding: 20px;\n }\n .indicators-wrapper {\n margin: 0;\n display: block;\n }\n .indicator-value {\n display: block;\n }\n .indicator-kpi-caption {\n display: block;\n }\n}@media screen and (max-width: 768px) {\n .indicator {\n width: calc(100% - 1rem);\n height: 130px;\n }\n}.indicator-hidden {\n display: none;\n}.indicator iframe {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}.indicator:not(:first-of-type) {\n border-left: 1px solid #dee6ec;\n}.indicator-bar {\n height: 2px;\n}.indicator-saved {\n animation-name: indicator-saving;\n animation-duration: 1s;\n}.indicator-pending {\n background-color: #D0D2CE;\n animation-name: indicator-pending;\n animation-duration: 1s;\n}.indicator-error {\n animation-name: indicator-error;\n animation-duration: 1s;\n width: 100%;\n background-color: #e85667;\n}@keyframes indicator-pending {\n 0% {\n width: 0%;\n }\n 100% {\n width: 30%;\n }\n}@keyframes indicator-saving {\n 0% {\n width: 30%;\n background-color: #ADADAD;\n }\n 60% {\n width: 100%;\n background-color: #ADADAD;\n }\n 85% {\n width: 100%;\n background-color: #89d729;\n }\n 100% {\n width: 0%;\n background-color: transparent;\n }\n}@keyframes indicator-error {\n 0% {\n width: 30%;\n background-color: #ADADAD;\n }\n 60% {\n width: 100%;\n background-color: #ADADAD;\n }\n 85% {\n width: 100%;\n background-color: #e85667;\n }\n 100% {\n width: 100%;\n background-color: #e85667;\n }\n}/*\n* MAIN PROPERTIES\n*/table td:focus\n{\n outline-color: #4d5b65;\n outline-width:1px;\n outline-offset:0px;\n outline-style: inset;\n}.table-read-only *:focus {\n outline-width:0px;\n}textarea {\n resize: none;\n background: transparent;\n width: 100%;\n height:6.8rem;\n}::-webkit-input-placeholder {\n font-weight: normal;\n}:-ms-input-placeholder {\n font-weight: normal;\n}::placeholder {\n font-weight: normal;\n}input {\n background-color: transparent;\n color: #4d5b65;\n min-width: 50px;\n text-align: inherit;\n}.form-group-flex {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n}.form-group-flex-item {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: baseline;\n align-items: baseline;\n}.form-control:disabled {\n cursor: default !important;\n}.form-control-label {\n margin-top:.5rem;\n margin-bottom: .3rem;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}/*\n* CUSTOM BUTTONS\n*/button {\n position: relative;\n}.btn-flag {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n padding: .35rem .2rem;\n vertical-align: middle;\n color: #fff;\n background-color: #9BAFBC;\n border-radius: 3px 0 0 3px;\n text-align: center;\n}.btn-inline {\n display: inline-block;\n}.btn-icon {\n width: 32px;\n height: 32px;\n border-radius: 3px;\n border: 1px solid #C9D5DC;\n font-size: 16px;\n line-height: 32px;\n text-align: center;\n text-decoration: none !important;\n color: #4d5b65;\n}.btn-square {\n height: 54px;\n width: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n font-size: 18px;\n}.btn-xs {\n padding: .25rem .6rem;\n font-size: .65rem;\n line-height: 1.5;\n border-radius: .2rem;\n}.btn-sm {\n padding: .3125rem .6rem;\n font-size: .75rem;\n line-height: 1.5;\n border-radius: .2rem;\n}.btn-md {\n padding: .5rem 1.2rem;\n font-size: .875rem;\n line-height: 1.5;\n border-radius: .2rem;\n}.btn-disabled {\n pointer-events: none;\n}.btn-xs.dropdown-toggle {\n padding: .25rem;\n}.btn-meta-default {\n color: #9aafbd;\n background-color: #F8FAFB;\n border-color: #F8FAFB;\n}.btn-meta-default:hover {\n background-color: rgb(223, 232, 236);\n border-color: rgb(223, 232, 236);\n}.btn-meta-default-dark {\n color: #9aafbd;\n background-color: #F8FAFB;\n}.btn-meta-default-dark:hover {\n background-color: rgb(223, 232, 236);\n}.btn-meta-default-bright {\n color: #9aafbd;\n background-color: #fff;\n}.btn-meta-default-bright:hover {\n background-color: rgb(223, 232, 236);\n}.btn-meta-success{\n color: #fff;\n background-color: #89d729;\n border-color: #89d729;\n}.btn-meta-success:hover{\n background-color: rgb(123, 194, 36);\n border-color: rgb(123, 194, 36);\n}.btn-meta-inv-success{\n color: #89d729;\n background-color: #fff;\n border-color: #fff;\n}.btn-meta-inv-success:hover{\n background-color: #fff;\n border-color: #fff;\n}.btn-meta-primary {\n color: #fff;\n background-color: #9aafbd;\n border-color: #9aafbd;\n}.btn-meta-primary:hover{\n background-color: rgb(91, 120, 139);\n border-color: rgb(91, 120, 139);\n}.btn-meta-secondary {\n color: #fff;\n background-color: #C9D5DC;\n border-color: #C9D5DC;\n}.btn-meta-secondary:hover{\n background-color: rgb(91, 121, 139);\n border-color: rgb(91, 121, 139);\n}.btn-meta-outline-secondary {\n border: solid 1px #C9D5DC;\n color: #6b7b86;\n background-color: transparent;\n}.btn-meta-outline-secondary:hover {\n background-color: rgb(242, 242, 242);\n}.btn-distance {\n margin-right: .5rem;\n}.btn-distance-3 {\n margin-right: 1.5rem;\n}.btn-distance-rev {\n margin-left: .5rem;\n}.btn-flagged {\n padding-left: 1rem;\n}/*\n* CUSTOM CHECKBOX\n*/.input-checkbox {\n position: relative;\n display: inline-block;\n height: 18px;\n padding-left: 18px;\n cursor: pointer;\n margin-top: .5rem;\n margin-bottom: 0;\n}.table .input-checkbox {\n margin-top: 4px;\n height: 15px;\n}.input-checkbox input {\n position: absolute;\n z-index: -1;\n opacity: 0;\n}.input-checkbox-tick {\n position: absolute;\n left: 0;\n width: 18px;\n height: 18px;\n background: #fff;\n border:1px solid #C9D5DC;\n border-radius: 2px;\n}.input-checkbox input:checked ~ .input-checkbox-tick {\n background: #76b727;\n border-color: #76b727;\n}.input-checkbox input:disabled ~ .input-checkbox-tick {\n pointer-events: none;\n background: #ccc;\n border: 0;\n}.input-checkbox-tick:after {\n position: absolute;\n display: none;\n content: '';\n}.input-checkbox input:checked ~ .input-checkbox-tick:after {\n display: block;\n}.input-checkbox .input-checkbox-tick:after {\n top: 2px;\n left: 5px;\n width: 6px;\n height: 10px;\n transform: rotate(45deg);\n border: 2px solid #fff;\n border-width: 0 2px 2px 0;\n}.input-checkbox input:disabled ~ .input-checkbox-tick:after {\n border-color: #fff;\n}/*\n* CUSTOM SWITCH\n*/.input-switch {\n position: relative;\n display: inline-block;\n width: 44px;\n height: 22px;\n margin-top: .5rem;\n margin-bottom:0;\n}.input-switch:focus .input-slider {\n box-shadow: inset 0 0 5px #000;\n}.input-switch.input-table {\n height: 15px;\n width: 30px;\n margin-top: 0;\n}.input-switch input {\n display:none;\n}.input-slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n transition: .4s;\n border-radius: 24px;\n}.input-slider:before {\n position: absolute;\n content: '';\n height: 18px;\n width: 18px;\n left: 2px;\n bottom: 2px;\n background-color: white;\n transition: .4s;\n border-radius: 50%;\n}.input-table .input-slider:before {\n height:11px;\n width: 11px;\n left: 2px;\n}input:checked + .input-slider {\n background-color: #76b727;\n}input:focus + .input-slider {\n box-shadow: 0 0 1px #76b727;\n}input:checked + .input-slider:before {\n transform: translateX(22px);\n}.input-table input:checked + .input-slider:before {\n transform: translateX(15px);\n}/*\n* INPUT STATES\n*/.input-primary.input-mandatory {\n border: 2px solid #a8daf8 !important;\n}.input-secondary.input-mandatory {\n border-bottom: 2px solid #a8daf8 !important;\n}.input-auto {\n font-style: italic;\n}.input-primary, .input-secondary {\n margin-right:0;\n margin-left:0;\n padding: .3rem .50rem;\n display: inline-block;\n}.input-secondary {\n border-bottom: 1px solid #C9D5DC;\n color: #6b7b86;\n padding: .125rem .5rem;\n /* Margin top for depreciation of padding differences */\n margin-top: .3125rem;\n margin-bottom: .125rem;\n}.input-secondary input{\n color: #6b7b86;\n}.input-secondary .input-icon-right {\n color: #afbfc9;\n}.input-primary input\n.input-primary .input-rest {\n color: #4d5b65;\n}.input-secondary + .input-dropdown-list {\n border-top:0;\n}.input-primary {\n border: 1px solid #C9D5DC;\n border-radius: 3px;\n}.input-body-container {\n position: relative;\n}.input-error-popup {\n position: absolute;\n right:0;\n bottom: 100%;\n margin-bottom: .3rem;\n \n padding: .2rem .5rem;\n \n font-size: .7rem;\n color: #f67a89;\n background-color: #fff;\n border: 1px solid #f67a89;\n border-radius: 3px;\n}.input-error {\n border-color: #f67a89;\n}.input-error input {\n color: #e85667;\n}.input-error.input-primary, .input-error.input-primary * {\n border-color: #f67a89 !important;\n background-color: #fdf7f8 !important;\n}.input-error.input-primary .input-icon, .input-error.input-primary .meta-icon-preview {\n background: none !important;\n}.input-error.input-secondary, .input-error.input-secondary * {\n border-color: #f67a89 !important;\n}.input-secondary .input-icon {\n bottom: -3px;\n}.input-icon {\n bottom: -3px;\n position: relative;\n color: #afbfc9;\n}.input-editable {\n -ms-flex: 2 1 30%;\n flex: 2 1 30%;\n}.input-full {\n -ms-flex: 2 1 100%;\n flex: 2 1 100%;\n}.input-full .input-editable {\n -ms-flex: 4 1 30%;\n flex: 4 1 30%;\n}.input-full .input-rest {\n -ms-flex: 0 0 20%;\n flex: 0 0 20%;\n}.input-readonly {\n pointer-events: none;\n}.input-rest {\n text-align: right;\n -ms-flex: 1 1 50%;\n flex: 1 1 50%;\n white-space: nowrap;\n overflow: hidden;\n margin-right: 5px;\n display: -ms-flexbox;\n display: flex;\n}@media (max-width: 543px){\n .input-dropdown-container .input-dropdown{\n -ms-flex-direction: column;\n flex-direction: column;\n }\n .input-dropdown .input-icon {\n top: -9px;\n }\n .input-editable {\n -ms-flex: 1 1 50%;\n flex: 1 1 50%;\n -ms-flex-negative: 1;\n flex-shrink: 1;\n }\n .input-rest {\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: baseline;\n -ms-grid-row-align: baseline;\n align-items: baseline;\n\n }\n}.input-rest span {\n overflow: hidden;\n text-overflow: ellipsis;\n -ms-flex: 1 1 50%;\n flex: 1 1 50%;\n}.input-block {\n width: 100%;\n}.input-icon-container {\n position: relative;\n display: inline-block;\n padding-right: 0.5rem;\n}.input-icon-container .meta-icon-calendar {\n z-index: -1;\n}.input-icon-right{\n position: absolute;\n top: 2px;\n right: 5px;\n font-size:18px;\n}.input-icon-sm {\n font-size:10px;\n margin-right: 3px;\n margin-bottom: 5px;\n}.input-icon-lg {\n font-size: 16px;\n}.btn-icon-sm {\n font-size: 12px;\n margin-right:5px;\n}.btn-icon-md {\n font-size: 14px;\n margin-right:5px;\n}.form-group {\n position: relative;\n margin-bottom: 0.2rem;\n}.form-control {\n color: #6E7D87;\n background-color: transparent;\n font-size: 14px;\n padding: .375rem .25rem .1rem;\n}.form-control:disabled, .form-control[readonly] {\n background-color: transparent;\n}.form-control-meta {\n border-radius:0;\n border-width: 0 0 1px 0;\n border-color: #C9D5DC;\n padding-right: 1.5rem;\n font-style: normal;\n}.form-control-meta:focus {\n border-color: #C9D5DC;\n background-color: transparent;\n}.form-control-meta[type='number']::-webkit-outer-spin-button, .form-control-meta[type='number']::-webkit-inner-spin-button {\n -webkit-appearance: none;\n}.input-dropdown-container {\n position: relative;\n cursor: pointer;\n min-width: 200px;\n}.input-dropdown-container-static {\n position: static;\n}.input-dropdown-container .input-dropdown {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n position:relative;\n}.input-dropdown-container:focus {\n outline-width: 0;\n}.input-dropdown-focused .input-toggled {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}.input-table .input-dropdown-list {\n margin-top:8px;\n margin-left:-14px;\n}.input-dropdown-list {\n position: absolute;\n width: 100%;\n background-color: #fff;\n z-index:99;\n border-width: 0 1px 1px 1px;\n border-style: solid;\n border-color: #C9D5DC;\n max-height: 357px;\n height: auto;\n overflow-y: auto;\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n}.input-field {\n border: 0;\n width: 100%;\n outline-width:0;\n cursor: inherit;\n}.input-dropdown-list-header {\n background-color: #f2f7fa;\n padding: .25rem .50rem;\n font-size: .8rem;\n}.input-dropdown-list-option {\n padding: .25rem .50rem;\n cursor: pointer;\n position: relative;\n}.input-dropdown-list-option:not(:first-of-type) {\n border-top: 1px solid #C9D5DC;\n}.input-dropdown-list-option-alt {\n font-size: .8rem;\n font-weight:bold;\n}.input-dropdown-list-option:hover, .input-dropdown-list-option-key-on {\n background-color: #9aafbd;\n color: #fff;\n}.input-dropdown-list-option p {\n margin:0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}.input-dropdown-item-title {\n margin-bottom: 6px;\n font-weight: 500;\n}.input-dropdown-item-subtitle {\n font-size: .75rem;\n}input[type=checkbox]:disabled, input[type=radio]:disabled {\n cursor: default;\n}.form-flex-align {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n margin-bottom: .5rem;\n -ms-flex-align: center;\n align-items: center;\n\n -ms-flex:1;\n\n flex:1;\n}.form-flex-align > *:not(:last-child){\n margin-right: .5rem;\n}.form-flex-align input {\n -ms-flex: 2 1 auto;\n flex: 2 1 auto;\n}.input-disabled {\n opacity: .5;\n}.input-flex {\n width: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}.attributes {\n position: static;\n padding-top: 4px;\n display: block;\n min-width: 5rem;\n max-width: 10rem;\n}.attributes-in-table {\n padding:0;\n}.attributes-in-table .tag {\n padding: .095rem .3rem;\n}.attributes::-moz-selection {\n background-color: none;\n color: inherit;\n}.attributes::selection {\n background-color: none;\n color: inherit;\n}.attributes-dropdown {\n position: absolute;\n z-index: 50;\n margin-top:5px;\n width: 450px;\n}.quick-input-container {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex:1;\n flex:1;\n}.quick-input-container > * {\n margin:0;\n -ms-flex:2;\n flex:2;\n}.quick-input-container .hint {\n -ms-flex:1;\n flex:1;\n}.quick-input-container > *:first-of-type {\n -ms-flex:4;\n flex:4;\n}.btn-select {\n background: #9aafbd;\n color: white;\n}.btn-filter:hover {\n background: #9aafbd;\n color: white;\n}.btn-active {\n background: #1d4776;\n color: white;\n}.btn-active:hover {\n background: #1d4776;\n color: white;\n}.btn i {\n padding-right: 4px;\n vertical-align: middle;\n}.input-table .input-field {\n background: white;\n height: 20px;\n font-weight: normal;\n}.input-table .input-secondary {\n margin: 0;\n border-bottom: 0;\n}.input-table .input-secondary, .input-table .input-dropdown {\n padding: 0;\n}.form-group-table {\n margin-bottom: 0;\n}.input-table .input-disabled input, .input-table .input-mandatory input {\n background: transparent;\n}.input-dropdown-focused input {\n background-color: transparent;\n}.cell-mandatory:focus {\n outline: 1px solid #a8daf8;\n}.cell-disabled:focus {\n outline: 1px dashed #cbcbcb;\n}.rdtPicker {\n left: -.75rem;\n margin-top: 7px;\n}.rdtPicker table {\n margin: 0;\n}.input-table .input-dropdown .input-field {\n background: transparent;\n color: #4d5b65;\n font-style: italic;\n}.input-table .input-dropdown {\n border: none;\n}table .List .input-dropdown-item-title {\n font-weight: normal;\n}.input-disabled .input-field::-webkit-outer-spin-button, .input-disabled .input-field::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}.input-disabled .meta-icon-calendar {\n display: none;\n}table .input-secondary .input-icon-right {\n color: #7180b6;\n}table .input-icon {\n color: #7180b6;\n}.table .rdtPicker thead th {\n background-color: white;\n color: #6b7b86;\n}.table.table-bordered-vertically .rdtPicker td {\n border-right: 0;\n}.table-striped tbody .rdtPicker tr:nth-of-type(odd) {\n background-color: white;\n}table .rdtPicker tbody {\n background-color: white;\n}table .rdtPicker td, .rdtPicker th {\n height: 28px;\n}table .rdtPicker table td, .rdtPicker table th {\n vertical-align: middle;\n padding: 0;\n}.Lookup .input-icon {\n height: 16px;\n bottom: 0;\n}.notification-handler {\n position: fixed;\n top: 55px;\n right: 10px;\n width: 300px;\n z-index: 800;\n text-align: right;\n}.notification-item {\n text-align: left;\n width: 100%;\n overflow: hidden;\n word-wrap: break-word;\n display: inline-block;\n border: 2px solid red;\n border-radius: 3px;\n margin-bottom: 10px;\n margin-top: 10px;\n background: white;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24);\n padding: 10px 15px 10px 13px;\n position: relative;\n}.notification-item.primary {\n border: 2px solid #1d4776;\n}.notification-item.primary .notification-header {\n color: #1d4776;\n}.notification-item.success {\n border: 2px solid #76b727;\n}.notification-item.success .notification-header {\n color: #76b727;\n}.notification-item.warning {\n border: 2px solid #e5bf26;\n}.notification-item.warning .notification-header {\n color: #e5bf26;\n}.notification-item.error {\n border: 2px solid #f67a89;\n}.notification-item.error .notification-header {\n color: #f67a89;\n}.notification-item i {\n position: absolute;\n top: 5px;\n right: 5px;\n color: #C9D5DC;\n font-weight: 400;\n font-size: 12px;\n cursor: pointer;\n}.notification-header {\n font-weight: 500;\n}.notification-content {\n line-height: 1.2em;\n font-size: 14px;\n}.notif-animate {\n opacity: 1;\n transition: all 0.5s;\n}.panel {\n display: block;\n width: 100%;\n}.panel:focus {\n /*outline:none;*/\n}.panel-modal {\n max-width: 90%;\n height: 90vh;\n}.panel-modal-primary {\n background-color: #F8FAFB;\n}.panel-distance {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n}.row:first-child .panel-distance:first-child {\n margin-top: 2.25rem;\n}.panel-distance:last-child {\n margin-bottom: 0;\n}.panel-distance.panel-secondary {\n margin: 0;\n}.row:first-child .panel-distance.panel-secondary:first-child {\n margin-top: 2.25rem;\n}.panel-spaced {\n padding: 1rem 1.25rem 1.25rem 1.25rem;\n}.panel-spaced-sm {\n padding: .75rem .5rem;\n}.panel-spaced-lg {\n padding: 2rem 2rem;\n}.panel-bordered {\n border: 1px solid;\n border-radius: 3px;\n}.panel-shadowed {\n box-shadow: 0 2px 5px rgba(0, 0, 0, .1);\n}.panel-bordered-force {\n overflow: auto;\n}.panel-primary {\n border-color: #dee6ec;\n background-color: #FFF;\n}@media (max-width: 543px) {\n .panel-distance {\n margin-top: .5rem;\n margin-bottom: .5rem;\n }\n .panel-spaced {\n padding: .5rem;\n }\n}.panel-modal-header {\n position: relative;\n z-index: 500;\n width: 100%;\n height: 75px;\n color: #9aafbd;\n border-bottom: 1px solid #dee6ec;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 2rem;\n box-shadow: none;\n transition: all 0.2s ease;\n}.panel-modal-content {\n position: relative;\n max-height: calc(100% - 77px);\n min-height: calc(100% - 100px);\n width: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n color: #4d5b65;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.panel-modal-header-title {\n font-size: 1.5rem;\n font-weight: 500;\n color: #4d5b65;\n}.panel-inline>* {\n display: inline-block;\n}.panel-title {\n margin-bottom: .625rem;\n}.panel-title-spaced {\n margin-top: 1.5rem;\n}.panel-prompt {\n width: 450px;\n height: 200px;\n border: solid 0 #dee6ec;\n}.panel-prompt-header {\n box-shadow: none;\n padding: 0 1rem;\n height: 50px;\n}.panel-prompt-header i {cursor: pointer;}.panel-prompt-content {\n height: calc(100% - 100px);\n padding: 1.1rem;\n}.panel-prompt-footer {\n border-top: 1px solid #dee6ec;\n border-bottom: none;\n}.panel-prompt-header-title {\n font-size: 1.1rem;\n}.panel-prompt-footer .btn-sm {\n min-width: 74px;\n}.prompt-button-wrapper {\n width: 100%;\n text-align: right;\n}.overlay-field {\n background: rgba(255,255,255,0.8);\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 500;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.overlay-field .form-group {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n}.overlay-field input {\n text-align: center;\n font-size: 60px;\n}.overlay-field .form-control-label {\n font-size: 30px;\n text-align: center;\n}.table {\n margin-bottom: 0;\n}.table *::-moz-selection{\n background-color: transparent;\n color: #4d5b65;\n}.table *::selection{\n background-color: transparent;\n color: #4d5b65;\n}.table .input-body-container *::-moz-selection {\n background-color: #9aafbd;\n color: #fff;\n}.table .input-body-container *::selection {\n background-color: #9aafbd;\n color: #fff;\n}.table tbody+tbody {\n border-top: 0;\n}.table thead th {\n border: 0;\n background-color: #9BAFBC;\n color: #fff;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n vertical-align: middle;\n}.table .col-xs-12, .table .col-sm-12 {\n position: static;\n}.table.table-bordered-horizontally td {\n border-bottom: 1px solid #dee6ec;\n}.table.table-bordered-vertically td:not(:last-child) {\n border-right: 1px solid #dee6ec;\n}.table-hide-property {\n display: none;\n}.table td, .table th {\n padding: .50rem .75rem;\n height: 42px;\n}.table td {\n cursor: pointer;\n border-top: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding-top: 0;\n padding-bottom: 0;\n vertical-align: middle;\n}.table td span {\n pointer-events: none;\n}/*\n * Feel really sorry about that, but it is hard to get over \n * table styles in bootstrap and avoid !important.\n */.table-striped tbody tr {\n border-left: 3px solid transparent;\n}.table-striped tbody tr.tr-odd:nth-child(even) {\n background-color: #f2f7fa;\n}.table-striped tbody tr.tr-odd:nth-child(odd) {\n background-color: #fff;\n}.table-striped tbody tr.tr-even:nth-last-child(odd) {\n background-color: #f2f7fa;\n}.table-striped tbody tr.tr-even:nth-last-child(even) {\n background-color: #fff;\n}.table-striped tbody tr.tr-even.row-disabled, .table-striped tbody tr.tr-odd.row-disabled {\n background-color: #f3f3f3;\n color: #a9a9a9;\n}.table-striped tbody tr.tr-even.row-boundary, .table-striped tbody tr.tr-odd.row-boundary {\n border-bottom: 2px solid #ddd;\n}.row-not-saved {\n background-color: #FEDADA !important;\n}.row-selected {\n background-color: #d5e3ec !important;\n}.row-selected.row-not-saved {\n border-left: 3px solid #e78484;\n}.table-sub-summary-row {\n background-color: #fff !important;\n border-top: 1px solid #9BAFBC;\n}.table-total-summary-row {\n background-color: #9BAFBC;\n color: #fff;\n text-transform: uppercase;\n}.table-total-summary-row td {\n border: 0;\n}.table-footer-header {\n background-color: #bdd0dc;\n color: #fff;\n font-weight: bold;\n}.table-input-inline {\n border: 0;\n outline-width: 0;\n width: 100%;\n height: 20px;\n color: #4d5b65;\n background-color: #fff;\n text-align: center;\n}.table-flex-wrapper {\n -ms-flex-positive: 1;\n flex-grow: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.table-flex-wrapper-row {\n -ms-flex-direction: row;\n flex-direction: row;\n}.row-bordered-bottom td {\n border-bottom: 1px solid;\n}.row-bordered-bright td {\n border-color: #C9D5DC;\n}.row-bordered-dark td {\n border-color: #4d5b65;\n}.row-bordered-mod td:nth-child(1) {\n border: 0;\n}.product-order-summary {\n width: 100%;\n}.product-order-summary td {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem;\n}.product-order-summary td:nth-child(1) {\n width: 15%;\n}.product-order-summary td:nth-child(2) {\n width: 30%;\n}.product-order-summary td:nth-child(3) {\n width: 30%;\n text-align: right;\n}.product-order-summary td:last-child {\n text-align: right;\n}.product-order-summary tr:last-child {\n font-weight: bold;\n font-size: 1rem;\n}.table-filter-line {\n height:3rem;\n}/* Pagination */.page-item.active .page-link, .page-item.active .page-link:focus, .page-item.active .page-link:hover {\n background-color: #9aafbd;\n border-color: #9aafbd;\n}.page-link {\n min-width: 38px;\n text-align: center;\n}.page-link-compressed{\n border:0;\n background-color: transparent;\n padding: .1rem .3rem;\n}.page-item.active .page-link-compressed {\n background-color: transparent;\n font-weight: bold;\n color: #4d5b65;\n}th {\n font-weight: 500;\n position: relative;\n}.empty-info-text {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 200px;\n}.empty-info-text div {\n text-align: center;\n}.table td {\n width: 75px;\n position: relative;\n}.th-lg {\n width: 200px;\n}.th-md {\n width: 100px;\n}.th-sm {\n min-width: 60px;\n max-width: 100px;\n}.table .td-lg {\n width: 225px;\n max-width: 225px;\n}.td-lg .input-dropdown-list {\n width: 225px;\n}.table .td-md {\n width: 144px;\n max-width: 144px;\n}.td-lg .input-dropdown-list {\n width: auto;\n}.pagination {\n margin-top: 0;\n margin-bottom: 0;\n}.pagination-row {\n margin: 1rem;\n font-size: .7rem;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}.order-list-panel-body .pagination-wrapper {\n padding: 0 10px;\n}.order-list-panel-body .page-link {\n padding: .4rem .65rem;\n}.pagination-part {\n text-align: right;\n}.pagination-part>*:not(:last-of-type) {\n margin-right: 1rem;\n}.pagination-link {\n text-decoration: underline;\n}.table.table-bordered-vertically td.indented {\n min-width:0;\n border-right:0;\n padding-top:0;\n padding-bottom:0;\n line-height: 42px;\n vertical-align: middle;\n}/* INDENT SIGN ================ */.indent {\n position: relative;\n height: 42px;\n}.indent-item-mid, .indent-icon, .indent-bot, .indent-mid {\n display: inline-block;\n width: 20px;\n height: 42px;\n vertical-align: middle;\n}.indent-item-mid{\n padding-left:6px;\n}.indent-item-mid .indent-sign {\n top: 0;\n left: 0;\n width: 1px;\n height: 42px;\n border-left: 1px solid #afbfca;\n}.indent-item-mid .indent-sign.indent-sign-bot {\n height: 18px;\n}.indent-mid {\n position: absolute;\n top: 18px;\n width: 5px;\n height: 1px;\n border-top: 1px solid #afbfca;\n}.indent-bot {\n position: absolute;\n bottom:-1px;\n margin-left: 6px;\n width: 1px;\n height: 6px;\n border-left: 1px solid #afbfca;\n}/* END OF INDENT SIGN ============ */.indent-item {\n right:18px;\n top:16px;\n\n width:5px;\n height:1px;\n border-top: 1px solid #afbfca;\n}.indent-root {\n right: 8px;\n bottom: 0;\n\n width:1px;\n height: 6px;\n border-left: 1px solid #afbfca;\n}.indent-parent {\n right: 8px;\n top: 0;\n\n width:1px;\n height: 6px;\n border-left: 1px solid #afbfca;\n}.document-list-table {\n -ms-flex: 2.6;\n flex: 2.6;\n}.table-fade-out {\n opacity: .65;\n}.nav-tabs {\n display: -ms-flexbox;\n display: flex;\n}.nav-tabs .nav-link {\n border: 1px solid #dee6ec;\n background-color: #fdfdfd;\n cursor: pointer;\n padding: .6rem 1.2rem;\n font-weight: 400;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}.nav-tabs .nav-item.nav-item {\n margin-right: .5rem;\n margin-left: 0;\n}.nav-tabs .nav-link.active {\n font-weight: 500;\n}.tab-content {\n border: 1px solid;\n border-color: transparent #dee6ec #dee6ec #dee6ec;\n background-color: #fff;\n border-bottom-right-radius: 3px;\n border-bottom-left-radius: 3px;\n padding: 1rem 1.2rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}.tabs-fullscreen {\n position: fixed;\n top: 55px;\n left: 0;\n width: 100%;\n height: calc(100% - 55px);\n background-color: #fff;\n z-index: 99;\n}.tabs-fullscreen.container-fluid {\n height: calc(100% - 55px);\n}.tab-pane {\n display: none;\n}.tab-pane.active {\n -ms-flex-positive: 1;\n flex-grow: 1;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.tab-pane .panel:not(.panel-prompt):not(.table-content-empty) {\n padding-bottom: 100px;\n}.tab-pane .input-dropdown-list {\n max-height: 100px;\n}.tab-pane tbody tr:last-child {\n border-bottom: 1px solid #dee6ec;\n}.tabs-wrapper, .tabs-wrapper>div {\n -ms-flex-positive: 1;\n flex-grow: 1;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}.tag {\n padding: .25rem .6rem;\n font-size: .65rem;\n line-height: 1.5;\n border-radius: .2rem;\n color: #fff;\n display: inline-block;\n font-weight: 500;\n}.tag-disabled {\n pointer-events: none;\n}.tag-block {\n display: block;\n text-overflow: ellipsis;\n overflow: hidden;\n}.tag-success {\n background-color: #89d729;\n}.tag-primary {\n background-color: #1d4776;\n}.tag-default {\n background-color: #dfe5ec;\n color: #4d5b65;\n}.tag-warning {\n background-color: #fd8b0f;\n}.tag-error {\n background-color:#f67a89;\n color: #fff;\n}.tag-secondary {\n background-color: #80909a;\n color: #fff;\n}.tag-sm {\n font-size: .6rem;\n padding: 0 .3rem;\n position: relative;\n top:-2px;\n}.tag-lg {\n font-size: .75rem;\n}.tag-xlg {\n padding: .344rem .6rem;\n\n font-size: .9rem;\n font-weight: normal;\n}.quick-actions-tag {\n max-width: 180px;\n min-width: 160px;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: middle;\n}@media (max-width: 543px){\n .quick-actions-tag {\n max-width: 120px;\n min-width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: middle;\n }\n}.tooltip-wrapp {\n background: white;\n color: #6b7b86;\n font-size: 10px;\n border: 1px solid #d5e5f0;\n padding: 5px;\n text-align: center;\n z-index: 200;\n border-radius: 3px;\n position: absolute;\n top: 110%;\n left: 50%;\n width: 80px;\n margin-left: -40px;\n}.header-breadcrumb > .tooltip-wrapp {\n display: block;\n overflow: visible;\n}.tooltip-home-menu {\n left: 25px;\n}.tooltip-wrapp:after {\n position: absolute;\n content: '';\n width: 0;\n height: 0;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-bottom: 6px solid white;\n bottom: 100%;\n left: 50%;\n margin-left: -4px;\n}.tooltip-wrapp:before {\n position: absolute;\n content: '';\n width: 0;\n height: 0;\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-bottom: 8px solid #d5e5f0;\n bottom: 100%;\n left: 50%;\n margin-left: -6px;\n}.tooltip-right:after {\n border-top: 4px solid transparent;\n border-right: 6px solid white;\n border-bottom: 4px solid transparent;\n bottom: 50%;\n left: auto;\n right: 100%;\n margin-left: auto;\n margin-bottom: -4px;\n}.tooltip-right:before {\n border-top: 6px solid transparent;\n border-right: 8px solid #d5e5f0;\n border-bottom: 6px solid transparent;\n bottom: 50%;\n left: auto;\n right: 100%;\n margin-left: auto;\n margin-bottom: -6px;\n}.tooltip-shortcut {\n font-weight: bold;\n}.tooltip-name {\n opacity: 0.5;\n white-space: normal;\n}.tooltip-parent {\n position: relative;\n}.tooltip-inline {\n color: #6b7b86;\n font-size: 10px;\n float: right;\n opacity: 0.5;\n font-weight: bold;\n}.tooltip-extended {\n position: absolute;\n display: none;\n width: 480px;\n z-index: 100;\n}.tooltip-extended-show {\n display: block;\n}.tooltip-extended-right {\n left: 100%;\n}.tooltip-arrowed:after, .tooltip-arrowed:before {\n content: '';\n display: block;\n position: absolute;\n right: 100%;\n top: 50%;\n width: 0;\n height: 0;\n border-style: solid;\n}.tooltip-arrowed:before {\n margin-top: -5px;\n border-color: transparent #c9d5dc transparent transparent;\n border-width: 9px;\n}.tooltip-arrowed:after {\n margin-top: -4px;\n border-color: transparent #fff transparent transparent;\n border-width: 8px;\n}.tooltip-primary {\n border-radius: 3px;\n background-color: #ffffff;\n border: solid 1px #c9d5dc;\n padding: 20px;\n}.image-source-options {\n margin: 0 .5rem .5rem .5rem;\n}.image-source-options .input{\n display: none;\n}.image-source-options [class^=meta-icon]{\n float: left;\n font-size: 1rem;\n}.image-source-options [class^=meta-icon]:before{\n float: left;\n}.image-placeholder{\n width: 200px;\n height: 150px;\n border: solid 1px #C9D5DC;\n border-radius: 4px;\n margin: 0 .5rem;\n display: table;\n}.image-placeholder .placeholder-value{\n display: table-cell;\n vertical-align: middle;\n text-align: center;\n}.camera-preview{\n position: fixed;\n bottom: 7.5%;\n right: 50%;\n margin-right: -50%;\n width: 100%;\n height: 85%;\n cursor: pointer;\n z-index:1000;\n text-align: center;\n}.camera-preview video{\n width: auto;\n height: 100%;\n}.camera-preview .preview-loader{\n opacity: 0;\n background-color: rgba(0, 0, 0, .5);\n transition: opacity .2s;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}.camera-preview.loading .preview-loader{\n opacity: 1;\n}.image-widget {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n}.image-preview {\n width: 200px;\n}/**\n* IMPORTANT NOTE\n*\n* Layers\n* - 0 - default - all static elements like tables or forms\n* - < 100 - elements that are over static content (order list)\n* - 100 - header\n* - 200 - backdrop\n* - 200 < - elements that are over backdrop (header expanded)\n* - 400 - screen-freeze\n*/body {\n background-color: #F8FAFB;\n color: #4d5b65;\n font-size: 14px;\n font-family: 'Roboto', sans-serif;\n}*::-moz-selection {\n background-color: #9aafbd;\n color: #fff;\n}*::selection {\n background-color: #9aafbd;\n color: #fff;\n}.container-fluid {\n padding-left: 3rem;\n padding-right: 3rem;\n height: 100%;\n}.container-fluid-subheader {\n padding-right: 0;\n}@media (max-width: 768px) {\n .container-fluid {\n padding-left: .5rem;\n padding-right: .5rem;\n }\n .row {\n margin-left: -0.5rem;\n margin-right: -0.5rem;\n }\n [class^='col-'], [class*=' col-'] {\n padding-left: .5rem;\n padding-right: .5rem;\n }\n}.window-wrapper {\n min-height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: stretch;\n align-items: stretch;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}.process-wrapper {\n padding-top: 1.5rem;\n}.sections-wrapper {\n -ms-flex-positive: 0;\n flex-grow: 0;\n}/*\n* Extension for bootstrap grid\n*/@media (min-width: 1900px) {\n .container {\n max-width: 1824px;\n }\n}.text-brand {\n font-weight: 700;\n color: #9aafbd;\n}.context-menu {\n position: fixed;\n display: none;\n width: 150px;\n background-color: #fff;\n left: 0;\n top: 0;\n outline-width: 0;\n font-size: .75rem;\n font-weight: normal;\n color: #4d5b65;\n box-shadow: 0 0 6px rgba(0, 0, 0, .1);\n z-index: 3;\n}.context-menu-open {\n display: block;\n}.context-menu-item {\n cursor: pointer;\n padding: .5rem .5rem;\n}.context-menu-item:hover {\n background-color: #9aafbd;\n color: #fff;\n}.context-menu-item:last-of-type {\n margin: 0;\n}.backdrop {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 200;\n}.order-list-panel {\n position: fixed;\n display: none;\n top:96px;\n height: calc(100% - 96px);\n width: 472px;\n background-color: #fff;\n border-left: 1px solid #dee6ec;\n z-index: 201;\n right: 0;\n bottom: 0;\n overflow-y: scroll;\n overflow-x: hidden;\n}@media (max-width: 543px) {\n .order-list-panel {\n width: 100%;\n height: calc(100% - 80px);\n }\n}.order-list-panel-open {\n display: block;\n}.order-list-panel-header {\n padding-left: 10px;\n}.order-list-panel-icon {\n margin: 12px 5px;\n}.order-list-panel-body {\n font-size: 12px;\n}.order-list-panel-body .subheader-item, .order-list-panel-body .subheader-caption {\n font-size: 14px;\n}.order-list-nav {\n position: fixed;\n z-index: 201;\n width: 472px;\n background: #fff;\n top: 55px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n border-bottom: 1px solid #C9D5DC;\n}.order-list-btn{\n -ms-flex:1;\n flex:1;\n text-align: center;\n font-size: 1rem;\n padding: .5rem 0;\n cursor: pointer;\n}.order-list-btn.active, .order-list-btn.active:hover {\n color: #fff;\n background-color: #C9D5DC;\n}.order-list-btn:hover {\n background-color: #f2f7fa;\n}.order-list-btn:not(:last-child){\n border-right: 1px solid #C9D5DC;\n}.order-list-loader {\n margin: 1rem;\n}.sm {\n font-size: 0.75rem;\n}.meta-dropdown-toggle i {\n margin-left: .4rem;\n margin-top: .2rem;\n font-size: .6rem;\n}.dropdown-status-toggler {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n padding: 0 1.2rem;\n cursor: pointer;\n position: relative;\n border-bottom: 1px solid transparent;\n height: 55px;\n}.dropdown-status-toggler .tag {\n padding: .3rem 1.5rem;\n}.dropdown-status-toggler:hover, .dropdown-status-toggler:focus {\n background-color: #eef2f7;\n\n border-bottom: 1px solid #dee6ec;\n outline-width: 0;\n}.dropdown-status-toggler.dropdown-status-open {\n background-color: #eef2f7;\n}.dropdown-status-toggler.dropdown-status-open .dropdown-status-list {\n display: block;\n}.dropdown-status-list {\n position: absolute;\n display: none;\n left: 0;\n top: calc(100% + 1px);\n list-style-type: none;\n padding: 0;\n background-color: inherit;\n min-width: 100%;\n width: auto;\n z-index: 99;\n}.dropdown-status-item {\n padding: 8px 10px;\n}.dropdown-status-item:hover, .dropdown-status-item.dropdown-status-item-on-key {\n background-color: #dfe5ec;\n}.dropdown-status-item-def-1 {\n background-color: #89d729;\n color: #fff;\n}.dropdown-status-item-def-1:hover, .dropdown-status-item-def-1.dropdown-status-item-on-key {\n background-color: #76b727;\n}.dropdown-status-item-def {\n background-color: #1d4776;\n color: #fff;\n}.dropdown-status-item-def:hover, .dropdown-status-item-def.dropdown-status-item-on-key {\n background-color: #16365b;\n}.dropdown-status-toggler .meta-icon-chevron {\n margin-top: 1px;\n}.items-row {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: end;\n align-items: flex-end;\n}.items-row-2 {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: center;\n align-items: center;\n}.items-col-bottom {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -ms-flex-align: end;\n align-items: flex-end;\n height: 100%;\n}.meta-icon-primary {\n color: #1d4776;\n}.meta-icon-success {\n color: #89d729;\n}.meta-icon-default {\n color: #eef2f7;\n}.elements-line {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-align: stretch;\n align-items: stretch;\n}.elements-line>* {\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}.screen-freeze {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 400;\n background-color: rgba(18, 18, 18, .7);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n color: #fff;\n pointer-events: visible;\n}.screen-freeze-behind {\n overflow: hidden;\n}.screen-prompt-freeze {\n background-color: transparent;\n}.rotate {\n display: inline-block;\n animation: rotation 2s linear infinite;\n text-align: center;\n}.icon-rotate {\n width: 1rem;\n height: 1rem;\n}@keyframes rotation {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}.pointer {\n cursor: pointer;\n}.document-lists-wrapper {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n min-height: 100%;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}.document-lists-wrapper > * {\n overflow:hidden;\n}.document-list-wrapper {\n display: -ms-flexbox;\n display: flex;\n -ms-flex: 1;\n flex: 1;\n -ms-flex-direction: column;\n flex-direction: column;\n min-height: 100%;\n}.document-list-included {\n -ms-flex: .7;\n flex: .7;\n margin-left: .1rem;\n}.document-list-header {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n min-height: 68px;\n}.document-list-header > * {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.document-list-header > *:not(:last-child) {\n margin-right: .5rem;\n}.document-list-body {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -ms-flex-direction: column;\n flex-direction: column;\n}.map-tree-wrapper {\n padding-top: 55px;\n}.map-tree-wrapper .subheader-container {\n top: 55px;\n}.nav-tree-children {\n padding-left: 20px;\n}.nav-tree-item {\n padding-top: 10px;\n display: inline-block;\n}.nav-tree-header {\n font-weight: 500;\n text-transform: uppercase;\n}.header-super-faded {\n box-shadow: none;\n transition: all 0.2s ease;\n}.header-shadow {\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24);\n}.overlay-shadow {\n box-shadow: 0 5px 15px 0 rgba(165, 165, 165, 0.8);\n}.breadcrumbs-shadow {\n box-shadow: 0 6px 10px 0 rgba(165, 165, 165, 0.8);\n}.prompt-shadow {\n box-shadow: 0 0 30px 0 rgba(165, 165, 165, 0.8);\n}.meta-icon-checkbox {\n color: rgba(107, 123, 134, 0.2);\n}.table .YesNo i {\n height: 14px;\n display: inline-block;\n}.column-wrapper {\n column-count: 2;\n}@media (max-width: 543px) {\n .column-wrapper {\n column-count: 1;\n }\n}.font-weight-semibold {\n font-weight: 500;\n}.input-dropdown-item-title {\n font-weight: 400;\n}.ico-home {\n width: 16px;\n height: 16px;\n min-width: 20px;\n display: inline-block;\n position: relative;\n top: 2px;\n}.ico-home i:before {\n font-size: 15px;\n}.notification-number {\n width: 15px;\n height: 15px;\n background: #e85667;\n color: #fff;\n font-size: 8px;\n display: inline-block;\n vertical-align: middle;\n line-height: 16px;\n text-align: center;\n border-radius: 50%;\n position: absolute;\n top: -5px;\n right: 10px;\n}.queried-result {\n width: 100%;\n display: block;\n}.tree-link {\n font-size: 12px;\n position: absolute;\n right: 20px;\n bottom: 15px;\n}@media (max-width: 543px) {\n .tree-link {\n position: static;\n }\n}.search-wrapper {\n padding-top: 20px;\n}.query-results .query-results {\n display: inline-block;\n}.query-results .menu-overlay-expanded-link {\n display: inline;\n margin: 0;\n}.query-results .menu-overlay-expand {\n margin-left: 0 !important;\n}.query-caption {\n display: inline;\n}.header-breadcrumb .menu-overlay-query .menu-overlay-expand {\n margin-left: 0 !important;\n}.query-results .menu-overlay-expanded-link:hover {\n border-bottom: none;\n}.query-results .menu-overlay-expand:hover {\n border-bottom: none;\n}.query-results .menu-overlay-link:hover {\n border-bottom: none;\n}.menu-overlay-query .menu-overlay-expand:hover {\n border-bottom: none;\n}.menu-overlay-query .menu-overlay-expand {\n border-bottom: none;\n}.menu-overlay-query .menu-overlay-link {\n border-bottom: none;\n}.query-results .query-results:hover {\n border-bottom: none;\n}.query-clickable-group {\n border-bottom: 1px solid transparent;\n cursor: pointer;\n}.query-clickable-group:hover {\n border-bottom: 1px dashed #467799;\n}.query-clickable-link {\n border-bottom: 1px solid transparent;\n cursor: pointer;\n}.query-clickable-link:hover {\n border-bottom: 1px solid #467799;\n}.group-header {\n width: 100%;\n}.header-breadcrumb .menu-overlay .menu-overlay-expand {\n margin-left: 0 !important;\n}.map-tree-wrapper .input-field {\n margin-left: .3rem;\n}.map-tree-wrapper .input-primary {\n background-color: #fff;\n}.page-dots {\n position: relative;\n}.page-dots-open {\n padding: 6px;\n border: 1px solid #C9D5DC;\n position: absolute;\n bottom: calc(100% + 10px);\n left: 0;\n margin-left: -26px;\n background-color: #f2f7fa;\n text-align: center;\n border-radius: 10px;\n width: 80px;\n}.page-dots-open input {\n background: #fff;\n border: 1px solid #C9D5DC;\n width: 100%;\n}.page-dots-open span {\n font-weight: 500;\n padding-bottom: 4px;\n display: inline-block;\n}.page-link {\n float: none;\n}.dashboard {\n border: none;\n width: 100%;\n height: 100%;\n min-height: 500px;\n}.fullscreen {\n height: 100%;\n}html {\n height: 100%;\n}body {\n height: calc(100% - 62px);\n}#root, #root>div, .root-children, .root-children>div {\n height: 100%;\n}.sort-menu {\n cursor: pointer;\n width: 100%;\n line-height: 22px;\n vertical-align: middle;\n}.sort-menu .sort-ico {\n height: 15px;\n cursor: pointer;\n color: #4d5b65;\n opacity: 0;\n display: inline-block;\n padding: 0 10px;\n vertical-align: middle;\n}.sort-menu .th-caption {\n color: white;\n vertical-align: middle;\n}.sort-menu .sort {\n color: white;\n opacity: 1;\n}.sort-menu:hover .th-caption {color: #4d5b65;text-decoration: underline;}.sort-menu:hover .sort-ico {color: #4d5b65;}th {\n position: relative;\n}.rotate-90 {\n transform: rotate(180deg);\n}.sort.rotate-90 {\n text-align: left;\n}.pulse-on {\n background: #FDFBD4 !important;\n transition: all .33s;\n}.pulse-off {\n transition: all 1.33s;\n}td.pulse-on input {\n background: transparent !important;\n}td.pulse-off input {\n background: transparent !important;\n}.filter-wrapper {\n position: relative;\n display: inline-block;\n}.filter-menu {\n border: 1px solid #C9D5DC;\n background: white;\n border-radius: 3px;\n display: inline-block;\n position: absolute;\n z-index: 4;\n left: 0;\n top: 31px;\n list-style: none;\n padding: 0;\n margin: 0;\n}.filter-widget {\n padding: 8px 13px 12px 13px;\n min-width: 480px;\n}.filter-menu li {\n padding: 7px 13px;\n cursor: pointer;\n white-space: nowrap;\n}.filter-menu li:hover {\n background: #9aafbd;\n color: white;\n}.filter-clear {\n font-size: 11px;\n color: #7180b6;\n cursor: pointer;\n vertical-align: middle;\n float: right;\n}.filter-clear i {\n font-size: 15px;\n vertical-align: middle;\n}.filter-active {\n font-weight: 500;\n}.filter-content {\n padding-top: 10px;\n}.login-container {\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n height: 100%;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-align: center;\n align-items: center;\n}.login-form {\n width: 20%;\n min-width: 300px;\n}.login-form > div {\n position: relative;\n}.filter-btn-wrapper {\n text-align: right;\n padding-top: 10px;\n}.dashboard-wrapper {\n padding-top: 10px;\n}.dashboard-cards-wrapper {\n width: 100%;\n height: 100%;\n}.dashboard-logo-wrapper {\n -ms-flex-pack: center;\n justify-content: center;\n}.cell-text-wrapper {\n overflow: hidden;\n text-overflow: ellipsis;\n}.icon-sm {\n font-size: 15px;\n padding-top: 3px;\n}.icon-lg {\n font-size: 18px;\n}.hint {\n font-size: .75rem;\n color: #afbfc9;\n}.spacer-right {\n margin-right: .2rem;\n}.quick-actions-wrapper {\n position: relative;\n display: -ms-flexbox;\n display: flex;\n}.quick-actions-dropdown {\n position: absolute;\n z-index:1;\n width: 100%;\n left: 0;\n top: 100%;\n\n margin-top: .2rem;\n padding: .3rem;\n\n background-color: #fff;\n border:1px solid #dee6ec;\n border-radius: 4px;\n}.quick-actions-dropdown small {\n color: #afbfc9;\n}.quick-actions-item {\n cursor: pointer;\n padding: .5rem .3rem;\n}.quick-actions-item p {\n margin:0;\n}.quick-actions-item:hover{\n background-color: #F8FAFB;\n}.quick-actions-item-disabled {\n padding: .3rem .3rem;\n cursor: default;\n color: #9BAFBC;\n}.attributes-selector {\n -ms-flex:1;\n flex:1;\n\n background-color: #fff;\n border-radius: 3px;\n border: 1px solid #dee6ec;\n margin-left: .5rem;\n \n overflow: auto;\n overflow-x: hidden;\n}.attributes-selector-header, .attributes-selector-body {\n padding: .54rem .7rem;\n}.attributes-selector-header {\n border-bottom: 1px solid #dee6ec;\n background-color: #f2f7fa;\n}.one-line {\n width: 100%;\n overflow:hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}.document-file-dropzone{\n width: 100%;\n height: auto;\n position: relative;\n}.document-file-dropzone-backdrop{\n background-color: black;\n opacity: 0.5;\n cursor: copy;\n display: none;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin-top: 15px;\n border: 5px dashed white;\n}.document-file-dropzone-info{\n position: absolute;\n top: 50%;\n left: 0;\n right: 0;\n bottom: 0;\n color: white;\n height: 30px;\n line-height: 30px;\n margin-top: -15px;\n text-align: center;\n font-size: 1.5rem;\n}.document-file-dropzone-active .document-file-dropzone-backdrop{\n display: block;\n}@media (max-width: 991px){\n .btn-new-document {\n max-width: 140px;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n}.progress-bar {\n position: absolute;\n bottom:0;\n left:0;\n height: 3px;\n background-color: rgba(0,0,0,.3);\n}.progress-bar.error {\n background-color: #f67a89;\n}.progress-bar.warning {\n background-color: #e5bf26;\n}.progress-bar.success {\n background-color: #76b727;\n}.raw-modal {\n z-index:399;\n}/*\n * Animations\n */.fade-enter {\n opacity: 0.01;\n}.fade-enter.fade-enter-active {\n opacity: 1;\n transition: opacity .2s;\n}.fade-leave {\n opacity: 1;\n}.fade-leave.fade-leave-active {\n opacity: 0.01;\n transition: opacity .2s;\n}.slidein-enter {\n right: -100%;\n}.slidein-enter.slidein-enter-active {\n right: 0;\n transition: right .2s;\n transition-delay: .8s;\n}.slidein-leave {\n right: 0;\n transition: right .2s;\n}.slidein-leave.slidein-leave-active {\n right: -100%;\n}.progress-enter {\n width:100%;\n}.progress-enter.progress-enter-active {\n width: 0;\n transition: width 5s linear;\n}.progress-leave {\n width: 0;\n transition: width 5s linear;\n}.progress-leave.slidein-leave-active {\n width: 0;\n}.browser-warning {\n color: #9BAFBC;\n padding-top: 10px;\n max-width: 300px;\n text-align: center;\n}.browser-warning p {\n margin: 0;\n}.blank-page {\n height: 100%;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n}.blank-page h1 {\n font-size: 6rem;\n opacity: .3;\n}.blank-page h3 {\n font-size: 3rem;\n opacity: .2;\n}.zoom-into:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n", ""]); // exports @@ -135637,4 +136146,4 @@ /***/ } /******/ ]); -//# sourceMappingURL=bundle67dec0207a03a41be291.js.map \ No newline at end of file +//# sourceMappingURL=bundle0f85c56ae9d5678c8d86.js.map \ No newline at end of file diff --git a/docker-src/webui/sources/dist/bundle67dec0207a03a41be291.js.map b/docker-src/webui/sources/dist/bundle0f85c56ae9d5678c8d86.js.map similarity index 51% rename from docker-src/webui/sources/dist/bundle67dec0207a03a41be291.js.map rename to docker-src/webui/sources/dist/bundle0f85c56ae9d5678c8d86.js.map index 8b14381..b7646b0 100644 --- a/docker-src/webui/sources/dist/bundle67dec0207a03a41be291.js.map +++ b/docker-src/webui/sources/dist/bundle0f85c56ae9d5678c8d86.js.map @@ -1 +1 @@ -{"version":3,"file":"bundle67dec0207a03a41be291.js","sources":["webpack:///webpack/bootstrap 67dec0207a03a41be291","webpack:///src/index.jsx","webpack:///./~/react/react.js","webpack:///./~/react/lib/React.js","webpack:///./~/object-assign/index.js","webpack:///./~/react/lib/ReactChildren.js","webpack:///./~/react/lib/PooledClass.js","webpack:///./~/react/lib/reactProdInvariant.js","webpack:///./~/fbjs/lib/invariant.js","webpack:///./~/react/lib/ReactElement.js","webpack:///./~/react/lib/ReactCurrentOwner.js","webpack:///./~/fbjs/lib/warning.js","webpack:///./~/fbjs/lib/emptyFunction.js","webpack:///./~/react/lib/canDefineProperty.js","webpack:///./~/react/lib/ReactElementSymbol.js","webpack:///./~/react/lib/traverseAllChildren.js","webpack:///./~/react/lib/getIteratorFn.js","webpack:///./~/react/lib/KeyEscapeUtils.js","webpack:///./~/react/lib/ReactComponent.js","webpack:///./~/react/lib/ReactNoopUpdateQueue.js","webpack:///./~/fbjs/lib/emptyObject.js","webpack:///./~/react/lib/ReactPureComponent.js","webpack:///./~/react/lib/ReactClass.js","webpack:///./~/react/lib/ReactPropTypeLocationNames.js","webpack:///./~/react/lib/ReactDOMFactories.js","webpack:///./~/react/lib/ReactPropTypes.js","webpack:///./~/prop-types/factory.js","webpack:///./~/prop-types/factoryWithTypeCheckers.js","webpack:///./~/prop-types/lib/ReactPropTypesSecret.js","webpack:///./~/prop-types/checkPropTypes.js","webpack:///./~/react/lib/ReactVersion.js","webpack:///./~/react/lib/onlyChild.js","webpack:///./~/react-dom/index.js","webpack:///./~/react-dom/lib/ReactDOM.js","webpack:///./~/react-dom/lib/ReactDOMComponentTree.js","webpack:///./~/react-dom/lib/reactProdInvariant.js","webpack:///./~/react-dom/lib/DOMProperty.js","webpack:///./~/react-dom/lib/ReactDOMComponentFlags.js","webpack:///./~/react-dom/lib/ReactDefaultInjection.js","webpack:///./~/react-dom/lib/ARIADOMPropertyConfig.js","webpack:///./~/react-dom/lib/BeforeInputEventPlugin.js","webpack:///./~/react-dom/lib/EventPropagators.js","webpack:///./~/react-dom/lib/EventPluginHub.js","webpack:///./~/react-dom/lib/EventPluginRegistry.js","webpack:///./~/react-dom/lib/EventPluginUtils.js","webpack:///./~/react-dom/lib/ReactErrorUtils.js","webpack:///./~/react-dom/lib/accumulateInto.js","webpack:///./~/react-dom/lib/forEachAccumulated.js","webpack:///./~/fbjs/lib/ExecutionEnvironment.js","webpack:///./~/react-dom/lib/FallbackCompositionState.js","webpack:///./~/react-dom/lib/PooledClass.js","webpack:///./~/react-dom/lib/getTextContentAccessor.js","webpack:///./~/react-dom/lib/SyntheticCompositionEvent.js","webpack:///./~/react-dom/lib/SyntheticEvent.js","webpack:///./~/react-dom/lib/SyntheticInputEvent.js","webpack:///./~/react-dom/lib/ChangeEventPlugin.js","webpack:///./~/react-dom/lib/ReactUpdates.js","webpack:///./~/react-dom/lib/CallbackQueue.js","webpack:///./~/react-dom/lib/ReactFeatureFlags.js","webpack:///./~/react-dom/lib/ReactReconciler.js","webpack:///./~/react-dom/lib/ReactRef.js","webpack:///./~/react-dom/lib/ReactOwner.js","webpack:///./~/react-dom/lib/ReactInstrumentation.js","webpack:///./~/react-dom/lib/Transaction.js","webpack:///./~/react-dom/lib/getEventTarget.js","webpack:///./~/react-dom/lib/isEventSupported.js","webpack:///./~/react-dom/lib/isTextInputElement.js","webpack:///./~/react-dom/lib/DefaultEventPluginOrder.js","webpack:///./~/react-dom/lib/EnterLeaveEventPlugin.js","webpack:///./~/react-dom/lib/SyntheticMouseEvent.js","webpack:///./~/react-dom/lib/SyntheticUIEvent.js","webpack:///./~/react-dom/lib/ViewportMetrics.js","webpack:///./~/react-dom/lib/getEventModifierState.js","webpack:///./~/react-dom/lib/HTMLDOMPropertyConfig.js","webpack:///./~/react-dom/lib/ReactComponentBrowserEnvironment.js","webpack:///./~/react-dom/lib/DOMChildrenOperations.js","webpack:///./~/react-dom/lib/DOMLazyTree.js","webpack:///./~/react-dom/lib/DOMNamespaces.js","webpack:///./~/react-dom/lib/setInnerHTML.js","webpack:///./~/react-dom/lib/createMicrosoftUnsafeLocalFunction.js","webpack:///./~/react-dom/lib/setTextContent.js","webpack:///./~/react-dom/lib/escapeTextContentForBrowser.js","webpack:///./~/react-dom/lib/Danger.js","webpack:///./~/fbjs/lib/createNodesFromMarkup.js","webpack:///./~/fbjs/lib/createArrayFromMixed.js","webpack:///./~/fbjs/lib/getMarkupWrap.js","webpack:///./~/react-dom/lib/ReactDOMIDOperations.js","webpack:///./~/react-dom/lib/ReactDOMComponent.js","webpack:///./~/react-dom/lib/AutoFocusUtils.js","webpack:///./~/fbjs/lib/focusNode.js","webpack:///./~/react-dom/lib/CSSPropertyOperations.js","webpack:///./~/react-dom/lib/CSSProperty.js","webpack:///./~/fbjs/lib/camelizeStyleName.js","webpack:///./~/fbjs/lib/camelize.js","webpack:///./~/react-dom/lib/dangerousStyleValue.js","webpack:///./~/fbjs/lib/hyphenateStyleName.js","webpack:///./~/fbjs/lib/hyphenate.js","webpack:///./~/fbjs/lib/memoizeStringOnly.js","webpack:///./~/react-dom/lib/DOMPropertyOperations.js","webpack:///./~/react-dom/lib/quoteAttributeValueForBrowser.js","webpack:///./~/react-dom/lib/ReactBrowserEventEmitter.js","webpack:///./~/react-dom/lib/ReactEventEmitterMixin.js","webpack:///./~/react-dom/lib/getVendorPrefixedEventName.js","webpack:///./~/react-dom/lib/ReactDOMInput.js","webpack:///./~/react-dom/lib/LinkedValueUtils.js","webpack:///./~/react-dom/lib/ReactPropTypesSecret.js","webpack:///./~/react-dom/lib/ReactDOMOption.js","webpack:///./~/react-dom/lib/ReactDOMSelect.js","webpack:///./~/react-dom/lib/ReactDOMTextarea.js","webpack:///./~/react-dom/lib/ReactMultiChild.js","webpack:///./~/react-dom/lib/ReactComponentEnvironment.js","webpack:///./~/react-dom/lib/ReactInstanceMap.js","webpack:///./~/react-dom/lib/ReactChildReconciler.js","webpack:///./~/node-libs-browser/~/process/browser.js","webpack:///./~/react-dom/lib/instantiateReactComponent.js","webpack:///./~/react-dom/lib/ReactCompositeComponent.js","webpack:///./~/react-dom/lib/ReactNodeTypes.js","webpack:///./~/fbjs/lib/shallowEqual.js","webpack:///./~/react-dom/lib/shouldUpdateReactComponent.js","webpack:///./~/react-dom/lib/ReactEmptyComponent.js","webpack:///./~/react-dom/lib/ReactHostComponent.js","webpack:///./~/react/lib/getNextDebugID.js","webpack:///./~/react-dom/lib/KeyEscapeUtils.js","webpack:///./~/react-dom/lib/traverseAllChildren.js","webpack:///./~/react-dom/lib/ReactElementSymbol.js","webpack:///./~/react-dom/lib/getIteratorFn.js","webpack:///./~/react/lib/ReactComponentTreeHook.js","webpack:///./~/react-dom/lib/flattenChildren.js","webpack:///./~/react-dom/lib/ReactServerRenderingTransaction.js","webpack:///./~/react-dom/lib/ReactServerUpdateQueue.js","webpack:///./~/react-dom/lib/ReactUpdateQueue.js","webpack:///./~/react-dom/lib/validateDOMNesting.js","webpack:///./~/react-dom/lib/ReactDOMEmptyComponent.js","webpack:///./~/react-dom/lib/ReactDOMTreeTraversal.js","webpack:///./~/react-dom/lib/ReactDOMTextComponent.js","webpack:///./~/react-dom/lib/ReactDefaultBatchingStrategy.js","webpack:///./~/react-dom/lib/ReactEventListener.js","webpack:///./~/fbjs/lib/EventListener.js","webpack:///./~/fbjs/lib/getUnboundedScrollPosition.js","webpack:///./~/react-dom/lib/ReactInjection.js","webpack:///./~/react-dom/lib/ReactReconcileTransaction.js","webpack:///./~/react-dom/lib/ReactInputSelection.js","webpack:///./~/react-dom/lib/ReactDOMSelection.js","webpack:///./~/react-dom/lib/getNodeForCharacterOffset.js","webpack:///./~/fbjs/lib/containsNode.js","webpack:///./~/fbjs/lib/isTextNode.js","webpack:///./~/fbjs/lib/isNode.js","webpack:///./~/fbjs/lib/getActiveElement.js","webpack:///./~/react-dom/lib/SVGDOMPropertyConfig.js","webpack:///./~/react-dom/lib/SelectEventPlugin.js","webpack:///./~/react-dom/lib/SimpleEventPlugin.js","webpack:///./~/react-dom/lib/SyntheticAnimationEvent.js","webpack:///./~/react-dom/lib/SyntheticClipboardEvent.js","webpack:///./~/react-dom/lib/SyntheticFocusEvent.js","webpack:///./~/react-dom/lib/SyntheticKeyboardEvent.js","webpack:///./~/react-dom/lib/getEventCharCode.js","webpack:///./~/react-dom/lib/getEventKey.js","webpack:///./~/react-dom/lib/SyntheticDragEvent.js","webpack:///./~/react-dom/lib/SyntheticTouchEvent.js","webpack:///./~/react-dom/lib/SyntheticTransitionEvent.js","webpack:///./~/react-dom/lib/SyntheticWheelEvent.js","webpack:///./~/react-dom/lib/ReactMount.js","webpack:///./~/react-dom/lib/ReactDOMContainerInfo.js","webpack:///./~/react-dom/lib/ReactDOMFeatureFlags.js","webpack:///./~/react-dom/lib/ReactMarkupChecksum.js","webpack:///./~/react-dom/lib/adler32.js","webpack:///./~/react-dom/lib/ReactVersion.js","webpack:///./~/react-dom/lib/findDOMNode.js","webpack:///./~/react-dom/lib/getHostComponentFromComposite.js","webpack:///./~/react-dom/lib/renderSubtreeIntoContainer.js","webpack:///src/containers/App.js","webpack:///./~/react-redux/lib/index.js","webpack:///./~/react-redux/lib/components/Provider.js","webpack:///./~/prop-types/index.js","webpack:///./~/prop-types/factoryWithThrowingShims.js","webpack:///./~/react-redux/lib/utils/storeShape.js","webpack:///./~/react-redux/lib/utils/warning.js","webpack:///./~/react-redux/lib/components/connect.js","webpack:///./~/react-redux/lib/utils/shallowEqual.js","webpack:///./~/react-redux/lib/utils/wrapActionCreators.js","webpack:///./~/redux/lib/index.js","webpack:///./~/redux/lib/createStore.js","webpack:///./~/lodash/isPlainObject.js","webpack:///./~/lodash/_baseGetTag.js","webpack:///./~/lodash/_Symbol.js","webpack:///./~/lodash/_root.js","webpack:///./~/lodash/_freeGlobal.js","webpack:///./~/lodash/_getRawTag.js","webpack:///./~/lodash/_objectToString.js","webpack:///./~/lodash/_getPrototype.js","webpack:///./~/lodash/_overArg.js","webpack:///./~/lodash/isObjectLike.js","webpack:///./~/symbol-observable/index.js","webpack:///./~/symbol-observable/ponyfill.js","webpack:///./~/redux/lib/combineReducers.js","webpack:///./~/redux/lib/utils/warning.js","webpack:///./~/redux/lib/bindActionCreators.js","webpack:///./~/redux/lib/applyMiddleware.js","webpack:///./~/redux/lib/compose.js","webpack:///./~/hoist-non-react-statics/index.js","webpack:///./~/invariant/browser.js","webpack:///./~/axios/index.js","webpack:///./~/axios/lib/axios.js","webpack:///./~/axios/lib/utils.js","webpack:///./~/axios/lib/helpers/bind.js","webpack:///./~/axios/lib/core/Axios.js","webpack:///./~/axios/lib/defaults.js","webpack:///./~/axios/lib/helpers/normalizeHeaderName.js","webpack:///./~/axios/lib/core/InterceptorManager.js","webpack:///./~/axios/lib/core/dispatchRequest.js","webpack:///./~/axios/lib/core/transformData.js","webpack:///./~/axios/lib/adapters/xhr.js","webpack:///./~/axios/lib/core/settle.js","webpack:///./~/axios/lib/core/createError.js","webpack:///./~/axios/lib/core/enhanceError.js","webpack:///./~/axios/lib/helpers/buildURL.js","webpack:///./~/axios/lib/helpers/parseHeaders.js","webpack:///./~/axios/lib/helpers/isURLSameOrigin.js","webpack:///./~/axios/lib/helpers/btoa.js","webpack:///./~/axios/lib/helpers/cookies.js","webpack:///./~/axios/lib/helpers/isAbsoluteURL.js","webpack:///./~/axios/lib/helpers/combineURLs.js","webpack:///./~/axios/lib/helpers/spread.js","webpack:///src/store/configureStore.js","webpack:///./~/redux-thunk/lib/index.js","webpack:///src/reducers/index.js","webpack:///src/reducers/appHandler.js","webpack:///src/constants/ActionTypes.js","webpack:///./~/immutability-helper/index.js","webpack:///src/reducers/windowHandler.js","webpack:///./~/react-addons-update/index.js","webpack:///./~/react/lib/update.js","webpack:///src/reducers/menuHandler.js","webpack:///src/constants/MenuTypes.js","webpack:///src/reducers/listHandler.js","webpack:///src/constants/ListTypes.js","webpack:///./~/react-router-redux/lib/index.js","webpack:///./~/react-router-redux/lib/reducer.js","webpack:///./~/react-router-redux/lib/actions.js","webpack:///./~/react-router-redux/lib/sync.js","webpack:///./~/react-router-redux/lib/middleware.js","webpack:///src/routes.js","webpack:///./~/react-router/lib/index.js","webpack:///./~/react-router/lib/RouteUtils.js","webpack:///./~/react-router/lib/PropTypes.js","webpack:///./~/react-router/lib/PatternUtils.js","webpack:///./~/react-router/lib/Router.js","webpack:///./~/create-react-class/index.js","webpack:///./~/create-react-class/factory.js","webpack:///./~/react-router/lib/createTransitionManager.js","webpack:///./~/react-router/lib/routerWarning.js","webpack:///./~/warning/browser.js","webpack:///./~/react-router/lib/computeChangedRoutes.js","webpack:///./~/react-router/lib/TransitionUtils.js","webpack:///./~/react-router/lib/AsyncUtils.js","webpack:///./~/react-router/lib/isActive.js","webpack:///./~/react-router/lib/getComponents.js","webpack:///./~/react-router/lib/PromiseUtils.js","webpack:///./~/react-router/lib/matchRoutes.js","webpack:///./~/react-router/lib/InternalPropTypes.js","webpack:///./~/react-router/lib/RouterContext.js","webpack:///./~/react-router/lib/getRouteParams.js","webpack:///./~/react-router/lib/ContextUtils.js","webpack:///./~/react-router/lib/RouterUtils.js","webpack:///./~/react-router/lib/Link.js","webpack:///./~/react-router/lib/IndexLink.js","webpack:///./~/react-router/lib/withRouter.js","webpack:///./~/react-router/lib/IndexRedirect.js","webpack:///./~/react-router/lib/Redirect.js","webpack:///./~/react-router/lib/IndexRoute.js","webpack:///./~/react-router/lib/Route.js","webpack:///./~/react-router/lib/match.js","webpack:///./~/history/lib/Actions.js","webpack:///./~/react-router/lib/createMemoryHistory.js","webpack:///./~/history/lib/useQueries.js","webpack:///./~/query-string/index.js","webpack:///./~/strict-uri-encode/index.js","webpack:///./~/history/lib/runTransitionHook.js","webpack:///./~/history/lib/LocationUtils.js","webpack:///./~/history/lib/PathUtils.js","webpack:///./~/history/lib/useBasename.js","webpack:///./~/history/lib/createMemoryHistory.js","webpack:///./~/history/lib/createHistory.js","webpack:///./~/history/lib/AsyncUtils.js","webpack:///./~/react-router/lib/useRouterHistory.js","webpack:///./~/react-router/lib/applyRouterMiddleware.js","webpack:///./~/react-router/lib/browserHistory.js","webpack:///./~/history/lib/createBrowserHistory.js","webpack:///./~/history/lib/ExecutionEnvironment.js","webpack:///./~/history/lib/BrowserProtocol.js","webpack:///./~/history/lib/DOMUtils.js","webpack:///./~/history/lib/DOMStateStorage.js","webpack:///./~/history/lib/RefreshProtocol.js","webpack:///./~/react-router/lib/createRouterHistory.js","webpack:///./~/react-router/lib/hashHistory.js","webpack:///./~/history/lib/createHashHistory.js","webpack:///./~/history/lib/HashProtocol.js","webpack:///src/containers/Login.js","webpack:///src/components/app/LoginForm.js","webpack:///./src/assets/images/metasfresh_logo_green_thumb.png","webpack:///src/components/widget/List/RawList.js","webpack:///./~/react-addons-css-transition-group/index.js","webpack:///./~/react/lib/ReactCSSTransitionGroup.js","webpack:///./~/react/lib/ReactTransitionGroup.js","webpack:///./~/react/lib/ReactTransitionChildMapping.js","webpack:///./~/react/lib/flattenChildren.js","webpack:///./~/react/lib/ReactCSSTransitionGroupChild.js","webpack:///./~/react/lib/ReactAddonsDOMDependencies.js","webpack:///./~/fbjs/lib/CSSCore.js","webpack:///./~/react/lib/ReactTransitionEvents.js","webpack:///./~/moment/moment.js","webpack:///(webpack)/buildin/module.js","webpack:///./~/moment/locale ^\\.\\/.*$","webpack:///./~/moment/locale/af.js","webpack:///./~/moment/locale/ar.js","webpack:///./~/moment/locale/ar-dz.js","webpack:///./~/moment/locale/ar-ly.js","webpack:///./~/moment/locale/ar-ma.js","webpack:///./~/moment/locale/ar-sa.js","webpack:///./~/moment/locale/ar-tn.js","webpack:///./~/moment/locale/az.js","webpack:///./~/moment/locale/be.js","webpack:///./~/moment/locale/bg.js","webpack:///./~/moment/locale/bg-x.js","webpack:///./~/moment/locale/bn.js","webpack:///./~/moment/locale/bo.js","webpack:///./~/moment/locale/br.js","webpack:///./~/moment/locale/bs.js","webpack:///./~/moment/locale/ca.js","webpack:///./~/moment/locale/cs.js","webpack:///./~/moment/locale/cv.js","webpack:///./~/moment/locale/cy.js","webpack:///./~/moment/locale/da.js","webpack:///./~/moment/locale/de.js","webpack:///./~/moment/locale/de-at.js","webpack:///./~/moment/locale/dv.js","webpack:///./~/moment/locale/el.js","webpack:///./~/moment/locale/en-au.js","webpack:///./~/moment/locale/en-ca.js","webpack:///./~/moment/locale/en-gb.js","webpack:///./~/moment/locale/en-ie.js","webpack:///./~/moment/locale/en-nz.js","webpack:///./~/moment/locale/eo.js","webpack:///./~/moment/locale/es.js","webpack:///./~/moment/locale/es-do.js","webpack:///./~/moment/locale/et.js","webpack:///./~/moment/locale/eu.js","webpack:///./~/moment/locale/fa.js","webpack:///./~/moment/locale/fi.js","webpack:///./~/moment/locale/fo.js","webpack:///./~/moment/locale/fr.js","webpack:///./~/moment/locale/fr-ca.js","webpack:///./~/moment/locale/fr-ch.js","webpack:///./~/moment/locale/fy.js","webpack:///./~/moment/locale/gd.js","webpack:///./~/moment/locale/gl.js","webpack:///./~/moment/locale/he.js","webpack:///./~/moment/locale/hi.js","webpack:///./~/moment/locale/hr.js","webpack:///./~/moment/locale/hu.js","webpack:///./~/moment/locale/hy-am.js","webpack:///./~/moment/locale/id.js","webpack:///./~/moment/locale/is.js","webpack:///./~/moment/locale/it.js","webpack:///./~/moment/locale/ja.js","webpack:///./~/moment/locale/jv.js","webpack:///./~/moment/locale/ka.js","webpack:///./~/moment/locale/kk.js","webpack:///./~/moment/locale/km.js","webpack:///./~/moment/locale/ko.js","webpack:///./~/moment/locale/ky.js","webpack:///./~/moment/locale/lb.js","webpack:///./~/moment/locale/lo.js","webpack:///./~/moment/locale/lt.js","webpack:///./~/moment/locale/lv.js","webpack:///./~/moment/locale/me.js","webpack:///./~/moment/locale/mi.js","webpack:///./~/moment/locale/mk.js","webpack:///./~/moment/locale/ml.js","webpack:///./~/moment/locale/mr.js","webpack:///./~/moment/locale/ms.js","webpack:///./~/moment/locale/ms-my.js","webpack:///./~/moment/locale/my.js","webpack:///./~/moment/locale/nb.js","webpack:///./~/moment/locale/ne.js","webpack:///./~/moment/locale/nl.js","webpack:///./~/moment/locale/nl-be.js","webpack:///./~/moment/locale/nn.js","webpack:///./~/moment/locale/pa-in.js","webpack:///./~/moment/locale/pl.js","webpack:///./~/moment/locale/pt.js","webpack:///./~/moment/locale/pt-br.js","webpack:///./~/moment/locale/ro.js","webpack:///./~/moment/locale/ru.js","webpack:///./~/moment/locale/se.js","webpack:///./~/moment/locale/si.js","webpack:///./~/moment/locale/sk.js","webpack:///./~/moment/locale/sl.js","webpack:///./~/moment/locale/sq.js","webpack:///./~/moment/locale/sr.js","webpack:///./~/moment/locale/sr-cyrl.js","webpack:///./~/moment/locale/ss.js","webpack:///./~/moment/locale/sv.js","webpack:///./~/moment/locale/sw.js","webpack:///./~/moment/locale/ta.js","webpack:///./~/moment/locale/te.js","webpack:///./~/moment/locale/tet.js","webpack:///./~/moment/locale/th.js","webpack:///./~/moment/locale/tl-ph.js","webpack:///./~/moment/locale/tlh.js","webpack:///./~/moment/locale/tr.js","webpack:///./~/moment/locale/tzl.js","webpack:///./~/moment/locale/tzm.js","webpack:///./~/moment/locale/tzm-latn.js","webpack:///./~/moment/locale/uk.js","webpack:///./~/moment/locale/uz.js","webpack:///./~/moment/locale/vi.js","webpack:///./~/moment/locale/x-pseudo.js","webpack:///./~/moment/locale/zh-cn.js","webpack:///./~/moment/locale/zh-hk.js","webpack:///./~/moment/locale/zh-tw.js","webpack:///src/actions/AppActions.js","webpack:///./~/sockjs-client/lib/entry.js","webpack:///./~/sockjs-client/lib/transport-list.js","webpack:///./~/sockjs-client/lib/transport/websocket.js","webpack:///./~/sockjs-client/lib/utils/event.js","webpack:///./~/sockjs-client/lib/utils/random.js","webpack:///./~/sockjs-client/lib/utils/browser-crypto.js","webpack:///./~/sockjs-client/lib/utils/url.js","webpack:///./~/url-parse/index.js","webpack:///./~/requires-port/index.js","webpack:///./~/url-parse/~/querystringify/index.js","webpack:///./~/inherits/inherits_browser.js","webpack:///./~/sockjs-client/lib/event/emitter.js","webpack:///./~/sockjs-client/lib/event/eventtarget.js","webpack:///./~/sockjs-client/lib/transport/browser/websocket.js","webpack:///./~/sockjs-client/lib/transport/xhr-streaming.js","webpack:///./~/sockjs-client/lib/transport/lib/ajax-based.js","webpack:///./~/sockjs-client/lib/transport/lib/sender-receiver.js","webpack:///./~/sockjs-client/lib/transport/lib/buffered-sender.js","webpack:///./~/sockjs-client/lib/transport/lib/polling.js","webpack:///./~/sockjs-client/lib/transport/receiver/xhr.js","webpack:///./~/sockjs-client/lib/transport/sender/xhr-cors.js","webpack:///./~/sockjs-client/lib/transport/browser/abstract-xhr.js","webpack:///./~/sockjs-client/lib/transport/sender/xhr-local.js","webpack:///./~/sockjs-client/lib/utils/browser.js","webpack:///./~/sockjs-client/lib/transport/xdr-streaming.js","webpack:///./~/sockjs-client/lib/transport/sender/xdr.js","webpack:///./~/sockjs-client/lib/transport/eventsource.js","webpack:///./~/sockjs-client/lib/transport/receiver/eventsource.js","webpack:///./~/sockjs-client/lib/transport/browser/eventsource.js","webpack:///./~/sockjs-client/lib/transport/lib/iframe-wrap.js","webpack:///./~/sockjs-client/lib/transport/iframe.js","webpack:///./~/json3/lib/json3.js","webpack:///(webpack)/buildin/amd-options.js","webpack:///./~/sockjs-client/lib/version.js","webpack:///./~/sockjs-client/lib/utils/iframe.js","webpack:///./~/sockjs-client/lib/utils/object.js","webpack:///./~/sockjs-client/lib/transport/htmlfile.js","webpack:///./~/sockjs-client/lib/transport/receiver/htmlfile.js","webpack:///./~/sockjs-client/lib/transport/xhr-polling.js","webpack:///./~/sockjs-client/lib/transport/xdr-polling.js","webpack:///./~/sockjs-client/lib/transport/jsonp-polling.js","webpack:///./~/sockjs-client/lib/transport/receiver/jsonp.js","webpack:///./~/sockjs-client/lib/transport/sender/jsonp.js","webpack:///./~/sockjs-client/lib/main.js","webpack:///./~/sockjs-client/lib/shims.js","webpack:///./~/sockjs-client/lib/utils/escape.js","webpack:///./~/sockjs-client/lib/utils/transport.js","webpack:///./~/sockjs-client/lib/utils/log.js","webpack:///./~/sockjs-client/lib/event/event.js","webpack:///./~/sockjs-client/lib/location.js","webpack:///./~/sockjs-client/lib/event/close.js","webpack:///./~/sockjs-client/lib/event/trans-message.js","webpack:///./~/sockjs-client/lib/info-receiver.js","webpack:///./~/sockjs-client/lib/transport/sender/xhr-fake.js","webpack:///./~/sockjs-client/lib/info-iframe.js","webpack:///./~/sockjs-client/lib/info-iframe-receiver.js","webpack:///./~/sockjs-client/lib/info-ajax.js","webpack:///./~/sockjs-client/lib/iframe-bootstrap.js","webpack:///./~/sockjs-client/lib/facade.js","webpack:///./~/stompjs/lib/stomp.min.js","webpack:///src/containers/Settings.js","webpack:///src/components/Container.js","webpack:///src/components/header/Header.js","webpack:///src/components/header/SubHeader.js","webpack:///./~/react-onclickoutside/index.js","webpack:///src/components/header/Actions.js","webpack:///src/components/app/Loader.js","webpack:///src/actions/GenericActions.js","webpack:///src/keymap.js","webpack:///src/components/header/Breadcrumb.js","webpack:///src/components/header/MenuOverlay.js","webpack:///src/components/header/MenuOverlayContainer.js","webpack:///src/components/header/MenuOverlayItem.js","webpack:///src/actions/MenuActions.js","webpack:///./~/react-debounce-input/lib/index.js","webpack:///./~/react-debounce-input/lib/Component.js","webpack:///./~/lodash.debounce/index.js","webpack:///./~/react/lib/ReactComponentWithPureRenderMixin.js","webpack:///./~/react/lib/shallowCompare.js","webpack:///src/components/tooltips/Tooltips.js","webpack:///src/components/widget/MasterWidget.js","webpack:///src/actions/WindowActions.js","webpack:///src/actions/ListActions.js","webpack:///src/components/widget/RawWidget.js","webpack:///src/components/widget/DatePicker.js","webpack:///./~/react-datetime/DateTime.js","webpack:///./~/react-datetime/~/object-assign/index.js","webpack:///./~/react-datetime/src/DaysView.js","webpack:///./~/react-datetime/src/MonthsView.js","webpack:///./~/react-datetime/src/YearsView.js","webpack:///./~/react-datetime/src/TimeView.js","webpack:///./~/react-datetime/src/onClickOutside.js","webpack:///src/components/widget/Attributes/Attributes.js","webpack:///src/components/widget/Attributes/AttributesDropdown.js","webpack:///src/components/widget/Lookup/Lookup.js","webpack:///src/components/widget/Lookup/LookupList.js","webpack:///src/components/widget/DatetimeRange.js","webpack:///./~/react-bootstrap-daterangepicker/lib/index.js","webpack:///./~/jquery/dist/jquery.js","webpack:///./~/bootstrap-daterangepicker/daterangepicker.js","webpack:///./~/react-bootstrap-daterangepicker/lib/get-options.js","webpack:///src/components/widget/List/List.js","webpack:///src/components/widget/ActionButton.js","webpack:///src/components/shortcuts/DocumentStatusContextShortcuts.js","webpack:///./~/react-shortcuts/lib/index.js","webpack:///./~/react-shortcuts/lib/shortcut-manager.js","webpack:///./~/lodash/lodash.js","webpack:///./~/events/events.js","webpack:///./~/react-shortcuts/lib/helpers.js","webpack:///./~/platform/platform.js","webpack:///./~/react-shortcuts/lib/component/index.js","webpack:///./~/react-shortcuts/lib/component/shortcuts.js","webpack:///./~/combokeys/Combokeys/index.js","webpack:///./~/combokeys/Combokeys/prototype/bind.js","webpack:///./~/combokeys/Combokeys/prototype/bindMultiple.js","webpack:///./~/combokeys/Combokeys/prototype/unbind.js","webpack:///./~/combokeys/Combokeys/prototype/trigger.js","webpack:///./~/combokeys/Combokeys/prototype/reset.js","webpack:///./~/combokeys/Combokeys/prototype/stopCallback.js","webpack:///./~/combokeys/Combokeys/prototype/handleKey.js","webpack:///./~/combokeys/helpers/isModifier.js","webpack:///./~/combokeys/Combokeys/prototype/addEvents.js","webpack:///./~/combokeys/Combokeys/prototype/dom-event.js","webpack:///./~/combokeys/Combokeys/prototype/handleKeyEvent.js","webpack:///./~/combokeys/helpers/characterFromEvent.js","webpack:///./~/combokeys/helpers/special-keys-map.js","webpack:///./~/combokeys/helpers/special-characters-map.js","webpack:///./~/combokeys/helpers/eventModifiers.js","webpack:///./~/combokeys/Combokeys/prototype/bindSingle.js","webpack:///./~/combokeys/Combokeys/prototype/getKeyInfo.js","webpack:///./~/combokeys/helpers/keysFromString.js","webpack:///./~/combokeys/helpers/special-aliases.js","webpack:///./~/combokeys/helpers/shift-map.js","webpack:///./~/combokeys/Combokeys/prototype/pickBestAction.js","webpack:///./~/combokeys/Combokeys/prototype/getReverseMap.js","webpack:///./~/combokeys/Combokeys/prototype/getMatches.js","webpack:///./~/combokeys/Combokeys/prototype/modifiersMatch.js","webpack:///./~/combokeys/Combokeys/prototype/resetSequences.js","webpack:///./~/combokeys/Combokeys/prototype/fireCallback.js","webpack:///./~/combokeys/helpers/preventDefault.js","webpack:///./~/combokeys/helpers/stopPropagation.js","webpack:///./~/combokeys/Combokeys/prototype/bindSequence.js","webpack:///./~/combokeys/Combokeys/prototype/resetSequenceTimer.js","webpack:///./~/combokeys/Combokeys/prototype/detach.js","webpack:///./~/combokeys/Combokeys/reset.js","webpack:///src/components/widget/Image.js","webpack:///src/components/widget/Devices/DevicesWidget.js","webpack:///src/components/widget/Devices/Device.js","webpack:///src/constants/Constants.js","webpack:///src/components/header/SideList.js","webpack:///src/components/header/Attachments.js","webpack:///src/components/header/Referenced.js","webpack:///src/components/app/DocumentList.js","webpack:///src/components/app/QuickActions.js","webpack:///src/components/app/QuickActionsDropdown.js","webpack:///src/components/shortcuts/QuickActionsContextShortcuts.js","webpack:///src/components/BlankPage.js","webpack:///src/components/table/Table.js","webpack:///src/components/app/Prompt.js","webpack:///src/components/table/TableFilter.js","webpack:///src/components/table/TableQuickInput.js","webpack:///src/components/table/TableItem.js","webpack:///src/components/table/TableCell.js","webpack:///src/components/table/TablePagination.js","webpack:///src/components/shortcuts/PaginationContextShortcuts.js","webpack:///src/components/table/TableHeader.js","webpack:///src/components/table/TableContextMenu.js","webpack:///src/components/shortcuts/DocumentListContextShortcuts.js","webpack:///src/components/shortcuts/TableContextShortcuts.js","webpack:///src/components/filters/Filters.js","webpack:///src/components/filters/FiltersFrequent.js","webpack:///src/components/filters/FiltersItem.js","webpack:///src/components/filters/FiltersNotFrequent.js","webpack:///src/components/app/SelectionAttributes.js","webpack:///src/components/DataLayoutWrapper.js","webpack:///src/components/app/Indicator.js","webpack:///src/components/inbox/Inbox.js","webpack:///src/components/inbox/InboxItem.js","webpack:///src/components/shortcuts/GlobalContextShortcuts.js","webpack:///src/components/app/ErrorScreen.js","webpack:///src/containers/Dashboard.js","webpack:///src/components/widget/DraggableWrapper.js","webpack:///src/components/widget/DraggableWidget.js","webpack:///src/constants/ItemTypes.js","webpack:///./~/react-dnd/lib/index.js","webpack:///./~/react-dnd/lib/DragDropContext.js","webpack:///./~/dnd-core/lib/index.js","webpack:///./~/dnd-core/lib/DragDropManager.js","webpack:///./~/dnd-core/lib/reducers/index.js","webpack:///./~/dnd-core/lib/reducers/dragOffset.js","webpack:///./~/dnd-core/lib/actions/dragDrop.js","webpack:///./~/lodash/isArray.js","webpack:///./~/lodash/isObject.js","webpack:///./~/dnd-core/lib/utils/matchesType.js","webpack:///./~/dnd-core/lib/reducers/dragOperation.js","webpack:///./~/lodash/without.js","webpack:///./~/lodash/_baseDifference.js","webpack:///./~/lodash/_SetCache.js","webpack:///./~/lodash/_MapCache.js","webpack:///./~/lodash/_mapCacheClear.js","webpack:///./~/lodash/_Hash.js","webpack:///./~/lodash/_hashClear.js","webpack:///./~/lodash/_nativeCreate.js","webpack:///./~/lodash/_getNative.js","webpack:///./~/lodash/_baseIsNative.js","webpack:///./~/lodash/isFunction.js","webpack:///./~/lodash/_isMasked.js","webpack:///./~/lodash/_coreJsData.js","webpack:///./~/lodash/_toSource.js","webpack:///./~/lodash/_getValue.js","webpack:///./~/lodash/_hashDelete.js","webpack:///./~/lodash/_hashGet.js","webpack:///./~/lodash/_hashHas.js","webpack:///./~/lodash/_hashSet.js","webpack:///./~/lodash/_ListCache.js","webpack:///./~/lodash/_listCacheClear.js","webpack:///./~/lodash/_listCacheDelete.js","webpack:///./~/lodash/_assocIndexOf.js","webpack:///./~/lodash/eq.js","webpack:///./~/lodash/_listCacheGet.js","webpack:///./~/lodash/_listCacheHas.js","webpack:///./~/lodash/_listCacheSet.js","webpack:///./~/lodash/_Map.js","webpack:///./~/lodash/_mapCacheDelete.js","webpack:///./~/lodash/_getMapData.js","webpack:///./~/lodash/_isKeyable.js","webpack:///./~/lodash/_mapCacheGet.js","webpack:///./~/lodash/_mapCacheHas.js","webpack:///./~/lodash/_mapCacheSet.js","webpack:///./~/lodash/_setCacheAdd.js","webpack:///./~/lodash/_setCacheHas.js","webpack:///./~/lodash/_arrayIncludes.js","webpack:///./~/lodash/_baseIndexOf.js","webpack:///./~/lodash/_baseFindIndex.js","webpack:///./~/lodash/_baseIsNaN.js","webpack:///./~/lodash/_strictIndexOf.js","webpack:///./~/lodash/_arrayIncludesWith.js","webpack:///./~/lodash/_arrayMap.js","webpack:///./~/lodash/_baseUnary.js","webpack:///./~/lodash/_cacheHas.js","webpack:///./~/lodash/_baseRest.js","webpack:///./~/lodash/identity.js","webpack:///./~/lodash/_overRest.js","webpack:///./~/lodash/_apply.js","webpack:///./~/lodash/_setToString.js","webpack:///./~/lodash/_baseSetToString.js","webpack:///./~/lodash/constant.js","webpack:///./~/lodash/_defineProperty.js","webpack:///./~/lodash/_shortOut.js","webpack:///./~/lodash/isArrayLikeObject.js","webpack:///./~/lodash/isArrayLike.js","webpack:///./~/lodash/isLength.js","webpack:///./~/dnd-core/lib/actions/registry.js","webpack:///./~/dnd-core/lib/reducers/refCount.js","webpack:///./~/dnd-core/lib/reducers/dirtyHandlerIds.js","webpack:///./~/lodash/xor.js","webpack:///./~/lodash/_arrayFilter.js","webpack:///./~/lodash/_baseXor.js","webpack:///./~/lodash/_baseFlatten.js","webpack:///./~/lodash/_arrayPush.js","webpack:///./~/lodash/_isFlattenable.js","webpack:///./~/lodash/isArguments.js","webpack:///./~/lodash/_baseIsArguments.js","webpack:///./~/lodash/_baseUniq.js","webpack:///./~/lodash/_createSet.js","webpack:///./~/lodash/_Set.js","webpack:///./~/lodash/noop.js","webpack:///./~/lodash/_setToArray.js","webpack:///./~/lodash/intersection.js","webpack:///./~/lodash/_baseIntersection.js","webpack:///./~/lodash/_castArrayLikeObject.js","webpack:///./~/dnd-core/lib/reducers/stateId.js","webpack:///./~/dnd-core/lib/DragDropMonitor.js","webpack:///./~/dnd-core/lib/HandlerRegistry.js","webpack:///./~/asap/browser-asap.js","webpack:///./~/asap/browser-raw.js","webpack:///./~/dnd-core/lib/utils/getNextUniqueId.js","webpack:///./~/dnd-core/lib/DragSource.js","webpack:///./~/dnd-core/lib/DropTarget.js","webpack:///./~/dnd-core/lib/backends/createTestBackend.js","webpack:///./~/react-dnd/lib/utils/checkDecoratorArguments.js","webpack:///./~/react-dnd/lib/DragLayer.js","webpack:///./~/react-dnd/lib/utils/shallowEqual.js","webpack:///./~/react-dnd/lib/utils/shallowEqualScalar.js","webpack:///./~/react-dnd/lib/DragSource.js","webpack:///./~/react-dnd/lib/decorateHandler.js","webpack:///./~/disposables/modules/index.js","webpack:///./~/disposables/modules/isDisposable.js","webpack:///./~/disposables/modules/Disposable.js","webpack:///./~/disposables/modules/CompositeDisposable.js","webpack:///./~/disposables/modules/SerialDisposable.js","webpack:///./~/react-dnd/lib/registerSource.js","webpack:///./~/react-dnd/lib/createSourceFactory.js","webpack:///./~/react-dnd/lib/createSourceMonitor.js","webpack:///./~/react-dnd/lib/createSourceConnector.js","webpack:///./~/react-dnd/lib/wrapConnectorHooks.js","webpack:///./~/react-dnd/lib/utils/cloneWithRef.js","webpack:///./~/react-dnd/lib/areOptionsEqual.js","webpack:///./~/react-dnd/lib/utils/isValidType.js","webpack:///./~/react-dnd/lib/DropTarget.js","webpack:///./~/react-dnd/lib/registerTarget.js","webpack:///./~/react-dnd/lib/createTargetFactory.js","webpack:///./~/react-dnd/lib/createTargetMonitor.js","webpack:///./~/react-dnd/lib/createTargetConnector.js","webpack:///src/components/charts/RawChart.js","webpack:///src/components/charts/BarChartComponent/index.js","webpack:///./~/d3/build/d3.js","webpack:///src/components/charts/BarChartComponent/ranges.js","webpack:///src/components/charts/BarChartComponent/axes.js","webpack:///src/components/charts/BarChartComponent/svg.js","webpack:///src/components/charts/BarChartComponent/dimensions.js","webpack:///src/components/charts/BarChartComponent/boxSize.js","webpack:///src/components/charts/BarChartComponent/data.js","webpack:///src/components/charts/BarChartComponent/legend.js","webpack:///src/components/charts/PieChartComponent/index.js","webpack:///src/components/charts/PieChartComponent/svg.js","webpack:///./~/react-dnd-html5-backend/lib/index.js","webpack:///./~/react-dnd-html5-backend/lib/HTML5Backend.js","webpack:///./~/lodash/defaults.js","webpack:///./~/lodash/assignInWith.js","webpack:///./~/lodash/_copyObject.js","webpack:///./~/lodash/_assignValue.js","webpack:///./~/lodash/_baseAssignValue.js","webpack:///./~/lodash/_createAssigner.js","webpack:///./~/lodash/_isIterateeCall.js","webpack:///./~/lodash/_isIndex.js","webpack:///./~/lodash/keysIn.js","webpack:///./~/lodash/_arrayLikeKeys.js","webpack:///./~/lodash/_baseTimes.js","webpack:///./~/lodash/isBuffer.js","webpack:///./~/lodash/stubFalse.js","webpack:///./~/lodash/isTypedArray.js","webpack:///./~/lodash/_baseIsTypedArray.js","webpack:///./~/lodash/_nodeUtil.js","webpack:///./~/lodash/_baseKeysIn.js","webpack:///./~/lodash/_isPrototype.js","webpack:///./~/lodash/_nativeKeysIn.js","webpack:///./~/lodash/_customDefaultsAssignIn.js","webpack:///./~/react-dnd-html5-backend/lib/shallowEqual.js","webpack:///./~/react-dnd-html5-backend/lib/EnterLeaveCounter.js","webpack:///./~/lodash/union.js","webpack:///./~/react-dnd-html5-backend/lib/BrowserDetector.js","webpack:///./~/lodash/memoize.js","webpack:///./~/react-dnd-html5-backend/lib/OffsetUtils.js","webpack:///./~/react-dnd-html5-backend/lib/MonotonicInterpolant.js","webpack:///./~/react-dnd-html5-backend/lib/NativeDragSources.js","webpack:///./~/react-dnd-html5-backend/lib/NativeTypes.js","webpack:///./~/react-dnd-html5-backend/lib/getEmptyImage.js","webpack:///src/components/app/Modal.js","webpack:///src/components/Window.js","webpack:///src/components/Dropzone.js","webpack:///./~/react-dropzone/dist/index.js","webpack:///src/components/tabs/Tabs.js","webpack:///src/components/tabs/Tab.js","webpack:///src/components/Process.js","webpack:///src/components/app/OverlayField.js","webpack:///src/containers/MasterWindow.js","webpack:///src/components/app/RawModal.js","webpack:///src/containers/DocList.js","webpack:///src/containers/InboxAll.js","webpack:///src/containers/NavigationTree.js","webpack:///src/components/notifications/NotificationHandler.js","webpack:///src/components/notifications/Notification.js","webpack:///./src/assets/css/styles.css?c8ac","webpack:///./src/assets/css/styles.css","webpack:///./~/css-loader/lib/css-base.js","webpack:///./src/assets/css/fonts/metasfresh.eot","webpack:///./src/assets/css/fonts/metasfresh.woff","webpack:///./src/assets/css/fonts/metasfresh.ttf","webpack:///./src/assets/css/fonts/metasfresh.svg","webpack:///./~/style-loader/addStyles.js","webpack:///./favicon.png"],"sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 67dec0207a03a41be291","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './containers/App';\n\nReactDOM.render(, document.getElementById('root'));\n\n\n\n// WEBPACK FOOTER //\n// src/index.jsx","'use strict';\n\nmodule.exports = require('./lib/React');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/react.js\n// module id = 2\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactChildren = require('./ReactChildren');\nvar ReactComponent = require('./ReactComponent');\nvar ReactPureComponent = require('./ReactPureComponent');\nvar ReactClass = require('./ReactClass');\nvar ReactDOMFactories = require('./ReactDOMFactories');\nvar ReactElement = require('./ReactElement');\nvar ReactPropTypes = require('./ReactPropTypes');\nvar ReactVersion = require('./ReactVersion');\n\nvar onlyChild = require('./onlyChild');\nvar warning = require('fbjs/lib/warning');\n\nvar createElement = ReactElement.createElement;\nvar createFactory = ReactElement.createFactory;\nvar cloneElement = ReactElement.cloneElement;\n\nif (process.env.NODE_ENV !== 'production') {\n var canDefineProperty = require('./canDefineProperty');\n var ReactElementValidator = require('./ReactElementValidator');\n var didWarnPropTypesDeprecated = false;\n createElement = ReactElementValidator.createElement;\n createFactory = ReactElementValidator.createFactory;\n cloneElement = ReactElementValidator.cloneElement;\n}\n\nvar __spread = _assign;\n\nif (process.env.NODE_ENV !== 'production') {\n var warned = false;\n __spread = function () {\n process.env.NODE_ENV !== 'production' ? warning(warned, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.') : void 0;\n warned = true;\n return _assign.apply(null, arguments);\n };\n}\n\nvar React = {\n\n // Modern\n\n Children: {\n map: ReactChildren.map,\n forEach: ReactChildren.forEach,\n count: ReactChildren.count,\n toArray: ReactChildren.toArray,\n only: onlyChild\n },\n\n Component: ReactComponent,\n PureComponent: ReactPureComponent,\n\n createElement: createElement,\n cloneElement: cloneElement,\n isValidElement: ReactElement.isValidElement,\n\n // Classic\n\n PropTypes: ReactPropTypes,\n createClass: ReactClass.createClass,\n createFactory: createFactory,\n createMixin: function (mixin) {\n // Currently a noop. Will be used to validate and trace mixins.\n return mixin;\n },\n\n // This looks DOM specific but these are actually isomorphic helpers\n // since they are just generating DOM strings.\n DOM: ReactDOMFactories,\n\n version: ReactVersion,\n\n // Deprecated hook for JSX spread, don't use this for anything.\n __spread: __spread\n};\n\n// TODO: Fix tests so that this deprecation warning doesn't cause failures.\nif (process.env.NODE_ENV !== 'production') {\n if (canDefineProperty) {\n Object.defineProperty(React, 'PropTypes', {\n get: function () {\n process.env.NODE_ENV !== 'production' ? warning(didWarnPropTypesDeprecated, 'Accessing PropTypes via the main React package is deprecated. Use ' + 'the prop-types package from npm instead.') : void 0;\n didWarnPropTypesDeprecated = true;\n return ReactPropTypes;\n }\n });\n }\n}\n\nmodule.exports = React;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/React.js\n// module id = 3\n// module chunks = 0","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/object-assign/index.js\n// module id = 4\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar PooledClass = require('./PooledClass');\nvar ReactElement = require('./ReactElement');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar traverseAllChildren = require('./traverseAllChildren');\n\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nvar fourArgumentPooler = PooledClass.fourArgumentPooler;\n\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction escapeUserProvidedKey(text) {\n return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * traversal. Allows avoiding binding callbacks.\n *\n * @constructor ForEachBookKeeping\n * @param {!function} forEachFunction Function to perform traversal with.\n * @param {?*} forEachContext Context to perform context with.\n */\nfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n this.func = forEachFunction;\n this.context = forEachContext;\n this.count = 0;\n}\nForEachBookKeeping.prototype.destructor = function () {\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\nfunction forEachSingleChild(bookKeeping, child, name) {\n var func = bookKeeping.func,\n context = bookKeeping.context;\n\n func.call(context, child, bookKeeping.count++);\n}\n\n/**\n * Iterates through children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach\n *\n * The provided forEachFunc(child, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} forEachFunc\n * @param {*} forEachContext Context for forEachContext.\n */\nfunction forEachChildren(children, forEachFunc, forEachContext) {\n if (children == null) {\n return children;\n }\n var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n traverseAllChildren(children, forEachSingleChild, traverseContext);\n ForEachBookKeeping.release(traverseContext);\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * mapping. Allows avoiding binding callbacks.\n *\n * @constructor MapBookKeeping\n * @param {!*} mapResult Object containing the ordered map of results.\n * @param {!function} mapFunction Function to perform mapping with.\n * @param {?*} mapContext Context to perform mapping with.\n */\nfunction MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {\n this.result = mapResult;\n this.keyPrefix = keyPrefix;\n this.func = mapFunction;\n this.context = mapContext;\n this.count = 0;\n}\nMapBookKeeping.prototype.destructor = function () {\n this.result = null;\n this.keyPrefix = null;\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler);\n\nfunction mapSingleChildIntoContext(bookKeeping, child, childKey) {\n var result = bookKeeping.result,\n keyPrefix = bookKeeping.keyPrefix,\n func = bookKeeping.func,\n context = bookKeeping.context;\n\n\n var mappedChild = func.call(context, child, bookKeeping.count++);\n if (Array.isArray(mappedChild)) {\n mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument);\n } else if (mappedChild != null) {\n if (ReactElement.isValidElement(mappedChild)) {\n mappedChild = ReactElement.cloneAndReplaceKey(mappedChild,\n // Keep both the (mapped) and old keys if they differ, just as\n // traverseAllChildren used to do for objects as children\n keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);\n }\n result.push(mappedChild);\n }\n}\n\nfunction mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {\n var escapedPrefix = '';\n if (prefix != null) {\n escapedPrefix = escapeUserProvidedKey(prefix) + '/';\n }\n var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context);\n traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n MapBookKeeping.release(traverseContext);\n}\n\n/**\n * Maps children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map\n *\n * The provided mapFunction(child, key, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} func The map function.\n * @param {*} context Context for mapFunction.\n * @return {object} Object containing the ordered map of results.\n */\nfunction mapChildren(children, func, context) {\n if (children == null) {\n return children;\n }\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, func, context);\n return result;\n}\n\nfunction forEachSingleChildDummy(traverseContext, child, name) {\n return null;\n}\n\n/**\n * Count the number of children that are typically specified as\n * `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count\n *\n * @param {?*} children Children tree container.\n * @return {number} The number of children.\n */\nfunction countChildren(children, context) {\n return traverseAllChildren(children, forEachSingleChildDummy, null);\n}\n\n/**\n * Flatten a children object (typically specified as `props.children`) and\n * return an array with appropriately re-keyed children.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray\n */\nfunction toArray(children) {\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);\n return result;\n}\n\nvar ReactChildren = {\n forEach: forEachChildren,\n map: mapChildren,\n mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal,\n count: countChildren,\n toArray: toArray\n};\n\nmodule.exports = ReactChildren;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactChildren.js\n// module id = 5\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function (copyFieldsFrom) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nvar twoArgumentPooler = function (a1, a2) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar threeArgumentPooler = function (a1, a2, a3) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nvar fourArgumentPooler = function (a1, a2, a3, a4) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nvar standardReleaser = function (instance) {\n var Klass = this;\n !(instance instanceof Klass) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0;\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function (CopyConstructor, pooler) {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: oneArgumentPooler,\n twoArgumentPooler: twoArgumentPooler,\n threeArgumentPooler: threeArgumentPooler,\n fourArgumentPooler: fourArgumentPooler\n};\n\nmodule.exports = PooledClass;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/PooledClass.js\n// module id = 6\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n'use strict';\n\n/**\n * WARNING: DO NOT manually require this module.\n * This is a replacement for `invariant(...)` used by the error code system\n * and will _only_ be required by the corresponding babel pass.\n * It always throws.\n */\n\nfunction reactProdInvariant(code) {\n var argCount = arguments.length - 1;\n\n var message = 'Minified React error #' + code + '; visit ' + 'http://facebook.github.io/react/docs/error-decoder.html?invariant=' + code;\n\n for (var argIdx = 0; argIdx < argCount; argIdx++) {\n message += '&args[]=' + encodeURIComponent(arguments[argIdx + 1]);\n }\n\n message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.';\n\n var error = new Error(message);\n error.name = 'Invariant Violation';\n error.framesToPop = 1; // we don't care about reactProdInvariant's own frame\n\n throw error;\n}\n\nmodule.exports = reactProdInvariant;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/reactProdInvariant.js\n// module id = 7\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/invariant.js\n// module id = 8\n// module chunks = 0","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\n\nvar warning = require('fbjs/lib/warning');\nvar canDefineProperty = require('./canDefineProperty');\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar REACT_ELEMENT_TYPE = require('./ReactElementSymbol');\n\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\n\nvar specialPropKeyWarningShown, specialPropRefWarningShown;\n\nfunction hasValidRef(config) {\n if (process.env.NODE_ENV !== 'production') {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n if (process.env.NODE_ENV !== 'production') {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n return config.key !== undefined;\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n }\n };\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n }\n };\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n}\n\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, no instanceof check\n * will work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} key\n * @param {string|object} ref\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @param {*} owner\n * @param {*} props\n * @internal\n */\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allow us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n if (process.env.NODE_ENV !== 'production') {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {};\n\n // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n if (canDefineProperty) {\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n });\n // self and source are DEV only properties.\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n });\n // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n } else {\n element._store.validated = false;\n element._self = self;\n element._source = source;\n }\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n\n/**\n * Create and return a new ReactElement of the given type.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createelement\n */\nReactElement.createElement = function (type, config, children) {\n var propName;\n\n // Reserved names are extracted\n var props = {};\n\n var key = null;\n var ref = null;\n var self = null;\n var source = null;\n\n if (config != null) {\n if (hasValidRef(config)) {\n ref = config.ref;\n }\n if (hasValidKey(config)) {\n key = '' + config.key;\n }\n\n self = config.__self === undefined ? null : config.__self;\n source = config.__source === undefined ? null : config.__source;\n // Remaining properties are added to a new props object\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n if (process.env.NODE_ENV !== 'production') {\n if (Object.freeze) {\n Object.freeze(childArray);\n }\n }\n props.children = childArray;\n }\n\n // Resolve default props\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n if (key || ref) {\n if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n }\n }\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n};\n\n/**\n * Return a function that produces ReactElements of a given type.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createfactory\n */\nReactElement.createFactory = function (type) {\n var factory = ReactElement.createElement.bind(null, type);\n // Expose the type on the factory and the prototype so that it can be\n // easily accessed on elements. E.g. `.type === Foo`.\n // This should not be named `constructor` since this may not be the function\n // that created the element, and it may not even be a constructor.\n // Legacy hook TODO: Warn if this is accessed\n factory.type = type;\n return factory;\n};\n\nReactElement.cloneAndReplaceKey = function (oldElement, newKey) {\n var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n\n return newElement;\n};\n\n/**\n * Clone and return a new ReactElement using element as the starting point.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement\n */\nReactElement.cloneElement = function (element, config, children) {\n var propName;\n\n // Original props are copied\n var props = _assign({}, element.props);\n\n // Reserved names are extracted\n var key = element.key;\n var ref = element.ref;\n // Self is preserved since the owner is preserved.\n var self = element._self;\n // Source is preserved since cloneElement is unlikely to be targeted by a\n // transpiler, and the original source is probably a better indicator of the\n // true owner.\n var source = element._source;\n\n // Owner will be preserved, unless ref is overridden\n var owner = element._owner;\n\n if (config != null) {\n if (hasValidRef(config)) {\n // Silently steal the ref from the parent.\n ref = config.ref;\n owner = ReactCurrentOwner.current;\n }\n if (hasValidKey(config)) {\n key = '' + config.key;\n }\n\n // Remaining properties override existing props\n var defaultProps;\n if (element.type && element.type.defaultProps) {\n defaultProps = element.type.defaultProps;\n }\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n if (config[propName] === undefined && defaultProps !== undefined) {\n // Resolve default props\n props[propName] = defaultProps[propName];\n } else {\n props[propName] = config[propName];\n }\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n props.children = childArray;\n }\n\n return ReactElement(element.type, key, ref, self, source, owner, props);\n};\n\n/**\n * Verifies the object is a ReactElement.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a valid component.\n * @final\n */\nReactElement.isValidElement = function (object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n};\n\nmodule.exports = ReactElement;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactElement.js\n// module id = 9\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * Keeps track of the current owner.\n *\n * The current owner is the component who should own any components that are\n * currently being constructed.\n */\nvar ReactCurrentOwner = {\n\n /**\n * @internal\n * @type {ReactComponent}\n */\n current: null\n\n};\n\nmodule.exports = ReactCurrentOwner;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactCurrentOwner.js\n// module id = 10\n// module chunks = 0","/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n (function () {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n })();\n}\n\nmodule.exports = warning;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/warning.js\n// module id = 11\n// module chunks = 0","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyFunction.js\n// module id = 12\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar canDefineProperty = false;\nif (process.env.NODE_ENV !== 'production') {\n try {\n // $FlowFixMe https://github.com/facebook/flow/issues/285\n Object.defineProperty({}, 'x', { get: function () {} });\n canDefineProperty = true;\n } catch (x) {\n // IE will fail on defineProperty\n }\n}\n\nmodule.exports = canDefineProperty;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/canDefineProperty.js\n// module id = 13\n// module chunks = 0","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n// The Symbol used to tag the ReactElement type. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\n\nvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\n\nmodule.exports = REACT_ELEMENT_TYPE;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactElementSymbol.js\n// module id = 14\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar REACT_ELEMENT_TYPE = require('./ReactElementSymbol');\n\nvar getIteratorFn = require('./getIteratorFn');\nvar invariant = require('fbjs/lib/invariant');\nvar KeyEscapeUtils = require('./KeyEscapeUtils');\nvar warning = require('fbjs/lib/warning');\n\nvar SEPARATOR = '.';\nvar SUBSEPARATOR = ':';\n\n/**\n * This is inlined from ReactElement since this file is shared between\n * isomorphic and renderers. We could extract this to a\n *\n */\n\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\nvar didWarnAboutMaps = false;\n\n/**\n * Generate a key string that identifies a component within a set.\n *\n * @param {*} component A component that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\nfunction getComponentKey(component, index) {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n if (component && typeof component === 'object' && component.key != null) {\n // Explicit key\n return KeyEscapeUtils.escape(component.key);\n }\n // Implicit key determined by the index in the set\n return index.toString(36);\n}\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n if (children === null || type === 'string' || type === 'number' ||\n // The following is inlined from ReactElement. This means we can optimize\n // some checks. React Fiber also inlines this logic for similar purposes.\n type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) {\n callback(traverseContext, children,\n // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows.\n nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getComponentKey(child, i);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n if (iteratorFn) {\n var iterator = iteratorFn.call(children);\n var step;\n if (iteratorFn !== children.entries) {\n var ii = 0;\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getComponentKey(child, ii++);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n var mapsAsChildrenAddendum = '';\n if (ReactCurrentOwner.current) {\n var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n if (mapsAsChildrenOwnerName) {\n mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n }\n }\n process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n didWarnAboutMaps = true;\n }\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n child = entry[1];\n nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n }\n }\n } else if (type === 'object') {\n var addendum = '';\n if (process.env.NODE_ENV !== 'production') {\n addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n if (children._isReactElement) {\n addendum = ' It looks like you\\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';\n }\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n addendum += ' Check the render method of `' + name + '`.';\n }\n }\n }\n var childrenString = String(children);\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n if (children == null) {\n return 0;\n }\n\n return traverseAllChildrenImpl(children, '', callback, traverseContext);\n}\n\nmodule.exports = traverseAllChildren;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/traverseAllChildren.js\n// module id = 15\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/* global Symbol */\n\nvar ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n/**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\nfunction getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n}\n\nmodule.exports = getIteratorFn;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/getIteratorFn.js\n// module id = 16\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n\nfunction escape(key) {\n var escapeRegex = /[=:]/g;\n var escaperLookup = {\n '=': '=0',\n ':': '=2'\n };\n var escapedString = ('' + key).replace(escapeRegex, function (match) {\n return escaperLookup[match];\n });\n\n return '$' + escapedString;\n}\n\n/**\n * Unescape and unwrap key for human-readable display\n *\n * @param {string} key to unescape.\n * @return {string} the unescaped key.\n */\nfunction unescape(key) {\n var unescapeRegex = /(=0|=2)/g;\n var unescaperLookup = {\n '=0': '=',\n '=2': ':'\n };\n var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1);\n\n return ('' + keySubstring).replace(unescapeRegex, function (match) {\n return unescaperLookup[match];\n });\n}\n\nvar KeyEscapeUtils = {\n escape: escape,\n unescape: unescape\n};\n\nmodule.exports = KeyEscapeUtils;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/KeyEscapeUtils.js\n// module id = 17\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar canDefineProperty = require('./canDefineProperty');\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nReactComponent.prototype.isReactComponent = {};\n\n/**\n * Sets a subset of the state. Always use this to mutate\n * state. You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * There is no guarantee that calls to `setState` will run synchronously,\n * as they may eventually be batched together. You can provide an optional\n * callback that will be executed when the call to setState is actually\n * completed.\n *\n * When a function is provided to setState, it will be called at some point in\n * the future (not synchronously). It will be called with the up to date\n * component arguments (state, props, context). These values can be different\n * from this.* because your function may be called after receiveProps but before\n * shouldComponentUpdate, and this new state, props, and context will not yet be\n * assigned to this.\n *\n * @param {object|function} partialState Next partial state or function to\n * produce next partial state to be merged with current state.\n * @param {?function} callback Called after state is updated.\n * @final\n * @protected\n */\nReactComponent.prototype.setState = function (partialState, callback) {\n !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0;\n this.updater.enqueueSetState(this, partialState);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'setState');\n }\n};\n\n/**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {?function} callback Called after update is complete.\n * @final\n * @protected\n */\nReactComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'forceUpdate');\n }\n};\n\n/**\n * Deprecated APIs. These APIs used to exist on classic React classes but since\n * we would like to deprecate them, we're not going to move them over to this\n * modern base class. Instead, we define a getter that warns if it's accessed.\n */\nif (process.env.NODE_ENV !== 'production') {\n var deprecatedAPIs = {\n isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']\n };\n var defineDeprecationWarning = function (methodName, info) {\n if (canDefineProperty) {\n Object.defineProperty(ReactComponent.prototype, methodName, {\n get: function () {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : void 0;\n return undefined;\n }\n });\n }\n };\n for (var fnName in deprecatedAPIs) {\n if (deprecatedAPIs.hasOwnProperty(fnName)) {\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n }\n }\n}\n\nmodule.exports = ReactComponent;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactComponent.js\n// module id = 18\n// module chunks = 0","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar warning = require('fbjs/lib/warning');\n\nfunction warnNoop(publicInstance, callerName) {\n if (process.env.NODE_ENV !== 'production') {\n var constructor = publicInstance.constructor;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n }\n}\n\n/**\n * This is the abstract API for an update queue.\n */\nvar ReactNoopUpdateQueue = {\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n return false;\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback) {},\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, 'forceUpdate');\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n warnNoop(publicInstance, 'replaceState');\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n warnNoop(publicInstance, 'setState');\n }\n};\n\nmodule.exports = ReactNoopUpdateQueue;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactNoopUpdateQueue.js\n// module id = 19\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyObject.js\n// module id = 20\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactComponent = require('./ReactComponent');\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactPureComponent(props, context, updater) {\n // Duplicated from ReactComponent.\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nfunction ComponentDummy() {}\nComponentDummy.prototype = ReactComponent.prototype;\nReactPureComponent.prototype = new ComponentDummy();\nReactPureComponent.prototype.constructor = ReactPureComponent;\n// Avoid an extra prototype jump for these methods.\n_assign(ReactPureComponent.prototype, ReactComponent.prototype);\nReactPureComponent.prototype.isPureReactComponent = true;\n\nmodule.exports = ReactPureComponent;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactPureComponent.js\n// module id = 21\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar ReactComponent = require('./ReactComponent');\nvar ReactElement = require('./ReactElement');\nvar ReactPropTypeLocationNames = require('./ReactPropTypeLocationNames');\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\n/**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n\nvar injectedMixins = [];\n\n/**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return
Hello World
;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\nvar ReactClassInterface = {\n\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return
Hello, {name}!
;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n\n};\n\n/**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\nvar RESERVED_SPEC_KEYS = {\n displayName: function (Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function (Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function (Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, childContextTypes);\n },\n contextTypes: function (Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign({}, Constructor.contextTypes, contextTypes);\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function (Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, getDefaultProps);\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function (Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function (Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function () {} };\n\nfunction validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an invariant so components\n // don't show up in prod but only in __DEV__\n process.env.NODE_ENV !== 'production' ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : void 0;\n }\n }\n}\n\nfunction validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n !(specPolicy === 'OVERRIDE_BASE') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.', name) : _prodInvariant('73', name) : void 0;\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n !(specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('74', name) : void 0;\n }\n}\n\n/**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\nfunction mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n process.env.NODE_ENV !== 'production' ? warning(isMixinValid, '%s: You\\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0;\n }\n\n return;\n }\n\n !(typeof spec !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\\'re attempting to use a component class or function as a mixin. Instead, just use a regular object.') : _prodInvariant('75') : void 0;\n !!ReactElement.isValidElement(spec) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\\'re attempting to use a component as a mixin. Instead, just use a regular object.') : _prodInvariant('76') : void 0;\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n !(isReactClassMethod && (specPolicy === 'DEFINE_MANY_MERGED' || specPolicy === 'DEFINE_MANY')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.', specPolicy, name) : _prodInvariant('77', specPolicy, name) : void 0;\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n}\n\nfunction mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n !!isReserved ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it as an instance property instead; it will still be accessible on the constructor.', name) : _prodInvariant('78', name) : void 0;\n\n var isInherited = name in Constructor;\n !!isInherited ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('79', name) : void 0;\n Constructor[name] = property;\n }\n}\n\n/**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\nfunction mergeIntoWithNoDuplicateKeys(one, two) {\n !(one && two && typeof one === 'object' && typeof two === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : _prodInvariant('80') : void 0;\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n !(one[key] === undefined) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.', key) : _prodInvariant('81', key) : void 0;\n one[key] = two[key];\n }\n }\n return one;\n}\n\n/**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n}\n\n/**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n}\n\n/**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\nfunction bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function (newThis) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0;\n } else if (!args.length) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : void 0;\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n}\n\n/**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\nfunction bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n}\n\n/**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\nvar ReactClassMixin = {\n\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function (newState, callback) {\n this.updater.enqueueReplaceState(this, newState);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'replaceState');\n }\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function () {\n return this.updater.isMounted(this);\n }\n};\n\nvar ReactClassComponent = function () {};\n_assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);\n\nvar didWarnDeprecated = false;\n\n/**\n * Module for creating composite components.\n *\n * @class ReactClass\n */\nvar ReactClass = {\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n createClass: function (spec) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(didWarnDeprecated, '%s: React.createClass is deprecated and will be removed in version 16. ' + 'Use plain JavaScript classes instead. If you\\'re not yet ready to ' + 'migrate, create-react-class is available on npm as a ' + 'drop-in replacement.', spec && spec.displayName || 'A Component') : void 0;\n didWarnDeprecated = true;\n }\n\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function (props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : void 0;\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (initialState === undefined && this.getInitialState._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n !(typeof initialState === 'object' && !Array.isArray(initialState)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : _prodInvariant('82', Constructor.displayName || 'ReactCompositeComponent') : void 0;\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, spec);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n !Constructor.prototype.render ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : _prodInvariant('83') : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0;\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n },\n\n injection: {\n injectMixin: function (mixin) {\n injectedMixins.push(mixin);\n }\n }\n\n};\n\nmodule.exports = ReactClass;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactClass.js\n// module id = 22\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar ReactPropTypeLocationNames = {};\n\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n}\n\nmodule.exports = ReactPropTypeLocationNames;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactPropTypeLocationNames.js\n// module id = 23\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactElement = require('./ReactElement');\n\n/**\n * Create a factory that creates HTML tag elements.\n *\n * @private\n */\nvar createDOMFactory = ReactElement.createFactory;\nif (process.env.NODE_ENV !== 'production') {\n var ReactElementValidator = require('./ReactElementValidator');\n createDOMFactory = ReactElementValidator.createFactory;\n}\n\n/**\n * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.\n * This is also accessible via `React.DOM`.\n *\n * @public\n */\nvar ReactDOMFactories = {\n a: createDOMFactory('a'),\n abbr: createDOMFactory('abbr'),\n address: createDOMFactory('address'),\n area: createDOMFactory('area'),\n article: createDOMFactory('article'),\n aside: createDOMFactory('aside'),\n audio: createDOMFactory('audio'),\n b: createDOMFactory('b'),\n base: createDOMFactory('base'),\n bdi: createDOMFactory('bdi'),\n bdo: createDOMFactory('bdo'),\n big: createDOMFactory('big'),\n blockquote: createDOMFactory('blockquote'),\n body: createDOMFactory('body'),\n br: createDOMFactory('br'),\n button: createDOMFactory('button'),\n canvas: createDOMFactory('canvas'),\n caption: createDOMFactory('caption'),\n cite: createDOMFactory('cite'),\n code: createDOMFactory('code'),\n col: createDOMFactory('col'),\n colgroup: createDOMFactory('colgroup'),\n data: createDOMFactory('data'),\n datalist: createDOMFactory('datalist'),\n dd: createDOMFactory('dd'),\n del: createDOMFactory('del'),\n details: createDOMFactory('details'),\n dfn: createDOMFactory('dfn'),\n dialog: createDOMFactory('dialog'),\n div: createDOMFactory('div'),\n dl: createDOMFactory('dl'),\n dt: createDOMFactory('dt'),\n em: createDOMFactory('em'),\n embed: createDOMFactory('embed'),\n fieldset: createDOMFactory('fieldset'),\n figcaption: createDOMFactory('figcaption'),\n figure: createDOMFactory('figure'),\n footer: createDOMFactory('footer'),\n form: createDOMFactory('form'),\n h1: createDOMFactory('h1'),\n h2: createDOMFactory('h2'),\n h3: createDOMFactory('h3'),\n h4: createDOMFactory('h4'),\n h5: createDOMFactory('h5'),\n h6: createDOMFactory('h6'),\n head: createDOMFactory('head'),\n header: createDOMFactory('header'),\n hgroup: createDOMFactory('hgroup'),\n hr: createDOMFactory('hr'),\n html: createDOMFactory('html'),\n i: createDOMFactory('i'),\n iframe: createDOMFactory('iframe'),\n img: createDOMFactory('img'),\n input: createDOMFactory('input'),\n ins: createDOMFactory('ins'),\n kbd: createDOMFactory('kbd'),\n keygen: createDOMFactory('keygen'),\n label: createDOMFactory('label'),\n legend: createDOMFactory('legend'),\n li: createDOMFactory('li'),\n link: createDOMFactory('link'),\n main: createDOMFactory('main'),\n map: createDOMFactory('map'),\n mark: createDOMFactory('mark'),\n menu: createDOMFactory('menu'),\n menuitem: createDOMFactory('menuitem'),\n meta: createDOMFactory('meta'),\n meter: createDOMFactory('meter'),\n nav: createDOMFactory('nav'),\n noscript: createDOMFactory('noscript'),\n object: createDOMFactory('object'),\n ol: createDOMFactory('ol'),\n optgroup: createDOMFactory('optgroup'),\n option: createDOMFactory('option'),\n output: createDOMFactory('output'),\n p: createDOMFactory('p'),\n param: createDOMFactory('param'),\n picture: createDOMFactory('picture'),\n pre: createDOMFactory('pre'),\n progress: createDOMFactory('progress'),\n q: createDOMFactory('q'),\n rp: createDOMFactory('rp'),\n rt: createDOMFactory('rt'),\n ruby: createDOMFactory('ruby'),\n s: createDOMFactory('s'),\n samp: createDOMFactory('samp'),\n script: createDOMFactory('script'),\n section: createDOMFactory('section'),\n select: createDOMFactory('select'),\n small: createDOMFactory('small'),\n source: createDOMFactory('source'),\n span: createDOMFactory('span'),\n strong: createDOMFactory('strong'),\n style: createDOMFactory('style'),\n sub: createDOMFactory('sub'),\n summary: createDOMFactory('summary'),\n sup: createDOMFactory('sup'),\n table: createDOMFactory('table'),\n tbody: createDOMFactory('tbody'),\n td: createDOMFactory('td'),\n textarea: createDOMFactory('textarea'),\n tfoot: createDOMFactory('tfoot'),\n th: createDOMFactory('th'),\n thead: createDOMFactory('thead'),\n time: createDOMFactory('time'),\n title: createDOMFactory('title'),\n tr: createDOMFactory('tr'),\n track: createDOMFactory('track'),\n u: createDOMFactory('u'),\n ul: createDOMFactory('ul'),\n 'var': createDOMFactory('var'),\n video: createDOMFactory('video'),\n wbr: createDOMFactory('wbr'),\n\n // SVG\n circle: createDOMFactory('circle'),\n clipPath: createDOMFactory('clipPath'),\n defs: createDOMFactory('defs'),\n ellipse: createDOMFactory('ellipse'),\n g: createDOMFactory('g'),\n image: createDOMFactory('image'),\n line: createDOMFactory('line'),\n linearGradient: createDOMFactory('linearGradient'),\n mask: createDOMFactory('mask'),\n path: createDOMFactory('path'),\n pattern: createDOMFactory('pattern'),\n polygon: createDOMFactory('polygon'),\n polyline: createDOMFactory('polyline'),\n radialGradient: createDOMFactory('radialGradient'),\n rect: createDOMFactory('rect'),\n stop: createDOMFactory('stop'),\n svg: createDOMFactory('svg'),\n text: createDOMFactory('text'),\n tspan: createDOMFactory('tspan')\n};\n\nmodule.exports = ReactDOMFactories;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactDOMFactories.js\n// module id = 24\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _require = require('./ReactElement'),\n isValidElement = _require.isValidElement;\n\nvar factory = require('prop-types/factory');\n\nmodule.exports = factory(isValidElement);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactPropTypes.js\n// module id = 25\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\n// React 15.5 references this module, and assumes PropTypes are still callable in production.\n// Therefore we re-export development-only version with all the PropTypes checks here.\n// However if one is migrating to the `prop-types` npm library, they will go through the\n// `index.js` entry point, and it will branch depending on the environment.\nvar factory = require('./factoryWithTypeCheckers');\nmodule.exports = function(isValidElement) {\n // It is still allowed in 15.5.\n var throwOnDirectAccess = false;\n return factory(isValidElement, throwOnDirectAccess);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factory.js\n// module id = 26\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n invariant(\n false,\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n warning(\n false,\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `%s` prop on `%s`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n propFullName,\n componentName\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n warning(\n false,\n 'Invalid argument supplid to oneOfType. Expected an array of check functions, but ' +\n 'received %s at index %s.',\n getPostfixForTypeWarning(checker),\n i\n );\n return emptyFunction.thatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factoryWithTypeCheckers.js\n// module id = 27\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/lib/ReactPropTypesSecret.js\n// module id = 28\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== 'production') {\n var invariant = require('fbjs/lib/invariant');\n var warning = require('fbjs/lib/warning');\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', location, typeSpecName);\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n }\n }\n }\n }\n}\n\nmodule.exports = checkPropTypes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/checkPropTypes.js\n// module id = 29\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nmodule.exports = '15.5.4';\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactVersion.js\n// module id = 30\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactElement = require('./ReactElement');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Returns the first child in a collection of children and verifies that there\n * is only one child in the collection.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.only\n *\n * The current implementation of this function assumes that a single child gets\n * passed without a wrapper, but the purpose of this helper function is to\n * abstract away the particular structure of children.\n *\n * @param {?object} children Child collection structure.\n * @return {ReactElement} The first and only `ReactElement` contained in the\n * structure.\n */\nfunction onlyChild(children) {\n !ReactElement.isValidElement(children) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'React.Children.only expected to receive a single React element child.') : _prodInvariant('143') : void 0;\n return children;\n}\n\nmodule.exports = onlyChild;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/onlyChild.js\n// module id = 31\n// module chunks = 0","'use strict';\n\nmodule.exports = require('./lib/ReactDOM');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/index.js\n// module id = 32\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/\n\n'use strict';\n\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDefaultInjection = require('./ReactDefaultInjection');\nvar ReactMount = require('./ReactMount');\nvar ReactReconciler = require('./ReactReconciler');\nvar ReactUpdates = require('./ReactUpdates');\nvar ReactVersion = require('./ReactVersion');\n\nvar findDOMNode = require('./findDOMNode');\nvar getHostComponentFromComposite = require('./getHostComponentFromComposite');\nvar renderSubtreeIntoContainer = require('./renderSubtreeIntoContainer');\nvar warning = require('fbjs/lib/warning');\n\nReactDefaultInjection.inject();\n\nvar ReactDOM = {\n findDOMNode: findDOMNode,\n render: ReactMount.render,\n unmountComponentAtNode: ReactMount.unmountComponentAtNode,\n version: ReactVersion,\n\n /* eslint-disable camelcase */\n unstable_batchedUpdates: ReactUpdates.batchedUpdates,\n unstable_renderSubtreeIntoContainer: renderSubtreeIntoContainer\n};\n\n// Inject the runtime into a devtools global hook regardless of browser.\n// Allows for debugging when the hook is injected on the page.\nif (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject === 'function') {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.inject({\n ComponentTree: {\n getClosestInstanceFromNode: ReactDOMComponentTree.getClosestInstanceFromNode,\n getNodeFromInstance: function (inst) {\n // inst is an internal instance (but could be a composite)\n if (inst._renderedComponent) {\n inst = getHostComponentFromComposite(inst);\n }\n if (inst) {\n return ReactDOMComponentTree.getNodeFromInstance(inst);\n } else {\n return null;\n }\n }\n },\n Mount: ReactMount,\n Reconciler: ReactReconciler\n });\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n if (ExecutionEnvironment.canUseDOM && window.top === window.self) {\n\n // First check if devtools is not installed\n if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {\n // If we're in Chrome or Firefox, provide a download link if not installed.\n if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) {\n // Firefox does not have the issue with devtools loaded over file://\n var showFileUrlMessage = window.location.protocol.indexOf('http') === -1 && navigator.userAgent.indexOf('Firefox') === -1;\n console.debug('Download the React DevTools ' + (showFileUrlMessage ? 'and use an HTTP server (instead of a file: URL) ' : '') + 'for a better development experience: ' + 'https://fb.me/react-devtools');\n }\n }\n\n var testFunc = function testFn() {};\n process.env.NODE_ENV !== 'production' ? warning((testFunc.name || testFunc.toString()).indexOf('testFn') !== -1, 'It looks like you\\'re using a minified copy of the development build ' + 'of React. When deploying React apps to production, make sure to use ' + 'the production build which skips development warnings and is faster. ' + 'See https://fb.me/react-minification for more details.') : void 0;\n\n // If we're in IE8, check to see if we are in compatibility mode and provide\n // information on preventing compatibility mode\n var ieCompatibilityMode = document.documentMode && document.documentMode < 8;\n\n process.env.NODE_ENV !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '') : void 0;\n\n var expectedFeatures = [\n // shims\n Array.isArray, Array.prototype.every, Array.prototype.forEach, Array.prototype.indexOf, Array.prototype.map, Date.now, Function.prototype.bind, Object.keys, String.prototype.trim];\n\n for (var i = 0; i < expectedFeatures.length; i++) {\n if (!expectedFeatures[i]) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'One or more ES5 shims expected by React are not available: ' + 'https://fb.me/react-warning-polyfills') : void 0;\n break;\n }\n }\n }\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactInstrumentation = require('./ReactInstrumentation');\n var ReactDOMUnknownPropertyHook = require('./ReactDOMUnknownPropertyHook');\n var ReactDOMNullInputValuePropHook = require('./ReactDOMNullInputValuePropHook');\n var ReactDOMInvalidARIAHook = require('./ReactDOMInvalidARIAHook');\n\n ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook);\n ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook);\n ReactInstrumentation.debugTool.addHook(ReactDOMInvalidARIAHook);\n}\n\nmodule.exports = ReactDOM;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOM.js\n// module id = 33\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar DOMProperty = require('./DOMProperty');\nvar ReactDOMComponentFlags = require('./ReactDOMComponentFlags');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\nvar Flags = ReactDOMComponentFlags;\n\nvar internalInstanceKey = '__reactInternalInstance$' + Math.random().toString(36).slice(2);\n\n/**\n * Check if a given node should be cached.\n */\nfunction shouldPrecacheNode(node, nodeID) {\n return node.nodeType === 1 && node.getAttribute(ATTR_NAME) === String(nodeID) || node.nodeType === 8 && node.nodeValue === ' react-text: ' + nodeID + ' ' || node.nodeType === 8 && node.nodeValue === ' react-empty: ' + nodeID + ' ';\n}\n\n/**\n * Drill down (through composites and empty components) until we get a host or\n * host text component.\n *\n * This is pretty polymorphic but unavoidable with the current structure we have\n * for `_renderedChildren`.\n */\nfunction getRenderedHostOrTextFromComponent(component) {\n var rendered;\n while (rendered = component._renderedComponent) {\n component = rendered;\n }\n return component;\n}\n\n/**\n * Populate `_hostNode` on the rendered host/text component with the given\n * DOM node. The passed `inst` can be a composite.\n */\nfunction precacheNode(inst, node) {\n var hostInst = getRenderedHostOrTextFromComponent(inst);\n hostInst._hostNode = node;\n node[internalInstanceKey] = hostInst;\n}\n\nfunction uncacheNode(inst) {\n var node = inst._hostNode;\n if (node) {\n delete node[internalInstanceKey];\n inst._hostNode = null;\n }\n}\n\n/**\n * Populate `_hostNode` on each child of `inst`, assuming that the children\n * match up with the DOM (element) children of `node`.\n *\n * We cache entire levels at once to avoid an n^2 problem where we access the\n * children of a node sequentially and have to walk from the start to our target\n * node every time.\n *\n * Since we update `_renderedChildren` and the actual DOM at (slightly)\n * different times, we could race here and see a newer `_renderedChildren` than\n * the DOM nodes we see. To avoid this, ReactMultiChild calls\n * `prepareToManageChildren` before we change `_renderedChildren`, at which\n * time the container's child nodes are always cached (until it unmounts).\n */\nfunction precacheChildNodes(inst, node) {\n if (inst._flags & Flags.hasCachedChildNodes) {\n return;\n }\n var children = inst._renderedChildren;\n var childNode = node.firstChild;\n outer: for (var name in children) {\n if (!children.hasOwnProperty(name)) {\n continue;\n }\n var childInst = children[name];\n var childID = getRenderedHostOrTextFromComponent(childInst)._domID;\n if (childID === 0) {\n // We're currently unmounting this child in ReactMultiChild; skip it.\n continue;\n }\n // We assume the child nodes are in the same order as the child instances.\n for (; childNode !== null; childNode = childNode.nextSibling) {\n if (shouldPrecacheNode(childNode, childID)) {\n precacheNode(childInst, childNode);\n continue outer;\n }\n }\n // We reached the end of the DOM children without finding an ID match.\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Unable to find element with ID %s.', childID) : _prodInvariant('32', childID) : void 0;\n }\n inst._flags |= Flags.hasCachedChildNodes;\n}\n\n/**\n * Given a DOM node, return the closest ReactDOMComponent or\n * ReactDOMTextComponent instance ancestor.\n */\nfunction getClosestInstanceFromNode(node) {\n if (node[internalInstanceKey]) {\n return node[internalInstanceKey];\n }\n\n // Walk up the tree until we find an ancestor whose instance we have cached.\n var parents = [];\n while (!node[internalInstanceKey]) {\n parents.push(node);\n if (node.parentNode) {\n node = node.parentNode;\n } else {\n // Top of the tree. This node must not be part of a React tree (or is\n // unmounted, potentially).\n return null;\n }\n }\n\n var closest;\n var inst;\n for (; node && (inst = node[internalInstanceKey]); node = parents.pop()) {\n closest = inst;\n if (parents.length) {\n precacheChildNodes(inst, node);\n }\n }\n\n return closest;\n}\n\n/**\n * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent\n * instance, or null if the node was not rendered by this React.\n */\nfunction getInstanceFromNode(node) {\n var inst = getClosestInstanceFromNode(node);\n if (inst != null && inst._hostNode === node) {\n return inst;\n } else {\n return null;\n }\n}\n\n/**\n * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding\n * DOM node.\n */\nfunction getNodeFromInstance(inst) {\n // Without this first invariant, passing a non-DOM-component triggers the next\n // invariant for a missing parent, which is super confusing.\n !(inst._hostNode !== undefined) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\n if (inst._hostNode) {\n return inst._hostNode;\n }\n\n // Walk up the tree until we find an ancestor whose DOM node we have cached.\n var parents = [];\n while (!inst._hostNode) {\n parents.push(inst);\n !inst._hostParent ? process.env.NODE_ENV !== 'production' ? invariant(false, 'React DOM tree root should always have a node reference.') : _prodInvariant('34') : void 0;\n inst = inst._hostParent;\n }\n\n // Now parents contains each ancestor that does *not* have a cached native\n // node, and `inst` is the deepest ancestor that does.\n for (; parents.length; inst = parents.pop()) {\n precacheChildNodes(inst, inst._hostNode);\n }\n\n return inst._hostNode;\n}\n\nvar ReactDOMComponentTree = {\n getClosestInstanceFromNode: getClosestInstanceFromNode,\n getInstanceFromNode: getInstanceFromNode,\n getNodeFromInstance: getNodeFromInstance,\n precacheChildNodes: precacheChildNodes,\n precacheNode: precacheNode,\n uncacheNode: uncacheNode\n};\n\nmodule.exports = ReactDOMComponentTree;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMComponentTree.js\n// module id = 34\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n'use strict';\n\n/**\n * WARNING: DO NOT manually require this module.\n * This is a replacement for `invariant(...)` used by the error code system\n * and will _only_ be required by the corresponding babel pass.\n * It always throws.\n */\n\nfunction reactProdInvariant(code) {\n var argCount = arguments.length - 1;\n\n var message = 'Minified React error #' + code + '; visit ' + 'http://facebook.github.io/react/docs/error-decoder.html?invariant=' + code;\n\n for (var argIdx = 0; argIdx < argCount; argIdx++) {\n message += '&args[]=' + encodeURIComponent(arguments[argIdx + 1]);\n }\n\n message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.';\n\n var error = new Error(message);\n error.name = 'Invariant Violation';\n error.framesToPop = 1; // we don't care about reactProdInvariant's own frame\n\n throw error;\n}\n\nmodule.exports = reactProdInvariant;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/reactProdInvariant.js\n// module id = 35\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\nfunction checkMask(value, bitmask) {\n return (value & bitmask) === bitmask;\n}\n\nvar DOMPropertyInjection = {\n /**\n * Mapping from normalized, camelcased property names to a configuration that\n * specifies how the associated DOM property should be accessed or rendered.\n */\n MUST_USE_PROPERTY: 0x1,\n HAS_BOOLEAN_VALUE: 0x4,\n HAS_NUMERIC_VALUE: 0x8,\n HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,\n HAS_OVERLOADED_BOOLEAN_VALUE: 0x20,\n\n /**\n * Inject some specialized knowledge about the DOM. This takes a config object\n * with the following properties:\n *\n * isCustomAttribute: function that given an attribute name will return true\n * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n * attributes where it's impossible to enumerate all of the possible\n * attribute names,\n *\n * Properties: object mapping DOM property name to one of the\n * DOMPropertyInjection constants or null. If your attribute isn't in here,\n * it won't get written to the DOM.\n *\n * DOMAttributeNames: object mapping React attribute name to the DOM\n * attribute name. Attribute names not specified use the **lowercase**\n * normalized name.\n *\n * DOMAttributeNamespaces: object mapping React attribute name to the DOM\n * attribute namespace URL. (Attribute names not specified use no namespace.)\n *\n * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n * Property names not specified use the normalized name.\n *\n * DOMMutationMethods: Properties that require special mutation methods. If\n * `value` is undefined, the mutation method should unset the property.\n *\n * @param {object} domPropertyConfig the config as described above.\n */\n injectDOMPropertyConfig: function (domPropertyConfig) {\n var Injection = DOMPropertyInjection;\n var Properties = domPropertyConfig.Properties || {};\n var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {};\n var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\n if (domPropertyConfig.isCustomAttribute) {\n DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);\n }\n\n for (var propName in Properties) {\n !!DOMProperty.properties.hasOwnProperty(propName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property \\'%s\\' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.', propName) : _prodInvariant('48', propName) : void 0;\n\n var lowerCased = propName.toLowerCase();\n var propConfig = Properties[propName];\n\n var propertyInfo = {\n attributeName: lowerCased,\n attributeNamespace: null,\n propertyName: propName,\n mutationMethod: null,\n\n mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),\n hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),\n hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),\n hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),\n hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)\n };\n !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s', propName) : _prodInvariant('50', propName) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[lowerCased] = propName;\n }\n\n if (DOMAttributeNames.hasOwnProperty(propName)) {\n var attributeName = DOMAttributeNames[propName];\n propertyInfo.attributeName = attributeName;\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[attributeName] = propName;\n }\n }\n\n if (DOMAttributeNamespaces.hasOwnProperty(propName)) {\n propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];\n }\n\n if (DOMPropertyNames.hasOwnProperty(propName)) {\n propertyInfo.propertyName = DOMPropertyNames[propName];\n }\n\n if (DOMMutationMethods.hasOwnProperty(propName)) {\n propertyInfo.mutationMethod = DOMMutationMethods[propName];\n }\n\n DOMProperty.properties[propName] = propertyInfo;\n }\n }\n};\n\n/* eslint-disable max-len */\nvar ATTRIBUTE_NAME_START_CHAR = ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n/* eslint-enable max-len */\n\n/**\n * DOMProperty exports lookup objects that can be used like functions:\n *\n * > DOMProperty.isValid['id']\n * true\n * > DOMProperty.isValid['foobar']\n * undefined\n *\n * Although this may be confusing, it performs better in general.\n *\n * @see http://jsperf.com/key-exists\n * @see http://jsperf.com/key-missing\n */\nvar DOMProperty = {\n\n ID_ATTRIBUTE_NAME: 'data-reactid',\n ROOT_ATTRIBUTE_NAME: 'data-reactroot',\n\n ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR,\n ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040',\n\n /**\n * Map from property \"standard name\" to an object with info about how to set\n * the property in the DOM. Each object contains:\n *\n * attributeName:\n * Used when rendering markup or with `*Attribute()`.\n * attributeNamespace\n * propertyName:\n * Used on DOM node instances. (This includes properties that mutate due to\n * external factors.)\n * mutationMethod:\n * If non-null, used instead of the property or `setAttribute()` after\n * initial render.\n * mustUseProperty:\n * Whether the property must be accessed and mutated as an object property.\n * hasBooleanValue:\n * Whether the property should be removed when set to a falsey value.\n * hasNumericValue:\n * Whether the property must be numeric or parse as a numeric and should be\n * removed when set to a falsey value.\n * hasPositiveNumericValue:\n * Whether the property must be positive numeric or parse as a positive\n * numeric and should be removed when set to a falsey value.\n * hasOverloadedBooleanValue:\n * Whether the property can be used as a flag as well as with a value.\n * Removed when strictly equal to false; present without a value when\n * strictly equal to true; present with a value otherwise.\n */\n properties: {},\n\n /**\n * Mapping from lowercase property names to the properly cased version, used\n * to warn in the case of missing properties. Available only in __DEV__.\n *\n * autofocus is predefined, because adding it to the property whitelist\n * causes unintended side effects.\n *\n * @type {Object}\n */\n getPossibleStandardName: process.env.NODE_ENV !== 'production' ? { autofocus: 'autoFocus' } : null,\n\n /**\n * All of the isCustomAttribute() functions that have been injected.\n */\n _isCustomAttributeFunctions: [],\n\n /**\n * Checks whether a property name is a custom attribute.\n * @method\n */\n isCustomAttribute: function (attributeName) {\n for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) {\n var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i];\n if (isCustomAttributeFn(attributeName)) {\n return true;\n }\n }\n return false;\n },\n\n injection: DOMPropertyInjection\n};\n\nmodule.exports = DOMProperty;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMProperty.js\n// module id = 36\n// module chunks = 0","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactDOMComponentFlags = {\n hasCachedChildNodes: 1 << 0\n};\n\nmodule.exports = ReactDOMComponentFlags;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMComponentFlags.js\n// module id = 37\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ARIADOMPropertyConfig = require('./ARIADOMPropertyConfig');\nvar BeforeInputEventPlugin = require('./BeforeInputEventPlugin');\nvar ChangeEventPlugin = require('./ChangeEventPlugin');\nvar DefaultEventPluginOrder = require('./DefaultEventPluginOrder');\nvar EnterLeaveEventPlugin = require('./EnterLeaveEventPlugin');\nvar HTMLDOMPropertyConfig = require('./HTMLDOMPropertyConfig');\nvar ReactComponentBrowserEnvironment = require('./ReactComponentBrowserEnvironment');\nvar ReactDOMComponent = require('./ReactDOMComponent');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMEmptyComponent = require('./ReactDOMEmptyComponent');\nvar ReactDOMTreeTraversal = require('./ReactDOMTreeTraversal');\nvar ReactDOMTextComponent = require('./ReactDOMTextComponent');\nvar ReactDefaultBatchingStrategy = require('./ReactDefaultBatchingStrategy');\nvar ReactEventListener = require('./ReactEventListener');\nvar ReactInjection = require('./ReactInjection');\nvar ReactReconcileTransaction = require('./ReactReconcileTransaction');\nvar SVGDOMPropertyConfig = require('./SVGDOMPropertyConfig');\nvar SelectEventPlugin = require('./SelectEventPlugin');\nvar SimpleEventPlugin = require('./SimpleEventPlugin');\n\nvar alreadyInjected = false;\n\nfunction inject() {\n if (alreadyInjected) {\n // TODO: This is currently true because these injections are shared between\n // the client and the server package. They should be built independently\n // and not share any injection state. Then this problem will be solved.\n return;\n }\n alreadyInjected = true;\n\n ReactInjection.EventEmitter.injectReactEventListener(ReactEventListener);\n\n /**\n * Inject modules for resolving DOM hierarchy and plugin ordering.\n */\n ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder);\n ReactInjection.EventPluginUtils.injectComponentTree(ReactDOMComponentTree);\n ReactInjection.EventPluginUtils.injectTreeTraversal(ReactDOMTreeTraversal);\n\n /**\n * Some important event plugins included by default (without having to require\n * them).\n */\n ReactInjection.EventPluginHub.injectEventPluginsByName({\n SimpleEventPlugin: SimpleEventPlugin,\n EnterLeaveEventPlugin: EnterLeaveEventPlugin,\n ChangeEventPlugin: ChangeEventPlugin,\n SelectEventPlugin: SelectEventPlugin,\n BeforeInputEventPlugin: BeforeInputEventPlugin\n });\n\n ReactInjection.HostComponent.injectGenericComponentClass(ReactDOMComponent);\n\n ReactInjection.HostComponent.injectTextComponentClass(ReactDOMTextComponent);\n\n ReactInjection.DOMProperty.injectDOMPropertyConfig(ARIADOMPropertyConfig);\n ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig);\n ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig);\n\n ReactInjection.EmptyComponent.injectEmptyComponentFactory(function (instantiate) {\n return new ReactDOMEmptyComponent(instantiate);\n });\n\n ReactInjection.Updates.injectReconcileTransaction(ReactReconcileTransaction);\n ReactInjection.Updates.injectBatchingStrategy(ReactDefaultBatchingStrategy);\n\n ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment);\n}\n\nmodule.exports = {\n inject: inject\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDefaultInjection.js\n// module id = 38\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ARIADOMPropertyConfig = {\n Properties: {\n // Global States and Properties\n 'aria-current': 0, // state\n 'aria-details': 0,\n 'aria-disabled': 0, // state\n 'aria-hidden': 0, // state\n 'aria-invalid': 0, // state\n 'aria-keyshortcuts': 0,\n 'aria-label': 0,\n 'aria-roledescription': 0,\n // Widget Attributes\n 'aria-autocomplete': 0,\n 'aria-checked': 0,\n 'aria-expanded': 0,\n 'aria-haspopup': 0,\n 'aria-level': 0,\n 'aria-modal': 0,\n 'aria-multiline': 0,\n 'aria-multiselectable': 0,\n 'aria-orientation': 0,\n 'aria-placeholder': 0,\n 'aria-pressed': 0,\n 'aria-readonly': 0,\n 'aria-required': 0,\n 'aria-selected': 0,\n 'aria-sort': 0,\n 'aria-valuemax': 0,\n 'aria-valuemin': 0,\n 'aria-valuenow': 0,\n 'aria-valuetext': 0,\n // Live Region Attributes\n 'aria-atomic': 0,\n 'aria-busy': 0,\n 'aria-live': 0,\n 'aria-relevant': 0,\n // Drag-and-Drop Attributes\n 'aria-dropeffect': 0,\n 'aria-grabbed': 0,\n // Relationship Attributes\n 'aria-activedescendant': 0,\n 'aria-colcount': 0,\n 'aria-colindex': 0,\n 'aria-colspan': 0,\n 'aria-controls': 0,\n 'aria-describedby': 0,\n 'aria-errormessage': 0,\n 'aria-flowto': 0,\n 'aria-labelledby': 0,\n 'aria-owns': 0,\n 'aria-posinset': 0,\n 'aria-rowcount': 0,\n 'aria-rowindex': 0,\n 'aria-rowspan': 0,\n 'aria-setsize': 0\n },\n DOMAttributeNames: {},\n DOMPropertyNames: {}\n};\n\nmodule.exports = ARIADOMPropertyConfig;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ARIADOMPropertyConfig.js\n// module id = 39\n// module chunks = 0","/**\n * Copyright 2013-present Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPropagators = require('./EventPropagators');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar FallbackCompositionState = require('./FallbackCompositionState');\nvar SyntheticCompositionEvent = require('./SyntheticCompositionEvent');\nvar SyntheticInputEvent = require('./SyntheticInputEvent');\n\nvar END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space\nvar START_KEYCODE = 229;\n\nvar canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window;\n\nvar documentMode = null;\nif (ExecutionEnvironment.canUseDOM && 'documentMode' in document) {\n documentMode = document.documentMode;\n}\n\n// Webkit offers a very useful `textInput` event that can be used to\n// directly represent `beforeInput`. The IE `textinput` event is not as\n// useful, so we don't use it.\nvar canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto();\n\n// In IE9+, we have access to composition events, but the data supplied\n// by the native compositionend event may be incorrect. Japanese ideographic\n// spaces, for instance (\\u3000) are not recorded correctly.\nvar useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);\n\n/**\n * Opera <= 12 includes TextEvent in window, but does not fire\n * text input events. Rely on keypress instead.\n */\nfunction isPresto() {\n var opera = window.opera;\n return typeof opera === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12;\n}\n\nvar SPACEBAR_CODE = 32;\nvar SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);\n\n// Events and their corresponding property names.\nvar eventTypes = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: 'onBeforeInput',\n captured: 'onBeforeInputCapture'\n },\n dependencies: ['topCompositionEnd', 'topKeyPress', 'topTextInput', 'topPaste']\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionEnd',\n captured: 'onCompositionEndCapture'\n },\n dependencies: ['topBlur', 'topCompositionEnd', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionStart',\n captured: 'onCompositionStartCapture'\n },\n dependencies: ['topBlur', 'topCompositionStart', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionUpdate',\n captured: 'onCompositionUpdateCapture'\n },\n dependencies: ['topBlur', 'topCompositionUpdate', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n }\n};\n\n// Track whether we've ever handled a keypress on the space key.\nvar hasSpaceKeypress = false;\n\n/**\n * Return whether a native keypress event is assumed to be a command.\n * This is required because Firefox fires `keypress` events for key commands\n * (cut, copy, select-all, etc.) even though no character is inserted.\n */\nfunction isKeypressCommand(nativeEvent) {\n return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) &&\n // ctrlKey && altKey is equivalent to AltGr, and is not a command.\n !(nativeEvent.ctrlKey && nativeEvent.altKey);\n}\n\n/**\n * Translate native top level events into event types.\n *\n * @param {string} topLevelType\n * @return {object}\n */\nfunction getCompositionEventType(topLevelType) {\n switch (topLevelType) {\n case 'topCompositionStart':\n return eventTypes.compositionStart;\n case 'topCompositionEnd':\n return eventTypes.compositionEnd;\n case 'topCompositionUpdate':\n return eventTypes.compositionUpdate;\n }\n}\n\n/**\n * Does our fallback best-guess model think this event signifies that\n * composition has begun?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionStart(topLevelType, nativeEvent) {\n return topLevelType === 'topKeyDown' && nativeEvent.keyCode === START_KEYCODE;\n}\n\n/**\n * Does our fallback mode think that this event is the end of composition?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionEnd(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case 'topKeyUp':\n // Command keys insert or clear IME input.\n return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;\n case 'topKeyDown':\n // Expect IME keyCode on each keydown. If we get any other\n // code we must have exited earlier.\n return nativeEvent.keyCode !== START_KEYCODE;\n case 'topKeyPress':\n case 'topMouseDown':\n case 'topBlur':\n // Events are not possible without cancelling IME.\n return true;\n default:\n return false;\n }\n}\n\n/**\n * Google Input Tools provides composition data via a CustomEvent,\n * with the `data` property populated in the `detail` object. If this\n * is available on the event object, use it. If not, this is a plain\n * composition event and we have nothing special to extract.\n *\n * @param {object} nativeEvent\n * @return {?string}\n */\nfunction getDataFromCustomEvent(nativeEvent) {\n var detail = nativeEvent.detail;\n if (typeof detail === 'object' && 'data' in detail) {\n return detail.data;\n }\n return null;\n}\n\n// Track the current IME composition fallback object, if any.\nvar currentComposition = null;\n\n/**\n * @return {?object} A SyntheticCompositionEvent.\n */\nfunction extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var eventType;\n var fallbackData;\n\n if (canUseCompositionEvent) {\n eventType = getCompositionEventType(topLevelType);\n } else if (!currentComposition) {\n if (isFallbackCompositionStart(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionStart;\n }\n } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionEnd;\n }\n\n if (!eventType) {\n return null;\n }\n\n if (useFallbackCompositionData) {\n // The current composition is stored statically and must not be\n // overwritten while composition continues.\n if (!currentComposition && eventType === eventTypes.compositionStart) {\n currentComposition = FallbackCompositionState.getPooled(nativeEventTarget);\n } else if (eventType === eventTypes.compositionEnd) {\n if (currentComposition) {\n fallbackData = currentComposition.getData();\n }\n }\n }\n\n var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget);\n\n if (fallbackData) {\n // Inject data generated from fallback path into the synthetic event.\n // This matches the property of native CompositionEventInterface.\n event.data = fallbackData;\n } else {\n var customData = getDataFromCustomEvent(nativeEvent);\n if (customData !== null) {\n event.data = customData;\n }\n }\n\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The string corresponding to this `beforeInput` event.\n */\nfunction getNativeBeforeInputChars(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case 'topCompositionEnd':\n return getDataFromCustomEvent(nativeEvent);\n case 'topKeyPress':\n /**\n * If native `textInput` events are available, our goal is to make\n * use of them. However, there is a special case: the spacebar key.\n * In Webkit, preventing default on a spacebar `textInput` event\n * cancels character insertion, but it *also* causes the browser\n * to fall back to its default spacebar behavior of scrolling the\n * page.\n *\n * Tracking at:\n * https://code.google.com/p/chromium/issues/detail?id=355103\n *\n * To avoid this issue, use the keypress event as if no `textInput`\n * event is available.\n */\n var which = nativeEvent.which;\n if (which !== SPACEBAR_CODE) {\n return null;\n }\n\n hasSpaceKeypress = true;\n return SPACEBAR_CHAR;\n\n case 'topTextInput':\n // Record the characters to be added to the DOM.\n var chars = nativeEvent.data;\n\n // If it's a spacebar character, assume that we have already handled\n // it at the keypress level and bail immediately. Android Chrome\n // doesn't give us keycodes, so we need to blacklist it.\n if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {\n return null;\n }\n\n return chars;\n\n default:\n // For other native event types, do nothing.\n return null;\n }\n}\n\n/**\n * For browsers that do not provide the `textInput` event, extract the\n * appropriate string to use for SyntheticInputEvent.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The fallback string for this `beforeInput` event.\n */\nfunction getFallbackBeforeInputChars(topLevelType, nativeEvent) {\n // If we are currently composing (IME) and using a fallback to do so,\n // try to extract the composed characters from the fallback object.\n // If composition event is available, we extract a string only at\n // compositionevent, otherwise extract it at fallback events.\n if (currentComposition) {\n if (topLevelType === 'topCompositionEnd' || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n var chars = currentComposition.getData();\n FallbackCompositionState.release(currentComposition);\n currentComposition = null;\n return chars;\n }\n return null;\n }\n\n switch (topLevelType) {\n case 'topPaste':\n // If a paste event occurs after a keypress, throw out the input\n // chars. Paste events should not lead to BeforeInput events.\n return null;\n case 'topKeyPress':\n /**\n * As of v27, Firefox may fire keypress events even when no character\n * will be inserted. A few possibilities:\n *\n * - `which` is `0`. Arrow keys, Esc key, etc.\n *\n * - `which` is the pressed key code, but no char is available.\n * Ex: 'AltGr + d` in Polish. There is no modified character for\n * this key combination and no character is inserted into the\n * document, but FF fires the keypress for char code `100` anyway.\n * No `input` event will occur.\n *\n * - `which` is the pressed key code, but a command combination is\n * being used. Ex: `Cmd+C`. No character is inserted, and no\n * `input` event will occur.\n */\n if (nativeEvent.which && !isKeypressCommand(nativeEvent)) {\n return String.fromCharCode(nativeEvent.which);\n }\n return null;\n case 'topCompositionEnd':\n return useFallbackCompositionData ? null : nativeEvent.data;\n default:\n return null;\n }\n}\n\n/**\n * Extract a SyntheticInputEvent for `beforeInput`, based on either native\n * `textInput` or fallback behavior.\n *\n * @return {?object} A SyntheticInputEvent.\n */\nfunction extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var chars;\n\n if (canUseTextInputEvent) {\n chars = getNativeBeforeInputChars(topLevelType, nativeEvent);\n } else {\n chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);\n }\n\n // If no characters are being inserted, no BeforeInput event should\n // be fired.\n if (!chars) {\n return null;\n }\n\n var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, targetInst, nativeEvent, nativeEventTarget);\n\n event.data = chars;\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * Create an `onBeforeInput` event to match\n * http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.\n *\n * This event plugin is based on the native `textInput` event\n * available in Chrome, Safari, Opera, and IE. This event fires after\n * `onKeyPress` and `onCompositionEnd`, but before `onInput`.\n *\n * `beforeInput` is spec'd but not implemented in any browsers, and\n * the `input` event does not provide any useful information about what has\n * actually been added, contrary to the spec. Thus, `textInput` is the best\n * available event to identify the characters that have actually been inserted\n * into the target node.\n *\n * This plugin is also responsible for emitting `composition` events, thus\n * allowing us to share composition fallback code for both `beforeInput` and\n * `composition` event types.\n */\nvar BeforeInputEventPlugin = {\n\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n return [extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)];\n }\n};\n\nmodule.exports = BeforeInputEventPlugin;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/BeforeInputEventPlugin.js\n// module id = 40\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPluginUtils = require('./EventPluginUtils');\n\nvar accumulateInto = require('./accumulateInto');\nvar forEachAccumulated = require('./forEachAccumulated');\nvar warning = require('fbjs/lib/warning');\n\nvar getListener = EventPluginHub.getListener;\n\n/**\n * Some event types have a notion of different registration names for different\n * \"phases\" of propagation. This finds listeners by a given phase.\n */\nfunction listenerAtPhase(inst, event, propagationPhase) {\n var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n return getListener(inst, registrationName);\n}\n\n/**\n * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n * here, allows us to not have to bind or create functions for each event.\n * Mutating the event's members allows us to not have to create a wrapping\n * \"dispatch\" object that pairs the event with the listener.\n */\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0;\n }\n var listener = listenerAtPhase(inst, event, phase);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n}\n\n/**\n * Collect dispatches (must be entirely collected before dispatching - see unit\n * tests). Lazily allocate the array to conserve memory. We must loop through\n * each event and perform the traversal for each one. We cannot perform a\n * single traversal for the entire collection of events because each event may\n * have a different target.\n */\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n EventPluginUtils.traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.\n */\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n var parentInst = targetInst ? EventPluginUtils.getParentInstance(targetInst) : null;\n EventPluginUtils.traverseTwoPhase(parentInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Accumulates without regard to direction, does not look for phased\n * registration names. Same as `accumulateDirectDispatchesSingle` but without\n * requiring that the `dispatchMarker` be the same as the dispatched ID.\n */\nfunction accumulateDispatches(inst, ignoredDirection, event) {\n if (event && event.dispatchConfig.registrationName) {\n var registrationName = event.dispatchConfig.registrationName;\n var listener = getListener(inst, registrationName);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n }\n}\n\n/**\n * Accumulates dispatches on an `SyntheticEvent`, but only for the\n * `dispatchMarker`.\n * @param {SyntheticEvent} event\n */\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n accumulateDispatches(event._targetInst, null, event);\n }\n}\n\nfunction accumulateTwoPhaseDispatches(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n}\n\nfunction accumulateTwoPhaseDispatchesSkipTarget(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget);\n}\n\nfunction accumulateEnterLeaveDispatches(leave, enter, from, to) {\n EventPluginUtils.traverseEnterLeave(from, to, accumulateDispatches, leave, enter);\n}\n\nfunction accumulateDirectDispatches(events) {\n forEachAccumulated(events, accumulateDirectDispatchesSingle);\n}\n\n/**\n * A small set of propagation patterns, each of which will accept a small amount\n * of information, and generate a set of \"dispatch ready event objects\" - which\n * are sets of events that have already been annotated with a set of dispatched\n * listener functions/ids. The API is designed this way to discourage these\n * propagation strategies from actually executing the dispatches, since we\n * always want to collect the entire set of dispatches before executing event a\n * single one.\n *\n * @constructor EventPropagators\n */\nvar EventPropagators = {\n accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget,\n accumulateDirectDispatches: accumulateDirectDispatches,\n accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches\n};\n\nmodule.exports = EventPropagators;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPropagators.js\n// module id = 41\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar EventPluginRegistry = require('./EventPluginRegistry');\nvar EventPluginUtils = require('./EventPluginUtils');\nvar ReactErrorUtils = require('./ReactErrorUtils');\n\nvar accumulateInto = require('./accumulateInto');\nvar forEachAccumulated = require('./forEachAccumulated');\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Internal store for event listeners\n */\nvar listenerBank = {};\n\n/**\n * Internal queue of events that have accumulated their dispatches and are\n * waiting to have their dispatches executed.\n */\nvar eventQueue = null;\n\n/**\n * Dispatches an event and releases it back into the pool, unless persistent.\n *\n * @param {?object} event Synthetic event to be dispatched.\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @private\n */\nvar executeDispatchesAndRelease = function (event, simulated) {\n if (event) {\n EventPluginUtils.executeDispatchesInOrder(event, simulated);\n\n if (!event.isPersistent()) {\n event.constructor.release(event);\n }\n }\n};\nvar executeDispatchesAndReleaseSimulated = function (e) {\n return executeDispatchesAndRelease(e, true);\n};\nvar executeDispatchesAndReleaseTopLevel = function (e) {\n return executeDispatchesAndRelease(e, false);\n};\n\nvar getDictionaryKey = function (inst) {\n // Prevents V8 performance issue:\n // https://github.com/facebook/react/pull/7232\n return '.' + inst._rootNodeID;\n};\n\nfunction isInteractive(tag) {\n return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';\n}\n\nfunction shouldPreventMouseEvent(name, type, props) {\n switch (name) {\n case 'onClick':\n case 'onClickCapture':\n case 'onDoubleClick':\n case 'onDoubleClickCapture':\n case 'onMouseDown':\n case 'onMouseDownCapture':\n case 'onMouseMove':\n case 'onMouseMoveCapture':\n case 'onMouseUp':\n case 'onMouseUpCapture':\n return !!(props.disabled && isInteractive(type));\n default:\n return false;\n }\n}\n\n/**\n * This is a unified interface for event plugins to be installed and configured.\n *\n * Event plugins can implement the following properties:\n *\n * `extractEvents` {function(string, DOMEventTarget, string, object): *}\n * Required. When a top-level event is fired, this method is expected to\n * extract synthetic events that will in turn be queued and dispatched.\n *\n * `eventTypes` {object}\n * Optional, plugins that fire events must publish a mapping of registration\n * names that are used to register listeners. Values of this mapping must\n * be objects that contain `registrationName` or `phasedRegistrationNames`.\n *\n * `executeDispatch` {function(object, function, string)}\n * Optional, allows plugins to override how an event gets dispatched. By\n * default, the listener is simply invoked.\n *\n * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n *\n * @public\n */\nvar EventPluginHub = {\n\n /**\n * Methods for injecting dependencies.\n */\n injection: {\n\n /**\n * @param {array} InjectedEventPluginOrder\n * @public\n */\n injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\n /**\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n */\n injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\n },\n\n /**\n * Stores `listener` at `listenerBank[registrationName][key]`. Is idempotent.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {function} listener The callback to store.\n */\n putListener: function (inst, registrationName, listener) {\n !(typeof listener === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : _prodInvariant('94', registrationName, typeof listener) : void 0;\n\n var key = getDictionaryKey(inst);\n var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});\n bankForRegistrationName[key] = listener;\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.didPutListener) {\n PluginModule.didPutListener(inst, registrationName, listener);\n }\n },\n\n /**\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @return {?function} The stored callback.\n */\n getListener: function (inst, registrationName) {\n // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not\n // live here; needs to be moved to a better place soon\n var bankForRegistrationName = listenerBank[registrationName];\n if (shouldPreventMouseEvent(registrationName, inst._currentElement.type, inst._currentElement.props)) {\n return null;\n }\n var key = getDictionaryKey(inst);\n return bankForRegistrationName && bankForRegistrationName[key];\n },\n\n /**\n * Deletes a listener from the registration bank.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n */\n deleteListener: function (inst, registrationName) {\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n var bankForRegistrationName = listenerBank[registrationName];\n // TODO: This should never be null -- when is it?\n if (bankForRegistrationName) {\n var key = getDictionaryKey(inst);\n delete bankForRegistrationName[key];\n }\n },\n\n /**\n * Deletes all listeners for the DOM element with the supplied ID.\n *\n * @param {object} inst The instance, which is the source of events.\n */\n deleteAllListeners: function (inst) {\n var key = getDictionaryKey(inst);\n for (var registrationName in listenerBank) {\n if (!listenerBank.hasOwnProperty(registrationName)) {\n continue;\n }\n\n if (!listenerBank[registrationName][key]) {\n continue;\n }\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n delete listenerBank[registrationName][key];\n }\n },\n\n /**\n * Allows registered plugins an opportunity to extract events from top-level\n * native browser events.\n *\n * @return {*} An accumulation of synthetic events.\n * @internal\n */\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var events;\n var plugins = EventPluginRegistry.plugins;\n for (var i = 0; i < plugins.length; i++) {\n // Not every plugin in the ordering may be loaded at runtime.\n var possiblePlugin = plugins[i];\n if (possiblePlugin) {\n var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n if (extractedEvents) {\n events = accumulateInto(events, extractedEvents);\n }\n }\n }\n return events;\n },\n\n /**\n * Enqueues a synthetic event that should be dispatched when\n * `processEventQueue` is invoked.\n *\n * @param {*} events An accumulation of synthetic events.\n * @internal\n */\n enqueueEvents: function (events) {\n if (events) {\n eventQueue = accumulateInto(eventQueue, events);\n }\n },\n\n /**\n * Dispatches all synthetic events on the event queue.\n *\n * @internal\n */\n processEventQueue: function (simulated) {\n // Set `eventQueue` to null before processing it so that we can tell if more\n // events get enqueued while processing.\n var processingEventQueue = eventQueue;\n eventQueue = null;\n if (simulated) {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);\n } else {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);\n }\n !!eventQueue ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : _prodInvariant('95') : void 0;\n // This would be a good time to rethrow if any of the event handlers threw.\n ReactErrorUtils.rethrowCaughtError();\n },\n\n /**\n * These are needed for tests only. Do not use!\n */\n __purge: function () {\n listenerBank = {};\n },\n\n __getListenerBank: function () {\n return listenerBank;\n }\n\n};\n\nmodule.exports = EventPluginHub;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPluginHub.js\n// module id = 42\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Injectable ordering of event plugins.\n */\nvar eventPluginOrder = null;\n\n/**\n * Injectable mapping from names to event plugin modules.\n */\nvar namesToPlugins = {};\n\n/**\n * Recomputes the plugin list using the injected plugins and plugin ordering.\n *\n * @private\n */\nfunction recomputePluginOrdering() {\n if (!eventPluginOrder) {\n // Wait until an `eventPluginOrder` is injected.\n return;\n }\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName];\n var pluginIndex = eventPluginOrder.indexOf(pluginName);\n !(pluginIndex > -1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : _prodInvariant('96', pluginName) : void 0;\n if (EventPluginRegistry.plugins[pluginIndex]) {\n continue;\n }\n !pluginModule.extractEvents ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : _prodInvariant('97', pluginName) : void 0;\n EventPluginRegistry.plugins[pluginIndex] = pluginModule;\n var publishedEvents = pluginModule.eventTypes;\n for (var eventName in publishedEvents) {\n !publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : _prodInvariant('98', eventName, pluginName) : void 0;\n }\n }\n}\n\n/**\n * Publishes an event so that it can be dispatched by the supplied plugin.\n *\n * @param {object} dispatchConfig Dispatch configuration for the event.\n * @param {object} PluginModule Plugin publishing the event.\n * @return {boolean} True if the event was successfully published.\n * @private\n */\nfunction publishEventForPlugin(dispatchConfig, pluginModule, eventName) {\n !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : _prodInvariant('99', eventName) : void 0;\n EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;\n\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (var phaseName in phasedRegistrationNames) {\n if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n var phasedRegistrationName = phasedRegistrationNames[phaseName];\n publishRegistrationName(phasedRegistrationName, pluginModule, eventName);\n }\n }\n return true;\n } else if (dispatchConfig.registrationName) {\n publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);\n return true;\n }\n return false;\n}\n\n/**\n * Publishes a registration name that is used to identify dispatched events and\n * can be used with `EventPluginHub.putListener` to register listeners.\n *\n * @param {string} registrationName Registration name to add.\n * @param {object} PluginModule Plugin publishing the event.\n * @private\n */\nfunction publishRegistrationName(registrationName, pluginModule, eventName) {\n !!EventPluginRegistry.registrationNameModules[registrationName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : _prodInvariant('100', registrationName) : void 0;\n EventPluginRegistry.registrationNameModules[registrationName] = pluginModule;\n EventPluginRegistry.registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;\n\n if (process.env.NODE_ENV !== 'production') {\n var lowerCasedName = registrationName.toLowerCase();\n EventPluginRegistry.possibleRegistrationNames[lowerCasedName] = registrationName;\n\n if (registrationName === 'onDoubleClick') {\n EventPluginRegistry.possibleRegistrationNames.ondblclick = registrationName;\n }\n }\n}\n\n/**\n * Registers plugins so that they can extract and dispatch events.\n *\n * @see {EventPluginHub}\n */\nvar EventPluginRegistry = {\n\n /**\n * Ordered list of injected plugins.\n */\n plugins: [],\n\n /**\n * Mapping from event name to dispatch config\n */\n eventNameDispatchConfigs: {},\n\n /**\n * Mapping from registration name to plugin module\n */\n registrationNameModules: {},\n\n /**\n * Mapping from registration name to event name\n */\n registrationNameDependencies: {},\n\n /**\n * Mapping from lowercase registration names to the properly cased version,\n * used to warn in the case of missing event handlers. Available\n * only in __DEV__.\n * @type {Object}\n */\n possibleRegistrationNames: process.env.NODE_ENV !== 'production' ? {} : null,\n // Trust the developer to only use possibleRegistrationNames in __DEV__\n\n /**\n * Injects an ordering of plugins (by plugin name). This allows the ordering\n * to be decoupled from injection of the actual plugins so that ordering is\n * always deterministic regardless of packaging, on-the-fly injection, etc.\n *\n * @param {array} InjectedEventPluginOrder\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginOrder}\n */\n injectEventPluginOrder: function (injectedEventPluginOrder) {\n !!eventPluginOrder ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.') : _prodInvariant('101') : void 0;\n // Clone the ordering so it cannot be dynamically mutated.\n eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);\n recomputePluginOrdering();\n },\n\n /**\n * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n * in the ordering injected by `injectEventPluginOrder`.\n *\n * Plugins can be injected as part of page initialization or on-the-fly.\n *\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginsByName}\n */\n injectEventPluginsByName: function (injectedNamesToPlugins) {\n var isOrderingDirty = false;\n for (var pluginName in injectedNamesToPlugins) {\n if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n continue;\n }\n var pluginModule = injectedNamesToPlugins[pluginName];\n if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {\n !!namesToPlugins[pluginName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : _prodInvariant('102', pluginName) : void 0;\n namesToPlugins[pluginName] = pluginModule;\n isOrderingDirty = true;\n }\n }\n if (isOrderingDirty) {\n recomputePluginOrdering();\n }\n },\n\n /**\n * Looks up the plugin for the supplied event.\n *\n * @param {object} event A synthetic event.\n * @return {?object} The plugin that created the supplied event.\n * @internal\n */\n getPluginModuleForEvent: function (event) {\n var dispatchConfig = event.dispatchConfig;\n if (dispatchConfig.registrationName) {\n return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null;\n }\n if (dispatchConfig.phasedRegistrationNames !== undefined) {\n // pulling phasedRegistrationNames out of dispatchConfig helps Flow see\n // that it is not undefined.\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n\n for (var phase in phasedRegistrationNames) {\n if (!phasedRegistrationNames.hasOwnProperty(phase)) {\n continue;\n }\n var pluginModule = EventPluginRegistry.registrationNameModules[phasedRegistrationNames[phase]];\n if (pluginModule) {\n return pluginModule;\n }\n }\n }\n return null;\n },\n\n /**\n * Exposed for unit testing.\n * @private\n */\n _resetEventPlugins: function () {\n eventPluginOrder = null;\n for (var pluginName in namesToPlugins) {\n if (namesToPlugins.hasOwnProperty(pluginName)) {\n delete namesToPlugins[pluginName];\n }\n }\n EventPluginRegistry.plugins.length = 0;\n\n var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;\n for (var eventName in eventNameDispatchConfigs) {\n if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {\n delete eventNameDispatchConfigs[eventName];\n }\n }\n\n var registrationNameModules = EventPluginRegistry.registrationNameModules;\n for (var registrationName in registrationNameModules) {\n if (registrationNameModules.hasOwnProperty(registrationName)) {\n delete registrationNameModules[registrationName];\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;\n for (var lowerCasedName in possibleRegistrationNames) {\n if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {\n delete possibleRegistrationNames[lowerCasedName];\n }\n }\n }\n }\n\n};\n\nmodule.exports = EventPluginRegistry;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPluginRegistry.js\n// module id = 43\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactErrorUtils = require('./ReactErrorUtils');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Injected dependencies:\n */\n\n/**\n * - `ComponentTree`: [required] Module that can convert between React instances\n * and actual node references.\n */\nvar ComponentTree;\nvar TreeTraversal;\nvar injection = {\n injectComponentTree: function (Injected) {\n ComponentTree = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.getNodeFromInstance && Injected.getInstanceFromNode, 'EventPluginUtils.injection.injectComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;\n }\n },\n injectTreeTraversal: function (Injected) {\n TreeTraversal = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.isAncestor && Injected.getLowestCommonAncestor, 'EventPluginUtils.injection.injectTreeTraversal(...): Injected ' + 'module is missing isAncestor or getLowestCommonAncestor.') : void 0;\n }\n }\n};\n\nfunction isEndish(topLevelType) {\n return topLevelType === 'topMouseUp' || topLevelType === 'topTouchEnd' || topLevelType === 'topTouchCancel';\n}\n\nfunction isMoveish(topLevelType) {\n return topLevelType === 'topMouseMove' || topLevelType === 'topTouchMove';\n}\nfunction isStartish(topLevelType) {\n return topLevelType === 'topMouseDown' || topLevelType === 'topTouchStart';\n}\n\nvar validateEventDispatches;\nif (process.env.NODE_ENV !== 'production') {\n validateEventDispatches = function (event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n\n var listenersIsArr = Array.isArray(dispatchListeners);\n var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;\n\n var instancesIsArr = Array.isArray(dispatchInstances);\n var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;\n\n process.env.NODE_ENV !== 'production' ? warning(instancesIsArr === listenersIsArr && instancesLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : void 0;\n };\n}\n\n/**\n * Dispatch the event to the listener.\n * @param {SyntheticEvent} event SyntheticEvent to handle\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @param {function} listener Application-level callback\n * @param {*} inst Internal component instance\n */\nfunction executeDispatch(event, simulated, listener, inst) {\n var type = event.type || 'unknown-event';\n event.currentTarget = EventPluginUtils.getNodeFromInstance(inst);\n if (simulated) {\n ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event);\n } else {\n ReactErrorUtils.invokeGuardedCallback(type, listener, event);\n }\n event.currentTarget = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches.\n */\nfunction executeDispatchesInOrder(event, simulated) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n executeDispatch(event, simulated, dispatchListeners[i], dispatchInstances[i]);\n }\n } else if (dispatchListeners) {\n executeDispatch(event, simulated, dispatchListeners, dispatchInstances);\n }\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches, but stops\n * at the first dispatch execution returning true, and returns that id.\n *\n * @return {?string} id of the first dispatch execution who's listener returns\n * true, or null if no listener returned true.\n */\nfunction executeDispatchesInOrderStopAtTrueImpl(event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n if (dispatchListeners[i](event, dispatchInstances[i])) {\n return dispatchInstances[i];\n }\n }\n } else if (dispatchListeners) {\n if (dispatchListeners(event, dispatchInstances)) {\n return dispatchInstances;\n }\n }\n return null;\n}\n\n/**\n * @see executeDispatchesInOrderStopAtTrueImpl\n */\nfunction executeDispatchesInOrderStopAtTrue(event) {\n var ret = executeDispatchesInOrderStopAtTrueImpl(event);\n event._dispatchInstances = null;\n event._dispatchListeners = null;\n return ret;\n}\n\n/**\n * Execution of a \"direct\" dispatch - there must be at most one dispatch\n * accumulated on the event or it is considered an error. It doesn't really make\n * sense for an event with multiple dispatches (bubbled) to keep track of the\n * return values at each dispatch execution, but it does tend to make sense when\n * dealing with \"direct\" dispatches.\n *\n * @return {*} The return value of executing the single dispatch.\n */\nfunction executeDirectDispatch(event) {\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n var dispatchListener = event._dispatchListeners;\n var dispatchInstance = event._dispatchInstances;\n !!Array.isArray(dispatchListener) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : _prodInvariant('103') : void 0;\n event.currentTarget = dispatchListener ? EventPluginUtils.getNodeFromInstance(dispatchInstance) : null;\n var res = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return res;\n}\n\n/**\n * @param {SyntheticEvent} event\n * @return {boolean} True iff number of dispatches accumulated is greater than 0.\n */\nfunction hasDispatches(event) {\n return !!event._dispatchListeners;\n}\n\n/**\n * General utilities that are useful in creating custom Event Plugins.\n */\nvar EventPluginUtils = {\n isEndish: isEndish,\n isMoveish: isMoveish,\n isStartish: isStartish,\n\n executeDirectDispatch: executeDirectDispatch,\n executeDispatchesInOrder: executeDispatchesInOrder,\n executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n hasDispatches: hasDispatches,\n\n getInstanceFromNode: function (node) {\n return ComponentTree.getInstanceFromNode(node);\n },\n getNodeFromInstance: function (node) {\n return ComponentTree.getNodeFromInstance(node);\n },\n isAncestor: function (a, b) {\n return TreeTraversal.isAncestor(a, b);\n },\n getLowestCommonAncestor: function (a, b) {\n return TreeTraversal.getLowestCommonAncestor(a, b);\n },\n getParentInstance: function (inst) {\n return TreeTraversal.getParentInstance(inst);\n },\n traverseTwoPhase: function (target, fn, arg) {\n return TreeTraversal.traverseTwoPhase(target, fn, arg);\n },\n traverseEnterLeave: function (from, to, fn, argFrom, argTo) {\n return TreeTraversal.traverseEnterLeave(from, to, fn, argFrom, argTo);\n },\n\n injection: injection\n};\n\nmodule.exports = EventPluginUtils;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPluginUtils.js\n// module id = 44\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar caughtError = null;\n\n/**\n * Call a function while guarding against errors that happens within it.\n *\n * @param {String} name of the guard to use for logging or debugging\n * @param {Function} func The function to invoke\n * @param {*} a First argument\n * @param {*} b Second argument\n */\nfunction invokeGuardedCallback(name, func, a) {\n try {\n func(a);\n } catch (x) {\n if (caughtError === null) {\n caughtError = x;\n }\n }\n}\n\nvar ReactErrorUtils = {\n invokeGuardedCallback: invokeGuardedCallback,\n\n /**\n * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event\n * handler are sure to be rethrown by rethrowCaughtError.\n */\n invokeGuardedCallbackWithCatch: invokeGuardedCallback,\n\n /**\n * During execution of guarded functions we will capture the first error which\n * we will rethrow to be handled by the top level error handler.\n */\n rethrowCaughtError: function () {\n if (caughtError) {\n var error = caughtError;\n caughtError = null;\n throw error;\n }\n }\n};\n\nif (process.env.NODE_ENV !== 'production') {\n /**\n * To help development we can get better devtools integration by simulating a\n * real browser event.\n */\n if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {\n var fakeNode = document.createElement('react');\n ReactErrorUtils.invokeGuardedCallback = function (name, func, a) {\n var boundFunc = func.bind(null, a);\n var evtType = 'react-' + name;\n fakeNode.addEventListener(evtType, boundFunc, false);\n var evt = document.createEvent('Event');\n evt.initEvent(evtType, false, false);\n fakeNode.dispatchEvent(evt);\n fakeNode.removeEventListener(evtType, boundFunc, false);\n };\n }\n}\n\nmodule.exports = ReactErrorUtils;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactErrorUtils.js\n// module id = 45\n// module chunks = 0","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Accumulates items that must not be null or undefined into the first one. This\n * is used to conserve memory by avoiding array allocations, and thus sacrifices\n * API cleanness. Since `current` can be null before being passed in and not\n * null after this function, make sure to assign it back to `current`:\n *\n * `a = accumulateInto(a, b);`\n *\n * This API should be sparingly used. Try `accumulate` for something cleaner.\n *\n * @return {*|array<*>} An accumulation of items.\n */\n\nfunction accumulateInto(current, next) {\n !(next != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : _prodInvariant('30') : void 0;\n\n if (current == null) {\n return next;\n }\n\n // Both are not empty. Warning: Never call x.concat(y) when you are not\n // certain that x is an Array (x could be a string with concat method).\n if (Array.isArray(current)) {\n if (Array.isArray(next)) {\n current.push.apply(current, next);\n return current;\n }\n current.push(next);\n return current;\n }\n\n if (Array.isArray(next)) {\n // A bit too dangerous to mutate `next`.\n return [current].concat(next);\n }\n\n return [current, next];\n}\n\nmodule.exports = accumulateInto;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/accumulateInto.js\n// module id = 46\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * @param {array} arr an \"accumulation\" of items which is either an Array or\n * a single item. Useful when paired with the `accumulate` module. This is a\n * simple utility that allows us to reason about a collection of items, but\n * handling the case when there is exactly one item (and we do not need to\n * allocate an array).\n */\n\nfunction forEachAccumulated(arr, cb, scope) {\n if (Array.isArray(arr)) {\n arr.forEach(cb, scope);\n } else if (arr) {\n cb.call(scope, arr);\n }\n}\n\nmodule.exports = forEachAccumulated;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/forEachAccumulated.js\n// module id = 47\n// module chunks = 0","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n canUseDOM: canUseDOM,\n\n canUseWorkers: typeof Worker !== 'undefined',\n\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n\n canUseViewport: canUseDOM && !!window.screen,\n\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/ExecutionEnvironment.js\n// module id = 48\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar PooledClass = require('./PooledClass');\n\nvar getTextContentAccessor = require('./getTextContentAccessor');\n\n/**\n * This helper class stores information about text content of a target node,\n * allowing comparison of content before and after a given event.\n *\n * Identify the node where selection currently begins, then observe\n * both its text content and its current position in the DOM. Since the\n * browser may natively replace the target node during composition, we can\n * use its position to find its replacement.\n *\n * @param {DOMEventTarget} root\n */\nfunction FallbackCompositionState(root) {\n this._root = root;\n this._startText = this.getText();\n this._fallbackText = null;\n}\n\n_assign(FallbackCompositionState.prototype, {\n destructor: function () {\n this._root = null;\n this._startText = null;\n this._fallbackText = null;\n },\n\n /**\n * Get current text of input.\n *\n * @return {string}\n */\n getText: function () {\n if ('value' in this._root) {\n return this._root.value;\n }\n return this._root[getTextContentAccessor()];\n },\n\n /**\n * Determine the differing substring between the initially stored\n * text content and the current content.\n *\n * @return {string}\n */\n getData: function () {\n if (this._fallbackText) {\n return this._fallbackText;\n }\n\n var start;\n var startValue = this._startText;\n var startLength = startValue.length;\n var end;\n var endValue = this.getText();\n var endLength = endValue.length;\n\n for (start = 0; start < startLength; start++) {\n if (startValue[start] !== endValue[start]) {\n break;\n }\n }\n\n var minEnd = startLength - start;\n for (end = 1; end <= minEnd; end++) {\n if (startValue[startLength - end] !== endValue[endLength - end]) {\n break;\n }\n }\n\n var sliceTail = end > 1 ? 1 - end : undefined;\n this._fallbackText = endValue.slice(start, sliceTail);\n return this._fallbackText;\n }\n});\n\nPooledClass.addPoolingTo(FallbackCompositionState);\n\nmodule.exports = FallbackCompositionState;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/FallbackCompositionState.js\n// module id = 49\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function (copyFieldsFrom) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nvar twoArgumentPooler = function (a1, a2) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar threeArgumentPooler = function (a1, a2, a3) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nvar fourArgumentPooler = function (a1, a2, a3, a4) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nvar standardReleaser = function (instance) {\n var Klass = this;\n !(instance instanceof Klass) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0;\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function (CopyConstructor, pooler) {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: oneArgumentPooler,\n twoArgumentPooler: twoArgumentPooler,\n threeArgumentPooler: threeArgumentPooler,\n fourArgumentPooler: fourArgumentPooler\n};\n\nmodule.exports = PooledClass;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/PooledClass.js\n// module id = 50\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar contentKey = null;\n\n/**\n * Gets the key used to access text content on a DOM node.\n *\n * @return {?string} Key used to access text content.\n * @internal\n */\nfunction getTextContentAccessor() {\n if (!contentKey && ExecutionEnvironment.canUseDOM) {\n // Prefer textContent to innerText because many browsers support both but\n // SVG elements don't support innerText even when
does.\n contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';\n }\n return contentKey;\n}\n\nmodule.exports = getTextContentAccessor;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getTextContentAccessor.js\n// module id = 51\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents\n */\nvar CompositionEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);\n\nmodule.exports = SyntheticCompositionEvent;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticCompositionEvent.js\n// module id = 52\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar PooledClass = require('./PooledClass');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar warning = require('fbjs/lib/warning');\n\nvar didWarnForAddedNewProperty = false;\nvar isProxySupported = typeof Proxy === 'function';\n\nvar shouldBeReleasedProperties = ['dispatchConfig', '_targetInst', 'nativeEvent', 'isDefaultPrevented', 'isPropagationStopped', '_dispatchListeners', '_dispatchInstances'];\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar EventInterface = {\n type: null,\n target: null,\n // currentTarget is set when dispatching; no use in copying it here\n currentTarget: emptyFunction.thatReturnsNull,\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function (event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\n\n/**\n * Synthetic events are dispatched by event plugins, typically in response to a\n * top-level event delegation handler.\n *\n * These systems should generally use pooling to reduce the frequency of garbage\n * collection. The system should check `isPersistent` to determine whether the\n * event should be released into the pool after being dispatched. Users that\n * need a persisted event should invoke `persist`.\n *\n * Synthetic events (and subclasses) implement the DOM Level 3 Events API by\n * normalizing browser quirks. Subclasses do not necessarily have to implement a\n * DOM interface; custom application-specific events can also subclass this.\n *\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {*} targetInst Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @param {DOMEventTarget} nativeEventTarget Target node.\n */\nfunction SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget) {\n if (process.env.NODE_ENV !== 'production') {\n // these have a getter/setter for warnings\n delete this.nativeEvent;\n delete this.preventDefault;\n delete this.stopPropagation;\n }\n\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n if (!Interface.hasOwnProperty(propName)) {\n continue;\n }\n if (process.env.NODE_ENV !== 'production') {\n delete this[propName]; // this has a getter/setter for warnings\n }\n var normalize = Interface[propName];\n if (normalize) {\n this[propName] = normalize(nativeEvent);\n } else {\n if (propName === 'target') {\n this.target = nativeEventTarget;\n } else {\n this[propName] = nativeEvent[propName];\n }\n }\n }\n\n var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;\n if (defaultPrevented) {\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n } else {\n this.isDefaultPrevented = emptyFunction.thatReturnsFalse;\n }\n this.isPropagationStopped = emptyFunction.thatReturnsFalse;\n return this;\n}\n\n_assign(SyntheticEvent.prototype, {\n\n preventDefault: function () {\n this.defaultPrevented = true;\n var event = this.nativeEvent;\n if (!event) {\n return;\n }\n\n if (event.preventDefault) {\n event.preventDefault();\n } else if (typeof event.returnValue !== 'unknown') {\n // eslint-disable-line valid-typeof\n event.returnValue = false;\n }\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n },\n\n stopPropagation: function () {\n var event = this.nativeEvent;\n if (!event) {\n return;\n }\n\n if (event.stopPropagation) {\n event.stopPropagation();\n } else if (typeof event.cancelBubble !== 'unknown') {\n // eslint-disable-line valid-typeof\n // The ChangeEventPlugin registers a \"propertychange\" event for\n // IE. This event does not support bubbling or cancelling, and\n // any references to cancelBubble throw \"Member not found\". A\n // typeof check of \"unknown\" circumvents this issue (and is also\n // IE specific).\n event.cancelBubble = true;\n }\n\n this.isPropagationStopped = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * We release all dispatched `SyntheticEvent`s after each event loop, adding\n * them back into the pool. This allows a way to hold onto a reference that\n * won't be added back into the pool.\n */\n persist: function () {\n this.isPersistent = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * Checks if this event should be released back into the pool.\n *\n * @return {boolean} True if this should not be released, false otherwise.\n */\n isPersistent: emptyFunction.thatReturnsFalse,\n\n /**\n * `PooledClass` looks for `destructor` on each instance it releases.\n */\n destructor: function () {\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n if (process.env.NODE_ENV !== 'production') {\n Object.defineProperty(this, propName, getPooledWarningPropertyDefinition(propName, Interface[propName]));\n } else {\n this[propName] = null;\n }\n }\n for (var i = 0; i < shouldBeReleasedProperties.length; i++) {\n this[shouldBeReleasedProperties[i]] = null;\n }\n if (process.env.NODE_ENV !== 'production') {\n Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null));\n Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', emptyFunction));\n Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction));\n }\n }\n\n});\n\nSyntheticEvent.Interface = EventInterface;\n\nif (process.env.NODE_ENV !== 'production') {\n if (isProxySupported) {\n /*eslint-disable no-func-assign */\n SyntheticEvent = new Proxy(SyntheticEvent, {\n construct: function (target, args) {\n return this.apply(target, Object.create(target.prototype), args);\n },\n apply: function (constructor, that, args) {\n return new Proxy(constructor.apply(that, args), {\n set: function (target, prop, value) {\n if (prop !== 'isPersistent' && !target.constructor.Interface.hasOwnProperty(prop) && shouldBeReleasedProperties.indexOf(prop) === -1) {\n process.env.NODE_ENV !== 'production' ? warning(didWarnForAddedNewProperty || target.isPersistent(), 'This synthetic event is reused for performance reasons. If you\\'re ' + 'seeing this, you\\'re adding a new property in the synthetic event object. ' + 'The property is never released. See ' + 'https://fb.me/react-event-pooling for more information.') : void 0;\n didWarnForAddedNewProperty = true;\n }\n target[prop] = value;\n return true;\n }\n });\n }\n });\n /*eslint-enable no-func-assign */\n }\n}\n/**\n * Helper to reduce boilerplate when creating subclasses.\n *\n * @param {function} Class\n * @param {?object} Interface\n */\nSyntheticEvent.augmentClass = function (Class, Interface) {\n var Super = this;\n\n var E = function () {};\n E.prototype = Super.prototype;\n var prototype = new E();\n\n _assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n\n Class.Interface = _assign({}, Super.Interface, Interface);\n Class.augmentClass = Super.augmentClass;\n\n PooledClass.addPoolingTo(Class, PooledClass.fourArgumentPooler);\n};\n\nPooledClass.addPoolingTo(SyntheticEvent, PooledClass.fourArgumentPooler);\n\nmodule.exports = SyntheticEvent;\n\n/**\n * Helper to nullify syntheticEvent instance properties when destructing\n *\n * @param {object} SyntheticEvent\n * @param {String} propName\n * @return {object} defineProperty object\n */\nfunction getPooledWarningPropertyDefinition(propName, getVal) {\n var isFunction = typeof getVal === 'function';\n return {\n configurable: true,\n set: set,\n get: get\n };\n\n function set(val) {\n var action = isFunction ? 'setting the method' : 'setting the property';\n warn(action, 'This is effectively a no-op');\n return val;\n }\n\n function get() {\n var action = isFunction ? 'accessing the method' : 'accessing the property';\n var result = isFunction ? 'This is a no-op function' : 'This is set to null';\n warn(action, result);\n return getVal;\n }\n\n function warn(action, result) {\n var warningCondition = false;\n process.env.NODE_ENV !== 'production' ? warning(warningCondition, 'This synthetic event is reused for performance reasons. If you\\'re seeing this, ' + 'you\\'re %s `%s` on a released/nullified synthetic event. %s. ' + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0;\n }\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticEvent.js\n// module id = 53\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105\n * /#events-inputevents\n */\nvar InputEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);\n\nmodule.exports = SyntheticInputEvent;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticInputEvent.js\n// module id = 54\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPropagators = require('./EventPropagators');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactUpdates = require('./ReactUpdates');\nvar SyntheticEvent = require('./SyntheticEvent');\n\nvar getEventTarget = require('./getEventTarget');\nvar isEventSupported = require('./isEventSupported');\nvar isTextInputElement = require('./isTextInputElement');\n\nvar eventTypes = {\n change: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture'\n },\n dependencies: ['topBlur', 'topChange', 'topClick', 'topFocus', 'topInput', 'topKeyDown', 'topKeyUp', 'topSelectionChange']\n }\n};\n\n/**\n * For IE shims\n */\nvar activeElement = null;\nvar activeElementInst = null;\nvar activeElementValue = null;\nvar activeElementValueProp = null;\n\n/**\n * SECTION: handle `change` event\n */\nfunction shouldUseChangeEvent(elem) {\n var nodeName = elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';\n}\n\nvar doesChangeEventBubble = false;\nif (ExecutionEnvironment.canUseDOM) {\n // See `handleChange` comment below\n doesChangeEventBubble = isEventSupported('change') && (!document.documentMode || document.documentMode > 8);\n}\n\nfunction manualDispatchChangeEvent(nativeEvent) {\n var event = SyntheticEvent.getPooled(eventTypes.change, activeElementInst, nativeEvent, getEventTarget(nativeEvent));\n EventPropagators.accumulateTwoPhaseDispatches(event);\n\n // If change and propertychange bubbled, we'd just bind to it like all the\n // other events and have it go through ReactBrowserEventEmitter. Since it\n // doesn't, we manually listen for the events and so we have to enqueue and\n // process the abstract event manually.\n //\n // Batching is necessary here in order to ensure that all event handlers run\n // before the next rerender (including event handlers attached to ancestor\n // elements instead of directly on the input). Without this, controlled\n // components don't work properly in conjunction with event bubbling because\n // the component is rerendered and the value reverted before all the event\n // handlers can run. See https://github.com/facebook/react/issues/708.\n ReactUpdates.batchedUpdates(runEventInBatch, event);\n}\n\nfunction runEventInBatch(event) {\n EventPluginHub.enqueueEvents(event);\n EventPluginHub.processEventQueue(false);\n}\n\nfunction startWatchingForChangeEventIE8(target, targetInst) {\n activeElement = target;\n activeElementInst = targetInst;\n activeElement.attachEvent('onchange', manualDispatchChangeEvent);\n}\n\nfunction stopWatchingForChangeEventIE8() {\n if (!activeElement) {\n return;\n }\n activeElement.detachEvent('onchange', manualDispatchChangeEvent);\n activeElement = null;\n activeElementInst = null;\n}\n\nfunction getTargetInstForChangeEvent(topLevelType, targetInst) {\n if (topLevelType === 'topChange') {\n return targetInst;\n }\n}\nfunction handleEventsForChangeEventIE8(topLevelType, target, targetInst) {\n if (topLevelType === 'topFocus') {\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForChangeEventIE8();\n startWatchingForChangeEventIE8(target, targetInst);\n } else if (topLevelType === 'topBlur') {\n stopWatchingForChangeEventIE8();\n }\n}\n\n/**\n * SECTION: handle `input` event\n */\nvar isInputEventSupported = false;\nif (ExecutionEnvironment.canUseDOM) {\n // IE9 claims to support the input event but fails to trigger it when\n // deleting text, so we ignore its input events.\n // IE10+ fire input events to often, such when a placeholder\n // changes or when an input with a placeholder is focused.\n isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 11);\n}\n\n/**\n * (For IE <=11) Replacement getter/setter for the `value` property that gets\n * set on the active element.\n */\nvar newValueProp = {\n get: function () {\n return activeElementValueProp.get.call(this);\n },\n set: function (val) {\n // Cast to a string so we can do equality checks.\n activeElementValue = '' + val;\n activeElementValueProp.set.call(this, val);\n }\n};\n\n/**\n * (For IE <=11) Starts tracking propertychange events on the passed-in element\n * and override the value property so that we can distinguish user events from\n * value changes in JS.\n */\nfunction startWatchingForValueChange(target, targetInst) {\n activeElement = target;\n activeElementInst = targetInst;\n activeElementValue = target.value;\n activeElementValueProp = Object.getOwnPropertyDescriptor(target.constructor.prototype, 'value');\n\n // Not guarded in a canDefineProperty check: IE8 supports defineProperty only\n // on DOM elements\n Object.defineProperty(activeElement, 'value', newValueProp);\n if (activeElement.attachEvent) {\n activeElement.attachEvent('onpropertychange', handlePropertyChange);\n } else {\n activeElement.addEventListener('propertychange', handlePropertyChange, false);\n }\n}\n\n/**\n * (For IE <=11) Removes the event listeners from the currently-tracked element,\n * if any exists.\n */\nfunction stopWatchingForValueChange() {\n if (!activeElement) {\n return;\n }\n\n // delete restores the original property definition\n delete activeElement.value;\n\n if (activeElement.detachEvent) {\n activeElement.detachEvent('onpropertychange', handlePropertyChange);\n } else {\n activeElement.removeEventListener('propertychange', handlePropertyChange, false);\n }\n\n activeElement = null;\n activeElementInst = null;\n activeElementValue = null;\n activeElementValueProp = null;\n}\n\n/**\n * (For IE <=11) Handles a propertychange event, sending a `change` event if\n * the value of the active element has changed.\n */\nfunction handlePropertyChange(nativeEvent) {\n if (nativeEvent.propertyName !== 'value') {\n return;\n }\n var value = nativeEvent.srcElement.value;\n if (value === activeElementValue) {\n return;\n }\n activeElementValue = value;\n\n manualDispatchChangeEvent(nativeEvent);\n}\n\n/**\n * If a `change` event should be fired, returns the target's ID.\n */\nfunction getTargetInstForInputEvent(topLevelType, targetInst) {\n if (topLevelType === 'topInput') {\n // In modern browsers (i.e., not IE8 or IE9), the input event is exactly\n // what we want so fall through here and trigger an abstract event\n return targetInst;\n }\n}\n\nfunction handleEventsForInputEventIE(topLevelType, target, targetInst) {\n if (topLevelType === 'topFocus') {\n // In IE8, we can capture almost all .value changes by adding a\n // propertychange handler and looking for events with propertyName\n // equal to 'value'\n // In IE9-11, propertychange fires for most input events but is buggy and\n // doesn't fire when text is deleted, but conveniently, selectionchange\n // appears to fire in all of the remaining cases so we catch those and\n // forward the event if the value has changed\n // In either case, we don't want to call the event handler if the value\n // is changed from JS so we redefine a setter for `.value` that updates\n // our activeElementValue variable, allowing us to ignore those changes\n //\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForValueChange();\n startWatchingForValueChange(target, targetInst);\n } else if (topLevelType === 'topBlur') {\n stopWatchingForValueChange();\n }\n}\n\n// For IE8 and IE9.\nfunction getTargetInstForInputEventIE(topLevelType, targetInst) {\n if (topLevelType === 'topSelectionChange' || topLevelType === 'topKeyUp' || topLevelType === 'topKeyDown') {\n // On the selectionchange event, the target is just document which isn't\n // helpful for us so just check activeElement instead.\n //\n // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire\n // propertychange on the first input event after setting `value` from a\n // script and fires only keydown, keypress, keyup. Catching keyup usually\n // gets it and catching keydown lets us fire an event for the first\n // keystroke if user does a key repeat (it'll be a little delayed: right\n // before the second keystroke). Other input methods (e.g., paste) seem to\n // fire selectionchange normally.\n if (activeElement && activeElement.value !== activeElementValue) {\n activeElementValue = activeElement.value;\n return activeElementInst;\n }\n }\n}\n\n/**\n * SECTION: handle `click` event\n */\nfunction shouldUseClickEvent(elem) {\n // Use the `click` event to detect changes to checkbox and radio inputs.\n // This approach works across all browsers, whereas `change` does not fire\n // until `blur` in IE8.\n return elem.nodeName && elem.nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');\n}\n\nfunction getTargetInstForClickEvent(topLevelType, targetInst) {\n if (topLevelType === 'topClick') {\n return targetInst;\n }\n}\n\nfunction handleControlledInputBlur(inst, node) {\n // TODO: In IE, inst is occasionally null. Why?\n if (inst == null) {\n return;\n }\n\n // Fiber and ReactDOM keep wrapper state in separate places\n var state = inst._wrapperState || node._wrapperState;\n\n if (!state || !state.controlled || node.type !== 'number') {\n return;\n }\n\n // If controlled, assign the value attribute to the current value on blur\n var value = '' + node.value;\n if (node.getAttribute('value') !== value) {\n node.setAttribute('value', value);\n }\n}\n\n/**\n * This plugin creates an `onChange` event that normalizes change events\n * across form elements. This event fires at a time when it's possible to\n * change the element's value without seeing a flicker.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - select\n */\nvar ChangeEventPlugin = {\n\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window;\n\n var getTargetInstFunc, handleEventFunc;\n if (shouldUseChangeEvent(targetNode)) {\n if (doesChangeEventBubble) {\n getTargetInstFunc = getTargetInstForChangeEvent;\n } else {\n handleEventFunc = handleEventsForChangeEventIE8;\n }\n } else if (isTextInputElement(targetNode)) {\n if (isInputEventSupported) {\n getTargetInstFunc = getTargetInstForInputEvent;\n } else {\n getTargetInstFunc = getTargetInstForInputEventIE;\n handleEventFunc = handleEventsForInputEventIE;\n }\n } else if (shouldUseClickEvent(targetNode)) {\n getTargetInstFunc = getTargetInstForClickEvent;\n }\n\n if (getTargetInstFunc) {\n var inst = getTargetInstFunc(topLevelType, targetInst);\n if (inst) {\n var event = SyntheticEvent.getPooled(eventTypes.change, inst, nativeEvent, nativeEventTarget);\n event.type = 'change';\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n }\n }\n\n if (handleEventFunc) {\n handleEventFunc(topLevelType, targetNode, targetInst);\n }\n\n // When blurring, set the value attribute for number inputs\n if (topLevelType === 'topBlur') {\n handleControlledInputBlur(targetInst, targetNode);\n }\n }\n\n};\n\nmodule.exports = ChangeEventPlugin;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ChangeEventPlugin.js\n// module id = 55\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar CallbackQueue = require('./CallbackQueue');\nvar PooledClass = require('./PooledClass');\nvar ReactFeatureFlags = require('./ReactFeatureFlags');\nvar ReactReconciler = require('./ReactReconciler');\nvar Transaction = require('./Transaction');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar dirtyComponents = [];\nvar updateBatchNumber = 0;\nvar asapCallbackQueue = CallbackQueue.getPooled();\nvar asapEnqueued = false;\n\nvar batchingStrategy = null;\n\nfunction ensureInjected() {\n !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching strategy') : _prodInvariant('123') : void 0;\n}\n\nvar NESTED_UPDATES = {\n initialize: function () {\n this.dirtyComponentsLength = dirtyComponents.length;\n },\n close: function () {\n if (this.dirtyComponentsLength !== dirtyComponents.length) {\n // Additional updates were enqueued by componentDidUpdate handlers or\n // similar; before our own UPDATE_QUEUEING wrapper closes, we want to run\n // these new updates so that if A's componentDidUpdate calls setState on\n // B, B will update before the callback A's updater provided when calling\n // setState.\n dirtyComponents.splice(0, this.dirtyComponentsLength);\n flushBatchedUpdates();\n } else {\n dirtyComponents.length = 0;\n }\n }\n};\n\nvar UPDATE_QUEUEING = {\n initialize: function () {\n this.callbackQueue.reset();\n },\n close: function () {\n this.callbackQueue.notifyAll();\n }\n};\n\nvar TRANSACTION_WRAPPERS = [NESTED_UPDATES, UPDATE_QUEUEING];\n\nfunction ReactUpdatesFlushTransaction() {\n this.reinitializeTransaction();\n this.dirtyComponentsLength = null;\n this.callbackQueue = CallbackQueue.getPooled();\n this.reconcileTransaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n /* useCreateElement */true);\n}\n\n_assign(ReactUpdatesFlushTransaction.prototype, Transaction, {\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n destructor: function () {\n this.dirtyComponentsLength = null;\n CallbackQueue.release(this.callbackQueue);\n this.callbackQueue = null;\n ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction);\n this.reconcileTransaction = null;\n },\n\n perform: function (method, scope, a) {\n // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`\n // with this transaction's wrappers around it.\n return Transaction.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, method, scope, a);\n }\n});\n\nPooledClass.addPoolingTo(ReactUpdatesFlushTransaction);\n\nfunction batchedUpdates(callback, a, b, c, d, e) {\n ensureInjected();\n return batchingStrategy.batchedUpdates(callback, a, b, c, d, e);\n}\n\n/**\n * Array comparator for ReactComponents by mount ordering.\n *\n * @param {ReactComponent} c1 first component you're comparing\n * @param {ReactComponent} c2 second component you're comparing\n * @return {number} Return value usable by Array.prototype.sort().\n */\nfunction mountOrderComparator(c1, c2) {\n return c1._mountOrder - c2._mountOrder;\n}\n\nfunction runBatchedUpdates(transaction) {\n var len = transaction.dirtyComponentsLength;\n !(len === dirtyComponents.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected flush transaction\\'s stored dirty-components length (%s) to match dirty-components array length (%s).', len, dirtyComponents.length) : _prodInvariant('124', len, dirtyComponents.length) : void 0;\n\n // Since reconciling a component higher in the owner hierarchy usually (not\n // always -- see shouldComponentUpdate()) will reconcile children, reconcile\n // them before their children by sorting the array.\n dirtyComponents.sort(mountOrderComparator);\n\n // Any updates enqueued while reconciling must be performed after this entire\n // batch. Otherwise, if dirtyComponents is [A, B] where A has children B and\n // C, B could update twice in a single batch if C's render enqueues an update\n // to B (since B would have already updated, we should skip it, and the only\n // way we can know to do so is by checking the batch counter).\n updateBatchNumber++;\n\n for (var i = 0; i < len; i++) {\n // If a component is unmounted before pending changes apply, it will still\n // be here, but we assume that it has cleared its _pendingCallbacks and\n // that performUpdateIfNecessary is a noop.\n var component = dirtyComponents[i];\n\n // If performUpdateIfNecessary happens to enqueue any new updates, we\n // shouldn't execute the callbacks until the next render happens, so\n // stash the callbacks first\n var callbacks = component._pendingCallbacks;\n component._pendingCallbacks = null;\n\n var markerName;\n if (ReactFeatureFlags.logTopLevelRenders) {\n var namedComponent = component;\n // Duck type TopLevelWrapper. This is probably always true.\n if (component._currentElement.type.isReactTopLevelWrapper) {\n namedComponent = component._renderedComponent;\n }\n markerName = 'React update: ' + namedComponent.getName();\n console.time(markerName);\n }\n\n ReactReconciler.performUpdateIfNecessary(component, transaction.reconcileTransaction, updateBatchNumber);\n\n if (markerName) {\n console.timeEnd(markerName);\n }\n\n if (callbacks) {\n for (var j = 0; j < callbacks.length; j++) {\n transaction.callbackQueue.enqueue(callbacks[j], component.getPublicInstance());\n }\n }\n }\n}\n\nvar flushBatchedUpdates = function () {\n // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents\n // array and perform any updates enqueued by mount-ready handlers (i.e.,\n // componentDidUpdate) but we need to check here too in order to catch\n // updates enqueued by setState callbacks and asap calls.\n while (dirtyComponents.length || asapEnqueued) {\n if (dirtyComponents.length) {\n var transaction = ReactUpdatesFlushTransaction.getPooled();\n transaction.perform(runBatchedUpdates, null, transaction);\n ReactUpdatesFlushTransaction.release(transaction);\n }\n\n if (asapEnqueued) {\n asapEnqueued = false;\n var queue = asapCallbackQueue;\n asapCallbackQueue = CallbackQueue.getPooled();\n queue.notifyAll();\n CallbackQueue.release(queue);\n }\n }\n};\n\n/**\n * Mark a component as needing a rerender, adding an optional callback to a\n * list of functions which will be executed once the rerender occurs.\n */\nfunction enqueueUpdate(component) {\n ensureInjected();\n\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (This is called by each top-level update\n // function, like setState, forceUpdate, etc.; creation and\n // destruction of top-level components is guarded in ReactMount.)\n\n if (!batchingStrategy.isBatchingUpdates) {\n batchingStrategy.batchedUpdates(enqueueUpdate, component);\n return;\n }\n\n dirtyComponents.push(component);\n if (component._updateBatchNumber == null) {\n component._updateBatchNumber = updateBatchNumber + 1;\n }\n}\n\n/**\n * Enqueue a callback to be run at the end of the current batching cycle. Throws\n * if no updates are currently being performed.\n */\nfunction asap(callback, context) {\n !batchingStrategy.isBatchingUpdates ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates.asap: Can\\'t enqueue an asap callback in a context whereupdates are not being batched.') : _prodInvariant('125') : void 0;\n asapCallbackQueue.enqueue(callback, context);\n asapEnqueued = true;\n}\n\nvar ReactUpdatesInjection = {\n injectReconcileTransaction: function (ReconcileTransaction) {\n !ReconcileTransaction ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : _prodInvariant('126') : void 0;\n ReactUpdates.ReactReconcileTransaction = ReconcileTransaction;\n },\n\n injectBatchingStrategy: function (_batchingStrategy) {\n !_batchingStrategy ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batching strategy') : _prodInvariant('127') : void 0;\n !(typeof _batchingStrategy.batchedUpdates === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : _prodInvariant('128') : void 0;\n !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : _prodInvariant('129') : void 0;\n batchingStrategy = _batchingStrategy;\n }\n};\n\nvar ReactUpdates = {\n /**\n * React references `ReactReconcileTransaction` using this property in order\n * to allow dependency injection.\n *\n * @internal\n */\n ReactReconcileTransaction: null,\n\n batchedUpdates: batchedUpdates,\n enqueueUpdate: enqueueUpdate,\n flushBatchedUpdates: flushBatchedUpdates,\n injection: ReactUpdatesInjection,\n asap: asap\n};\n\nmodule.exports = ReactUpdates;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactUpdates.js\n// module id = 56\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar PooledClass = require('./PooledClass');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * A specialized pseudo-event module to help keep track of components waiting to\n * be notified when their DOM representations are available for use.\n *\n * This implements `PooledClass`, so you should never need to instantiate this.\n * Instead, use `CallbackQueue.getPooled()`.\n *\n * @class ReactMountReady\n * @implements PooledClass\n * @internal\n */\n\nvar CallbackQueue = function () {\n function CallbackQueue(arg) {\n _classCallCheck(this, CallbackQueue);\n\n this._callbacks = null;\n this._contexts = null;\n this._arg = arg;\n }\n\n /**\n * Enqueues a callback to be invoked when `notifyAll` is invoked.\n *\n * @param {function} callback Invoked when `notifyAll` is invoked.\n * @param {?object} context Context to call `callback` with.\n * @internal\n */\n\n\n CallbackQueue.prototype.enqueue = function enqueue(callback, context) {\n this._callbacks = this._callbacks || [];\n this._callbacks.push(callback);\n this._contexts = this._contexts || [];\n this._contexts.push(context);\n };\n\n /**\n * Invokes all enqueued callbacks and clears the queue. This is invoked after\n * the DOM representation of a component has been created or updated.\n *\n * @internal\n */\n\n\n CallbackQueue.prototype.notifyAll = function notifyAll() {\n var callbacks = this._callbacks;\n var contexts = this._contexts;\n var arg = this._arg;\n if (callbacks && contexts) {\n !(callbacks.length === contexts.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0;\n this._callbacks = null;\n this._contexts = null;\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i].call(contexts[i], arg);\n }\n callbacks.length = 0;\n contexts.length = 0;\n }\n };\n\n CallbackQueue.prototype.checkpoint = function checkpoint() {\n return this._callbacks ? this._callbacks.length : 0;\n };\n\n CallbackQueue.prototype.rollback = function rollback(len) {\n if (this._callbacks && this._contexts) {\n this._callbacks.length = len;\n this._contexts.length = len;\n }\n };\n\n /**\n * Resets the internal queue.\n *\n * @internal\n */\n\n\n CallbackQueue.prototype.reset = function reset() {\n this._callbacks = null;\n this._contexts = null;\n };\n\n /**\n * `PooledClass` looks for this.\n */\n\n\n CallbackQueue.prototype.destructor = function destructor() {\n this.reset();\n };\n\n return CallbackQueue;\n}();\n\nmodule.exports = PooledClass.addPoolingTo(CallbackQueue);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/CallbackQueue.js\n// module id = 57\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar ReactFeatureFlags = {\n // When true, call console.time() before and .timeEnd() after each top-level\n // render (both initial renders and updates). Useful when looking at prod-mode\n // timeline profiles in Chrome, for example.\n logTopLevelRenders: false\n};\n\nmodule.exports = ReactFeatureFlags;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactFeatureFlags.js\n// module id = 58\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ReactRef = require('./ReactRef');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Helper to call ReactRef.attachRefs with this composite component, split out\n * to avoid allocations in the transaction mount-ready queue.\n */\nfunction attachRefs() {\n ReactRef.attachRefs(this, this._currentElement);\n}\n\nvar ReactReconciler = {\n\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?object} the containing host component instance\n * @param {?object} info about the host container\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID // 0 in production and for roots\n ) {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement, parentDebugID);\n }\n }\n var markup = internalInstance.mountComponent(transaction, hostParent, hostContainerInfo, context, parentDebugID);\n if (internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onMountComponent(internalInstance._debugID);\n }\n }\n return markup;\n },\n\n /**\n * Returns a value that can be passed to\n * ReactComponentEnvironment.replaceNodeWithMarkup.\n */\n getHostNode: function (internalInstance) {\n return internalInstance.getHostNode();\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function (internalInstance, safely) {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUnmountComponent(internalInstance._debugID);\n }\n }\n ReactRef.detachRefs(internalInstance, internalInstance._currentElement);\n internalInstance.unmountComponent(safely);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUnmountComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Update a component using a new element.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @internal\n */\n receiveComponent: function (internalInstance, nextElement, transaction, context) {\n var prevElement = internalInstance._currentElement;\n\n if (nextElement === prevElement && context === internalInstance._context) {\n // Since elements are immutable after the owner is rendered,\n // we can do a cheap identity compare here to determine if this is a\n // superfluous reconcile. It's possible for state to be mutable but such\n // change should trigger an update of the owner which would recreate\n // the element. We explicitly check for the existence of an owner since\n // it's possible for an element created outside a composite to be\n // deeply mutated and reused.\n\n // TODO: Bailing out early is just a perf optimization right?\n // TODO: Removing the return statement should affect correctness?\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, nextElement);\n }\n }\n\n var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement);\n\n if (refsChanged) {\n ReactRef.detachRefs(internalInstance, prevElement);\n }\n\n internalInstance.receiveComponent(nextElement, transaction, context);\n\n if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Flush any dirty changes in a component.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (internalInstance, transaction, updateBatchNumber) {\n if (internalInstance._updateBatchNumber !== updateBatchNumber) {\n // The component's enqueued batch number should always be the current\n // batch or the following one.\n process.env.NODE_ENV !== 'production' ? warning(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : void 0;\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, internalInstance._currentElement);\n }\n }\n internalInstance.performUpdateIfNecessary(transaction);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n }\n\n};\n\nmodule.exports = ReactReconciler;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactReconciler.js\n// module id = 59\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar ReactOwner = require('./ReactOwner');\n\nvar ReactRef = {};\n\nfunction attachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(component.getPublicInstance());\n } else {\n // Legacy ref\n ReactOwner.addComponentAsRefTo(component, ref, owner);\n }\n}\n\nfunction detachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(null);\n } else {\n // Legacy ref\n ReactOwner.removeComponentAsRefFrom(component, ref, owner);\n }\n}\n\nReactRef.attachRefs = function (instance, element) {\n if (element === null || typeof element !== 'object') {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n attachRef(ref, instance, element._owner);\n }\n};\n\nReactRef.shouldUpdateRefs = function (prevElement, nextElement) {\n // If either the owner or a `ref` has changed, make sure the newest owner\n // has stored a reference to `this`, and the previous owner (if different)\n // has forgotten the reference to `this`. We use the element instead\n // of the public this.props because the post processing cannot determine\n // a ref. The ref conceptually lives on the element.\n\n // TODO: Should this even be possible? The owner cannot change because\n // it's forbidden by shouldUpdateReactComponent. The ref can change\n // if you swap the keys of but not the refs. Reconsider where this check\n // is made. It probably belongs where the key checking and\n // instantiateReactComponent is done.\n\n var prevRef = null;\n var prevOwner = null;\n if (prevElement !== null && typeof prevElement === 'object') {\n prevRef = prevElement.ref;\n prevOwner = prevElement._owner;\n }\n\n var nextRef = null;\n var nextOwner = null;\n if (nextElement !== null && typeof nextElement === 'object') {\n nextRef = nextElement.ref;\n nextOwner = nextElement._owner;\n }\n\n return prevRef !== nextRef ||\n // If owner changes but we have an unchanged function ref, don't update refs\n typeof nextRef === 'string' && nextOwner !== prevOwner;\n};\n\nReactRef.detachRefs = function (instance, element) {\n if (element === null || typeof element !== 'object') {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n detachRef(ref, instance, element._owner);\n }\n};\n\nmodule.exports = ReactRef;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactRef.js\n// module id = 60\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * @param {?object} object\n * @return {boolean} True if `object` is a valid owner.\n * @final\n */\nfunction isValidOwner(object) {\n return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function');\n}\n\n/**\n * ReactOwners are capable of storing references to owned components.\n *\n * All components are capable of //being// referenced by owner components, but\n * only ReactOwner components are capable of //referencing// owned components.\n * The named reference is known as a \"ref\".\n *\n * Refs are available when mounted and updated during reconciliation.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return (\n *
\n * \n *
\n * );\n * },\n * handleClick: function() {\n * this.refs.custom.handleClick();\n * },\n * componentDidMount: function() {\n * this.refs.custom.initialize();\n * }\n * });\n *\n * Refs should rarely be used. When refs are used, they should only be done to\n * control data that is not handled by React's data flow.\n *\n * @class ReactOwner\n */\nvar ReactOwner = {\n /**\n * Adds a component by ref to an owner component.\n *\n * @param {ReactComponent} component Component to reference.\n * @param {string} ref Name by which to refer to the component.\n * @param {ReactOwner} owner Component on which to record the ref.\n * @final\n * @internal\n */\n addComponentAsRefTo: function (component, ref, owner) {\n !isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('119') : void 0;\n owner.attachRef(ref, component);\n },\n\n /**\n * Removes a component by ref from an owner component.\n *\n * @param {ReactComponent} component Component to dereference.\n * @param {string} ref Name of the ref to remove.\n * @param {ReactOwner} owner Component on which the ref is recorded.\n * @final\n * @internal\n */\n removeComponentAsRefFrom: function (component, ref, owner) {\n !isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('120') : void 0;\n var ownerPublicInstance = owner.getPublicInstance();\n // Check that `component`'s owner is still alive and that `component` is still the current ref\n // because we do not want to detach the ref if another component stole it.\n if (ownerPublicInstance && ownerPublicInstance.refs[ref] === component.getPublicInstance()) {\n owner.detachRef(ref);\n }\n }\n\n};\n\nmodule.exports = ReactOwner;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactOwner.js\n// module id = 61\n// module chunks = 0","/**\n * Copyright 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n// Trust the developer to only use ReactInstrumentation with a __DEV__ check\n\nvar debugTool = null;\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactDebugTool = require('./ReactDebugTool');\n debugTool = ReactDebugTool;\n}\n\nmodule.exports = { debugTool: debugTool };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactInstrumentation.js\n// module id = 62\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar OBSERVED_ERROR = {};\n\n/**\n * `Transaction` creates a black box that is able to wrap any method such that\n * certain invariants are maintained before and after the method is invoked\n * (Even if an exception is thrown while invoking the wrapped method). Whoever\n * instantiates a transaction can provide enforcers of the invariants at\n * creation time. The `Transaction` class itself will supply one additional\n * automatic invariant for you - the invariant that any transaction instance\n * should not be run while it is already being run. You would typically create a\n * single instance of a `Transaction` for reuse multiple times, that potentially\n * is used to wrap several different methods. Wrappers are extremely simple -\n * they only require implementing two methods.\n *\n *
\n *                       wrappers (injected at creation time)\n *                                      +        +\n *                                      |        |\n *                    +-----------------|--------|--------------+\n *                    |                 v        |              |\n *                    |      +---------------+   |              |\n *                    |   +--|    wrapper1   |---|----+         |\n *                    |   |  +---------------+   v    |         |\n *                    |   |          +-------------+  |         |\n *                    |   |     +----|   wrapper2  |--------+   |\n *                    |   |     |    +-------------+  |     |   |\n *                    |   |     |                     |     |   |\n *                    |   v     v                     v     v   | wrapper\n *                    | +---+ +---+   +---------+   +---+ +---+ | invariants\n * perform(anyMethod) | |   | |   |   |         |   |   | |   | | maintained\n * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | +---+ +---+   +---------+   +---+ +---+ |\n *                    |  initialize                    close    |\n *                    +-----------------------------------------+\n * 
\n *\n * Use cases:\n * - Preserving the input selection ranges before/after reconciliation.\n * Restoring selection even in the event of an unexpected error.\n * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n * while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n * reconciliation takes place in a worker thread.\n * - Invoking any collected `componentDidUpdate` callbacks after rendering new\n * content.\n * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n * to preserve the `scrollTop` (an automatic scroll aware DOM).\n * - (Future use case): Layout calculations before and after DOM updates.\n *\n * Transactional plugin API:\n * - A module that has an `initialize` method that returns any precomputation.\n * - and a `close` method that accepts the precomputation. `close` is invoked\n * when the wrapped process is completed, or has failed.\n *\n * @param {Array} transactionWrapper Wrapper modules\n * that implement `initialize` and `close`.\n * @return {Transaction} Single transaction for reuse in thread.\n *\n * @class Transaction\n */\nvar TransactionImpl = {\n /**\n * Sets up this instance so that it is prepared for collecting metrics. Does\n * so such that this setup method may be used on an instance that is already\n * initialized, in a way that does not consume additional memory upon reuse.\n * That can be useful if you decide to make your subclass of this mixin a\n * \"PooledClass\".\n */\n reinitializeTransaction: function () {\n this.transactionWrappers = this.getTransactionWrappers();\n if (this.wrapperInitData) {\n this.wrapperInitData.length = 0;\n } else {\n this.wrapperInitData = [];\n }\n this._isInTransaction = false;\n },\n\n _isInTransaction: false,\n\n /**\n * @abstract\n * @return {Array} Array of transaction wrappers.\n */\n getTransactionWrappers: null,\n\n isInTransaction: function () {\n return !!this._isInTransaction;\n },\n\n /**\n * Executes the function within a safety window. Use this for the top level\n * methods that result in large amounts of computation/mutations that would\n * need to be safety checked. The optional arguments helps prevent the need\n * to bind in many cases.\n *\n * @param {function} method Member of scope to call.\n * @param {Object} scope Scope to invoke from.\n * @param {Object?=} a Argument to pass to the method.\n * @param {Object?=} b Argument to pass to the method.\n * @param {Object?=} c Argument to pass to the method.\n * @param {Object?=} d Argument to pass to the method.\n * @param {Object?=} e Argument to pass to the method.\n * @param {Object?=} f Argument to pass to the method.\n *\n * @return {*} Return value from `method`.\n */\n perform: function (method, scope, a, b, c, d, e, f) {\n !!this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0;\n var errorThrown;\n var ret;\n try {\n this._isInTransaction = true;\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // one of these calls threw.\n errorThrown = true;\n this.initializeAll(0);\n ret = method.call(scope, a, b, c, d, e, f);\n errorThrown = false;\n } finally {\n try {\n if (errorThrown) {\n // If `method` throws, prefer to show that stack trace over any thrown\n // by invoking `closeAll`.\n try {\n this.closeAll(0);\n } catch (err) {}\n } else {\n // Since `method` didn't throw, we don't want to silence the exception\n // here.\n this.closeAll(0);\n }\n } finally {\n this._isInTransaction = false;\n }\n }\n return ret;\n },\n\n initializeAll: function (startIndex) {\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n try {\n // Catching errors makes debugging more difficult, so we start with the\n // OBSERVED_ERROR state before overwriting it with the real return value\n // of initialize -- if it's still set to OBSERVED_ERROR in the finally\n // block, it means wrapper.initialize threw.\n this.wrapperInitData[i] = OBSERVED_ERROR;\n this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n } finally {\n if (this.wrapperInitData[i] === OBSERVED_ERROR) {\n // The initializer for wrapper i threw an error; initialize the\n // remaining wrappers but silence any exceptions from them to ensure\n // that the first error is the one to bubble up.\n try {\n this.initializeAll(i + 1);\n } catch (err) {}\n }\n }\n }\n },\n\n /**\n * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n * them the respective return values of `this.transactionWrappers.init[i]`\n * (`close`rs that correspond to initializers that failed will not be\n * invoked).\n */\n closeAll: function (startIndex) {\n !this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : _prodInvariant('28') : void 0;\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n var initData = this.wrapperInitData[i];\n var errorThrown;\n try {\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // wrapper.close threw.\n errorThrown = true;\n if (initData !== OBSERVED_ERROR && wrapper.close) {\n wrapper.close.call(this, initData);\n }\n errorThrown = false;\n } finally {\n if (errorThrown) {\n // The closer for wrapper i threw an error; close the remaining\n // wrappers but silence any exceptions from them to ensure that the\n // first error is the one to bubble up.\n try {\n this.closeAll(i + 1);\n } catch (e) {}\n }\n }\n }\n this.wrapperInitData.length = 0;\n }\n};\n\nmodule.exports = TransactionImpl;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/Transaction.js\n// module id = 63\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Gets the target node from a native browser event by accounting for\n * inconsistencies in browser DOM APIs.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {DOMEventTarget} Target node.\n */\n\nfunction getEventTarget(nativeEvent) {\n var target = nativeEvent.target || nativeEvent.srcElement || window;\n\n // Normalize SVG element events #4963\n if (target.correspondingUseElement) {\n target = target.correspondingUseElement;\n }\n\n // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n // @see http://www.quirksmode.org/js/events_properties.html\n return target.nodeType === 3 ? target.parentNode : target;\n}\n\nmodule.exports = getEventTarget;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getEventTarget.js\n// module id = 64\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar useHasFeature;\nif (ExecutionEnvironment.canUseDOM) {\n useHasFeature = document.implementation && document.implementation.hasFeature &&\n // always returns true in newer browsers as per the standard.\n // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n document.implementation.hasFeature('', '') !== true;\n}\n\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nfunction isEventSupported(eventNameSuffix, capture) {\n if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n return false;\n }\n\n var eventName = 'on' + eventNameSuffix;\n var isSupported = eventName in document;\n\n if (!isSupported) {\n var element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof element[eventName] === 'function';\n }\n\n if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n // This is the only way to test support for the `wheel` event in IE9+.\n isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n }\n\n return isSupported;\n}\n\nmodule.exports = isEventSupported;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/isEventSupported.js\n// module id = 65\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * \n */\n\n'use strict';\n\n/**\n * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n */\n\nvar supportedInputTypes = {\n 'color': true,\n 'date': true,\n 'datetime': true,\n 'datetime-local': true,\n 'email': true,\n 'month': true,\n 'number': true,\n 'password': true,\n 'range': true,\n 'search': true,\n 'tel': true,\n 'text': true,\n 'time': true,\n 'url': true,\n 'week': true\n};\n\nfunction isTextInputElement(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n\n if (nodeName === 'input') {\n return !!supportedInputTypes[elem.type];\n }\n\n if (nodeName === 'textarea') {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = isTextInputElement;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/isTextInputElement.js\n// module id = 66\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Module that is injectable into `EventPluginHub`, that specifies a\n * deterministic ordering of `EventPlugin`s. A convenient way to reason about\n * plugins, without having to package every one of them. This is better than\n * having plugins be ordered in the same order that they are injected because\n * that ordering would be influenced by the packaging order.\n * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that\n * preventing default on events is convenient in `SimpleEventPlugin` handlers.\n */\n\nvar DefaultEventPluginOrder = ['ResponderEventPlugin', 'SimpleEventPlugin', 'TapEventPlugin', 'EnterLeaveEventPlugin', 'ChangeEventPlugin', 'SelectEventPlugin', 'BeforeInputEventPlugin'];\n\nmodule.exports = DefaultEventPluginOrder;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DefaultEventPluginOrder.js\n// module id = 67\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar EventPropagators = require('./EventPropagators');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar SyntheticMouseEvent = require('./SyntheticMouseEvent');\n\nvar eventTypes = {\n mouseEnter: {\n registrationName: 'onMouseEnter',\n dependencies: ['topMouseOut', 'topMouseOver']\n },\n mouseLeave: {\n registrationName: 'onMouseLeave',\n dependencies: ['topMouseOut', 'topMouseOver']\n }\n};\n\nvar EnterLeaveEventPlugin = {\n\n eventTypes: eventTypes,\n\n /**\n * For almost every interaction we care about, there will be both a top-level\n * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that\n * we do not extract duplicate events. However, moving the mouse into the\n * browser from outside will not fire a `mouseout` event. In this case, we use\n * the `mouseover` top-level event.\n */\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n if (topLevelType === 'topMouseOver' && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n return null;\n }\n if (topLevelType !== 'topMouseOut' && topLevelType !== 'topMouseOver') {\n // Must not be a mouse in or mouse out - ignoring.\n return null;\n }\n\n var win;\n if (nativeEventTarget.window === nativeEventTarget) {\n // `nativeEventTarget` is probably a window object.\n win = nativeEventTarget;\n } else {\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n var doc = nativeEventTarget.ownerDocument;\n if (doc) {\n win = doc.defaultView || doc.parentWindow;\n } else {\n win = window;\n }\n }\n\n var from;\n var to;\n if (topLevelType === 'topMouseOut') {\n from = targetInst;\n var related = nativeEvent.relatedTarget || nativeEvent.toElement;\n to = related ? ReactDOMComponentTree.getClosestInstanceFromNode(related) : null;\n } else {\n // Moving to a node from outside the window.\n from = null;\n to = targetInst;\n }\n\n if (from === to) {\n // Nothing pertains to our managed components.\n return null;\n }\n\n var fromNode = from == null ? win : ReactDOMComponentTree.getNodeFromInstance(from);\n var toNode = to == null ? win : ReactDOMComponentTree.getNodeFromInstance(to);\n\n var leave = SyntheticMouseEvent.getPooled(eventTypes.mouseLeave, from, nativeEvent, nativeEventTarget);\n leave.type = 'mouseleave';\n leave.target = fromNode;\n leave.relatedTarget = toNode;\n\n var enter = SyntheticMouseEvent.getPooled(eventTypes.mouseEnter, to, nativeEvent, nativeEventTarget);\n enter.type = 'mouseenter';\n enter.target = toNode;\n enter.relatedTarget = fromNode;\n\n EventPropagators.accumulateEnterLeaveDispatches(leave, enter, from, to);\n\n return [leave, enter];\n }\n\n};\n\nmodule.exports = EnterLeaveEventPlugin;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EnterLeaveEventPlugin.js\n// module id = 68\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = require('./SyntheticUIEvent');\nvar ViewportMetrics = require('./ViewportMetrics');\n\nvar getEventModifierState = require('./getEventModifierState');\n\n/**\n * @interface MouseEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar MouseEventInterface = {\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: getEventModifierState,\n button: function (event) {\n // Webkit, Firefox, IE9+\n // which: 1 2 3\n // button: 0 1 2 (standard)\n var button = event.button;\n if ('which' in event) {\n return button;\n }\n // IE<9\n // which: undefined\n // button: 0 0 0\n // button: 1 4 2 (onmouseup)\n return button === 2 ? 2 : button === 4 ? 1 : 0;\n },\n buttons: null,\n relatedTarget: function (event) {\n return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);\n },\n // \"Proprietary\" Interface.\n pageX: function (event) {\n return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft;\n },\n pageY: function (event) {\n return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\nmodule.exports = SyntheticMouseEvent;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticMouseEvent.js\n// module id = 69\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\nvar getEventTarget = require('./getEventTarget');\n\n/**\n * @interface UIEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar UIEventInterface = {\n view: function (event) {\n if (event.view) {\n return event.view;\n }\n\n var target = getEventTarget(event);\n if (target.window === target) {\n // target is a window object\n return target;\n }\n\n var doc = target.ownerDocument;\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n if (doc) {\n return doc.defaultView || doc.parentWindow;\n } else {\n return window;\n }\n },\n detail: function (event) {\n return event.detail || 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\nmodule.exports = SyntheticUIEvent;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticUIEvent.js\n// module id = 70\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ViewportMetrics = {\n\n currentScrollLeft: 0,\n\n currentScrollTop: 0,\n\n refreshScrollValues: function (scrollPosition) {\n ViewportMetrics.currentScrollLeft = scrollPosition.x;\n ViewportMetrics.currentScrollTop = scrollPosition.y;\n }\n\n};\n\nmodule.exports = ViewportMetrics;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ViewportMetrics.js\n// module id = 71\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * Translation from modifier key to the associated property in the event.\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers\n */\n\nvar modifierKeyToProp = {\n 'Alt': 'altKey',\n 'Control': 'ctrlKey',\n 'Meta': 'metaKey',\n 'Shift': 'shiftKey'\n};\n\n// IE8 does not implement getModifierState so we simply map it to the only\n// modifier keys exposed by the event itself, does not support Lock-keys.\n// Currently, all major browsers except Chrome seems to support Lock-keys.\nfunction modifierStateGetter(keyArg) {\n var syntheticEvent = this;\n var nativeEvent = syntheticEvent.nativeEvent;\n if (nativeEvent.getModifierState) {\n return nativeEvent.getModifierState(keyArg);\n }\n var keyProp = modifierKeyToProp[keyArg];\n return keyProp ? !!nativeEvent[keyProp] : false;\n}\n\nfunction getEventModifierState(nativeEvent) {\n return modifierStateGetter;\n}\n\nmodule.exports = getEventModifierState;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getEventModifierState.js\n// module id = 72\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMProperty = require('./DOMProperty');\n\nvar MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;\nvar HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;\nvar HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE;\nvar HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;\nvar HAS_OVERLOADED_BOOLEAN_VALUE = DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE;\n\nvar HTMLDOMPropertyConfig = {\n isCustomAttribute: RegExp.prototype.test.bind(new RegExp('^(data|aria)-[' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$')),\n Properties: {\n /**\n * Standard Properties\n */\n accept: 0,\n acceptCharset: 0,\n accessKey: 0,\n action: 0,\n allowFullScreen: HAS_BOOLEAN_VALUE,\n allowTransparency: 0,\n alt: 0,\n // specifies target context for links with `preload` type\n as: 0,\n async: HAS_BOOLEAN_VALUE,\n autoComplete: 0,\n // autoFocus is polyfilled/normalized by AutoFocusUtils\n // autoFocus: HAS_BOOLEAN_VALUE,\n autoPlay: HAS_BOOLEAN_VALUE,\n capture: HAS_BOOLEAN_VALUE,\n cellPadding: 0,\n cellSpacing: 0,\n charSet: 0,\n challenge: 0,\n checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n cite: 0,\n classID: 0,\n className: 0,\n cols: HAS_POSITIVE_NUMERIC_VALUE,\n colSpan: 0,\n content: 0,\n contentEditable: 0,\n contextMenu: 0,\n controls: HAS_BOOLEAN_VALUE,\n coords: 0,\n crossOrigin: 0,\n data: 0, // For `` acts as `src`.\n dateTime: 0,\n 'default': HAS_BOOLEAN_VALUE,\n defer: HAS_BOOLEAN_VALUE,\n dir: 0,\n disabled: HAS_BOOLEAN_VALUE,\n download: HAS_OVERLOADED_BOOLEAN_VALUE,\n draggable: 0,\n encType: 0,\n form: 0,\n formAction: 0,\n formEncType: 0,\n formMethod: 0,\n formNoValidate: HAS_BOOLEAN_VALUE,\n formTarget: 0,\n frameBorder: 0,\n headers: 0,\n height: 0,\n hidden: HAS_BOOLEAN_VALUE,\n high: 0,\n href: 0,\n hrefLang: 0,\n htmlFor: 0,\n httpEquiv: 0,\n icon: 0,\n id: 0,\n inputMode: 0,\n integrity: 0,\n is: 0,\n keyParams: 0,\n keyType: 0,\n kind: 0,\n label: 0,\n lang: 0,\n list: 0,\n loop: HAS_BOOLEAN_VALUE,\n low: 0,\n manifest: 0,\n marginHeight: 0,\n marginWidth: 0,\n max: 0,\n maxLength: 0,\n media: 0,\n mediaGroup: 0,\n method: 0,\n min: 0,\n minLength: 0,\n // Caution; `option.selected` is not updated if `select.multiple` is\n // disabled with `removeAttribute`.\n multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n name: 0,\n nonce: 0,\n noValidate: HAS_BOOLEAN_VALUE,\n open: HAS_BOOLEAN_VALUE,\n optimum: 0,\n pattern: 0,\n placeholder: 0,\n playsInline: HAS_BOOLEAN_VALUE,\n poster: 0,\n preload: 0,\n profile: 0,\n radioGroup: 0,\n readOnly: HAS_BOOLEAN_VALUE,\n referrerPolicy: 0,\n rel: 0,\n required: HAS_BOOLEAN_VALUE,\n reversed: HAS_BOOLEAN_VALUE,\n role: 0,\n rows: HAS_POSITIVE_NUMERIC_VALUE,\n rowSpan: HAS_NUMERIC_VALUE,\n sandbox: 0,\n scope: 0,\n scoped: HAS_BOOLEAN_VALUE,\n scrolling: 0,\n seamless: HAS_BOOLEAN_VALUE,\n selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n shape: 0,\n size: HAS_POSITIVE_NUMERIC_VALUE,\n sizes: 0,\n span: HAS_POSITIVE_NUMERIC_VALUE,\n spellCheck: 0,\n src: 0,\n srcDoc: 0,\n srcLang: 0,\n srcSet: 0,\n start: HAS_NUMERIC_VALUE,\n step: 0,\n style: 0,\n summary: 0,\n tabIndex: 0,\n target: 0,\n title: 0,\n // Setting .type throws on non- tags\n type: 0,\n useMap: 0,\n value: 0,\n width: 0,\n wmode: 0,\n wrap: 0,\n\n /**\n * RDFa Properties\n */\n about: 0,\n datatype: 0,\n inlist: 0,\n prefix: 0,\n // property is also supported for OpenGraph in meta tags.\n property: 0,\n resource: 0,\n 'typeof': 0,\n vocab: 0,\n\n /**\n * Non-standard Properties\n */\n // autoCapitalize and autoCorrect are supported in Mobile Safari for\n // keyboard hints.\n autoCapitalize: 0,\n autoCorrect: 0,\n // autoSave allows WebKit/Blink to persist values of input fields on page reloads\n autoSave: 0,\n // color is for Safari mask-icon link\n color: 0,\n // itemProp, itemScope, itemType are for\n // Microdata support. See http://schema.org/docs/gs.html\n itemProp: 0,\n itemScope: HAS_BOOLEAN_VALUE,\n itemType: 0,\n // itemID and itemRef are for Microdata support as well but\n // only specified in the WHATWG spec document. See\n // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api\n itemID: 0,\n itemRef: 0,\n // results show looking glass icon and recent searches on input\n // search fields in WebKit/Blink\n results: 0,\n // IE-only attribute that specifies security restrictions on an iframe\n // as an alternative to the sandbox attribute on IE<10\n security: 0,\n // IE-only attribute that controls focus behavior\n unselectable: 0\n },\n DOMAttributeNames: {\n acceptCharset: 'accept-charset',\n className: 'class',\n htmlFor: 'for',\n httpEquiv: 'http-equiv'\n },\n DOMPropertyNames: {},\n DOMMutationMethods: {\n value: function (node, value) {\n if (value == null) {\n return node.removeAttribute('value');\n }\n\n // Number inputs get special treatment due to some edge cases in\n // Chrome. Let everything else assign the value attribute as normal.\n // https://github.com/facebook/react/issues/7253#issuecomment-236074326\n if (node.type !== 'number' || node.hasAttribute('value') === false) {\n node.setAttribute('value', '' + value);\n } else if (node.validity && !node.validity.badInput && node.ownerDocument.activeElement !== node) {\n // Don't assign an attribute if validation reports bad\n // input. Chrome will clear the value. Additionally, don't\n // operate on inputs that have focus, otherwise Chrome might\n // strip off trailing decimal places and cause the user's\n // cursor position to jump to the beginning of the input.\n //\n // In ReactDOMInput, we have an onBlur event that will trigger\n // this function again when focus is lost.\n node.setAttribute('value', '' + value);\n }\n }\n }\n};\n\nmodule.exports = HTMLDOMPropertyConfig;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/HTMLDOMPropertyConfig.js\n// module id = 73\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMChildrenOperations = require('./DOMChildrenOperations');\nvar ReactDOMIDOperations = require('./ReactDOMIDOperations');\n\n/**\n * Abstracts away all functionality of the reconciler that requires knowledge of\n * the browser context. TODO: These callers should be refactored to avoid the\n * need for this injection.\n */\nvar ReactComponentBrowserEnvironment = {\n\n processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,\n\n replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup\n\n};\n\nmodule.exports = ReactComponentBrowserEnvironment;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactComponentBrowserEnvironment.js\n// module id = 74\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar Danger = require('./Danger');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\nvar setInnerHTML = require('./setInnerHTML');\nvar setTextContent = require('./setTextContent');\n\nfunction getNodeAfter(parentNode, node) {\n // Special case for text components, which return [open, close] comments\n // from getHostNode.\n if (Array.isArray(node)) {\n node = node[1];\n }\n return node ? node.nextSibling : parentNode.firstChild;\n}\n\n/**\n * Inserts `childNode` as a child of `parentNode` at the `index`.\n *\n * @param {DOMElement} parentNode Parent node in which to insert.\n * @param {DOMElement} childNode Child node to insert.\n * @param {number} index Index at which to insert the child.\n * @internal\n */\nvar insertChildAt = createMicrosoftUnsafeLocalFunction(function (parentNode, childNode, referenceNode) {\n // We rely exclusively on `insertBefore(node, null)` instead of also using\n // `appendChild(node)`. (Using `undefined` is not allowed by all browsers so\n // we are careful to use `null`.)\n parentNode.insertBefore(childNode, referenceNode);\n});\n\nfunction insertLazyTreeChildAt(parentNode, childTree, referenceNode) {\n DOMLazyTree.insertTreeBefore(parentNode, childTree, referenceNode);\n}\n\nfunction moveChild(parentNode, childNode, referenceNode) {\n if (Array.isArray(childNode)) {\n moveDelimitedText(parentNode, childNode[0], childNode[1], referenceNode);\n } else {\n insertChildAt(parentNode, childNode, referenceNode);\n }\n}\n\nfunction removeChild(parentNode, childNode) {\n if (Array.isArray(childNode)) {\n var closingComment = childNode[1];\n childNode = childNode[0];\n removeDelimitedText(parentNode, childNode, closingComment);\n parentNode.removeChild(closingComment);\n }\n parentNode.removeChild(childNode);\n}\n\nfunction moveDelimitedText(parentNode, openingComment, closingComment, referenceNode) {\n var node = openingComment;\n while (true) {\n var nextNode = node.nextSibling;\n insertChildAt(parentNode, node, referenceNode);\n if (node === closingComment) {\n break;\n }\n node = nextNode;\n }\n}\n\nfunction removeDelimitedText(parentNode, startNode, closingComment) {\n while (true) {\n var node = startNode.nextSibling;\n if (node === closingComment) {\n // The closing comment is removed by ReactMultiChild.\n break;\n } else {\n parentNode.removeChild(node);\n }\n }\n}\n\nfunction replaceDelimitedText(openingComment, closingComment, stringText) {\n var parentNode = openingComment.parentNode;\n var nodeAfterComment = openingComment.nextSibling;\n if (nodeAfterComment === closingComment) {\n // There are no text nodes between the opening and closing comments; insert\n // a new one if stringText isn't empty.\n if (stringText) {\n insertChildAt(parentNode, document.createTextNode(stringText), nodeAfterComment);\n }\n } else {\n if (stringText) {\n // Set the text content of the first node after the opening comment, and\n // remove all following nodes up until the closing comment.\n setTextContent(nodeAfterComment, stringText);\n removeDelimitedText(parentNode, nodeAfterComment, closingComment);\n } else {\n removeDelimitedText(parentNode, openingComment, closingComment);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID,\n type: 'replace text',\n payload: stringText\n });\n }\n}\n\nvar dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup;\nif (process.env.NODE_ENV !== 'production') {\n dangerouslyReplaceNodeWithMarkup = function (oldChild, markup, prevInstance) {\n Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup);\n if (prevInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: prevInstance._debugID,\n type: 'replace with',\n payload: markup.toString()\n });\n } else {\n var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n if (nextInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: nextInstance._debugID,\n type: 'mount',\n payload: markup.toString()\n });\n }\n }\n };\n}\n\n/**\n * Operations for updating with DOM children.\n */\nvar DOMChildrenOperations = {\n\n dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup,\n\n replaceDelimitedText: replaceDelimitedText,\n\n /**\n * Updates a component's children by processing a series of updates. The\n * update configurations are each expected to have a `parentNode` property.\n *\n * @param {array} updates List of update configurations.\n * @internal\n */\n processUpdates: function (parentNode, updates) {\n if (process.env.NODE_ENV !== 'production') {\n var parentNodeDebugID = ReactDOMComponentTree.getInstanceFromNode(parentNode)._debugID;\n }\n\n for (var k = 0; k < updates.length; k++) {\n var update = updates[k];\n switch (update.type) {\n case 'INSERT_MARKUP':\n insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'insert child',\n payload: { toIndex: update.toIndex, content: update.content.toString() }\n });\n }\n break;\n case 'MOVE_EXISTING':\n moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'move child',\n payload: { fromIndex: update.fromIndex, toIndex: update.toIndex }\n });\n }\n break;\n case 'SET_MARKUP':\n setInnerHTML(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'replace children',\n payload: update.content.toString()\n });\n }\n break;\n case 'TEXT_CONTENT':\n setTextContent(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'replace text',\n payload: update.content.toString()\n });\n }\n break;\n case 'REMOVE_NODE':\n removeChild(parentNode, update.fromNode);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'remove child',\n payload: { fromIndex: update.fromIndex }\n });\n }\n break;\n }\n }\n }\n\n};\n\nmodule.exports = DOMChildrenOperations;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMChildrenOperations.js\n// module id = 75\n// module chunks = 0","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMNamespaces = require('./DOMNamespaces');\nvar setInnerHTML = require('./setInnerHTML');\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\nvar setTextContent = require('./setTextContent');\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\n/**\n * In IE (8-11) and Edge, appending nodes with no children is dramatically\n * faster than appending a full subtree, so we essentially queue up the\n * .appendChild calls here and apply them so each node is added to its parent\n * before any children are added.\n *\n * In other browsers, doing so is slower or neutral compared to the other order\n * (in Firefox, twice as slow) so we only do this inversion in IE.\n *\n * See https://github.com/spicyj/innerhtml-vs-createelement-vs-clonenode.\n */\nvar enableLazy = typeof document !== 'undefined' && typeof document.documentMode === 'number' || typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && /\\bEdge\\/\\d/.test(navigator.userAgent);\n\nfunction insertTreeChildren(tree) {\n if (!enableLazy) {\n return;\n }\n var node = tree.node;\n var children = tree.children;\n if (children.length) {\n for (var i = 0; i < children.length; i++) {\n insertTreeBefore(node, children[i], null);\n }\n } else if (tree.html != null) {\n setInnerHTML(node, tree.html);\n } else if (tree.text != null) {\n setTextContent(node, tree.text);\n }\n}\n\nvar insertTreeBefore = createMicrosoftUnsafeLocalFunction(function (parentNode, tree, referenceNode) {\n // DocumentFragments aren't actually part of the DOM after insertion so\n // appending children won't update the DOM. We need to ensure the fragment\n // is properly populated first, breaking out of our lazy approach for just\n // this level. Also, some plugins (like Flash Player) will read\n // nodes immediately upon insertion into the DOM, so \n // must also be populated prior to insertion into the DOM.\n if (tree.node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE || tree.node.nodeType === ELEMENT_NODE_TYPE && tree.node.nodeName.toLowerCase() === 'object' && (tree.node.namespaceURI == null || tree.node.namespaceURI === DOMNamespaces.html)) {\n insertTreeChildren(tree);\n parentNode.insertBefore(tree.node, referenceNode);\n } else {\n parentNode.insertBefore(tree.node, referenceNode);\n insertTreeChildren(tree);\n }\n});\n\nfunction replaceChildWithTree(oldNode, newTree) {\n oldNode.parentNode.replaceChild(newTree.node, oldNode);\n insertTreeChildren(newTree);\n}\n\nfunction queueChild(parentTree, childTree) {\n if (enableLazy) {\n parentTree.children.push(childTree);\n } else {\n parentTree.node.appendChild(childTree.node);\n }\n}\n\nfunction queueHTML(tree, html) {\n if (enableLazy) {\n tree.html = html;\n } else {\n setInnerHTML(tree.node, html);\n }\n}\n\nfunction queueText(tree, text) {\n if (enableLazy) {\n tree.text = text;\n } else {\n setTextContent(tree.node, text);\n }\n}\n\nfunction toString() {\n return this.node.nodeName;\n}\n\nfunction DOMLazyTree(node) {\n return {\n node: node,\n children: [],\n html: null,\n text: null,\n toString: toString\n };\n}\n\nDOMLazyTree.insertTreeBefore = insertTreeBefore;\nDOMLazyTree.replaceChildWithTree = replaceChildWithTree;\nDOMLazyTree.queueChild = queueChild;\nDOMLazyTree.queueHTML = queueHTML;\nDOMLazyTree.queueText = queueText;\n\nmodule.exports = DOMLazyTree;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMLazyTree.js\n// module id = 76\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar DOMNamespaces = {\n html: 'http://www.w3.org/1999/xhtml',\n mathml: 'http://www.w3.org/1998/Math/MathML',\n svg: 'http://www.w3.org/2000/svg'\n};\n\nmodule.exports = DOMNamespaces;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMNamespaces.js\n// module id = 77\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar DOMNamespaces = require('./DOMNamespaces');\n\nvar WHITESPACE_TEST = /^[ \\r\\n\\t\\f]/;\nvar NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/;\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\n\n// SVG temp container for IE lacking innerHTML\nvar reusableSVGContainer;\n\n/**\n * Set the innerHTML property of a node, ensuring that whitespace is preserved\n * even in IE8.\n *\n * @param {DOMElement} node\n * @param {string} html\n * @internal\n */\nvar setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {\n // IE does not have innerHTML for SVG nodes, so instead we inject the\n // new markup in a temp node and then move the child nodes across into\n // the target node\n if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) {\n reusableSVGContainer = reusableSVGContainer || document.createElement('div');\n reusableSVGContainer.innerHTML = '' + html + '';\n var svgNode = reusableSVGContainer.firstChild;\n while (svgNode.firstChild) {\n node.appendChild(svgNode.firstChild);\n }\n } else {\n node.innerHTML = html;\n }\n});\n\nif (ExecutionEnvironment.canUseDOM) {\n // IE8: When updating a just created node with innerHTML only leading\n // whitespace is removed. When updating an existing node with innerHTML\n // whitespace in root TextNodes is also collapsed.\n // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n\n // Feature detection; only IE8 is known to behave improperly like this.\n var testElement = document.createElement('div');\n testElement.innerHTML = ' ';\n if (testElement.innerHTML === '') {\n setInnerHTML = function (node, html) {\n // Magic theory: IE8 supposedly differentiates between added and updated\n // nodes when processing innerHTML, innerHTML on updated nodes suffers\n // from worse whitespace behavior. Re-adding a node like this triggers\n // the initial and more favorable whitespace behavior.\n // TODO: What to do on a detached node?\n if (node.parentNode) {\n node.parentNode.replaceChild(node, node);\n }\n\n // We also implement a workaround for non-visible tags disappearing into\n // thin air on IE8, this only happens if there is no visible text\n // in-front of the non-visible tags. Piggyback on the whitespace fix\n // and simply check if any non-visible tags appear in the source.\n if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {\n // Recover leading whitespace by temporarily prepending any character.\n // \\uFEFF has the potential advantage of being zero-width/invisible.\n // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode\n // in hopes that this is preserved even if \"\\uFEFF\" is transformed to\n // the actual Unicode character (by Babel, for example).\n // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216\n node.innerHTML = String.fromCharCode(0xFEFF) + html;\n\n // deleteData leaves an empty `TextNode` which offsets the index of all\n // children. Definitely want to avoid this.\n var textNode = node.firstChild;\n if (textNode.data.length === 1) {\n node.removeChild(textNode);\n } else {\n textNode.deleteData(0, 1);\n }\n } else {\n node.innerHTML = html;\n }\n };\n }\n testElement = null;\n}\n\nmodule.exports = setInnerHTML;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/setInnerHTML.js\n// module id = 78\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n/* globals MSApp */\n\n'use strict';\n\n/**\n * Create a function which has 'unsafe' privileges (required by windows8 apps)\n */\n\nvar createMicrosoftUnsafeLocalFunction = function (func) {\n if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {\n return function (arg0, arg1, arg2, arg3) {\n MSApp.execUnsafeLocalFunction(function () {\n return func(arg0, arg1, arg2, arg3);\n });\n };\n } else {\n return func;\n }\n};\n\nmodule.exports = createMicrosoftUnsafeLocalFunction;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/createMicrosoftUnsafeLocalFunction.js\n// module id = 79\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar escapeTextContentForBrowser = require('./escapeTextContentForBrowser');\nvar setInnerHTML = require('./setInnerHTML');\n\n/**\n * Set the textContent property of a node, ensuring that whitespace is preserved\n * even in IE8. innerText is a poor substitute for textContent and, among many\n * issues, inserts
instead of the literal newline chars. innerHTML behaves\n * as it should.\n *\n * @param {DOMElement} node\n * @param {string} text\n * @internal\n */\nvar setTextContent = function (node, text) {\n if (text) {\n var firstChild = node.firstChild;\n\n if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {\n firstChild.nodeValue = text;\n return;\n }\n }\n node.textContent = text;\n};\n\nif (ExecutionEnvironment.canUseDOM) {\n if (!('textContent' in document.documentElement)) {\n setTextContent = function (node, text) {\n if (node.nodeType === 3) {\n node.nodeValue = text;\n return;\n }\n setInnerHTML(node, escapeTextContentForBrowser(text));\n };\n }\n}\n\nmodule.exports = setTextContent;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/setTextContent.js\n// module id = 80\n// module chunks = 0","/**\n * Copyright 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * Based on the escape-html library, which is used under the MIT License below:\n *\n * Copyright (c) 2012-2013 TJ Holowaychuk\n * Copyright (c) 2015 Andreas Lubbe\n * Copyright (c) 2015 Tiancheng \"Timothy\" Gu\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * 'Software'), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\n */\n\n'use strict';\n\n// code copied and modified from escape-html\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n // \"\n escape = '"';\n break;\n case 38:\n // &\n escape = '&';\n break;\n case 39:\n // '\n escape = '''; // modified from escape-html; used to be '''\n break;\n case 60:\n // <\n escape = '<';\n break;\n case 62:\n // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index ? html + str.substring(lastIndex, index) : html;\n}\n// end code copied and modified from escape-html\n\n\n/**\n * Escapes text to prevent scripting attacks.\n *\n * @param {*} text Text value to escape.\n * @return {string} An escaped string.\n */\nfunction escapeTextContentForBrowser(text) {\n if (typeof text === 'boolean' || typeof text === 'number') {\n // this shortcircuit helps perf for types that we know will never have\n // special characters, especially given that this function is used often\n // for numeric dom ids.\n return '' + text;\n }\n return escapeHtml(text);\n}\n\nmodule.exports = escapeTextContentForBrowser;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/escapeTextContentForBrowser.js\n// module id = 81\n// module chunks = 0","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar createNodesFromMarkup = require('fbjs/lib/createNodesFromMarkup');\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\n\nvar Danger = {\n\n /**\n * Replaces a node with a string of markup at its current position within its\n * parent. The markup must render into a single root node.\n *\n * @param {DOMElement} oldChild Child node to replace.\n * @param {string} markup Markup to render in place of the child node.\n * @internal\n */\n dangerouslyReplaceNodeWithMarkup: function (oldChild, markup) {\n !ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('56') : void 0;\n !markup ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : _prodInvariant('57') : void 0;\n !(oldChild.nodeName !== 'HTML') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString().') : _prodInvariant('58') : void 0;\n\n if (typeof markup === 'string') {\n var newChild = createNodesFromMarkup(markup, emptyFunction)[0];\n oldChild.parentNode.replaceChild(newChild, oldChild);\n } else {\n DOMLazyTree.replaceChildWithTree(oldChild, markup);\n }\n }\n\n};\n\nmodule.exports = Danger;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/Danger.js\n// module id = 82\n// module chunks = 0","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n/*eslint-disable fb-www/unsafe-html*/\n\nvar ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar createArrayFromMixed = require('./createArrayFromMixed');\nvar getMarkupWrap = require('./getMarkupWrap');\nvar invariant = require('./invariant');\n\n/**\n * Dummy container used to render all markup.\n */\nvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Pattern used by `getNodeName`.\n */\nvar nodeNamePattern = /^\\s*<(\\w+)/;\n\n/**\n * Extracts the `nodeName` of the first element in a string of markup.\n *\n * @param {string} markup String of markup.\n * @return {?string} Node name of the supplied markup.\n */\nfunction getNodeName(markup) {\n var nodeNameMatch = markup.match(nodeNamePattern);\n return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n}\n\n/**\n * Creates an array containing the nodes rendered from the supplied markup. The\n * optionally supplied `handleScript` function will be invoked once for each\n * - + diff --git a/docker-src/webui/sources/dist/info.json b/docker-src/webui/sources/dist/info.json index ceffc66..f0281c7 100644 --- a/docker-src/webui/sources/dist/info.json +++ b/docker-src/webui/sources/dist/info.json @@ -1,9 +1,9 @@ { "build": { - "ciBuildUrl": "https://jenkins.metasfresh.com/job/metasfresh-webui-frontend/job/release/24/", - "ciBuildNo": "24", + "ciBuildUrl": "https://jenkins.metasfresh.com/job/metasfresh-webui-frontend/job/release/27/", + "ciBuildNo": "27", "ciJobName": "metasfresh-webui-frontend/release", - "ciBuildTag": "jenkins-metasfresh-webui-frontend-release-24" - "ciGitSHA1": "e4defa6cf65a02aff0915500ecca69ebb91d1322" + "ciBuildTag": "jenkins-metasfresh-webui-frontend-release-27" + "ciGitSHA1": "7d92cda8faa04b9c6cdab087c73886941a447bcc" } } \ No newline at end of file diff --git a/docker-src/webui/sources/dist/src/assets/css/fonts/metasfresh.eot b/docker-src/webui/sources/dist/src/assets/css/fonts/metasfresh.eot index 963eb426dae22729c7ea6fc15b074f62d31a2b88..15b4807a5ad8fb908096e3b93c0f86e17cea7507 100644 GIT binary patch delta 1082 zcma)5KTH!*82{e=dGGc5?%t(6+CnTs5vl=7PoQ8F&es+-YK2OYo=8H{mY(}BgL6Y;yY1kf5C?(X}3|Gt;^-aWgyGf8(`fB|=v zX0#=Dt+IN4Ir^e>4Zw{7z_H8Y6PF+l6d+w$-A;MwT}1iqnfte%dJ9PaO#?XjKA+1@ z1)sQ&ko$s9CXav?Q*;30V1FV%TPT`kJ%Rl?_77&}CbQ<}$T)zyf_-r|Tbzd#*g}37 z`?fpT*<8Aky$;ax0kP-vbBl$m7YeVT8&X98r3eIN_*B;1r5p0xPY5aq0Bj8xFYbR! z>tu{ zf+e|#$D%RoiiPhu?kp1xs93a0y$Q({##&^EnWI)9WLZ{ohm;-7ScC%BsLB4uODd~^ x^4snpVJ@Vh7Y0ikJ*PA`-8)#`>)BQ;eR^^6UXI<(P3ETO3#FaDGr>bY*DoZMly(3B delta 634 zcmZvZL1+^}6o%iM-JRL&cB3KLO(_x*tJ&5x*)*Hoq)^d=R`FC61A?F--MWFs6jMuz zVCcm|sg)3Vlj5<6heAB51#dlwdJv(4c&WEs1d-l?Q+sJan8)z_Z+Lt&^Ru#fmyTos znpT^-;>OzgUi;#5^x61x0P8jYoVs%9@)Y<$IZw8CGc7C6Q~BQ9(rotJZvj9Q0n7p4 zE6=F)&mVd3J1^JgfjCGc0E}=x5m?ho<>gOu{oMAgjGwGVv<_ZqRtXO{q7ncIEJdH$QDv?Bm-4Iv+ ziN>jtWlvPcTf) z44Qg`Ms&((lB+uTL$#c7plU{A#5U+LMNyXVCPAW3F$Jj@kgtpXB(p&z=}|nc*nz6 - - + + diff --git a/docker-src/webui/sources/dist/src/assets/css/fonts/metasfresh.ttf b/docker-src/webui/sources/dist/src/assets/css/fonts/metasfresh.ttf index 40746d15d2461dbef7307e19b22a727b13ca2514..a5803e0490abd31db8279ace935afebe1646fac9 100644 GIT binary patch delta 1080 zcma)5O-vI(6n?WmGqc;-olU#6g;<0l6a$o2evJYe0TZLfgYjfE6{;lx0jZ{XaPeeJ zNR0O8$+HJzQoR|kdeDOqq6ZJ&^}xlXC*#{~37|E4*xmQO?|t8UnR#2i^zuqK5CE`X z6;wDkJ$?Snt>@(n0NFUA`%X?yO+x`FK&JYrJMCq*5arkAZ(n`lEvEo94WRp7A)lKK zJ6NxLJsu+sDmjM{$`+K z{cZ#Gl@o{^A&98?I#hR2E`+12F4gNkNQACY72dsj1T>)l5pc z9p*f2bBYj4Qr+Noz^lBS`8<^oo@xZvOm{qOZlEXA|Ma|P24V{z!V~~rx_{vR*cFx_(Y?#!?Y(#Mp*5x`u~xxS zTqNSLxP8jTcLGnAi3U_W7Eo`(vW2l08D`eFZG>&xZtjq>qZxy+VUJtvZ@i>3D5%Ju v5Mf!!Kpza1+j|dc*-YP1f0ZmC!v>^~gZ^>6(GI8KWZ delta 632 zcmZvZO=uHA6vyA2ot@e2cB3KLq!bB>)og1%&1N?#RP>-xghKEmAczvvts7`eF*T$Y zqZbdQC>p$pXAuuVylKH(4@EtQpr9v@xd-LuXH)DT4=0@a*HMOfOpysd961Wg&O$w*){bfH~&5wRx@e z>4T_!7u)efK*xy;fFZ$0yykLOeD4AdmGUPK#`QU>Ar5i_kCdBX?u8XMy-~a>-D`44^cHFRR%jR)A&Yeg&Vi%kf z=oFo>5#k}vCJ!gXDmqp^Y}pAj;h5PMt2iFbMn|jIS@9`K1&PWvB2$%Ll(-Lx&U36P z$rRVU(J;EzXn5ySLu9?N3SlwbuMt%Fxe1>vq00P-RmQ};;#FX;;LQI7gUrmJX@pqF zV4Nj{s$JMs%ZImB%}A73VYW|^DhggENVGCnkx`#=f$m7={7BN%xLx9&DNuH0z1@3{S6 KxfyNG-~0pe#(h=* diff --git a/docker-src/webui/sources/dist/src/assets/css/fonts/metasfresh.woff b/docker-src/webui/sources/dist/src/assets/css/fonts/metasfresh.woff index 8226f0517055843986cde3ddfd6466a15efad662..c7a2be873c82ea407e9ca9e4456447250bea70d8 100644 GIT binary patch delta 8118 zcmV;nA4%Y-KA=GqcTYw}PgGP-001DM01E&B001wrkrX0-9LWFxDpPsH`glf0R80T? z9n=5-02%-Q033F%lU7GWMMeMs9q<4E0384T03ZNn00d7{FERiC9uNQk089V?0ANwR zUbbUxVQ>Hd9$Wwb0EPen0a~-4eZ6R9VPpUR9^?Q3051Rl05%JcF^6bqWnlmS9~1xp z0384T03-x|7y<)mZFG1503S2}003wJ004Fiodp$bVR&!=03VzH000I6000I6IZyy@ zVQpmq03W0P008L#00F8n_+eadZ*z1203eV6000mG001BW0{{VdoRxYBm=x8yXcus* z4g-#;DWZmS8<$8FFa*6y@+AytP(e`<0R@+#rw0aqn1$({t!L}Cs=H2gS66j)&pyn+ zunB0K0XG!Xh=5Dv8AKDG8lD=(cVE1|B%Z$S%=g{*SNH76)q88Et4^Of=Rg1dpMO8i z*``dfaU3_T)a5C37gxI6n{3=98)sXbxqnh-)#S{jQ`G4knLe3JpJLCmU3UM)|3Sz| zW4h3P+LnFI{Z=xdleB<=I5r6}H*7pW1$IyVbVL zcE4?%?Gam%ZL`g7tFZ-bvQ4wK*?Mh{+n%=_wVklNVSCSZ&i1+Of7|}A?Hg_~m&aYi zUCRBCyPBKFE#j7PcX6w@2f0VM4cum~obzyhUM|3yTo1R4dz^cUJHj0=bUIxXp2DJ{ zLXW4=xvA7u=5cRuxt*H|i;JtuHaZKpy2^?QE1jEM&Mh0tYlok6=R>Qyvb+o$Tg%<9 z;YZsGh3(&Z}K=qhtn!swFHitc zo7)aT(97-Mc5;0n47<5K++J=U2*rNx0C$jkf_swt4G2g-H^3d@4s%a)&v4Ij&vDO# z$h^S4$Q`vUwB&UX$Y_AOZPNWyj!tWOaA=5Q=&3+>dcpC zzWx2Y@4s_t;pGc1|Kta)vzmUm(O&Dg%<;sP>#i!ur^R%ts1rSwNMKq=y(ndpc7G~h zHjqF7vl95bfKEq&6nyvl1EeA4$MlEnhe(r*s7`P`{etciUoBm^yzGsCmHS>jv6nAn zJ>qNo?hu;&{$@K{#y9&@Eso5ULQ5*uVyDaamXyEQaaZXp?B|0Q3;CJb=}TfyHFL5@ zkjJ|%Sf-Z6D$~{5t9zUKls(bC$z5H&n69R)QCDY=xr6K^J%LVdr`N0|9^wwvc)gh2 z&6XpduTiQe^`tT3OZ!@X!mXr(bm*<=7EI^SIoqq*JT?bO;YgSSNiZHxg!QlyO_C%r zVhJ77yXkV&lGd}c!fnlIU%FARCk>=A-0aK2_j&_0#7*30jkS7DaHoYyvZE8{XE=IV zG>PGl1fr58hY4_v50fyFVGXS%6;st1i4jb<&K0l7OIkNNi9RiV#)B3vn7t)f&qz>e z4)}bbfE0-O0mSb}l%OWktocoUGL(+AC<&qw4byi8>!~K+Na5CgvbOtH}Jtw zC}?Mo!P7`O4s8;DECRw&zZ~`vA0`pvCG1I3N1}-MbYDu=Veeu0=_y_#aX=@n8EMjj zldz!|Q-Dv52=G{nhk(LzATSaNOHw!#2@+hv2T3>%8<2-nWAi!PTm_6a3;XKB?=;q#h31x6wJf zgwby=3hktSHJtY0!O69vBt^0k@UyDW?MG&Mzf3A+TD0a70bzy?IK>JpO@m|bGMfp=qj z119M(O-!@z=p`uk-84Ih8Nj(d=*@l4!Gu*lrJssd<^6(QD$=Q6&S6v8)H%8Pmvk!h zz}+!_XrJ=chaZ0R)xr<2y>{WkYp?xq;a84)`e0^*r~;8B0(c7wNLg3``uS!OYSmM5 zEfG%;{4r0++%FV0l#I8f;(APvYBD}Qmz*Oy0{KlCpx(M1gZ-Gw0D}vJteR_JEj69M zODPt{K;2E}&m&EdJ|U|qn6)Nn#EFvD!N2v~td zkrg>Ag~48i2+E7I`5vpiPz+vV(Y{o=h34qe|!(Cq^rc|*CUWBKZrTVlRPX>>z_wb z0^~^_k|%2iUxFR{`ya(?^TJ!ig0q6mj*GKFQh!806NmPh&0sUocnO+8XN;GSZ?5>} zn<41{q2H7#9Z}$>2@33;pukPz6_|Q|`5`s+v0b9|cC2>7?3@k`>8}NSoaT9lG;c^d zVK4K=gL_K;dpPVXFa7T=lb@;1EEPMwq}=lLU92k-VLw=mKzJ0HWGx=(m(r@I@fmtK zQo-G-u(@5d3w3txA)PR%j=d++HFV9&SJ@i27Tw6M5^4Tht6o9$EZrz3bdr>RbX@!! z*uDS>OSru3w=2OEY|IpimLs)1qhs6POrC(4fc=O@ln6NIC{a{=C8=qsgG#3@nrNRxNTYp97lGz{p;xDjKcV&=xu%!D@vJNW(0ab{9Mspg031PRW zC^zdCAsdz)AU+!2%Qpui@8xTC~+j;&>c&bi8*K%tRsINE(zz6|+eKnW;8gQPHpH4|z=vn~RrG9$9R zqNyfB#Gl1SQY6{B2pA1EHOm{=o1~*nZCBa|J`5`@I$Pg?BXJZ;##+-_O4Ea25I$Kz z&LNW2k|v<=RNQ+NJ;}e+l;H`aHIH5!}^vqUD(_2kT%; z+`N2xh;9)T8Fr1}bv$^CxT4`&$O04t!Ulr>z=Np|D*R~ z(6>c)C7n&L6j&2mJlv++m|vU+=zV!&C^s>|9tKRzZlKvel=~hq>$6!(0V_ZOu&0(c zwb}_u&*dh+&Ri=7b&@s=eEKx9T%QgMjz_@Py>%zj!^9VVlEPAeND$L{cKB16D1^;~ z7`Hj-hnO(}i(@)dAc~?m{QgawqKaj+q&W67pO_Qxf}D6iU%DlS{FZ&s57Ap7WP@sY z9h)oC8H1H<#@7SqoYqI!w@(~kKXw*oZ*OG&Wx0?~AIR9m(QOLxh5_3b3Wpr*M4Na+ z9zDTq;!pE`?r5CQ&ZmUlDkde;3}Ik!>Ft4lEK88*NNOYwUg?&PP*_(}AUp{ZoMy`3 z?}Q8v@)7!eHeIk#wX;78s!HG=pE`vSnn4mW_EG{A>Sj(YtFtr(LLg1*3UPiOt(hL{BB$RE+n`u^ znF6@tk3K?ixDu)kVT2}|fwz|?Lwbn#f)J3n7|CMr=P|2RkFH8Um!;t~mitbk(q19#j3 z1}p4;Ct*XXpsHs#3fz8dQW~N@G7kxe7GPc*uXBRoV zq%P)-<9W---_e@>(pShyOecT+8NJ9ph^J70?vwY=pI`7k;~2N#S92X?^`3{G-;52J zEPu7%P*8{5740PWJS`jbhiolB;@Rk|UygY(YxG4veKvEAxV^rkrl!8WrnaMg`}U5G zZaceX%5Yyzu5Y{5*PZLD9qG%@+(<7MK^l`%5uo5bN zu$hT)ESIgyV3#413*kzkLaJ)=R(Y!fZc>iPEsxxRAP@{{!9>uItX(?5L&l!aAc&dd z6tCq;Q=&QLPx)J{F3iRLEUqwpT0Y(J+ z0o^A)Gnn@%WW6$N6gLrN{(f+MGp-?jWZ))3oMWDJ#(sj-&x#2-N3SF5C)q}tkeguA z0_Z`dr6PN18-0l11dWTW&Wj0RtLPH(4=_C2gErDUkv_DGJ;XDftsiRAo9`c;KwGZ| z!^!SFFCHf9XN3gfnDu`U4KQ@!u;rVj;b@g1YD49ojZH-a-%xP&^DoYx{rvNP_X_4Y z$cFl&ZDp9XQBGWZV#V3BCr`e6cE!npf_qjJz?Kw)!^lRT_4wiOfnNn5a=U9Qz$X^) z6~x^g+6i6b^y)bwTa&TWDgkP>ldk5+bpoAL*+~ltI@}Y^ulgY;4*@|1SP?BLZjv5{PWAuc)lE zqMvTI4AnJzVh!yL?a>`AT|gV{MqPcoJ06dk0POw>NZD8P!Tvw5GY)i;GsiysEl-?ThRpwj9Y}HKa)i8L}Y_ zQ|{fu!@WJvK1^r)>GrpKdrmJ!W;)RpYX>B^ygjO*gG)vg^c~(fb>ziUCRS4@_PEp< zGMgh!(Ppxhl%^`Xi}zH2JsW#o)xi$Mo^5|2^i(;1qN1lzeN>Ic6g8@Mm>sPt-y*8phfx_nN|zQuoH@V$w(&)h5kdE8U~kK#=%G_}E%wIo?da5w~os zbCC`Gfy3thUHf-+KSd5X%|ic{O3ZwaR_v}h7&>4?57zIi=&9I$USezx#x{3s-Ccv} zW$X&^0rH45v@9b5Smvl5@LkN;YbC&?$lyIok(bW|u#3i2v3x zhhAnsc;LBjAM@mCKKrEC9osPe4V^N6=7u%&C%K-b0;`~^xbVXd1$HAF6hBzkl*|P|CZ0 zWhWczTou5t2mdOrIP%c(<40aNd2-zg_uaSdp%r%8$ht+C_{_Hc;;veMRoFv3q)M+% z71wPmB9Fon&1qk&ojUoJbh^cnpK)d`8ObV*2^rm|6Wrr}pT@h#|1*?S4o$D3%SMVp zj@O2ZL04sF?V6Bo7Qe`k>-fo#XT_Q6gLtF_^w8ie_Rs_$`{`&2Xl`cFm~fWST_cHg zE+~Wm(Ht(nK;UQvkVDBe=y1#`V(QU^1c27lzlq)L4YiJqLe|5|q?+A_ln_Kf)RdYcDPk%x0QaO( zXUgb*4Rm48VI(JmMj#f5`;~xXElmMWi=YdRZpXTXk3lQV|bt^l17mhrG>PRwAvC+<5;?= z2Ss8^JQl~jPa`!JgWy_)pgX4Er)rW(w7q9n`<^6D$H_C=YxFi>?$vJc2y#rAHzklso$V{_& zRyNz!jpXUmW)kvUO;>P2frK}IfFP$FT(M{HEY+K}vj!O#6u*ny$L z5=qLQxa8=FTXbblOXvZC?q^qtdRXy8wg#*Z>-gT+EVj=Xst1JQ(Jb5N2o}>7#UEI^ zMj=_Y$1S$&2L98Zkfv#IUC{|7-*PJOyF08(aHje=049N43_emZzU>_pkOGoFf}1CJ zT(^R9BH5glETRd0<=?)4qDxgYEs_7dFetAL=e6>PuKv@aAfomSmvMS`_fuKW}ZIM||`maX5npZ`e!I zY|4@T{v$_<`q!;1Dq6R$zvu{X4N+5+BAVvthAotmK@AgsA*cmNP{s}ZZ0$L!;pzh@ zssYbpxIKlEnr2#MQ;lednBYVcxWPnnT+w10?m38J@k9)4L%Sa(Wf*7yOePYRq3#j@ zyM(=;*ECsn)Pa^Kf=S7GpBo6kwOB%lMQ~3Eiph#BM{vC#g=860A#8~_A^|OE$hgA~ zNscN-Wn8^~89|b+$T8fILPLlH1u|$`5Z4M;QPoaA>ld|%DqF)#z>mSa`1s+HWUWvq z05>Ij5iiTYkggm<65|;Xkz(Mfs}EWX0ky;(CbE)#pf1M{ASI;X`V^95O2T5u0Tj~` zsums35G~7)Zow)D149yVU`TC_A@V3gI#MWZF+|3HJ)13tNOIIdA}Gribt4P`9y03$ zA_P>cL;Xs?s!QOG02)WR#V9~7r1?om#tI*@C?8=|5kD*n$?=rKE<~c1c7V2KDUW9< zPfnmbn58_DqkQ`Tt2(O2qtq2d2vP0>>1QZXc9l?%96PI=YucD@A;QmucGt4;fbZ;GM4|I}t zAY5omrrNA6X#CVepJ>&e38A5LB{`R;MQ9+3%i5%f=fK+;C&YJ#SJ z4SViSzvJ+JVi9x1?@pVT1N?(e|Bi@%T0$azDU9#E_qF?SC!v;KQ?h=|61)3eyYF5! zwkLbeuH)B^-}~D5Gxy{79Y2nS+S9tdtyZMtcwPBYt$+=uyCu(dzTG|Lm6=wcq~Bjh3hOxZZ%z3HT&O<=~}%335<7 zK@MJ;KuGNbIe266UzQ&ppg(qIZ^E?B#@2doQc` zFd6_xZ3YYg0C=2ZU}Rum-~(clejM{A%Wv-|#`D{JW#DFF0D-F(70z&)mw}J*GvhZP zmxBQ;4FEeH3Qv=l9VLIw3IPEC1mLf|D^k>M#Dzj@<0uYJo&XmoC*|f%_NBaphcRu_ z)J*eJprG+_v{H9?x!c(4yLhWCOrz#WuD%A^@N5?x+)VsDEcNW8M@nN)vvk|II=jZH z`z^Dp46XnB^bEHE08jt`IRF57oP~}(PQySDg+C`wPy(Vt)JuOuXKU9|gvbF>QBkCK zu`!VnTiSKbkQ?L}oPwTXZ~!jAb6AN6DJzZUo40R%fE!L^3@>BOec};UxWr=~IVR5K z`A9tBny5}>OAL~?=j(=D!$quph}*6;uC$kj`~ZQ)L$&|_0C=2Z QU}iuDj0|W10052v1+GPOJ^%m! delta 7738 zcmXAuWl$VUvxOH41lQp1?jC|m@Zed3E$+IwEbi{^5ZocS6C^l67I$~|T;BUl)v22E z^mI>GP1XGAJn>QyTsIXN85Io;6##&o0e}K{U#tZ2xKt2gWdMM_o%p9slZ=dp5&%H* z{XInVE)v&R&Ma9eX_@ye_}!DfivnN2bS-0MM?j_ zXbW;HzMpsAXWT@cTn03+-%&2dl!UV#2^ogSh-5V)`a@7<3~h`m5Zt zbJqtsvTKz702#3bcqtfhJxol!)`){@{N%{$EkW}yYc5rSzpkFMpKle{ykge4L2cIM z?Ojht73Y`#x&k;&ObH1>Mi`ry#+w72Dr_VD35^X=QPg9j<*JA>+c*^nCpRvQFCSQp zn>R~_s{dg`Arfyx9)Fi4i3UR%jWenK0USt*x0ny=)*l*s{)u(g1d07$@C!2Y4fVele&GZ*dO z&;==X%7_^qCqLIOj$fP&=^w_7%m^DIJOZG@Hb%`{#ZlQ1M-DQ&2{4CO8r&Gl80TIi z)Tk~6I{x@**1l>3RkLBOTjm4Wrm*e>1Vki^<2lDS(X8v*L5-ShmNj&~IOOso>Ll+L z(@rrkH31Rr_Ndy68%u|E%^Gw@Bd@EZwc2^R8NvtLj^@ zhB6`}M^-{U1k>(ehc*@E6_gH}G5*p~;QOIaxqIOXas*nouId`Gb4eO_6gPDs@A-i^ zhV?ZpSijCPFf~GN?Li}Zz$Y-AZCV4^*)o_kMN`$L2|AWpHCVhmpP=Ri@}E!yS%z1Q z*+3CqP4}p>q4iGIruj|fl^wMM`da!K1|Y(gUP$}lJl``W&QyMbf!$pCn6CLaBl}9n zpdDOquXnOm=3I4yQG+dK>W|Z1vt_(&MrYqWA!~HZz_sya$^uQXngL{E!$H#@@~1tu zgF4?WSsS5Dm693!iil_kzbE0-D5$y9RMRkV%%~KTR0*TQdtK?%Xl8qOxReyRXZsqt zY$1xD8*q~H5}|`9W^H1GcU;eD=4p0&Kr>N>-{O0MdmelDc@$q1*`31#$2x{dK>9}d zW-$SyB%5@DZt&em@&9M(Kl?>nnw#Aye|$Xn$T z1KW+;e@QVSCDSvzX}Qk3jXVcT4%{`mP}OHtnl0;m-fF+FTiLX9X%yN@UW~ELVG4zt z4n0(x-z`tHazLw&Y)hy{sKffTfd^^gg!&EJa5Hby zfH{=$c>_s4!C-)bS9yTyuAd}6MCz-mgg_7$V+O6_c+4R_S4am#P^S=kSQljc_})*u z{Juq3Bz6a>&3}O05wk&Am)vn^mD7N0ibB>AUKZ0Mci~)~XC;por%tMaawbgm;C1iu$#NKZJO z&;m1PC|N@v_hhskA-D`4LkERDK0;zT9JM6(bGxw{m=oBvx{UcN~n zLEZ8+8X0KLb(AQGBJOg3E$O z3=0YoIHa$SWg(z|J%9U$r8=7nk_tQg>!%ok^QfPWiuEX){(_(NQm8mnK}ebCHeyA2 zsFvM=H?8fV%PgdK;TX}B2R3ijInn6#OE45059_%$fw7IsVi|$R8nxe*_`^!TMEAEY;Ow`W3@inzQwp41NUz>*37HBoDA%n0$tlPZ zN)1_+>j)^Pt7T(8iI(=v4TRm`?dkY2)xO*3?Pb}%Tlk-~I-3VoliWAMcmaU-HJ3#?L;q8&=ZUoj z&gNGhlEDKU^lhNQXaqZ+oqW(-98uK6bQACaSqnI|UW%|+^(0wKzRlpk;jfbE0pDRN zHF)t2IsBs*|M?OxANF)8J?y4Xu6By~_-~t&+6U?H*(ME3aF08-jxn4?54>`s zrraeZw&Tb99*OF4Et7HLQfI`Qy0?!RE@+eeRK&Q_BR|i@X$X>gt+zN(_deA+Dou~@ z7>+Zxi9?P961r-x<#HW<+)=M1&o)d>-}X(`k051yt`AK~)a;u^W3fmk{!4N*BATZ{ z98<4`dn0$cK<|TS5KQ{=oEyB{FlZ~WM!Tk>g2FAP4v`nZf4WasF2aGv6Y<0=l9W-d zE4`kz`Eu73MR83_-n*Qm7Mw{3Zh!UzEKmz!C__ve%G2>MLb&{eKJLQ z{sdm{ZAWpb#)W)G{viHO)#}PsKlZ2RcfR7^H-y1S{#{V>jrHZB0M^a0s5R!7T*R4E zjWDBHs&VUDnq6MLw%R`?C|)nZ zxM%`5IiNuva_&A9L~@t!cV32L_+2Y~Fs|<4lv_NUMW< z4C3t625}dj?atQj5QwPx)M8H8fh)!A5`dSh$&iO^1g$H_Bi~-;JB9G5?HPd~j4Aji zvgu1d9Tv3U5iIqH0OR=i)vL6ZIfOy$$$R;G2@G9sa|+OLend*3$2) zDz$!od)4#G;oU2l$1c2}%7zGZy5-Qm(&EG>8aN%k`nu(b5S= z7XNwa7Vicx6g@^U>wZ*(g1BVz*#)J+zq4lIW}nXSA~Z*!z%BlUJoE81e4(fzNjPK3 zvnTgxTEkwJmNzl;h0UdXL(@@hb}AU9lI%$X(?I}GcXk^3U2}jfmj)tF#sX8)bnZlt znZlWkO7Ls#7-5XSZv-oS%ov!WWOtv!Dh|8{su8r7DGZmo>C1G+;@SV<=&pLU_~&{3 zz*9=+HU)%DU({Bn_nq|`EPyx4m-AKv>?#@uBl9 zk!xYj%*sdD#D`+cM?wbZCy+8< zSqAkBmrr)4Qpp$=Lhg*WokP;Z(tf}WVz~5F|NeKN7B0?MF(gtNKL;zVhjRXO;#bRR zEn0m}>PQds(}OV|YHn!(Y*g68c8(j~kasyodk5faCGJnbhd;GI=1?L8_Z<=C+@I3sI0Qm`L5S$j_~mrY5A5i?i9o9K7qL?fEM@(@|~lw;hu z+glZjofXY;j+<9lTUSJL4=bS@C~>zQE$zAD&^_)b14_fCP(sGXX)iUR#pryvW!;)* z_ow9O5ZADrf~HSsAI?uQa<&#Ofl|MHuLaXhP9%Xrt&pe9CTnNWB2?48H`f%TnzdhN z2UyYROH0k%U55{=s*C(#vlY>f|6*6hP zj+}4)laQ#0e8uJ?#BS8D6QQGzTxETSr4AaNHZ8cDUi>1%u$VV89jY~ShwWg$z^E@o zFqquGsa7UH=8Yno$}Pl2GAlvE1(#A(ShhXU0FelF=Aa+^Q+7|Zhie!7IWM1IGsQT* zh;gcjP_6dGcb)vCIKE930->brpM*~FI|}{oyoPWzqqZl8KXX=i>-$}PazfOqE+LkS z+V9P4o$ANKM**+8*2gTvMjzi!9CIpY$4mF+Zrp+~+S5%?OjgO-VhTxCr`Boih52~= zc-D|&5=A_f1fr5B#|a$9LPU{>1cX%o8aMFxX)!9G+LZY;aFZ9dU$OaI?iMQ;cwdUI z*+6jCG!nZz;iu{PKB7#rbb}91p!e*oqM51p!&kzK39ugtEN_5;IV4CgqXN0(T6zea zoUzRP&93Wq2Sgxk_UprpC_61xj*3+iUjBkWmg&th_!@J%yb8DLbaW~9L|Fgokb|a- zp-Vp|@swkf!#tO8yI64!+0GWYxAm2wkB}-Qr7ByOX!MKTtip-b{%MT`D=KzfOnoxm zhl=>X+#T-0eBU2uTLqI~7gsoA4_*GV@~{*!ZBahWek-C(p^^1q0~<5{3`8$jXqAZ1M~o?Xr~9WbwIM>x z3)QCmZ>)>ypzZyzfn~NnXl9&TDZ*S3)y04lvlas9t@)Hl#=GmFL!fb70qY_%I7f{0aq|Q!|dhP0xFe35Y zRQ^4PTtLj~_0$cD#MwRl@XVx-ObXG|xRA_G&4_*0XONyuc1cVAnPm7?E5J&jqnML2 z_dwX!;@@WA&jfmFiqIrnENLz1d>TrmZRRnG18KE-7S@lZn=rKx6qge(yhzzPFc^pB$rbFV?M@Y7m`ft z$uF4>%g`p&o!f!+pxvSQY!RQ62WZ1_Y|ZyN-&H5-vcgkXRN?y0pLtbFdX!6bq}ru( z;Q^$}*O%%X(mpeD7BqO(l<77cyCp1T#0U-Ywi+_`(9(;C!{LjEnpcRN>Awr)dXriL z6Hntj0P zDg(S90XaiAz~L{93B(DFk7On?&5DBwCLe9*M}B8(^HO8FitKmM>LTXvP{fa@?wzFz z^BO?OWRqa>hQr!t;dRK`%8H$EbS&hLj8Pp&4-JP-!r~LHsQoK z2X%ze^83;YPlg8M=Uu`?2`(Y0BDPR?`~5gTBUJz8NcoV4P!2J4&VuzxcuPy9O0c5A zaBRcMd{czM^X7BHKe?f+p4lwrnF-xkTLMw>Ctt0{I!wec!I?-dmBVSzKIR8(%z!N? z(-hFbA3ZtvPxsolvZGIJOAB+NpK+XoNiYV*1S}Rnd~18hV482H37XjQu=EbPA^6{9 z6Ks_%vUB)ML?L5O#`@zpS3#@wL$T$$HZGZ+Wx_E+9;EUF3(i6r9GVx)op)_Vq@_Z= zo>XMg>?2-2zU=jxz)AF~g1P9WRhAtOJ5)#n^Nx(B-TdaA=73wCo*Ca(^y5~qJ4OBg zwS{?t?RwoG=&rb{{t(UY&%?OAY9j~%zO)1~pV;erYa!U^q2KIfDMk>8b`Vzl66GZY z!X-vt(D^VE`tv!CyyG<`C;gkb^>iHeM1+rjyV%Ri&Z?qlb^LdC)DOxyb}tQE}RQccj<8yzF*fZucv_RH`CK z@AS0YRr}Yn?c5xnm)ETwPW(Z3-P}p1 z^ia|*g(l_A+spCV9Vp2Hz4;498JHydh{YhO`}g!62L{9C;s)gVj!NAuG;xCkKKQL; z`2@AqeZKJz3^hKk8gFouU;NUGES|*B^jP$Y6u6hz$5VLxu}1zv{fSKMtXxOgOwdWC zvf((#v05^9=E_17WgIVjG|6kw>CBA^mDkH)hn~rBen%|_MXi%aseU0ft`vap~r~w9Me{bWW`BmGL zDfATBF7w;6F4U#2g6Qc+oew)aNE0|1=lzV6BPvp=9iX24)1TwcgyX?*@Zrr37`qd{ z0;3_yw6$cySD0`sCuhJzSMzUq!30v*7t=HJ=TTIHR3|zW)KHiQ{#<}KoEy~9p%C}M zCQmk);XKhLQKDP_YF?JS)8&miQGa&9pWj+-R1_9e;HsTC8WFq?Q_BKPSF9 zo=88@-MTkWZ)!cy_QTWZG_z#ZZHL%+vP$&s z46!KlSs*P&a?m)1Dev7{!E0fM@8_T}rbkGzWDn#GMgm1?JPQi&1ztcmQ_Gd5$HEpi zB$71jhljsvKXiy_m%Pw;DuTs-kMe=f=|zjV4^-~)oo|plW8;{}wR*PHD%x&G)vZjA zWF^ci3P+_rKQM(B_AT;i z6o-S3SmJS`vyygW#264ud5xOmprq{aR=PO9NfH9vj zk!ZE4_uczggr9)!_}>?!=KQe>*naMA5E+PM%y~@P7}Yq4(=Dcq?D{Ir*;s_=di=ZZ z39IpbjF0JYngwJ20L91(jj2XKYlGBhP1hcguk2v>m1dO& zttNz#`P@W*O7Ev#)f~3ehVhKi>ZsdNb#+&HI#83g&+@&Ajvq?p{0yhPwJnv;FAX#GSmCoLs2w zc(S4+fwqQ9|Nrl7yKk zN--e8W)3)}Kau)fizp%5%u*lc1z;v(xb89%}3EDCIBV%KJS~XS&lJBtXGQEz*9Kqw3*D z=bm)b;0+}13{7|9AKYR{?jr!;o@H!kXlMcm;BJnb2t24D8k#la0m$bfO#LrrVraMl zm-t9}Lsx=!y1xBr+r{O;&FR;p8NF@kkdf*id&#}cPmvl3!-59*vW?uIh(k^b`Hb8L z0KiSjx{2cl<4NPANLx*-f*r2lkG6JbT09cdtul>6<|^^(nA5notPhu#N?0Khi@ zK=8jtgJU@D`ou7$b9*tx3m_V*M@oqkDV-9?4uEnE#sfVTbnL~MYC%c6IO84M8xm^7 z;SUdV%*EjY@`XOv_mk@|XAd;_qDbmw)EF)KQNlavvBPD;L&MZ|k1@h#8HziKGvP_0 ze>5iH&O9Q7cao)dG;(T&sb4)Kgj3%7$z)}v4FmBJ*FfiOOg0@TTXy{6yojz`9!=FE zCrrH&DKdqxr@IaWEP}yj#Yf#6>-c}NqS8l4^{xtPn-8_BYO?D*Kq-6nFublg<6J+I xuJl%2S*I1&^qaZm&-sl`y%(FK8LziIhY2J2B!BvqZ diff --git a/webapi/Dockerfile b/webapi/Dockerfile index 0ed7f79..c5a6c8d 100644 --- a/webapi/Dockerfile +++ b/webapi/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-webapi:5.9 +FROM metasfresh/metasfresh-webapi:5.10 COPY sources/configs/* /opt/metasfresh-webui-api/ COPY sources/start_webapi.sh /opt/metasfresh-webui-api/ diff --git a/webui/Dockerfile b/webui/Dockerfile index 5ee97ae..d0a9d60 100644 --- a/webui/Dockerfile +++ b/webui/Dockerfile @@ -1,4 +1,4 @@ -FROM metasfresh/metasfresh-webui:5.9 +FROM metasfresh/metasfresh-webui:5.10 COPY sources/configs/config.js /opt/metasfresh-webui-frontend/dist/