/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunkkd_login"] = self["webpackChunkkd_login"] || []).push([[296],{

/***/ "./src/page/common/dialogElement.less":
/*!********************************************!*\
  !*** ./src/page/common/dialogElement.less ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"dialogContainer\":\"dialogElement_dialogContainer_BpbT\",\"dialogContent\":\"dialogElement_dialogContent_XkaC\",\"header\":\"dialogElement_header_1dhE\",\"center\":\"dialogElement_center_2VQ6\",\"centerContent\":\"dialogElement_centerContent_3xcc\",\"bottom\":\"dialogElement_bottom_6QzN\",\"btn\":\"dialogElement_btn_2xuc\",\"ok\":\"dialogElement_ok_3Y77\",\"closeIcon\":\"dialogElement_closeIcon_34Xz\",\"formatItemsContainer\":\"dialogElement_formatItemsContainer_2a91\",\"uploadFileContainer\":\"dialogElement_uploadFileContainer_2Gbe\",\"insertRowsContainer\":\"dialogElement_insertRowsContainer_P6BS\",\"listBoxContainer\":\"dialogElement_listBoxContainer_BF38\",\"boxItem\":\"dialogElement_boxItem_3M23\",\"displayBox\":\"dialogElement_displayBox_1hvO\",\"title\":\"dialogElement_title_27Fk\",\"content\":\"dialogElement_content_YWC3\",\"item\":\"dialogElement_item_3hp2\",\"itemTitle\":\"dialogElement_itemTitle_2Skp\",\"itemSelect\":\"dialogElement_itemSelect_2FnC\",\"itemCheck\":\"dialogElement_itemCheck_2Ggi\",\"textItem\":\"dialogElement_textItem_3Rmr\",\"itemTextArea\":\"dialogElement_itemTextArea_1PAV\",\"radioContainer\":\"dialogElement_radioContainer_3N3w\",\"checkboxContainerClass\":\"dialogElement_checkboxContainerClass_10CS\",\"findWithoutMessage\":\"dialogElement_findWithoutMessage_V2ln\",\"checkformulaContainer\":\"dialogElement_checkformulaContainer_3bWu\"});\n\n//# sourceURL=webpack://kd-login/./src/page/common/dialogElement.less?");

/***/ }),

/***/ "./src/page/web/ActiveUser.less":
/*!**************************************!*\
  !*** ./src/page/web/ActiveUser.less ***!
  \**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"formContainer\":\"ActiveUser_formContainer_2h6z\",\"privacy\":\"ActiveUser_privacy_9N-v\",\"checkbox\":\"ActiveUser_checkbox_MK3Q\",\"title\":\"ActiveUser_title_3yLp\",\"content\":\"ActiveUser_content_3hwC\",\"graphicContainer\":\"ActiveUser_graphicContainer_3t6i\",\"graphicCode\":\"ActiveUser_graphicCode_1Fja\",\"phoneCodeContainer\":\"ActiveUser_phoneCodeContainer_2htx\",\"btn\":\"ActiveUser_btn_2_Wp\",\"disable\":\"ActiveUser_disable_xGi_\",\"showPhoneCode\":\"ActiveUser_showPhoneCode_2gdp\",\"successPanel\":\"ActiveUser_successPanel_WxP0\",\"dialogContent\":\"ActiveUser_dialogContent_1Mw6\",\"icon\":\"ActiveUser_icon_1okI\",\"msg\":\"ActiveUser_msg_289t\",\"backLogin\":\"ActiveUser_backLogin_Oh8o\",\"hyperlink\":\"ActiveUser_hyperlink_22xr\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/ActiveUser.less?");

/***/ }),

/***/ "./src/page/common/Dialog.js":
/*!***********************************!*\
  !*** ./src/page/common/Dialog.js ***!
  \***********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ Dialog; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./dialogElement.less */ \"./src/page/common/dialogElement.less\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _page_common_useDialogDrag_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/page/common/useDialogDrag.js */ \"./src/page/common/useDialogDrag.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! react-dom */ \"../../node_modules/react-dom/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n\n\n\n\n\n\nfunction Dialog(props) {\n  var okClass = classnames__WEBPACK_IMPORTED_MODULE_19___default()(_defineProperty(_defineProperty({}, _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].btn, true), _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].ok, true));\n  var headerClass = classnames__WEBPACK_IMPORTED_MODULE_19___default()(_defineProperty({}, _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].header, true));\n  var closeIcon = classnames__WEBPACK_IMPORTED_MODULE_19___default()(_defineProperty({}, _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].closeIcon, true));\n  var _useDrag = (0,_page_common_useDialogDrag_js__WEBPACK_IMPORTED_MODULE_22__[\"default\"])({\n      dialogWidth: 460\n    }),\n    _useDrag2 = _slicedToArray(_useDrag, 1),\n    setDragRef = _useDrag2[0];\n  return /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_23__.createPortal( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"div\", {\n    className: _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].dialogContainer,\n    style: props.style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"div\", {\n    className: _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].dialogContent,\n    style: props.dialogContentStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"div\", {\n    className: headerClass,\n    ref: setDragRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"span\", null, props.title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"div\", {\n    className: closeIcon,\n    onClick: props.closeClick\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"div\", {\n    className: _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].center\n  }, props.children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"div\", {\n    className: _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].bottom\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"span\", {\n    className: _dialogElement_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].btn,\n    onClick: props.closeClick\n  }, props.leftBtn || (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_21__.getLangMsg)('msg.cancel')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18__.createElement(\"span\", {\n    className: okClass,\n    onClick: props.confirmClick\n  }, props.rightBtn || (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_21__.getLangMsg)('msg.submit'))))), document.body);\n}\n\n//# sourceURL=webpack://kd-login/./src/page/common/Dialog.js?");

/***/ }),

/***/ "./src/page/common/elementFromPoint.js":
/*!*********************************************!*\
  !*** ./src/page/common/elementFromPoint.js ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ elementFromPoint; },\n/* harmony export */   isParentElement: function() { return /* binding */ isParentElement; }\n/* harmony export */ });\n/*\n\t获取当前位置的顶级父元素，不存在返回空,\t兼容各种浏览器api\n  x:clientX\n  y:clientY\n*/\nfunction elementFromPoint(x, y) {\n  if (!isRelativeToViewport()) {\n    x += window.pageXOffset;\n    y += window.pageYOffset;\n  }\n  return document.elementFromPoint(x, y);\n}\nvar relativeToViewport;\n// x,y坐标是否基于viewport\nfunction isRelativeToViewport() {\n  if (relativeToViewport != null) {\n    return relativeToViewport;\n  }\n  var x = window.pageXOffset ? window.pageXOffset + window.innerWidth - 1 : 0;\n  var y = window.pageYOffset ? window.pageYOffset + window.innerHeight - 1 : 0;\n  if (x === 0 && y === 0) return true;\n  return relativeToViewport = !document.elementFromPoint(x, y);\n}\n// 判断元素的父子关系\nfunction isParentElement(parentEle, childEle) {\n  var c = childEle;\n  while (c.parentNode) {\n    c = c.parentNode;\n    if (c === parentEle) {\n      return true;\n    }\n  }\n  return false;\n}\n\n//# sourceURL=webpack://kd-login/./src/page/common/elementFromPoint.js?");

/***/ }),

/***/ "./src/page/common/useDialogDrag.js":
/*!******************************************!*\
  !*** ./src/page/common/useDialogDrag.js ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useDrag; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _elementFromPoint__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./elementFromPoint */ \"./src/page/common/elementFromPoint.js\");\n\n\n\n/**\n dialogWidth:对话框的宽度\n */\nfunction useDrag(_ref) {\n  var dialogWidth = _ref.dialogWidth,\n    onDrop = _ref.onDrop,\n    onDragStart = _ref.onDragStart;\n  var eleRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);\n  var dialogRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);\n\n  // 窗口大小可能发生变化，width不是固定值，需要根据ref重新获取窗口大小\n  var setDialogRef = function setDialogRef(ele) {\n    if (ele) {\n      dialogRef.current = ele;\n    }\n  };\n  var mousedownHandler = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (event) {\n    var ele = eleRef.current;\n    if (!ele) {\n      return;\n    }\n    var dialogEle = ele.parentElement;\n    if (event.button !== 0) {\n      return;\n    }\n    ele.style.zIndex = 1;\n    ele.style.pointerEvents = 'auto';\n    var target = (0,_elementFromPoint__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(event.clientX, event.clientY);\n    if (target === ele) {\n      onDragStart && onDragStart();\n      ele.dataset.draging = 'true';\n      // ele.style.zIndex = -1\n      // ele.style.pointerEvents = 'none'\n      ele.dataset.startX = event.clientX;\n      ele.dataset.startY = event.clientY;\n      var dialogEleStyle = dialogEle.style;\n      var originLeft = dialogEle.offsetLeft;\n      var originTop = dialogEle.offsetTop;\n      ele.dataset.originLeft = originLeft;\n      ele.dataset.originTop = originTop;\n      dialogEleStyle.position = 'absolute';\n      dialogEleStyle.left = originLeft + 'px';\n      dialogEleStyle.top = originTop + 'px';\n      dialogEleStyle.cursor = 'move';\n    } else {\n      // ele.style.zIndex = -1\n    }\n  }, []);\n  var mousemoveHandler = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (event) {\n    var ele = eleRef.current;\n    var dialogEle = ele.parentElement;\n    if (ele.dataset.draging === 'true') {\n      ele.style.zIndex = 1;\n      var moveX = event.clientX - ele.dataset.startX;\n      var moveY = event.clientY - ele.dataset.startY;\n      var left = ele.dataset.originLeft;\n      var top = ele.dataset.originTop;\n      left = left === '' ? 0 : parseInt(left);\n      top = top === '' ? 0 : parseInt(top);\n      var offsetX = left + moveX;\n      var offsetY = top + moveY;\n      if (dialogRef && dialogRef.current && dialogRef.current.offsetWidth) {\n        dialogWidth = dialogRef.current.offsetWidth;\n      }\n      if (offsetX < 0) {\n        if (dialogWidth > 0) {\n          if (offsetX < -dialogWidth + 40) {\n            offsetX = -dialogWidth + 40;\n          }\n        } else {\n          offsetX = 0;\n        }\n      } else if (offsetX > dialogEle.parentElement.clientWidth - 20) {\n        offsetX = dialogEle.parentElement.clientWidth - 20;\n      }\n      if (offsetY < 0) {\n        offsetY = 0;\n      } else if (offsetY > dialogEle.parentElement.clientHeight - 20) {\n        offsetY = dialogEle.parentElement.clientHeight - 20;\n      }\n      var dialogEleStyle = dialogEle.style;\n      dialogEleStyle.left = offsetX + 'px';\n      dialogEleStyle.top = offsetY + 'px';\n    }\n  }, []);\n  var mouseupHandler = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (event) {\n    var ele = eleRef.current;\n    var dialogEle = ele.parentElement;\n    if (ele.dataset.draging === 'true') {\n      dialogEle.style.cursor = 'default';\n      ele.dataset.draging = false;\n      onDrop && onDrop();\n      // ele.style.zIndex = -1\n    }\n  }, []);\n  var setDragRef = function setDragRef(ele) {\n    if (ele) {\n      eleRef.current = ele;\n      eleRef.current.parentElement.addEventListener('mousedown', mousedownHandler, true);\n      document.addEventListener('mousemove', mousemoveHandler, true);\n      document.addEventListener('mouseup', mouseupHandler, true);\n    } else {\n      eleRef.current.parentElement.removeEventListener('mousedown', mousedownHandler, true);\n      document.removeEventListener('mousemove', mousemoveHandler, true);\n      document.removeEventListener('mouseup', mouseupHandler, true);\n    }\n  };\n  return [setDragRef, setDialogRef];\n}\n\n//# sourceURL=webpack://kd-login/./src/page/common/useDialogDrag.js?");

/***/ }),

/***/ "./src/page/web/ActiveUser.jsx":
/*!*************************************!*\
  !*** ./src/page/web/ActiveUser.jsx ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ ActiveUser; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.js\");\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_29__);\n/* harmony import */ var _util_encrypt_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @/util/encrypt.js */ \"./src/util/encrypt.js\");\n/* harmony import */ var _common_LoginWrapper__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./common/LoginWrapper */ \"./src/page/web/common/LoginWrapper.jsx\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./base */ \"./src/page/web/base/index.js\");\n/* harmony import */ var _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ActiveUser.less */ \"./src/page/web/ActiveUser.less\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../store */ \"./src/store.js\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../const */ \"./src/const.js\");\n/* harmony import */ var _util_toolUtils__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../img/loading.gif */ \"./src/img/loading.gif\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_40___default = /*#__PURE__*/__webpack_require__.n(_img_loading_gif__WEBPACK_IMPORTED_MODULE_40__);\n/* harmony import */ var _img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../img/resetSuccess.png */ \"./src/img/resetSuccess.png\");\n/* harmony import */ var _img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_41___default = /*#__PURE__*/__webpack_require__.n(_img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_41__);\n/* harmony import */ var _util_dataUtil_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! @/util/dataUtil.js */ \"./src/util/dataUtil.js\");\n/* harmony import */ var _page_common_Dialog_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! @/page/common/Dialog.js */ \"./src/page/common/Dialog.js\");\n/* harmony import */ var _page_web_base_Telephone_index__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! @/page/web/base/Telephone/index */ \"./src/page/web/base/Telephone/index.js\");\n/* harmony import */ var _img_error1_png__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../../img/error1.png */ \"./src/img/error1.png\");\n/* harmony import */ var _img_error1_png__WEBPACK_IMPORTED_MODULE_45___default = /*#__PURE__*/__webpack_require__.n(_img_error1_png__WEBPACK_IMPORTED_MODULE_45__);\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : 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; }; return _extends.apply(this, arguments); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _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, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\n\n\n\n\n\n\n// import eventBus from '../../eventBus'\n\n\n\n\n\n\n\n\n\n\nvar ActiveUser = /*#__PURE__*/function (_Component) {\n  _inherits(ActiveUser, _Component);\n  function ActiveUser(props) {\n    var _this;\n    _classCallCheck(this, ActiveUser);\n    _this = _callSuper(this, ActiveUser, [props]);\n    _this.state = {\n      vCodeTime: 0,\n      verifyCodeImg: '',\n      isSuccess: false,\n      needSignPrivacy: false,\n      showDialog: false,\n      isPhoneLogin: true,\n      // 是否是手机号激活\n      hidePhoneLogin: props.configuration.isGlobalDeploy === 'true' || props.configuration.isGlobalDeploy === true // 星空海外版标识(isGlobalDeploy)\n    };\n    _this.isInitAccount = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_39__.validateEmail)(_store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account) || (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_39__.isPhoneNumber)(_store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account);\n    _this.getVerifyCode = _this.getVerifyCode.bind(_assertThisInitialized(_this));\n    _this.handleReSendPhoneCode = _this.handleReSendPhoneCode.bind(_assertThisInitialized(_this));\n    _this.handleEnterKeyDown = _this.handleEnterKeyDown.bind(_assertThisInitialized(_this));\n    _this.validateFormData = _this.validateFormData.bind(_assertThisInitialized(_this));\n    _this.getPublicKey = _this.getPublicKey.bind(_assertThisInitialized(_this));\n    _this.activeUser = _this.activeUser.bind(_assertThisInitialized(_this));\n    _this.handleComfirmBtnClick = _this.handleComfirmBtnClick.bind(_assertThisInitialized(_this));\n    _this.handleVerifyCodeClick = _this.handleVerifyCodeClick.bind(_assertThisInitialized(_this));\n    _this.verifyAccountType = _this.verifyAccountType.bind(_assertThisInitialized(_this));\n    _this.valueChange = _this.valueChange.bind(_assertThisInitialized(_this));\n    _this.closeDialog = _this.closeDialog.bind(_assertThisInitialized(_this));\n    _this.confirmClick = _this.confirmClick.bind(_assertThisInitialized(_this));\n    _this.handleLoginTypeClick = _this.handleLoginTypeClick.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(ActiveUser, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.addEventListener('keydown', this.handleEnterKeyDown);\n      if (!this.state.verifyCodeImg) {\n        this.getVerifyCode();\n      }\n      if (!(0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_39__.isPhoneNumber)(_store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account)) {\n        _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].setValue('account', '');\n      }\n      _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].setValue('phoneCode', '');\n      _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].setValue('newPassword', '');\n      _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].setValue('confirmPassword', '');\n      _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].setValue('verifyCode', '');\n      (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_42__.resetStore)(_store__WEBPACK_IMPORTED_MODULE_35__[\"default\"]);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_42__.resetStore)(_store__WEBPACK_IMPORTED_MODULE_35__[\"default\"]);\n      clearInterval(this.vCodeTimer);\n      document.removeEventListener('keydown', this.handleEnterKeyDown);\n    }\n  }, {\n    key: \"handleEnterKeyDown\",\n    value: function handleEnterKeyDown(e) {\n      if (e.keyCode === 13) {\n        this.handleComfirmBtnClick();\n      }\n    }\n  }, {\n    key: \"handleReSendPhoneCode\",\n    value: function handleReSendPhoneCode(uncheckedPrivacy) {\n      var _this2 = this;\n      var account = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account,\n        verifyCode = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].verifyCode;\n      if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEmpty(account)) {\n        var title = 'accountError';\n        var data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key065');\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: title,\n          data: data\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEmpty(verifyCode)) {\n        var _title = 'verifyCodeError';\n        var _data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key046');\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title,\n          data: _data\n        });\n        return false;\n      } else if (uncheckedPrivacy) {\n        this.setState({\n          showDialog: true\n        });\n        return false;\n      }\n      var vCodeTime = this.state.vCodeTime;\n      var accountType = this.verifyAccountType() ? {\n        phone: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account\n      } : {\n        eMail: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account\n      };\n      if (vCodeTime !== 0) return;\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getCloudPhoneCode(_objectSpread(_objectSpread({}, accountType), {}, {\n        accountId: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].accountId,\n        language: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].lang,\n        vCode: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].verifyCode,\n        token: this.verifyCodeToken,\n        page: 'active'\n      })).then(function (data) {\n        if (!data.success) {\n          var error = {\n            message: data.msg || data.error,\n            level: 1\n          };\n          //  eventBus.pub_showNotification(error)\n          _this2.props.dataPipeModel && _this2.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          _this2.handleVerifyCodeClick();\n        } else {\n          var hidePasswordInput = data.hasChangedPwd;\n          _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].setValue('randomCode', data.randomCode);\n          var _vCodeTime = data.vCodeTime / 1000 || 60;\n          _this2.setState({\n            vCodeTime: _vCodeTime,\n            hidePasswordInput: !!hidePasswordInput\n          });\n          _this2.vCodeTimer = setInterval(function () {\n            if (_vCodeTime <= 0) {\n              clearInterval(_this2.vCodeTimer);\n            } else {\n              _this2.setState({\n                vCodeTime: --_vCodeTime\n              });\n            }\n          }, 1000);\n          // eventBus.pub_focusInput({ name: 'phoneCode' })\n          _this2.props.dataPipeModel && _this2.props.dataPipeModel.sendData({\n            type: 'FocusInput',\n            name: 'phoneCode'\n          });\n        }\n      });\n    }\n  }, {\n    key: \"validateFormData\",\n    value: function validateFormData() {\n      var account = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account,\n        phoneCode = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].phoneCode,\n        newPassword = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].newPassword,\n        confirmPassword = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].confirmPassword,\n        verifyCode = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].verifyCode;\n      if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEmpty(account)) {\n        var title = 'accountError';\n        var data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key065');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: title,\n          data: data\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEmpty(verifyCode)) {\n        var _title2 = 'verifyCodeError';\n        var _data2 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key046');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title2,\n          data: _data2\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEmpty(phoneCode)) {\n        var _title3 = 'phoneCodeError';\n        var _data3 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key121');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title3,\n          data: _data3\n        });\n        return false;\n      } else if (this.state.hidePasswordInput) {\n        return true;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEmpty(newPassword)) {\n        var _title4 = 'newPasswordError';\n        var _data4 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key048');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title4,\n          data: _data4\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEmpty(confirmPassword)) {\n        var _title5 = 'confirmPasswordError';\n        var _data5 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key056');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title5,\n          data: _data5\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_37__.validate.checkLength(newPassword, 0, 20) === 1) {\n        var _title6 = 'newPasswordError';\n        var _data6 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key049');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title6,\n          data: _data6\n        });\n        return false;\n      } else if (!_util__WEBPACK_IMPORTED_MODULE_37__.validate.isEqual(newPassword, confirmPassword)) {\n        var _title7 = 'confirmPasswordError';\n        var _data7 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key045');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title7,\n          data: _data7\n        });\n        return false;\n      }\n      return true;\n    }\n  }, {\n    key: \"getPublicKey\",\n    value: function getPublicKey(call) {\n      var _this3 = this;\n      var accessKey = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account + (0,_util__WEBPACK_IMPORTED_MODULE_37__.getUid)(false, 16 - _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account.length);\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getPublicKey({\n        accessKey: accessKey,\n        language: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].lang,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].accountId\n      }).then(function (data) {\n        if (data.success !== true) {\n          var error = {\n            message: data.errorMessage,\n            level: 1\n          };\n          //  eventBus.pub_showNotification(error)\n          _this3.props.dataPipeModel && _this3.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          return false;\n        }\n        call({\n          publicKey: data.publicKey,\n          accessKey: accessKey\n        });\n      });\n    }\n  }, {\n    key: \"activeUser\",\n    value: function activeUser(data) {\n      var _this4 = this;\n      var accountId = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].accountId,\n        account = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account,\n        phoneCode = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].phoneCode,\n        newPassword = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].newPassword;\n      var accountType = this.verifyAccountType() ? {\n        phone: account\n      } : {\n        eMail: account\n      };\n      var encryptedPassword = (0,_util_encrypt_js__WEBPACK_IMPORTED_MODULE_30__.encrypt)(data.publicKey, newPassword);\n      var currentCenter = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].dataCenter.find(function (item, i) {\n        return item.value === _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].accountId;\n      });\n      var formData = _objectSpread(_objectSpread({\n        accountId: accountId\n      }, accountType), {}, {\n        code: phoneCode,\n        accessKey: data.accessKey,\n        password: encryptedPassword,\n        language: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].lang,\n        token: this.verifyCodeToken,\n        vCode: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].verifyCode,\n        randomCode: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].randomCode,\n        needSignPrivacy: this.state.needSignPrivacy || !(currentCenter !== null && currentCenter !== void 0 && currentCenter.needSignPrivacy),\n        hasChangedPwd: this.state.hidePasswordInput\n      });\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.activeUser(formData).then(function (data) {\n        if (data && data.success) {\n          _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].setValue('password', '');\n          _this4.setState({\n            isSuccess: true\n          });\n          setTimeout(function () {\n            _util_toolUtils__WEBPACK_IMPORTED_MODULE_39__.mySessionStorage.setItem(_const__WEBPACK_IMPORTED_MODULE_38__.ACCOUNT, _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account);\n            window.location.hash = 'kingdeeCloud';\n          }, 3000);\n        } else {\n          var error = {\n            message: data.msg || data.error,\n            level: 1\n          };\n          //  eventBus.pub_showNotification(error)\n          _this4.props.dataPipeModel && _this4.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          _this4.handleVerifyCodeClick();\n          return false;\n        }\n      });\n    }\n  }, {\n    key: \"handleComfirmBtnClick\",\n    value: function handleComfirmBtnClick(disable) {\n      if (disable) {\n        this.setState({\n          showDialog: true\n        });\n        return false;\n      }\n      if (!this.validateFormData()) return false;\n      this.getPublicKey(this.activeUser);\n    }\n  }, {\n    key: \"getVerifyCode\",\n    value: function getVerifyCode() {\n      var _this5 = this;\n      this.setState({\n        verifyCode: (_img_loading_gif__WEBPACK_IMPORTED_MODULE_40___default())\n      });\n      // eventBus.pub_focusInput({ name: 'verifyCode' })\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'verifyCode'\n      });\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getVerifyCodeByPhone({\n        phone: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account,\n        language: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].lang,\n        v: (0,_util__WEBPACK_IMPORTED_MODULE_37__.getUid)(false, 8),\n        accountId: _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].accountId\n      }).then(function (data) {\n        _this5.setState({\n          verifyCodeImg: data.content || (_img_loading_gif__WEBPACK_IMPORTED_MODULE_40___default())\n        });\n        _this5.verifyCodeToken = data.vCode;\n      });\n    }\n  }, {\n    key: \"handleVerifyCodeClick\",\n    value: function handleVerifyCodeClick() {\n      this.getVerifyCode();\n      // eventBus.pub_focusInput({ name: 'verifyCode' })\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'verifyCode'\n      });\n    }\n\n    // 验证账户类型是邮箱还是手机号\n  }, {\n    key: \"verifyAccountType\",\n    value: function verifyAccountType() {\n      var account = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account;\n      var mailReg = /^(\\w-*\\.*)+@(\\w-?)+(\\.\\w{2,})+$/;\n      if (mailReg.test(account)) return false;\n      return true;\n    }\n  }, {\n    key: \"valueChange\",\n    value: function valueChange(name) {\n      var title = 'confirmPasswordError';\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: title,\n        data: '',\n        name: name\n      });\n    }\n  }, {\n    key: \"closeDialog\",\n    value: function closeDialog() {\n      this.setState({\n        showDialog: false\n      });\n    }\n  }, {\n    key: \"confirmClick\",\n    value: function confirmClick() {\n      this.setState({\n        showDialog: false\n      });\n      this.setState({\n        needSignPrivacy: true\n      });\n    }\n  }, {\n    key: \"handleLoginTypeClick\",\n    value: function handleLoginTypeClick() {\n      this.setState({\n        isPhoneLogin: !this.state.isPhoneLogin\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this6 = this;\n      var _this$state = this.state,\n        vCodeTime = _this$state.vCodeTime,\n        isPhoneLogin = _this$state.isPhoneLogin,\n        isSuccess = _this$state.isSuccess,\n        hidePasswordInput = _this$state.hidePasswordInput,\n        hidePhoneLogin = _this$state.hidePhoneLogin;\n      var phoneCodeClass = classnames__WEBPACK_IMPORTED_MODULE_29___default()(_defineProperty(_defineProperty({}, _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].phoneCodeContainer, true), _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].showPhoneCode, true));\n      var btnClass = classnames__WEBPACK_IMPORTED_MODULE_29___default()(_defineProperty(_defineProperty({}, _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].btn, true), _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].disable, vCodeTime !== 0));\n      var notificationStyle = {\n        margin: '0px'\n      };\n      var reSendtext = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key036');\n      var btnText = vCodeTime === 0 ? reSendtext : \"\".concat(reSendtext, \"(\").concat(vCodeTime, \"s)\");\n      var currentCenter = _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].dataCenter.find(function (item, i) {\n        return item.value === _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].accountId;\n      });\n      var handlePrivacyChange = function handlePrivacyChange(e) {\n        var val = e.target.checked;\n        _this6.setState({\n          needSignPrivacy: val\n        });\n      };\n      var needSignPrivacy = currentCenter === null || currentCenter === void 0 ? void 0 : currentCenter.needSignPrivacy;\n      var disable = needSignPrivacy && !this.state.needSignPrivacy;\n      var loginType = _util_toolUtils__WEBPACK_IMPORTED_MODULE_39__.myLocalStorage.getItem((0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_39__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_38__.LOGIN_TYPE));\n      var text = loginType === _const__WEBPACK_IMPORTED_MODULE_38__.TEL ? \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key218')) : \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key217'));\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_common_LoginWrapper__WEBPACK_IMPORTED_MODULE_31__[\"default\"], _extends({\n        selectType: \"activeUser\"\n      }, this.props), isSuccess ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(SuccessPanel, {\n        dataPipeModel: this.props.dataPipeModel\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].formContainer\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].title\n      }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key034')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Notification, {\n        style: notificationStyle,\n        dataPipeModel: this.props.dataPipeModel\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].content\n      }, isPhoneLogin && !hidePhoneLogin ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_page_web_base_Telephone_index__WEBPACK_IMPORTED_MODULE_44__[\"default\"], {\n        defaultAreaCode: this.props.configuration.defaultAreaCode,\n        telViaList: this.props.countryAreaCodes,\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"account\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key211'),\n        onBlur: this.handleVerifyCodeClick,\n        defaultValue: (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_39__.isPhoneNumber)(_store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account) ? _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account : ''\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"account\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key219'),\n        onBlur: this.handleVerifyCodeClick,\n        defaultValue: this.isInitAccount ? _store__WEBPACK_IMPORTED_MODULE_35__[\"default\"].account : ''\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].graphicContainer\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"verifyCode\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key004')\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].graphicCode,\n        onClick: this.handleVerifyCodeClick\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"img\", {\n        src: this.state.verifyCodeImg\n      }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: phoneCodeClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"phoneCode\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key120')\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: btnClass,\n        onClick: function onClick() {\n          _this6.handleReSendPhoneCode(disable);\n        }\n      }, btnText)), !hidePasswordInput && hidePasswordInput !== undefined && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"newPassword\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key037'),\n        valueChange: function valueChange() {\n          _this6.valueChange('newPassword');\n        }\n      }), !hidePasswordInput && hidePasswordInput !== undefined && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"confirmPassword\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key038'),\n        valueChange: function valueChange() {\n          _this6.valueChange('confirmPassword');\n        }\n      }), needSignPrivacy && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].privacy\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"input\", {\n        type: \"checkbox\",\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].checkbox,\n        checked: this.state.needSignPrivacy,\n        onChange: handlePrivacyChange\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].privacyAgreement\n      }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key112'), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"a\", {\n        href: \"https://cloud.kingdee.com/passport/#/policy-agree/client-kd\",\n        target: \"_blank\",\n        rel: \"nofollow noopener noreferrer\"\n      }, \" \", (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key113')), (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key114'), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"a\", {\n        href: \"https://cloud.kingdee.com/passport/#/policy-agree/privacy-policy\",\n        target: \"_blank\",\n        rel: \"nofollow noopener noreferrer\"\n      }, \" \", (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key115')))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Button, {\n        text: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key039'),\n        onClick: function onClick() {\n          _this6.handleComfirmBtnClick(disable);\n        },\n        dataPipeModel: this.props.dataPipeModel\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].backLogin\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"a\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].hyperlink,\n        href: \"#kingdeeCloud\"\n      }, text, \" \"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n        className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].hyperlink,\n        onClick: this.handleLoginTypeClick\n      }, hidePhoneLogin ? null : isPhoneLogin ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key234') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key237'))))), this.state.showDialog && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(ShowDiaog, {\n        close: this.closeDialog,\n        confirmClick: this.confirmClick\n      }));\n    }\n  }]);\n  return ActiveUser;\n}(react__WEBPACK_IMPORTED_MODULE_28__.Component);\n\nfunction SuccessPanel(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n    className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].successPanel\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"img\", {\n    src: (_img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_41___default())\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", null, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key092')));\n}\nfunction ShowDiaog(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(_page_common_Dialog_js__WEBPACK_IMPORTED_MODULE_43__[\"default\"], {\n    title: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key116'),\n    closeClick: props.close,\n    confirmClick: props.confirmClick,\n    rightBtn: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key117')\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n    className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].dialogContent\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"img\", {\n    className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].icon,\n    src: (_img_error1_png__WEBPACK_IMPORTED_MODULE_45___default()),\n    alt: \"\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"div\", {\n    className: _ActiveUser_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].msg\n  }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key118'), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"a\", {\n    href: \"https://cloud.kingdee.com/passport/#/policy-agree/client-kd\",\n    target: \"_blank\",\n    rel: \"nofollow noopener noreferrer\"\n  }, \" \", (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key113')), (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key114'), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_28__.createElement(\"a\", {\n    href: \"https://cloud.kingdee.com/passport/#/policy-agree/privacy-policy\",\n    target: \"_blank\",\n    rel: \"nofollow noopener noreferrer\"\n  }, \" \", (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_34__.getLangMsg)('login.key115')))));\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/ActiveUser.jsx?");

/***/ }),

/***/ "./src/img/error1.png":
/*!****************************!*\
  !*** ./src/img/error1.png ***!
  \****************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAAAxCAYAAABznEEcAAAAAXNSR0IArs4c6QAABXFJREFUaEPVml1sFFUUx///u0vLZ412C9EHisYE0Rp4aCgoKiBRIwYfGowfjcEQGjozCxqKRg2kYkgEI5HO7hSIkRoVwSKCotFggYiaGCMfERT0BYyQ2kCAWvlod+4xs6UrtNvubne2Ye/j7D3/c35z7pyZe+4SORgyb95Q3Di0GJ3BUWBnIVDQDqANtn2agPjtktkKCkAYRrkOcKZouV+REwRSCkAl0f4XwO8A9itiD1w003Faso1hwBCyaNFYiLtAtFQJMW6AgbgkmrWo9wKh0Mesq4sNRCdjCHl+4TjtqmUEq0SkYCBOk9mQOE5Rq3D48DvcuzcjmLQhZO7cAj2mZCmBVwQY7lfwPXUIHqISg/XOD+n6SAtCXqi5TTrVFoGUpyuczTwCrpArVUvrCjY1uam0UkJIODxLa3criBtSifn9O8FdHH6xkqvf/ac/7X4hZJH5hNb6fYC+rf1MQQkcYEw/wnXrWvuy7RMiZllzCP0JgGCmjv2eT+AgGXiAtt2WtCgkuyiLzQrtyh4Aw/wOaKB6BHfz8JGHk1WuXpmQ+fNv0sMKDgAcO1CHObR7IxBxXu5d0Xpc0VbNVgErcxhINtJaKcxiveOtksS4JhNimo9qyhfZeLnGdvZj4NR7gFMnIY0bgQsXspYmeJR/t05kU1NHt1gCQqZPD+qyO38DcHvWnjyB4mKouhUJKb39U6D5G1+kQdQGbOet3hCWVaXhlVOfRmkpVO2LCTHZtQvy2XZfxAm0sP3CrWxsvOQJJjKhLeMXAcp88eKJ5BDCk1fEQtrO+gSEWFa5hv7JN4BBgBDgx2DEmZKAcC3jbQCL8wnC21xRueNZv/6P+HJyTeMoiPH5BBGPlQgHbCdCsaxbBPqv+A7Nz5HjZ+LKMtqmIk4lY1bNHII7/Iw/rjUIEAD/DESipXTD5lKIrM5HCAKaHbFRdMM1DoQ1+QjRVWoDd9ENGx9A8Ez+QshUasvcIZA5+QqhhQ8xZ1+tg/Jge80tNYOuaWwEMS9fM6GUlNO1jDcB1OYthHAcJWws0IINvkOMLYVampuv2O5YCVxkaPRIimFM0wr7fIcoKgJfXwmqrpas3rIZ+M5vN3IoEGmYRK+DrUcMPwtiqO8gFVPAigrIqVOAtymKZdSdTBmOIiK0nXD8eylmGrtJzEhpdZ1NEKIyaDvb4hASNiwtsK+zGPsNh0A7NW6m47R3QSxZEpKOSyf97HInIigpAc6dAzo7fb1HinyfdvTZK1+zXdquZWwC8JRvnkiweiFYVgZpOw9ZswY4c9o3eaVwb3fnPLGHuGxV3z0EwYOS/IQnc+ejx0AtW56w0zs/B77+KnOdJBYk9ijbmXlVqf1/lhs2NkF8ykZhIbi8DiwqgohA1jUAvx7JHkJEFAP3MRL5PimEt8vT0F7vqSh7bwBCIWByBXDiOHDEB4D4A8DGgB197ur4evdic/UG9+Wu4KTqiE3ihg3XPFxJ99WuVfMRwCf98euPCoEYhQ8yGv22p2JSCKmtHSGXL+4Wkcn+hJC9iiIN2tGGZEp9djikujokBUP2CeSO7EPIWqEuEHFe60ul/+OucLhExP1SgEE5cOwVpFeJlHqJdtTbLvQ5UvaaxDBGimKjQAb7zKJdKS5gfXRzqjymhOgWcMOGBcEq5PAM+6q6v58BeZprG46lAohX3XQmdc8R0ywVyFohHs/ELoO55xW5HC2t0XTOr5O+7NJ1JqZZIUpeFcHsPv6Ikq5U97wzEKlXGjYbGs5mapxRJnqKe5nRlCoClQJMzBCojUAzoT8Eh+ykbV/ONPisMpHMmZhmsQtMC1AmaMF4EqMBjNRAoSLaIWgTygkIjikG96Ol5edMlkx/gP8BRAI7YCbJbUsAAAAASUVORK5CYII=\"\n\n//# sourceURL=webpack://kd-login/./src/img/error1.png?");

/***/ }),

/***/ "?2e65":
/*!************************!*\
  !*** buffer (ignored) ***!
  \************************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/buffer_(ignored)?");

/***/ }),

/***/ "?0749":
/*!************************!*\
  !*** crypto (ignored) ***!
  \************************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/crypto_(ignored)?");

/***/ }),

/***/ "?ff61":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?ec48":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?d5c0":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?4a48":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?3a9c":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?d4df":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ })

}]);