/*
 * 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["webpackJsonp_bos-platform"] = self["webpackJsonp_bos-platform"] || []).push([[8856],{

/***/ "./src/component/mobile/KDAudio.jsx":
/*!******************************************!*\
  !*** ./src/component/mobile/KDAudio.jsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Audio = _interopRequireDefault(__webpack_require__(/*! ./base/Audio */ \"./src/component/mobile/base/Audio.jsx\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _ControlInfoCollect = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\"));\nvar _dec, _class;\n/**\n * 音频控件\n */\n// import styles from './KDAudio.less';\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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); }\nvar KDAudio = (_dec = (0, _VisibleLockWrap[\"default\"])(true), _dec(_class = (0, _AttachDataWrap[\"default\"])(_class = (0, _ControlInfoCollect[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(KDAudio, _React$Component);\n  function KDAudio() {\n    _classCallCheck(this, KDAudio);\n    return _callSuper(this, KDAudio, arguments);\n  }\n  _createClass(KDAudio, [{\n    key: \"render\",\n    value: function render() {\n      var model = this.props.model;\n      var style = Object.assign({}, (0, _componentutil.getCommonStyle)(model), this.props.style);\n      var _getCommonClass = (0, _componentutil.getCommonClass)(model),\n        Grow = _getCommonClass.Grow,\n        Shrink = _getCommonClass.Shrink;\n      var src = (0, _componentutil.getComponentDataProperty)(model, 'src', 'src', false); // 音频地址\n      var autoPlay = (0, _componentutil.getComponentDataProperty)(model, 'autoPlay', 'autoPlay', false); // 自动播放\n\n      var rootClassName = (0, _classnames[\"default\"])({\n        // [styles['root']]: true\n      }, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n\n      // test data\n      // src = \"http://v2v.cc/~j/theora_testsuite/320x240.ogg\";\n      // src = src||\"avedio111111.mp4\";\n\n      return /*#__PURE__*/_react[\"default\"].createElement(_Audio[\"default\"], _extends({\n        className: rootClassName,\n        style: style,\n        id: model.key,\n        src: src,\n        autoPlay: autoPlay\n      }, this.props.attachData));\n    }\n  }]);\n  return KDAudio;\n}(_react[\"default\"].Component)) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = KDAudio;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDAudio.jsx?");

/***/ }),

/***/ "./src/component/mobile/KDClientAjax.js":
/*!**********************************************!*\
  !*** ./src/component/mobile/KDClientAjax.js ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _formservice = _interopRequireDefault(__webpack_require__(/*! ../../api/formservice */ \"./src/api/formservice.js\"));\nvar _clientajaxaction = __webpack_require__(/*! ../../action/clientajaxaction */ \"./src/action/clientajaxaction.js\");\nvar _ControlInfoCollect = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\"));\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _dec, _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\nvar KDClientAjax = (_dec = (0, _VisibleLockWrap[\"default\"])(false), (0, _AttachDataWrap[\"default\"])(_class = _dec(_class = (0, _ControlInfoCollect[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(KDClientAjax, _React$Component);\n  function KDClientAjax() {\n    var _this;\n    _classCallCheck(this, KDClientAjax);\n    for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n      _args[_key] = arguments[_key];\n    }\n    _this = _callSuper(this, KDClientAjax, [].concat(_args));\n    _this.invokeControlMethods = function (events) {\n      events.forEach(function (event) {\n        var methodName = event.methodname,\n          args = event.args;\n        switch (methodName) {\n          case 'request':\n            {\n              var _args$ = args[0],\n                data = _args$.data,\n                url = _args$.url,\n                type = _args$.type,\n                contentType = _args$.contentType,\n                _args$$withCredential = _args$.withCredentials,\n                withCredentials = _args$$withCredential === void 0 ? true : _args$$withCredential;\n              if (type === 'GET') {\n                _formservice[\"default\"].getApi(url).then(function (responseData) {\n                  _this.doEvent(responseData);\n                });\n              } else {\n                if (contentType === 'json') {\n                  var loginfo = data.loginfo;\n                  if (loginfo) {\n                    var arr = loginfo.split('#!');\n                    data.user = arr[0];\n                    data.password = arr[1];\n                  }\n                  withCredentials && _formservice[\"default\"].postJsonApi(url, data).then(function (responseData) {\n                    _this.doEvent(responseData);\n                  });\n                  !withCredentials && _formservice[\"default\"].postJsonApiWithOutCredentials(url, data).then(function (responseData) {\n                    _this.doEvent(responseData);\n                  });\n                } else {\n                  _formservice[\"default\"].postApi(url, data).then(function (responseData) {\n                    _this.doEvent(responseData);\n                  });\n                }\n              }\n            }\n            break;\n        }\n      });\n    };\n    return _this;\n  }\n  _createClass(KDClientAjax, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var _this$props$model = this.props.model,\n        pageId = _this$props$model.pageId,\n        key = _this$props$model.key;\n      this.removeDirectivesListener = (0, _memoryCacher.subscribeControlMethod)(pageId, key, 'directives', function (pageData) {\n        if (pageData === undefined) {\n          return;\n        }\n        _this2.invokeControlMethods(pageData);\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.removeDirectivesListener && this.removeDirectivesListener();\n    }\n  }, {\n    key: \"doEvent\",\n    value:\n    // 将响应结果发送给后端\n    function doEvent(responseData) {\n      var _this$props = this.props,\n        model = _this$props.model,\n        dispatch = _this$props.dispatch;\n      dispatch((0, _clientajaxaction.afterReceiveResponse)(model, responseData));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null);\n    }\n  }]);\n  return KDClientAjax;\n}(_react[\"default\"].Component)) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = KDClientAjax;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDClientAjax.js?");

/***/ }),

/***/ "./src/component/mobile/KDGuideItem.jsx":
/*!**********************************************!*\
  !*** ./src/component/mobile/KDGuideItem.jsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _global = __webpack_require__(/*! @/global */ \"./src/global/index.js\");\nvar _ComposeEnhance = _interopRequireDefault(__webpack_require__(/*! ../common/ComposeEnhance */ \"./src/component/common/ComposeEnhance.js\"));\nvar _PropsComparison = _interopRequireDefault(__webpack_require__(/*! ../common/PropsComparison */ \"./src/component/common/PropsComparison.js\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _GuideItem = _interopRequireDefault(__webpack_require__(/*! ./base/GuideItem */ \"./src/component/mobile/base/GuideItem.jsx\"));\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _imageUtil = __webpack_require__(/*! ../../util/imageUtil */ \"./src/util/imageUtil.js\");\nvar _dec, _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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); }\nvar KDGuideItem = (_dec = (0, _VisibleLockWrap[\"default\"])(false), _dec(_class = (0, _AttachDataWrap[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(KDGuideItem, _React$Component);\n  function KDGuideItem() {\n    _classCallCheck(this, KDGuideItem);\n    return _callSuper(this, KDGuideItem, arguments);\n  }\n  _createClass(KDGuideItem, [{\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      var model = this.props.model;\n      var config = model.getFormConfig();\n      this._fileServer = config.fileserver;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        model = _this$props.model,\n        Grow = _this$props.Grow,\n        Shrink = _this$props.Shrink;\n      var style = Object.assign({}, (0, _componentutil.getCommonStyle)(model), this.props.style);\n      style = Object.assign(style, this.props.style);\n      var imagekey = model.getMetaProperty('imageKey');\n      if (imagekey) {\n        // imagekey = this._fileServer + imagekey;\n        // imagekey = getImgFullPath(this._fileServer, imagekey)\n        var _model$getFormConfig = model.getFormConfig(),\n          fileserver = _model$getFormConfig.fileserver,\n          imageurl = _model$getFormConfig.imageurl;\n        var pageId = model.pageId;\n        imagekey = (0, _imageUtil.getImageUrl)({\n          fileserver: fileserver,\n          imageurl: imageurl,\n          pageId: pageId\n        }, imagekey);\n      }\n      var children = (0, _componentutil.parseSubComponents)(model.meta.get('items', new _immutable.List()), model.pageId, (0, _global.getGlobalState)());\n      return /*#__PURE__*/_react[\"default\"].createElement(_GuideItem[\"default\"], _extends({\n        style: style,\n        id: model.key,\n        Grow: Grow,\n        Shrink: Shrink,\n        ImageKey: imagekey,\n        onClick: this.props.onClick\n      }, this.props.attachData), children);\n    }\n  }]);\n  return KDGuideItem;\n}(_react[\"default\"].Component)) || _class) || _class);\nvar _default = exports[\"default\"] = (0, _ComposeEnhance[\"default\"])(_PropsComparison[\"default\"])(KDGuideItem);\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDGuideItem.jsx?");

/***/ }),

/***/ "./src/component/mobile/KDGuidePage.jsx":
/*!**********************************************!*\
  !*** ./src/component/mobile/KDGuidePage.jsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _global = __webpack_require__(/*! @/global */ \"./src/global/index.js\");\nvar _ComposeEnhance = _interopRequireDefault(__webpack_require__(/*! ../common/ComposeEnhance */ \"./src/component/common/ComposeEnhance.js\"));\nvar _PropsComparison = _interopRequireDefault(__webpack_require__(/*! ../common/PropsComparison */ \"./src/component/common/PropsComparison.js\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _GuidePage = _interopRequireDefault(__webpack_require__(/*! ./base/GuidePage */ \"./src/component/mobile/base/GuidePage.jsx\"));\nvar _guideaction = __webpack_require__(/*! ../../action/guideaction */ \"./src/action/guideaction.js\");\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _ControlInfoCollect = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\"));\nvar _dec, _class;\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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); }\nvar KDGuidePage = (_dec = (0, _VisibleLockWrap[\"default\"])(false), _dec(_class = (0, _AttachDataWrap[\"default\"])(_class = (0, _ControlInfoCollect[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(KDGuidePage, _React$Component);\n  function KDGuidePage(props) {\n    var _this;\n    _classCallCheck(this, KDGuidePage);\n    _this = _callSuper(this, KDGuidePage, [props]);\n    _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(KDGuidePage, [{\n    key: \"onClose\",\n    value: function onClose() {\n      var _this$props = this.props,\n        model = _this$props.model,\n        dispatch = _this$props.dispatch;\n      dispatch((0, _guideaction.closeUserGuide)(model));\n    }\n  }, {\n    key: \"getItemVisible\",\n    value: function getItemVisible(model) {\n      if (this.props.getVisible) {\n        return this.props.getVisible(model);\n      } else {\n        return true;\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n      var _this$props2 = this.props,\n        model = _this$props2.model,\n        Grow = _this$props2.Grow,\n        Shrink = _this$props2.Shrink;\n      var style = Object.assign({}, (0, _componentutil.getCommonStyle)(model), this.props.style);\n      style = Object.assign(style, this.props.style);\n      var commonClass = (0, _componentutil.getCommonClass)(model);\n      var children = (0, _componentutil.parseSubComponents)(model.meta.get('items', (0, _immutable.List)()), model.pageId, (0, _global.getGlobalState)());\n      children = children.filter(function (item) {\n        return _this2.getItemVisible(item.props.model);\n      });\n      return /*#__PURE__*/_react[\"default\"].createElement(_GuidePage[\"default\"], _extends({\n        style: style\n      }, commonClass, {\n        id: model.key,\n        Grow: Grow,\n        Shrink: Shrink,\n        onClose: this.onClose\n      }, this.props.attachData), children);\n    }\n  }]);\n  return KDGuidePage;\n}(_react[\"default\"].Component)) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = (0, _ComposeEnhance[\"default\"])(_PropsComparison[\"default\"])(KDGuidePage);\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDGuidePage.jsx?");

/***/ }),

/***/ "./src/component/mobile/KDMapBase.js":
/*!*******************************************!*\
  !*** ./src/component/mobile/KDMapBase.js ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n__webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__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__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.weak-map.js */ \"../../node_modules/core-js/modules/es.weak-map.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n__webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n__webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _MapBase = _interopRequireDefault(__webpack_require__(/*! ./base/Map/MapBase */ \"./src/component/mobile/base/Map/MapBase.js\"));\nvar _mapaction = __webpack_require__(/*! ../../action/mapaction */ \"./src/action/mapaction.js\");\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _memoryCacher = __webpack_require__(/*! @/model/memoryCacher */ \"./src/model/memoryCacher.js\");\nvar _ControlInfoCollect = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\"));\nvar _immutable = __webpack_require__(/*! immutable */ \"webpack/sharing/consume/default/immutable/immutable?f2ca\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _mapUtil = __webpack_require__(/*! @/util/mapUtil */ \"./src/util/mapUtil.js\");\nvar _AMap = _interopRequireDefault(__webpack_require__(/*! ./base/Map/AMap */ \"./src/component/mobile/base/Map/AMap.jsx\"));\nvar _GMap = _interopRequireDefault(__webpack_require__(/*! ./base/Map/GMap */ \"./src/component/mobile/base/Map/GMap.jsx\"));\nvar _mapConst = __webpack_require__(/*! @/constant/mapConst */ \"./src/constant/mapConst.js\");\nvar _appModelFunction = __webpack_require__(/*! @/model/appModelFunction */ \"./src/model/appModelFunction.js\");\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _serverproperties = __webpack_require__(/*! @/constant/serverproperties */ \"./src/constant/serverproperties.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! @/component/common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _MapBase2 = _interopRequireDefault(__webpack_require__(/*! @/component/mobile/base/Map/MapBase.less */ \"./src/component/mobile/base/Map/MapBase.less\"));\nvar _NoSecrectKey = _interopRequireDefault(__webpack_require__(/*! @/component/common/map/NoSecrectKey.js */ \"./src/component/common/map/NoSecrectKey.js\"));\nvar _dec, _class;\n/**\n * 移动端：地图控件\n */\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { \"default\": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n[\"default\"] = e, t && t.set(e, n), n; }\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; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _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); }\nvar KDMapBase = (_dec = (0, _VisibleLockWrap[\"default\"])(false), _dec(_class = (0, _AttachDataWrap[\"default\"])(_class = (0, _ControlInfoCollect[\"default\"])(_class = /*#__PURE__*/function (_Component) {\n  _inherits(KDMapBase, _Component);\n  function KDMapBase(props) {\n    var _this;\n    _classCallCheck(this, KDMapBase);\n    _this = _callSuper(this, KDMapBase, [props]);\n    /**\n     * 控件指令处理\n     * @param {object} data 后端指令参数\n     */\n    _this.handleDirectives = function (data) {\n      if (!data) return;\n      if (data[0].methodname === 'executeCustomEvent') {\n        var code = data[0].args[0];\n        _this.executeCustomEvent(code);\n      }\n    };\n    /**\n     * 执行自定义方法\n     * @param {string} code 代码字符串\n     */\n    _this.executeCustomEvent = function (code) {\n      if (_this.mapConfig.mapService === _mapConst.DefaultMap) {\n        _this.showMessage((0, _intlApi.getLangMsg)('MapBase.key0011'));\n        return;\n      }\n      var isLegalInvocation = code.includes('BMap') && _this.mapConfig.mapService === _mapConst.BaiduMap || code.includes('AMap') && _this.mapConfig.mapService === _mapConst.GaodeMap || code.includes('google.maps') && _this.mapConfig.mapService === _mapConst.GoogleMap;\n      if (!isLegalInvocation) {\n        _this.showMessage((0, _intlApi.getLangMsg)('MapBase.key0012'));\n        return;\n      }\n      _this.setState({\n        code: code\n      });\n    };\n    _this.setMapConfig = function () {\n      _this.mapConfig = (0, _mapUtil.getMapConfig)();\n      if (_this.mapConfig.mapService === _mapConst.GaodeMap && _this.mapConfig.securityKey) {\n        window._AMapSecurityConfig = {\n          securityJsCode: _this.mapConfig.securityKey\n        };\n      }\n    };\n    // 获得定位信息\n    _this.getAddressAction = function (getAddressFlag) {\n      var model = _this.props.model;\n      var pageId = model.pageId,\n        key = model.key;\n      if (!getAddressFlag) return;\n      (0, _memoryCacher.setPageData)(pageId, [key, 'getAddressFlag'], false);\n      if (_this.mapConfig.mapService === _mapConst.BaiduMap || _this.mapConfig.mapService === 'default') {\n        var _BMapGL = window.BMapGL;\n        if (!_BMapGL) return;\n        _this.getLocationByBaiduMap();\n        return;\n      } else if (_this.mapConfig.mapService === _mapConst.GoogleMap) {\n        _this.getLocationByGoogleMap();\n        return;\n      }\n      _this.getLocation();\n    };\n    _this.getLocationByBaiduMap = function () {\n      var self = _assertThisInitialized(_this);\n      var address = {};\n      var geolocation = new BMapGL.Geolocation();\n      geolocation.getCurrentPosition(function (e) {\n        if (this.getStatus() === window.BMAP_STATUS_SUCCESS) {\n          // 定位成功事件\n          address.province = e.address.province;\n          address.city = e.address.city;\n          address.title = \"\".concat(e.address.province).concat(e.address.city);\n          address.point = {\n            lng: e.point.lng,\n            lat: e.point.lat\n          };\n          address.address = \"\".concat(e.address.province).concat(e.address.city);\n          self.selectPoint(address);\n        } else {\n          // 定位失败事件\n          console.log(\"\\u81EA\\u52A8\\u5B9A\\u4F4D\\u5931\\u8D25: \".concat(e.message));\n        }\n      });\n    };\n    _this.getLocation = function () {\n      var geolocation = new window.AMap.Geolocation({\n        enableHighAccuracy: true,\n        // 是否使用高精度定位，默认:true\n        timeout: 10000,\n        // 超过10秒后停止定位，默认：无穷大\n        maximumAge: 10000,\n        // 定位结果缓存0毫秒，默认：0\n        convert: true,\n        // 自动偏移坐标，偏移后的坐标为高德坐标，默认：true\n        showButton: false,\n        // 显示定位按钮，默认：true\n        buttonPosition: 'RB',\n        // 定位按钮停靠位置，默认：'LB'，左下角\n        buttonOffset: new window.AMap.Pixel(10, 20),\n        // 定位按钮与设置的停靠位置的偏移量，默认：Pixel(10, 20)\n        showMarker: true,\n        // 定位成功后在定位到的位置显示点标记，默认：true\n        showCircle: true,\n        // 定位成功后用圆圈表示定位精度范围，默认：true\n        panToLocation: false,\n        // 定位成功后将定位到的位置作为地图中心点，默认：true\n        zoomToAccuracy: false,\n        // 定位成功后调整地图视野范围使定位位置及精度范围视野内可见，默认：false\n        extensions: 'all'\n      });\n      geolocation.getCurrentPosition();\n      var self = _assertThisInitialized(_this);\n      window.AMap.Event.addListener(geolocation, 'complete', function (data) {\n        if (data.status === 0 && data.info.toLowerCase() === 'success') {\n          var _data$position = data.position,\n            lng = _data$position.lng,\n            lat = _data$position.lat;\n          self.getAddressDetail({\n            lng: lng,\n            lat: lat\n          });\n        }\n      });\n    };\n    _this.getAddressDetail = function (_ref) {\n      var lng = _ref.lng,\n        lat = _ref.lat;\n      var lngLat = [lng, lat];\n      var geocoder = new window.AMap.Geocoder({\n        city: '全国'\n      });\n      var self = _assertThisInitialized(_this);\n      geocoder.getAddress(lngLat, function (status, result) {\n        var _result$info;\n        if (status === 'complete' && ((_result$info = result.info) === null || _result$info === void 0 ? void 0 : _result$info.toLowerCase()) === 'ok') {\n          var _result$regeocode = result.regeocode,\n            addressComponent = _result$regeocode.addressComponent,\n            formattedAddress = _result$regeocode.formattedAddress;\n          var city = addressComponent.city,\n            province = addressComponent.province;\n          var address = {\n            province: province,\n            city: city,\n            title: \"\".concat(province).concat(city),\n            address: formattedAddress,\n            latitude: lat,\n            longitude: lng\n          };\n          self.selectPoint(address, {\n            from: 'gcj02',\n            to: 'bd09ll'\n          });\n        }\n      });\n    };\n    _this.getLocationByGoogleMap = function () {\n      if (navigator.geolocation) {\n        navigator.geolocation.getCurrentPosition(function (position) {\n          var pos = {\n            lat: position.coords.latitude,\n            lng: position.coords.longitude\n          };\n          // 需要转换为详细地址\n          _this.getAddressDetailByGoogleMap(pos);\n        }, function (data) {\n          // 定位失败事件\n          console.log(\"\\u81EA\\u52A8\\u5B9A\\u4F4D\\u5931\\u8D25: \".concat(data));\n        });\n      } else {\n        // Browser doesn't support Geolocation\n        console.log(\"Error: Your browser doesn't support geolocation.\");\n      }\n    };\n    _this.getAddressDetailByGoogleMap = function (_ref2) {\n      var lat = _ref2.lat,\n        lng = _ref2.lng;\n      var self = _assertThisInitialized(_this);\n      var geocoder = new window.google.maps.Geocoder();\n      geocoder.getcode({\n        location: {\n          lat: lat,\n          lng: lng\n        }\n      }, function (status, results) {\n        if (status === 'OK' && results[0]) {\n          var _results$ = results[0],\n            addressComponents = _results$.address_components,\n            formattedAddress = _results$.formatted_address;\n          var components = {};\n          addressComponents.forEach(function (item) {\n            var types = item.types[0];\n            components[types] = item.long_name;\n          });\n          var city = components.administrative_area_level_2,\n            province = components.administrative_area_level_1;\n          var address = {\n            province: province,\n            city: city,\n            title: \"\".concat(province).concat(city),\n            address: formattedAddress,\n            latitude: lat,\n            longitude: lng\n          };\n          self.selectPoint(address);\n        }\n      });\n    };\n    _this.showMessage = function (message) {\n      var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n      (0, _appModelFunction.setDataMessages)(_this.props.model.pageId, {\n        type: type,\n        content: message,\n        duration: 3000\n      });\n    };\n    _this.state = {\n      code: ''\n    };\n    _this.selectPoint = _this.selectPoint.bind(_assertThisInitialized(_this));\n    _this.setMapConfig();\n    return _this;\n  }\n\n  // 后台发送指令要获取位置信息\n  _createClass(KDMapBase, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      var model = this.props.model;\n      var pageId = model.pageId,\n        key = model.key;\n      var getAddress = (0, _memoryCacher.getPageData)(pageId, [key, 'getAddressFlag']);\n      getAddress && this.getAddressAction(getAddress);\n      this.removeGetAddressListener = (0, _memoryCacher.addDataChangeListener)(pageId, [key, 'getAddressFlag'], this.getAddressAction);\n      this.removeSystemParamListener = (0, _GlobalDataCacher.addDataChangeListener)(_symbolConst.KEY_SYSTEM_PARAM, function (systemParam) {\n        var _systemParam$mapServi;\n        if (((_systemParam$mapServi = systemParam.mapServiceConfiguration) === null || _systemParam$mapServi === void 0 ? void 0 : _systemParam$mapServi.mapService) !== _this2.mapConfig.mapService) {\n          _this2.setMapConfig();\n          _this2.forceUpdate();\n        }\n      });\n      this.removeDirectivesListener = (0, _memoryCacher.subscribeControlMethod)(pageId, key, 'directives', this.handleDirectives);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      var _this$removeSystemPar, _this$removeDirective;\n      this.removeGetAddressListener && this.removeGetAddressListener();\n      (_this$removeSystemPar = this.removeSystemParamListener) === null || _this$removeSystemPar === void 0 || _this$removeSystemPar.call(this);\n      (_this$removeDirective = this.removeDirectivesListener) === null || _this$removeDirective === void 0 || _this$removeDirective.call(this);\n    }\n  }, {\n    key: \"selectPoint\",\n    value: function selectPoint(address, coordSys) {\n      var _this$props = this.props,\n        model = _this$props.model,\n        dispatch = _this$props.dispatch;\n      // 如果后端发送的坐标系与当前的相等，则就不转换了\n      var coord = (0, _componentutil.getComponentDataProperty)(model, 'coordSys', 'coordSys');\n      if ((coordSys === null || coordSys === void 0 ? void 0 : coordSys.from) === 'gcj02' && (coordSys === null || coordSys === void 0 ? void 0 : coordSys.to) === 'bd09ll' && coord !== (coordSys === null || coordSys === void 0 ? void 0 : coordSys.from)) {\n        var latitude = address.latitude,\n          longitude = address.longitude;\n        var _gcj02ToBD = (0, _mapUtil.gcj02ToBD09)(longitude, latitude),\n          _gcj02ToBD2 = _slicedToArray(_gcj02ToBD, 2),\n          newLng = _gcj02ToBD2[0],\n          newLat = _gcj02ToBD2[1];\n        address.latitude = newLat;\n        address.longitude = newLng;\n      }\n      dispatch((0, _mapaction.selectPoint)(model, address));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _getComponentDataProp, _this$mapConfig, _this$mapConfig2;\n      var model = this.props.model;\n      var _getCommonClass = (0, _componentutil.getCommonClass)(model),\n        Grow = _getCommonClass.Grow,\n        Shrink = _getCommonClass.Shrink,\n        AlignSelf = _getCommonClass.AlignSelf;\n      var style = (0, _componentutil.getCommonStyle)(model);\n      // const point1 = fromJS({ point: { lng: 113.961853, lat: 22.539674 }, address: '南山区金蝶大厦A座', city: '深圳市', province: '广东省' })\n      // const point2 = fromJS([{ point: { lng: 113.961853, lat: 22.539674 }, address: '南山区金蝶大厦A座', city: '深圳市', province: '广东省' }, { point: { lng: 113.961294, lat: 22.539755 }, address: '南山区金蝶大厦B座', city: '深圳市', province: '广东省' }])\n      var selPoint = (0, _componentutil.getComponentDataProperty)(model, 'selectPoint', 'selectPoint', false); // server端动态指定的在地图上标记的一个点(经纬度)\n\n      // const address1 = fromJS({ detailAddress: '广东省深圳市南山区金蝶云大厦' })\n      // const address2 = fromJS({ detailAddress: ['广东省深圳市南山区金蝶大厦A座', '广东省深圳市南山区金蝶大厦B座'] })\n      var selAddress = (_getComponentDataProp = (0, _componentutil.getComponentDataProperty)(model, 'selectAddress', 'selectAddress', false)) === null || _getComponentDataProp === void 0 ? void 0 : _getComponentDataProp.get('detailAddress'); // server端动态指定一个地址(string)标记在地图上\n      var canMarkerDraggble = (0, _componentutil.getComponentDataProperty)(model, 'canMarkerDraggble', 'canMarkerDraggble', false);\n      var placeHolder = model.getMetaProperty(_serverproperties.PLACE_HOLDER);\n      var showSearchBox = (0, _componentutil.getComponentDataProperty)(model, 'showSearchBox', 'showSearchBox', false); // 显示搜索框\n      var locale = model.getUserLocale();\n      if (!this.mapConfig) return /*#__PURE__*/_react[\"default\"].createElement(_react[\"default\"].Fragment, null);\n      if ((0, _mapUtil.isDefaultModeWithoutKey)(this.mapConfig)) {\n        var className = (0, _classnames2[\"default\"])(_defineProperty({}, _MapBase2[\"default\"].mapbase, true), (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf\n        }));\n        return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n          style: style,\n          className: className,\n          id: model.key\n        }, this.props.attachData), /*#__PURE__*/_react[\"default\"].createElement(_NoSecrectKey[\"default\"], null));\n      }\n      if (((_this$mapConfig = this.mapConfig) === null || _this$mapConfig === void 0 ? void 0 : _this$mapConfig.mapService) === _mapConst.GaodeMap) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_AMap[\"default\"], _extends({\n          id: model.key,\n          code: this.state.code,\n          dragEnable: true,\n          style: style,\n          mapKey: this.mapConfig.mapKey,\n          showSearchBox: showSearchBox,\n          markerDraggable: canMarkerDraggble,\n          showMessage: this.showMessage,\n          point: selPoint,\n          address: selAddress,\n          selectPoint: this.selectPoint\n        }, this.props.attachData));\n      } else if (((_this$mapConfig2 = this.mapConfig) === null || _this$mapConfig2 === void 0 ? void 0 : _this$mapConfig2.mapService) === _mapConst.GoogleMap) {\n        return /*#__PURE__*/_react[\"default\"].createElement(_GMap[\"default\"], _extends({\n          id: model.key,\n          code: this.state.code,\n          dragEnable: true,\n          style: style,\n          mapKey: this.mapConfig.mapKey,\n          showSearchBox: showSearchBox,\n          markerDraggable: canMarkerDraggble,\n          showMessage: this.showMessage,\n          point: selPoint,\n          address: selAddress,\n          selectPoint: this.selectPoint,\n          locale: locale\n        }, this.props.attachData));\n      }\n      var mapKey = this.mapConfig.mapKey;\n      var apiKey = this.mapConfig.apiKey;\n      return /*#__PURE__*/_react[\"default\"].createElement(_MapBase[\"default\"], _extends({\n        Grow: Grow,\n        Shrink: Shrink,\n        AlignSelf: AlignSelf,\n        style: style,\n        id: model.key,\n        code: this.state.code,\n        mapKey: mapKey,\n        apiKey: apiKey,\n        showSearchBox: showSearchBox,\n        placeHolder: placeHolder,\n        selectPoint: this.selectPoint,\n        selPoint: _immutable.Map.isMap(selPoint) ? (0, _immutable.List)([selPoint]) : selPoint,\n        selAddress: typeof selAddress === 'string' ? (0, _immutable.List)([selAddress]) : selAddress,\n        canMarkerDraggble: canMarkerDraggble,\n        showMessage: this.showMessage\n      }, this.props.attachData));\n    }\n  }]);\n  return KDMapBase;\n}(_react.Component)) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = KDMapBase;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDMapBase.js?");

/***/ }),

/***/ "./src/component/mobile/KDPlaceHolder.js":
/*!***********************************************!*\
  !*** ./src/component/mobile/KDPlaceHolder.js ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _baseComponent = __webpack_require__(/*! ./base/baseComponent */ \"./src/component/mobile/base/baseComponent.jsx\");\nvar _ControlInfoCollect = __webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n/*\n * 占位符控件(布局时用做占位)\n */\n\nfunction KDPlaceHolder(_ref) {\n  var model = _ref.model;\n  (0, _ControlInfoCollect.useControlInfoCollect)(model);\n  return /*#__PURE__*/_react[\"default\"].createElement(_baseComponent.PlaceHolder, {\n    id: model.key,\n    style: (0, _componentutil.getCommonStyle)(model)\n  });\n}\nvar _default = exports[\"default\"] = KDPlaceHolder;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDPlaceHolder.js?");

/***/ }),

/***/ "./src/component/mobile/KDQRCode.js":
/*!******************************************!*\
  !*** ./src/component/mobile/KDQRCode.js ***!
  \******************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _BaseQRCode = _interopRequireDefault(__webpack_require__(/*! ./base/BaseQRCode */ \"./src/component/mobile/base/BaseQRCode.jsx\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _ComposeEnhance = _interopRequireDefault(__webpack_require__(/*! ../common/ComposeEnhance */ \"./src/component/common/ComposeEnhance.js\"));\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _PropsComparison = _interopRequireDefault(__webpack_require__(/*! ../common/PropsComparison */ \"./src/component/common/PropsComparison.js\"));\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _KDQRCode = _interopRequireDefault(__webpack_require__(/*! ./KDQRCode.less */ \"./src/component/mobile/KDQRCode.less\"));\nvar _classnames2 = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _reactDom = __webpack_require__(/*! react-dom */ \"webpack/sharing/consume/default/react-dom/react-dom?418d\");\nvar _ControlInfoCollect = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\"));\nvar _componentutil2 = __webpack_require__(/*! @/util/componentutil */ \"./src/util/componentutil.js\");\nvar _dec, _dec2, _class;\n/*\n * @Author: shengxiao_zhu\n * @Date: 2021-08-19 10:15:24\n * @LastEditors: shengxiao_zhu\n * @LastEditTime: 2021-09-16 15:31:23\n * @Description: file content\n */\n/**\n * 二维码控件\n */\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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 _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); }\nvar KDQRCode = (_dec = (0, _VisibleLockWrap[\"default\"])(false), _dec2 = (0, _ComposeEnhance[\"default\"])(_PropsComparison[\"default\"]), (0, _AttachDataWrap[\"default\"])(_class = _dec(_class = _dec2(_class = (0, _ControlInfoCollect[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(KDQRCode, _React$Component);\n  function KDQRCode(props) {\n    var _this;\n    _classCallCheck(this, KDQRCode);\n    _this = _callSuper(this, KDQRCode, [props]);\n    _this.state = {\n      showEnlargeQRCode: false\n    };\n    _this.enlargeQRCode = _this.enlargeQRCode.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(KDQRCode, [{\n    key: \"enlargeQRCode\",\n    value: function enlargeQRCode() {\n      this.setState({\n        showEnlargeQRCode: !this.state.showEnlargeQRCode\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var model = this.props.model;\n      var showEnlargeQRCode = this.state.showEnlargeQRCode;\n      var value = (0, _componentutil.getComponentDataProperty)(model, 'url', 'value', false); // 二维码内容\n      var size = (0, _componentutil.getComponentDataProperty)(model, 'size', 'w', true); // 二维码尺寸(正方形)\n      var style = (0, _componentutil.getCommonStyle)(model);\n      var _getCommonClass = (0, _componentutil.getCommonClass)(model),\n        Grow = _getCommonClass.Grow,\n        Shrink = _getCommonClass.Shrink,\n        AlignSelf = _getCommonClass.AlignSelf;\n      var QrCodeStyle = model.getMetaProperty('qcs') || 0;\n      var displayValue = model.getMetaProperty('displayValue');\n      var fontSize = model.getMetaProperty('fs');\n      var valueClass = (0, _classnames2[\"default\"])(_defineProperty({}, _KDQRCode[\"default\"]['QRCode-value'], true));\n      if (value && value !== '' && /^http|https/.test(value)) {\n        value = (0, _componentutil2.setAccountId)(value);\n      }\n      if (!value) {\n        value = 'QRCode is null';\n        // console.log('-----------QRCode is null-----------')\n      }\n      var dom = /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: (0, _classnames2[\"default\"])(_KDQRCode[\"default\"][showEnlargeQRCode ? 'QRCodeProtal' : '']),\n        onClick: this.enlargeQRCode\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _KDQRCode[\"default\"][QrCodeStyle && showEnlargeQRCode ? 'barCode' : '']\n      }, /*#__PURE__*/_react[\"default\"].createElement(_BaseQRCode[\"default\"], {\n        value: value,\n        size: 160,\n        QrCodeStyle: QrCodeStyle,\n        style: {\n          width: '360px',\n          height: '100px'\n        },\n        displayValue: false,\n        fontSize: fontSize\n      }), displayValue ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: valueClass\n      }, value) : ''));\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        id: model.key\n      }, this.props.attachData, {\n        style: style,\n        onClick: this.enlargeQRCode,\n        className: (0, _commonUtils[\"default\"])({\n          Grow: Grow,\n          Shrink: Shrink,\n          AlignSelf: AlignSelf\n        })\n      }), /*#__PURE__*/_react[\"default\"].createElement(_BaseQRCode[\"default\"], {\n        value: value,\n        size: size,\n        QrCodeStyle: QrCodeStyle,\n        style: style,\n        displayValue: false,\n        fontSize: fontSize\n      }), displayValue ? /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: valueClass\n      }, value) : '', showEnlargeQRCode ? /*#__PURE__*/(0, _reactDom.createPortal)(dom, document.body) : '');\n    }\n  }]);\n  return KDQRCode;\n}(_react[\"default\"].Component)) || _class) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = KDQRCode;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDQRCode.js?");

/***/ }),

/***/ "./src/component/mobile/KDUnknownComponent.js":
/*!****************************************************!*\
  !*** ./src/component/mobile/KDUnknownComponent.js ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\n\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction KDUnknownComponent(_ref) {\n  var type = _ref.type;\n  return /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, \"Unknown Component: \", type);\n}\nvar _default = exports[\"default\"] = KDUnknownComponent;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDUnknownComponent.js?");

/***/ }),

/***/ "./src/component/mobile/KDVideo.jsx":
/*!******************************************!*\
  !*** ./src/component/mobile/KDVideo.jsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Video = _interopRequireDefault(__webpack_require__(/*! ./base/Video */ \"./src/component/mobile/base/Video.jsx\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _ControlInfoCollect = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\"));\nvar _dec, _class;\n/**\n * 视频控件\n */\n// import styles from './KDVideo.less';\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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); }\nvar KDVideo = (_dec = (0, _VisibleLockWrap[\"default\"])(true), _dec(_class = (0, _AttachDataWrap[\"default\"])(_class = (0, _ControlInfoCollect[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(KDVideo, _React$Component);\n  function KDVideo() {\n    _classCallCheck(this, KDVideo);\n    return _callSuper(this, KDVideo, arguments);\n  }\n  _createClass(KDVideo, [{\n    key: \"render\",\n    value: function render() {\n      var model = this.props.model;\n      var style = Object.assign({}, (0, _componentutil.getCommonStyle)(model), this.props.style);\n      var _getCommonClass = (0, _componentutil.getCommonClass)(model),\n        Grow = _getCommonClass.Grow,\n        Shrink = _getCommonClass.Shrink;\n      var src = (0, _componentutil.getComponentDataProperty)(model, 'src', 'src', false); // 视频地址\n      var autoPlay = (0, _componentutil.getComponentDataProperty)(model, 'autoPlay', 'autoPlay', false); // 自动播放\n\n      var rootClassName = (0, _classnames[\"default\"])({\n        // [styles['root']]: true\n      }, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n\n      // test data\n      // src = \"http://v2v.cc/~j/theora_testsuite/320x240.ogg\";\n      // src = 'https://www.youtube.com/embed/u9Mv98Gr5pY';\n      // src = src||\"avedio111111.mp4\";\n\n      return /*#__PURE__*/_react[\"default\"].createElement(_Video[\"default\"], _extends({\n        className: rootClassName,\n        style: style,\n        id: model.key,\n        src: src,\n        autoPlay: autoPlay\n      }, this.props.attachData));\n    }\n  }]);\n  return KDVideo;\n}(_react[\"default\"].Component)) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = KDVideo;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDVideo.jsx?");

/***/ }),

/***/ "./src/component/mobile/KDVideoRecord.jsx":
/*!************************************************!*\
  !*** ./src/component/mobile/KDVideoRecord.jsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _VideoRecord = _interopRequireDefault(__webpack_require__(/*! ./base/VideoRecord */ \"./src/component/mobile/base/VideoRecord.jsx\"));\nvar _componentutil = __webpack_require__(/*! ../../util/componentutil */ \"./src/util/componentutil.js\");\nvar _commonUtils = _interopRequireDefault(__webpack_require__(/*! ../common/commonUtils */ \"./src/component/common/commonUtils.js\"));\nvar _VisibleLockWrap = _interopRequireDefault(__webpack_require__(/*! ../common/VisibleLockWrap */ \"./src/component/common/VisibleLockWrap.js\"));\nvar _AttachDataWrap = _interopRequireDefault(__webpack_require__(/*! ../common/AttachDataWrap */ \"./src/component/common/AttachDataWrap.js\"));\nvar _ControlInfoCollect = _interopRequireDefault(__webpack_require__(/*! @/component/common/ControlInfoCollect */ \"./src/component/common/ControlInfoCollect.js\"));\nvar _dec, _class;\n/**\n * 小视频控件\n */\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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); }\nvar KDVideoRecord = (_dec = (0, _VisibleLockWrap[\"default\"])(true), _dec(_class = (0, _AttachDataWrap[\"default\"])(_class = (0, _ControlInfoCollect[\"default\"])(_class = /*#__PURE__*/function (_React$Component) {\n  _inherits(KDVideoRecord, _React$Component);\n  function KDVideoRecord() {\n    _classCallCheck(this, KDVideoRecord);\n    return _callSuper(this, KDVideoRecord, arguments);\n  }\n  _createClass(KDVideoRecord, [{\n    key: \"render\",\n    value: function render() {\n      var model = this.props.model;\n      var style = Object.assign({}, (0, _componentutil.getCommonStyle)(model), this.props.style);\n      var _getCommonClass = (0, _componentutil.getCommonClass)(model),\n        Grow = _getCommonClass.Grow,\n        Shrink = _getCommonClass.Shrink;\n      var callType = (0, _componentutil.getComponentDataProperty)(model, 'callType', 'callType', false); // 调用类型(默认云之家, 1:html5原生(移动端支持不好,ios全部版本不支持/android部分支持))\n\n      var rootClassName = (0, _classnames[\"default\"])({\n        // [styles['root']]: true\n      }, (0, _commonUtils[\"default\"])({\n        Grow: Grow,\n        Shrink: Shrink\n      }));\n      return /*#__PURE__*/_react[\"default\"].createElement(_VideoRecord[\"default\"], _extends({\n        className: rootClassName,\n        style: style,\n        id: model.key,\n        callType: callType\n      }, this.props.attachData));\n    }\n  }]);\n  return KDVideoRecord;\n}(_react[\"default\"].Component)) || _class) || _class) || _class);\nvar _default = exports[\"default\"] = KDVideoRecord;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDVideoRecord.jsx?");

/***/ }),

/***/ "./src/component/mobile/base/Audio.jsx":
/*!*********************************************!*\
  !*** ./src/component/mobile/base/Audio.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _intlApi = __webpack_require__(/*! @/i18n/intlApi */ \"./src/i18n/intlApi.js\");\nvar _excluded = [\"style\", \"className\", \"src\", \"autoPlay\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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; }\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// html5原生audio元素支持的音频格式\nvar html5SupportAudio = [\n  // {\n  // \tvideoType: 'Ogg(ogg)',\n  // \tAudioDecoder: '',\n  // \tsupportBrowser: ['Chrome 6+', 'Firefox 3.6+', 'Opera 10+']\n  // },\n  // {\n  // \tvideoType: 'Wav(wav)',\n  // \tAudioDecoder: '',\n  // \tsupportBrowser: ['Chrome 6+','Firefox 3.6+','Safari 5+','Opera 10+']\n  // },\n  // {\n  // \tvideoType: 'MP3(mp3)',\n  // \tAudioDecoder: '',\n  // \tsupportBrowser: ['IE 9+','Chrome 6+','Firefox 3.6+','Safari 5+','Opera 10+']\n  // }\n];\nvar Audio = /*#__PURE__*/function (_React$Component) {\n  _inherits(Audio, _React$Component);\n  function Audio(props) {\n    _classCallCheck(this, Audio);\n    return _callSuper(this, Audio, [props]);\n  }\n  _createClass(Audio, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // console.log(JSON.stringify(html5SupportAudio));\n    }\n  }, {\n    key: \"play\",\n    value: function play() {\n      if (this.aPlay) {\n        this.aPlay.play();\n      }\n    }\n  }, {\n    key: \"pause\",\n    value: function pause() {\n      if (this.aPlay) {\n        this.aPlay.pause();\n      }\n    }\n\n    // 重新加载\n  }, {\n    key: \"load\",\n    value: function load() {\n      if (this.aPlay) {\n        this.aPlay.load();\n      }\n    }\n  }, {\n    key: \"addVolume\",\n    value: function addVolume() {\n      if (this.aPlay) {\n        this.aPlay.volume += 0.1;\n      }\n    }\n  }, {\n    key: \"subVolume\",\n    value: function subVolume() {\n      if (this.aPlay) {\n        this.aPlay.volume -= 0.1;\n      }\n    }\n\n    // 终止媒体下载\n  }, {\n    key: \"removeAudio\",\n    value: function removeAudio() {\n      if (this.aPlay) {\n        this.aPlay.pause();\n        this.aPlay.src = '';\n        // or\n        this.aPlay.removeAttribute('src'); // 兼容不同浏览器\n      }\n    }\n\n    // 是否已播放结束\n  }, {\n    key: \"isEnd\",\n    value: function isEnd() {\n      if (this.aPlay) {\n        return this.aPlay.ended;\n      } else {\n        return true;\n      }\n    }\n\n    // 加载报错\n  }, {\n    key: \"onError\",\n    value: function onError(e) {\n      // e.target.error.message //具体错误信息\n      console.warn(\"load audio fail, file url: \".concat(this.props.src));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      /*\n      controls : 为网页中的音频显示标准的HTML5控制器。\n      autoplay : 使音频自动播放。\n      loop : 使音频自动重复播放。\n      preload: 属性用来缓冲audio元素的大文件，有三个属性值可供设置：\n      \"none\" 不缓冲文件\n      \"auto\" 缓冲音频文件\n      \"metadata\" 仅仅缓冲文件的元数据\n      */\n\n      var _this$props = this.props,\n        style = _this$props.style,\n        className = _this$props.className,\n        src = _this$props.src,\n        autoPlay = _this$props.autoPlay,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"audio\", _extends({\n        ref: function ref(d) {\n          return _this.aPlay = d;\n        },\n        style: style,\n        className: className\n      }, others, {\n        src: src,\n        onError: function onError(e) {\n          return _this.onError(e);\n        },\n        controls: true,\n        autoPlay: autoPlay || false,\n        loop: false,\n        preload: \"auto\"\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"code\", null, (0, _intlApi.getLangMsg)('Audio.key002')));\n    }\n  }]);\n  return Audio;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Audio;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/base/Audio.jsx?");

/***/ }),

/***/ "./src/component/mobile/base/BaseQRCode.jsx":
/*!**************************************************!*\
  !*** ./src/component/mobile/base/BaseQRCode.jsx ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _qrcode = _interopRequireDefault(__webpack_require__(/*! qrcode.react */ \"./node_modules/qrcode.react/lib/index.js\"));\nvar _jsbarcode = _interopRequireDefault(__webpack_require__(/*! jsbarcode */ \"../../node_modules/jsbarcode/bin/JsBarcode.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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 _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 * 基于浏览器的Canvas实现，对各浏览器版本有要求.\n */\nvar BaseQRCode = /*#__PURE__*/function (_React$Component) {\n  _inherits(BaseQRCode, _React$Component);\n  function BaseQRCode(props) {\n    var _this;\n    _classCallCheck(this, BaseQRCode);\n    _this = _callSuper(this, BaseQRCode, [props]);\n    _this.draw = _this.draw.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(BaseQRCode, [{\n    key: \"draw\",\n    value: function draw() {\n      var _this$props = this.props,\n        value = _this$props.value,\n        style = _this$props.style,\n        displayValue = _this$props.displayValue,\n        fontSize = _this$props.fontSize;\n      (0, _jsbarcode[\"default\"])(this.refs.jsbar, value, {\n        width: 2,\n        height: parseInt(style.height) || 40,\n        displayValue: displayValue || false,\n        fontSize: fontSize || 12,\n        background: style.backgroundColor,\n        lineColor: style.color,\n        margin: 0\n      });\n    }\n  }, {\n    key: \"componentDidUpdate\",\n    value: function componentDidUpdate(prevProp) {\n      if (prevProp.QrCodeStyle !== this.props.QrCodeStyle && this.props.QrCodeStyle === 1) {\n        this.draw();\n      }\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      if (this.props.QrCodeStyle === 1) {\n        this.draw();\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        value = _this$props2.value,\n        size = _this$props2.size,\n        bgColor = _this$props2.bgColor,\n        fgColor = _this$props2.fgColor,\n        level = _this$props2.level,\n        QrCodeStyle = _this$props2.QrCodeStyle,\n        style = _this$props2.style,\n        fontSize = _this$props2.fontSize;\n      /* default value\n      size\tnumber\t128                    //size\n      bgColor\tstring  (CSS color)\t\"#FFFFFF\"  //back color\n      fgColor\tstring  (CSS color)\t\"#000000\"  //front color\n      level\tstring  ('L' 'M' 'Q' 'H')\t'L'\n      */\n\n      return QrCodeStyle === 0 ? /*#__PURE__*/_react[\"default\"].createElement(_qrcode[\"default\"], {\n        value: value,\n        size: size ? parseInt(size) : 128,\n        bgColor: bgColor || '#FFFFFF',\n        fgColor: fgColor || '#000000',\n        level: level || 'L'\n      }) : /*#__PURE__*/_react[\"default\"].createElement(\"canvas\", {\n        style: {\n          width: style.width,\n          height: (style.height ? parseInt(style.height) : 40) - fontSize - 4 + 'px'\n        },\n        ref: \"jsbar\"\n      });\n    }\n  }]);\n  return BaseQRCode;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = BaseQRCode;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/base/BaseQRCode.jsx?");

/***/ }),

/***/ "./src/component/mobile/base/Video.jsx":
/*!*********************************************!*\
  !*** ./src/component/mobile/base/Video.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = void 0;\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _Video = _interopRequireDefault(__webpack_require__(/*! ./Video.less */ \"./src/component/mobile/base/Video.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _excluded = [\"style\", \"className\", \"src\", \"autoPlay\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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; }\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// html5原生video元素支持的视频格式\nvar html5SupportVideo = [\n  // {\n  // \tvideoType: 'Ogg(ogg)',\n  // \tVideoDecoder: 'Theora',\n  // \tAudioDecoder: 'Vorbis',\n  // \tsupportBrowser: ['Firefox 3.5+', 'Opera 10.5+', 'Chrome 5.0+']\n  // },\n  // {\n  // \tvideoType: 'MPEG4(mp4)',\n  // \tVideoDecoder: 'H264',\n  // \tAudioDecoder: 'AAC',\n  // \tsupportBrowser: ['IE 9.0+', 'Chrome 5.0+', 'Safari 3.0+']\n  // },\n  // {\n  // \tvideoType: 'WebM(webm)',\n  // \tVideoDecoder: ' VP8',\n  // \tAudioDecoder: 'Vorbis',\n  // \tsupportBrowser: ['Firefox 4.0+', 'Opera 10.6+', 'Chrome 6.0+']\n  // }\n];\nvar Video = /*#__PURE__*/function (_React$Component) {\n  _inherits(Video, _React$Component);\n  function Video() {\n    _classCallCheck(this, Video);\n    return _callSuper(this, Video, arguments);\n  }\n  _createClass(Video, [{\n    key: \"play\",\n    value:\n    // 播放(重播)\n    function play() {\n      if (this.vPlay) {\n        this.vPlay.play();\n      }\n    }\n  }, {\n    key: \"pause\",\n    value: function pause() {\n      if (this.vPlay) {\n        this.vPlay.pause();\n      }\n    }\n\n    // 重新加载\n  }, {\n    key: \"load\",\n    value: function load() {\n      if (this.vPlay) {\n        this.vPlay.load();\n      }\n    }\n\n    // 终止媒体下载\n  }, {\n    key: \"removeAudio\",\n    value: function removeAudio() {\n      if (this.vPlay) {\n        this.vPlay.pause();\n        this.vPlay.src = '';\n        // or\n        this.vPlay.removeAttribute('src'); // 兼容不同浏览器\n      }\n    }\n\n    // 是否已播放结束\n  }, {\n    key: \"isEnd\",\n    value: function isEnd() {\n      if (this.vPlay) {\n        return this.vPlay.ended;\n      } else {\n        return true;\n      }\n    }\n\n    // 加载报错\n  }, {\n    key: \"onError\",\n    value: function onError(e) {\n      console.warn(\"load video fail, file url: \".concat(this.props.src));\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this = this;\n      var _this$props = this.props,\n        style = _this$props.style,\n        className = _this$props.className,\n        src = _this$props.src,\n        autoPlay = _this$props.autoPlay,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      var rootClassName = (0, _classnames[\"default\"])(className, _Video[\"default\"].video);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"video\", _extends({\n        ref: function ref(d) {\n          return _this.vPlay = d;\n        },\n        style: style,\n        className: rootClassName\n      }, others, {\n        src: src,\n        onError: function onError(e) {\n          return _this.onError(e);\n        },\n        controls: true,\n        autoPlay: autoPlay || false,\n        loop: false,\n        preload: \"auto\"\n      }), \"Your browser does not support the \", /*#__PURE__*/_react[\"default\"].createElement(\"code\", null, \"video\"), \" element.\");\n    }\n  }]);\n  return Video;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = Video;\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/base/Video.jsx?");

/***/ }),

/***/ "./src/component/mobile/base/VideoRecord.jsx":
/*!***************************************************!*\
  !*** ./src/component/mobile/base/VideoRecord.jsx ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\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); }\n__webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n__webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n__webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n__webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n__webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\nexports[\"default\"] = exports.YunZhiJiaRecord = exports.VideoRecordAssist = exports.MediaUtils = exports.Html5NativeRecord = void 0;\n__webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n__webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n__webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n__webpack_require__(/*! core-js/modules/web.url.js */ \"../../node_modules/core-js/modules/web.url.js\");\n__webpack_require__(/*! core-js/modules/web.url-search-params.js */ \"../../node_modules/core-js/modules/web.url-search-params.js\");\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"webpack/sharing/consume/default/react/react?dca2\"));\nvar _VideoRecord = _interopRequireDefault(__webpack_require__(/*! ./VideoRecord.less */ \"./src/component/mobile/base/VideoRecord.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _clientEnv = _interopRequireDefault(__webpack_require__(/*! @/plugin/clientEnv */ \"./src/plugin/clientEnv.js\"));\nvar _clientApi = _interopRequireDefault(__webpack_require__(/*! @/plugin/clientApi */ \"./src/plugin/clientApi.js\"));\nvar _GlobalDataCacher = __webpack_require__(/*! @/model/GlobalDataCacher */ \"./src/model/GlobalDataCacher.js\");\nvar _symbolConst = __webpack_require__(/*! @/constant/symbolConst */ \"./src/constant/symbolConst.js\");\nvar _excluded = [\"callType\"],\n  _excluded2 = [\"style\", \"className\"],\n  _excluded3 = [\"style\", \"className\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": 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); }\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; }\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 */\nvar VideoRecord = /*#__PURE__*/function (_React$Component) {\n  _inherits(VideoRecord, _React$Component);\n  function VideoRecord() {\n    _classCallCheck(this, VideoRecord);\n    return _callSuper(this, VideoRecord, arguments);\n  }\n  _createClass(VideoRecord, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        callType = _this$props.callType,\n        others = _objectWithoutProperties(_this$props, _excluded);\n      // test data\n      // callType = '1';\n      switch (callType) {\n        case '1':\n          return /*#__PURE__*/_react[\"default\"].createElement(Html5NativeRecord, others);\n        default:\n          return /*#__PURE__*/_react[\"default\"].createElement(YunZhiJiaRecord, others);\n      }\n    }\n  }]);\n  return VideoRecord;\n}(_react[\"default\"].Component);\nvar _default = exports[\"default\"] = VideoRecord; // 云之家小视频操作\nvar YunZhiJiaRecord = exports.YunZhiJiaRecord = /*#__PURE__*/function (_React$Component2) {\n  _inherits(YunZhiJiaRecord, _React$Component2);\n  function YunZhiJiaRecord(props) {\n    var _this;\n    _classCallCheck(this, YunZhiJiaRecord);\n    _this = _callSuper(this, YunZhiJiaRecord, [props]);\n    _this.state = {\n      tips: '' // 提示信息\n    };\n    _this._data_Record = {}; // 拍摄视频信息\n    _this._data_Upload = {}; // 上传视频信息\n    _this._data_Download = {}; // 下载的视频信息\n    _this._data_Select = {}; // 本地选择的视频信息\n\n    _this.handleClick = _this.handleClick.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(YunZhiJiaRecord, [{\n    key: \"handleClick\",\n    value: function handleClick(e) {\n      if (!_clientEnv[\"default\"].isYzj) {\n        // alert('请在云之家中运行该demo!')\n        var confirmData = {\n          msg: '请在云之家中运行该demo!'\n        };\n        (0, _GlobalDataCacher.setData)(_symbolConst.KEY_SHOW_CONFIRM_EVENT, confirmData);\n        return;\n      }\n      var that = this;\n      var key = e.target.getAttribute('id');\n      // 测绘移动端yunzhijia视频接口\n      switch (key) {\n        case 'video_startrecord':\n          // 视频录制\n          (0, _clientApi[\"default\"])('video_startRecord', {\n            callback: function callback(result) {\n              that._data_Record = result;\n              that.setState({\n                tips: \"\\u5F55\\u5236\\u5B8C\\u6210: result: \".concat(JSON.stringify(result))\n              });\n            }\n          });\n          break;\n        case 'video_upload':\n          // 视频上传\n          (0, _clientApi[\"default\"])('video_upload', {\n            data: {\n              compress: false,\n              localId: that._data_Record.localId\n            },\n            callback: function callback(result) {\n              that._data_Upload = result;\n              that.setState({\n                tips: \"\\u4E0A\\u4F20\\u5B8C\\u6210: result: \".concat(JSON.stringify(result))\n              });\n            }\n          });\n          break;\n        case 'video_download':\n          //   // 视频下载\n          (0, _clientApi[\"default\"])('video_download', {\n            data: {\n              serverId: that._data_Upload.serverId\n            },\n            callback: function callback(result) {\n              that._data_Download = result;\n              that.setState({\n                tips: \"\\u4E0B\\u8F7D\\u5B8C\\u6210\\uFF1Aresult: \".concat(JSON.stringify(result))\n              });\n            }\n          });\n          break;\n        case 'video_play':\n          // 视频播放\n          (0, _clientApi[\"default\"])('video_play', {\n            data: {\n              localId: that._data_Download.localId || that._data_Record.localId\n            },\n            callback: function callback(result) {\n              that.setState({\n                tips: \"\\u64AD\\u653E\\u5B8C\\u6210\\uFF1Aresult: \".concat(JSON.stringify(result))\n              });\n            }\n          });\n          break;\n        case 'video_select':\n          // 视频选择\n          (0, _clientApi[\"default\"])('video_select', {\n            data: {\n              maxCount: 3\n            },\n            callback: function callback(result) {\n              that.setState({\n                tips: \"\\u9009\\u62E9\\u5B8C\\u6210\\uFF1Aresult: \".concat(JSON.stringify(result))\n              });\n            }\n          });\n          break;\n      }\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props2 = this.props,\n        style = _this$props2.style,\n        className = _this$props2.className,\n        others = _objectWithoutProperties(_this$props2, _excluded2);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: style,\n        className: (0, _classnames[\"default\"])(_VideoRecord[\"default\"].video_record, className)\n      }, others), /*#__PURE__*/_react[\"default\"].createElement(\"h3\", {\n        className: _VideoRecord[\"default\"].yzj_title\n      }, \"\\u4E91\\u4E4B\\u5BB6\\u5C0F\\u89C6\\u9891\\u64CD\\u4F5Cdemo\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _VideoRecord[\"default\"].yzj_tips\n      }, this.state.tips), /*#__PURE__*/_react[\"default\"].createElement(\"div\", {\n        className: _VideoRecord[\"default\"].yzj_btn_container\n      }, /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        id: \"video_startrecord\",\n        className: _VideoRecord[\"default\"].yjz_btn,\n        onClick: this.handleClick\n      }, \"\\u5F55\\u5236\\u89C6\\u9891\"), /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        id: \"video_play\",\n        className: _VideoRecord[\"default\"].yjz_btn,\n        onClick: this.handleClick\n      }, \"\\u64AD\\u653E\\u89C6\\u9891\"), /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        id: \"video_upload\",\n        className: _VideoRecord[\"default\"].yjz_btn,\n        onClick: this.handleClick\n      }, \"\\u4E0A\\u4F20\\u89C6\\u9891\"), /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        id: \"video_download\",\n        className: _VideoRecord[\"default\"].yjz_btn,\n        onClick: this.handleClick\n      }, \"\\u4E0B\\u8F7D\\u89C6\\u9891\"), /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        id: \"video_select\",\n        className: _VideoRecord[\"default\"].yjz_btn,\n        onClick: this.handleClick\n      }, \"\\u9009\\u62E9\\u89C6\\u9891\")));\n    }\n  }]);\n  return YunZhiJiaRecord;\n}(_react[\"default\"].Component); // html5原生小视频操作(实践效果：ios系统都不支持,android系统部分支持)\nvar Html5NativeRecord = exports.Html5NativeRecord = /*#__PURE__*/function (_React$Component3) {\n  _inherits(Html5NativeRecord, _React$Component3);\n  function Html5NativeRecord(props) {\n    var _this2;\n    _classCallCheck(this, Html5NativeRecord);\n    _this2 = _callSuper(this, Html5NativeRecord, [props]);\n    _this2.state = {\n      tips: '' // 提示信息\n    };\n\n    // ['startRecord', 'endRecord', 'playRecord'].forEach(name => { this[name] = this[name].bind(this) });\n    _this2.startRecord = _this2.startRecord.bind(_assertThisInitialized(_this2));\n    _this2.endRecord = _this2.endRecord.bind(_assertThisInitialized(_this2));\n    _this2.playRecord = _this2.playRecord.bind(_assertThisInitialized(_this2));\n    return _this2;\n  }\n\n  // successCallback(stream) {\n  //     console.log('getUserMedia() got stream: ', stream);\n  //     window.stream = stream;\n  //     this.gumVideo.srcObject = stream;\n  // }\n\n  // errorCallback(error) {\n  //     console.log('navigator.getUserMedia error: ', error);\n  // }\n\n  // handleSourceOpen(event) {\n  //     console.log('MediaSource opened');\n  //     sourceBuffer = mediaSource.addSourceBuffer('video/webm; codecs=\"vp8\"');\n  //     console.log('Source buffer: ', sourceBuffer);\n  // }\n\n  // handleDataAvailable(event) {\n  //     if (event.data && event.data.size > 0) {\n  //         this.recordedBlobs.push(event.data);\n  //     }\n  // }\n\n  // handleStop(event) {\n  //     console.log('Recorder stopped: ', event);\n  // }\n\n  // toggleRecording() {\n  //     if (recordButton.textContent === 'Start Recording') {\n  //         startRecording();\n  //     } else {\n  //         stopRecording();\n  //         recordButton.textContent = 'Start Recording';\n  //         playButton.disabled = false;\n  //         downloadButton.disabled = false;\n  //     }\n  // }\n\n  // init(){\n  //     this.mediaSource = new MediaSource();\n  //     mediaSource.addEventListener('sourceopen', handleSourceOpen, false);\n  //     this.mediaRecorder;\n  //     this.recordedBlobs;\n  //     this.sourceBuffer;\n\n  //     this.gumVideo = document.querySelector('video#gum');\n  //     this.recordedVideo = document.querySelector('video#recorded');\n\n  //     this.recordButton = document.querySelector('button#record');\n  //     this.playButton = document.querySelector('button#play');\n  //     this.downloadButton = document.querySelector('button#download');\n  //     this.recordButton.onclick = toggleRecording;\n  //     this.playButton.onclick = play;\n  //     this.downloadButton.onclick = download;\n\n  //     console.log(location.host);\n  //     // window.isSecureContext could be used for Chrome\n  //     var isSecureOrigin = location.protocol === 'https:' ||\n  //         location.host.includes('localhost');\n  //     if (!isSecureOrigin) {\n  //         alert('getUserMedia() must be run from a secure origin: HTTPS or localhost.' +\n  //             '\\n\\nChanging protocol to HTTPS');\n  //         location.protocol = 'HTTPS';\n  //     }\n\n  //     var constraints = {\n  //         audio: true,\n  //         video: true\n  //     };\n\n  //     navigator.mediaDevices.getUserMedia(\n  //         constraints\n  //     ).then(\n  //         this.successCallback,\n  //         this.errorCallback\n  //     );\n  // }\n\n  // // The nested try blocks will be simplified when Chrome 47 moves to Stable\n  // startRecording() {\n  //     var options = { mimeType: 'video/webm;codecs=vp9', bitsPerSecond: 100000 };\n  //     this.recordedBlobs = [];\n  //     try {\n  //         this.mediaRecorder = new MediaRecorder(window.stream, options);\n  //     } catch (e0) {\n  //         console.log('Unable to create MediaRecorder with options Object: ', options, e0);\n  //         try {\n  //             options = { mimeType: 'video/webm;codecs=vp8', bitsPerSecond: 100000 };\n  //             this.mediaRecorder = new MediaRecorder(window.stream, options);\n  //         } catch (e1) {\n  //             console.log('Unable to create MediaRecorder with options Object: ', options, e1);\n  //             try {\n  //                 options = 'video/mp4';\n  //                 this.mediaRecorder = new MediaRecorder(window.stream, options);\n  //             } catch (e2) {\n  //                 alert('MediaRecorder is not supported by this browser.');\n  //                 console.error('Exception while creating MediaRecorder:', e2);\n  //                 return;\n  //             }\n  //         }\n  //     }\n  //     console.log('Created MediaRecorder', this.mediaRecorder, 'with options', options);\n  //     this.recordButton.textContent = 'Stop Recording';\n  //     this.playButton.disabled = true;\n  //     this.downloadButton.disabled = true;\n  //     this.mediaRecorder.onstop = handleStop;\n  //     this.mediaRecorder.ondataavailable = handleDataAvailable;\n  //     this.mediaRecorder.start(10); // collect 10ms of data\n  //     console.log('MediaRecorder started', this.mediaRecorder);\n  // }\n\n  // stopRecording() {\n  //     this.mediaRecorder.stop();\n  //     console.log('Recorded Blobs: ', recordedBlobs);\n  //     this.recordedVideo.controls = true;\n  // }\n\n  // play() {\n  //     var superBuffer = new Blob(this.recordedBlobs, { type: 'video/webm' });\n  //     this.recordedVideo.src = window.URL.createObjectURL(superBuffer);\n  // }\n\n  // download() {\n  //     var blob = new Blob(this.recordedBlobs, { type: 'video/webm' });\n  //     var url = window.URL.createObjectURL(blob);\n  //     var a = document.createElement('a');\n  //     a.style.display = 'none';\n  //     a.href = url;\n  //     a.download = 'test.webm';\n  //     document.body.appendChild(a);\n  //     a.click();\n  //     setTimeout(function() {\n  //         document.body.removeChild(a);\n  //         window.URL.revokeObjectURL(url);\n  //     }, 100);\n  // }\n\n  // componentDidMount(){\n  //     this.init();\n  // }\n\n  /* -----------------------分割线----------------------- */\n  _createClass(Html5NativeRecord, [{\n    key: \"startRecord\",\n    value: function startRecord(e) {\n      // alert('已经开始录制!')\n      var that = this;\n      VideoRecordAssist.startRecord(true, that._videoDom);\n      // 5秒后结束录制并播放\n      // setTimeout(function() {\n      //     // 结束\n      //     VideoRecordAssist.stopRecord(() => {\n      //         // 播放\n      //         VideoRecordAssist.playRecord(that._videoDom);\n      //     });\n      // }, 5000);\n    }\n  }, {\n    key: \"endRecord\",\n    value: function endRecord(e) {\n      // alert('结束录制视频!')\n      VideoRecordAssist.stopRecord();\n    }\n  }, {\n    key: \"playRecord\",\n    value: function playRecord(e) {\n      // alert('开始播放视频!')\n      var that = this;\n      // 播放\n      VideoRecordAssist.playRecord(that._videoDom);\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // 检测浏览器是否支持原生多媒体api\n      var supportVideo = navigator.mediaDevices && navigator.mediaDevices.getUserMedia;\n      this.setState({\n        tips: supportVideo ? 'good👌: 当前browser支持原生视频api调用!' : 'error❌: 当前browser不支持原生视频api调用!'\n      });\n      // console.log(`navigator.mediaDevices? ${navigator.mediaDevices?true:false}`);\n      // console.log(`navigator.mediaDevices.getUserMedia?  ${(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia)?true:false}`)\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this3 = this;\n      // 其他原生web元素打开多媒体\n      // <div>\n      //     <input type=\"file\" accept=\"image/*;capture=camera\" />\n      //     <input type=\"file\" accept=\"video/*;capture=camcorder\" />\n      //     <input type=\"file\" accept=\"audio/*;capture=microphone\" />\n      // </div>\n      // <input type=\"file\" accept=\"video/*\"/>\n\n      var _this$props3 = this.props,\n        style = _this$props3.style,\n        className = _this$props3.className,\n        others = _objectWithoutProperties(_this$props3, _excluded3);\n      var rootClassName = (0, _classnames[\"default\"])(className, _VideoRecord[\"default\"].video_record);\n      return /*#__PURE__*/_react[\"default\"].createElement(\"div\", _extends({\n        style: style,\n        className: rootClassName\n      }, others), /*#__PURE__*/_react[\"default\"].createElement(\"h3\", {\n        className: _VideoRecord[\"default\"].title\n      }, \"Html5\\u539F\\u751F\\u5C0F\\u89C6\\u9891\\u64CD\\u4F5Cdemo\"), /*#__PURE__*/_react[\"default\"].createElement(\"span\", {\n        className: _VideoRecord[\"default\"].tips\n      }, this.state.tips), /*#__PURE__*/_react[\"default\"].createElement(\"video\", {\n        ref: function ref(d) {\n          _this3._videoDom = d;\n        },\n        className: _VideoRecord[\"default\"][' ']\n      }), /*#__PURE__*/_react[\"default\"].createElement(\"div\", null, /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        className: _VideoRecord[\"default\"].btn,\n        onClick: this.startRecord\n      }, \"\\u5F55\\u5236\\u89C6\\u9891\"), /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        className: _VideoRecord[\"default\"].btn,\n        onClick: this.playRecord\n      }, \"\\u64AD\\u653E\\u89C6\\u9891\"), /*#__PURE__*/_react[\"default\"].createElement(\"button\", {\n        className: _VideoRecord[\"default\"].btn,\n        onClick: this.endRecord\n      }, \"\\u7ED3\\u675F\\u5F55\\u5236\")));\n    }\n  }]);\n  return Html5NativeRecord;\n}(_react[\"default\"].Component);\nvar VideoRecordAssist = exports.VideoRecordAssist = {\n  // 用于存放 MediaRecorder 对象和音频Track，关闭录制和关闭媒体设备需要用到\n  recorder: undefined,\n  mediaStream: undefined,\n  // 用于存放录制后的音频文件对象和录制结束回调\n  recorderFileBuffer: undefined,\n  stopRecordCallback: undefined,\n  // 用于存放是否开启了视频录制\n  videoEnabled: false,\n  // 启动录制视频 (若需要录制音频参数指定为 false 即可)\n  startRecord: function startRecord(enableVideo, videoDom) {\n    this.videoEnabled = enableVideo;\n    var that = this;\n    MediaUtils.getUserMedia(enableVideo, true, function (err, stream) {\n      if (err) {\n        throw err;\n      } else {\n        if (videoDom) {\n          videoDom.srcObject = stream;\n          // //兼容webkit内核浏览器\n          // var CompatibleURL = window.URL || window.webkitURL;\n          // //将视频流设置为video元素的源\n          // videoDom.src = CompatibleURL.createObjectURL(stream);\n          // 播放视频\n          // videoDom.play();\n          videoDom.autoplay = true;\n        }\n        // 通过 MediaRecorder 记录获取到的媒体流\n        that.recorder = new MediaRecorder(stream);\n        that.mediaStream = stream;\n        var chunks = [];\n        var startTime = 0;\n        that.recorder.ondataavailable = function (e) {\n          chunks.push(e.data);\n        };\n        that.recorder.onstop = function (e) {\n          that.recorderFileBuffer = new Blob(chunks, {\n            type: that.recorder.mimeType\n          });\n          chunks = [];\n          if (that.stopRecordCallback != null) {\n            that.stopRecordCallback();\n          }\n        };\n        that.recorder.start();\n        // that.recorder.start(3000); //收集3000ms数据\n      }\n    });\n  },\n  // 停止录制\n  stopRecord: function stopRecord(callback) {\n    this.stopRecordCallback = callback;\n    // 终止录制器\n    this.recorder.stop();\n    // 关闭媒体流\n    MediaUtils.closeStream(this.mediaStream);\n  },\n  // 播放录制的音频\n  playRecord: function playRecord(videoDom) {\n    var url = URL.createObjectURL(this.recorderFileBuffer);\n    var dom = document.createElement(this.videoEnabled ? 'video' : 'audio');\n    if (videoDom && this.videoEnabled) {\n      dom = videoDom;\n    }\n    dom.autoplay = true;\n    dom.src = url;\n    if (this.videoEnabled && !videoDom) {\n      dom.width = 640;\n      dom.height = 480;\n      dom.style.zIndex = '9999999';\n      dom.style.position = 'fixed';\n      dom.style.left = '0';\n      dom.style.right = '0';\n      dom.style.top = '0';\n      dom.style.bottom = '0';\n      dom.style.margin = 'auto';\n      dom.style.height = '100%';\n      dom.style.background = 'wheat';\n      document.body.appendChild(dom);\n    }\n    // dom.play();\n  },\n  // 发送音视频文件\n  sendRecord: function sendRecord() {\n    var data = new FormData();\n    data.append('username', 'test');\n    data.append('userfile', this.recorderFileBuffer);\n    var req = new XMLHttpRequest();\n    req.open('POST', 'http://xxx/xxx');\n    req.send(data);\n  }\n};\nvar MediaUtils = exports.MediaUtils = {\n  /**\n     * 获取用户媒体设备(处理兼容的问题)\n     * @param videoEnable {boolean} - 是否启用摄像头\n     * @param audioEnable {boolean} - 是否启用麦克风\n     * @param callback {Function} - 处理回调\n     */\n  getUserMedia: function getUserMedia(videoEnable, audioEnable, callback) {\n    navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia || window.getUserMedia || navigator.mediaDevices && navigator.mediaDevices.getUserMedia;\n    if (navigator.getUserMedia === undefined) {\n      // alert('不支持访问: getUserMedia')\n      var confirmData = {\n        msg: '不支持访问: getUserMedia',\n        msgname: 'ShowNotificationMsg',\n        type: 1\n      };\n      (0, _GlobalDataCacher.setData)(_symbolConst.KEY_SHOW_CONFIRM_EVENT, confirmData);\n    }\n    var constraints = {\n      video: videoEnable,\n      audio: audioEnable\n    };\n    if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {\n      navigator.mediaDevices.getUserMedia(constraints).then(function (stream) {\n        callback(false, stream);\n      })[\"catch\"](function (err) {\n        callback(err);\n      });\n    } else if (navigator.getUserMedia) {\n      navigator.getUserMedia(constraints, function (stream) {\n        callback(false, stream);\n      }, function (err) {\n        callback(err);\n      });\n    } else {\n      callback(new Error('....Not support userMedia....'));\n    }\n  },\n  /**\n     * 关闭媒体流\n     * @param stream {MediaStream} - 需要关闭的流\n     */\n  closeStream: function closeStream(stream) {\n    if (typeof stream.stop === 'function') {\n      stream.stop();\n    } else {\n      var trackList = [stream.getAudioTracks(), stream.getVideoTracks()];\n      for (var i = 0; i < trackList.length; i++) {\n        var tracks = trackList[i];\n        if (tracks && tracks.length > 0) {\n          for (var j = 0; j < tracks.length; j++) {\n            var track = tracks[j];\n            if (typeof track.stop === 'function') {\n              track.stop();\n            }\n          }\n        }\n      }\n    }\n  }\n};\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/base/VideoRecord.jsx?");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"QRCode-value\":\"KDQRCode_QRCode-value_1aJf\",\"QRCodeProtal\":\"KDQRCode_QRCodeProtal_21ZZ\",\"barCode\":\"KDQRCode_barCode_3EZK\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/KDQRCode.less?");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"video\":\"Video_video_3HA8\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/base/Video.less?");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"video_record\":\"VideoRecord_video_record_H297\",\"btn\":\"VideoRecord_btn_2mBs\",\"tips\":\"VideoRecord_tips_3QZ5\",\"video\":\"VideoRecord_video_299o\",\"yzj_tips\":\"VideoRecord_yzj_tips_1JG4\",\"yzj_btn_container\":\"VideoRecord_yzj_btn_container_1q-6\",\"yjz_btn\":\"VideoRecord_yjz_btn_2lSK\"});\n\n//# sourceURL=webpack://bos-platform/./src/component/mobile/base/VideoRecord.less?");

/***/ }),

/***/ "../../node_modules/react-redux/es/index.js":
/*!***********************************************************************************!*\
  !*** delegated ../../node_modules/react-redux/es/index.js from dll-reference lib ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = (__webpack_require__(/*! dll-reference lib */ \"dll-reference lib\"))(3921);\n\n//# sourceURL=webpack://bos-platform/delegated_../../node_modules/react-redux/es/index.js_from_dll-reference_lib?");

/***/ }),

/***/ "../../node_modules/xss-filters/src/xss-filters.js":
/*!******************************************************************************************!*\
  !*** delegated ../../node_modules/xss-filters/src/xss-filters.js from dll-reference lib ***!
  \******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = (__webpack_require__(/*! dll-reference lib */ \"dll-reference lib\"))(8375);\n\n//# sourceURL=webpack://bos-platform/delegated_../../node_modules/xss-filters/src/xss-filters.js_from_dll-reference_lib?");

/***/ })

}]);