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

/***/ "./src/page/web/Voice.less":
/*!*********************************!*\
  !*** ./src/page/web/Voice.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\":\"Voice_container_3BN7\",\"content\":\"Voice_content_3Mv-\",\"block\":\"Voice_block_2lQ-\",\"numView\":\"Voice_numView_3NVc\",\"progress\":\"Voice_progress_1gZK\",\"val\":\"Voice_val_936P\",\"showProgress\":\"Voice_showProgress_3McR\",\"info\":\"Voice_info_b_vg\",\"showInfo\":\"Voice_showInfo_rbn1\",\"siriWave\":\"Voice_siriWave_DpcE\",\"showSiriWave\":\"Voice_showSiriWave_1rRh\",\"hide\":\"Voice_hide_1n0o\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/Voice.less?");

/***/ }),

/***/ "./src/page/web/Voice.jsx":
/*!********************************!*\
  !*** ./src/page/web/Voice.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_date_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_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_assign_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_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_parse_int_js__WEBPACK_IMPORTED_MODULE_15__ = __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_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_16__ = __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_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_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 core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_19__ = __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_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_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 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 siriwave__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! siriwave */ \"../../node_modules/siriwave/dist/siriwave.umd.js\");\n/* harmony import */ var siriwave__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(siriwave__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var _Voice_less__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./Voice.less */ \"./src/page/web/Voice.less\");\n/* harmony import */ var _common_AiLoginWrapper__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./common/AiLoginWrapper */ \"./src/page/web/common/AiLoginWrapper.jsx\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @/const.js */ \"./src/const.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_28__ = __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 _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _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\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\n\n\n\n\n\n\n\n\nvar Voice = /*#__PURE__*/function (_Component) {\n  _inherits(Voice, _Component);\n  function Voice(props) {\n    var _this;\n    _classCallCheck(this, Voice);\n    _this = _callSuper(this, Voice, [props]);\n    _this.numberLength = 6;\n    _this.timeCycle = 60000;\n    _this.loadTime = 0;\n    _this.ref = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createRef();\n    _this.state = {\n      token: '',\n      msTime: 0,\n      showNum: false,\n      loginStatus: '',\n      voiceStatus: false\n    };\n    _this.loadVoiceToken = _this.loadVoiceToken.bind(_assertThisInitialized(_this));\n    _this.checkLoginState = _this.checkLoginState.bind(_assertThisInitialized(_this));\n    _this.checkVoiceState = _this.checkVoiceState.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(Voice, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var sw = new (siriwave__WEBPACK_IMPORTED_MODULE_22___default())({\n        width: 600,\n        height: 100,\n        speed: 0.1,\n        amplitude: 1,\n        frequency: 10,\n        container: this.ref.current,\n        autostart: true,\n        color: '#7f4893'\n      });\n      this.loadVoiceToken();\n      this.checkLoginState();\n      this.checkVoiceState();\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      clearTimeout(this.loadTimer);\n      clearTimeout(this.loginStateTimer);\n      clearTimeout(this.voiceStateTimer);\n    }\n  }, {\n    key: \"loadVoiceToken\",\n    value: function loadVoiceToken() {\n      var _this2 = this;\n      var msTime = new Date().getTime() - this.loadTime;\n      if (msTime > this.timeCycle) {\n        _api_service__WEBPACK_IMPORTED_MODULE_25__.getVoiceToken().then(function (data) {\n          _this2.setState({\n            token: data.token,\n            showNum: true\n          });\n          _this2.loadTime = new Date().getTime();\n          _this2.loadTimer = setTimeout(_this2.loadVoiceToken, 20);\n        })[\"catch\"](function (e) {\n          _this2.loadTimer = setTimeout(_this2.loadVoiceToken, 1000);\n        });\n      } else {\n        this.setState({\n          msTime: msTime\n        });\n        this.loadTimer = setTimeout(this.loadVoiceToken, 20);\n      }\n    }\n  }, {\n    key: \"checkLoginState\",\n    value: function checkLoginState() {\n      var _this3 = this;\n      var token = this.state.token;\n      if (token === '') {\n        this.loginStateTimer = setTimeout(this.checkLoginState, 2000);\n        return;\n      }\n      _api_service__WEBPACK_IMPORTED_MODULE_25__.checkLoginState({\n        token: token,\n        pollType: 'voice'\n      }).then(function (data) {\n        if (data.status === 1) {\n          _this3.showSuccess(data);\n        } else {\n          if (data.description) {\n            window.alert(data.description);\n          }\n          _this3.loginStateTimer = setTimeout(_this3.checkLoginState, 2000);\n        }\n      })[\"catch\"](function (e) {\n        _this3.loginStateTimer = setTimeout(_this3.checkLoginState, 2000);\n      });\n    }\n  }, {\n    key: \"checkVoiceState\",\n    value: function checkVoiceState() {\n      var _this4 = this;\n      _api_service__WEBPACK_IMPORTED_MODULE_25__.checkVoiceState().then(function (data) {\n        _this4.setState({\n          voiceStatus: data.saying !== '0'\n        });\n        _this4.voiceStateTimer = setTimeout(_this4.checkVoiceState, 500);\n      })[\"catch\"](function (e) {\n        _this4.voiceStateTimer = setTimeout(_this4.checkVoiceState, 500);\n      });\n    }\n  }, {\n    key: \"showSuccess\",\n    value: function showSuccess(data) {\n      this.setState({\n        loginStatus: _const__WEBPACK_IMPORTED_MODULE_26__.SUCCESS\n      });\n      _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_28__.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_28__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_26__.LOGIN_USERINFO);\n      _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_28__.myLocalStorage.setItem(userInfoKey, JSON.stringify(userinfo));\n      setTimeout(function () {\n        window.location.href = data.URL;\n        // alert('声纹登录成功！')\n      }, 1500);\n    }\n  }, {\n    key: \"renderNumber\",\n    value: function renderNumber() {\n      var numberList = [];\n      var _this$state = this.state,\n        token = _this$state.token,\n        showNum = _this$state.showNum;\n      for (var i = 0; i < this.numberLength; i++) {\n        var y = -1 * parseInt(token[i]) * 100;\n        var ulStyle = {\n          transform: 'translateY(' + y + 'px)',\n          color: '#fff'\n        };\n        var blockStyle = {\n          borderColor: 'rgba(60, 186, 255, 0.8)'\n        };\n        numberList.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n          className: _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].block,\n          key: i,\n          style: showNum ? blockStyle : undefined\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"ul\", {\n          className: _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].numView,\n          style: showNum ? ulStyle : undefined\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"0\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"1\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"2\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"3\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"4\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"5\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"6\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"7\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"8\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"li\", null, \"9\"))));\n      }\n      return numberList;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$state2 = this.state,\n        msTime = _this$state2.msTime,\n        showNum = _this$state2.showNum,\n        loginStatus = _this$state2.loginStatus,\n        voiceStatus = _this$state2.voiceStatus;\n      var valWidth = msTime / this.timeCycle * 100 + '%';\n      var progressClass = classnames__WEBPACK_IMPORTED_MODULE_21___default()(_defineProperty(_defineProperty({}, _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].progress, true), _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].showProgress, showNum));\n      var infoClass = classnames__WEBPACK_IMPORTED_MODULE_21___default()(_defineProperty(_defineProperty({}, _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].info, true), _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].showInfo, showNum));\n      var siriWaveClass = classnames__WEBPACK_IMPORTED_MODULE_21___default()(_defineProperty(_defineProperty({}, _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].siriWave, true), _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].showSiriWave, voiceStatus));\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(_common_AiLoginWrapper__WEBPACK_IMPORTED_MODULE_24__[\"default\"], _extends({\n        selectType: \"voice\",\n        loginStatus: loginStatus\n      }, this.props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n        className: _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].container\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n        className: _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].content\n      }, this.renderNumber()), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n        className: progressClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n        className: _Voice_less__WEBPACK_IMPORTED_MODULE_23__[\"default\"].val,\n        style: {\n          width: valWidth\n        }\n      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n        className: infoClass\n      }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_27__.getLangMsg)('login.key021'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_20__.createElement(\"div\", {\n        className: siriWaveClass,\n        ref: this.ref\n      }));\n    }\n  }]);\n  return Voice;\n}(react__WEBPACK_IMPORTED_MODULE_20__.Component);\n/* harmony default export */ __webpack_exports__[\"default\"] = (Voice);\n\n//# sourceURL=webpack://kd-login/./src/page/web/Voice.jsx?");

/***/ })

}]);