"use strict";
/*
 * 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([[992],{

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

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"title\":\"KingdeeCloud_title_1RK6\",\"phoneCodeItem\":\"KingdeeCloud_phoneCodeItem_2XKZ\",\"btn\":\"KingdeeCloud_btn_qXOA\",\"disable\":\"KingdeeCloud_disable_2t6o\",\"verifyCodeItem\":\"KingdeeCloud_verifyCodeItem_R9nG\",\"graphicCode\":\"KingdeeCloud_graphicCode_3l74\",\"hidden\":\"KingdeeCloud_hidden_2njO\",\"tools\":\"KingdeeCloud_tools_3uyD\",\"msgLogin\":\"KingdeeCloud_msgLogin_2dDV\",\"findPassword\":\"KingdeeCloud_findPassword_3iQs\",\"loginType\":\"KingdeeCloud_loginType_3Kr5\",\"phoneLogin\":\"KingdeeCloud_phoneLogin_2S8E\",\"line\":\"KingdeeCloud_line_1nLn\"});\n\n//# sourceURL=webpack://kd-login/./src/page/mobile/KingdeeCloud.less?");

/***/ }),

/***/ "./src/page/mobile/base/Tools.less":
/*!*****************************************!*\
  !*** ./src/page/mobile/base/Tools.less ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"tools\":\"Tools_tools_2hDV\",\"msgLogin\":\"Tools_msgLogin_Tai7\",\"findPassword\":\"Tools_findPassword_3H2P\"});\n\n//# sourceURL=webpack://kd-login/./src/page/mobile/base/Tools.less?");

/***/ }),

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

eval("__webpack_require__.r(__webpack_exports__);\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_filter_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_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_function_bind_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_21__ = __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_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_22__ = __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_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_23__ = __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_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_24__ = __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_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_25__ = __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_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _util_encrypt_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @/util/encrypt.js */ \"./src/util/encrypt.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./KingdeeCloud.less */ \"./src/page/mobile/KingdeeCloud.less\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./base */ \"./src/page/mobile/base/index.js\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../store */ \"./src/store.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n/* harmony import */ var _util_toolUtils__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../util/toolUtils */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _util_dataUtil_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @/util/dataUtil.js */ \"./src/util/dataUtil.js\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../img/loading.gif */ \"./src/img/loading.gif\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(_img_loading_gif__WEBPACK_IMPORTED_MODULE_36__);\n/* harmony import */ var _LoginWrapper__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./LoginWrapper */ \"./src/page/mobile/LoginWrapper.jsx\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../const */ \"./src/const.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _base_Message__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./base/Message */ \"./src/page/mobile/base/Message.jsx\");\n/* harmony import */ var _base_Telephone__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./base/Telephone */ \"./src/page/mobile/base/Telephone/index.js\");\n/* harmony import */ var _base_Tools__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./base/Tools */ \"./src/page/mobile/base/Tools.jsx\");\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\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\n\n\n\n\n\n\n\nvar SHOW_ALL = '1'; // 记住用户名和密码(PC)/记住用户名(移动)\nvar ONLY_SHOW_USERNAME = '2'; // 记住用户名\nvar KingdeeCloud = /*#__PURE__*/function (_Component) {\n  _inherits(KingdeeCloud, _Component);\n  function KingdeeCloud(props) {\n    var _mStore$dataCenter$fi;\n    var _this;\n    _classCallCheck(this, KingdeeCloud);\n    _this = _callSuper(this, KingdeeCloud, [props]);\n    _this.handleLoginTypeClick = function () {\n      var isPhoneLogin = _this.state.isPhoneLogin;\n      _util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.myLocalStorage.setItem((0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_38__.LOGIN_TYPE), !isPhoneLogin ? _const__WEBPACK_IMPORTED_MODULE_38__.TEL : _const__WEBPACK_IMPORTED_MODULE_38__.ACT);\n      _this.setState({\n        isPhoneLogin: !isPhoneLogin\n      });\n    };\n    _this.state = {\n      logining: false,\n      needMsgValidate: false,\n      vCodeTime: 0,\n      showPhoneCode: false,\n      needVerifyCode: false,\n      verifyCodeImg: (_img_loading_gif__WEBPACK_IMPORTED_MODULE_36___default()),\n      account: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account,\n      password: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.password,\n      verifyCode: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.verifyCode,\n      phoneCode: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.phoneCode,\n      customDynamicCode: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.customDynamicCode,\n      needCustomDynamicCode: (_mStore$dataCenter$fi = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.dataCenter.find(function (item, i) {\n        return item.value === _this.props.currentAccountId;\n      })) === null || _mStore$dataCenter$fi === void 0 ? void 0 : _mStore$dataCenter$fi.needCustomDynamicCode,\n      factor: '',\n      isKickedOut: '',\n      pwdIsRemed: false,\n      isPhoneLogin: _util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.myLocalStorage.getItem((0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_38__.LOGIN_TYPE)) === _const__WEBPACK_IMPORTED_MODULE_38__.TEL\n    };\n    _this.handleLoginBtnClick = _this.handleLoginBtnClick.bind(_assertThisInitialized(_this));\n    _this.resetLoginStatus = _this.resetLoginStatus.bind(_assertThisInitialized(_this));\n    _this.submit = _this.submit.bind(_assertThisInitialized(_this));\n    _this.isNeedMsgValidate = _this.isNeedMsgValidate.bind(_assertThisInitialized(_this));\n    _this.handleSendMessage = _this.handleSendMessage.bind(_assertThisInitialized(_this));\n    _this.loginFail = _this.loginFail.bind(_assertThisInitialized(_this));\n    _this.handleGetVerifyCode = _this.handleGetVerifyCode.bind(_assertThisInitialized(_this));\n    _this.handleAccountInputBlur = _this.handleAccountInputBlur.bind(_assertThisInitialized(_this));\n    _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));\n    _this.getVerifyCode = _this.getVerifyCode.bind(_assertThisInitialized(_this));\n    _this.isNeedVerifyCode = _this.isNeedVerifyCode.bind(_assertThisInitialized(_this));\n    _this.dataCenterChange = _this.dataCenterChange.bind(_assertThisInitialized(_this));\n    _this.initAccountInfo = _this.initAccountInfo.bind(_assertThisInitialized(_this));\n    _this.showMsg = _this.showMsg.bind(_assertThisInitialized(_this));\n    _this.handleRememberPwd = _this.handleRememberPwd.bind(_assertThisInitialized(_this));\n    _this.handleLoginTypeClick = _this.handleLoginTypeClick.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(KingdeeCloud, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this$isNeedMsgValida,\n        _this2 = this;\n      _store__WEBPACK_IMPORTED_MODULE_32__.mStore.accountId && ((_this$isNeedMsgValida = this.isNeedMsgValidate()) === null || _this$isNeedMsgValida === void 0 ? void 0 : _this$isNeedMsgValida.then(function (data) {\n        if (_this2.state.needMsgValidate) return false;\n        _this2.isNeedVerifyCode();\n      }));\n      this.props.dataPipeModel.registerCallback('dataCenterChange', this.dataCenterChange);\n    }\n  }, {\n    key: \"UNSAFE_componentWillMount\",\n    value: function UNSAFE_componentWillMount() {\n      this.initAccountInfo();\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(props) {\n      if (props.configuration.usernamepsw !== this.props.configuration.usernamepsw) {\n        this.initAccountInfo();\n      }\n    }\n  }, {\n    key: \"initAccountInfo\",\n    value: function initAccountInfo() {\n      var accountInfoJson = _util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.myLocalStorage.getItem(_const__WEBPACK_IMPORTED_MODULE_38__.ACCOUNT_INFO);\n      var usernamepsw = this.props.configuration.usernamepsw;\n      if ((usernamepsw === SHOW_ALL || usernamepsw === ONLY_SHOW_USERNAME) && accountInfoJson) {\n        var accountInfo = JSON.parse(accountInfoJson);\n        _store__WEBPACK_IMPORTED_MODULE_32__.mStore.setValue('account', accountInfo.account);\n        this.setState({\n          account: accountInfo.account\n        });\n        if (accountInfo.account) {\n          this.setState({\n            pwdIsRemed: true\n          });\n        } else {\n          this.setState({\n            pwdIsRemed: false\n          });\n        }\n      }\n    }\n  }, {\n    key: \"isNeedMsgValidate\",\n    value: function isNeedMsgValidate() {\n      var _this3 = this;\n      return _api_service__WEBPACK_IMPORTED_MODULE_31__.isNeedMsgValidate({\n        useraccount: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.accountId,\n        language: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.lang\n      }).then(function (data) {\n        _this3.setState({\n          needMsgValidate: data.isNeed,\n          factor: data.factor\n        });\n        if (data.isNeed) {\n          _this3.setState({\n            needVerifyCode: true\n          });\n          _this3.getVerifyCode();\n        }\n      });\n    }\n  }, {\n    key: \"handleLoginBtnClick\",\n    value: function handleLoginBtnClick() {\n      this.setState({\n        isKickedOut: ''\n      });\n      var _this$state = this.state,\n        showPhoneCode = _this$state.showPhoneCode,\n        needVerifyCode = _this$state.needVerifyCode,\n        account = _this$state.account,\n        password = _this$state.password,\n        verifyCode = _this$state.verifyCode,\n        phoneCode = _this$state.phoneCode,\n        needMsgValidate = _this$state.needMsgValidate;\n      if (!account || !password || needVerifyCode && !verifyCode || showPhoneCode && !phoneCode) return false;\n      if (!showPhoneCode && needMsgValidate) {\n        this.handleSendMessage();\n      } else {\n        this.getPublickKey(this.submit);\n      }\n    }\n  }, {\n    key: \"handleSendMessage\",\n    value: function handleSendMessage() {\n      var _this4 = this;\n      var _this$state2 = this.state,\n        vCodeTime = _this$state2.vCodeTime,\n        factor = _this$state2.factor;\n      if (vCodeTime !== 0) return false;\n      _api_service__WEBPACK_IMPORTED_MODULE_31__.sendMessage({\n        useraccount: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account,\n        verifycode: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.verifyCode,\n        loginid: this.verifyCodeToken,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.accountId,\n        factor: factor,\n        language: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.lang\n      }).then(function (data) {\n        if (data.success !== true) {\n          //  eventBus.pub_ShowErrorMessage(error)\n          _this4.props.dataPipeModel && _this4.props.dataPipeModel.sendData({\n            type: 'ShowErrorMessage',\n            message: data.msg || data.description\n          });\n          if (data.errorcode === SHOW_ALL) {\n            _this4.handleGetVerifyCode();\n          }\n          return false;\n        }\n        var vCodeTime = data.timeout || 60;\n        _this4.vCodeTimer = setInterval(function () {\n          if (vCodeTime <= 0) {\n            clearInterval(_this4.vCodeTimer);\n          } else {\n            _this4.setState({\n              vCodeTime: --vCodeTime,\n              showPhoneCode: true\n            });\n          }\n        }, 1000);\n      });\n    }\n  }, {\n    key: \"showMsg\",\n    value: function showMsg(errorcode, errorData, data) {\n      var _this5 = this;\n      if (errorcode === _const__WEBPACK_IMPORTED_MODULE_38__.BEFORE_LOGIN_DIALOG) {\n        var callback = function callback(key) {\n          key === _base_Message__WEBPACK_IMPORTED_MODULE_40__.BtnKey.Yes && _this5.getPublickKey(_this5.submit, {\n            temporaryLogin: true\n          });\n        };\n        this.props.dataPipeModel.sendData({\n          type: 'showConfirm',\n          data: _objectSpread(_objectSpread({}, errorData), {}, {\n            callback: callback\n          })\n        });\n      } else if (errorcode === _const__WEBPACK_IMPORTED_MODULE_38__.PRIVACT_STATEMENT) {\n        var _callback = function _callback(type) {\n          if (type === _base_Message__WEBPACK_IMPORTED_MODULE_40__.BtnKey.No) return;\n          _this5.setState({\n            isKickedOut: '3'\n          });\n          _this5.getPublickKey(_this5.submit);\n        };\n        this.props.dataPipeModel.sendData({\n          type: 'showConfirm',\n          data: _objectSpread({\n            btnNames: _defineProperty(_defineProperty({}, _base_Message__WEBPACK_IMPORTED_MODULE_40__.BtnKey.Yes, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key110')), _base_Message__WEBPACK_IMPORTED_MODULE_40__.BtnKey.No, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key111')),\n            type: _base_Message__WEBPACK_IMPORTED_MODULE_40__.BtnType.YesNo,\n            callback: _callback\n          }, data)\n        });\n      }\n    }\n  }, {\n    key: \"submit\",\n    value: function submit(data) {\n      var _this6 = this;\n      var accountId = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.accountId,\n        account = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account,\n        password = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.password,\n        phoneCode = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.phoneCode,\n        verifyCode = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.verifyCode,\n        customDynamicCode = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.customDynamicCode;\n      var _this$state3 = this.state,\n        needVerifyCode = _this$state3.needVerifyCode,\n        needMsgValidate = _this$state3.needMsgValidate,\n        factor = _this$state3.factor,\n        isKickedOut = _this$state3.isKickedOut,\n        isPhoneLogin = _this$state3.isPhoneLogin;\n      var redirect = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.getRedirect)();\n      if (redirect) {\n        redirect = decodeURIComponent(redirect);\n      }\n      var psw;\n      var currentItem = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.dataCenter.find(function (item, i) {\n        return item.value === accountId;\n      });\n      if (currentItem && currentItem.closeEncrypt) {\n        psw = password;\n      } else {\n        psw = (0,_util_encrypt_js__WEBPACK_IMPORTED_MODULE_27__.encrypt)(data.publicKey, password, currentItem === null || currentItem === void 0 ? void 0 : currentItem.rsaPadding);\n      }\n      var formData = {\n        accountId: accountId,\n        useraccount: account,\n        accessKey: data.accessKey,\n        password: psw,\n        redirect: redirect || 'mobile.html',\n        isMobile: true,\n        customDynamicCode: customDynamicCode,\n        randomCode: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.randomCode,\n        language: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.lang\n      };\n      if (data.formData) {\n        Object.assign(formData, _objectSpread({}, data.formData));\n      }\n      isPhoneLogin && Object.assign(formData, {\n        loginType: '1'\n      });\n      isKickedOut && Object.assign(formData, {\n        isKickedOut: isKickedOut\n      });\n      if (needVerifyCode) {\n        formData = Object.assign(formData, {\n          verifycode: verifyCode,\n          loginid: this.verifyCodeToken\n        });\n      }\n      needMsgValidate && (factor === 'email' ? Object.assign(formData, {\n        emailCode: phoneCode\n      }) : Object.assign(formData, {\n        smsCode: phoneCode\n      }));\n      this.handleAccountInputBlur();\n      _api_service__WEBPACK_IMPORTED_MODULE_31__.submit(formData).then(function (data) {\n        // 首次登录失败，后端会返回randomCode，选择继续登录，前端会把randomCode带到后端就可以直接登入系统\n        var errorcode = data.errorcode,\n          needChangePwd = data.needChangePwd,\n          needChangeInitialPwd = data.needChangeInitialPwd,\n          message = data.message,\n          needActive = data.needActive,\n          errorData = data.errorData,\n          _data$randomCode = data.randomCode,\n          randomCode = _data$randomCode === void 0 ? '' : _data$randomCode;\n        _store__WEBPACK_IMPORTED_MODULE_32__.mStore.setValue('randomCode', randomCode);\n        if (needActive) {\n          window.location.hash = '#activeUser';\n          return false;\n        }\n        if (needChangePwd === 1 || needChangeInitialPwd === 1) {\n          window.location.hash = '#findPassword';\n          // eventBus.pub_ShowErrorMessage ({ message: message })\n          _this6.props.dataPipeModel && _this6.props.dataPipeModel.sendData({\n            type: 'ShowErrorMessage',\n            message: message\n          });\n          return false;\n        }\n        // errorcode = '306'\n        if (errorcode !== 0) {\n          _this6.loginFail(data);\n          _this6.showMsg(errorcode, errorData, data);\n          return false;\n        } else {\n          if (_this6.state.pwdIsRemed) {\n            var _this6$props$configur = _this6.props.configuration.usernamepsw,\n              usernamepsw = _this6$props$configur === void 0 ? ONLY_SHOW_USERNAME : _this6$props$configur;\n            var accountInfo = {};\n            if (usernamepsw === SHOW_ALL || usernamepsw === ONLY_SHOW_USERNAME) {\n              accountInfo.account = account;\n            }\n            _util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.myLocalStorage.setItem(_const__WEBPACK_IMPORTED_MODULE_38__.ACCOUNT_INFO, JSON.stringify(accountInfo));\n          } else {\n            _util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.myLocalStorage.removeItem(_const__WEBPACK_IMPORTED_MODULE_38__.ACCOUNT_INFO);\n          }\n          _this6.setState({\n            logining: false\n          });\n          (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_34__.redirectByUrl)(data.RedirectURL, window.location.hash, _store__WEBPACK_IMPORTED_MODULE_32__.mStore.dataCenter, accountId);\n        }\n        // this.resetLoginStatus()\n      });\n    }\n  }, {\n    key: \"loginFail\",\n    value: function loginFail(data) {\n      var errorCode = data.errorcode;\n      if (errorCode === 'needVerification') {\n        this.setState({\n          needVerifyCode: true\n        });\n        this.handleGetVerifyCode();\n      } else {\n        // eventBus.pub_ShowErrorMessage ({ message: data.description_cn || data.description })\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: 'ShowErrorMessage',\n          message: data.description_cn || data.description\n        });\n      }\n      this.resetLoginStatus();\n    }\n  }, {\n    key: \"getVerifyCode\",\n    value: function getVerifyCode() {\n      var _this7 = this;\n      if (this.state.needVerifyCode === false) return;\n      this.setState({\n        verifyCodeImg: (_img_loading_gif__WEBPACK_IMPORTED_MODULE_36___default())\n      });\n      _api_service__WEBPACK_IMPORTED_MODULE_31__.getVerifyCode({\n        phone: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account,\n        v: (0,_util__WEBPACK_IMPORTED_MODULE_33__.getUid)(false, 8),\n        language: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.lang\n      }).then(function (data) {\n        var message = data.description_cn || data.description;\n        if (message) {\n          _this7.props.dataPipeModel && _this7.props.dataPipeModel.sendData({\n            type: 'ShowErrorMessage',\n            message: message\n          });\n          return false;\n        }\n        _this7.setState({\n          verifyCodeImg: data.content || (_img_loading_gif__WEBPACK_IMPORTED_MODULE_36___default())\n        });\n        _this7.verifyCodeToken = data.loginId;\n      });\n    }\n  }, {\n    key: \"handleGetVerifyCode\",\n    value: function handleGetVerifyCode() {\n      this.getVerifyCode();\n    }\n  }, {\n    key: \"getPublickKey\",\n    value: function getPublickKey(call, formData) {\n      var _this8 = this;\n      this.setState({\n        logining: true\n      });\n      var accessKey = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account + (0,_util__WEBPACK_IMPORTED_MODULE_33__.getUid)(false, 16 - _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account.length);\n      _api_service__WEBPACK_IMPORTED_MODULE_31__.getPublicKey({\n        accountId: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.accountId,\n        accessKey: accessKey,\n        language: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.lang\n      }).then(function (data) {\n        if (data.success !== true) {\n          // eventBus.pub_ShowErrorMessage  ({ message: data.errorMessage })\n          _this8.props.dataPipeModel && _this8.props.dataPipeModel.sendData({\n            type: 'ShowErrorMessage',\n            message: data.errorMessage\n          });\n          _this8.resetLoginStatus();\n          return false;\n        }\n        call({\n          publicKey: data.publicKey,\n          accessKey: accessKey,\n          formData: formData\n        });\n      });\n    }\n  }, {\n    key: \"resetLoginStatus\",\n    value: function resetLoginStatus() {\n      this.setState({\n        logining: false\n      });\n    }\n  }, {\n    key: \"isNeedVerifyCode\",\n    value: function isNeedVerifyCode() {\n      var _this9 = this;\n      _api_service__WEBPACK_IMPORTED_MODULE_31__.isNeedVerifyCode({\n        useraccount: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.accountId,\n        v: (0,_util__WEBPACK_IMPORTED_MODULE_33__.getUid)(false, 8),\n        language: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.lang\n      }).then(function (data) {\n        _this9.setState({\n          needVerifyCode: data.isNeed\n        });\n        data.isNeed && _this9.handleGetVerifyCode();\n      });\n    }\n  }, {\n    key: \"handleAccountInputBlur\",\n    value: function handleAccountInputBlur() {\n      var _this$isNeedMsgValida2,\n        _this10 = this;\n      (_this$isNeedMsgValida2 = this.isNeedMsgValidate()) === null || _this$isNeedMsgValida2 === void 0 || _this$isNeedMsgValida2.then(function () {\n        if (_this10.state.needMsgValidate) return false;\n        _this10.isNeedVerifyCode();\n      });\n    }\n  }, {\n    key: \"getLoginBtnText\",\n    value: function getLoginBtnText() {\n      var _this$state4 = this.state,\n        logining = _this$state4.logining,\n        needMsgValidate = _this$state4.needMsgValidate,\n        showPhoneCode = _this$state4.showPhoneCode,\n        factor = _this$state4.factor;\n      var btnText = '';\n      if (needMsgValidate && !showPhoneCode) {\n        btnText = factor === 'email' ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key172') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key173');\n      } else {\n        btnText = logining ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key174') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key175');\n      }\n      return btnText;\n    }\n  }, {\n    key: \"renderPhoneCodeItem\",\n    value: function renderPhoneCodeItem() {\n      var _this$state5 = this.state,\n        showPhoneCode = _this$state5.showPhoneCode,\n        vCodeTime = _this$state5.vCodeTime,\n        factor = _this$state5.factor;\n      var btnText = vCodeTime === 0 ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key176') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)({\n        key: 'login.key177',\n        variables: {\n          vCodeTime: vCodeTime\n        }\n      });\n      var phoneCodeItemClass = classnames__WEBPACK_IMPORTED_MODULE_28___default()(_defineProperty(_defineProperty({}, _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].phoneCodeItem, true), _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].hidden, !showPhoneCode));\n      var inputStyle = {\n        flexGrow: 1,\n        width: 180\n      };\n      var btnClass = classnames__WEBPACK_IMPORTED_MODULE_28___default()(_defineProperty(_defineProperty({}, _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].btn, true), _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].disable, vCodeTime !== 0));\n      var placeholder = factor ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key178') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key179');\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: phoneCodeItemClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        onChange: this.handleChange,\n        name: \"phoneCode\",\n        type: \"text\",\n        placeholder: placeholder,\n        style: inputStyle\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: btnClass,\n        onClick: this.handleSendMessage\n      }, btnText));\n    }\n  }, {\n    key: \"renderVerityCodeItem\",\n    value: function renderVerityCodeItem() {\n      var _this$state6 = this.state,\n        needVerifyCode = _this$state6.needVerifyCode,\n        verifyCodeImg = _this$state6.verifyCodeImg;\n      var verifyCodeItemClass = classnames__WEBPACK_IMPORTED_MODULE_28___default()(_defineProperty(_defineProperty({}, _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].verifyCodeItem, true), _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].hidden, !needVerifyCode));\n      var inputStyle = {\n        flexGrow: 1,\n        width: 180,\n        border: 'none'\n      };\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: verifyCodeItemClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        onChange: this.handleChange,\n        name: \"verifyCode\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key180'),\n        style: inputStyle\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].graphicCode,\n        onClick: this.handleGetVerifyCode\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"img\", {\n        src: verifyCodeImg\n      })));\n    }\n  }, {\n    key: \"handleChange\",\n    value: function handleChange(name, value) {\n      this.setState(_defineProperty({}, name, value));\n    }\n  }, {\n    key: \"dataCenterChange\",\n    value: function dataCenterChange() {\n      var _mStore$dataCenter$fi2,\n        _this11 = this;\n      var needCustomDynamicCode = (_mStore$dataCenter$fi2 = _store__WEBPACK_IMPORTED_MODULE_32__.mStore.dataCenter.find(function (item, i) {\n        return item.value === _this11.props.currentAccountId;\n      })) === null || _mStore$dataCenter$fi2 === void 0 ? void 0 : _mStore$dataCenter$fi2.needCustomDynamicCode;\n      needCustomDynamicCode !== this.state.needCustomDynamicCode && this.setState({\n        needCustomDynamicCode: needCustomDynamicCode\n      });\n    }\n  }, {\n    key: \"handleRememberPwd\",\n    value: function handleRememberPwd(isSelect) {\n      this.setState({\n        pwdIsRemed: isSelect\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dataCenter = _this$props.dataCenter,\n        currentAccountId = _this$props.currentAccountId,\n        handleChangeDataCenter = _this$props.handleChangeDataCenter,\n        configuration = _this$props.configuration;\n      var _this$state7 = this.state,\n        showPhoneCode = _this$state7.showPhoneCode,\n        needVerifyCode = _this$state7.needVerifyCode,\n        account = _this$state7.account,\n        password = _this$state7.password,\n        verifyCode = _this$state7.verifyCode,\n        phoneCode = _this$state7.phoneCode,\n        pwdIsRemed = _this$state7.pwdIsRemed,\n        isPhoneLogin = _this$state7.isPhoneLogin;\n      var btnStyle = !account || !password || needVerifyCode && !verifyCode || showPhoneCode && !phoneCode ? {\n        background: '#85B8FF'\n      } : {};\n      var hideMsgLogin = configuration.isGlobalDeploy === 'true' || configuration.isGlobalDeploy === true; // 星空海外版标识(isGlobalDeploy)\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_LoginWrapper__WEBPACK_IMPORTED_MODULE_37__[\"default\"], _extends({}, this.props, {\n        lang: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.lang\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].title\n      }, isPhoneLogin ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key214') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key213'), \" \"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.DropdownList, {\n        name: \"accountId\",\n        dataPipeModel: this.props.dataPipeModel,\n        list: dataCenter,\n        selectItem: currentAccountId,\n        onItemClick: handleChangeDataCenter\n      }), isPhoneLogin ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base_Telephone__WEBPACK_IMPORTED_MODULE_41__[\"default\"], {\n        defaultAreaCode: this.props.configuration.defaultAreaCode,\n        dataPipeModel: this.props.dataPipeModel,\n        telViaList: this.props.countryAreaCodes,\n        onChange: this.handleChange,\n        name: \"account\",\n        placeholder: (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_35__.getMultilinguaText)(configuration.accountplaceholder, 'zh_CN', (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key210')),\n        type: \"text\",\n        onBlur: this.handleAccountInputBlur,\n        defaultValue: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        onChange: this.handleChange,\n        name: \"account\",\n        placeholder: (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_35__.getMultilinguaText)(configuration.accountplaceholder, 'zh_CN', (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key210')),\n        type: \"text\",\n        onBlur: this.handleAccountInputBlur,\n        defaultValue: _store__WEBPACK_IMPORTED_MODULE_32__.mStore.account\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        onChange: this.handleChange,\n        name: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key182'),\n        type: \"password\"\n      }), this.renderVerityCodeItem(), this.renderPhoneCodeItem(), this.state.needCustomDynamicCode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        onChange: this.handleChange,\n        name: \"customDynamicCode\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key183')\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base_Tools__WEBPACK_IMPORTED_MODULE_42__[\"default\"], {\n        configuration: configuration,\n        pwdIsRemed: pwdIsRemed,\n        onRememberPwd: this.handleRememberPwd\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.Button, {\n        dataPipeModel: this.props.dataPipeModel,\n        style: btnStyle,\n        text: this.getLoginBtnText(),\n        onClick: this.handleLoginBtnClick\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].loginType\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].phoneLogin,\n        onClick: this.handleLoginTypeClick\n      }, \" \", isPhoneLogin ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key213') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key214')), hideMsgLogin ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(react__WEBPACK_IMPORTED_MODULE_26__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].line\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_29__[\"default\"].msgLogin,\n        onClick: function onClick() {\n          window.location.hash = 'msgLogin';\n        }\n      }, \" \", (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_39__.getLangMsg)('login.key212')))))\n      // </div>\n      ;\n    }\n  }]);\n  return KingdeeCloud;\n}(react__WEBPACK_IMPORTED_MODULE_26__.Component);\n/* harmony default export */ __webpack_exports__[\"default\"] = (KingdeeCloud);\n\n//# sourceURL=webpack://kd-login/./src/page/mobile/KingdeeCloud.jsx?");

/***/ }),

/***/ "./src/page/mobile/base/Tools.jsx":
/*!****************************************!*\
  !*** ./src/page/mobile/base/Tools.jsx ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ Tools; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _web_base_CheckBox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../web/base/CheckBox */ \"./src/page/web/base/CheckBox.jsx\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _Tools_less__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Tools.less */ \"./src/page/mobile/base/Tools.less\");\n\n\n\n\nvar SHOW_ALL = '1'; // 记住用户名和密码(PC)/记住用户名(移动)\nvar ONLY_SHOW_USERNAME = '2'; // 记住用户名\n\nfunction Tools(_ref) {\n  var pwdIsRemed = _ref.pwdIsRemed,\n    configuration = _ref.configuration,\n    onRememberPwd = _ref.onRememberPwd;\n  var usernamepsw = configuration.usernamepsw,\n    hiddenresetpwd = configuration.hiddenresetpwd,\n    isGlobalDeploy = configuration.isGlobalDeploy;\n  var showUsernamePsw = usernamepsw === SHOW_ALL || usernamepsw === ONLY_SHOW_USERNAME;\n  var showResetPwd = !hiddenresetpwd || hiddenresetpwd === 'false';\n  var textUsernamePsw = showUsernamePsw && (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_2__.getLangMsg)('login.key086');\n  var hideFindPassword = isGlobalDeploy === 'true' || isGlobalDeploy === true; // 星空海外版标识(isGlobalDeploy)\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"div\", {\n    className: _Tools_less__WEBPACK_IMPORTED_MODULE_3__[\"default\"].tools\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_web_base_CheckBox__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    text: textUsernamePsw,\n    isMobile: true,\n    isSelect: pwdIsRemed,\n    onClick: onRememberPwd,\n    showUsernamePsw: true\n  }), showResetPwd && !hideFindPassword && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"a\", {\n    className: _Tools_less__WEBPACK_IMPORTED_MODULE_3__[\"default\"].findPassword,\n    href: \"#findPassword\"\n  }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_2__.getLangMsg)('login.key216')));\n}\n\n//# sourceURL=webpack://kd-login/./src/page/mobile/base/Tools.jsx?");

/***/ })

}]);