"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([[440],{

/***/ "./src/page/web/CloudHub.less":
/*!************************************!*\
  !*** ./src/page/web/CloudHub.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\"] = ({\"formContainer\":\"CloudHub_formContainer_H_rJ\",\"title\":\"CloudHub_title_1MP9\",\"content\":\"CloudHub_content_1v9c\",\"dropdownList\":\"CloudHub_dropdownList_1ZqH\",\"backLogin\":\"CloudHub_backLogin_31xr\",\"hyperlink\":\"CloudHub_hyperlink_1myz\",\"publicQrcode\":\"CloudHub_publicQrcode_1uoR\",\"privateQrcode\":\"CloudHub_privateQrcode_3_82\",\"imgBox\":\"CloudHub_imgBox_3FhP\",\"reload\":\"CloudHub_reload_3rGW\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/CloudHub.less?");

/***/ }),

/***/ "./src/page/web/KingdeeCloud.less":
/*!****************************************!*\
  !*** ./src/page/web/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\"] = ({\"formContainer\":\"KingdeeCloud_formContainer_3CJd\",\"title\":\"KingdeeCloud_title_3ZXK\",\"content\":\"KingdeeCloud_content_2sVh\",\"dropdownList\":\"KingdeeCloud_dropdownList_3Gih\",\"graphicContainer\":\"KingdeeCloud_graphicContainer_1ldv\",\"input\":\"KingdeeCloud_input_35yi\",\"graphicCode\":\"KingdeeCloud_graphicCode_3QqF\",\"hide\":\"KingdeeCloud_hide_1vCK\",\"phoneCodeContainer\":\"KingdeeCloud_phoneCodeContainer_2L1G\",\"btn\":\"KingdeeCloud_btn_Og9W\",\"disable\":\"KingdeeCloud_disable_Jw_N\",\"showPhoneCode\":\"KingdeeCloud_showPhoneCode_1Dm_\",\"tools\":\"KingdeeCloud_tools_2Ui6\",\"loginType\":\"KingdeeCloud_loginType_21z4\",\"phoneLogin\":\"KingdeeCloud_phoneLogin_3Jlp\",\"msgLogin\":\"KingdeeCloud_msgLogin_tthS\",\"line\":\"KingdeeCloud_line_j28l\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/KingdeeCloud.less?");

/***/ }),

/***/ "./src/page/web/base/Button.less":
/*!***************************************!*\
  !*** ./src/page/web/base/Button.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\"] = ({\"buttonWrap\":\"Button_buttonWrap_NPUK\",\"button\":\"Button_button_2R-q\",\"loading\":\"Button_loading_37i5\",\"donut-spin\":\"Button_donut-spin_1Alf\",\"text\":\"Button_text_EFZR\",\"buttonLoading\":\"Button_buttonLoading_3qn8\",\"disable\":\"Button_disable_3Q6T\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Button.less?");

/***/ }),

/***/ "./src/page/web/base/CheckBox.less":
/*!*****************************************!*\
  !*** ./src/page/web/base/CheckBox.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\"] = ({\"checkbox\":\"CheckBox_checkbox_3Gz0\",\"square\":\"CheckBox_square_2KL_\",\"selected\":\"CheckBox_selected_2jqB\",\"circle\":\"CheckBox_circle_uEwg\",\"circleSelected\":\"CheckBox_circleSelected_23YU\",\"circleSelectedMobile\":\"CheckBox_circleSelectedMobile_16zd\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/CheckBox.less?");

/***/ }),

/***/ "./src/page/web/base/DropdownList.less":
/*!*********************************************!*\
  !*** ./src/page/web/base/DropdownList.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\"] = ({\"dropdownList\":\"DropdownList_dropdownList_mynw\",\"title\":\"DropdownList_title_3rA4\",\"textWrapper\":\"DropdownList_textWrapper_1-gH\",\"tips\":\"DropdownList_tips_1qpY\",\"tipsContainer\":\"DropdownList_tipsContainer_3qd0\",\"tipsText\":\"DropdownList_tipsText_2N0d\",\"tipsHide\":\"DropdownList_tipsHide_jOWN\",\"text\":\"DropdownList_text_3FT2\",\"off\":\"DropdownList_off_jExk\",\"on\":\"DropdownList_on_cE21\",\"panel\":\"DropdownList_panel_1xYH\",\"list\":\"DropdownList_list_8Qhm\",\"item\":\"DropdownList_item_3Nhx\",\"item-selected\":\"DropdownList_item-selected_2ogc\",\"hide\":\"DropdownList_hide_3FxS\",\"onlyOneChild\":\"DropdownList_onlyOneChild_1lin\",\"weChatonlyOneChild\":\"DropdownList_weChatonlyOneChild_1PYI\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/DropdownList.less?");

/***/ }),

/***/ "./src/page/web/base/Footer.less":
/*!***************************************!*\
  !*** ./src/page/web/base/Footer.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\"] = ({\"container\":\"Footer_container_4Ylf\",\"agreement\":\"Footer_agreement_2WRr\",\"line\":\"Footer_line_6Yga\",\"beian\":\"Footer_beian_MEmK\",\"icon1\":\"Footer_icon1_A1OM\",\"icon2\":\"Footer_icon2_3j98\",\"link1\":\"Footer_link1_3PQk\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Footer.less?");

/***/ }),

/***/ "./src/page/web/base/HyperLink.less":
/*!******************************************!*\
  !*** ./src/page/web/base/HyperLink.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\"] = ({\"hyperlink\":\"HyperLink_hyperlink_2-ty\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/HyperLink.less?");

/***/ }),

/***/ "./src/page/web/base/Input.less":
/*!**************************************!*\
  !*** ./src/page/web/base/Input.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\"] = ({\"container\":\"Input_container_qqk5\",\"errorMsg\":\"Input_errorMsg_3EJ2\",\"content\":\"Input_content_1yfX\",\"showPwd\":\"Input_showPwd_1rgk\",\"hidePwd\":\"Input_hidePwd_XTh8\",\"showKeyboard\":\"Input_showKeyboard_13DO\",\"hideKeyboard\":\"Input_hideKeyboard_2MKv\",\"image\":\"Input_image_1yAB\",\"icon\":\"Input_icon_1tBx\",\"accIcon\":\"Input_accIcon_3jVt\",\"accIconFocus\":\"Input_accIconFocus_27WD\",\"accIconError\":\"Input_accIconError_22hw\",\"pwdIcon\":\"Input_pwdIcon_UO82\",\"pwdIconFocus\":\"Input_pwdIconFocus_24Rl\",\"pwdIconError\":\"Input_pwdIconError_1_oV\",\"verifyIcon\":\"Input_verifyIcon_gtYG\",\"verifyIconFocus\":\"Input_verifyIconFocus_r2Au\",\"verifyIconError\":\"Input_verifyIconError_pi6H\",\"msgIcon\":\"Input_msgIcon_31nv\",\"msgIconFocus\":\"Input_msgIconFocus_18H1\",\"msgIconError\":\"Input_msgIconError_34ho\",\"input\":\"Input_input_10qg\",\"inputFocus\":\"Input_inputFocus_2RDs\",\"inputError\":\"Input_inputError_2Qsp\",\"keybord\":\"Input_keybord_2_EL\",\"row\":\"Input_row_RYk-\",\"cell\":\"Input_cell_329F\",\"del\":\"Input_del_3Zvy\",\"shift\":\"Input_shift_12h7\",\"shiftActive\":\"Input_shiftActive_2kDO\",\"enter\":\"Input_enter_2JcI\",\"space\":\"Input_space_3qrt\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Input.less?");

/***/ }),

/***/ "./src/page/web/base/LangSelect.less":
/*!*******************************************!*\
  !*** ./src/page/web/base/LangSelect.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\"] = ({\"container\":\"LangSelect_container_3Q5h\",\"icon\":\"LangSelect_icon_3wOK\",\"text\":\"LangSelect_text_VztM\",\"panel\":\"LangSelect_panel_WCUv\",\"item\":\"LangSelect_item_zWyX\",\"selected\":\"LangSelect_selected_je3n\",\"hidden\":\"LangSelect_hidden_3zYV\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/LangSelect.less?");

/***/ }),

/***/ "./src/page/web/base/LicenseBar.less":
/*!*******************************************!*\
  !*** ./src/page/web/base/LicenseBar.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\"] = ({\"ieWrap\":\"LicenseBar_ieWrap_3Wgr\",\"message\":\"LicenseBar_message_OVko\",\"titleRoot\":\"LicenseBar_titleRoot_1DcB\",\"title\":\"LicenseBar_title_2fd5\",\"days\":\"LicenseBar_days_2ULp\",\"slidingIn\":\"LicenseBar_slidingIn_PNFi\",\"slidingOut\":\"LicenseBar_slidingOut_1VRO\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/LicenseBar.less?");

/***/ }),

/***/ "./src/page/web/base/Notification.less":
/*!*********************************************!*\
  !*** ./src/page/web/base/Notification.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\"] = ({\"notification\":\"Notification_notification_1oQl\",\"message\":\"Notification_message_2ZKR\",\"cancel\":\"Notification_cancel_1gf_\",\"error\":\"Notification_error_3cH-\",\"warmming\":\"Notification_warmming_3RTb\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Notification.less?");

/***/ }),

/***/ "./src/page/web/base/OfflinePrompt.less":
/*!**********************************************!*\
  !*** ./src/page/web/base/OfflinePrompt.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\"] = ({\"msgRoot\":\"OfflinePrompt_msgRoot_Pr14\",\"ieWrap\":\"OfflinePrompt_ieWrap_3ksr\",\"offlinePrompt\":\"OfflinePrompt_offlinePrompt_2WIo\",\"head\":\"OfflinePrompt_head_2BxS\",\"title\":\"OfflinePrompt_title_XJud\",\"dialogDot\":\"OfflinePrompt_dialogDot_xv3Z\",\"close\":\"OfflinePrompt_close_XpM3\",\"content\":\"OfflinePrompt_content_Ch9L\",\"foot\":\"OfflinePrompt_foot_3FFO\",\"iKnow\":\"OfflinePrompt_iKnow_FLgm\",\"findPsw\":\"OfflinePrompt_findPsw_-aY6\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/OfflinePrompt.less?");

/***/ }),

/***/ "./src/page/web/base/Telephone/Telephone.less":
/*!****************************************************!*\
  !*** ./src/page/web/base/Telephone/Telephone.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\"] = ({\"root\":\"Telephone_root_1XGq\",\"flat\":\"Telephone_flat_3fGL\",\"via\":\"Telephone_via_3q_6\",\"input-area\":\"Telephone_input-area_rZg3\",\"arrow-base\":\"Telephone_arrow-base_dLeh\",\"arrow-default\":\"Telephone_arrow-default_c3gw\",\"arrow-flat\":\"Telephone_arrow-flat_1YEl\",\"no-data-tip-class\":\"Telephone_no-data-tip-class_2kvx\",\"search-panel\":\"Telephone_search-panel_HLQ8\",\"search-ul\":\"Telephone_search-ul_gbYo\",\"search-li\":\"Telephone_search-li_1M9W\",\"hover-bg\":\"Telephone_hover-bg_3LjC\",\"search-input-div\":\"Telephone_search-input-div_1oG0\",\"search-icon\":\"Telephone_search-icon_8kvy\",\"search-input\":\"Telephone_search-input_1TVy\",\"searchIcon\":\"Telephone_searchIcon_3zrt\",\"searchIconFocus\":\"Telephone_searchIconFocus_NPWO\",\"searchInputDivFocus\":\"Telephone_searchInputDivFocus_31jc\",\"no-result-li\":\"Telephone_no-result-li_2jKG\",\"lock-with-no-value\":\"Telephone_lock-with-no-value_3GoI\",\"container\":\"Telephone_container_2hmt\",\"errorMsg\":\"Telephone_errorMsg_3T7B\",\"content\":\"Telephone_content_1F5J\",\"icon\":\"Telephone_icon_y6wN\",\"telInput\":\"Telephone_telInput_7kBF\",\"accIcon\":\"Telephone_accIcon_2cvn\",\"accIconFocus\":\"Telephone_accIconFocus_3ip4\",\"accIconError\":\"Telephone_accIconError_2sb3\",\"msgIcon\":\"Telephone_msgIcon_2fT1\",\"msgIconFocus\":\"Telephone_msgIconFocus_9zCs\",\"msgIconError\":\"Telephone_msgIconError_3dNr\",\"input\":\"Telephone_input_2T5_\",\"inputFocus\":\"Telephone_inputFocus_3MzK\",\"inputError\":\"Telephone_inputError_2Jl2\",\"panel-drop-down-animation\":\"Telephone_panel-drop-down-animation_3yPK\",\"panel-drop-down\":\"Telephone_panel-drop-down_3qHv\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Telephone/Telephone.less?");

/***/ }),

/***/ "./src/page/web/base/WaterMark.less":
/*!******************************************!*\
  !*** ./src/page/web/base/WaterMark.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\"] = ({\"waterMark\":\"WaterMark_waterMark_3xlZ\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/WaterMark.less?");

/***/ }),

/***/ "./src/page/web/common/AiLoginWrapper.less":
/*!*************************************************!*\
  !*** ./src/page/web/common/AiLoginWrapper.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\"] = ({\"container\":\"AiLoginWrapper_container_3pHu\",\"mask\":\"AiLoginWrapper_mask_2tgz\",\"header\":\"AiLoginWrapper_header_39Ru\",\"center\":\"AiLoginWrapper_center_1IAP\",\"footer\":\"AiLoginWrapper_footer_25ht\",\"hide\":\"AiLoginWrapper_hide_3J3t\",\"success\":\"AiLoginWrapper_success_-5fp\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/common/AiLoginWrapper.less?");

/***/ }),

/***/ "./src/page/web/common/LoginType.less":
/*!********************************************!*\
  !*** ./src/page/web/common/LoginType.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\"] = ({\"loginMode\":\"LoginType_loginMode_psv4\",\"modeText\":\"LoginType_modeText_cRZB\",\"line\":\"LoginType_line_33hy\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/common/LoginType.less?");

/***/ }),

/***/ "./src/page/web/common/LoginWrapper.less":
/*!***********************************************!*\
  !*** ./src/page/web/common/LoginWrapper.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\"] = ({\"container\":\"LoginWrapper_container_2nC8\",\"imgPart\":\"LoginWrapper_imgPart_2LgN\",\"slogan\":\"LoginWrapper_slogan_2lFj\",\"sloganh1\":\"LoginWrapper_sloganh1_1tzb\",\"sloganh2\":\"LoginWrapper_sloganh2_OJ5o\",\"formPart\":\"LoginWrapper_formPart_3WTX\",\"logo\":\"LoginWrapper_logo_3Pif\",\"content\":\"LoginWrapper_content_3Dvu\",\"imgPartHide\":\"LoginWrapper_imgPartHide_1-Rr\",\"formPartCenter\":\"LoginWrapper_formPartCenter_1aul\",\"hidden\":\"LoginWrapper_hidden_1uEG\",\"linksBox\":\"LoginWrapper_linksBox_12l7\",\"a\":\"LoginWrapper_a_orJD\",\"linksBox2\":\"LoginWrapper_linksBox2_2odY\",\"customRange\":\"LoginWrapper_customRange_3xKy\",\"link\":\"LoginWrapper_link_2qlS\",\"img\":\"LoginWrapper_img_Twr6\",\"split\":\"LoginWrapper_split_1X2v\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/common/LoginWrapper.less?");

/***/ }),

/***/ "./src/page/web/KingdeeCloud.jsx":
/*!***************************************!*\
  !*** ./src/page/web/KingdeeCloud.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 */   Form: function() { return /* binding */ Form; },\n/* harmony export */   StoreContext: function() { return /* binding */ StoreContext; },\n/* harmony export */   Tools: function() { return /* binding */ Tools; }\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_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_includes_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_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_array_some_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.some.js */ \"../../node_modules/core-js/modules/es.array.some.js\");\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_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_promise_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.js\");\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_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_to_string_js__WEBPACK_IMPORTED_MODULE_23__ = __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_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_25__ = __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_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_27__ = __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_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_28__ = __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_28___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! crypto-js */ \"./node_modules/crypto-js/index.js\");\n/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_30__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_31__);\n/* harmony import */ var _common_LoginWrapper__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./common/LoginWrapper */ \"./src/page/web/common/LoginWrapper.jsx\");\n/* harmony import */ var _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./KingdeeCloud.less */ \"./src/page/web/KingdeeCloud.less\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./base */ \"./src/page/web/base/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../store */ \"./src/store.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../const */ \"./src/const.js\");\n/* harmony import */ var _util_dataUtil__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! @/util/dataUtil.js */ \"./src/util/dataUtil.js\");\n/* harmony import */ var _common_showConfirm__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../common/showConfirm */ \"./src/page/common/showConfirm.js\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../img/loading.gif */ \"./src/img/loading.gif\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_42___default = /*#__PURE__*/__webpack_require__.n(_img_loading_gif__WEBPACK_IMPORTED_MODULE_42__);\n/* harmony import */ var _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _util_encrypt_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! @/util/encrypt.js */ \"./src/util/encrypt.js\");\n/* harmony import */ var _page_web_base_InputPWD_jsx__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! @/page/web/base/InputPWD.jsx */ \"./src/page/web/base/InputPWD.jsx\");\n/* harmony import */ var _page_web_base_Telephone_index__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! @/page/web/base/Telephone/index */ \"./src/page/web/base/Telephone/index.js\");\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 _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 _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); }\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\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 _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return 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 _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// import CryptoJS.AES from 'crypto-js/aes'\n\n\n\n\n\n\n\n\n// import eventBus from '../../eventBus'\n\n\n\n\n\n\n\n\n\n\n\n// 隐藏 记住用户名和密码\nvar HIDDEN_ALL = '0';\n// 展示 记住用户名和密码\nvar SHOW_ALL = '1';\n// 只显示 记住用户名\nvar ONLY_SHOW_USERNAME = '2';\nvar StoreContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createContext();\nvar KingdeeCloud = /*#__PURE__*/function (_Component) {\n  _inherits(KingdeeCloud, _Component);\n  function KingdeeCloud() {\n    _classCallCheck(this, KingdeeCloud);\n    return _callSuper(this, KingdeeCloud, arguments);\n  }\n  _createClass(KingdeeCloud, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // eventBus.pub_focusInput({ name: 'account' })\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'account'\n      });\n      setTimeout(function () {\n        var _document$querySelect;\n        // 用户选择记住浏览器密码时，密码会自动回填到输入框，此时需要把输入框的密码更新到内部状态中，避免数据不同步\n        var password = (_document$querySelect = document.querySelector('#password[data-type=\"password\"]')) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.value;\n        if (password) {\n          _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].password = password;\n        }\n      }, 0);\n    }\n  }, {\n    key: \"getDefaultDesc\",\n    value: function getDefaultDesc() {\n      var title = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].iskdbrand === '2' ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key094') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key001');\n      return _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].isCompleteLoadConfig ? title : _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].loadingText;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        configuration = _this$props.configuration,\n        currentLang = _this$props.currentLang,\n        dataPipeModel = _this$props.dataPipeModel;\n      var kdTitle = (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_40__.getMultilinguaText)(configuration.accounttypedesc, currentLang, this.getDefaultDesc());\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_common_LoginWrapper__WEBPACK_IMPORTED_MODULE_32__[\"default\"], _extends({\n        selectType: \"kingdeeCloud\"\n      }, this.props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].formContainer\n      }, kdTitle ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].title,\n        id: \"kd_cloud_title\"\n      }, kdTitle) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].title,\n        id: \"kd_cloud_title\"\n      }, \"\\xA0\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.Notification, {\n        dataPipeModel: dataPipeModel\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(Form, this.props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.OfflinePrompt, {\n        dataPipeModel: dataPipeModel\n      }));\n    }\n  }]);\n  return KingdeeCloud;\n}(react__WEBPACK_IMPORTED_MODULE_29__.Component);\nvar Form = /*#__PURE__*/function (_Component2) {\n  _inherits(Form, _Component2);\n  function Form(props) {\n    var _this;\n    _classCallCheck(this, Form);\n    _this = _callSuper(this, Form, [props]);\n    _this.handleLoginTypeClick = function () {\n      var isPhoneLogin = _this.state.isPhoneLogin;\n      _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.setItem((0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_39__.LOGIN_TYPE), !isPhoneLogin ? _const__WEBPACK_IMPORTED_MODULE_39__.TEL : _const__WEBPACK_IMPORTED_MODULE_39__.ACT);\n      _this.setState({\n        isPhoneLogin: !isPhoneLogin\n      });\n    };\n    _this.state = {\n      needVerifyCode: false,\n      logining: false,\n      verifyCodeImg: (_img_loading_gif__WEBPACK_IMPORTED_MODULE_42___default()),\n      pwdIsRemed: false,\n      needMsgValidate: false,\n      vCodeTime: 0,\n      showPhoneCode: false,\n      isKickedOut: '',\n      password: '',\n      inputChange: false,\n      factor: '',\n      isPhoneLogin: _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.getItem((0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_39__.LOGIN_TYPE)) === _const__WEBPACK_IMPORTED_MODULE_39__.TEL\n    };\n    _this._isMounted = false;\n    _this.verifyCodeToken = '';\n    _this.handleSubmit = _this.handleSubmit.bind(_assertThisInitialized(_this));\n    _this.validateFormData = _this.validateFormData.bind(_assertThisInitialized(_this));\n    _this.submit = _this.submit.bind(_assertThisInitialized(_this));\n    _this.resetLoginBtn = _this.resetLoginBtn.bind(_assertThisInitialized(_this));\n    _this.handleAccountInputBlur = _this.handleAccountInputBlur.bind(_assertThisInitialized(_this));\n    _this.getVerifyCode = _this.getVerifyCode.bind(_assertThisInitialized(_this));\n    _this.onHandleRememberPwd = _this.onHandleRememberPwd.bind(_assertThisInitialized(_this));\n    _this.handleEnterKeyDown = _this.handleEnterKeyDown.bind(_assertThisInitialized(_this));\n    _this.handleLoginBtnClick = _this.handleLoginBtnClick.bind(_assertThisInitialized(_this));\n    _this.handleSendMessage = _this.handleSendMessage.bind(_assertThisInitialized(_this));\n    _this.handleVerifyCodeClick = _this.handleVerifyCodeClick.bind(_assertThisInitialized(_this));\n    _this.getUsernamePswVisibility = _this.getUsernamePswVisibility.bind(_assertThisInitialized(_this));\n    _this.setAccountAndPasswordOfStore = _this.setAccountAndPasswordOfStore.bind(_assertThisInitialized(_this));\n    _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));\n    _this.clickCallback = _this.clickCallback.bind(_assertThisInitialized(_this));\n    _this.isNeedVerifyCode = _this.isNeedVerifyCode.bind(_assertThisInitialized(_this));\n    _this.loadingStyle = {\n      height: '30px',\n      width: '30px',\n      borderLeftColor: '#FFFFFF'\n    };\n    _this.showPassWord = _this.showPassWord.bind(_assertThisInitialized(_this));\n    _this.showError = _this.showError.bind(_assertThisInitialized(_this));\n    _this.NeedMsgValidate = _this.NeedMsgValidate.bind(_assertThisInitialized(_this));\n    _this.handleChangeDataCenter = _this.handleChangeDataCenter.bind(_assertThisInitialized(_this));\n    _this.valueChange = _this.valueChange.bind(_assertThisInitialized(_this));\n    _this.handleLoginTypeClick = _this.handleLoginTypeClick.bind(_assertThisInitialized(_this));\n    _this.isInitAccount = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.isPhoneNumber)(_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account);\n    return _this;\n  }\n  _createClass(Form, [{\n    key: \"componentWillMount\",\n    value: function 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: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      this._isMounted = true;\n      document.addEventListener('keydown', this.handleEnterKeyDown);\n      this.removeListener = this.props.dataPipeModel.registerCallback('dataCenterLoad', this.NeedMsgValidate);\n      if (!_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account || !_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId) return;\n      _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId && this.isNeedMsgValidate().then(function (data) {\n        if (_this2.state.needMsgValidate) return false;\n        _this2.isNeedVerifyCode();\n      });\n    }\n  }, {\n    key: \"NeedMsgValidate\",\n    value: function NeedMsgValidate() {\n      var _this3 = this;\n      if (!_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account || !_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId) return;\n      this.isNeedMsgValidate().then(function (data) {\n        if (_this3.state.needMsgValidate) return false;\n        _this3.isNeedVerifyCode();\n      });\n    }\n  }, {\n    key: \"showPassWord\",\n    value: function showPassWord() {\n      this.setState({\n        password: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].password\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this._isMounted = false;\n      document.removeEventListener('keydown', this.handleEnterKeyDown);\n      this.removeListener && this.removeListener();\n      clearInterval(this.vCodeTimer);\n      _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('token', '');\n      _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('openid', '');\n      _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('scantype', '');\n    }\n  }, {\n    key: \"initAccountInfo\",\n    value: function initAccountInfo() {\n      var accountInfo = _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.getItem(_const__WEBPACK_IMPORTED_MODULE_39__.ACCOUNT_INFO);\n      var account = _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.mySessionStorage.getItem(_const__WEBPACK_IMPORTED_MODULE_39__.ACCOUNT) || '';\n      var showUsernamePsw = this.getUsernamePswVisibility();\n      var _this$props$configura = this.props.configuration.usernamepsw,\n        usernamepsw = _this$props$configura === void 0 ? ONLY_SHOW_USERNAME : _this$props$configura;\n      if (showUsernamePsw && accountInfo) {\n        accountInfo = JSON.parse(accountInfo);\n        var password = accountInfo.password;\n        if (password) {\n          password = crypto_js__WEBPACK_IMPORTED_MODULE_30___default().AES.decrypt(accountInfo.password, _const__WEBPACK_IMPORTED_MODULE_39__.SCk).toString((crypto_js__WEBPACK_IMPORTED_MODULE_30___default().enc).Utf8);\n        }\n        switch (usernamepsw) {\n          case SHOW_ALL:\n            this.setAccountAndPasswordOfStore(accountInfo.account, password);\n            if (accountInfo.account && password) {\n              this.setState({\n                pwdIsRemed: true\n              });\n            } else {\n              this.setState({\n                pwdIsRemed: false\n              });\n            }\n            break;\n          case ONLY_SHOW_USERNAME:\n            this.setAccountAndPasswordOfStore(accountInfo.account, '');\n            if (accountInfo.account) {\n              this.setState({\n                pwdIsRemed: true\n              });\n            } else {\n              this.setState({\n                pwdIsRemed: false\n              });\n            }\n            break;\n          default:\n            this.setAccountAndPasswordOfStore('', '');\n            this.setState({\n              pwdIsRemed: false\n            });\n            break;\n        }\n      } else {\n        account && _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('account', account);\n        if (usernamepsw === HIDDEN_ALL) {\n          this.setAccountAndPasswordOfStore('', '');\n          // 强制刷新\n          this.setState({\n            pwdIsRemed: this.state.pwdIsRemed\n          });\n        }\n      }\n    }\n\n    /**\n     * 设置 store中 账号密码 的值\n     * @param account 账号\n     * @param password 密码\n     * @return {void}\n    */\n  }, {\n    key: \"setAccountAndPasswordOfStore\",\n    value: function setAccountAndPasswordOfStore(account, password) {\n      if (!_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account) {\n        _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('account', account);\n        _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('password', password);\n      }\n    }\n\n    /**\n     * 获取 记住账号密码 可见性\n     * @return {boolean} 如果可见, 返回true; 不可见返回false\n    */\n  }, {\n    key: \"getUsernamePswVisibility\",\n    value: function getUsernamePswVisibility() {\n      var _this$props$configura2 = this.props.configuration.usernamepsw,\n        usernamepsw = _this$props$configura2 === void 0 ? ONLY_SHOW_USERNAME : _this$props$configura2;\n      return [SHOW_ALL, ONLY_SHOW_USERNAME].includes(usernamepsw);\n    }\n  }, {\n    key: \"handleEnterKeyDown\",\n    value: function handleEnterKeyDown(e) {\n      if (e.keyCode === 13) {\n        this.state.needVerifyCode ? this.handleLoginBtnClick() : this.handleAccountInputBlur(true);\n      }\n    }\n  }, {\n    key: \"validateFormData\",\n    value: function validateFormData(from) {\n      var _document$getElementB;\n      var password = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].password,\n        verifyCode = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].verifyCode,\n        phoneCode = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].phoneCode;\n      var account = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account || ((_document$getElementB = document.getElementById('account')) === null || _document$getElementB === void 0 ? void 0 : _document$getElementB.value) || '';\n      if (_util__WEBPACK_IMPORTED_MODULE_35__.validate.isEmpty(account)) {\n        var title = 'accountError';\n        var data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key051');\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_35__.validate.isEmpty(password)) {\n        var _title = 'passwordError';\n        var _data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key052');\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 (this.state.needVerifyCode && _util__WEBPACK_IMPORTED_MODULE_35__.validate.isEmpty(verifyCode)) {\n        var _title2 = 'verifyCodeError';\n        var _data2 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.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 (this.state.showPhoneCode && _util__WEBPACK_IMPORTED_MODULE_35__.validate.isEmpty(phoneCode) && from !== 'sendMessage') {\n        var _title3 = 'phoneCodeError';\n        var _data3 = this.state.factor === 'email' ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key122 ') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key047');\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      }\n      return true;\n    }\n  }, {\n    key: \"handleLoginBtnClick\",\n    value: function handleLoginBtnClick() {\n      this.setState({\n        isKickedOut: ''\n      });\n      var _this$state = this.state,\n        needMsgValidate = _this$state.needMsgValidate,\n        showPhoneCode = _this$state.showPhoneCode;\n      if (!showPhoneCode && needMsgValidate) {\n        this.handleSendMessage();\n      } else {\n        this.handleSubmit();\n      }\n    }\n  }, {\n    key: \"handleSendMessage\",\n    value: function handleSendMessage() {\n      var _this4 = this;\n      if (!this.validateFormData('sendMessage')) return false;\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_36__.sendMessage({\n        useraccount: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account,\n        verifycode: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].verifyCode,\n        loginid: this.verifyCodeToken,\n        language: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].lang,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId,\n        factor: factor\n      }).then(function (data) {\n        if (data.success !== true) {\n          var error = {\n            message: data.msg || data.description,\n            level: 1\n          };\n          //  eventBus.pub_showNotification(error)    t\n          _this4.props.dataPipeModel && _this4.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          if (data.errorcode === '1') {\n            _this4.getVerifyCode();\n            // eventBus.pub_focusInput({ name: 'verifyCode' })\n            _this4.props.dataPipeModel && _this4.props.dataPipeModel.sendData({\n              type: 'FocusInput',\n              name: 'verifyCode'\n            });\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            });\n          }\n        }, 1000);\n        _this4.setState({\n          showPhoneCode: true\n        }, function () {\n          // eventBus.pub_focusInput({ name: 'phoneCode' })\n          _this4.props.dataPipeModel && _this4.props.dataPipeModel.sendData({\n            type: 'FocusInput',\n            name: 'phoneCode'\n          });\n        });\n      });\n    }\n  }, {\n    key: \"handleSubmit\",\n    value: function handleSubmit() {\n      if (this.state.logining) return false;\n      if (!this.validateFormData()) return false;\n      this.setState({\n        logining: true\n      });\n      _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('account', _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account.trim());\n      this.getPublicKey(this.submit);\n    }\n  }, {\n    key: \"getPublicKey\",\n    value: function getPublicKey(call) {\n      var _this5 = this;\n      var accessKey = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account + (0,_util__WEBPACK_IMPORTED_MODULE_35__.getUid)(false, 16 - _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account.length);\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getPublicKey({\n        accessKey: accessKey,\n        language: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].lang,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_37__[\"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          _this5.props.dataPipeModel && _this5.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          _this5.resetLoginBtn();\n          return false;\n        }\n        call({\n          publicKey: data.publicKey,\n          accessKey: accessKey\n        });\n      });\n    }\n\n    // 确定\n  }, {\n    key: \"onClose\",\n    value: function onClose(id) {\n      if (id === 'privacy') {\n        this.setState({\n          isKickedOut: '3'\n        });\n        this.handleSubmit();\n        return;\n      }\n      if (id === 'findPassword') {\n        _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('modifyPanel', true);\n        window.location.hash = '#findPassword';\n      } else {\n        this.setState({\n          isKickedOut: '1'\n        });\n        var _this$state3 = this.state,\n          needMsgValidate = _this$state3.needMsgValidate,\n          showPhoneCode = _this$state3.showPhoneCode;\n        if (!showPhoneCode && needMsgValidate) {\n          this.handleSendMessage();\n        } else {\n          this.handleSubmit();\n        }\n      }\n    }\n\n    // 取消\n  }, {\n    key: \"clickCallback\",\n    value: function clickCallback(_ref) {\n      var id = _ref.id,\n        key = _ref.key,\n        isCloseBtn = _ref.isCloseBtn;\n      if (id === 'privacy') return;\n      if (id === 'findPassword' && !isCloseBtn) {\n        this.setState({\n          isKickedOut: '2'\n        });\n        var _this$state4 = this.state,\n          needMsgValidate = _this$state4.needMsgValidate,\n          showPhoneCode = _this$state4.showPhoneCode;\n        if (!showPhoneCode && needMsgValidate) {\n          this.handleSendMessage();\n        } else {\n          this.handleSubmit();\n        }\n      } else {\n        this.setState({\n          isKickedOut: ''\n        });\n      }\n    }\n  }, {\n    key: \"submit\",\n    value: function submit(data) {\n      var _this6 = this;\n      var accountId = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId,\n        lang = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].lang,\n        account = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account,\n        password = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].password,\n        verifyCode = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].verifyCode,\n        phoneCode = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].phoneCode,\n        token = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].token,\n        openid = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].openid,\n        scantype = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].scantype,\n        customDynamicCode = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].customDynamicCode;\n      var _this$state5 = this.state,\n        pwdIsRemed = _this$state5.pwdIsRemed,\n        needVerifyCode = _this$state5.needVerifyCode,\n        needMsgValidate = _this$state5.needMsgValidate,\n        isKickedOut = _this$state5.isKickedOut,\n        factor = _this$state5.factor,\n        isPhoneLogin = _this$state5.isPhoneLogin;\n      var psw;\n      var dialogArgs = {};\n      var redirect = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.getRedirect)();\n      if (redirect) {\n        redirect = decodeURIComponent(redirect);\n      }\n      var currentItem = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].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_44__.encrypt)(data.publicKey, password, currentItem === null || currentItem === void 0 ? void 0 : currentItem.rsaPadding);\n      }\n      var formData = {\n        userSourceType: 2,\n        accountId: accountId,\n        language: lang,\n        useraccount: account,\n        password: psw,\n        accessKey: data.accessKey,\n        redirect: redirect || 'index.html?formId=pc_main_console',\n        randomCode: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].randomCode,\n        isStandard: true,\n        customDynamicCode: customDynamicCode\n      };\n      token && Object.assign(formData, {\n        token: token\n      });\n      openid && Object.assign(formData, {\n        openid: openid\n      });\n      scantype && Object.assign(formData, {\n        scantype: scantype\n      });\n      needVerifyCode && Object.assign(formData, {\n        verifycode: verifyCode,\n        loginid: this.verifyCodeToken\n      });\n      needMsgValidate && (factor === 'email' ? Object.assign(formData, {\n        emailCode: phoneCode\n      }) : Object.assign(formData, {\n        smsCode: phoneCode\n      }));\n      isKickedOut && Object.assign(formData, {\n        isKickedOut: this.state.isKickedOut\n      });\n      isPhoneLogin && Object.assign(formData, {\n        loginType: '1'\n      });\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.submit(formData).then(function (data) {\n        var errorcode = data.errorcode,\n          needChangePwd = data.needChangePwd,\n          needActive = data.needActive,\n          needverifycode = data.needverifycode,\n          needChangeInitialPwd = data.needChangeInitialPwd,\n          message = data.message,\n          _data$randomCode = data.randomCode,\n          randomCode = _data$randomCode === void 0 ? '' : _data$randomCode,\n          iframeUrl = data.iframeUrl;\n        _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('randomCode', randomCode);\n        if (needActive) {\n          window.location.hash = '#activeUser';\n          _this6.showError(message);\n          return;\n        }\n        if (needChangeInitialPwd === 1) {\n          window.location.hash = '#findPassword';\n          _this6.showError(message);\n          return;\n        }\n        if (needChangePwd === 1) {\n          if (needverifycode === false) {\n            _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('newResetPws', true);\n            _this6.onClose('findPassword');\n          } else {\n            window.location.hash = '#findPassword';\n          }\n          setTimeout(function () {\n            var error = {\n              level: 2,\n              message: message\n            };\n            _this6.props.dataPipeModel && _this6.props.dataPipeModel.sendData({\n              type: 'ShowNotification',\n              error: error\n            });\n            _this6.props.dataPipeModel && _this6.props.dataPipeModel.sendData({\n              type: 'FocusInput',\n              name: 'verifyCode'\n            });\n          }, 0);\n          return false;\n        }\n        if (errorcode !== 0) {\n          dialogArgs.iframeUrl = iframeUrl;\n          (0,_common_showConfirm__WEBPACK_IMPORTED_MODULE_41__.showMsg)(errorcode, data, _this6.onClose, _this6.clickCallback, dialogArgs);\n          _this6.loginingFail(data);\n          return false;\n        }\n        if (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            account: '',\n            password: ''\n          };\n          switch (usernamepsw) {\n            case SHOW_ALL:\n              accountInfo.account = account;\n              accountInfo.password = crypto_js__WEBPACK_IMPORTED_MODULE_30___default().AES.encrypt(password, _const__WEBPACK_IMPORTED_MODULE_39__.SCk).toString();\n              break;\n            case ONLY_SHOW_USERNAME:\n              accountInfo.account = account;\n              break;\n            case HIDDEN_ALL:\n            default:\n              break;\n          }\n          _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.setItem(_const__WEBPACK_IMPORTED_MODULE_39__.ACCOUNT_INFO, JSON.stringify(accountInfo));\n          _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.mySessionStorage.setItem(_const__WEBPACK_IMPORTED_MODULE_39__.ACCOUNT, accountInfo.account);\n        } else {\n          _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.removeItem(_const__WEBPACK_IMPORTED_MODULE_39__.ACCOUNT_INFO);\n          _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.mySessionStorage.removeItem(_const__WEBPACK_IMPORTED_MODULE_39__.ACCOUNT);\n        }\n        _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.setItem('ierp-login-username', data.username);\n        var userinfo = {\n          username: data.username || '',\n          avatar: data.avatar || ''\n        };\n        var userInfoKey = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_39__.LOGIN_USERINFO);\n        _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.setItem(userInfoKey, JSON.stringify(userinfo));\n        // this.resetLoginBtn()\n        var hashString = window.location.hash !== '#kingdeeCloud' ? window.location.hash : '';\n        _this6.getRedirectUrl(data.RedirectURL).then(function (redirectUrl) {\n          if ((0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_40__.isScript)(redirectUrl)) {\n            _this6.loginingFail({\n              description_cn: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key101')\n            });\n            return false;\n          }\n          _this6.resetLoginBtn();\n          (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.redirectByUrl)(redirectUrl, hashString, _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].dataCenter, accountId);\n        });\n      });\n    }\n  }, {\n    key: \"getRedirectUrl\",\n    value: function getRedirectUrl() {\n      var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n      return new Promise(function (resolve) {\n        var blackList = ['download.do?'];\n        var returnToIndex = blackList.some(function (item) {\n          return url.indexOf(item) > -1;\n        });\n        if (returnToIndex) {\n          var iframe = document.createElement('iframe');\n          iframe.style.display = 'none';\n          iframe.src = url;\n          document.body.appendChild(iframe);\n          // 预留2000ms给iframe加载文件\n          setTimeout(function () {\n            resolve('index.html');\n          }, 2000);\n        } else {\n          resolve(url);\n        }\n      });\n    }\n  }, {\n    key: \"loginingFail\",\n    value: function loginingFail(data) {\n      var _this7 = this;\n      var errorCode = data.errorcode;\n      var error = {\n        message: data.description_cn || data.description,\n        level: data.level || 2\n      };\n      if (errorCode === '1') {\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      } else if (errorCode === 'needVerification') {\n        this.setState({\n          needVerifyCode: true\n        });\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      } else if (errorCode !== _const__WEBPACK_IMPORTED_MODULE_39__.PRIVACT_STATEMENT) {\n        // eventBus.pub_focusInput({ name: 'account' })\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: 'FocusInput',\n          name: 'account'\n        });\n      }\n      //  eventBus.pub_showNotification(error)\n      setTimeout(function () {\n        _this7.props.dataPipeModel && _this7.props.dataPipeModel.sendData({\n          type: 'ShowNotification',\n          error: error\n        });\n      }, 0);\n      this.resetLoginBtn();\n    }\n  }, {\n    key: \"showError\",\n    value: function showError(message) {\n      var _this8 = this;\n      setTimeout(function () {\n        var error = {\n          level: 1,\n          message: message\n        };\n        _this8.props.dataPipeModel && _this8.props.dataPipeModel.sendData({\n          type: 'ShowNotification',\n          error: error\n        });\n      }, 0);\n    }\n  }, {\n    key: \"resetLoginBtn\",\n    value: function resetLoginBtn() {\n      this.setState({\n        logining: false\n      });\n    }\n  }, {\n    key: \"getVerifyCode\",\n    value: function getVerifyCode() {\n      var _this9 = this;\n      if (this.state.needVerifyCode === false) return;\n      this.setState({\n        getVerifyCode: (_img_loading_gif__WEBPACK_IMPORTED_MODULE_42___default())\n      });\n      // eventBus.pub_focusInput({ name: 'verifyCode' })\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getVerifyCode({\n        phone: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account,\n        v: (0,_util__WEBPACK_IMPORTED_MODULE_35__.getUid)(false, 8),\n        language: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].lang\n      }).then(function (data) {\n        var message = data.description_cn || data.description;\n        if (message) {\n          var error = {\n            message: message,\n            level: 1\n          };\n          //  eventBus.pub_showNotification(error)\n          _this9.props.dataPipeModel && _this9.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          return false;\n        }\n        _this9.setState({\n          verifyCodeImg: data.content || (_img_loading_gif__WEBPACK_IMPORTED_MODULE_42___default())\n        });\n        _this9.verifyCodeToken = data.loginId;\n      });\n    }\n  }, {\n    key: \"isNeedMsgValidate\",\n    value: function isNeedMsgValidate() {\n      var _this10 = this;\n      return _api_service__WEBPACK_IMPORTED_MODULE_36__.isNeedMsgValidate({\n        useraccount: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId\n      }).then(function (data) {\n        _this10.setState({\n          needMsgValidate: data.isNeed,\n          factor: data.factor\n        });\n        if (data.isNeed) {\n          _this10.setState({\n            needVerifyCode: true\n          });\n          _this10.getVerifyCode();\n        }\n      });\n    }\n  }, {\n    key: \"handleAccountInputBlur\",\n    value: function handleAccountInputBlur(isEnter) {\n      var _this11 = this;\n      _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('account', _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account && _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account.trim());\n      var account = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account;\n      // if (store.account === '' || this.oldAccount === account) {\n      //   isEnter && this.handleLoginBtnClick()\n      //   return\n      // }\n      this.oldAccount = account;\n      if (!_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account || !_store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId) return;\n      this.isNeedMsgValidate().then(function (data) {\n        // 如果需要短信验证，默认就有图形验证码，不需要额外发请求\n        if (_this11.state.needMsgValidate) {\n          isEnter && _this11.handleLoginBtnClick();\n          return false;\n        }\n        _this11.isNeedVerifyCode(isEnter);\n      });\n    }\n  }, {\n    key: \"isNeedVerifyCode\",\n    value: function isNeedVerifyCode(isEnter) {\n      var _this12 = this;\n      // factor:email\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.isNeedVerifyCode({\n        useraccount: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].accountId,\n        v: (0,_util__WEBPACK_IMPORTED_MODULE_35__.getUid)(false, 8),\n        language: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].lang\n      }).then(function (data) {\n        if (!_this12._isMounted) {\n          isEnter && _this12.handleLoginBtnClick();\n          return;\n        }\n        if (_this12.state.needVerifyCode && data.isNeed === false) {\n          _this12.setState({\n            showPhoneCode: data.isNeed\n          });\n        }\n        _this12.setState({\n          needVerifyCode: data.isNeed\n        });\n        _this12.getVerifyCode();\n        !data.isNeed && isEnter && _this12.handleLoginBtnClick();\n      });\n    }\n  }, {\n    key: \"onHandleRememberPwd\",\n    value: function onHandleRememberPwd(isSelect) {\n      this.setState({\n        pwdIsRemed: isSelect\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    key: \"handleChangeDataCenter\",\n    value: function handleChangeDataCenter(key) {\n      _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue('toggleDataCenter', true);\n      this.props.handleChangeDataCenter(key);\n    }\n  }, {\n    key: \"valueChange\",\n    value: function valueChange() {\n      this.setState({\n        inputChange: !this.state.inputChange\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        dataCenter = _this$props2.dataCenter,\n        currentAccountId = _this$props2.currentAccountId,\n        configuration = _this$props2.configuration,\n        currentLang = _this$props2.currentLang,\n        isComplete = _this$props2.isComplete,\n        countryAreaCodes = _this$props2.countryAreaCodes;\n      var _this$state6 = this.state,\n        needVerifyCode = _this$state6.needVerifyCode,\n        logining = _this$state6.logining,\n        verifyCodeImg = _this$state6.verifyCodeImg,\n        pwdIsRemed = _this$state6.pwdIsRemed,\n        needMsgValidate = _this$state6.needMsgValidate,\n        showPhoneCode = _this$state6.showPhoneCode,\n        factor = _this$state6.factor,\n        vCodeTime = _this$state6.vCodeTime,\n        isPhoneLogin = _this$state6.isPhoneLogin;\n      var graphicContainerClass = classnames__WEBPACK_IMPORTED_MODULE_31___default()(_defineProperty(_defineProperty({}, _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].graphicContainer, true), _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].hide, !needVerifyCode));\n      var buttonText = '';\n      var accountPlaceholder = (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_40__.getMultilinguaText)(configuration.accountplaceholder, currentLang, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key210'));\n      if (needMsgValidate && !showPhoneCode) {\n        buttonText = factor === 'email' ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key130') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key055');\n        accountPlaceholder = (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_40__.getMultilinguaText)(configuration.accountplaceholder, currentLang, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key087'));\n      } else {\n        buttonText = logining ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key050') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key005');\n      }\n      var phoneCodeClass = classnames__WEBPACK_IMPORTED_MODULE_31___default()(_defineProperty(_defineProperty({}, _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].phoneCodeContainer, true), _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].showPhoneCode, showPhoneCode));\n      var btnClass = classnames__WEBPACK_IMPORTED_MODULE_31___default()(_defineProperty(_defineProperty({}, _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].btn, true), _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].disable, vCodeTime !== 0));\n      var reSendtext = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key036');\n      var btnText = vCodeTime === 0 ? reSendtext : \"\".concat(reSendtext, \"(\").concat(vCodeTime, \"s)\");\n      var isFocusAccount = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account === '';\n      var currentCenter = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].dataCenter.find(function (item, i) {\n        return item.value === currentAccountId;\n      });\n      var _ref2 = currentCenter || {},\n        needCustomDynamicCode = _ref2.needCustomDynamicCode,\n        forbidRememberPwd = _ref2.forbidRememberPwd,\n        enableSoftKeyboard = _ref2.enableSoftKeyboard;\n\n      // const { account, password, verifyCode, phoneCode } = store\n      // const disable = !account || !password || (needVerifyCode && !verifyCode) || (showPhoneCode && !phoneCode)\n\n      var defaultAreaCode = _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.myLocalStorage.getItem((0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_43__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_39__.AREA_CODE)) || configuration.defaultAreaCode;\n      var hideMsgLogin = configuration.isGlobalDeploy === 'true' || configuration.isGlobalDeploy === true; // 星空海外版标识(isGlobalDeploy)\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(StoreContext.Provider, {\n        value: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"]\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].content\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.DropdownList, {\n        list: dataCenter,\n        selectItem: currentAccountId,\n        style: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].dropdownList,\n        name: \"accountId\",\n        onItemClick: this.handleChangeDataCenter,\n        isKingdeeClude: true,\n        dataPipeModel: this.props.dataPipeModel\n      }), isPhoneLogin ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_page_web_base_Telephone_index__WEBPACK_IMPORTED_MODULE_46__[\"default\"], {\n        defaultAreaCode: defaultAreaCode,\n        telViaList: countryAreaCodes,\n        dataPipeModel: this.props.dataPipeModel,\n        valueChange: this.valueChange,\n        name: \"account\",\n        type: \"text\",\n        placeholder: accountPlaceholder,\n        defaultValue: this.isInitAccount ? _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account : '',\n        isFocusAccount: isFocusAccount,\n        onBlur: this.handleAccountInputBlur\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        valueChange: this.valueChange,\n        name: \"account\",\n        type: \"text\",\n        placeholder: accountPlaceholder,\n        defaultValue: _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].account,\n        isFocusAccount: isFocusAccount,\n        onBlur: this.handleAccountInputBlur\n      }), forbidRememberPwd || enableSoftKeyboard ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_page_web_base_InputPWD_jsx__WEBPACK_IMPORTED_MODULE_45__[\"default\"], {\n        enableSoftKeyboard: enableSoftKeyboard,\n        dataPipeModel: this.props.dataPipeModel,\n        valueChange: this.valueChange,\n        name: \"password\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key003'),\n        isFocusAccount: isFocusAccount,\n        defaultValue: isComplete && _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].password\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(react__WEBPACK_IMPORTED_MODULE_29__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"input\", {\n        type: \"text\",\n        style: {\n          display: 'none'\n        }\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"input\", {\n        type: \"password\",\n        style: {\n          display: 'none'\n        }\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        valueChange: this.valueChange,\n        name: \"password\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key003'),\n        isFocusAccount: isFocusAccount,\n        defaultValue: isComplete && _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].password\n      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: graphicContainerClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        valueChange: this.valueChange,\n        name: \"verifyCode\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key004'),\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].input\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].graphicCode,\n        onClick: this.handleVerifyCodeClick\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"img\", {\n        src: verifyCodeImg\n      }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: phoneCodeClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        valueChange: this.valueChange,\n        name: \"phoneCode\",\n        type: \"text\",\n        placeholder: this.state.factor ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key123') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key025'),\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].input\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: btnClass,\n        onClick: this.handleSendMessage\n      }, btnText)), needCustomDynamicCode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        valueChange: this.valueChange,\n        name: \"customDynamicCode\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key124'),\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].input\n      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(Tools, _extends({\n        handleRememberPwd: this.onHandleRememberPwd,\n        pwdIsRemed: pwdIsRemed\n      }, this.props, {\n        getUsernamePswVisibility: this.getUsernamePswVisibility\n      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.Button, {\n        text: buttonText,\n        style: this.loadingStyle,\n        onClick: this.handleLoginBtnClick,\n        isLoading: this.state.logining\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].loginType\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].phoneLogin,\n        onClick: this.handleLoginTypeClick\n      }, \" \", isPhoneLogin ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key213') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key214')), hideMsgLogin ? null : this.props.userSourceType.includes(7) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(react__WEBPACK_IMPORTED_MODULE_29__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].line\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n        className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].msgLogin,\n        onClick: function onClick() {\n          window.location.hash = 'shortMessage';\n        }\n      }, \" \", (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key212'))) : null));\n    }\n  }]);\n  return Form;\n}(react__WEBPACK_IMPORTED_MODULE_29__.Component);\nfunction Tools(props) {\n  var handleRememberPwd = props.handleRememberPwd,\n    pwdIsRemed = props.pwdIsRemed,\n    configuration = props.configuration,\n    getUsernamePswVisibility = props.getUsernamePswVisibility,\n    hasLDAP = props.hasLDAP;\n  var hiddenResetPwd = configuration.hiddenresetpwd;\n  var usernamePsw = configuration.usernamepsw || ONLY_SHOW_USERNAME;\n  var showResetPwd = !hiddenResetPwd || hiddenResetPwd === 'false';\n  var showUsernamePsw = getUsernamePswVisibility();\n  var textUsernamePsw = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key085');\n  switch (usernamePsw) {\n    case SHOW_ALL:\n      textUsernamePsw = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key085');\n      break;\n    case ONLY_SHOW_USERNAME:\n      textUsernamePsw = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key086');\n      break;\n    case HIDDEN_ALL:\n    default:\n      break;\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(\"div\", {\n    className: _KingdeeCloud_less__WEBPACK_IMPORTED_MODULE_33__[\"default\"].tools\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.CheckBox, {\n    text: textUsernamePsw,\n    isSelect: pwdIsRemed,\n    onClick: handleRememberPwd,\n    showUsernamePsw: showUsernamePsw\n  }), showResetPwd && !hasLDAP && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_29__.createElement(_base__WEBPACK_IMPORTED_MODULE_34__.HyperLink, {\n    text: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key216'),\n    href: \"#findPassword\"\n  }));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (KingdeeCloud);\n\n//# sourceURL=webpack://kd-login/./src/page/web/KingdeeCloud.jsx?");

/***/ }),

/***/ "./src/page/web/base/Button.jsx":
/*!**************************************!*\
  !*** ./src/page/web/base/Button.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_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _Button_less__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Button.less */ \"./src/page/web/base/Button.less\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_13__);\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 _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\nfunction Button(props) {\n  var disable = props.disable;\n  var button = classnames__WEBPACK_IMPORTED_MODULE_13___default()(_defineProperty(_defineProperty(_defineProperty({}, _Button_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].button, true), _Button_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].buttonLoading, props.isLoading), _Button_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].disable, disable));\n  var text = classnames__WEBPACK_IMPORTED_MODULE_13___default()(_defineProperty(_defineProperty({}, _Button_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].text, true), _Button_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].disable, disable));\n  var handleClick = function handleClick() {\n    !disable && props.onClick();\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"div\", {\n    className: _Button_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].buttonWrap\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"button\", {\n    className: button,\n    onClick: handleClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"span\", {\n    className: text\n  }, \" \", props.text), props.isLoading && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"div\", {\n    className: _Button_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].loading,\n    style: props.style\n  })));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Button);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Button.jsx?");

/***/ }),

/***/ "./src/page/web/base/CheckBox.jsx":
/*!****************************************!*\
  !*** ./src/page/web/base/CheckBox.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_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _CheckBox_less__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./CheckBox.less */ \"./src/page/web/base/CheckBox.less\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_13__);\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 _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// class CheckBox extends Component {\n//   constructor (props) {\n//     super(props)\n//     this.state = {\n//       isSelect: props.isSelect || false\n//     }\n//     this.handleClick = this.handleClick.bind(this)\n//   }\n\n//   handleClick () {\n//     const { isSelect } = this.state\n//     this.setState({\n//       isSelect: !isSelect\n//     })\n//     this.props.onClick && this.props.onClick(!isSelect)\n//   }\n\n//   render () {\n//     const { isSelect } = this.state\n//     const circleClass = classname({\n//       [style.circle]: true,\n//       [style.circleSelected]: isSelect\n//     })\n//     return <div className={style.checkbox} onClick={this.handleClick}>\n//       <div className={circleClass} />\n//       <div>{this.props.text}</div>\n//     </div>\n//   }\n// }\n\n// export default CheckBox\n\nvar CheckBox = function CheckBox(_ref) {\n  var isSelect = _ref.isSelect,\n    onClick = _ref.onClick,\n    text = _ref.text,\n    showUsernamePsw = _ref.showUsernamePsw,\n    isMobile = _ref.isMobile;\n  var circleClass = classnames__WEBPACK_IMPORTED_MODULE_13___default()(_defineProperty(_defineProperty(_defineProperty({}, _CheckBox_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].circle, true), _CheckBox_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].circleSelected, isSelect), _CheckBox_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].circleSelectedMobile, isSelect && isMobile));\n  var handleClick = function handleClick() {\n    onClick && onClick(!isSelect);\n  };\n\n  // 给出占位, 防止找回密码左移\n  if (!showUsernamePsw) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"div\", {\n      className: _CheckBox_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].checkbox,\n      onClick: handleClick\n    });\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"div\", {\n    className: _CheckBox_less__WEBPACK_IMPORTED_MODULE_12__[\"default\"].checkbox,\n    onClick: handleClick,\n    id: \"remember_pwd\",\n    title: text\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"div\", {\n    className: circleClass\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11__.createElement(\"div\", null, text));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (CheckBox);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/CheckBox.jsx?");

/***/ }),

/***/ "./src/page/web/base/DropdownList.jsx":
/*!********************************************!*\
  !*** ./src/page/web/base/DropdownList.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_find_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_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_map_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.some.js */ \"../../node_modules/core-js/modules/es.array.some.js\");\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_some_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_function_name_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_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_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_prototype_of_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_21__ = __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_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! react-dom */ \"../../node_modules/react-dom/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var _i18n_intlApi_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @/i18n/intlApi.js */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./DropdownList.less */ \"./src/page/web/base/DropdownList.less\");\n/* harmony import */ var _KingdeeCloud__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../KingdeeCloud */ \"./src/page/web/KingdeeCloud.jsx\");\n/* harmony import */ var _util_dataUtil_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @/util/dataUtil.js */ \"./src/util/dataUtil.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @/store */ \"./src/store.js\");\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 _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\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// import eventBus from '@/eventBus.js'\nvar DropdownList = /*#__PURE__*/function (_Component) {\n  _inherits(DropdownList, _Component);\n  function DropdownList(props) {\n    var _this;\n    _classCallCheck(this, DropdownList);\n    _this = _callSuper(this, DropdownList, [props]);\n    _this.dropdownListRef = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createRef();\n    _this.state = {\n      showPanel: false,\n      showTiops: true,\n      domainText: ''\n    };\n    _this.handleSwitchPanel = _this.handleSwitchPanel.bind(_assertThisInitialized(_this));\n    _this.handleClickOutside = _this.handleClickOutside.bind(_assertThisInitialized(_this));\n    _this.handleMouseover = _this.handleMouseover.bind(_assertThisInitialized(_this));\n    _this.handleMouseOut = _this.handleMouseOut.bind(_assertThisInitialized(_this));\n    _this.getDomain = _this.getDomain.bind(_assertThisInitialized(_this));\n    _this.handleItemClick = _this.handleItemClick.bind(_assertThisInitialized(_this));\n    _this.showLDAP = _this.showLDAP.bind(_assertThisInitialized(_this));\n    _this.hideCloudHubLogin = _this.hideCloudHubLogin.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(DropdownList, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      document.addEventListener('click', this.handleClickOutside);\n      _store__WEBPACK_IMPORTED_MODULE_29__[\"default\"].accountId && this.getDomain(_store__WEBPACK_IMPORTED_MODULE_29__[\"default\"].accountId);\n    }\n  }, {\n    key: \"shouldComponentUpdate\",\n    value: function shouldComponentUpdate(nextProps, nextState) {\n      if (this.props.selectItem !== nextProps.selectItem) {\n        this.getDomain(nextProps.selectItem);\n      }\n      return true;\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      document.removeEventListener('click', this.handleClickOutside);\n    }\n  }, {\n    key: \"handleClickOutside\",\n    value: function handleClickOutside(e) {\n      if (!this.state.showPanel) return;\n      var target = e.target;\n      while (target && target !== document) {\n        if (target === react_dom__WEBPACK_IMPORTED_MODULE_23__.findDOMNode(this.dropdownListRef.current)) {\n          return;\n        }\n        target = target.parentNode;\n      }\n      if (!target) return;\n      this.setState({\n        showPanel: false\n      });\n    }\n  }, {\n    key: \"handleSwitchPanel\",\n    value: function handleSwitchPanel() {\n      this.setState({\n        showPanel: !this.state.showPanel\n      });\n    }\n  }, {\n    key: \"handleItemClick\",\n    value: function handleItemClick(key) {\n      this.props.onItemClick(key);\n      this.setState({\n        showPanel: false\n      });\n    }\n  }, {\n    key: \"getDomain\",\n    value: function getDomain(accountId) {\n      var _this2 = this;\n      try {\n        var dataCenter = _store__WEBPACK_IMPORTED_MODULE_29__[\"default\"].dataCenter;\n        var index;\n        dataCenter.some(function (item, i) {\n          if (item.value === accountId) {\n            index = i;\n            return true;\n          }\n        });\n        (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_28__.queryParameters)(accountId, dataCenter, index, this.props.dataPipeModel).then(function (data) {\n          if (!data || data.length < 1) return;\n          var hasLDAP = data.hasLDAP,\n            domain = data.domain,\n            userSourceType = data.userSourceType,\n            defaultUserSourceType = data.defaultUserSourceType;\n          _this2.props.dataPipeModel.sendData({\n            type: 'currentAccountIdChange',\n            data: {\n              userSourceType: userSourceType,\n              defaultUserSourceType: defaultUserSourceType\n            }\n          });\n          _this2.showLDAP(hasLDAP, domain, userSourceType, defaultUserSourceType);\n          _this2.hideCloudHubLogin(userSourceType);\n        });\n      } catch (error) {\n        this.props.dataPipeModel.sendData({\n          type: 'hasLDAP',\n          hasLDAP: false\n        });\n      }\n    }\n  }, {\n    key: \"hideCloudHubLogin\",\n    value: function hideCloudHubLogin(sourceType) {\n      if (sourceType && (sourceType.includes(0) || sourceType.includes(1))) {\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: 'HideCloudHubIcon',\n          isHide: false\n        });\n      } else {\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: 'HideCloudHubIcon',\n          isHide: true\n        });\n      }\n    }\n  }, {\n    key: \"showLDAP\",\n    value: function showLDAP(hasLDAP, domain, userSourceType, defaultUserSourceType) {\n      this.props.dataPipeModel.sendData({\n        type: 'hasLDAP',\n        hasLDAP: hasLDAP\n      });\n      if (!this.props.isKingdeeClude) return;\n      if (hasLDAP) {\n        this.setState({\n          domainText: domain\n        });\n      } else {\n        this.setState({\n          domainText: '',\n          showTiops: true\n        });\n      }\n    }\n  }, {\n    key: \"handleMouseover\",\n    value: function handleMouseover() {\n      if (!this.props.isKingdeeClude || !this.state.domainText) return;\n      this.setState({\n        showTiops: false\n      });\n    }\n  }, {\n    key: \"handleMouseOut\",\n    value: function handleMouseOut() {\n      if (!this.props.isKingdeeClude) return;\n      this.setState({\n        showTiops: true\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      var showPanel = this.state.showPanel;\n      var _this$props = this.props,\n        list = _this$props.list,\n        name = _this$props.name,\n        inheritStyle = _this$props.inheritStyle,\n        title = _this$props.title,\n        oldDataCenter = _this$props.oldDataCenter;\n      var onlyOneChild = false;\n      var hideTextPanel = false;\n      if ((name === 'accountId' || name === 'lang') && list.length === 1) {\n        onlyOneChild = true;\n      }\n      if (list.length === 1 && oldDataCenter) {\n        if (oldDataCenter.length === 1) {\n          onlyOneChild = true;\n        } else {\n          onlyOneChild = false;\n          hideTextPanel = true;\n        }\n      }\n      var dropdownListClass = classnames__WEBPACK_IMPORTED_MODULE_24___default()(_defineProperty(_defineProperty(_defineProperty({}, _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].dropdownList, true), this.props.style, true), _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].onlyOneChild, onlyOneChild));\n      var textClass = classnames__WEBPACK_IMPORTED_MODULE_24___default()(_defineProperty(_defineProperty(_defineProperty({}, _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].text, true), _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].on, showPanel && !hideTextPanel), _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].off, !showPanel && !hideTextPanel));\n      var panelClass = classnames__WEBPACK_IMPORTED_MODULE_24___default()(_defineProperty(_defineProperty({}, _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].panel, true), _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].hide, !showPanel));\n      var tips = classnames__WEBPACK_IMPORTED_MODULE_24___default()(_defineProperty(_defineProperty({}, _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].tips, true), _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].tipsHide, this.state.showTiops));\n      var selectItem;\n      selectItem = list.find(function (item) {\n        return item.value === _this3.props.selectItem;\n      });\n      var olist = list.map(function (item) {\n        var itemClass = classnames__WEBPACK_IMPORTED_MODULE_24___default()(_defineProperty(_defineProperty({}, _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].item, true), _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"]['item-selected'], item.value === _this3.props.selectItem));\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"li\", {\n          className: itemClass,\n          key: item.value,\n          onClick: function onClick(e) {\n            return _this3.handleItemClick(item.value, e);\n          }\n        }, item.text);\n      });\n      if (selectItem) {\n        _store__WEBPACK_IMPORTED_MODULE_29__[\"default\"].setValue(name, selectItem.value);\n      }\n      return olist.length > 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(_KingdeeCloud__WEBPACK_IMPORTED_MODULE_27__.StoreContext.Consumer, null, function (store) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: dropdownListClass,\n          style: inheritStyle,\n          id: \"dropdown_list\"\n        }, title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].title\n        }, title) : null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].textWrapper,\n          ref: _this3.dropdownListRef\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: tips\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].tipsContainer\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].tipsTitle\n        }, (0,_i18n_intlApi_js__WEBPACK_IMPORTED_MODULE_25__.getLangMsg)('login.key093')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].tipsText,\n          title: _this3.state.domainText\n        }, _this3.state.domainText))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: textClass,\n          onClick: _this3.handleSwitchPanel,\n          onMouseOver: _this3.handleMouseover,\n          onMouseOut: _this3.handleMouseOut\n        }, selectItem && selectItem.text), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: panelClass\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"ul\", {\n          className: _DropdownList_less__WEBPACK_IMPORTED_MODULE_26__[\"default\"].list\n        }, olist))));\n      }) : null;\n    }\n  }]);\n  return DropdownList;\n}(react__WEBPACK_IMPORTED_MODULE_22__.Component);\n/* harmony default export */ __webpack_exports__[\"default\"] = (DropdownList);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/DropdownList.jsx?");

/***/ }),

/***/ "./src/page/web/base/Footer.jsx":
/*!**************************************!*\
  !*** ./src/page/web/base/Footer.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 */ Footer; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _Footer_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Footer.less */ \"./src/page/web/base/Footer.less\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/img/icons/beian1.png */ \"./src/img/icons/beian1.png\");\n/* harmony import */ var _img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/img/icons/beian2.png */ \"./src/img/icons/beian2.png\");\n/* harmony import */ var _img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\nfunction Footer() {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"div\", {\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].container\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"div\", {\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].agreement\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"a\", {\n    href: \"https://cloud.kingdee.com/passport/#/policy-agree/client-kd\",\n    target: \"_blank\"\n  }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_2__.getLangMsg)('login.key083')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"span\", {\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].line\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"a\", {\n    href: \"https://cloud.kingdee.com/passport/#/policy-agree/privacy-policy\",\n    target: \"_blank\"\n  }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_2__.getLangMsg)('login.key084'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"div\", {\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].beian\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"img\", {\n    src: (_img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_3___default()),\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].icon1\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"img\", {\n    src: (_img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_4___default()),\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].icon2\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"a\", {\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].link1\n  }, \"\\u7CA4ICP\\u590705041751\\u53F7-2\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"a\", {\n    className: _Footer_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].link2\n  }, \"\\u7CA4\\u516C\\u7F51\\u5B89\\u5907 44030502002324\\u53F7\")));\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Footer.jsx?");

/***/ }),

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

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _HyperLink_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./HyperLink.less */ \"./src/page/web/base/HyperLink.less\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../const */ \"./src/const.js\");\n/* harmony import */ var _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n\n\n\n\n\nfunction HyperLink(props) {\n  var loginType = _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_3__.myLocalStorage.getItem((0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_3__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_2__.LOGIN_TYPE));\n  var text = loginType === _const__WEBPACK_IMPORTED_MODULE_2__.TEL ? \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('login.key218')) : \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('login.key217'));\n  var href = '#kingdeeCloud';\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"a\", {\n    className: _HyperLink_less__WEBPACK_IMPORTED_MODULE_1__[\"default\"].hyperlink,\n    id: \"find_pwd\",\n    style: props.style,\n    href: props.href || href\n  }, props.text || text);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (HyperLink);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/HyperLink.jsx?");

/***/ }),

/***/ "./src/page/web/base/Input.jsx":
/*!*************************************!*\
  !*** ./src/page/web/base/Input.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 */ Input2; }\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_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_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_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_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_to_string_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _Input_less__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Input.less */ \"./src/page/web/base/Input.less\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/store */ \"./src/store.js\");\n/* harmony import */ var _DataPipeModel__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../../DataPipeModel */ \"./src/DataPipeModel.js\");\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 _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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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; }\n\n\n\n\n\nfunction Input2(props) {\n  var _inputRef$current;\n  var _props$defaultValue = props.defaultValue,\n    defaultValue = _props$defaultValue === void 0 ? '' : _props$defaultValue,\n    isFocusAccount = props.isFocusAccount,\n    className = props.className,\n    onBlur = props.onBlur;\n  var dataPipeModel = props.dataPipeModel || new _DataPipeModel__WEBPACK_IMPORTED_MODULE_25__[\"default\"]();\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_21__.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    isFocus = _useState2[0],\n    setFocus = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_21__.useState)(''),\n    _useState4 = _slicedToArray(_useState3, 2),\n    errorMsg = _useState4[0],\n    setErrorMsg = _useState4[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_21__.useRef)(null);\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_21__.useState)(false),\n    _useState6 = _slicedToArray(_useState5, 2),\n    hasFocus = _useState6[0],\n    setHasFocus = _useState6[1];\n  // const [value, setValue] = useState(defaultValue)\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_21__.useState)(false),\n    _useState8 = _slicedToArray(_useState7, 2),\n    showPws = _useState8[0],\n    setShowPws = _useState8[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_21__.useEffect)(function () {\n    var handleError = function handleError(_ref) {\n      var data = _ref.data,\n        name = _ref.name;\n      setErrorMsg(data);\n      if (name && name === 'newPassword') return;\n      inputRef.current.focus();\n    };\n\n    // 监听校验数据的错误\n    var errorTitle = props.name + 'Error';\n    var showErrorHandle = dataPipeModel.registerCallback(errorTitle, handleError);\n    var handleFocusEvent = function handleFocusEvent(data) {\n      if (data.name === props.name) {\n        inputRef.current.focus();\n        if (data.emptyValue) {\n          // setValue('')\n          inputRef.current.value = '';\n        }\n      }\n    };\n    // 监听选中事件\n    var focusInputHandle = dataPipeModel.registerCallback('FocusInput', handleFocusEvent);\n    if (props.name === 'account' && isFocusAccount) {\n      dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'account'\n      });\n    } else if (props.name === 'password' && !isFocusAccount) {\n      dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'password'\n      });\n    }\n    return function () {\n      showErrorHandle();\n      focusInputHandle();\n    };\n  }, []);\n  // 父组件传的默认值改变, 则动态修改\n  (0,react__WEBPACK_IMPORTED_MODULE_21__.useEffect)(function () {\n    if ([undefined, null, ''].includes(inputRef.current.value) && defaultValue) {\n      // setValue(defaultValue)\n      inputRef.current.type = props.type;\n      inputRef.current.value = defaultValue;\n    }\n  }, [defaultValue]);\n  var handleFocus = function handleFocus(e) {\n    if (props.type === 'password' && !showPws) {\n      inputRef.current.type = props.type;\n    }\n    setFocus(true);\n    setHasFocus(true);\n  };\n  var handleBlur = function handleBlur(e) {\n    if (props.type === 'password' && !showPws) {\n      inputRef.current.type = props.type;\n    }\n    setFocus(false);\n    onBlur && onBlur();\n  };\n  var handleChange = function handleChange(e) {\n    if (props.type === 'password' && !showPws) {\n      inputRef.current.type = props.type;\n    }\n    var newValue = e.target.value;\n    inputRef.current.value = newValue;\n    _store__WEBPACK_IMPORTED_MODULE_24__[\"default\"].setValue(props.name, newValue);\n    setErrorMsg('');\n    props.valueChange && props.valueChange();\n  };\n  var handleClick = function handleClick() {\n    setShowPws(!showPws);\n  };\n  var contentClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].content, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].inputFocus, isFocus), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].inputError, errorMsg !== ''));\n  var accIconClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].icon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].accIcon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].accIconFocus, isFocus), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].accIconError, errorMsg !== ''));\n  var pwdIconClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].icon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].pwdIcon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].pwdIconFocus, isFocus), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].pwdIconError, errorMsg !== ''));\n  var verifyIconClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].icon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].verifyIcon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].verifyIconFocus, isFocus), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].verifyIconError, errorMsg !== ''));\n  var msgIconClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].icon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].msgIcon, true), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].msgIconFocus, isFocus), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].msgIconError, errorMsg !== ''));\n  var images = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].hidePwd, !showPws), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].showPwd, showPws), _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].icon, true));\n  var placeholder = props.placeholder,\n    name = props.name;\n  var classNames = [accIconClass, pwdIconClass, verifyIconClass, msgIconClass];\n  var iconClassName = getIconClassName(classNames, name);\n  var containerClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].container, true), className, className));\n\n  // 防止浏览器自动填充\n  var type = props.type === 'password' && !showPws && (hasFocus || (_inputRef$current = inputRef.current) !== null && _inputRef$current !== void 0 && _inputRef$current.value) ? 'password' : 'text';\n  var eye = props.type === 'password' && _store__WEBPACK_IMPORTED_MODULE_24__[\"default\"].showviewpwdbtn && _store__WEBPACK_IMPORTED_MODULE_24__[\"default\"].showviewpwdbtn !== 'false';\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n    className: containerClass\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n    className: _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].errorMsg\n  }, errorMsg), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n    className: contentClass\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"span\", {\n    className: iconClassName\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"input\", {\n    id: props.name,\n    ref: inputRef,\n    type: type,\n    \"data-type\": props.type,\n    className: _Input_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].input,\n    placeholder: placeholder,\n    onFocus: handleFocus,\n    onBlur: handleBlur,\n    onChange: handleChange,\n    autoComplete: \"off\",\n    spellCheck: false,\n    readOnly: props.readOnly\n  }), eye && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"span\", {\n    className: images,\n    onClick: handleClick\n  })));\n}\nvar getIconClassName = function getIconClassName(classNames, name) {\n  if (['account', 'yzjAccount'].indexOf(name) > -1) {\n    return classNames[0];\n  } else if (['password', 'newPassword', 'confirmPassword', 'yzjPwd', 'customDynamicCode'].indexOf(name) > -1) {\n    return classNames[1];\n  } else if (name === 'verifyCode') {\n    return classNames[2];\n  } else if (name === 'phoneCode') {\n    return classNames[3];\n  }\n};\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Input.jsx?");

/***/ }),

/***/ "./src/page/web/base/InputPWD.jsx":
/*!****************************************!*\
  !*** ./src/page/web/base/InputPWD.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 */ Input2; }\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_fill_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.fill.js */ \"../../node_modules/core-js/modules/es.array.fill.js\");\n/* harmony import */ var core_js_modules_es_array_fill_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_fill_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_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_from_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.js\");\n/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.array.splice.js */ \"../../node_modules/core-js/modules/es.array.splice.js\");\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_21__ = __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_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_22__ = __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_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_23__ = __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_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_24__ = __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_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_25__ = __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_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_26__ = __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_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_27__ = __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_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_29__ = __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_29___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_29__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_30__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_31__ = __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_31___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_31__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_32__ = __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_32___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_32__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_33__ = __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_33___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_33__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _Input_less__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./Input.less */ \"./src/page/web/base/Input.less\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_36__);\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @/store */ \"./src/store.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _util_dataUtil__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../../util/dataUtil */ \"./src/util/dataUtil.js\");\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 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; }\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 _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\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; }\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\n\n\n\n\n\n\n\n\n\n\n\n\nvar KEYBOARD = 494;\nfunction Input2(props) {\n  var _inputRef$current, _inputRef$current2;\n  var dataPipeModel = props.dataPipeModel,\n    isFocusAccount = props.isFocusAccount,\n    name = props.name,\n    defaultValue = props.defaultValue,\n    placeholder = props.placeholder,\n    enableSoftKeyboard = props.enableSoftKeyboard;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    isFocus = _useState2[0],\n    setFocus = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(''),\n    _useState4 = _slicedToArray(_useState3, 2),\n    errorMsg = _useState4[0],\n    setErrorMsg = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(''),\n    _useState6 = _slicedToArray(_useState5, 2),\n    value = _useState6[0],\n    setValue = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(false),\n    _useState8 = _slicedToArray(_useState7, 2),\n    showPwd = _useState8[0],\n    setShowPwd = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(false),\n    _useState10 = _slicedToArray(_useState9, 2),\n    isComposition = _useState10[0],\n    setIsComposition = _useState10[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_34__.useRef)(null);\n  var pwdDataRef = (0,react__WEBPACK_IMPORTED_MODULE_34__.useRef)({\n    password: '',\n    pwdCover: ''\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_34__.useEffect)(function () {\n    var showErrorHandle = dataPipeModel.registerCallback(\"\".concat(name, \"Error\"), handleError);\n    var focusInputHandle = dataPipeModel.registerCallback('FocusInput', handleFocusEvent);\n    if (name === 'password' && !isFocusAccount) {\n      dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'password'\n      });\n    }\n    return function () {\n      showErrorHandle();\n      focusInputHandle();\n    };\n  }, []);\n  var handleError = function handleError(_ref) {\n    var data = _ref.data,\n      name = _ref.name;\n    setErrorMsg(data);\n    if (name && name === 'newPassword') return;\n    inputRef.current.focus();\n  };\n  var handleFocusEvent = function handleFocusEvent(data) {\n    data.name === name && inputRef.current.focus();\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_34__.useEffect)(function () {\n    if ([undefined, null, ''].includes(inputRef.current.value) && defaultValue) {\n      var pwdCover = new Array(defaultValue.length).fill('●').join('');\n      pwdDataRef.current.pwdCover = pwdCover;\n      pwdDataRef.current.password = defaultValue;\n      setValue(showPwd ? defaultValue : pwdCover);\n    }\n  }, [defaultValue]);\n  var handleCompositionStart = function handleCompositionStart(e) {\n    // 中文输入法下禁止输入\n    setIsComposition(true);\n    setTimeout(function () {\n      setIsComposition(false);\n    }, 0);\n    !enableSoftKeyboard && dataPipeModel.sendData({\n      type: 'ShowNotification',\n      error: {\n        level: 2,\n        message: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key208')\n      }\n    });\n  };\n  var handleChange = function handleChange(e) {\n    if (enableSoftKeyboard) return;\n    var inputEle = e.target;\n    if (isComposition) return;\n    var _getPwdData = getPwdData(inputEle),\n      password = _getPwdData.password,\n      inputStart = _getPwdData.inputStart,\n      pwdCover = _getPwdData.pwdCover;\n\n    // 选中部分密码删除或替换后，光标会跑到后面，要手动设回去，-1是手动删除最后面一个字符\n    if (inputStart !== undefined && inputStart !== -1) {\n      setTimeout(function () {\n        var nextSelection = inputStart + 1;\n        inputEle.setSelectionRange(nextSelection, nextSelection);\n      }, 0);\n    }\n    setErrorMsg('');\n    setValue(showPwd ? password : pwdCover);\n    _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue(name, password);\n    props === null || props === void 0 || props.valueChange();\n  };\n  var getPwdData = function getPwdData(inputEle) {\n    var pwdData = pwdDataRef.current;\n    var inputValue = inputEle.value;\n    if (showPwd) {\n      pwdData.pwdCover = new Array(inputValue.length).fill('●').join('');\n      pwdData.password = inputValue;\n      return pwdData;\n    } else {\n      var start = -1;\n      var end = -1;\n      // 真实的密码：  qq1234ww/q1234/1234w\n      var realArr = pwdData.password.split('');\n      // 虚假的密码： ●●1234●●/●1234/1234●\n      var inputValueArr = inputValue.split('');\n      var inputValueLen = inputValue.length;\n      var realLen = pwdData.password.length;\n\n      // 找到新输入字符的位置\n      inputValueArr.forEach(function (el, idx) {\n        if (!el.includes('●') && start === -1) {\n          start = idx;\n        }\n        if (start !== -1 && end === -1) {\n          if (el.includes('●')) {\n            end = idx - 1;\n          } else if (idx === inputValueArr.length - 1) {\n            end = idx;\n          }\n        }\n      });\n      var newStr = inputValueArr.slice(start, end + 1);\n      if (realLen > inputValueLen && newStr.length === 0) {\n        var pos = inputEle.selectionEnd;\n        realArr.splice(pos, realLen - inputValueLen);\n      } else {\n        var coverArrLen = inputValueArr.length;\n        var beforeRealArr = start ? realArr.slice(0, start) : [];\n        var endRealArr = coverArrLen !== end + 1 ? realArr.slice(-(coverArrLen - end - 1)) : [];\n        realArr = [].concat(_toConsumableArray(beforeRealArr), _toConsumableArray(newStr), _toConsumableArray(endRealArr));\n      }\n      pwdData.pwdCover = inputValue.replace(/\\S/g, '●');\n      pwdData.password = realArr.join('');\n      return _objectSpread(_objectSpread({}, pwdData), {}, {\n        inputStart: start\n      });\n    }\n  };\n  var handleEyeClick = function handleEyeClick() {\n    var pwdData = pwdDataRef.current;\n    var password = pwdData.password,\n      pwdCover = pwdData.pwdCover;\n    if (showPwd) {\n      setValue(pwdCover);\n    } else {\n      setValue(password);\n    }\n    setShowPwd(!showPwd);\n  };\n  var handleBlur = function handleBlur() {\n    setFocus(false);\n  };\n  var handleFocus = function handleFocus() {\n    setFocus(true);\n    if (!isLoad && !enableSoftKeyboard) {\n      dataPipeModel.sendData({\n        type: 'ShowNotification',\n        error: {\n          level: 2,\n          message: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key209')\n        }\n      });\n      setIsLoad(true);\n    }\n  };\n  var contentClass = classnames__WEBPACK_IMPORTED_MODULE_36___default()(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].content, true), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].inputFocus, isFocus), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].inputError, errorMsg !== ''));\n  var pwdIconClass = classnames__WEBPACK_IMPORTED_MODULE_36___default()(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].icon, true), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].pwdIcon, true), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].pwdIconFocus, isFocus), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].pwdIconError, errorMsg !== ''));\n  var eyeImageCls = classnames__WEBPACK_IMPORTED_MODULE_36___default()(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].hidePwd, !showPwd), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].showPwd, showPwd), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].image, true));\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(false),\n    _useState12 = _slicedToArray(_useState11, 2),\n    showKeyboard = _useState12[0],\n    setShowKeyboard = _useState12[1];\n  var keyboardCls = classnames__WEBPACK_IMPORTED_MODULE_36___default()(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].hideKeyboard, !showKeyboard), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].showKeyboard, showKeyboard), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].image, true));\n  var showviewpwdbtn = _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].showviewpwdbtn && _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].showviewpwdbtn !== 'false';\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(false),\n    _useState14 = _slicedToArray(_useState13, 2),\n    isLoad = _useState14[0],\n    setIsLoad = _useState14[1];\n  var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)(false),\n    _useState16 = _slicedToArray(_useState15, 2),\n    upperCase = _useState16[0],\n    setUpperCase = _useState16[1];\n  var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_34__.useState)((0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_39__.getKeyboard)()),\n    _useState18 = _slicedToArray(_useState17, 2),\n    keyboardData = _useState18[0],\n    setKeyboardData = _useState18[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_34__.useEffect)(function () {\n    !showKeyboard && setKeyboardData((0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_39__.getKeyboard)());\n    showKeyboard && inputRef.current.blur();\n  }, [showKeyboard]);\n  var keybordRef = (0,react__WEBPACK_IMPORTED_MODULE_34__.useRef)();\n  var eyeRef = (0,react__WEBPACK_IMPORTED_MODULE_34__.useRef)();\n  var keybordIconRef = (0,react__WEBPACK_IMPORTED_MODULE_34__.useRef)();\n  var onClickOutSide = function onClickOutSide(e) {\n    if (!showKeyboard || e.target === eyeRef.current || e.target === keybordIconRef.current) return;\n    var target = e.target;\n    while (target && target !== document) {\n      if (target === keybordRef.current) {\n        return;\n      }\n      target = target.parentNode;\n    }\n    if (!target) {\n      return;\n    }\n    setShowKeyboard(false);\n  };\n  var onKeydown = function onKeydown(e) {\n    if (showKeyboard) {\n      e.stopPropagation();\n      e.preventDefault();\n    }\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_34__.useEffect)(function () {\n    if (enableSoftKeyboard) {\n      document.addEventListener('mousedown', onClickOutSide);\n      document.addEventListener('keydown ', onKeydown);\n    }\n    return function () {\n      document.removeEventListener('mousedown', onClickOutSide);\n      document.removeEventListener('mousedown', onKeydown);\n    };\n  }, [showKeyboard, enableSoftKeyboard]);\n  var handleKeyboardClick = function handleKeyboardClick() {\n    if (enableSoftKeyboard) {\n      setShowKeyboard(!showKeyboard);\n    }\n  };\n  var handleKeybordClick = function handleKeybordClick(e) {\n    inputRef.current.focus();\n    // e.preventDefault()\n    // e.stopPropagation()\n  };\n  var funKeys = ['del', 'shift', 'enter', 'space'];\n  var handleLetterClick = function handleLetterClick(e) {\n    var _char = e.target.dataset.id;\n    var pwdData = pwdDataRef.current;\n    var val;\n    if (_char === 'del') {\n      val = pwdData.password && pwdData.password.slice(0, -1);\n    } else if (_char === 'shift') {\n      return setUpperCase(!upperCase);\n    } else if (_char === 'enter') {\n      return setShowKeyboard(false);\n    } else if (_char === 'space') {\n      val = pwdData.password + ' ';\n    } else {\n      val = pwdData.password + _char;\n    }\n    var pwdCover = val ? new Array(val.length).fill('●').join('') : '';\n    pwdData.pwdCover = pwdCover;\n    pwdData.password = val;\n    setErrorMsg('');\n    setValue(showPwd ? val : pwdCover);\n    _store__WEBPACK_IMPORTED_MODULE_37__[\"default\"].setValue(name, val);\n    props === null || props === void 0 || props.valueChange();\n  };\n  var inputRect = (inputRef === null || inputRef === void 0 || (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.getBoundingClientRect()) || {};\n  var keybordStyle = {\n    top: inputRect.top + 48,\n    left: inputRect.left + 1 + ((_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.offsetWidth) - KEYBOARD\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"div\", {\n    className: _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].container\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"div\", {\n    className: _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].errorMsg\n  }, errorMsg), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"div\", {\n    className: contentClass\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"span\", {\n    className: pwdIconClass\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"input\", {\n    onMouseDown: handleKeyboardClick,\n    ref: inputRef,\n    type: \"text\",\n    className: _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].input,\n    onChange: handleChange,\n    spellCheck: false,\n    value: value,\n    onCompositionStart: handleCompositionStart,\n    onFocus: handleFocus,\n    onBlur: handleBlur,\n    placeholder: placeholder,\n    style: {\n      paddingRight: 50\n    }\n  }), showviewpwdbtn && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"span\", {\n    className: eyeImageCls,\n    onClick: handleEyeClick,\n    ref: eyeRef\n  }), enableSoftKeyboard && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"span\", {\n    ref: keybordIconRef,\n    onMouseDown: handleKeybordClick,\n    onClick: handleKeyboardClick,\n    style: {\n      right: showviewpwdbtn ? 32 : 10\n    },\n    className: keyboardCls\n  })), showKeyboard && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"div\", {\n    className: _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].keybord,\n    style: keybordStyle,\n    ref: keybordRef,\n    onMouseDown: handleKeybordClick\n  }, keyboardData.map(function (charArr, i) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"div\", {\n      key: i,\n      className: _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].row\n    }, charArr.map(function (_char2, j) {\n      var cellCls = classnames__WEBPACK_IMPORTED_MODULE_36___default()(_defineProperty(_defineProperty(_defineProperty({}, _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].cell, true), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"][_char2], funKeys.includes(_char2)), _Input_less__WEBPACK_IMPORTED_MODULE_35__[\"default\"].shiftActive, _char2 === 'shift' && upperCase === true));\n      var text;\n      if (funKeys.includes(_char2)) {\n        text = _char2 === 'enter' ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key231') : '';\n      } else {\n        _char2 = upperCase ? _char2.toLocaleUpperCase() : _char2;\n        text = _char2;\n      }\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_34__.createElement(\"div\", {\n        onClick: handleLetterClick,\n        \"data-id\": _char2,\n        key: j,\n        className: cellCls\n      }, text);\n    }));\n  })));\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/InputPWD.jsx?");

/***/ }),

/***/ "./src/page/web/base/LangSelect.jsx":
/*!******************************************!*\
  !*** ./src/page/web/base/LangSelect.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 */ LangSelect; }\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_find_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_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_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_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_to_string_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! react-dom */ \"../../node_modules/react-dom/index.js\");\n/* harmony import */ var _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./LangSelect.less */ \"./src/page/web/base/LangSelect.less\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/store */ \"./src/store.js\");\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 _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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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; }\n\n\n\n\n\n// import eventBus from '@/eventBus'\n\n/**\n * 数据结构\n * list: [{text:, value:, select:}]\n * selectItem: ''\n * onItemClick: function\n */\n\nfunction LangSelect(props) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_20__.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    panelVisible = _useState2[0],\n    setPanelVisible = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_20__.useState)(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    licenseBarVisible = _useState4[0],\n    setLicenseBarVisible = _useState4[1];\n  var containerRef = (0,react__WEBPACK_IMPORTED_MODULE_20__.useRef)(null);\n  var languages = props.languages,\n    currentLang = props.currentLang,\n    changeLang = props.changeLang,\n    dataPipeModel = props.dataPipeModel;\n  var handleClickOutside = function handleClickOutside(e) {\n    // if (!panelVisible) return\n    var target = e.target;\n    while (target && target !== document) {\n      if (target === react_dom__WEBPACK_IMPORTED_MODULE_21__.findDOMNode(containerRef.current)) {\n        return;\n      }\n      target = target.parentNode;\n    }\n    if (!target) return;\n    setPanelVisible(false);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_20__.useEffect)(function () {\n    document.addEventListener('click', handleClickOutside);\n    var removeFun = dataPipeModel === null || dataPipeModel === void 0 ? void 0 : dataPipeModel.registerCallback('SetLicenseBarVisible', function (data) {\n      setLicenseBarVisible(data.visible);\n    });\n    return function () {\n      document.removeEventListener('click', handleClickOutside);\n      removeFun();\n    };\n  }, []);\n  var itemClick = function itemClick(e) {\n    var target = e.target;\n    var value = target.getAttribute('value');\n    setPanelVisible(false);\n    if (value !== currentLang) {\n      _store__WEBPACK_IMPORTED_MODULE_24__[\"default\"].setValue('lang', value);\n      props.onItemClick(value);\n      changeLang && changeLang(value);\n    }\n  };\n  var langList = languages.map(function (item) {\n    var itemClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty({}, _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].item, true), _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].selected, item.value === currentLang));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n      key: item.value,\n      value: item.value,\n      className: itemClass,\n      onClick: itemClick\n    }, item.text);\n  });\n  var selectItem = languages.find(function (item) {\n    return item.value === currentLang;\n  });\n  var panelClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty({}, _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].panel, true), _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].hidden, !panelVisible));\n  var handleClick = function handleClick(e) {\n    setPanelVisible(!panelVisible);\n  };\n  var containerClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty({}, _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].container, true), _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].topChange, licenseBarVisible));\n  var style = licenseBarVisible ? {\n    top: licenseBarVisible\n  } : null;\n  if (selectItem) {\n    _store__WEBPACK_IMPORTED_MODULE_24__[\"default\"].setValue('lang', selectItem.value);\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n    ref: containerRef,\n    className: containerClass,\n    style: style,\n    id: \"language_select\",\n    onClick: handleClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"span\", {\n    className: _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].icon\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n    className: _LangSelect_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].text\n  }, selectItem && selectItem.text), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n    className: panelClass\n  }, langList));\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/LangSelect.jsx?");

/***/ }),

/***/ "./src/page/web/base/LicenseBar.jsx":
/*!******************************************!*\
  !*** ./src/page/web/base/LicenseBar.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 */   ExpiredInfo: function() { return /* binding */ ExpiredInfo; },\n/* harmony export */   RenderMsg: function() { return /* binding */ RenderMsg; },\n/* harmony export */   \"default\": function() { return /* binding */ LicenseBar; }\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_from_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_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_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_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_to_string_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ \"../../node_modules/core-js/modules/es.string.split.js\");\n/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_21__ = __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_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./LicenseBar.less */ \"./src/page/web/base/LicenseBar.less\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../../store */ \"./src/store.js\");\n/* harmony import */ var _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _util_dataUtil_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @/util/dataUtil.js */ \"./src/util/dataUtil.js\");\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 _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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\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; }\n\n\n\n\n// import warmming from '../../../img/warmming.png'\n\n\n\n\nfunction LicenseBar(props) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(true),\n    _useState2 = _slicedToArray(_useState, 2),\n    show = _useState2[0],\n    setShow = _useState2[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_22__.useEffect)(function () {\n    window.addEventListener('resize', handleResize);\n    window.addEventListener('resize', hideLicense);\n    return function () {\n      window.removeEventListener('resize', handleResize);\n      window.removeEventListener('resize', hideLicense);\n    };\n  }, []);\n  var hideLicense = function hideLicense() {\n    if (show) {\n      setShow(false);\n    }\n  };\n  var showLicense = function showLicense() {\n    setShow(function (show) {\n      return true;\n    });\n  };\n  var handleResize = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_27__.debounce)(showLicense, 1000);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(react__WEBPACK_IMPORTED_MODULE_22__.Fragment, {\n    key: \"fragment\"\n  }, show ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(ExpiredInfo, props) : null);\n}\nfunction ExpiredInfo(props) {\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)([]),\n    _useState4 = _slicedToArray(_useState3, 2),\n    licenseList = _useState4[0],\n    setLicenseList = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(true),\n    _useState6 = _slicedToArray(_useState5, 2),\n    virtualNode = _useState6[0],\n    setVirtualNode = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(false),\n    _useState8 = _slicedToArray(_useState7, 2),\n    isShow = _useState8[0],\n    setIsShow = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(false),\n    _useState10 = _slicedToArray(_useState9, 2),\n    oneAnimating = _useState10[0],\n    setOneAnimating = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(false),\n    _useState12 = _slicedToArray(_useState11, 2),\n    twoAnimating = _useState12[0],\n    setTwoAnimating = _useState12[1];\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(-100),\n    _useState14 = _slicedToArray(_useState13, 2),\n    oneDivTranY = _useState14[0],\n    setOneDivTranY = _useState14[1];\n  var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(0),\n    _useState16 = _slicedToArray(_useState15, 2),\n    twoDivTranY = _useState16[0],\n    setTwoDivTranY = _useState16[1];\n  var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(1),\n    _useState18 = _slicedToArray(_useState17, 2),\n    currentIndex = _useState18[0],\n    setCurrentIndex = _useState18[1];\n  var _useState19 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(0),\n    _useState20 = _slicedToArray(_useState19, 2),\n    count = _useState20[0],\n    setCount = _useState20[1];\n  var _useState21 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(),\n    _useState22 = _slicedToArray(_useState21, 2),\n    topInfo = _useState22[0],\n    setTopInfo = _useState22[1];\n  var _useState23 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(),\n    _useState24 = _slicedToArray(_useState23, 2),\n    bottomInfo = _useState24[0],\n    setBottomInfo = _useState24[1];\n  var msgHeights = (0,react__WEBPACK_IMPORTED_MODULE_22__.useRef)([]);\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_22__.useRef)(null);\n  var Initialize = function Initialize() {\n    setOneAnimating(false);\n    setTwoAnimating(false);\n    setOneDivTranY(-100);\n    setTwoDivTranY(0);\n    setCurrentIndex(1);\n    setCount(0);\n  };\n\n  // 获取许可信息\n  var validateLicense = function validateLicense(data) {\n    (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_28__.getLicenseInfo)({\n      accountId: data.currentAccountId || _store__WEBPACK_IMPORTED_MODULE_26__[\"default\"].accountId,\n      language: data.language || _store__WEBPACK_IMPORTED_MODULE_26__[\"default\"].lang,\n      dataPipeModel: props.dataPipeModel\n    }).then(function (data) {\n      var _data$licenseList;\n      // data = {\n      //   overTime: false,\n      //   licenseList: [\n      //     { overTime: true, msg: '第 0 license已到期（可正常登录，但不能使用受许可控制的功能license已到期 license已到期（可正常登录，但不能使用受许可控制的功能license已到期 license已到期（可正常登录，但不能使用受许可控制的功能license已到期（可正常登录，但不能使用受许可控制的功能5license已到期（可正常登录', days: 5 },\n      //     { overTime: false, msg: '第 1 license已到期（可正常登录，但不能使用受许可控制的功能），请及时购买。', days: 0 },\n      //     { overTime: false, msg: '第 2 license已到期（可正常登录，但不能使用受许可控制的功能），请及时购买。', days: 0 },\n      //     { overTime: false, msg: '第 3 license已到期（可正常登录，但不能使用受许可控制的功能），请及时购买。', days: 0 },\n      //     { overTime: false, msg: '第 4 license已到期（可正常登录，但不能使用受许可控制的功能），请及时购买。', days: 0 }\n      //   ]\n      // }\n      if (data.licenseList && ((_data$licenseList = data.licenseList) === null || _data$licenseList === void 0 ? void 0 : _data$licenseList.length) > 0) {\n        setIsShow(true);\n        setTopInfo(data.licenseList[1]);\n        setBottomInfo(data.licenseList[0]);\n        setLicenseList(data.licenseList);\n        setVirtualNode(true);\n        Initialize();\n      } else {\n        props.dataPipeModel && props.dataPipeModel.sendData({\n          type: 'SetLicenseBarVisible',\n          visible: false\n        });\n        setIsShow(false);\n        setTopInfo();\n        setBottomInfo();\n        setLicenseList();\n        Initialize();\n      }\n    });\n  };\n  // 获取许可提示数据\n  (0,react__WEBPACK_IMPORTED_MODULE_22__.useEffect)(function () {\n    var handler = props.dataPipeModel && props.dataPipeModel.registerCallback('ValidateLicense', validateLicense);\n    document.addEventListener('visibilitychange', setLicenseStatus);\n    if (props.currentAccountId !== '') {\n      validateLicense({\n        currentAccountId: props.currentAccountId,\n        language: _store__WEBPACK_IMPORTED_MODULE_26__[\"default\"].language\n      });\n    }\n    return function () {\n      handler();\n      document.removeEventListener('visibilitychange', setLicenseStatus);\n    };\n  }, []);\n  var _useState25 = (0,react__WEBPACK_IMPORTED_MODULE_22__.useState)(true),\n    _useState26 = _slicedToArray(_useState25, 2),\n    beginAnimating = _useState26[0],\n    setBeginAnimating = _useState26[1];\n  var setLicenseStatus = function setLicenseStatus() {\n    if (document.visibilityState === 'visible') {\n      setBeginAnimating(function (setLicenseStatus) {\n        return !setLicenseStatus;\n      });\n    } else {\n      clearInterval(timer.current);\n    }\n  };\n  // 设置语言栏的位置\n  (0,react__WEBPACK_IMPORTED_MODULE_22__.useEffect)(function () {\n    if (virtualNode && licenseList) {\n      msgHeights.current.length > 0 && (props === null || props === void 0 ? void 0 : props.dataPipeModel.sendData({\n        type: 'SetLicenseBarVisible',\n        visible: Math.max.apply(Math, _toConsumableArray(msgHeights.current))\n      }));\n      setVirtualNode(false);\n    }\n  }, [licenseList, virtualNode]);\n\n  // 定时器\n  (0,react__WEBPACK_IMPORTED_MODULE_22__.useEffect)(function () {\n    if ((licenseList === null || licenseList === void 0 ? void 0 : licenseList.length) > 1) {\n      clearInterval(timer.current);\n      timer.current = setInterval(function () {\n        if (msgHeights.current.length === 1) return;\n        setOneDivTranY(function (oneDivTranY) {\n          if (oneDivTranY === 0) {\n            setCurrentIndex(function (currentIndex) {\n              setCount(currentIndex);\n              return currentIndex;\n            });\n            setTwoDivTranY(function (twoDivTranY) {\n              return 0;\n            });\n            setOneAnimating(function (oneAnimating) {\n              return true;\n            });\n            setTwoAnimating(function (oneAnimating) {\n              return true;\n            });\n            return 100;\n          } else if (oneDivTranY === -100) {\n            setCurrentIndex(function (currentIndex) {\n              setCount(currentIndex);\n              return currentIndex;\n            });\n            setTwoDivTranY(function (twoDivTranY) {\n              return 100;\n            });\n            setOneAnimating(function (oneAnimating) {\n              return true;\n            });\n            setTwoAnimating(function (oneAnimating) {\n              return true;\n            });\n            return 0;\n          } else {\n            return oneDivTranY;\n          }\n        });\n      }, 5000);\n    }\n    return function () {\n      timer.current && clearInterval(timer.current);\n    };\n  }, [licenseList, beginAnimating]);\n\n  // 计算显示区域的大小\n  var computeHeight = function computeHeight() {\n    msgHeights.current = [];\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n      className: ieWrapClass,\n      style: {\n        visibility: 'hidden'\n      }\n    }, licenseList === null || licenseList === void 0 ? void 0 : licenseList.map(function (_ref, index) {\n      var msg = _ref.msg,\n        days = _ref.days,\n        overTime = _ref.overTime;\n      var title = overTime ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_25__.getLangMsg)('login.key053') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_25__.getLangMsg)('login.key097');\n      if (days > 0) {\n        var arr = msg.split(days);\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].message,\n          key: index,\n          ref: function ref(dom) {\n            dom && msgHeights.current.push(dom.offsetHeight);\n          }\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"span\", {\n          className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].title\n        }, title), arr[0], /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"span\", {\n          className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].days\n        }, days), arr[1]);\n      } else {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n          className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].message,\n          key: index,\n          ref: function ref(dom) {\n            dom && msgHeights.current.push(dom.offsetHeight);\n          }\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"span\", {\n          className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].title\n        }, title), msg);\n      }\n    }));\n  };\n\n  // 动画结束时更新index并更新值\n  var handleTransitionEnd = (0,react__WEBPACK_IMPORTED_MODULE_22__.useCallback)(function () {\n    if (oneDivTranY === 100) {\n      setOneDivTranY(-100);\n      setValue('one');\n    }\n    if (twoDivTranY === 100) {\n      setTwoDivTranY(-100);\n      setValue('two');\n    }\n    setOneAnimating(false);\n    setTwoAnimating(false);\n  }, [oneDivTranY, twoDivTranY]);\n  var setValue = function setValue(position) {\n    if (currentIndex === msgHeights.current.length - 1) {\n      setCurrentIndex(function (currentIndex) {\n        var value = licenseList[0];\n        position === 'one' ? setTopInfo(value) : setBottomInfo(value);\n        return 0;\n      });\n    } else {\n      setCurrentIndex(function (currentIndex) {\n        var value = licenseList[currentIndex + 1];\n        position === 'one' ? setTopInfo(value) : setBottomInfo(value);\n        return currentIndex + 1;\n      });\n    }\n  };\n  var ieWrapClass = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty(_defineProperty({}, _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].ieWrap, true), _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].slidingIn, isShow), _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].slidingOut, !isShow));\n\n  // 出场时缩放由1到0\n  var topScale = (0,react__WEBPACK_IMPORTED_MODULE_22__.useMemo)(function () {\n    return oneDivTranY === 100 ? 0.8 : 1;\n  }, [oneDivTranY]);\n  var bottomScale = (0,react__WEBPACK_IMPORTED_MODULE_22__.useMemo)(function () {\n    return twoDivTranY === 100 ? 0.8 : 1;\n  }, [twoDivTranY]);\n  var topStyle = (0,react__WEBPACK_IMPORTED_MODULE_22__.useMemo)(function () {\n    return {\n      transform: \"translateY(\".concat(oneDivTranY, \"%) scale(\").concat(topScale, \")\"),\n      transition: oneAnimating ? 'all 0.5s ease-in-out' : 'none'\n    };\n  }, [oneDivTranY, oneAnimating, topScale]);\n  var bottomStyle = (0,react__WEBPACK_IMPORTED_MODULE_22__.useMemo)(function () {\n    return {\n      transform: \"translateY(\".concat(twoDivTranY, \"%) scale(\").concat(bottomScale, \")\"),\n      transition: twoAnimating ? 'all 0.5s ease-in-out' : 'none'\n    };\n  }, [twoDivTranY, bottomScale, twoAnimating]);\n  var topEle = (0,react__WEBPACK_IMPORTED_MODULE_22__.useMemo)(function () {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(RenderMsg, {\n      Info: topInfo\n    });\n  }, [topInfo]);\n  var bottomEle = (0,react__WEBPACK_IMPORTED_MODULE_22__.useMemo)(function () {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(RenderMsg, {\n      Info: bottomInfo\n    });\n  }, [bottomInfo]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", null, !virtualNode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n    className: ieWrapClass,\n    style: {\n      height: msgHeights.current[count]\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n    className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].message,\n    style: topStyle,\n    onTransitionEnd: handleTransitionEnd\n  }, (licenseList === null || licenseList === void 0 ? void 0 : licenseList.length) > 1 && topEle), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n    className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].message,\n    style: bottomStyle\n  }, bottomEle)), virtualNode && licenseList && computeHeight());\n}\nfunction RenderMsg(props) {\n  if (!props.Info) return null;\n  var _props$Info = props.Info,\n    msg = _props$Info.msg,\n    days = _props$Info.days,\n    overTime = _props$Info.overTime;\n  var title = overTime ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_25__.getLangMsg)('login.key053') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_25__.getLangMsg)('login.key097');\n  if (days > 0) {\n    var arr = msg.split(days);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n      className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].titleRoot,\n      title: msg\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"span\", {\n      className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].title\n    }, title), arr[0], /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"span\", {\n      className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].days\n    }, days), arr[1]);\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"div\", {\n    className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].titleRoot,\n    title: msg\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_22__.createElement(\"span\", {\n    className: _LicenseBar_less__WEBPACK_IMPORTED_MODULE_24__[\"default\"].title\n  }, title), msg);\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/LicenseBar.jsx?");

/***/ }),

/***/ "./src/page/web/base/Notification.jsx":
/*!********************************************!*\
  !*** ./src/page/web/base/Notification.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_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_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_reflect_construct_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_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 core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _Notification_less__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./Notification.less */ \"./src/page/web/base/Notification.less\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var _img_error_png__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../img/error.png */ \"./src/img/error.png\");\n/* harmony import */ var _img_error_png__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_img_error_png__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var _img_warmming_png__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../../img/warmming.png */ \"./src/img/warmming.png\");\n/* harmony import */ var _img_warmming_png__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_img_warmming_png__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @/store */ \"./src/store.js\");\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 _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\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// import eventBus from '../../../eventBus'\n\n\n\n\nvar Notification = /*#__PURE__*/function (_Component) {\n  _inherits(Notification, _Component);\n  function Notification(props) {\n    var _this;\n    _classCallCheck(this, Notification);\n    _this = _callSuper(this, Notification, [props]);\n    _this.duringTime = 8000;\n    _this.state = {\n      show: false,\n      message: '',\n      level: 1\n    };\n    _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));\n    _this.handleShowNotification = _this.handleShowNotification.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(Notification, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var callback = _store__WEBPACK_IMPORTED_MODULE_24__[\"default\"].notificationList;\n      callback.forEach(function (data) {\n        if ((data === null || data === void 0 ? void 0 : data.type) === 'ShowNotification') {\n          _this2.handleShowNotification(data);\n        }\n      });\n      _store__WEBPACK_IMPORTED_MODULE_24__[\"default\"].setValue('notificationList', []);\n\n      // this.showNotificationHandle = eventBus.sub_showNotification(this.handleShowNotification)\n      this.showNotificationHandle = this.props.dataPipeModel && this.props.dataPipeModel.registerCallback('ShowNotification', this.handleShowNotification);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.showNotificationHandle();\n    }\n  }, {\n    key: \"handleClick\",\n    value: function handleClick() {\n      this.setState({\n        show: false,\n        message: ''\n      });\n    }\n  }, {\n    key: \"handleShowNotification\",\n    value: function handleShowNotification(data) {\n      var _this3 = this;\n      var _data$error = data.error,\n        message = _data$error.message,\n        level = _data$error.level,\n        _data$error$time = _data$error.time,\n        time = _data$error$time === void 0 ? '' : _data$error$time;\n      this.setState({\n        show: !!message,\n        message: message,\n        level: level\n      });\n      if (time === 'infinite') return;\n      this.duringTime = time || this.duringTime;\n      clearTimeout(this.duringTimer);\n      this.duringTimer = setTimeout(function () {\n        _this3.setState({\n          show: false,\n          message: ''\n        });\n      }, this.duringTime);\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var level = this.state.level;\n      var notificationClass = classnames__WEBPACK_IMPORTED_MODULE_21___default()(_defineProperty(_defineProperty(_defineProperty({}, _Notification_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].notification, true), _Notification_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].error, level === 1), _Notification_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].warmming, level === 2));\n      return this.state.show ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", {\n        className: notificationClass,\n        style: this.props.style\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"img\", {\n        src: level === 1 ? (_img_error_png__WEBPACK_IMPORTED_MODULE_22___default()) : (_img_warmming_png__WEBPACK_IMPORTED_MODULE_23___default())\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", {\n        className: _Notification_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].message,\n        title: this.state.message\n      }, this.state.message), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", {\n        className: _Notification_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].cancel,\n        onClick: this.handleClick\n      }, \"\\xD7\")) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", {\n        className: _Notification_less__WEBPACK_IMPORTED_MODULE_20__[\"default\"].notification,\n        style: this.props.style\n      });\n    }\n  }]);\n  return Notification;\n}(react__WEBPACK_IMPORTED_MODULE_19__.Component);\n/* harmony default export */ __webpack_exports__[\"default\"] = (Notification);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Notification.jsx?");

/***/ }),

/***/ "./src/page/web/base/OfflinePrompt.jsx":
/*!*********************************************!*\
  !*** ./src/page/web/base/OfflinePrompt.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_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react-dom */ \"../../node_modules/react-dom/index.js\");\n/* harmony import */ var _OfflinePrompt_less__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OfflinePrompt.less */ \"./src/page/web/base/OfflinePrompt.less\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _img_offline_png__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../../img/offline.png */ \"./src/img/offline.png\");\n/* harmony import */ var _img_offline_png__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_img_offline_png__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../../store */ \"./src/store.js\");\n/* harmony import */ var _page_common_Confirm_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @/page/common/Confirm.js */ \"./src/page/common/Confirm.js\");\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); }\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// 后续会移除这个组件,弹窗统一使用Confirm\nvar OfflinePrompt = /*#__PURE__*/function (_Component) {\n  _inherits(OfflinePrompt, _Component);\n  function OfflinePrompt(props) {\n    var _this;\n    _classCallCheck(this, OfflinePrompt);\n    _this = _callSuper(this, OfflinePrompt, [props]);\n    _this.state = {\n      message: '',\n      title: '',\n      buttonType: '',\n      confirmType: ''\n    };\n    _this.getErrorMessage = _this.getErrorMessage.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(OfflinePrompt, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.getErrorMessage();\n    }\n  }, {\n    key: \"onClose\",\n    value: function onClose(args) {\n      window.location.hash = '#findPassword';\n    }\n  }, {\n    key: \"clickCallback\",\n    value: function clickCallback() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n      console.log(args);\n    }\n  }, {\n    key: \"getErrorMessage\",\n    value: function getErrorMessage() {\n      var _this2 = this;\n      _api_service__WEBPACK_IMPORTED_MODULE_22__.getErrorMessage({\n        language: _store__WEBPACK_IMPORTED_MODULE_25__[\"default\"].lang\n      }).then(function (data) {\n        if (Object.prototype.toString.call(data) !== '[object Object]') return;\n        var title = data.title,\n          message = data.message,\n          _data$buttonType = data.buttonType,\n          buttonType = _data$buttonType === void 0 ? 4 : _data$buttonType,\n          _data$confirmType = data.confirmType,\n          confirmType = _data$confirmType === void 0 ? 4 : _data$confirmType;\n        if (message) {\n          (0,_page_common_Confirm_js__WEBPACK_IMPORTED_MODULE_26__[\"default\"])({\n            id: 'findPassword',\n            msg: message,\n            confirmType: confirmType,\n            title: title || (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_24__.getLangMsg)('login.key061'),\n            buttonType: Number(buttonType),\n            buttonNames: {\n              7: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_24__.getLangMsg)('login.key062'),\n              6: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_24__.getLangMsg)('login.key063')\n            },\n            onClose: _this2.onClose,\n            clickCallback: _this2.clickCallback\n          });\n        }\n      });\n    }\n  }, {\n    key: \"handleChangePsw\",\n    value: function handleChangePsw() {\n      window.location.hash = '#findPassword';\n    }\n  }, {\n    key: \"renderMessage\",\n    value: function renderMessage() {\n      var message = this.state.message;\n      var msgArr = message.split('/n');\n      return msgArr.map(function (item, index) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", {\n          key: index\n        }, item);\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", null);\n    }\n  }]);\n  return OfflinePrompt;\n}(react__WEBPACK_IMPORTED_MODULE_19__.Component);\n/* harmony default export */ __webpack_exports__[\"default\"] = (OfflinePrompt);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/OfflinePrompt.jsx?");

/***/ }),

/***/ "./src/page/web/base/Telephone/PanelWithOutside.js":
/*!*********************************************************!*\
  !*** ./src/page/web/base/Telephone/PanelWithOutside.js ***!
  \*********************************************************/
/***/ (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 */   CLICK: function() { return /* binding */ CLICK; },\n/* harmony export */   KEYDOWN: function() { return /* binding */ KEYDOWN; },\n/* harmony export */   TAB: function() { return /* binding */ TAB; },\n/* harmony export */   \"default\": function() { return /* binding */ PanelWithOutside; }\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_array_index_of_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n\n\n\n\n\nvar _excluded = [\"onCLickOutside\", \"forwardRef\", \"children\", \"autoFocus\"];\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); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/**\n * 带有clickoutside检测的面板，支持portal子元素\n * 例外场景，点击portal的iframe元素无效\n * @author daosheng_chen\n */\n\n\n/**\n * @param forwardRef 获取面板的dom元素 ，class用React.createRef ,hooks 用useRef定义\n * @param onCLickOutside (type)=>() 点击面板外部时，回调该函数 type=click|tab|keydown\n */\nfunction PanelWithOutside(_ref) {\n  var onCLickOutside = _ref.onCLickOutside,\n    forwardRef = _ref.forwardRef,\n    children = _ref.children,\n    _ref$autoFocus = _ref.autoFocus,\n    autoFocus = _ref$autoFocus === void 0 ? true : _ref$autoFocus,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var time = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var type = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null); // 导致blur发生的原因\n  var trigger = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null); // 导致blur出发的元素\n  var onFocus = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (event) {\n    clearTimeout(time.current);\n  }, []);\n  var onBlur = (0,react__WEBPACK_IMPORTED_MODULE_6__.useCallback)(function (event) {\n    time.current = setTimeout(function () {\n      // 判断ref.current是否存在，父组件手动销毁setTimeout执行时组件已销毁\n      if (ref.current && !ref.current.contains(document.activeElement)) {\n        // 点击自身iframe子元素时处理\n        onCLickOutside(type.current, trigger.current);\n      }\n    }, 0);\n  }, [onCLickOutside]);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    forwardRef && (forwardRef.current = ref.current);\n    if (autoFocus && !ref.current.contains(document.activeElement)) {\n      // 子元素没有包含焦点\n      ref.current.focus();\n    }\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    var clickHandler = function clickHandler(event) {\n      type.current = CLICK;\n      trigger.current = event;\n    };\n    var keyHandler = function keyHandler(event) {\n      type.current = event.keyCode === 9 ? TAB : KEYDOWN;\n      trigger.current = event;\n    };\n    document.addEventListener('mousedown', clickHandler);\n    document.addEventListener('keydown', keyHandler);\n    return function () {\n      document.removeEventListener('mousedown', clickHandler);\n      document.removeEventListener('keydown', keyHandler);\n    };\n  }, []);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6__.createElement(\"div\", _extends({\n    tabIndex: \"-1\"\n  }, other, {\n    ref: ref,\n    onBlur: onBlur,\n    onFocus: onFocus\n  }), children);\n}\nvar CLICK = 'click';\nvar KEYDOWN = 'keydown';\nvar TAB = 'tab';\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Telephone/PanelWithOutside.js?");

/***/ }),

/***/ "./src/page/web/base/Telephone/PanelWrapper.js":
/*!*****************************************************!*\
  !*** ./src/page/web/base/Telephone/PanelWrapper.js ***!
  \*****************************************************/
/***/ (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 */   useCalcPosition: function() { return /* binding */ useCalcPosition; }\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_array_index_of_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-dom */ \"../../node_modules/react-dom/index.js\");\n/* harmony import */ var _util_telephoneUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../util/telephoneUtils */ \"./src/util/telephoneUtils.js\");\n/* harmony import */ var _PanelWithOutside__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./PanelWithOutside */ \"./src/page/web/base/Telephone/PanelWithOutside.js\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../../const */ \"./src/const.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! lodash */ \"../../node_modules/lodash/lodash.js\");\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_14__);\n\n\n\n\nvar _excluded = [\"children\", \"trigger\", \"defaultAlign\", \"onClose\", \"keepFocus\", \"onWindowKeyDown\", \"isFilterPanel\", \"panelAlign\"];\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); }\n\n\n\n\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\n\n\n\n\n\n/**\n  children - 面板包裹的元素\n  trigger - 触发器 确定面板位置信息\n  defaultAlign - 默认对齐方式\n  onClose - 面板关闭触发\n  onKeyDown - 事件监听\n  keepFocus - 是否保持面板获取焦点\n  panelAlign - 固定对齐方式，优先级高于defaultAlign\n */\nvar PanelWrapper = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_9__.forwardRef)(function (_ref, ref) {\n  var children = _ref.children,\n    trigger = _ref.trigger,\n    defaultAlign = _ref.defaultAlign,\n    onClose = _ref.onClose,\n    keepFocus = _ref.keepFocus,\n    onWindowKeyDown = _ref.onWindowKeyDown,\n    isFilterPanel = _ref.isFilterPanel,\n    panelAlign = _ref.panelAlign,\n    other = _objectWithoutProperties(_ref, _excluded);\n  var containRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  trigger && useCalcPosition(trigger, containRef, defaultAlign, other === null || other === void 0 ? void 0 : other.style, isFilterPanel, panelAlign);\n  var isContainTrigger = function isContainTrigger(e) {\n    return trigger && e && e.target && trigger.contains(e.target);\n  };\n  var isContainPanel = function isContainPanel(e) {\n    return containRef.current && (0,react_dom__WEBPACK_IMPORTED_MODULE_10__.findDOMNode)(containRef.current).contains(e.target);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useImperativeHandle)(ref, function () {\n    return {\n      calcPosition: function calcPosition() {\n        return _calcPosition(trigger, containRef.current, defaultAlign, other === null || other === void 0 ? void 0 : other.style, isFilterPanel, panelAlign);\n      }\n    };\n  });\n  var handleKeyDown = function handleKeyDown(e) {\n    switch (e.keyCode) {\n      case _const__WEBPACK_IMPORTED_MODULE_13__.KEYS.ESC:\n        onClose();\n        e.stopPropagation();\n        break;\n      default:\n        break;\n    }\n    onWindowKeyDown && onWindowKeyDown(e);\n  };\n\n  // 目前下拉列表和基础资料，resize时，更改为下拉面板不关闭，需要计算位置\n  var reCalcPosition = (0,lodash__WEBPACK_IMPORTED_MODULE_14__.debounce)(function () {\n    var _containRef$current;\n    (_containRef$current = containRef.current) === null || _containRef$current === void 0 || (_containRef$current = _containRef$current.children) === null || _containRef$current === void 0 || _containRef$current[0].style.removeProperty('max-height');\n    timer.current && clearTimeout(timer.current);\n    timer.current = setTimeout(function () {\n      // 防止去除max-height后，重新计算的高度不是渲染后的高度\n      containRef.current && _calcPosition(trigger, containRef.current, defaultAlign, other === null || other === void 0 ? void 0 : other.style, isFilterPanel, panelAlign);\n    }, 300);\n  }, 100);\n  useWindowEvents(function () {\n    return panelAlign ? reCalcPosition() : onClose();\n  }, ['resize']);\n  useWindowEvents(function (e) {\n    return !isContainPanel(e) && !isContainTrigger(e) && onClose(e);\n  }, ['scroll']);\n  useWindowEvents(handleKeyDown, ['keydown']);\n  useWindowEvents(function (e) {\n    return !isContainPanel(e) && !isContainTrigger(e) && onClose();\n  }, ['mousedown']);\n  children = react__WEBPACK_IMPORTED_MODULE_9__.Children.only(children);\n  if (keepFocus) {\n    var handleClose = function handleClose(type, e) {\n      !isContainTrigger(e) ? onClose() : containRef.current.focus();\n    };\n    var style = {};\n    return (\n      /*#__PURE__*/\n      // 用fixed 固定定位，在ie有滚动条的情况下，会出现页面一开始跳一下的bug\n      react__WEBPACK_IMPORTED_MODULE_9__.createElement(_PanelWithOutside__WEBPACK_IMPORTED_MODULE_12__[\"default\"], _extends({}, other, {\n        onCLickOutside: handleClose,\n        forwardRef: containRef,\n        style: Object.assign((other === null || other === void 0 ? void 0 : other.style) || {}, style)\n      }), children)\n    );\n  }\n  var handleMouseDown = function handleMouseDown(e) {\n    return e.preventDefault();\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9__.createElement(\"div\", {\n    style: {\n      position: 'absolute',\n      top: 0,\n      left: 0\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9__.createElement(\"div\", _extends({\n    tabIndex: \"-1\",\n    onMouseDown: handleMouseDown,\n    onClick: function onClick(e) {\n      return e.stopPropagation();\n    },\n    ref: containRef,\n    style: {\n      position: 'fixed',\n      visibility: 'hidden'\n    }\n  }, other), children));\n});\nfunction _calcPosition(triggerEl, panel, align, style, isFilterPanel, panelAlign) {\n  var _style$zIndex;\n  var _getPanelScreenByTrig = (0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_11__.getPanelScreenByTrigger)({\n      panel: panel.children[0],\n      trigger: triggerEl,\n      defaultAlign: align,\n      panelAlign: panelAlign\n    }),\n    top = _getPanelScreenByTrig.top,\n    left = _getPanelScreenByTrig.left,\n    realHeight = _getPanelScreenByTrig.realHeight;\n  panel.style.position = 'fixed';\n  panel.style.top = top + 'px';\n  panel.style.left = left + 'px';\n  panel.style.visibility = 'visible';\n  panel.style.zIndex = (_style$zIndex = style === null || style === void 0 ? void 0 : style.zIndex) !== null && _style$zIndex !== void 0 ? _style$zIndex : 1050; // 所有 z-index 不能超过1050\n  panel.children[0].style.width = triggerEl.offsetWidth + 'px';\n  if (!isFilterPanel) {\n    panel.style.transform = 'translateZ(0)';\n  }\n  return {\n    top: top,\n    left: left,\n    realHeight: realHeight\n  };\n}\nvar useCalcPosition = function useCalcPosition(trigger, containRef, algin, style, isFilterPanel, panelAlign) {\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useLayoutEffect)(function () {\n    if (containRef.current) {\n      var initVisibility = containRef.current.style.visibility;\n      // 保证在计算实际位置结果之前，面板都是隐藏的状态\n      // containRef中虽然有设置，但是可能被other.style覆盖样式\n      if (style) {\n        containRef.current.style.visibility = 'hidden';\n      }\n      return function () {\n        containRef.current.style.visibility = initVisibility;\n      };\n    }\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    containRef && containRef.current && _calcPosition(trigger, containRef.current, algin, style, isFilterPanel, panelAlign);\n    var config = {\n      childList: true,\n      subtree: true\n    };\n    var observer = new window.MutationObserver(function (mutations) {\n      mutations.forEach(function (mutation) {\n        _calcPosition(trigger, containRef.current, algin, style, isFilterPanel, panelAlign);\n      });\n    });\n    observer.observe(containRef.current, config);\n    return function () {\n      observer.disconnect();\n      observer = null;\n    };\n  }, []);\n};\nvar useWindowEvents = function useWindowEvents(func, evens) {\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    evens.forEach(function (event) {\n      return window.addEventListener(event, func, true);\n    });\n    return function () {\n      return evens.forEach(function (event) {\n        return window.removeEventListener(event, func, true);\n      });\n    };\n  }, []);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (PanelWrapper);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Telephone/PanelWrapper.js?");

/***/ }),

/***/ "./src/page/web/base/Telephone/ViaList.js":
/*!************************************************!*\
  !*** ./src/page/web/base/Telephone/ViaList.js ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __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_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _ViaListItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ViaListItem */ \"./src/page/web/base/Telephone/ViaListItem.js\");\n/* harmony import */ var _Telephone_less__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Telephone.less */ \"./src/page/web/base/Telephone/Telephone.less\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _img_warmming_png__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/img/warmming.png */ \"./src/img/warmming.png\");\n/* harmony import */ var _img_warmming_png__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_img_warmming_png__WEBPACK_IMPORTED_MODULE_8__);\n\n\n\n\n\n\n\n\n\n\n/**\n * @description via列表\n * @param {Object} props\n */\nfunction ViaList(props) {\n  var data = props.data,\n    selectIndex = props.selectIndex,\n    checkVia = props.checkVia;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"ul\", {\n    className: _Telephone_less__WEBPACK_IMPORTED_MODULE_5__[\"default\"]['search-ul']\n  }, data.length > 0 ? data.map(function (item, index) {\n    if (item.index) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"li\", {\n        className: _Telephone_less__WEBPACK_IMPORTED_MODULE_5__[\"default\"]['search-li'],\n        key: item.index,\n        style: {\n          pointerEvents: 'none',\n          fontWeight: 200\n        }\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null, item.index), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null));\n    }\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(_ViaListItem__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n      key: \"\".concat(item.name, \"_\").concat(item.id, \"_\").concat(index),\n      item: item,\n      isSelected: selectIndex === index,\n      checkVia: checkVia\n    });\n  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"li\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_7___default()('kd-cq-empty-description kd-cq-empty-telephone', _Telephone_less__WEBPACK_IMPORTED_MODULE_5__[\"default\"]['no-result-li'])\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"img\", {\n    src: (_img_warmming_png__WEBPACK_IMPORTED_MODULE_8___default())\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(\"span\", null, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('telephone.noResult'))));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (ViaList);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Telephone/ViaList.js?");

/***/ }),

/***/ "./src/page/web/base/Telephone/ViaListItem.js":
/*!****************************************************!*\
  !*** ./src/page/web/base/Telephone/ViaListItem.js ***!
  \****************************************************/
/***/ (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_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_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _Telephone_less__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./Telephone.less */ \"./src/page/web/base/Telephone/Telephone.less\");\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); }\n\n\n\n\n\n\n\n\n\n\n\n\n\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 * @description via列表项\n * @param {Object} props\n */\nfunction ViaListItem(props) {\n  var liRef = (0,react__WEBPACK_IMPORTED_MODULE_13__.useRef)(null);\n  var item = props.item,\n    checkVia = props.checkVia,\n    isSelected = props.isSelected;\n  (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(function () {\n    /**\n     * 如果为true，元素的顶端将和其所在滚动区的可视区域的顶端对齐\n     * 如果为false，元素的底端将和其所在滚动区的可视区域的底端对齐\n    */\n    if (!liRef.current || !isSelected) {\n      return;\n    }\n    // item所在面板需经过位置计算，这里稍微延后展示\n    window.requestAnimationFrame(function () {\n      liRef.current.scrollIntoView({\n        behavior: 'auto',\n        block: 'center'\n      });\n    });\n  }, [isSelected]);\n  var handleLiClick = function handleLiClick() {\n    checkVia(item);\n  };\n  var classLi = classnames__WEBPACK_IMPORTED_MODULE_14___default()(_Telephone_less__WEBPACK_IMPORTED_MODULE_15__[\"default\"]['search-li'], _defineProperty({}, _Telephone_less__WEBPACK_IMPORTED_MODULE_15__[\"default\"]['hover-bg'], isSelected));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13__.createElement(\"li\", {\n    ref: liRef,\n    key: \"\".concat(item.code2, \"_\").concat(item.id),\n    onClick: handleLiClick,\n    className: classLi\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13__.createElement(\"span\", null, item.name), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13__.createElement(\"span\", null, item.id));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (ViaListItem);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Telephone/ViaListItem.js?");

/***/ }),

/***/ "./src/page/web/base/Telephone/ViaListPanel.js":
/*!*****************************************************!*\
  !*** ./src/page/web/base/Telephone/ViaListPanel.js ***!
  \*****************************************************/
/***/ (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_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 core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _ViaList__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./ViaList */ \"./src/page/web/base/Telephone/ViaList.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _Telephone_less__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./Telephone.less */ \"./src/page/web/base/Telephone/Telephone.less\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _util_telephoneUtils__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../../util/telephoneUtils */ \"./src/util/telephoneUtils.js\");\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 _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\n\n\n\n\n\n\n\n\n\n\n\n\n\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; }\n\n\n\n\n\n\n\n/**\n * @description 手机号码via列表面板\n * @param {Object} props\n */\nfunction ViaListPanel(props) {\n  var viaList = props.viaList,\n    checkVia = props.checkVia,\n    index = props.index,\n    telInputRef = props.telInputRef;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(index),\n    _useState2 = _slicedToArray(_useState, 2),\n    selectIndex = _useState2[0],\n    setIndex = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(''),\n    _useState4 = _slicedToArray(_useState3, 2),\n    searchWord = _useState4[0],\n    setSearchWord = _useState4[1];\n  var searchInputRef = (0,react__WEBPACK_IMPORTED_MODULE_19__.useRef)(null);\n  var resultAry = (0,react__WEBPACK_IMPORTED_MODULE_19__.useMemo)(function () {\n    return (0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_24__.getEnableData)(searchWord, viaList);\n  });\n  var onKeyDown = function onKeyDown(e) {\n    /**\n     * 左：keyCode 37, key 'ArrowLeft'\n     * 右：keyCode 39, key 'ArrowRight'\n     * 上：keyCode 38, key 'ArrowUp'\n     * 下：keyCode 40, key 'ArrowDown'\n     * 回车键：keyCode 13, key 'Enter'\n     * ESC键：keyCode 27, key 'Escape'\n    */\n\n    if (resultAry.length) {\n      var keyCode = (0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_24__.getKeyCode)(e);\n      switch (keyCode) {\n        case 27:\n        case 9:\n          e.preventDefault();\n          if (selectIndex !== -1) {\n            checkVia(resultAry[selectIndex]);\n          }\n          break;\n        case 40:\n          e.stopPropagation();\n          // ‘下’方向键被按下，如果是第一次，则 序号设置为0，否则在原来的基础上加1，加到最后一个结果为止\n          if (selectIndex === -1) {\n            setIndex(0);\n          }\n          if (selectIndex < resultAry.length - 1) {\n            setIndex(selectIndex + 1);\n          } else {\n            setIndex(resultAry.length - 1);\n          }\n          break;\n        case 38:\n          e.stopPropagation();\n          // ‘上’方向键被按下，如果当前state中index为null或0，则什么都不做，否则将index减一\n          if (selectIndex !== -1 && selectIndex !== 0) {\n            setIndex(selectIndex - 1);\n          }\n          break;\n        case 13:\n          e.stopPropagation();\n          if (selectIndex !== -1) {\n            checkVia(resultAry[selectIndex]);\n          }\n          break;\n        default:\n          break;\n      }\n    }\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(function () {\n    searchInputRef.current && searchInputRef.current.focus();\n  }, []);\n  var search = function search(e) {\n    var searchWord = e.target.value;\n    setSearchWord(searchWord);\n    setIndex(-1);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(function () {\n    // 创建一个新的input时浏览器自动填充账号\n    setTimeout(function () {\n      telInputRef.current.readOnly = false;\n    }, 300);\n  }, []);\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(false),\n    _useState6 = _slicedToArray(_useState5, 2),\n    isFocus = _useState6[0],\n    setFocus = _useState6[1];\n  var handleFocus = function handleFocus() {\n    setFocus(true);\n  };\n  var handleBlur = function handleBlur() {\n    setFocus(false);\n  };\n  var searchCls = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty({}, _Telephone_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"]['search-input-div'], true), _Telephone_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].searchInputDivFocus, isFocus));\n  var searchIcon = classnames__WEBPACK_IMPORTED_MODULE_23___default()(_defineProperty(_defineProperty({}, _Telephone_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].searchIcon, true), _Telephone_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].searchIconFocus, isFocus));\n  return viaList.length > 0 ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"div\", {\n    className: searchCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"span\", {\n    className: searchIcon,\n    style: {\n      cursor: 'pointer'\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"input\", {\n    ref: searchInputRef,\n    className: classnames__WEBPACK_IMPORTED_MODULE_23___default()('kd-cq-input', _Telephone_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"]['search-input']),\n    placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_21__.getLangMsg)('telephone.searchPlaceholder'),\n    onChange: search,\n    onKeyDown: onKeyDown,\n    onBlur: handleBlur,\n    onFocus: handleFocus,\n    autoComplete: \"off\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(_ViaList__WEBPACK_IMPORTED_MODULE_20__[\"default\"], {\n    data: resultAry,\n    selectIndex: selectIndex,\n    checkVia: checkVia\n  })) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19__.createElement(\"span\", {\n    className: _Telephone_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"]['no-data-tip-class']\n  }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_21__.getLangMsg)('City.key0005'));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (ViaListPanel);\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Telephone/ViaListPanel.js?");

/***/ }),

/***/ "./src/page/web/base/Telephone/index.js":
/*!**********************************************!*\
  !*** ./src/page/web/base/Telephone/index.js ***!
  \**********************************************/
/***/ (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 */ Telephone; }\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_find_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.js\");\n/* harmony import */ var core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ \"../../node_modules/core-js/modules/es.array.reduce.js\");\n/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_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_es_string_trim_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_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 react_dom__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! react-dom */ \"../../node_modules/react-dom/index.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 _ViaListPanel__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ViaListPanel */ \"./src/page/web/base/Telephone/ViaListPanel.js\");\n/* harmony import */ var _PanelWrapper__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./PanelWrapper */ \"./src/page/web/base/Telephone/PanelWrapper.js\");\n/* harmony import */ var _Telephone_less__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./Telephone.less */ \"./src/page/web/base/Telephone/Telephone.less\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @/const.js */ \"./src/const.js\");\n/* harmony import */ var _util_telephoneUtils__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../../../util/telephoneUtils */ \"./src/util/telephoneUtils.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! @/store */ \"./src/store.js\");\n/* harmony import */ var _img_xiala_png__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @/img/xiala.png */ \"./src/img/xiala.png\");\n/* harmony import */ var _img_xiala_png__WEBPACK_IMPORTED_MODULE_35___default = /*#__PURE__*/__webpack_require__.n(_img_xiala_png__WEBPACK_IMPORTED_MODULE_35__);\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _api_service_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @/api/service.js */ \"./src/api/service.js\");\n/* harmony import */ var _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\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 _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); }\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; }\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\n\n\n\n\n\n\n\n\n\n\n\n\nvar delaultTelViaList = {\n  Z: {\n    id: '+86',\n    name: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_36__.getLangMsg)({\n      key: 'Designer.key046'\n    })\n  }\n};\nfunction Telephone(props) {\n  var defaultValue = props.defaultValue,\n    isFocusAccount = props.isFocusAccount,\n    onBlur = props.onBlur,\n    dataPipeModel = props.dataPipeModel,\n    name = props.name,\n    _props$telViaList = props.telViaList,\n    telViaList = _props$telViaList === void 0 ? delaultTelViaList : _props$telViaList,\n    defaultAreaCode = props.defaultAreaCode;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(false),\n    _useState2 = _slicedToArray(_useState, 2),\n    isFocus = _useState2[0],\n    setFocus = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(''),\n    _useState4 = _slicedToArray(_useState3, 2),\n    errorMsg = _useState4[0],\n    setErrorMsg = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(),\n    _useState6 = _slicedToArray(_useState5, 2),\n    value = _useState6[0],\n    setValue = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(),\n    _useState8 = _slicedToArray(_useState7, 2),\n    codeList = _useState8[0],\n    setCodeList = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(),\n    _useState10 = _slicedToArray(_useState9, 2),\n    currentCountry = _useState10[0],\n    setCurrentCountry = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(false),\n    _useState12 = _slicedToArray(_useState11, 2),\n    viaPanelShow = _useState12[0],\n    setViaPanelShow = _useState12[1]; // 显示选择号码via面板\n  var viaRef = (0,react__WEBPACK_IMPORTED_MODULE_26__.useRef)(null); // via的Input输入框关联DOM节点\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_26__.useRef)(null); // 手机号码输入框关联DOM节点\n  var rootRef = (0,react__WEBPACK_IMPORTED_MODULE_26__.useRef)(null); // 字段根节点\n  var isloadTelViaList = (0,react__WEBPACK_IMPORTED_MODULE_26__.useRef)();\n  var isEmpty = function isEmpty(str) {\n    return [undefined, null, ''].includes(str);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_26__.useEffect)(function () {\n    if (isFocusAccount) dataPipeModel.sendData({\n      type: 'FocusInput',\n      name: 'account'\n    });\n    var handleError = function handleError(_ref) {\n      var data = _ref.data;\n      setErrorMsg(data);\n      inputRef.current.focus();\n    };\n    var handleFocusEvent = function handleFocusEvent(data) {\n      if (data.name === name) inputRef.current.focus();\n    };\n    var showErrorHandle = dataPipeModel.registerCallback(\"\".concat(name, \"Error\"), handleError);\n    var focusInputHandle = dataPipeModel.registerCallback('FocusInput', handleFocusEvent);\n    return function () {\n      showErrorHandle();\n      focusInputHandle();\n    };\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_26__.useEffect)(function () {\n    var codeList = Object.keys(telViaList).reduce(function (total, key) {\n      return total.concat({\n        index: key\n      }).concat(telViaList[key]);\n    }, []);\n    setCodeList(codeList);\n    var value = inputRef.current.value;\n    if (isEmpty(value) && defaultValue || !isloadTelViaList.current) {\n      value = defaultValue;\n      setValue(value);\n      var id = value && value.split('-').length === 2 && value.split('-')[0] || defaultAreaCode;\n      var _currentCountry = (0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_33__.getCurrentCountry)(codeList, id);\n      setCurrentCountry(_currentCountry);\n      isloadTelViaList.current = codeList.length > 2;\n    }\n  }, [telViaList, defaultValue, defaultAreaCode]);\n  var checkVia = function checkVia(item) {\n    setCurrentCountry(item);\n    _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_38__.myLocalStorage.setItem((0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_38__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_32__.AREA_CODE), item.id);\n    var result = value ? \"\".concat(item.id, \"-\").concat((0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_33__.getValue)(value, currentCountry, codeList)) : value;\n    updateAccount(result);\n    closeViaPanel();\n    inputRef.current.focus();\n  };\n  var handleTeleChange = function handleTeleChange(e) {\n    var value = e.target.value.trim();\n    var result = value ? \"\".concat(currentCountry === null || currentCountry === void 0 ? void 0 : currentCountry.id, \"-\").concat(value) : value;\n    updateAccount(result);\n  };\n  var updateAccount = function updateAccount(value) {\n    setValue(value);\n    setErrorMsg('');\n    _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue(name, (0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_33__.filterTelephone)(value));\n    props.valueChange && props.valueChange();\n  };\n  var closeViaPanel = function closeViaPanel() {\n    inputRef.current.focus();\n    setFocus(true);\n    setViaPanelShow(false);\n  };\n  var openViaPanel = function openViaPanel() {\n    inputRef.current.readOnly = true;\n    setViaPanelShow(true);\n    setFocus(true);\n  };\n  var handleArrowClick = function handleArrowClick(e) {\n    e.stopPropagation();\n    viaPanelShow ? closeViaPanel() : openViaPanel();\n  };\n  var handleFocus = function handleFocus(e) {\n    e.target.select();\n  };\n  var handleKeyDown = function handleKeyDown(e) {\n    var _inputRef$current;\n    var keyCode = (0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_33__.getKeyCode)(e);\n    switch (keyCode) {\n      case _const__WEBPACK_IMPORTED_MODULE_32__.KEYS.ARROWDOWN:\n        e.preventDefault();\n        openViaPanel();\n        break;\n      case _const__WEBPACK_IMPORTED_MODULE_32__.KEYS.ENTER:\n        e.stopPropagation();\n        (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();\n        break;\n      default:\n        return;\n    }\n    props.onViaKeyDown && props.onViaKeyDown(e);\n  };\n  var handleBlur = function handleBlur(e) {\n    var useraccount = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account || _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].value || inputRef.current.value;\n    if (useraccount) {\n      setTimeout(function () {\n        _api_service_js__WEBPACK_IMPORTED_MODULE_37__.verifyPhoneNumber({\n          useraccount: useraccount\n        }).then(function (data) {\n          var error = {\n            message: data.msg || data.description,\n            level: 2\n          };\n          dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n        });\n      }, 0);\n    }\n    setFocus(false);\n    onBlur && onBlur();\n  };\n  var renderViaPanel = function renderViaPanel() {\n    var rootEle = rootRef.current;\n    var index = codeList.findIndex(function (value) {\n      return (currentCountry === null || currentCountry === void 0 ? void 0 : currentCountry.id) === value.id && (currentCountry === null || currentCountry === void 0 ? void 0 : currentCountry.name) === value.name;\n    });\n    return /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_27__.createPortal)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_PanelWrapper__WEBPACK_IMPORTED_MODULE_30__[\"default\"], {\n      trigger: rootEle,\n      keepFocus: true,\n      onClose: closeViaPanel\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_28___default()(_Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"]['search-panel'], _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"]['panel-drop-down-animation'])\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_ViaListPanel__WEBPACK_IMPORTED_MODULE_29__[\"default\"], {\n      index: index,\n      viaList: codeList,\n      checkVia: checkVia,\n      telInputRef: inputRef\n    }))), document.body);\n  };\n  var _value = (0,_util_telephoneUtils__WEBPACK_IMPORTED_MODULE_33__.getValue)(value, currentCountry, codeList);\n  var contentClass = classnames__WEBPACK_IMPORTED_MODULE_28___default()(_defineProperty(_defineProperty(_defineProperty({}, _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].content, true), _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].inputFocus, isFocus), _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].inputError, errorMsg !== ''));\n  var accIconClass = classnames__WEBPACK_IMPORTED_MODULE_28___default()(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].icon, true), _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].accIcon, true), _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].accIconFocus, isFocus), _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].accIconError, errorMsg !== ''));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].container,\n    ref: rootRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].errorMsg\n  }, errorMsg), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: contentClass\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"span\", {\n    className: accIconClass\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].via,\n    ref: viaRef,\n    onClick: openViaPanel\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"input\", {\n    readOnly: true,\n    value: currentCountry === null || currentCountry === void 0 ? void 0 : currentCountry.id,\n    onFocus: handleFocus,\n    onKeyDown: handleKeyDown\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"img\", {\n    className: _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].img,\n    style: viaPanelShow ? {\n      transform: 'rotate(180deg)'\n    } : {\n      transform: 'rotate(0deg)'\n    },\n    src: (_img_xiala_png__WEBPACK_IMPORTED_MODULE_35___default()),\n    onClick: handleArrowClick\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"input\", {\n    className: _Telephone_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].telInput,\n    ref: inputRef,\n    onFocus: closeViaPanel,\n    type: \"tel\",\n    value: _value,\n    autoComplete: \"off\",\n    onBlur: handleBlur,\n    onChange: handleTeleChange,\n    placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_36__.getLangMsg)('login.key211')\n  })), viaPanelShow ? renderViaPanel() : null);\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/Telephone/index.js?");

/***/ }),

/***/ "./src/page/web/base/WaterMark.jsx":
/*!*****************************************!*\
  !*** ./src/page/web/base/WaterMark.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 */ WaterMark; },\n/* harmony export */   getPageWaterMark: function() { return /* binding */ getPageWaterMark; }\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_array_from_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.js\");\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _WaterMark_less__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./WaterMark.less */ \"./src/page/web/base/WaterMark.less\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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; }\n\n\nfunction WaterMark(props) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(),\n    _useState2 = _slicedToArray(_useState, 2),\n    imageUrl = _useState2[0],\n    setImageUrl = _useState2[1];\n  var type = props.type,\n    text = props.text,\n    logo = props.logo,\n    globalAlpha = props.globalAlpha,\n    angle = props.angle,\n    color = props.color,\n    fontSize = props.fontSize,\n    fontFamily = props.fontFamily,\n    zIndex = props.zIndex;\n  (0,react__WEBPACK_IMPORTED_MODULE_16__.useEffect)(function () {\n    getPageWaterMark(type, {\n      text: text,\n      logo: logo,\n      globalAlpha: globalAlpha,\n      angle: angle,\n      color: color,\n      fontSize: fontSize,\n      fontFamily: fontFamily\n    }).then(function (base64Url) {\n      setImageUrl(base64Url);\n    });\n  }, [type, text, logo, globalAlpha, angle, color, fontSize, fontFamily]);\n  return imageUrl ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"div\", {\n    className: _WaterMark_less__WEBPACK_IMPORTED_MODULE_17__[\"default\"].waterMark,\n    style: {\n      background: \"url(\".concat(imageUrl, \")\"),\n      zIndex: zIndex\n    }\n  }) : null;\n}\n\n/**\n * 获取页面水印图片\n * @param {String} type 水印类型\n * @param {Object} object text:水印内容 logo:水印图片\n * @param {Object} options globalAlpha:透明度 angle:旋转角度 color:字体颜色 fontSize:字体大小 fontFamily:字体类型\n * @returns {Promise} 参数是图片的base64Url\n */\nfunction getPageWaterMark() {\n  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'text';\n  var options = arguments.length > 1 ? arguments[1] : undefined;\n  var previewRect = arguments.length > 2 ? arguments[2] : undefined;\n  var _options$globalAlpha = options.globalAlpha,\n    globalAlpha = _options$globalAlpha === void 0 ? 10 : _options$globalAlpha,\n    _options$angle = options.angle,\n    angle = _options$angle === void 0 ? -10 : _options$angle,\n    _options$color = options.color,\n    color = _options$color === void 0 ? '#333' : _options$color,\n    _options$fontSize = options.fontSize,\n    fontSize = _options$fontSize === void 0 ? '12px' : _options$fontSize,\n    _options$fontFamily = options.fontFamily,\n    fontFamily = _options$fontFamily === void 0 ? 'Microsoft YaHei' : _options$fontFamily,\n    text = options.text;\n  var canvas = document.createElement('canvas');\n  canvas.setAttribute('width', 440);\n  canvas.setAttribute('height', 120);\n  var ctx = canvas.getContext('2d');\n  ctx.textBaseline = 'top';\n  if (previewRect) {\n    var width = previewRect.width,\n      height = previewRect.height;\n    ctx.fillStyle = '#ffffff';\n    ctx.fillRect(0, 0, parseInt(width), parseInt(height));\n  }\n  ctx.font = fontSize + ' ' + fontFamily;\n  ctx.globalAlpha = globalAlpha / 100;\n  ctx.rotate(angle * Math.PI / 180);\n  ctx.fillStyle = color;\n  var base64Url;\n  var img = new window.Image();\n  img.crossOrigin = 'anonymous';\n  var x1 = 0;\n  var y1 = 30;\n  var x2 = 220;\n  var y2 = 90;\n  return new Promise(function (resolve, reject) {\n    switch (type) {\n      case 'text':\n        {\n          ctx.fillText(text, x1, y1);\n          ctx.fillText(text, x2, y2);\n          base64Url = canvas.toDataURL();\n          resolve(base64Url);\n          break;\n        }\n    }\n  });\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/WaterMark.jsx?");

/***/ }),

/***/ "./src/page/web/base/index.js":
/*!************************************!*\
  !*** ./src/page/web/base/index.js ***!
  \************************************/
/***/ (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 */   Button: function() { return /* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; },\n/* harmony export */   CheckBox: function() { return /* reexport safe */ _CheckBox__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */   DropdownList: function() { return /* reexport safe */ _DropdownList__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; },\n/* harmony export */   Footer: function() { return /* reexport safe */ _Footer__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; },\n/* harmony export */   HyperLink: function() { return /* reexport safe */ _HyperLink__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; },\n/* harmony export */   Input: function() { return /* reexport safe */ _Input__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; },\n/* harmony export */   LangSelect: function() { return /* reexport safe */ _LangSelect__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; },\n/* harmony export */   LicenseBar: function() { return /* reexport safe */ _LicenseBar__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; },\n/* harmony export */   Notification: function() { return /* reexport safe */ _Notification__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; },\n/* harmony export */   OfflinePrompt: function() { return /* reexport safe */ _OfflinePrompt__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Button */ \"./src/page/web/base/Button.jsx\");\n/* harmony import */ var _CheckBox__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./CheckBox */ \"./src/page/web/base/CheckBox.jsx\");\n/* harmony import */ var _DropdownList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DropdownList */ \"./src/page/web/base/DropdownList.jsx\");\n/* harmony import */ var _HyperLink__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./HyperLink */ \"./src/page/web/base/HyperLink.jsx\");\n/* harmony import */ var _Input__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Input */ \"./src/page/web/base/Input.jsx\");\n/* harmony import */ var _Notification__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Notification */ \"./src/page/web/base/Notification.jsx\");\n/* harmony import */ var _OfflinePrompt__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./OfflinePrompt */ \"./src/page/web/base/OfflinePrompt.jsx\");\n/* harmony import */ var _LicenseBar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./LicenseBar */ \"./src/page/web/base/LicenseBar.jsx\");\n/* harmony import */ var _LangSelect__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./LangSelect */ \"./src/page/web/base/LangSelect.jsx\");\n/* harmony import */ var _Footer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Footer */ \"./src/page/web/base/Footer.jsx\");\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://kd-login/./src/page/web/base/index.js?");

/***/ }),

/***/ "./src/page/web/common/AiLoginWrapper.jsx":
/*!************************************************!*\
  !*** ./src/page/web/common/AiLoginWrapper.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_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./AiLoginWrapper.less */ \"./src/page/web/common/AiLoginWrapper.less\");\n/* harmony import */ var _LoginType__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./LoginType */ \"./src/page/web/common/LoginType.jsx\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../const */ \"./src/const.js\");\n/* harmony import */ var _i18n_imageMap__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../../i18n/imageMap */ \"./src/i18n/imageMap.js\");\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); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 _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 _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return 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 _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\nvar AiLoginWrapper = /*#__PURE__*/function (_Component) {\n  _inherits(AiLoginWrapper, _Component);\n  function AiLoginWrapper() {\n    _classCallCheck(this, AiLoginWrapper);\n    return _callSuper(this, AiLoginWrapper, arguments);\n  }\n  _createClass(AiLoginWrapper, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        selectType = _this$props.selectType,\n        loginStatus = _this$props.loginStatus,\n        currentLang = _this$props.currentLang,\n        userSourceType = _this$props.userSourceType,\n        dataPipeModel = _this$props.dataPipeModel;\n      var isSuccess = loginStatus === _const__WEBPACK_IMPORTED_MODULE_20__.SUCCESS;\n      var headerClass = classnames__WEBPACK_IMPORTED_MODULE_17___default()(_defineProperty(_defineProperty({}, _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].header, true), _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].hide, isSuccess));\n      var centerClass = classnames__WEBPACK_IMPORTED_MODULE_17___default()(_defineProperty(_defineProperty({}, _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].center, true), _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].hide, isSuccess));\n      var footerClass = classnames__WEBPACK_IMPORTED_MODULE_17___default()(_defineProperty(_defineProperty({}, _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].footer, true), _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].hide, isSuccess));\n      var sucessClass = classnames__WEBPACK_IMPORTED_MODULE_17___default()(_defineProperty({}, _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].success, isSuccess));\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"div\", {\n        className: _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].container\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"div\", {\n        className: _AiLoginWrapper_less__WEBPACK_IMPORTED_MODULE_18__[\"default\"].mask\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"div\", {\n        className: headerClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"img\", {\n        src: _i18n_imageMap__WEBPACK_IMPORTED_MODULE_21__.whiteLogo[currentLang] || _i18n_imageMap__WEBPACK_IMPORTED_MODULE_21__.whiteLogo.zh_CN\n      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"div\", {\n        className: centerClass\n      }, this.props.children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"div\", {\n        className: footerClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(_LoginType__WEBPACK_IMPORTED_MODULE_19__[\"default\"], {\n        selectType: selectType,\n        userSourceType: userSourceType,\n        dataPipeModel: dataPipeModel\n      }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16__.createElement(\"div\", {\n        className: sucessClass\n      }));\n    }\n  }]);\n  return AiLoginWrapper;\n}(react__WEBPACK_IMPORTED_MODULE_16__.Component);\n/* harmony default export */ __webpack_exports__[\"default\"] = (AiLoginWrapper);\n\n//# sourceURL=webpack://kd-login/./src/page/web/common/AiLoginWrapper.jsx?");

/***/ }),

/***/ "./src/page/web/common/LoginType.jsx":
/*!*******************************************!*\
  !*** ./src/page/web/common/LoginType.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_includes_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_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_property_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _LoginType_less__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./LoginType.less */ \"./src/page/web/common/LoginType.less\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _img_face_logo_png__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../img/face-logo.png */ \"./src/img/face-logo.png\");\n/* harmony import */ var _img_face_logo_png__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(_img_face_logo_png__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var _img_face_logo_gray_png__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../../img/face-logo-gray.png */ \"./src/img/face-logo-gray.png\");\n/* harmony import */ var _img_face_logo_gray_png__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_img_face_logo_gray_png__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var _img_voice_logo_png__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../../img/voice-logo.png */ \"./src/img/voice-logo.png\");\n/* harmony import */ var _img_voice_logo_png__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(_img_voice_logo_png__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var _img_voice_logo_gray_png__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../../img/voice-logo-gray.png */ \"./src/img/voice-logo-gray.png\");\n/* harmony import */ var _img_voice_logo_gray_png__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(_img_voice_logo_gray_png__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var _img_WeChat_logo_png__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../../img/WeChat-logo.png */ \"./src/img/WeChat-logo.png\");\n/* harmony import */ var _img_WeChat_logo_png__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(_img_WeChat_logo_png__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var _img_WeChat_logo_gray_png__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../../img/WeChat-logo-gray.png */ \"./src/img/WeChat-logo-gray.png\");\n/* harmony import */ var _img_WeChat_logo_gray_png__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(_img_WeChat_logo_gray_png__WEBPACK_IMPORTED_MODULE_29__);\n/* harmony import */ var _img_cloudHub_logo_png__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @/img/cloudHub-logo.png */ \"./src/img/cloudHub-logo.png\");\n/* harmony import */ var _img_cloudHub_logo_png__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(_img_cloudHub_logo_png__WEBPACK_IMPORTED_MODULE_30__);\n/* harmony import */ var _img_cloudHub_logo_gray_png__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @/img/cloudHub-logo-gray.png */ \"./src/img/cloudHub-logo-gray.png\");\n/* harmony import */ var _img_cloudHub_logo_gray_png__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(_img_cloudHub_logo_gray_png__WEBPACK_IMPORTED_MODULE_31__);\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 _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); }\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); }\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// import eventBus from '../../../eventBus'\n\n\n\n\n\n\n\n\n\nfunction LoginType(props) {\n  var selectType = props.selectType,\n    _props$userSourceType = props.userSourceType,\n    UST = _props$userSourceType === void 0 ? [] : _props$userSourceType;\n  var userSourceType = UST.filter(function (type) {\n    return type !== 7;\n  });\n  var showIcon = userSourceType.find(function (type) {\n    return type === 0 || type === 6 || type === 4 || type === 5;\n  }) !== undefined && userSourceType.length > 1;\n\n  // 找回密码页面、激活页面、只剩一种登录方式时，隐藏所有图标内容\n  if (selectType === 'findPassword' || selectType === 'activeUser' || selectType === 'demo' || !showIcon) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n      className: _LoginType_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].loginMode\n    });\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n    className: _LoginType_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].loginMode,\n    id: \"login_mode\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n    className: _LoginType_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].modeText\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n    className: _LoginType_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].line,\n    style: {\n      margin: '0 12px 0 32px'\n    }\n  }), (userSourceType.includes(0) || userSourceType.includes(1)) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(Icon, _extends({\n    title: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_23__.getLangMsg)('login.key011'),\n    iconSrc: (_img_cloudHub_logo_png__WEBPACK_IMPORTED_MODULE_30___default()),\n    iconGraySrc: (_img_cloudHub_logo_gray_png__WEBPACK_IMPORTED_MODULE_31___default()),\n    type: \"cloudHub\"\n  }, props)), userSourceType.includes(6) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(Icon, _extends({\n    title: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_23__.getLangMsg)('login.key088'),\n    iconSrc: (_img_WeChat_logo_png__WEBPACK_IMPORTED_MODULE_28___default()),\n    iconGraySrc: (_img_WeChat_logo_gray_png__WEBPACK_IMPORTED_MODULE_29___default()),\n    type: \"WeChat\"\n  }, props)), userSourceType.includes(4) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(Icon, _extends({\n    title: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_23__.getLangMsg)('login.key012'),\n    iconSrc: (_img_face_logo_png__WEBPACK_IMPORTED_MODULE_24___default()),\n    iconGraySrc: (_img_face_logo_gray_png__WEBPACK_IMPORTED_MODULE_25___default()),\n    type: \"face\"\n  }, props)), userSourceType.includes(5) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(Icon, _extends({\n    title: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_23__.getLangMsg)('login.key013'),\n    iconSrc: (_img_voice_logo_png__WEBPACK_IMPORTED_MODULE_26___default()),\n    iconGraySrc: (_img_voice_logo_gray_png__WEBPACK_IMPORTED_MODULE_27___default()),\n    type: \"voice\"\n  }, props)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"div\", {\n    className: _LoginType_less__WEBPACK_IMPORTED_MODULE_22__[\"default\"].line,\n    style: {\n      margin: '0 32px 0 0'\n    }\n  })));\n}\nvar Icon = /*#__PURE__*/function (_Component) {\n  _inherits(Icon, _Component);\n  function Icon(props) {\n    var _this;\n    _classCallCheck(this, Icon);\n    _this = _callSuper(this, Icon, [props]);\n    _this.state = {\n      ishover: false\n    };\n    _this.handleMouseOver = _this.handleMouseOver.bind(_assertThisInitialized(_this));\n    _this.handleMouseOut = _this.handleMouseOut.bind(_assertThisInitialized(_this));\n    _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(Icon, [{\n    key: \"handleMouseOver\",\n    value: function handleMouseOver() {\n      this.setState({\n        ishover: true\n      });\n    }\n  }, {\n    key: \"handleMouseOut\",\n    value: function handleMouseOut() {\n      this.setState({\n        ishover: false\n      });\n    }\n  }, {\n    key: \"handleClick\",\n    value: function handleClick() {\n      var type = this.props.type;\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: 'usernamepsw'\n      });\n      window.location.hash = type;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        title = _this$props.title,\n        iconSrc = _this$props.iconSrc,\n        iconGraySrc = _this$props.iconGraySrc,\n        selectType = _this$props.selectType,\n        type = _this$props.type;\n      var ishover = this.state.ishover;\n      var isSelect = selectType === type;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_21__.createElement(\"img\", {\n        src: isSelect || ishover ? iconSrc : iconGraySrc,\n        title: title,\n        onMouseOver: this.handleMouseOver,\n        onMouseOut: this.handleMouseOut,\n        onClick: this.handleClick,\n        draggable: \"false\"\n      });\n    }\n  }]);\n  return Icon;\n}(react__WEBPACK_IMPORTED_MODULE_21__.Component);\n/* harmony default export */ __webpack_exports__[\"default\"] = (LoginType);\n\n//# sourceURL=webpack://kd-login/./src/page/web/common/LoginType.jsx?");

/***/ }),

/***/ "./src/page/web/common/LoginWrapper.jsx":
/*!**********************************************!*\
  !*** ./src/page/web/common/LoginWrapper.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_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_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_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_array_map_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_11__ = __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_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_12__ = __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_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__ = __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_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __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_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_18__ = __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_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_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_es_string_split_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ \"../../node_modules/core-js/modules/es.string.split.js\");\n/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.string.link.js */ \"../../node_modules/core-js/modules/es.string.link.js\");\n/* harmony import */ var core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_link_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_25__ = __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_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_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 classnames__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./LoginWrapper.less */ \"./src/page/web/common/LoginWrapper.less\");\n/* harmony import */ var _LoginType__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./LoginType */ \"./src/page/web/common/LoginType.jsx\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../base */ \"./src/page/web/base/index.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../../store */ \"./src/store.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _page_web_base_WaterMark_jsx__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! @/page/web/base/WaterMark.jsx */ \"./src/page/web/base/WaterMark.jsx\");\n/* harmony import */ var _img_banner_zh_jpg__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @/img/banner-zh.jpg */ \"./src/img/banner-zh.jpg\");\n/* harmony import */ var _img_banner_zh_jpg__WEBPACK_IMPORTED_MODULE_35___default = /*#__PURE__*/__webpack_require__.n(_img_banner_zh_jpg__WEBPACK_IMPORTED_MODULE_35__);\n/* harmony import */ var _img_banner_en_jpg__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @/img/banner-en.jpg */ \"./src/img/banner-en.jpg\");\n/* harmony import */ var _img_banner_en_jpg__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(_img_banner_en_jpg__WEBPACK_IMPORTED_MODULE_36__);\n/* harmony import */ var _img_logoEnUs_png__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @/img/logoEnUs.png */ \"./src/img/logoEnUs.png\");\n/* harmony import */ var _img_logoEnUs_png__WEBPACK_IMPORTED_MODULE_37___default = /*#__PURE__*/__webpack_require__.n(_img_logoEnUs_png__WEBPACK_IMPORTED_MODULE_37__);\n/* harmony import */ var _img_logoZhCn_png__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @/img/logoZhCn.png */ \"./src/img/logoZhCn.png\");\n/* harmony import */ var _img_logoZhCn_png__WEBPACK_IMPORTED_MODULE_38___default = /*#__PURE__*/__webpack_require__.n(_img_logoZhCn_png__WEBPACK_IMPORTED_MODULE_38__);\n/* harmony import */ var _img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! @/img/icons/beian1.png */ \"./src/img/icons/beian1.png\");\n/* harmony import */ var _img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_39___default = /*#__PURE__*/__webpack_require__.n(_img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_39__);\n/* harmony import */ var _img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! @/img/icons/beian2.png */ \"./src/img/icons/beian2.png\");\n/* harmony import */ var _img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_40___default = /*#__PURE__*/__webpack_require__.n(_img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_40__);\n/* harmony import */ var _util_dataUtil__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! @/util/dataUtil */ \"./src/util/dataUtil.js\");\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; }\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 _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\n\n\n\n\n\n\n\n\n\n\nfunction LoginWrapper(props) {\n  var selectType = props.selectType,\n    configuration = props.configuration,\n    currentLang = props.currentLang,\n    userSourceType = props.userSourceType,\n    languages = props.languages,\n    handleChangeLang = props.handleChangeLang,\n    changeLang = props.changeLang;\n  var linkdata = configuration.linkdata;\n  var sloganh1Class = classnames__WEBPACK_IMPORTED_MODULE_27___default()(_defineProperty({}, _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].sloganh1, true));\n  var sloganh2Class = classnames__WEBPACK_IMPORTED_MODULE_27___default()(_defineProperty({}, _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].sloganh2, true));\n  var showSlogan = false;\n  var bgStyle;\n  var formPartCenter;\n  if (!window.loginAfterLoad || !window.loginAfterLoad('imgPart')) {\n    var multilingualBgImg = (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_41__.getMultilinguaText)(configuration.bgimg, currentLang);\n    var bgImage = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_33__.getImgFullPath)(multilingualBgImg) || (_store__WEBPACK_IMPORTED_MODULE_31__[\"default\"].isCompleteLoadConfig && !currentLang.includes('zh') ? (_img_banner_en_jpg__WEBPACK_IMPORTED_MODULE_36___default()) : (_img_banner_zh_jpg__WEBPACK_IMPORTED_MODULE_35___default()));\n    bgStyle = bgImage ? {\n      backgroundImage: \"url(\".concat(bgImage, \")\")\n    } : {};\n    showSlogan = !multilingualBgImg;\n    if (document.body.offsetWidth < 1080) {\n      formPartCenter = true;\n    }\n  }\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(formPartCenter),\n    _useState2 = _slicedToArray(_useState, 2),\n    imgPartHide = _useState2[0],\n    setImgPartHide = _useState2[1];\n  var changeBgStyle = function changeBgStyle() {\n    if (!window.loginAfterLoad || !window.loginAfterLoad('logo')) {\n      if (document.body.offsetWidth < 1080) {\n        setImgPartHide(true);\n      } else {\n        setImgPartHide(false);\n      }\n    }\n  };\n  var logoStyle = null;\n  if (!window.loginAfterLoad || !window.loginAfterLoad('logo')) {\n    var logoImg;\n    if (currentLang === 'zh_TW' || currentLang === 'zh_CN') {\n      logoImg = (_img_logoZhCn_png__WEBPACK_IMPORTED_MODULE_38___default());\n    } else {\n      logoImg = (_img_logoEnUs_png__WEBPACK_IMPORTED_MODULE_37___default());\n    }\n    var multilingualLogoImg = (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_41__.getMultilinguaText)(configuration === null || configuration === void 0 ? void 0 : configuration.logoimg, currentLang);\n    var backgroundImage = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_33__.getImgFullPath)(multilingualLogoImg) || _store__WEBPACK_IMPORTED_MODULE_31__[\"default\"].isCompleteLoadConfig && logoImg;\n    logoStyle = {\n      width: '100%',\n      height: 47,\n      backgroundPosition: 'center',\n      backgroundRepeat: 'no-repeat',\n      backgroundSize: 'auto 100%'\n    };\n    backgroundImage && Object.assign(logoStyle, {\n      backgroundImage: \"url(\".concat(backgroundImage, \")\")\n    });\n  }\n  (0,react__WEBPACK_IMPORTED_MODULE_26__.useEffect)(function () {\n    try {\n      window.loginAfterLoad && window.loginAfterLoad('imgPart') && window.loginAfterLoad('imgPart')();\n      window.loginAfterLoad && window.loginAfterLoad('logo') && window.loginAfterLoad('logo')();\n    } catch (error) {\n      console.log(error);\n    }\n  }, []);\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)(''),\n    _useState4 = _slicedToArray(_useState3, 2),\n    licenseType = _useState4[0],\n    setLicenseType = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_26__.useEffect)(function () {\n    if (!licenseType) {\n      var text = configuration.licenseType;\n      if (text) {\n        // 临时许可\n        setLicenseType(text);\n      }\n    }\n  }, [configuration.licenseType]);\n  (0,react__WEBPACK_IMPORTED_MODULE_26__.useEffect)(function () {\n    window.addEventListener('resize', (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_33__.debounce)(changeBgStyle, 30));\n  }, []);\n  var imgPartStyle = classnames__WEBPACK_IMPORTED_MODULE_27___default()(_defineProperty(_defineProperty({}, _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].imgPart, true), _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].imgPartHide, imgPartHide));\n  var formPartStyle = classnames__WEBPACK_IMPORTED_MODULE_27___default()(_defineProperty(_defineProperty({}, _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].formPart, true), _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].formPartCenter, imgPartHide));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].container\n  }, licenseType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_page_web_base_WaterMark_jsx__WEBPACK_IMPORTED_MODULE_34__[\"default\"], {\n    type: \"text\",\n    text: licenseType,\n    globalAlpha: 10,\n    angle: -10,\n    color: \"#212121\",\n    fontSize: \"18px\",\n    zIndex: \"999\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: imgPartStyle,\n    style: bgStyle,\n    id: \"imgPart\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: formPartStyle,\n    id: \"formPart\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.LicenseBar, {\n    currentAccountId: props.currentAccountId,\n    dataPipeModel: props.dataPipeModel\n  }), ['kingdeeCloud', 'demo', 'WeChat', 'shortMessage'].indexOf(selectType) >= 0 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.LangSelect, {\n    dataPipeModel: props.dataPipeModel,\n    languages: languages,\n    currentLang: currentLang,\n    changeLang: changeLang,\n    onItemClick: handleChangeLang\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].logo\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    style: logoStyle,\n    id: \"logo\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].content,\n    id: \"content\"\n  }, props.children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(_LoginType__WEBPACK_IMPORTED_MODULE_29__[\"default\"], {\n    selectType: selectType,\n    userSourceType: userSourceType,\n    dataPipeModel: props.dataPipeModel\n  }), (selectType === 'kingdeeCloud' || selectType === 'demo') && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(LinksBox, {\n    currentLang: currentLang,\n    currentAccountId: props.currentAccountId,\n    configuration: configuration,\n    data: linkdata,\n    dataPipeModel: props.dataPipeModel\n  })));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (LoginWrapper);\nfunction LinksBox(props) {\n  var _props$data = props.data,\n    data = _props$data === void 0 ? [] : _props$data,\n    _props$configuration = props.configuration,\n    configuration = _props$configuration === void 0 ? {} : _props$configuration,\n    currentAccountId = props.currentAccountId,\n    currentLang = props.currentLang;\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_26__.useState)([]),\n    _useState6 = _slicedToArray(_useState5, 2),\n    customBox = _useState6[0],\n    setCustomBox = _useState6[1];\n  var showpolicy = configuration.showpolicy,\n    policylink = configuration.policylink;\n  var internetRecordNumber = (0,react__WEBPACK_IMPORTED_MODULE_26__.useRef)([[{\n    type: 'A',\n    url: 'https://cloud.kingdee.com/passport/#/policy-agree/client-kd',\n    value: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_32__.getLangMsg)('login.key083')\n  }, {\n    type: 'SPLIT'\n  }, {\n    type: 'A',\n    url: 'https://cloud.kingdee.com/passport/#/policy-agree/privacy-policy',\n    value: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_32__.getLangMsg)('login.key084')\n  }], [{\n    type: 'ICON',\n    url: (_img_icons_beian1_png__WEBPACK_IMPORTED_MODULE_39___default())\n  }, {\n    type: 'ICON',\n    url: (_img_icons_beian2_png__WEBPACK_IMPORTED_MODULE_40___default())\n  }, {\n    type: 'A',\n    url: 'https://beian.miit.gov.cn/#/Integrated/index',\n    value: '粤ICP备05041751号'\n  }, {\n    type: 'A',\n    url: 'http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030502005006',\n    value: '粤公网安备 44030502005006号'\n  }]]);\n  (0,react__WEBPACK_IMPORTED_MODULE_26__.useEffect)(function () {\n    showpolicy && showpolicy !== 'false' && setCustomBox(policylink || internetRecordNumber.current);\n  }, [currentAccountId, policylink, showpolicy, currentLang, internetRecordNumber.current]);\n  (0,react__WEBPACK_IMPORTED_MODULE_26__.useEffect)(function () {\n    try {\n      window.loginAfterLoad && window.loginAfterLoad('linksBox') && window.loginAfterLoad('linksBox')();\n    } catch (error) {\n      console.log(error);\n    }\n  }, []);\n  if (typeof data === 'string') data = JSON.parse(data);\n  var linksBoxClass = classnames__WEBPACK_IMPORTED_MODULE_27___default()(_defineProperty(_defineProperty({}, _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].linksBox, true), _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].linksBox2, data.length <= 3));\n  var aClass = classnames__WEBPACK_IMPORTED_MODULE_27___default()(_defineProperty(_defineProperty({}, _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].a, true), _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].a2, data.length <= 3));\n  var links = data.map(function (item, index) {\n    var linkName = item.linkname,\n      muliLangLinkName = item.mulilanglinkname,\n      linkurl = item.linkurl;\n    var link = (muliLangLinkName === null || muliLangLinkName === void 0 ? void 0 : muliLangLinkName[currentLang]) || linkName;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"a\", {\n      className: aClass,\n      key: index,\n      href: linkurl,\n      target: \"_blank\"\n    }, link);\n  });\n  if (window.loginAfterLoad && window.loginAfterLoad('linksBox')) {\n    links = null;\n  }\n  var footer = (0,react__WEBPACK_IMPORTED_MODULE_26__.useMemo)(function () {\n    return customBox.map(function (rows, i) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(Rows, {\n        key: i,\n        rows: rows,\n        lang: props.currentLang\n      });\n    });\n  }, [customBox, props.currentLang, currentAccountId]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: linksBoxClass,\n    id: \"linksBox\"\n  }, links, (customBox === null || customBox === void 0 ? void 0 : customBox.length) > 0 && footer);\n}\nfunction Rows(props) {\n  var rows = props.rows,\n    lang = props.lang;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n    className: _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].customRange\n  }, rows.map(function (item, i) {\n    var _item$key = item.key,\n      key = _item$key === void 0 ? i : _item$key,\n      url = item.url;\n    var value = (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_41__.getMultilinguaText)(item.value, lang);\n    switch (item.type) {\n      case 'A':\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"a\", {\n          className: _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].link,\n          id: \"custom_range_\".concat(key),\n          key: key,\n          href: url,\n          rel: \"noreferrer\",\n          target: \"_blank\"\n        }, value);\n      case 'ICON':\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"img\", {\n          className: _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].img,\n          id: \"custom_range_\".concat(key),\n          key: key,\n          src: url\n        });\n      case 'SPLIT':\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"div\", {\n          className: _LoginWrapper_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].split,\n          id: \"custom_range_\".concat(key),\n          key: key\n        });\n      default:\n        return null;\n    }\n  }));\n}\n\n//# sourceURL=webpack://kd-login/./src/page/web/common/LoginWrapper.jsx?");

/***/ })

}]);