UNPKG

weex-nuke

Version:

基于 Rax 、Weex 的高性能组件体系 ~~

2,935 lines 1.04 MB
;(function(fn) {
  if (typeof exports === "object" && typeof module !== "undefined") {
    module.exports = fn();
  } else if (typeof define === "function") {
    define("weex-nuke", function(require, exports, module){
      module.exports = fn();
    });
  } else {
    var root;
    if (typeof window !== "undefined") {
      root = window;
    } else if (typeof self !== "undefined") {
      root = self;
    } else if (typeof global !== "undefined") {
      root = global;
    } else {
      // NOTICE: In JavaScript strict mode, this is null
      root = this;
    }
    root["weex-nuke"] = fn();
  }
})(function(){
  return /******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = 0);
/******/ })
/************************************************************************/
/******/ ({

/***/ "./index.js":
/*!******************!*\
  !*** ./index.js ***!
  \******************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

eval("module.exports.Badge = __webpack_require__(/*! ./lib/Badge/index.js */ \"./lib/Badge/index.js\");\nmodule.exports.Button = __webpack_require__(/*! ./lib/Button/index.js */ \"./lib/Button/index.js\");\nmodule.exports.Cell = __webpack_require__(/*! ./lib/Cell/index.js */ \"./lib/Cell/index.js\");\nmodule.exports.Checkbox = __webpack_require__(/*! ./lib/Checkbox/index.js */ \"./lib/Checkbox/index.js\");\nmodule.exports.Dialog = __webpack_require__(/*! ./lib/Dialog/index.js */ \"./lib/Dialog/index.js\");\nmodule.exports.Dimensions = __webpack_require__(/*! ./lib/Dimensions/index.js */ \"./lib/Dimensions/index.js\");\nmodule.exports.Env = __webpack_require__(/*! ./lib/Env/index.js */ \"./lib/Env/index.js\");\nmodule.exports.EpTabbar = __webpack_require__(/*! ./lib/EpTabbar/index.js */ \"./lib/EpTabbar/index.js\");\nmodule.exports.Feedback = __webpack_require__(/*! ./lib/Feedback/index.js */ \"./lib/Feedback/index.js\");\nmodule.exports.Header = __webpack_require__(/*! ./lib/Header/index.js */ \"./lib/Header/index.js\");\nmodule.exports.Helper = __webpack_require__(/*! ./lib/Helper/index.js */ \"./lib/Helper/index.js\");\nmodule.exports.Icon = __webpack_require__(/*! ./lib/Icon/index.js */ \"./lib/Icon/index.js\");\nmodule.exports.Iconfont = __webpack_require__(/*! ./lib/Iconfont/index.js */ \"./lib/Iconfont/index.js\");\nmodule.exports.Image = __webpack_require__(/*! ./lib/Image/index.js */ \"./lib/Image/index.js\");\nmodule.exports.Input = __webpack_require__(/*! ./lib/Input/index.js */ \"./lib/Input/index.js\");\nmodule.exports.Layout = __webpack_require__(/*! ./lib/Layout/index.js */ \"./lib/Layout/index.js\");\nmodule.exports.Link = __webpack_require__(/*! ./lib/Link/index.js */ \"./lib/Link/index.js\");\nmodule.exports.ListView = __webpack_require__(/*! ./lib/ListView/index.js */ \"./lib/ListView/index.js\");\nmodule.exports.Mask = __webpack_require__(/*! ./lib/Mask/index.js */ \"./lib/Mask/index.js\");\nmodule.exports.Modal = __webpack_require__(/*! ./lib/Modal/index.js */ \"./lib/Modal/index.js\");\nmodule.exports.Navigator = __webpack_require__(/*! ./lib/Navigator/index.js */ \"./lib/Navigator/index.js\");\nmodule.exports.NumberPicker = __webpack_require__(/*! ./lib/NumberPicker/index.js */ \"./lib/NumberPicker/index.js\");\nmodule.exports.Page = __webpack_require__(/*! ./lib/Page/index.js */ \"./lib/Page/index.js\");\nmodule.exports.Picker = __webpack_require__(/*! ./lib/Picker/index.js */ \"./lib/Picker/index.js\");\nmodule.exports.Progress = __webpack_require__(/*! ./lib/Progress/index.js */ \"./lib/Progress/index.js\");\nmodule.exports.Radio = __webpack_require__(/*! ./lib/Radio/index.js */ \"./lib/Radio/index.js\");\nmodule.exports.RefreshControl = __webpack_require__(/*! ./lib/RefreshControl/index.js */ \"./lib/RefreshControl/index.js\");\nmodule.exports.ScrollView = __webpack_require__(/*! ./lib/ScrollView/index.js */ \"./lib/ScrollView/index.js\");\nmodule.exports.SearchBar = __webpack_require__(/*! ./lib/SearchBar/index.js */ \"./lib/SearchBar/index.js\");\nmodule.exports.Slider = __webpack_require__(/*! ./lib/Slider/index.js */ \"./lib/Slider/index.js\");\nmodule.exports.Slip = __webpack_require__(/*! ./lib/Slip/index.js */ \"./lib/Slip/index.js\");\nmodule.exports.Swipe = __webpack_require__(/*! ./lib/Swipe/index.js */ \"./lib/Swipe/index.js\");\nmodule.exports.Switch = __webpack_require__(/*! ./lib/Switch/index.js */ \"./lib/Switch/index.js\");\nmodule.exports.Tabbar = __webpack_require__(/*! ./lib/Tabbar/index.js */ \"./lib/Tabbar/index.js\");\nmodule.exports.Text = __webpack_require__(/*! ./lib/Text/index.js */ \"./lib/Text/index.js\");\nmodule.exports.ThemeProvider = __webpack_require__(/*! ./lib/ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\nmodule.exports.Touchable = __webpack_require__(/*! ./lib/Touchable/index.js */ \"./lib/Touchable/index.js\");\nmodule.exports.Transition = __webpack_require__(/*! ./lib/Transition/index.js */ \"./lib/Transition/index.js\");\nmodule.exports.Util = __webpack_require__(/*! ./lib/Util/index.js */ \"./lib/Util/index.js\");\nmodule.exports.Video = __webpack_require__(/*! ./lib/Video/index.js */ \"./lib/Video/index.js\");\nmodule.exports.View = __webpack_require__(/*! ./lib/View/index.js */ \"./lib/View/index.js\");\nmodule.exports.Web = __webpack_require__(/*! ./lib/Web/index.js */ \"./lib/Web/index.js\");\nmodule.exports.WebPicker = __webpack_require__(/*! ./lib/WebPicker/index.js */ \"./lib/WebPicker/index.js\");\n\n\n//# sourceURL=webpack:///./index.js?");

/***/ }),

/***/ "./lib/Badge/index.js":
/*!****************************!*\
  !*** ./lib/Badge/index.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _badge = __webpack_require__(/*! ./view/badge.js */ \"./lib/Badge/view/badge.js\");\n\nvar _badge2 = _interopRequireDefault(_badge);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _badge2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Badge/index.js?");

/***/ }),

/***/ "./lib/Badge/styles/index.js":
/*!***********************************!*\
  !*** ./lib/Badge/styles/index.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Badge/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    Badge: {\n      wrap: {\n        alignSelf: 'center',\n        backgroundColor: Variables['normal-bg-color'],\n        justifyContent: 'center',\n        alignItems: 'center'\n      },\n      'auto-container': {\n        flexDirection: 'row',\n        overflow: 'hidden'\n      },\n      'auto-chindren': {\n        paddingTop: Variables['auto-padding'],\n        paddingRight: Variables['auto-padding']\n      },\n      'auto-dot': {\n        position: 'absolute',\n        right: 0,\n        top: 0\n      },\n      span: {\n        alignSelf: 'center'\n      },\n      'dot-span': {\n        width: _nukeHelper.rem.caculateRemToPx(Variables['dot-size']),\n        height: _nukeHelper.rem.caculateRemToPx(Variables['dot-size']),\n        borderRadius: 999,\n        textAlign: 'center'\n      },\n      'number-span': _extends({\n        color: Variables['number-color'],\n        height: _nukeHelper.rem.caculateRemToPx(Variables['number-size']),\n        minWidth: _nukeHelper.rem.caculateRemToPx(Variables['number-size']),\n        'line-height': Variables['number-size'] }, core.padding(0, Variables['number-padding']), {\n        fontSize: Variables['number-size-text'],\n        borderRadius: Variables['number-border-radius']\n      }),\n\n      'unread-span': {\n        backgroundColor: Variables['unread-bg-color']\n      },\n      'standalone-span': {\n        position: 'static'\n      }\n    }\n  };\n}\n\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/Badge/styles/index.js?");

/***/ }),

/***/ "./lib/Badge/styles/variable.js":
/*!**************************************!*\
  !*** ./lib/Badge/styles/variable.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.Badge || {};\n  /**\n   * 徽章\n   * @namespace component\n   * @property module badge\n   * @property tag Badge-\n   * @property category component\n   */\n  var badgeVariables = {\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'number-size': core['s-4'],\n    /**\n     * padding(l, r)\n     * @property namespace size/bounding\n     */\n    'number-padding': core['s-1'],\n    /**\n     * padding(l, r)\n     * @property namespace size/bounding\n     */\n    'auto-padding': core['s-2'],\n    /**\n     * size\n     * @property namespace size/text\n     */\n    'number-size-text': core['font-size-caption'],\n    /**\n     * text\n     * @property namespace statement/normal\n     */\n    'number-color': core['color-white'],\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'dot-size': core['s-2'],\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'normal-bg-color': core['color-error-2'],\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'unread-bg-color': core['color-link-1'],\n    /**\n     * radius\n     * @property namespace size/dot\n     */\n    'dot-border-radius': '50%',\n    /**\n     * radius\n     * @property namespace size/number\n     */\n    'number-border-radius': core['s-4']\n  };\n  var variables = Object.assign(badgeVariables, ComponentCustomStyle);\n  return variables;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Badge/styles/variable.js?");

/***/ }),

/***/ "./lib/Badge/view/badge.js":
/*!*********************************!*\
  !*** ./lib/Badge/view/badge.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n * @providesModule\n */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Badge/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Badge = function (_Component) {\n  _inherits(Badge, _Component);\n\n  function Badge(props) {\n    _classCallCheck(this, Badge);\n\n    var _this = _possibleConstructorReturn(this, (Badge.__proto__ || Object.getPrototypeOf(Badge)).call(this, props));\n\n    _this.onPress = _this.onPress.bind(_this);\n    _this.renderInnerText = _this.renderInnerText.bind(_this);\n    return _this;\n  }\n\n  _createClass(Badge, [{\n    key: 'onPress',\n    value: function onPress() {\n      var onPress = this.props.onPress;\n\n      onPress && onPress();\n    }\n  }, {\n    key: 'renderInnerText',\n    value: function renderInnerText(hidden, textStyle, sup) {\n      var renderBadge = this.props.renderBadge;\n\n      if (!renderBadge) {\n        if (!hidden) {\n          return (0, _rax.createElement)(\n            _nukeText2.default,\n            { style: textStyle },\n            sup\n          );\n        }\n        return null;\n      }\n      return renderBadge();\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          max = _props.max,\n          count = _props.count,\n          type = _props.type,\n          children = _props.children,\n          always = _props.always,\n          _props$style = _props.style,\n          style = _props$style === undefined ? {} : _props$style,\n          renderBadge = _props.renderBadge;\n\n      var styles = this.props.themeStyle;\n      var sup = count;\n      var hidden = false;\n\n      sup = Number(count);\n\n      if (!isNaN(sup)) {\n        sup = sup > max ? max + '+' : count;\n        (sup === 0 || sup === '0') && !always && (hidden = true);\n      } else {\n        sup = count; // for string\n      }\n      var wrapStyle = Object.assign({}, styles.wrap, styles[type + '-span'], sup || always ? styles['number-span'] : styles['dot-span'], styles['standalone-span'], style);\n      var TextAttrArr = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight'];\n      var inheritStyle = {};\n      TextAttrArr.forEach(function (item) {\n        if (wrapStyle[item]) {\n          inheritStyle[item] = wrapStyle[item];\n        }\n      });\n      var textStyle = Object.assign({}, styles.span, sup || always ? null : styles['dot-span'], inheritStyle);\n      if (!type || type !== 'auto') {\n        return (0, _rax.createElement)(\n          _nukeView2.default,\n          { x: 'badge', style: wrapStyle },\n          !hidden ? (0, _rax.createElement)(\n            _nukeText2.default,\n            { style: textStyle },\n            sup\n          ) : null\n        );\n      }\n      var touchStyle = [styles['auto-dot']];\n      if (!renderBadge) {\n        touchStyle.unshift(wrapStyle);\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: styles['auto-container'] },\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: styles['auto-chindren'] },\n          children\n        ),\n        (0, _rax.createElement)(\n          _nukeTouchable2.default,\n          { x: 'badge', style: touchStyle, onPress: this.onPress },\n          this.renderInnerText(hidden, textStyle, sup)\n        )\n      );\n    }\n  }]);\n\n  return Badge;\n}(_rax.Component);\n\nBadge.displayName = 'Badge';\n\nBadge.propTypes = {\n  max: _rax.PropTypes.number,\n  count: _rax.PropTypes.oneOfType([_rax.PropTypes.number, _rax.PropTypes.string]),\n  type: _rax.PropTypes.oneOf(['normal', 'unread']),\n  children: _rax.PropTypes.any,\n  always: _rax.PropTypes.bool,\n  onPress: _rax.PropTypes.func,\n  themeStyle: _rax.PropTypes.object,\n  style: _rax.PropTypes.object,\n  renderBadge: _rax.PropTypes.func\n};\n\nBadge.defaultProps = {\n  max: 99,\n  count: '',\n  type: 'normal',\n  children: null,\n  always: false,\n  onPress: function onPress() {},\n  themeStyle: {},\n  style: {},\n  renderBadge: undefined\n};\n\nBadge.contextTypes = {\n  getConfig: _rax.PropTypes.func\n};\n\nvar StyledBadge = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Badge);\n\nexports.default = StyledBadge;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Badge/view/badge.js?");

/***/ }),

/***/ "./lib/BaseInput/index.js":
/*!********************************!*\
  !*** ./lib/BaseInput/index.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _util = __webpack_require__(/*! ./util.js */ \"./lib/BaseInput/util.js\");\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar BaseInput = function (_Component) {\n  _inherits(BaseInput, _Component);\n\n  function BaseInput(props, context) {\n    _classCallCheck(this, BaseInput);\n\n    var _this = _possibleConstructorReturn(this, (BaseInput.__proto__ || Object.getPrototypeOf(BaseInput)).call(this, props));\n\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    _this.getRef = _this.getRef.bind(_this);\n    _this.setNativeFormatRule = _this.setNativeFormatRule.bind(_this);\n    _this.inputHandler = _this.inputHandler.bind(_this);\n    _this.returnHandler = _this.returnHandler.bind(_this);\n    _this.changeHandler = _this.changeHandler.bind(_this);\n    _this.focusHandler = _this.focusHandler.bind(_this);\n    _this.blurHandler = _this.blurHandler.bind(_this);\n    _this.focus = _this.focus.bind(_this);\n    _this.blur = _this.blur.bind(_this);\n    return _this;\n  }\n\n  _createClass(BaseInput, [{\n    key: 'shouldComponentUpdate',\n    value: function shouldComponentUpdate(nextProps) {\n      if (nextProps.value !== null) {\n        return nextProps.value !== this.props.value || nextProps.readOnly !== this.props.readOnly || nextProps.type !== this.props.type || nextProps.disabled !== this.props.disabled || nextProps.maxLength !== this.props.maxLength || nextProps['data-style'] !== this.props['data-style'] || nextProps.style !== this.props.style || nextProps.placeholder !== this.props.placeholder;\n      }\n      return _typeof(nextProps.value) !== _typeof(this.props.value) || nextProps.readOnly !== this.props.readOnly || nextProps.type !== this.props.type || nextProps.disabled !== this.props.disabled || nextProps.maxLength !== this.props.maxLength || nextProps.style !== this.props['data-style'] || nextProps.style !== this.props.style || nextProps.placeholder !== this.props.placeholder;\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      if (_nukeEnv.isWeb) {\n        return this.refs.input.value;\n      }\n      return this.refs.input.attr.value;\n    }\n  }, {\n    key: 'getRef',\n    value: function getRef() {\n      return this.refs.input;\n    }\n  }, {\n    key: 'setNativeFormatRule',\n    value: function setNativeFormatRule(rules) {\n      this.refs.input.setTextFormatter(rules);\n    }\n  }, {\n    key: 'trigger',\n    value: function trigger(fn) {\n      if (typeof fn === 'string') fn = this.props[fn];\n      if (!(typeof fn === 'function')) return;\n\n      for (var _len = arguments.length, attrs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        attrs[_key - 1] = arguments[_key];\n      }\n\n      return fn.apply(this, attrs);\n    }\n  }, {\n    key: 'focusHandler',\n    value: function focusHandler(e) {\n      this.trigger('onFocus', e);\n    }\n  }, {\n    key: 'focus',\n    value: function focus() {\n      this.focusInput();\n    }\n  }, {\n    key: 'focusInput',\n    value: function focusInput() {\n      this.refs.input.focus && this.refs.input.focus();\n    }\n  }, {\n    key: 'blur',\n    value: function blur() {\n      this.blurInput();\n    }\n  }, {\n    key: 'blurInput',\n    value: function blurInput() {\n      this.refs.input.blur && this.refs.input.blur();\n    }\n  }, {\n    key: 'blurHandler',\n    value: function blurHandler(e) {\n      this.setState({\n        focus: false\n      });\n\n      this.trigger('onBlur', e);\n    }\n  }, {\n    key: 'returnHandler',\n    value: function returnHandler(e) {\n      if (_nukeEnv.isWeb) {\n        if (e.keyCode === 13) {\n          this.trigger('onReturn', (0, _util.genEventObject)(e));\n        }\n      } else {\n        this.trigger('onReturn', e);\n      }\n    }\n  }, {\n    key: 'inputHandler',\n    value: function inputHandler(e) {\n      this.trigger('onInput', (0, _util.getText)(e), (0, _util.genEventObject)(e));\n    }\n  }, {\n    key: 'changeHandler',\n    value: function changeHandler(e) {\n      var value = (0, _util.getText)(e);\n\n      var maxLength = this.props.maxLength;\n\n\n      if (maxLength && value && value.length > maxLength) return;\n      if ('value' in this.props) {\n        this.setState({ value: value });\n      }\n      this.trigger('onChange', value, (0, _util.genEventObject)(e));\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          value = _props.value,\n          onFocus = _props.onFocus,\n          onInput = _props.onInput,\n          onBlur = _props.onBlur,\n          readOnly = _props.readOnly,\n          disabled = _props.disabled,\n          style = _props.style,\n          maxLength = _props.maxLength,\n          multiple = _props.multiple,\n          returnKeyType = _props.returnKeyType,\n          autoFocus = _props.autoFocus,\n          fixedFont = _props.fixedFont,\n          rows = _props.rows,\n          type = _props.type,\n          placeholderColor = _props.placeholderColor,\n          others = _objectWithoutProperties(_props, ['value', 'onFocus', 'onInput', 'onBlur', 'readOnly', 'disabled', 'style', 'maxLength', 'multiple', 'returnKeyType', 'autoFocus', 'fixedFont', 'rows', 'type', 'placeholderColor']);\n\n      var attrs = {\n        onChange: this.changeHandler,\n        onInput: this.inputHandler,\n        onFocus: this.focusHandler,\n        onBlur: this.blurHandler,\n        disabled: disabled,\n        rows: rows,\n        returnKeyType: returnKeyType,\n        maxlength: maxLength,\n        readOnly: readOnly,\n        autofocus: autoFocus,\n        placeholderColor: placeholderColor,\n        style: Object.assign({}, styles.default, _nukeEnv.isWeb ? styles.defaultWeb : {}, style)\n      };\n      if (!multiple) {\n        attrs.type = type;\n      }\n      if ('value' in this.props) {\n        attrs.value = value;\n      }\n      if (_nukeEnv.isWeb) {\n        attrs.onKeyUp = this.returnHandler;\n        // keys that should not be passed\n        ['readOnly', 'autofocus'].map(function (item) {\n          if (item in attrs && !attrs[item]) {\n            delete attrs[item];\n          }\n        });\n      } else {\n        attrs.onReturn = this.returnHandler;\n        attrs['data-placeholder-color'] = placeholderColor;\n        // in multiple mode, passing returnKeyType to weex will get single line input\n        if (multiple && !this.props.onReturn) {\n          delete attrs.onReturn;\n          delete attrs.returnKeyType;\n        }\n      }\n      var inputElement = void 0;\n      if (multiple) {\n        if (_nukeEnv.isWeb) {\n          inputElement = (0, _rax.createElement)(\n            'textarea',\n            _extends({}, others, attrs, { ref: 'input' }),\n            attrs.value\n          );\n        } else {\n          inputElement = (0, _rax.createElement)('textarea', _extends({}, others, attrs, { ref: 'input' }));\n        }\n      } else {\n        inputElement = (0, _rax.createElement)('input', _extends({}, others, attrs, { ref: 'input' }));\n      }\n      return inputElement;\n    }\n  }]);\n\n  return BaseInput;\n}(_rax.Component);\n\nBaseInput.contextTypes = {\n  androidConfigs: _rax.PropTypes.any\n};\nBaseInput.defaultProps = {\n  rows: 2,\n  style: {},\n  readOnly: false\n};\nvar styles = {\n  default: {\n    backgroundColor: 'transparent',\n    borderWidth: 0,\n    color: '#000000',\n    padding: 0,\n    fontSize: 24,\n    lineHeight: 60\n  },\n  defaultWeb: {\n    width: '100%',\n    boxSizing: 'border-box',\n    outline: 'none',\n    appearance: 'none'\n  }\n};\nBaseInput.displayName = 'BaseInput';\nexports.default = BaseInput;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/BaseInput/index.js?");

/***/ }),

/***/ "./lib/BaseInput/util.js":
/*!*******************************!*\
  !*** ./lib/BaseInput/util.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.genEventObject = exports.getText = undefined;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction getText(event) {\n  var text = void 0;\n  if (_nukeEnv.isWeex) {\n    text = event.value;\n  } else {\n    text = event.target.value;\n  }\n  return text;\n}\n\nfunction genEventObject(originalEvent) {\n  var text = getText(originalEvent);\n  return {\n    nativeEvent: {\n      text: text\n    },\n    value: text,\n    target: originalEvent.target,\n    originalEvent: originalEvent\n  };\n}\n\nexports.getText = getText;\nexports.genEventObject = genEventObject;\n\n//# sourceURL=webpack:///./lib/BaseInput/util.js?");

/***/ }),

/***/ "./lib/Button/index.js":
/*!*****************************!*\
  !*** ./lib/Button/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _index = __webpack_require__(/*! ./index.native.js */ \"./lib/Button/index.native.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nvar _index3 = __webpack_require__(/*! ./index.web.js */ \"./lib/Button/index.web.js\");\n\nvar _index4 = _interopRequireDefault(_index3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Entry = _index4.default;\nif (_nukeEnv.isWeex) {\n  Entry = _index2.default;\n}\nexports.default = Entry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/index.js?");

/***/ }),

/***/ "./lib/Button/index.native.js":
/*!************************************!*\
  !*** ./lib/Button/index.native.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _button = __webpack_require__(/*! ./view/button.js */ \"./lib/Button/view/button.js\");\n\nvar _button2 = _interopRequireDefault(_button);\n\nvar _buttonGroup = __webpack_require__(/*! ./view/button-group.js */ \"./lib/Button/view/button-group.js\");\n\nvar _buttonGroup2 = _interopRequireDefault(_buttonGroup);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_button2.default.Group = _buttonGroup2.default;\n\nexports.default = _button2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/index.native.js?");

/***/ }),

/***/ "./lib/Button/index.web.js":
/*!*********************************!*\
  !*** ./lib/Button/index.web.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _button = __webpack_require__(/*! ./view/button.js */ \"./lib/Button/view/button.js\");\n\nvar _button2 = _interopRequireDefault(_button);\n\nvar _buttonGroup = __webpack_require__(/*! ./view/button-group.js */ \"./lib/Button/view/button-group.js\");\n\nvar _buttonGroup2 = _interopRequireDefault(_buttonGroup);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_button2.default.Group = _buttonGroup2.default;\n\nexports.default = _button2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/index.web.js?");

/***/ }),

/***/ "./lib/Button/styles/index.js":
/*!************************************!*\
  !*** ./lib/Button/styles/index.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _mixin = __webpack_require__(/*! ./mixin.js */ \"./lib/Button/styles/mixin.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Button/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction btnStyleMix() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  return {\n    Button: {\n      base: {\n        backgroundColor: 'transparent',\n        cursor: 'pointer',\n        justifyContent: 'center',\n        flexDirection: 'row',\n        alignSelf: 'center',\n        alignItems: 'center'\n      },\n      large: _extends({}, (0, _mixin.buttonSize)(Variables['size-l-padding-lr'], Variables['size-l-height'], Variables['size-l-font'], Variables['icon-size-l'], Variables['icon-l-margin-lr'], Variables['corner-l'], Variables['border-width-l'])),\n      small: _extends({}, (0, _mixin.buttonSize)(Variables['size-s-padding-lr'], Variables['size-s-height'], Variables['size-s-font'], Variables['icon-size-s'], Variables['icon-s-margin-lr'], Variables['corner-s'], Variables['border-width-s'])),\n      medium: _extends({}, (0, _mixin.buttonSize)(Variables['size-m-padding-lr'], Variables['size-m-height'], Variables['size-m-font'], Variables['icon-size-m'], Variables['icon-m-margin-lr'], Variables['corner-m'], Variables['border-width-m'])),\n      primary: _extends({\n        borderStyle: Variables['normal-line-style']\n      }, (0, _mixin.buttonColor)(Variables['prim-color'], Variables['prim-active-color'], Variables['prim-bg-color'], Variables['prim-active-bg-color'], Variables['prim-border-color'], Variables['prim-active-border-color'])),\n      secondary: _extends({\n        borderStyle: Variables['normal-line-style']\n      }, (0, _mixin.buttonColor)(Variables['second-color'], Variables['second-active-color'], Variables['second-bg-color'], Variables['second-active-bg-color'], Variables['second-border-color'], Variables['second-active-border-color'])),\n      normal: _extends({\n        borderStyle: Variables['normal-line-style']\n      }, (0, _mixin.buttonColor)(Variables['normal-color'], Variables['normal-active-color'], Variables['normal-bg-color'], Variables['normal-active-bg-color'], Variables['normal-border-color'], Variables['normal-active-border-color'])),\n      block: {\n        alignSelf: 'stretch'\n      },\n\n      third: _extends({}, (0, _mixin.buttonColor)(Variables['third-color'], Variables['third-active-color'], Variables['third-bg-color'], Variables['third-active-bg-color'], Variables['third-border-color'], Variables['third-active-border-color'])),\n\n      'warning-normal': _extends({\n        borderStyle: Variables['w-line-style']\n      }, (0, _mixin.buttonColor)(Variables['w-normal-color'], Variables['w-normal-active-color'], Variables['w-normal-bg-color'], Variables['w-normal-active-bg-color'], Variables['w-normal-border-color'], Variables['w-normal-active-border-color'])),\n      'warning-primary': _extends({\n        borderStyle: Variables['w-line-style']\n      }, (0, _mixin.buttonColor)(Variables['w-prim-color'], Variables['w-prim-active-color'], Variables['w-prim-bg-color'], Variables['w-prim-active-bg-color'], Variables['w-prim-border-color'], Variables['w-prim-active-border-color'])),\n      'normal-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['normal-disabled-color'], Variables['normal-disabled-bg-color'], Variables['normal-disabled-border-color'], 1)),\n      'primary-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['prim-disabled-color'], Variables['prim-disabled-bg-color'], Variables['prim-disabled-border-color'], 1)),\n      'secondary-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['second-disabled-color'], Variables['second-disabled-bg-color'], Variables['second-disabled-border-color'], 1)),\n      'third-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['third-disabled-color'], Variables['third-disabled-bg-color'], Variables['third-disabled-border-color'], 1)),\n      'warning-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['w-disabled-color'], Variables['w-disabled-bg-color'], Variables['w-disabled-border-color'], 1))\n    },\n    ButtonGroup: {\n      group: {\n        maxWidth: '750rem',\n        flexDirection: 'row'\n      },\n      'group-button': {\n        flex: 1,\n        marginRight: Variables['group-margin']\n      },\n      'group-button-last': {\n        marginRight: 0\n      },\n      'group-block': {\n        flexDirection: 'column'\n      },\n      'group-block-button': {\n        alignSelf: 'stretch'\n      }\n    }\n  };\n}\nmodule.exports = btnStyleMix;\n\n//# sourceURL=webpack:///./lib/Button/styles/index.js?");

/***/ }),

/***/ "./lib/Button/styles/mixin.js":
/*!************************************!*\
  !*** ./lib/Button/styles/mixin.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _nukeCore = __webpack_require__(/*! ../../Core/index.js */ \"./lib/Core/index.js\");\n\nfunction valueToObj(obj) {\n  Object.keys(obj).forEach(function (name) {\n    if (_typeof(obj[name]) === 'object') {\n      obj[name] = {\n        name: name,\n        raw: obj[name]\n      };\n    }\n  });\n  return obj;\n}\n\nfunction buttonColor(color, activeColor, bgColor, activeBgColor, borderColor, activeBorderColor, opacity) {\n  return valueToObj(Object.assign({\n    color: color,\n    backgroundColor: bgColor,\n    borderColor: borderColor,\n    'color:active': activeColor,\n    'backgroundColor:active': activeBgColor,\n    'borderColor:active': activeBorderColor\n  }, opacity ? { opacity: opacity } : {}));\n}\n\nfunction buttonSize() {\n  var pd = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n  var height = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  var fontSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n  var iconSize = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n  var iconMargin = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;\n  var corner = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n  var borderWidth = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : 0;\n\n  return valueToObj(_extends({\n    height: height\n  }, (0, _nukeCore.padding)(0, pd), {\n    fontSize: fontSize,\n    borderRadius: corner,\n    borderWidth: borderWidth\n  }));\n}\n\nfunction buttonDisabled(disabledColor, disabledBgColor, disabledBorderColor, disbledOpacity) {\n  return valueToObj({\n    color: disabledColor,\n    backgroundColor: disabledBgColor,\n    borderColor: disabledBorderColor,\n    opacity: disbledOpacity,\n    'color:active': disabledColor,\n    'backgroundColor:active': disabledBgColor,\n    'borderColor:active': disabledBorderColor\n  });\n}\n\nmodule.exports = {\n  buttonColor: buttonColor,\n  buttonSize: buttonSize,\n  buttonDisabled: buttonDisabled\n};\n\n//# sourceURL=webpack:///./lib/Button/styles/mixin.js?");

/***/ }),

/***/ "./lib/Button/styles/variable.js":
/*!***************************************!*\
  !*** ./lib/Button/styles/variable.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _nukeCore = __webpack_require__(/*! ../../Core/index.js */ \"./lib/Core/index.js\");\n\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Button || {};\n\n  /**\n   * 按钮\n   * @namespace component\n   * @property module button\n   * @property tag Button\n   * @property category component\n   */\n\n  var buttonVariables = {\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'size-s-height': (0, _nukeCore.vLoader)(Core['s-7']),\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'size-m-height': (0, _nukeCore.vLoader)(Core['s-8']),\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'size-l-height': (0, _nukeCore.vLoader)(Core['s-12']),\n    /**\n     * padding(l, r)\n     * @property namespace size/bounding\n     */\n    'size-s-padding-lr': (0, _nukeCore.vLoader)(Core['s-4']),\n    /**\n     * padding(l, r)\n     * @property namespace size/bounding\n     */\n    'size-m-padding-lr': (0, _nukeCore.vLoader)(Core['s-5']),\n    /**\n     * padding(l, r)\n     * @property namespace size/bounding\n     */\n    'size-l-padding-lr': (0, _nukeCore.vLoader)(Core['s-5']),\n    /**\n     * text\n     * @property namespace size/text\n     */\n    'size-l-font': (0, _nukeCore.vLoader)(Core['font-size-subhead']),\n    /**\n     * text\n     * @property namespace size/text\n     */\n    'size-m-font': (0, _nukeCore.vLoader)(Core['font-size-body-1']),\n    /**\n     * text\n     * @property namespace size/text\n     */\n    'size-s-font': (0, _nukeCore.vLoader)(Core['font-size-caption']),\n    /**\n     * margin(l, r)\n     * @property namespace size/icon\n     */\n    'icon-l-margin-lr': (0, _nukeCore.vLoader)(Core['s-2']),\n    /**\n     * margin(l, r)\n     * @property namespace size/icon\n     */\n    'icon-m-margin-lr': (0, _nukeCore.vLoader)(Core['s-1']),\n    /**\n     * margin(l, r)\n     * @property namespace size/icon\n     */\n    'icon-s-margin-lr': (0, _nukeCore.vLoader)(Core['s-1']),\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'icon-size-l': (0, _nukeCore.vLoader)(Core['icon-s']),\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'icon-size-m': (0, _nukeCore.vLoader)(Core['icon-xs']),\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'icon-size-s': (0, _nukeCore.vLoader)(Core['icon-xs']),\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'corner-l': (0, _nukeCore.vLoader)(Core['corner-1']),\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'corner-m': (0, _nukeCore.vLoader)(Core['corner-1']),\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'corner-s': (0, _nukeCore.vLoader)(Core['corner-1']),\n    /**\n     * width\n     * @property namespace size/border\n     */\n    'border-width-l': (0, _nukeCore.vLoader)(Core['line-1']),\n    /**\n     * width\n     * @property namespace size/border\n     */\n    'border-width-m': (0, _nukeCore.vLoader)(Core['line-1']),\n    /**\n     * width\n     * @property namespace size/border\n     */\n    'border-width-s': (0, _nukeCore.vLoader)(Core['line-1']),\n    /**\n     * border-style\n     * @property namespace statement\n     */\n    'normal-line-style': (0, _nukeCore.vLoader)(Core['line-solid']),\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'normal-disabled-color': (0, _nukeCore.vLoader)(Core['color-text1-1']),\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'normal-disabled-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'normal-disabled-border-color': (0, _nukeCore.vLoader)(Core['color-line1-1']),\n    /**\n     * color\n     * @property namespace statement/normal\n     */\n    'normal-color': (0, _nukeCore.vLoader)(Core['color-text1-3']),\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'normal-bg-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'normal-border-color': (0, _nukeCore.vLoader)(Core['color-line1-2']),\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n    'normal-active-color': (0, _nukeCore.vLoader)(Core['color-text1-3']),\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'normal-active-border-color': (0, _nukeCore.vLoader)(Core['color-line1-2']),\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'normal-active-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n    /**\n     * text\n     * @property namespace statement/normal\n     */\n    'prim-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'prim-bg-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'prim-border-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n    'prim-active-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'prim-active-bg-color': (0, _nukeCore.vLoader)(Core['color-brand1-9']),\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'prim-active-border-color': (0, _nukeCore.vLoader)(Core['color-brand1-9']),\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'prim-disabled-color': (0, _nukeCore.vLoader)(Core['color-text1-1']),\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'prim-disabled-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'prim-disabled-border-color': (0, _nukeCore.vLoader)(Core['color-line1-1']),\n    /**\n     * text\n     * @property namespace statement/normal\n     */\n    'second-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'second-bg-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'second-border-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n    'second-active-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'second-active-bg-color': (0, _nukeCore.vLoader)(Core['color-brand1-1']),\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'second-active-border-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'second-disabled-color': (0, _nukeCore.vLoader)(Core['color-text1-1']),\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'second-disabled-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'second-disabled-border-color': (0, _nukeCore.vLoader)(Core['color-line1-1']),\n    /**\n     * text\n     * @property namespace statement/normal\n     */\n    'third-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'third-bg-color': (0, _nukeCore.vLoader)(Core['color-brand1-9']),\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'third-border-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n    'third-active-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'third-active-bg-color': (0, _nukeCore.vLoader)(Core['color-brand1-9']),\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'third-active-border-color': (0, _nukeCore.vLoader)(Core['color-brand1-6']),\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'third-disabled-color': (0, _nukeCore.vLoader)(Core['color-text1-1']),\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'third-disabled-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'third-disabled-border-color': (0, _nukeCore.vLoader)(Core['color-line1-1']),\n\n    /**\n     * border-style\n     * @property namespace statement\n     */\n    'w-line-style': (0, _nukeCore.vLoader)(Core['line-solid']),\n    /**\n     * text\n     * @property namespace statement\n     */\n    'w-normal-color': (0, _nukeCore.vLoader)(Core['color-error-2']),\n    /**\n     * background\n     * @property namespace statement\n     */\n    'w-normal-bg-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * border\n     * @property namespace statement\n     */\n    'w-normal-border-color': (0, _nukeCore.vLoader)(Core['color-error-2']),\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n    'w-normal-active-color': (0, _nukeCore.vLoader)(Core['color-error-2']),\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'w-normal-active-bg-color': (0, _nukeCore.vLoader)(Core['color-error-3']),\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'w-normal-active-border-color': (0, _nukeCore.vLoader)(Core['color-error-2']),\n\n    /**\n     * text\n     * @property namespace statement\n     */\n    'w-prim-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * background\n     * @property namespace statement\n     */\n    'w-prim-bg-color': (0, _nukeCore.vLoader)(Core['color-error-2']),\n    /**\n     * border\n     * @property namespace statement\n     */\n    'w-prim-border-color': (0, _nukeCore.vLoader)(Core['color-error-2']),\n    /**\n     * text\n     * @property namespace statement/active\n     */\n    'w-prim-active-color': (0, _nukeCore.vLoader)(Core['color-white']),\n    /**\n     * background\n     * @property namespace statement/active\n     */\n    'w-prim-active-bg-color': (0, _nukeCore.vLoader)(Core['color-error-3']),\n    /**\n     * border\n     * @property namespace statement/active\n     */\n    'w-prim-active-border-color': (0, _nukeCore.vLoader)(Core['color-error-2']),\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'w-prim-disabled-color': (0, _nukeCore.vLoader)(Core['color-text1-1']),\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'w-prim-disabled-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'w-prim-disabled-border-color': (0, _nukeCore.vLoader)(Core['color-line1-1']),\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'w-disabled-color': (0, _nukeCore.vLoader)(Core['color-text1-1']),\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'w-disabled-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'w-disabled-border-color': (0, _nukeCore.vLoader)(Core['color-line1-1']),\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'icon-l-size': (0, _nukeCore.vLoader)(Core['icon-l']),\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'icon-m-size': (0, _nukeCore.vLoader)(Core['icon-m']),\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'icon-s-size': (0, _nukeCore.vLoader)(Core['icon-s']),\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'icon-l-height': (0, _nukeCore.vLoader)(Core['s-10']),\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'icon-m-height': (0, _nukeCore.vLoader)(Core['s-7']),\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'icon-s-height': (0, _nukeCore.vLoader)(Core['s-5']),\n    /**\n     * group-margin\n     * @property namespace size/bounding\n     */\n    'group-margin': (0, _nukeCore.vLoader)(Core['s-2'])\n  };\n\n  // should alway use var statement to carray a assigngg\n  var variable = Object.assign(buttonVariables, ComponentCustomStyle);\n\n  return variable;\n}\n\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Button/styles/variable.js?");

/***/ }),

/***/ "./lib/Button/view/button-group.js":
/*!*****************************************!*\
  !*** ./lib/Button/view/button-group.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Button/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ButtonGroup = function (_Component) {\n  _inherits(ButtonGroup, _Component);\n\n  function ButtonGroup() {\n    _classCallCheck(this, ButtonGroup);\n\n    return _possibleConstructorReturn(this, (ButtonGroup.__proto__ || Object.getPrototypeOf(ButtonGroup)).apply(this, arguments));\n  }\n\n  _createClass(ButtonGroup, [{\n    key: 'getButtons',\n    value: function getButtons(styles) {\n      var buttons = [];\n      var _props = this.props,\n          block = _props.block,\n          children = _props.children;\n\n      children.forEach(function (btn, index) {\n        if ((0, _rax.isValidElement)(btn)) {\n          buttons.push((0, _rax.cloneElement)(btn, {\n            style: Object.assign({}, btn.props.style, block ? styles['group-block-button'] : styles['group-button'], index + 1 === children.length ? styles['group-button-last'] : {})\n          }));\n        }\n      });\n      return buttons;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props2 = this.props,\n          block = _props2.block,\n          _props2$style = _props2.style,\n          style = _props2$style === undefined ? {} : _props2$style,\n          others = _objectWithoutProperties(_props2, ['block', 'style']);\n\n      var styles = this.props.themeStyle;\n      var wrapStyle = Object.assign({}, styles.group, block ? styles['group-block'] : {}, style);\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        _extends({}, others, { style: wrapStyle }),\n        this.getButtons(styles)\n      );\n    }\n  }]);\n\n  return ButtonGroup;\n}(_rax.Component);\n\nButtonGroup.propTypes = {\n  rect: _rax.PropTypes.bool,\n  block: _rax.PropTypes.bool,\n  fixed: _rax.PropTypes.bool,\n  style: _rax.PropTypes.any,\n  children: _rax.PropTypes.node,\n  themeStyle: _rax.PropTypes.object\n};\nButtonGroup.defaultProps = {\n  rect: false,\n  block: false,\n  fixed: false,\n  shape: 'normal',\n  style: {},\n  children: {},\n  themeStyle: {}\n};\nButtonGroup.contextTypes = {\n  parentPath: _rax.PropTypes.any,\n  parentStyle: _rax.PropTypes.any,\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\nButtonGroup.displayName = 'ButtonGroup';\n\nvar StyledButtonGroup = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(ButtonGroup);\n\nexports.default = StyledButtonGroup;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/view/button-group.js?");

/***/ }),

/***/ "./lib/Button/view/button.js":
/*!***********************************!*\
  !*** ./lib/Button/view/button.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeIcon = __webpack_require__(/*! ../../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Button/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// 下面的属性需要在Text上手工继承\nvar TextAttrArr = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight'];\nvar ActiveAttr = ['color', 'backgroundColor', 'borderColor'];\nvar LoadingPic = 'https://img.alicdn.com/tfs/TB179d4LpXXXXaUXVXXXXXXXXXX-32-32.gif?getAvatar=avatar';\n\nvar Button = function (_Component) {\n  _inherits(Button, _Component);\n\n  function Button(props) {\n    _classCallCheck(this, Button);\n\n    var _this = _possibleConstructorReturn(this, (Button.__proto__ || Object.getPrototypeOf(Button)).call(this, props));\n\n    _this.onPress = _this.onPress.bind(_this);\n    _this.onTextPress = _this.onTextPress.bind(_this);\n    return _this;\n  }\n\n  _createClass(Button, [{\n    key: 'onPress',\n    value: function onPress(e) {\n      if (this.props.disabled) return;\n      this.props.onPress(e);\n    }\n  }, {\n    key: 'onTextPress',\n    value: function onTextPress(e) {\n      if (this.props.disabled) return;\n      if (_nukeEnv.isWeb) {\n        e.stopPropagation();\n      }\n      this.props.onPress(e);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          size = _props.size,\n          shape = _props.shape,\n          type = _props.type,\n          style = _props.style,\n          disabled = _props.disabled,\n          block = _props.block,\n          loading = _props.loading,\n          icon = _props.icon,\n          text = _props.text,\n          warning = _props.warning,\n          children = _props.children,\n          others = _objectWithoutProperties(_props, ['size', 'shape', 'type', 'style', 'disabled', 'block', 'loading', 'icon', 'text', 'warning', 'children']);\n\n      var s = this.props.themeStyle;\n      var btnStyle = {};\n      var textStyle = {};\n      var iconSrc = loading ? LoadingPic : icon || null;\n\n      var isWarning = shape === 'warning' || warning;\n      // 伪类有默认样式了,如果伪类的样式没传,需要和原来的一样\n      ActiveAttr.forEach(function (item) {\n        if (style && style[item] && !style[item + ':active']) {\n          style[item + ':active'] = style[item];\n        }\n      });\n      btnStyle = Object.assign({}, s.base, type ? s['' + type] : {}, isWarning ? s['warning-' + type] : {}, disabled && type ? s[type + '-disabled'] : {}, isWarning && disabled ? s['warning-disabled'] : {}, loading ? s['loading '] : {}, size ? s['' + size] : {}, block ? s.block : {}, style);\n\n      TextAttrArr.forEach(function (item) {\n        if (btnStyle[item]) {\n          textStyle[item] = btnStyle[item];\n        }\n        if (btnStyle[item + ':active']) {\n          textStyle[item + ':active'] = btnStyle[item + ':active'];\n        }\n      });\n\n      return (0, _rax.createElement)(\n        _nukeTouchable2.default,\n        _extends({ onPress: this.onPress, style: btnStyle }, others),\n        iconSrc ? (0, _rax.createElement)(_nukeIcon2.default, { size: 'xs', src: iconSrc, style: { marginRight: 10 } }) : null,\n        typeof children === 'string' ? (0, _rax.createElement)(\n          _nukeText2.default,\n          { style: textStyle, onClick: this.onTextPress },\n          children\n        ) : children\n      );\n    }\n  }]);\n\n  return Button;\n}(_rax.Component);\n\nButton.displayName = 'Button';\nButton.propTypes = _extends({}, _nukeTouchable2.default.propTypes, {\n  type: _rax.PropTypes.oneOf(['normal', 'primary', 'secondary', 'third']),\n  size: _rax.PropTypes.oneOf(['small', 'medium', 'large']),\n  shape: _rax.PropTypes.oneOf(['warning']),\n  onPress: _rax.PropTypes.func,\n  block: _rax.PropTypes.boolean,\n  loading: _rax.PropTypes.boolean,\n  warning: _rax.PropTypes.boolean,\n  style: _rax.PropTypes.any,\n  disabled: _rax.PropTypes.boolean\n});\n\nButton.defaultProps = {\n  shape: null,\n  type: 'normal',\n  size: 'medium',\n  onPress: function onPress() {},\n  block: false,\n  warning: false,\n  loading: false,\n  style: {},\n  disabled: false\n};\nButton.contextTypes = {\n  parentPath: _rax.PropTypes.any,\n  parentStyle: _rax.PropTypes.any,\n  androidConfigs: _rax.PropTypes.any,\n  getConfig: _rax.PropTypes.func\n};\nvar StyledButton = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Button);\n\nexports.default = StyledButton;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/view/button.js?");

/***/ }),

/***/ "./lib/Cell/index.js":
/*!***************************!*\
  !*** ./lib/Cell/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Cell = (_temp = _class = function (_Component) {\n  _inherits(Cell, _Component);\n\n  function Cell() {\n    _classCallCheck(this, Cell);\n\n    return _possibleConstructorReturn(this, (Cell.__proto__ || Object.getPrototypeOf(Cell)).apply(this, arguments));\n  }\n\n  _createClass(Cell, [{\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          _props$append = _props.append,\n          append = _props$append === undefined ? 'tree' : _props$append,\n          others = _objectWithoutProperties(_props, ['append']);\n\n      if (_nukeEnv.isWeex && this.context.isInARecyclerView) {\n        return (0, _rax.createElement)('cell', _extends({ append: append }, others));\n      }\n      return (0, _rax.createElement)(_nukeView2.default, others);\n    }\n  }]);\n\n  return Cell;\n}(_rax.Component), _class.contextTypes = {\n  isInARecyclerView: _rax.PropTypes.bool\n}, _temp);\nexports.default = Cell;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Cell/index.js?");

/***/ }),

/***/ "./lib/Checkbox/index.js":
/*!*******************************!*\
  !*** ./lib/Checkbox/index.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _checkbox = __webpack_require__(/*! ./view/checkbox.js */ \"./lib/Checkbox/view/checkbox.js\");\n\nvar _checkbox2 = _interopRequireDefault(_checkbox);\n\nvar _checkboxGroup = __webpack_require__(/*! ./view/checkbox-group.js */ \"./lib/Checkbox/view/checkbox-group.js\");\n\nvar _checkboxGroup2 = _interopRequireDefault(_checkboxGroup);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_checkbox2.default.Group = _checkboxGroup2.default;\n\nexports.default = _checkbox2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Checkbox/index.js?");

/***/ }),

/***/ "./lib/Checkbox/styles/index.js":
/*!**************************************!*\
  !*** ./lib/Checkbox/styles/index.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Checkbox/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar caculateRemToPx = _nukeHelper.rem.caculateRemToPx;\nvar alignCenter = _nukeHelper.layout.alignCenter;\n\nfunction StyleMix() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    Checkbox: {\n      // / type = normal\n      'wrap-normal-small': _extends({}, core.border(Variables['normal-border-width'], Variables['normal-border-style'], Variables['normal-border-color']), {\n        height: caculateRemToPx(Variables['small-size-height']),\n        width: caculateRemToPx(Variables['small-size-width'])\n      }, alignCenter()),\n      'wrap-normal-medium': _extends({}, core.border(Variables['normal-border-width'], Variables['normal-border-style'], Variables['normal-border-color']), {\n        height: caculateRemToPx(Variables['medium-size-height']),\n        width: caculateRemToPx(Variables['medium-size-width'])\n      }, alignCenter()),\n      'normal-checked': {\n        borderColor: Variables['normal-border-color-selected'],\n        color: Variables['normal-icon-color-selected'],\n        backgroundColor: Variables['normal-bg-color-selected']\n      },\n      disabled: {\n        opacity: 1,\n        borderColor: Variables['normal-border-color-disabled'],\n        backgroundColor: Variables['normal-bg-color-disabled'],\n        color: Variables['normal-icon-color-disabled']\n      },\n      'checked-disabled': {\n        opacity: 1,\n        borderColor: Variables['normal-border-color-checked-disabled'],\n        backgroundColor: Variables['normal-bg-color-checked-disabled'],\n        color: Variables['normal-icon-color-checked-disabled']\n      },\n      // / type = empty\n      'wrap-empty-small': _extends({}, core.border(Variables['empty-border-width'], Variables['empty-border-style'], Variables['empty-border-color']), {\n        height: caculateRemToPx(Variables['small-size-height']),\n        width: caculateRemToPx(Variables['small-size-width'])\n      }, alignCenter()),\n      'wrap-empty-medium': _extends({}, core.border(Variables['empty-border-width'], Variables['empty-border-style'], Variables['empty-border-color']), {\n        height: caculateRemToPx(Variables['medium-size-height']),\n        width: caculateRemToPx(Variables['medium-size-width'])\n      }, alignCenter()),\n      'empty-checked': _extends({}, core.border(Variables['empty-border-width'], Variables['empty-border-style'], Variables['empty-border-color-selected']), {\n        color: Variables['empty-icon-color-selected'],\n        backgroundColor: '#ffffff'\n      }),\n      // / type = list\n\n      'wrap-list-small': _extends({\n        // ...core.border(\n        //   Variables['list-border-width'],\n        //   Variables['list-border-style'],\n        //   Variables['list-border-color']\n        // ),\n        border: 'none',\n        height: Variables['small-size-height'],\n        width: Variables['small-size-width']\n      }, alignCenter()),\n      'wrap-list-medium': _extends({\n        // ...core.border(\n        //   Variables['list-border-width'],\n        //   Variables['list-border-style'],\n        //   Variables['list-border-color']\n        // ),\n        border: 'none',\n        height: Variables['medium-size-height'],\n        width: Variables['medium-size-width']\n      }, alignCenter()),\n\n      'list-checked': {\n        color: Variables['list-icon-color-selected']\n        // backgroundColor: '#ffffff',\n      },\n\n      'list-disabled': {\n        opacity: 1,\n        backgroundColor: 'transparent',\n        color: Variables['normal-icon-color-disabled']\n      },\n      medium: {\n        backgroundColor: 'transparent',\n        fontSize: caculateRemToPx(Variables['medium-icon-size']),\n        lineHeight: caculateRemToPx(Variables['medium-icon-size']),\n        borderRadius: Variables['medium-border-radius']\n      },\n      small: {\n        backgroundColor: 'transparent',\n        fontSize: caculateRemToPx(Variables['small-icon-size']),\n        lineHeight: caculateRemToPx(Variables['small-icon-size']),\n        borderRadius: Variables['small-border-radius']\n      },\n      'touch-small': _extends({\n        width: Variables['small-touch-width'],\n        height: Variables['small-touch-height'],\n        lineHeight: Variables['small-touch-height']\n      }, alignCenter()),\n      'touch-medium': _extends({\n        width: Variables['medium-touch-width'],\n        height: Variables['medium-touch-height'],\n        lineHeight: Variables['medium-touch-height']\n      }, alignCenter())\n    },\n    CheckboxGroup: {\n      group: {\n        display: 'flex',\n        flexDirection: 'row',\n        marginTop: 5\n      },\n      'group-small-text': {\n        marginLeft: 5,\n        lineHeight: Variables['small-touch-height']\n      },\n      'group-medium-text': {\n        marginLeft: 5,\n        lineHeight: Variables['medium-touch-height']\n      }\n    }\n  };\n}\n\nexports.default = StyleMix;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Checkbox/styles/index.js?");

/***/ }),

/***/ "./lib/Checkbox/styles/variable.js":
/*!*****************************************!*\
  !*** ./lib/Checkbox/styles/variable.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Checkbox;\n\n  /**\n   * 复选框\n   * @namespace component\n   * @property module checkbox\n   * @property tag Checkbox\n   * @property category component\n   */\n\n  var checkboxVaribles = {\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'medium-size-width': Core['s-6'],\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'medium-size-height': Core['s-6'],\n\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'medium-icon-size': Core['icon-s'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'medium-span-text': Core['icon-s'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'small-size-width': Core['s-5'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'small-size-height': Core['s-5'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'small-icon-size': Core['icon-xs'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'small-icon-text': Core['icon-xs'],\n\n    /**\n     * width\n     * @property namespace size/border\n     */\n    'normal-border-width': Core['line-1'],\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'normal-border-color': Core['color-line1-3'],\n\n    /**\n     * border-style\n     * @property namespace statement/normal\n     */\n    'normal-border-style': Core['line-solid'],\n\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'small-border-radius': 999,\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'medium-border-radius': 999,\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'normal-bg-color': Core['color-white'],\n    /**\n     * icon\n     * @property namespace statement/selected\n     */\n    'normal-icon-color-selected': Core['color-white'],\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'normal-border-color-selected': Core['color-brand1-6'],\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'normal-bg-color-selected': Core['color-brand1-6'],\n\n    /**\n     * icon\n     * @property namespace statement/disabled\n     */\n    'normal-icon-color-disabled': Core['color-text1-1'],\n\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'normal-border-color-disabled': Core['color-line1-4'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'normal-bg-color-disabled': Core['color-white'],\n    /**\n     * icon\n     * @property namespace statement/disabled\n     */\n    'normal-icon-color-checked-disabled': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'normal-border-color-checked-disabled': Core['color-line1-4'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'normal-bg-color-checked-disabled': Core['color-line1-4'],\n\n    /**\n     * icon\n     * @property namespace statement/selected\n     */\n    'list-icon-color-selected': Core['color-brand1-6'],\n    /**\n     * icon\n     * @property namespace statement/disabled\n     */\n    'list-icon-color-disabled': Core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'list-border-color-disabled': Core['color-line1-2'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'list-bg-color-disabled': Core['color-fill1-1'],\n    /**\n     * border\n     * @property namespace size/border\n     */\n    'list-border-color': Core.transparent,\n    /**\n     * border-width\n     * @property namespace size/border\n     */\n    'empty-border-width': Core['line-2'],\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'empty-border-color': Core['color-white'],\n    /**\n     * border-style\n     * @property namespace statement/normal\n     */\n    'empty-border-style': Core['line-solid'],\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'empty-border-radius': Core['corner-radius-circle'],\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'empty-bg-color': Core['color-black'],\n    /**\n     * icon\n     * @property namespace statement/selected\n     */\n    'empty-icon-color-selected': Core['color-brand1-6'],\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'empty-border-color-selected': Core['color-brand1-6'],\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'empty-bg-color-selected': Core['color-brand1-6'],\n    /**\n     * icon\n     * @property namespace statement/disabled\n     */\n    'empty-icon-color-disabled': Core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'empty-border-color-disabled': Core['color-line1-2'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'empty-bg-color-disabled': Core['color-fill1-1'],\n\n    /**\n     * width\n     * @property namespace size/touch\n     */\n    'medium-touch-width': Core['s-11'],\n\n    /**\n     * height\n     * @property namespace size/touch\n     */\n    'medium-touch-height': Core['s-11'],\n    /**\n     * width\n     * @property namespace size/touch\n     */\n    'small-touch-width': Core['s-11'],\n    /**\n     * height\n     * @property namespace size/touch\n     */\n    'small-touch-height': Core['s-11']\n  };\n  var variables = Object.assign(checkboxVaribles, ComponentCustomStyle);\n  return variables;\n}\n\nexports.default = VariableMix;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Checkbox/styles/variable.js?");

/***/ }),

/***/ "./lib/Checkbox/view/checkbox-group.js":
/*!*********************************************!*\
  !*** ./lib/Checkbox/view/checkbox-group.js ***!
  \*********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _checkbox = __webpack_require__(/*! ./checkbox.js */ \"./lib/Checkbox/view/checkbox.js\");\n\nvar _checkbox2 = _interopRequireDefault(_checkbox);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Checkbox/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction filterValue(selectedValue, value) {\n  return selectedValue.filter(function (v) {\n    return v !== value;\n  });\n}\n/**\n * Checkbox.group\n */\n\nvar CheckboxGroup = function (_Component) {\n  _inherits(CheckboxGroup, _Component);\n\n  function CheckboxGroup(props) {\n    _classCallCheck(this, CheckboxGroup);\n\n    var _this = _possibleConstructorReturn(this, (CheckboxGroup.__proto__ || Object.getPrototypeOf(CheckboxGroup)).call(this, props));\n\n    _this.onChange = _this.onChange.bind(_this);\n    _this.displayName = 'CheckboxGroup';\n    return _this;\n  }\n\n  _createClass(CheckboxGroup, [{\n    key: 'getChildContext',\n    value: function getChildContext() {\n      return {\n        __group__: true,\n        onChange: this.onChange,\n        value: this.props.value\n      };\n    }\n  }, {\n    key: 'onChange',\n    value: function onChange(value, checked) {\n      var selectedValue = this.props.value;\n      if (checked) {\n        selectedValue = selectedValue.concat(value);\n      } else {\n        selectedValue = filterValue(selectedValue, value);\n      }\n      this.props.onChange && this.props.onChange(selectedValue);\n    }\n  }, {\n    key: 'wrapPress',\n    value: function wrapPress(value) {\n      var checked = this.props.value.indexOf(value) === -1;\n      this.onChange(value, checked);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var children = this.props.children;\n      var _props = this.props,\n          _props$dataSource = _props.dataSource,\n          dataSource = _props$dataSource === undefined ? [] : _props$dataSource,\n          style = _props.style,\n          size = _props.size,\n          themeStyle = _props.themeStyle,\n          renderItem = _props.renderItem,\n          groupItemStyle = _props.groupItemStyle,\n          reverse = _props.reverse,\n          labelStyle = _props.labelStyle;\n\n      var groupStyle = Object.assign({}, themeStyle.group, groupItemStyle);\n\n      var textStyle = Object.assign(size === 'small' ? themeStyle['group-small-text'] : themeStyle['group-medium-text'], labelStyle);\n\n      if (!children) {\n        children = dataSource.map(function (item, index) {\n          if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) !== 'object') {\n            item = { label: item, value: item, index: index };\n          }\n\n          var _item = item,\n              label = _item.label,\n              value = _item.value,\n              disabled = _item.disabled,\n              others = _objectWithoutProperties(_item, ['label', 'value', 'disabled']);\n\n          if (label && !renderItem) {\n            var labelGroup = [(0, _rax.createElement)(_checkbox2.default, { disabled: disabled, size: size, value: value, onChange: function onChange() {\n                return _this2.onChange();\n              } }), (0, _rax.createElement)(\n              _nukeText2.default,\n              { style: textStyle },\n              label\n            )];\n            if (reverse) {\n              labelGroup = labelGroup.reverse();\n            }\n            return (0, _rax.createElement)(\n              _nukeTouchable2.default,\n              { style: [groupStyle, style], onPress: function onPress() {\n                  return _this2.wrapPress(value);\n                } },\n              labelGroup\n            );\n          } else if (label && renderItem) {\n            return typeof renderItem === 'function' ? renderItem(item, _this2.onChange) : null;\n          }\n          return (0, _rax.createElement)(_checkbox2.default, _extends({}, others, { disabled: disabled, checked: value }));\n        });\n      }\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: style },\n        children\n      );\n    }\n  }]);\n\n  return CheckboxGroup;\n}(_rax.Component);\n\nCheckboxGroup.displayName = 'CheckboxGroup';\nCheckboxGroup.propTypes = {\n  /**\n   * 多选类型的数据源\n   */\n  dataSource: _rax.PropTypes.array,\n  /**\n   * 选择回调\n   */\n  onChange: _rax.PropTypes.func,\n  /**\n   * 选中value,配合dataSource的value字段使用\n   */\n  value: _rax.PropTypes.array,\n  style: _rax.PropTypes.object,\n  size: _rax.PropTypes.string,\n  themeStyle: _rax.PropTypes.object,\n  /**\n   * 反转label与checkbox的显示顺序\n   */\n  reverse: _rax.PropTypes.bool,\n  children: _rax.PropTypes.any,\n  renderItem: _rax.PropTypes.func,\n  /**\n   * group子元素的外观样式\n   */\n  groupItemStyle: _rax.PropTypes.object,\n  /**\n   * group 子元素的label文案样式\n   */\n  labelStyle: _rax.PropTypes.object\n};\n\nCheckboxGroup.defaultProps = {\n  dataSource: [],\n  onChange: function onChange() {},\n  value: [],\n  style: {},\n  size: 'small',\n  themeStyle: {},\n  reverse: false,\n  groupItemStyle: {},\n  labelStyle: {}\n};\nCheckboxGroup.childContextTypes = {\n  onChange: _rax.PropTypes.func,\n  __group__: _rax.PropTypes.bool,\n  value: _rax.PropTypes.any\n};\nexports.default = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(CheckboxGroup);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Checkbox/view/checkbox-group.js?");

/***/ }),

/***/ "./lib/Checkbox/view/checkbox.js":
/*!***************************************!*\
  !*** ./lib/Checkbox/view/checkbox.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeIcon = __webpack_require__(/*! ../../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Checkbox/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar TextAttrArr = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight'];\n/**\n * Checkbox\n * @description  复选框处理\n */\n\nvar Checkbox = function (_Component) {\n  _inherits(Checkbox, _Component);\n\n  function Checkbox(props, context) {\n    _classCallCheck(this, Checkbox);\n\n    var _this = _possibleConstructorReturn(this, (Checkbox.__proto__ || Object.getPrototypeOf(Checkbox)).call(this, props));\n\n    _this.onChange = _this.onChange.bind(_this);\n    var checked = void 0;\n    if (context.value && context.value.indexOf(props.value) > -1 && !_this.props.ignoreContext) {\n      checked = props.value;\n    } else if ('checked' in props) checked = props.checked;else checked = props.defaultChecked;\n    _this.state = {\n      checked: checked\n    };\n    return _this;\n  }\n\n  _createClass(Checkbox, [{\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps, nextContext) {\n      if (this.context.__group__ && !this.props.ignoreContext) {\n        if (_typeof(nextContext.value) === 'object' && nextContext.value.indexOf(nextProps.value) > -1) {\n          this.setState({\n            checked: true\n          });\n        } else {\n          this.setState({\n            checked: false\n          });\n        }\n      } else if ('checked' in nextProps) {\n        if (nextProps.checked != this.props.checked) {\n          // if(this.props.disabled)\n          //     return;\n          this.setState({\n            checked: nextProps.checked\n          });\n        }\n      }\n    }\n  }, {\n    key: 'onChange',\n    value: function onChange(e) {\n      var _props = this.props,\n          onChange = _props.onChange,\n          disabled = _props.disabled,\n          value = _props.value;\n\n\n      if (disabled) return;\n      var tmp = this.state.checked;\n\n      if (this.context && this.context.__group__ && !this.props.ignoreContext) {\n        this.context.onChange(value, !tmp, value);\n      } else if (!('checked' in this.props)) {\n        this.setState({\n          checked: !tmp\n        });\n      }\n      onChange(!tmp);\n      e.stopPropagation && e.stopPropagation();\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props2 = this.props,\n          size = _props2.size,\n          style = _props2.style,\n          disabled = _props2.disabled,\n          type = _props2.type,\n          checkedStyle = _props2.checkedStyle,\n          unCheckedStyle = _props2.unCheckedStyle,\n          touchStyle = _props2.touchStyle,\n          themeStyle = _props2.themeStyle;\n\n      var checked = this.state.checked;\n      var elementTouchStyle = Object.assign({}, themeStyle['touch-' + size], touchStyle);\n      var checkedStyleAll = Object.assign({}, themeStyle[size], themeStyle[type + '-checked'], checkedStyle);\n\n      var unCheckedStyleAll = Object.assign({}, themeStyle[size], themeStyle['wrap-' + type + '-' + size], style, unCheckedStyle);\n\n      var disabledStyle = {};\n      if (type === 'list') {\n        // list的disable样式区别于其他两种\n        disabledStyle = themeStyle['list-disabled'];\n      } else if (checked) {\n        disabledStyle = themeStyle['checked-disabled'];\n      } else {\n        disabledStyle = themeStyle.disabled;\n      }\n      var iconWrapStyle = Object.assign({}, style, unCheckedStyleAll, checked ? checkedStyleAll : {}, disabled ? disabledStyle : {});\n      var iconStyle = Object.assign({}, checked ? { color: checkedStyleAll.color } : {}, themeStyle[size], disabled ? disabledStyle : {});\n\n      TextAttrArr.forEach(function (item) {\n        if (iconWrapStyle[item]) {\n          iconStyle[item] = iconWrapStyle[item];\n        }\n      });\n      return (0, _rax.createElement)(\n        _nukeTouchable2.default,\n        { x: 'checkbox', style: elementTouchStyle, onPress: this.onChange },\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: iconWrapStyle },\n          checked ? (0, _rax.createElement)(_nukeIcon2.default, { style: iconStyle, name: 'right' }) : null\n        )\n      );\n    }\n  }]);\n\n  return Checkbox;\n}(_rax.Component);\n\nCheckbox.displayName = 'Checkbox';\nCheckbox.propTypes = {\n  /**\n   * 受控下是否选中  controlled select or not\n   */\n  checked: _rax.PropTypes.bool,\n  /**\n   * 非受控是否选中  uncontrolled select or not\n   */\n  defaultChecked: _rax.PropTypes.bool,\n  /**\n   * 尺寸  size\n   * @enumdesc small,medium\n   */\n  size: _rax.PropTypes.oneOf(['small', 'medium']),\n  /**\n   * 禁用  disable bool\n   */\n  disabled: _rax.PropTypes.bool,\n  /**\n   * 点击checkbox的回调  click callback\n   */\n  onChange: _rax.PropTypes.func,\n  /**\n   * 显示类型\n   * @enumdesc normal, list, empty\n   */\n  type: _rax.PropTypes.oneOf(['normal', 'list', 'empty']),\n  /**\n   * group选择时的选中value\n   */\n  value: _rax.PropTypes.any,\n\n  themeStyle: _rax.PropTypes.object,\n  /**\n   * 选中时的默认样式,会覆盖style\n   */\n  checkedStyle: _rax.PropTypes.object,\n  /**\n   * 未选中时的默认样式,会覆盖style\n   */\n  unCheckedStyle: _rax.PropTypes.object,\n  /**\n   * style样式\n   */\n  style: _rax.PropTypes.object,\n  /**\n   * 忽略上层父级 context,当 check.group 的子级存在非 group 模式的 checkbox 时需设置为 false\n   * ignore context passing. usually use the nested with checkbox group\n   */\n  ignoreContext: _rax.PropTypes.boolean\n};\n\nCheckbox.defaultProps = {\n  size: 'medium',\n  disabled: false,\n  defaultChecked: false,\n  onChange: function onChange() {},\n  type: 'normal',\n  value: '',\n  themeStyle: {},\n  checkedStyle: {},\n  unCheckedStyle: {},\n  style: {},\n  ignoreContext: false\n};\nCheckbox.contextTypes = {\n  onChange: _rax.PropTypes.func,\n  __group__: _rax.PropTypes.bool,\n  value: _rax.PropTypes.any\n};\nexports.default = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Checkbox);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Checkbox/view/checkbox.js?");

/***/ }),

/***/ "./lib/Core/index.js":
/*!***************************!*\
  !*** ./lib/Core/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _size = __webpack_require__(/*! ./variables/size.js */ \"./lib/Core/variables/size.js\");\n\nvar size = _interopRequireWildcard(_size);\n\nvar _color = __webpack_require__(/*! ./variables/color.js */ \"./lib/Core/variables/color.js\");\n\nvar color = _interopRequireWildcard(_color);\n\nvar _corner = __webpack_require__(/*! ./variables/corner.js */ \"./lib/Core/variables/corner.js\");\n\nvar corner = _interopRequireWildcard(_corner);\n\nvar _font = __webpack_require__(/*! ./variables/font.js */ \"./lib/Core/variables/font.js\");\n\nvar font = _interopRequireWildcard(_font);\n\nvar _line = __webpack_require__(/*! ./variables/line.js */ \"./lib/Core/variables/line.js\");\n\nvar line = _interopRequireWildcard(_line);\n\nvar _shadow = __webpack_require__(/*! ./variables/shadow.js */ \"./lib/Core/variables/shadow.js\");\n\nvar shadow = _interopRequireWildcard(_shadow);\n\nvar _icon = __webpack_require__(/*! ./variables/icon.js */ \"./lib/Core/variables/icon.js\");\n\nvar icon = _interopRequireWildcard(_icon);\n\nvar _varLoader = __webpack_require__(/*! ./util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nvar loaders = _interopRequireWildcard(_varLoader);\n\nvar _mixin = __webpack_require__(/*! ./util/mixin.js */ \"./lib/Core/util/mixin.js\");\n\nvar mixin = _interopRequireWildcard(_mixin);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nvar BaseVariables = _extends({}, mixin, loaders, size, color, corner, font, line, shadow, icon);\nfunction injectCore(obj) {\n    return Object.assign(BaseVariables, obj);\n}\nBaseVariables.injectCore = injectCore;\nexports.default = BaseVariables;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/index.js?");

/***/ }),

/***/ "./lib/Core/util/mixin.js":
/*!********************************!*\
  !*** ./lib/Core/util/mixin.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.padding = padding;\nexports.margin = margin;\nexports.border = border;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction padding() {\n  var pt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n  var pr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : pt;\n  var pb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : pt;\n  var pl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : pr;\n\n  return {\n    paddingTop: pt,\n    paddingRight: pr,\n    paddingBottom: pb,\n    paddingLeft: pl\n  };\n}\nfunction margin() {\n  var pt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n  var pr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : pt;\n  var pb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : pt;\n  var pl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : pr;\n\n  return {\n    marginTop: pt,\n    marginRight: pr,\n    marginBottom: pb,\n    marginLeft: pl\n  };\n}\n\nfunction border() {\n  var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n  var style = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'solid';\n  var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '#ffffff';\n  var direction = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n  if (typeof width === 'string' && width.indexOf('px') > -1) {\n    width = width.split('px')[0] * 2;\n  }\n  if (direction) {\n    var _ref;\n\n    var x = direction[0].toUpperCase() + direction.slice(1);\n    return _ref = {}, _defineProperty(_ref, 'border' + x + 'Width', width), _defineProperty(_ref, 'border' + x + 'Style', style), _defineProperty(_ref, 'border' + x + 'Color', color), _ref;\n  }\n  return {\n    borderWidth: width,\n    borderStyle: style,\n    borderColor: color\n  };\n}\n\n//# sourceURL=webpack:///./lib/Core/util/mixin.js?");

/***/ }),

/***/ "./lib/Core/util/platform.js":
/*!***********************************!*\
  !*** ./lib/Core/util/platform.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar isWeex = typeof callNative === 'function';\nvar platform = {\n  iOS: false,\n  android: false,\n  weex: isWeex,\n  web: !isWeex\n};\n\nif (isWeex) {\n  var WeexEnv = typeof window !== 'undefined' && window.__weex_env__ ? Object.assign({}, window.__weex_env__) : Object.assign({}, WXEnvironment);\n  platform.iOS = WeexEnv.platform === 'iOS';\n  platform.android = WeexEnv.platform === 'android';\n} else {\n  var userAgent = typeof navigator !== 'undefined' && navigator.userAgent ? navigator.userAgent.toLowerCase() : 'iPhone';\n  platform.iOS = /iPhone|iPod|iPad|IOS/i.test(userAgent);\n  platform.android = /Android/i.test(userAgent);\n}\n\nexports.default = platform;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/util/platform.js?");

/***/ }),

/***/ "./lib/Core/util/var-loader.js":
/*!*************************************!*\
  !*** ./lib/Core/util/var-loader.js ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.vLoader = vLoader;\n\nvar _platform = __webpack_require__(/*! ./platform.js */ \"./lib/Core/util/platform.js\");\n\nvar _platform2 = _interopRequireDefault(_platform);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// eslint-disable-next-line\nfunction vLoader() {\n  var args = arguments;\n  if (args.length > 1 && _platform2.default.iOS) {\n    return args[1];\n  }\n  return args[0];\n}\n\n//# sourceURL=webpack:///./lib/Core/util/var-loader.js?");

/***/ }),

/***/ "./lib/Core/variables/color.js":
/*!*************************************!*\
  !*** ./lib/Core/variables/color.js ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _varLoader = __webpack_require__(/*! ../util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nvar colorTransparent = (0, _varLoader.vLoader)('transparent');\nvar colorWhite = (0, _varLoader.vLoader)('#FFFFFF');\nvar colorBlack = (0, _varLoader.vLoader)('#000000');\nvar colorBrand11 = (0, _varLoader.vLoader)('#E4F0FD');\nvar colorBrand16 = (0, _varLoader.vLoader)('#3089DC');\nvar colorBrand19 = (0, _varLoader.vLoader)('#1170BC');\nvar colorLine11 = (0, _varLoader.vLoader)('#E6E7EB');\nvar colorLine12 = (0, _varLoader.vLoader)('#DCDEE3');\nvar colorLine13 = (0, _varLoader.vLoader)('#C4C6CF');\nvar colorLine14 = (0, _varLoader.vLoader)('#A0A2AD');\nvar colorFill11 = (0, _varLoader.vLoader)('#F7F8FA');\nvar colorFill12 = (0, _varLoader.vLoader)('#F2F3F7');\nvar colorFill13 = (0, _varLoader.vLoader)('#EBECF0');\nvar colorText11 = (0, _varLoader.vLoader)('#CCCCCC');\nvar colorText12 = (0, _varLoader.vLoader)('#999999');\nvar colorText13 = (0, _varLoader.vLoader)('#666666');\nvar colorText14 = (0, _varLoader.vLoader)('#333333');\nvar colorText15 = (0, _varLoader.vLoader)('#222222');\nvar colorWarning1 = (0, _varLoader.vLoader)('#FFF3E0');\nvar colorWarning2 = (0, _varLoader.vLoader)('#FFA033');\nvar colorWarning3 = (0, _varLoader.vLoader)('#ED6F00');\nvar colorError1 = (0, _varLoader.vLoader)('#FFEBEE');\nvar colorError2 = (0, _varLoader.vLoader)('#F44336');\nvar colorError3 = (0, _varLoader.vLoader)('#DB2F23');\nvar colorSuccess1 = (0, _varLoader.vLoader)('#F1F8E9');\nvar colorSuccess2 = (0, _varLoader.vLoader)('#1DC11D');\nvar colorSuccess3 = (0, _varLoader.vLoader)('#0DA80D');\nvar colorNotice1 = (0, _varLoader.vLoader)('#E3F2FD');\nvar colorNotice2 = (0, _varLoader.vLoader)('#2196F3');\nvar colorNotice3 = (0, _varLoader.vLoader)('#1681D9');\nvar colorHelp1 = (0, _varLoader.vLoader)('#FDF5FF');\nvar colorHelp2 = (0, _varLoader.vLoader)('#B921F3');\nvar colorHelp3 = (0, _varLoader.vLoader)('#A116D9');\nvar colorLink1 = (0, _varLoader.vLoader)('#FDF5FF');\nvar colorLink2 = (0, _varLoader.vLoader)('#2196F3');\nvar colorLink3 = (0, _varLoader.vLoader)('#A116D9');\nvar colorOther1 = (0, _varLoader.vLoader)('#FDF5FF');\n\n/**\n * 颜色\n * @namespace component\n * @property module color\n * @property category style\n */\n\nvar varMap = {\n  /**\n   * 内置色\n   * @namespace inset\n   */\n\n  /**\n   * transparent\n   * @property group color-inset\n   * @property semantic 透明\n   * @property export\n   */\n  'color-transparent': colorTransparent,\n  /**\n   * white\n   * @property group color-inset\n   * @property semantic 纯白\n   * @property export\n   */\n  'color-white': colorWhite,\n  /**\n   * black\n   * @property group color-inset\n   * @property semantic 纯黑\n   * @property export\n   */\n  'color-black': colorBlack,\n\n  /**\n   * 品牌色\n   * @namespace brand\n   */\n\n  /**\n   * 品牌主色\n   * @namespace color-brand1\n   * @property group brand\n   */\n\n  /**\n   * brand1-1\n   * @property group color-brand1\n   * @property semantic 浅\n   * @property export\n   */\n  'color-brand1-1': colorBrand11,\n  /**\n   * brand1-6\n   * @property group color-brand1\n   * @property semantic 常规\n   * @property export\n   */\n  'color-brand1-6': colorBrand16,\n  /**\n   * brand1-9\n   * @property group color-brand1\n   * @property semantic 深\n   * @property export\n   */\n  'color-brand1-9': colorBrand19,\n\n  /**\n   * 中立色\n   * @namespace neutral\n   */\n\n  /**\n   * 线条\n   * @namespace color-line1\n   * @property group neutral\n   */\n\n  /**\n   * line1-1\n   * @property group color-line1\n   * @property semantic 浅\n   * @property export\n   */\n  'color-line1-1': colorLine11,\n  /**\n   * line1-2\n   * @property group color-line1\n   * @property semantic 常规\n   * @property export\n   */\n  'color-line1-2': colorLine12,\n  /**\n   * line1-3\n   * @property group color-line1\n   * @property semantic 深\n   * @property export\n   */\n  'color-line1-3': colorLine13,\n  /**\n   * line1-4\n   * @property group color-line1\n   * @property semantic 重\n   * @property export\n   */\n  'color-line1-4': colorLine14,\n\n  /**\n   * fill1-1\n   * @property group color-fill1\n   * @property semantic 浅\n   * @property export\n   */\n  'color-fill1-1': colorFill11,\n  /**\n   * fill1-2\n   * @property group color-fill1\n   * @property semantic 常规\n   * @property export\n   */\n  'color-fill1-2': colorFill12,\n  /**\n   * fill1-3\n   * @property group color-fill1\n   * @property semantic 深\n   * @property export\n   */\n  'color-fill1-3': colorFill13,\n\n  /**\n   * text1-1\n   * @property group color-text1\n   * @property semantic 禁用/水印\n   * @property export\n   */\n  'color-text1-1': colorText11,\n  /**\n   * text1-2\n   * @property group color-text1\n   * @property semantic 脚注\n   * @property export\n   */\n  'color-text1-2': colorText12,\n  /**\n   * text1-3\n   * @property group color-text1\n   * @property semantic 正文\n   * @property export\n   */\n  'color-text1-3': colorText13,\n  /**\n   * text1-4\n   * @property group color-text1\n   * @property semantic 标题\n   * @property export\n   */\n  'color-text1-4': colorText14,\n  /**\n   * text1-5\n   * @property group color-text1\n   * @property semantic 重\n   * @property export\n   */\n  'color-text1-5': colorText15,\n\n  /**\n   * 功能色\n   * @namespace funtional\n   */\n\n  /**\n   * 成功\n   * @namespace color-success\n   * @property group funtional\n   */\n\n  /**\n   * success-1\n   * @property group color-success\n   * @property semantic 浅\n   * @property export\n   */\n  'color-success-1': colorSuccess1,\n  /**\n   * success-2\n   * @property group color-success\n   * @property semantic 常规\n   * @property export\n   */\n  'color-success-2': colorSuccess2,\n  /**\n   * success-3\n   * @property group color-success\n   * @property semantic 深\n   * @property export\n   */\n  'color-success-3': colorSuccess3,\n\n  /**\n   * 提示\n   * @namespace color-notice\n   * @property group funtional\n   */\n\n  /**\n   * notice-1\n   * @property group color-notice\n   * @property semantic 浅\n   * @property export\n   */\n  'color-notice-1': colorNotice1,\n  /**\n   * notice-2\n   * @property group color-notice\n   * @property semantic 常规\n   * @property export\n   */\n  'color-notice-2': colorNotice2,\n  /**\n   * notice-3\n   * @property group color-notice\n   * @property semantic 深\n   * @property export\n   */\n  'color-notice-3': colorNotice3,\n\n  /**\n   * 警告\n   * @namespace color-warning\n   * @property group funtional\n   */\n\n  /**\n   * warning-1\n   * @property group color-warning\n   * @property semantic 浅\n   * @property export\n   */\n  'color-warning-1': colorWarning1,\n  /**\n   * warning-2\n   * @property group color-warning\n   * @property semantic 常规\n   * @property export\n   */\n  'color-warning-2': colorWarning2,\n  /**\n   * warning-3\n   * @property group color-warning\n   * @property semantic 深\n   * @property export\n   */\n  'color-warning-3': colorWarning3,\n\n  /**\n   * 错误\n   * @namespace color-error\n   * @property group funtional\n   */\n\n  /**\n   * error-1\n   * @property group color-error\n   * @property semantic 浅\n   * @property export\n   */\n  'color-error-1': colorError1,\n  /**\n   * error-2\n   * @property group color-error\n   * @property semantic 常规\n   * @property export\n   */\n  'color-error-2': colorError2,\n  /**\n   * error-3\n   * @property group color-error\n   * @property semantic 深\n   * @property export\n   */\n  'color-error-3': colorError3,\n\n  /**\n   * 帮助\n   * @namespace color-help\n   * @property group funtional\n   */\n\n  /**\n   * help-1\n   * @property group color-help\n   * @property semantic 浅\n   * @property export\n   */\n  'color-help-1': colorHelp1,\n  /**\n   * error-2\n   * @property group color-error\n   * @property semantic 常规\n   * @property export\n   */\n  'color-help-2': colorHelp2,\n  /**\n   * error-3\n   * @property group color-error\n   * @property semantic 深\n   * @property export\n   */\n  'color-help-3': colorHelp3,\n\n  /**\n   * 链接\n   * @namespace color-link\n   * @property group funtional\n   */\n\n  /**\n   * link-1\n   * @property group color-link\n   * @property semantic 默认\n   * @property export\n   */\n  'color-link-1': colorLink1,\n  /**\n   * link-2\n   * @property group color-link\n   * @property semantic 已访问\n   * @property export\n   */\n  'color-link-2': colorLink2,\n  /**\n   * link-3\n   * @property group color-link\n   * @property semantic 激活\n   * @property export\n   */\n  'color-link-3': colorLink3,\n\n  /**\n   * 其他\n   * @namespace color-other\n   * @property group funtional\n   */\n\n  /**\n   * other-1\n   * @property group color-other\n   * @property semantic 默认\n   * @property export\n   */\n  'color-other-1': colorOther1\n};\n\nexports.default = varMap;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/variables/color.js?");

/***/ }),

/***/ "./lib/Core/variables/corner.js":
/*!**************************************!*\
  !*** ./lib/Core/variables/corner.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _varLoader = __webpack_require__(/*! ../util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nvar corner0 = (0, _varLoader.vLoader)(0);\nvar corner1 = (0, _varLoader.vLoader)(6);\nvar corner2 = (0, _varLoader.vLoader)(12);\nvar corner3 = (0, _varLoader.vLoader)(40);\nvar cornerCircle = (0, _varLoader.vLoader)('50%');\nvar cornerInfinite = 999;\n\n/**\n * 边角\n * @namespace component\n * @property module corner\n * @property category style\n */\n\nvar varMap = {\n  /**\n   * corner-0\n   * @property semantic 直角\n   * @property export\n   */\n  'corner-0': corner0,\n  /**\n   * corner-1\n   * @property semantic 常规圆角\n   * @property export\n   */\n  'corner-1': corner1,\n  /**\n   * corner-2\n   * @property semantic 大圆角\n   * @property export\n   */\n  'corner-2': corner2,\n  /**\n   * corner-3\n   * @property semantic 超大圆角\n   * @property export\n   */\n  'corner-3': corner3,\n  /**\n   * corner-circle\n   * @property semantic 圆形\n   * @property export\n   */\n  'corner-circle': cornerCircle,\n  /**\n   * corner-infinite\n   * @property semantic 无限大圆角\n   * @property export\n   */\n  'corner-infinite': cornerInfinite\n};\n\nexports.default = varMap;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/variables/corner.js?");

/***/ }),

/***/ "./lib/Core/variables/font.js":
/*!************************************!*\
  !*** ./lib/Core/variables/font.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _varLoader = __webpack_require__(/*! ../util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nvar fontFamilyBase = (0, _varLoader.vLoader)('Roboto, \"Helvetica Neue\", Helvetica, Tahoma, Arial, \"PingFang SC\", \"Microsoft YaHei\"');\nvar fontSizeDisplay3 = (0, _varLoader.vLoader)(112);\nvar fontSizeDisplay2 = (0, _varLoader.vLoader)(96);\nvar fontSizeDisplay1 = (0, _varLoader.vLoader)(72);\nvar fontSizeHeadline = (0, _varLoader.vLoader)(48, 40);\nvar fontSizeTitle = (0, _varLoader.vLoader)(40, 34);\nvar fontSizeSubhead = (0, _varLoader.vLoader)(32);\nvar fontSizeBody3 = (0, _varLoader.vLoader)(28, 30);\nvar fontSizeBody2 = (0, _varLoader.vLoader)(28, 26);\nvar fontSizeBody1 = (0, _varLoader.vLoader)(28, 24);\nvar fontSizeCaption = (0, _varLoader.vLoader)(24, 22);\nvar fontWeight1 = (0, _varLoader.vLoader)(300);\nvar fontWeight2 = (0, _varLoader.vLoader)(600);\nvar fontWeight3 = (0, _varLoader.vLoader)(900);\nvar fontLineHeight1 = (0, _varLoader.vLoader)(1.3);\nvar fontLineHeight2 = (0, _varLoader.vLoader)(1.5);\nvar fontLineHeight3 = (0, _varLoader.vLoader)(1.7);\n\n/**\n * 字体\n * @namespace component\n * @property module font\n * @property category style\n */\n\nvar varMap = {\n  /**\n   * family\n   * @property semantic 字体\n   * @property export\n   */\n  'font-family-base': fontFamilyBase,\n\n  /**\n   * display-3\n   * @property semantic 运营标题-大\n   * @property export size\n   */\n  'font-size-display-3': fontSizeDisplay3,\n  /**\n   * display-2\n   * @property semantic 运营标题-中\n   * @property export size\n   */\n  'font-size-display-2': fontSizeDisplay2,\n  /**\n   * display-1\n   * @property semantic 运营标题-小\n   * @property export size\n   */\n  'font-size-display-1': fontSizeDisplay1,\n  /**\n   * headline\n   * @property semantic 标题-大\n   * @property export size\n   */\n  'font-size-headline': fontSizeHeadline,\n  /**\n   * title\n   * @property semantic 标题-中\n   * @property export size\n   */\n  'font-size-title': fontSizeTitle,\n  /**\n   * subhead\n   * @property semantic 标题-小\n   * @property export size\n   */\n  'font-size-subhead': fontSizeSubhead,\n  /**\n   * body-3\n   * @property semantic 正文\n   * @property export size\n   */\n  'font-size-body-3': fontSizeBody3,\n  /**\n   * body-2\n   * @property semantic 正文-强调\n   * @property export size\n   */\n  'font-size-body-2': fontSizeBody2,\n  /**\n   * body-1\n   * @property semantic 正文-常规\n   * @property export size\n   */\n  'font-size-body-1': fontSizeBody1,\n\n  /**\n   * caption\n   * @property semantic 水印文本\n   * @property export size\n   */\n  'font-size-caption': fontSizeCaption,\n  /**\n   * light\n   * @property semantic 细体\n   * @property export weightcore\n   */\n  'font-weight-1': fontWeight1,\n  /**\n   * regular\n   * @property semantic 常规\n   * @property export weightcore\n   */\n  'font-weight-2': fontWeight2,\n  /**\n   * bold\n   * @property semantic 粗体\n   * @property export weightcore\n   */\n  'font-weight-3': fontWeight3,\n  /**\n   * lineheight-1\n   * @property semantic 密集\n   * @property export lineheight\n   */\n  'font-lineheight-1': fontLineHeight1,\n  /**\n   * lineheight-2\n   * @property semantic 常规\n   * @property export lineheight\n   */\n  'font-lineheight-2': fontLineHeight2,\n  /**\n   * lineheight-3\n   * @property semantic 宽松\n   * @property export lineheight\n   */\n  'font-lineheight-3': fontLineHeight3\n};\n\nexports.default = varMap;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/variables/font.js?");

/***/ }),

/***/ "./lib/Core/variables/icon.js":
/*!************************************!*\
  !*** ./lib/Core/variables/icon.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _varLoader = __webpack_require__(/*! ../util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nvar _size = __webpack_require__(/*! ./size.js */ \"./lib/Core/variables/size.js\");\n\nvar size = _interopRequireWildcard(_size);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nvar iconXxs = (0, _varLoader.vLoader)(size['s-2']);\nvar iconXs = (0, _varLoader.vLoader)(size['s-3']);\nvar iconS = (0, _varLoader.vLoader)(size['s-4']);\nvar iconM = (0, _varLoader.vLoader)(size['s-5']);\nvar iconL = (0, _varLoader.vLoader)(size['s-6']);\nvar iconXl = (0, _varLoader.vLoader)(size['s-8']);\nvar iconXxl = (0, _varLoader.vLoader)(size['s-12']);\nvar iconXxxl = (0, _varLoader.vLoader)(size['s-16']);\n\n/**\n * 图标\n * @namespace component\n * @property module icon\n * @property category style\n */\n\nvar varMap = {\n  /**\n   * icon-xxs\n   * @property semantic xxs\n   * @property export size\n   */\n  'icon-xxs': iconXxs,\n  /**\n   * icon-xs\n   * @property semantic xs\n   * @property export size\n   */\n  'icon-xs': iconXs,\n  /**\n   * icon-s\n   * @property semantic s\n   * @property export size\n   */\n  'icon-s': iconS,\n  /**\n   * icon-m\n   * @property semantic m\n   * @property export size\n   */\n  'icon-m': iconM,\n  /**\n   * icon-l\n   * @property semantic l\n   * @property export size\n   */\n  'icon-l': iconL,\n  /**\n   * icon-xl\n   * @property semantic xl\n   * @property export size\n   */\n  'icon-xl': iconXl,\n  /**\n   * icon-xxl\n   * @property semantic xxl\n   * @property export size\n   */\n  'icon-xxl': iconXxl,\n  /**\n   * icon-xxxl\n   * @property semantic xxxl\n   * @property export size\n   */\n  'icon-xxxl': iconXxxl,\n  /**\n   * icon-font-path\n   * @property semantic path\n   * @property unconfigurable\n   */\n  'icon-font-path': '//at.alicdn.com/t/font_595713_851pnlzi16g',\n  /**\n   * icon-font-family\n   * @property semantic family\n   * @property unconfigurable\n   */\n  'icon-font-family': 'NukeIcon',\n  /**\n   * icon-content-right\n   * @property semantic right\n   * @property unconfigurable\n   */\n  'icon-content-right': 'e713',\n  /**\n   * icon-content-download\n   * @property semantic download\n   * @property unconfigurable\n   */\n  'icon-content-download': 'e637',\n  /**\n   * icon-content-download\n   * @property semantic download\n   * @property unconfigurable\n   */\n  'icon-content-accessory': 'e6DD',\n  /**\n   * icon-content-add\n   * @property semantic add\n   * @property unconfigurable\n   */\n  'icon-content-add': 'e655',\n  /**\n   * icon-content-camera\n   * @property semantic camera\n   * @property unconfigurable\n   */\n  'icon-content-camera': 'e6F0',\n  /**\n   * icon-content-close\n   * @property semantic close\n   * @property unconfigurable\n   */\n  'icon-content-close': 'e6F3',\n  /**\n   * icon-content-enter\n   * @property semantic enter\n   * @property unconfigurable\n   */\n  'icon-content-enter': 'e70C',\n  /**\n   * icon-content-feedback-fill\n   * @property semantic feedback-fill\n   * @property unconfigurable\n   */\n  'icon-content-feedback-fill': 'e70F',\n  /**\n   * icon-content-feedback\n   * @property semantic feedback\n   * @property unconfigurable\n   */\n  'icon-content-feedback': 'e710',\n  /**\n   * icon-content-homepage-fill\n   * @property semantic homepage-fill\n   * @property unconfigurable\n   */\n  'icon-content-homepage-fill': 'e71C',\n  /**\n   * icon-content-homepage\n   * @property semantic homepage\n   * @property unconfigurable\n   */\n  'icon-content-homepage': 'e71D',\n  /**\n   * icon-content-message-fill\n   * @property semantic message-fill\n   * @property unconfigurable\n   */\n  'icon-content-message-fill': 'e730',\n  /**\n   * icon-content-message\n   * @property semantic message\n   * @property unconfigurable\n   */\n  'icon-content-message': 'e72F',\n  /**\n   * icon-content-picture\n   * @property semantic picture\n   * @property unconfigurable\n   */\n  'icon-content-picture': 'e73F',\n  /**\n   * icon-content-info-fill\n   * @property semantic info-fill\n   * @property unconfigurable\n   */\n  'icon-content-info-fill': 'e746',\n  /**\n   * icon-content-info\n   * @property semantic info\n   * @property unconfigurable\n   */\n  'icon-content-info': 'e747',\n  /**\n   * icon-content-return\n   * @property semantic return\n   * @property unconfigurable\n   */\n  'icon-content-return': 'e74F',\n  /**\n   * icon-content-scan\n   * @property semantic scan\n   * @property unconfigurable\n   */\n  'icon-content-scan': 'e751',\n  /**\n   * icon-content-setup-fill\n   * @property semantic setup-fill\n   * @property unconfigurable\n   */\n  'icon-content-setup-fill': 'e757',\n  /**\n   * icon-content-setup\n   * @property semantic setup\n   * @property unconfigurable\n   */\n  'icon-content-setup': 'e758',\n  /**\n   * icon-content-share\n   * @property semantic share\n   * @property unconfigurable\n   */\n  'icon-content-share': 'e75A',\n  /**\n   * icon-content-success-fill\n   * @property semantic success-fill\n   * @property unconfigurable\n   */\n  'icon-content-success-fill': 'e761',\n  /**\n   * icon-content-success\n   * @property semantic success\n   * @property unconfigurable\n   */\n  'icon-content-success': 'e762',\n  /**\n   * icon-content-switch\n   * @property semantic switch\n   * @property unconfigurable\n   */\n  'icon-content-switch': 'e764',\n  /**\n   * icon-content-prompt\n   * @property semantic prompt\n   * @property unconfigurable\n   */\n  'icon-content-prompt': 'e766',\n  /**\n   * icon-content-tailor\n   * @property semantic tailor\n   * @property unconfigurable\n   */\n  'icon-content-tailor': 'e767',\n  /**\n   * icon-content-video\n   * @property semantic video\n   * @property unconfigurable\n   */\n  'icon-content-video': 'e776',\n  /**\n   * icon-content-warning-fill\n   * @property semantic warning-fill\n   * @property unconfigurable\n   */\n  'icon-content-warning-fill': 'e778',\n  /**\n   * icon-content-warning\n   * @property semantic warning\n   * @property unconfigurable\n   */\n  'icon-content-warning': 'e779',\n  /**\n   * icon-content-search\n   * @property semantic search\n   * @property unconfigurable\n   */\n  'icon-content-search': 'e77C',\n  /**\n   * icon-content-packup\n   * @property semantic packup\n   * @property unconfigurable\n   */\n  'icon-content-packup': 'e782',\n  /**\n   * icon-content-unfold\n   * @property semantic unfold\n   * @property unconfigurable\n   */\n  'icon-content-unfold': 'e783',\n  /**\n   * icon-content-delete\n   * @property semantic delete\n   * @property unconfigurable\n   */\n  'icon-content-delete': 'e6f4',\n  /**\n   * icon-content-delete-fill\n   * @property semantic delete-fill\n   * @property unconfigurable\n   */\n  'icon-content-delete-fill': 'e6f2',\n  /**\n   * icon-content-minus\n   * @property semantic minus\n   * @property unconfigurable\n   */\n  'icon-content-minus': 'e657'\n};\n\nexports.default = varMap;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/variables/icon.js?");

/***/ }),

/***/ "./lib/Core/variables/line.js":
/*!************************************!*\
  !*** ./lib/Core/variables/line.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _varLoader = __webpack_require__(/*! ../util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nvar line0 = (0, _varLoader.vLoader)(0);\nvar line1 = (0, _varLoader.vLoader)(1);\nvar line2 = (0, _varLoader.vLoader)(2);\nvar line3 = (0, _varLoader.vLoader)(4);\nvar lineSolid = (0, _varLoader.vLoader)('solid');\nvar lineDashed = (0, _varLoader.vLoader)('dashed');\nvar lineDotted = (0, _varLoader.vLoader)('dotted');\n\n/**\n * 线条\n * @namespace component\n * @property module line\n * @property category style\n */\n\nvar varMap = {\n  /**\n   * line-0\n   * @property semantic 无\n   * @property export width\n   */\n  'line-0': line0,\n  /**\n   * line-1\n   * @property semantic 细\n   * @property export width\n   */\n  'line-1': line1,\n  /**\n   * line-2\n   * @property semantic 常规\n   * @property export width\n   */\n  'line-2': line2,\n  /**\n   * line-3\n   * @property semantic 粗\n   * @property export width\n   */\n  'line-3': line3,\n  /**\n   * line-solid\n   * @property semantic 实线\n   * @property unconfigurable\n   * @property export style\n   */\n  'line-solid': lineSolid,\n  /**\n   * line-dashed\n   * @property semantic 虚线\n   * @property unconfigurable\n   * @property export style\n   */\n  'line-dashed': lineDashed,\n  /**\n   * line-dotted\n   * @property semantic 点线\n   * @property unconfigurable\n   * @property export style\n   */\n  'line-dotted': lineDotted\n};\n\nexports.default = varMap;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/variables/line.js?");

/***/ }),

/***/ "./lib/Core/variables/shadow.js":
/*!**************************************!*\
  !*** ./lib/Core/variables/shadow.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _varLoader = __webpack_require__(/*! ../util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nvar _color = __webpack_require__(/*! ./color.js */ \"./lib/Core/variables/color.js\");\n\nvar color = _interopRequireWildcard(_color);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nvar shadow1 = (0, _varLoader.vLoader)('1px 1px 3px 0 rgba(0,0,0,0.12)');\nvar shadow2 = (0, _varLoader.vLoader)('2px 3px 4px 0 rgba(0,0,0,0.12)');\nvar shadow3 = (0, _varLoader.vLoader)('2px 3px 5px 0 rgba(0,0,0,0.12)');\nvar shadowDistanceSd1 = (0, _varLoader.vLoader)('1px');\nvar shadowDistanceSd2 = (0, _varLoader.vLoader)('2px');\nvar shadowDistanceSd3 = (0, _varLoader.vLoader)('3px');\nvar shadowBlurSd1 = (0, _varLoader.vLoader)('3px');\nvar shadowBlurSd2 = (0, _varLoader.vLoader)('4px');\nvar shadowBlurSd3 = (0, _varLoader.vLoader)('5px');\nvar shadowSpreadSd1 = (0, _varLoader.vLoader)(0);\nvar shadowSpreadSd2 = (0, _varLoader.vLoader)(0);\nvar shadowSpreadSd3 = (0, _varLoader.vLoader)(0);\nvar shadowColorSd1 = (0, _varLoader.vLoader)(color['color-black']);\nvar shadowColorSd2 = (0, _varLoader.vLoader)(color['color-black']);\nvar shadowColorSd3 = (0, _varLoader.vLoader)(color['color-black']);\nvar shadowOpacitySd1 = (0, _varLoader.vLoader)(0.12);\nvar shadowOpacitySd2 = (0, _varLoader.vLoader)(0.12);\nvar shadowOpacitySd3 = (0, _varLoader.vLoader)(0.12);\n\n/**\n * 阴影\n * @namespace component\n * @property module shadow\n * @property category style\n */\n\nvar varMap = {\n  /**\n   * shadow-1\n   * @property semantic 阴影1\n   * @property export\n   * @property calculate ['shadow-distance-sd1'] ['shadow-distance-sd1'] ['shadow-blur-sd1'] ['shadow-spread-sd1'] rgba(['shadow-color-sd1'], ['shadow-opacity-sd1'])\n   */\n  'shadow-1': shadow1,\n  /**\n   * shadow-2\n   * @property semantic 阴影2\n   * @property export\n   * @property calculate ['shadow-distance-sd2'] ['shadow-distance-sd2'] ['shadow-blur-sd2'] ['shadow-spread-sd2'] rgba(['shadow-color-sd2'], ['shadow-opacity-sd2'])\n   */\n  'shadow-2': shadow2,\n  /**\n   * shadow-3\n   * @property semantic 阴影3\n   * @property export\n   * @property calculate ['shadow-distance-sd3'] ['shadow-distance-sd3'] ['shadow-blur-sd3'] ['shadow-spread-sd3'] rgba(['shadow-color-sd3'], ['shadow-opacity-sd3'])\n   */\n  'shadow-3': shadow3,\n  /**\n   * shadow-distance-sd1\n   * @property semantic 阴影1距离\n   */\n  'shadow-distance-sd1': shadowDistanceSd1,\n  /**\n   * shadow-distance-sd2\n   * @property semantic 阴影2距离\n   */\n  'shadow-distance-sd2': shadowDistanceSd2,\n  /**\n   * shadow-distance-sd3\n   * @property semantic 阴影3距离\n   */\n  'shadow-distance-sd3': shadowDistanceSd3,\n  /**\n   * shadow-opacity-sd1\n   * @property semantic 阴影1透明度\n   */\n  'shadow-opacity-sd1': shadowOpacitySd1,\n  /**\n   * shadow-opacity-sd2\n   * @property semantic 阴影2透明度\n   */\n  'shadow-opacity-sd2': shadowOpacitySd2,\n  /**\n   * shadow-opacity-sd3\n   * @property semantic 阴影3透明度\n   */\n  'shadow-opacity-sd3': shadowOpacitySd3,\n  /**\n   * shadow-color-sd1\n   * @property semantic 阴影1颜色\n   */\n  'shadow-color-sd1': shadowColorSd1,\n  /**\n   * shadow-color-sd2\n   * @property semantic 阴影2颜色\n   */\n  'shadow-color-sd2': shadowColorSd2,\n  /**\n   * shadow-color-sd3\n   * @property semantic 阴影3颜色\n   */\n  'shadow-color-sd3': shadowColorSd3,\n  /**\n   * shadow-blur-sd1\n   * @property semantic 阴影1羽化值\n   */\n  'shadow-blur-sd1': shadowBlurSd1,\n  /**\n   * shadow-blur-sd2\n   * @property semantic 阴影2羽化值\n   */\n  'shadow-blur-sd2': shadowBlurSd2,\n  /**\n   * shadow-blur-sd3\n   * @property semantic 阴影3羽化值\n   */\n  'shadow-blur-sd3': shadowBlurSd3,\n  /**\n   * shadow-spread-sd1\n   * @property semantic 阴影1扩散值\n   */\n  'shadow-spread-sd1': shadowSpreadSd1,\n  /**\n   * shadow-spread-sd2\n   * @property semantic 阴影2扩散值\n   */\n  'shadow-spread-sd2': shadowSpreadSd2,\n  /**\n   * shadow-spread-sd3\n   * @property semantic 阴影3扩散值\n   */\n  'shadow-spread-sd3': shadowSpreadSd3\n};\n\nexports.default = varMap;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/variables/shadow.js?");

/***/ }),

/***/ "./lib/Core/variables/size.js":
/*!************************************!*\
  !*** ./lib/Core/variables/size.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _varLoader = __webpack_require__(/*! ../util/var-loader.js */ \"./lib/Core/util/var-loader.js\");\n\nfunction getGlobalVal(base, times) {\n  return base * times;\n}\n\nvar sizeBase = (0, _varLoader.vLoader)(8);\nvar s0 = getGlobalVal(sizeBase, 0);\nvar s1 = getGlobalVal(sizeBase, 1);\nvar s2 = getGlobalVal(sizeBase, 2);\nvar s3 = getGlobalVal(sizeBase, 3);\nvar s4 = getGlobalVal(sizeBase, 4);\nvar s5 = getGlobalVal(sizeBase, 5);\nvar s6 = getGlobalVal(sizeBase, 6);\nvar s7 = getGlobalVal(sizeBase, 7);\nvar s8 = getGlobalVal(sizeBase, 8);\nvar s9 = getGlobalVal(sizeBase, 9);\nvar s10 = getGlobalVal(sizeBase, 10);\nvar s11 = getGlobalVal(sizeBase, 11);\nvar s12 = getGlobalVal(sizeBase, 12);\nvar s13 = getGlobalVal(sizeBase, 13);\nvar s14 = getGlobalVal(sizeBase, 14);\nvar s15 = getGlobalVal(sizeBase, 15);\nvar s16 = getGlobalVal(sizeBase, 16);\nvar s17 = getGlobalVal(sizeBase, 17);\nvar s18 = getGlobalVal(sizeBase, 18);\nvar s19 = getGlobalVal(sizeBase, 19);\nvar s20 = getGlobalVal(sizeBase, 20);\n\n/**\n * 尺寸\n * @namespace component\n * @property module size\n * @property category style\n */\n\nvar varMap = {\n  /**\n   * size-base\n   * @property semantic 基础尺寸\n   * @property export\n   */\n  'size-base': sizeBase,\n  /**\n   * s0\n   * @property export\n   */\n  's-0': s0,\n  /**\n   * s1\n   * @property export\n   * @property calculate ['size-base']*1\n   */\n  's-1': s1,\n  /**\n   * s2\n   * @property export\n   * @property calculate ['size-base']*2\n   */\n  's-2': s2,\n  /**\n   * s3\n   * @property export\n   * @property calculate ['size-base']*3\n   */\n  's-3': s3,\n  /**\n   * s4\n   * @property export\n   * @property calculate ['size-base']*4\n   */\n  's-4': s4,\n  /**\n   * s5\n   * @property export\n   * @property calculate ['size-base']*5\n   */\n  's-5': s5,\n  /**\n   * s6\n   * @property export\n   * @property calculate ['size-base']*6\n   */\n  's-6': s6,\n  /**\n   * s7\n   * @property export\n   * @property calculate ['size-base']*7\n   */\n  's-7': s7,\n  /**\n   * s8\n   * @property export\n   * @property calculate ['size-base']*8\n   */\n  's-8': s8,\n  /**\n   * s9\n   * @property export\n   * @property calculate ['size-base']*9\n   */\n  's-9': s9,\n  /**\n   * s10\n   * @property export\n   * @property calculate ['size-base']*10\n   */\n  's-10': s10,\n  /**\n   * s11\n   * @property export\n   * @property calculate ['size-base']*11\n   */\n  's-11': s11,\n  /**\n   * s12\n   * @property export\n   * @property calculate ['size-base']*12\n   */\n  's-12': s12,\n  /**\n   * s13\n   * @property export\n   * @property calculate ['size-base']*13\n   */\n  's-13': s13,\n  /**\n   * s14\n   * @property export\n   * @property calculate ['size-base']*14\n   */\n  's-14': s14,\n  /**\n   * s15\n   * @property export\n   * @property calculate ['size-base']*15\n   */\n  's-15': s15,\n  /**\n   * s16\n   * @property export\n   * @property calculate ['size-base']*16\n   */\n  's-16': s16,\n  /**\n   * s17\n   * @property export\n   * @property calculate ['size-base']*17\n   */\n  's-17': s17,\n  /**\n   * s18\n   * @property export\n   * @property calculate ['size-base']*18\n   */\n  's-18': s18,\n  /**\n   * s19\n   * @property export\n   * @property calculate ['size-base']*19\n   */\n  's-19': s19,\n  /**\n   * s20\n   * @property export\n   * @property calculate ['size-base']*20\n   */\n  's-20': s20\n};\n\nexports.default = varMap;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Core/variables/size.js?");

/***/ }),

/***/ "./lib/Dialog/index.js":
/*!*****************************!*\
  !*** ./lib/Dialog/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _dialog = __webpack_require__(/*! ./view/dialog.js */ \"./lib/Dialog/view/dialog.js\");\n\nvar _dialog2 = _interopRequireDefault(_dialog);\n\nvar _base = __webpack_require__(/*! ./view/base.js */ \"./lib/Dialog/view/base.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_dialog2.default.show = _base.show;\n_dialog2.default.hide = _base.hide;\n_dialog2.default.confirm = _base.confirm;\n_dialog2.default.alert = _base.alert;\n\nexports.default = _dialog2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Dialog/index.js?");

/***/ }),

/***/ "./lib/Dialog/styles/index.js":
/*!************************************!*\
  !*** ./lib/Dialog/styles/index.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Dialog/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  return {\n    Dialog: {\n      mask: {\n        backgroundColor: 'rgba(0, 0, 0, 0.4)',\n        alignItems: 'center',\n        justifyContent: 'center'\n      },\n      maskWeb: {\n        position: 'fixed',\n        top: 0,\n        left: 0,\n        right: 0,\n        bottom: 0,\n        zIndex: 100\n      },\n      main: {\n        width: Variables['dialog-width'],\n        borderRadius: Variables['content-radius'],\n        backgroundColor: Variables['dialog-bg']\n      },\n      title: {\n        marginTop: Variables['title-margin-top'],\n        marginBottom: Variables['title-margin-bottom'],\n        borderRadius: Variables['content-radius'],\n        fontSize: Variables['title-font-size'],\n        paddingLeft: Variables['content-padding-l-r'],\n        paddingRight: Variables['content-padding-l-r'],\n        color: Variables['title-color'],\n        lineHeight: Variables['title-line-height'],\n        fontWeight: 600,\n        textAlign: 'center'\n        // fontFamily: 'Helvetica',\n      },\n      content: {\n        lineHeight: Variables['content-line-height'],\n        color: Variables['content-color'],\n        fontSize: Variables['content-font-size'],\n        textAlign: 'center',\n\n        paddingLeft: Variables['content-padding-l-r'],\n        paddingRight: Variables['content-padding-l-r']\n      },\n      footer: {\n        marginTop: Variables['footer-margin-top'],\n        flexDirection: 'row',\n        alignItems: 'center',\n        justifyContent: 'flex-end',\n        backgroundColor: Variables['dialog-bg'],\n        paddingTop: Variables['footer-padding-top-bottom'],\n        paddingBottom: Variables['footer-padding-top-bottom'],\n        // height: Variables['footer-height'],\n        borderBottomLeftRadius: Variables['content-radius'],\n        borderBottomRightRadius: Variables['content-radius'],\n        borderTopWidth: Variables['footer-border-top-width'],\n        borderTopStyle: 'solid',\n        borderTopColor: Variables['footer-border-top-color']\n      },\n      btn: {\n        flex: 1,\n        color: Variables['btn-color'],\n        height: Variables['btn-height'],\n        borderTopLeftRadius: 0,\n        borderTopRightRadius: 0,\n        borderWidth: 0,\n        backgroundColor: 'transparent',\n        borderBottomLeftRadius: Variables['content-radius'],\n        borderBottomRightRadius: Variables['content-radius'],\n        fontSize: Variables['btn-font-size'],\n        fontWeight: 600\n      },\n      'btn-left': {\n        borderBottomLeftRadius: Variables['content-radius'],\n        borderBottomRightRadius: 0,\n        borderRightWidth: Variables['btn-seperator-width'],\n        borderRightStyle: 'solid',\n        fontWeight: 400,\n        borderRightColor: Variables['btn-seperator-color']\n      },\n      'btn-right': {\n        borderBottomLeftRadius: 0,\n        borderBottomRightRadius: Variables['content-radius']\n      },\n      'md-main': {\n        width: Variables['md-dialog-width'],\n        borderRadius: Variables['md-content-radius'],\n        backgroundColor: Variables['md-dialog-bg']\n      },\n      'md-title': {\n        marginTop: Variables['title-margin-top'],\n        marginBottom: Variables['md-title-margin-bottom'],\n        borderRadius: Variables['md-content-radius'],\n        fontSize: Variables['md-title-font-size'],\n        paddingLeft: Variables['md-content-padding-l-r'],\n        paddingRight: Variables['md-content-padding-l-r'],\n        color: Variables['md-title-color'],\n        lineHeight: Variables['title-line-height'],\n        fontWeight: 600,\n        textAlign: 'left'\n        // fontFamily: 'Helvetica',\n      },\n      'md-contentWrap': {\n        paddingLeft: Variables['md-content-padding-l-r'],\n        paddingRight: Variables['md-content-padding-l-r']\n      },\n      'md-content': {\n        lineHeight: Variables['md-content-line-height'],\n        color: Variables['md-content-color'],\n        fontSize: Variables['md-content-font-size'],\n        textAlign: 'left'\n      },\n      'md-footer': {\n        marginTop: Variables['md-footer-margin-top'],\n        marginBottom: Variables['md-footer-margin-bottom'],\n        flexDirection: 'row',\n        alignItems: 'center',\n        justifyContent: 'flex-end',\n        backgroundColor: 'transparent',\n        paddingTop: 0,\n        paddingBottom: 0,\n        // height: Variables['footer-height'],\n        borderBottomLeftRadius: Variables['md-content-radius'],\n        borderBottomRightRadius: Variables['md-content-radius'],\n        // height: Variables['footer-height'],\n        borderTopWidth: 0\n      },\n      'md-btn': {\n        color: Variables['md-btn-color'],\n        borderTopLeftRadius: 0,\n        borderTopRightRadius: 0,\n        borderWidth: 0,\n        backgroundColor: Variables['md-btn-bg-color'],\n        fontWeight: 600,\n\n        height: Variables['md-btn-height'],\n        borderRadius: 0,\n\n        fontSize: Variables['md-btn-font-size']\n      },\n      'md-btn-left': {\n        borderBottomLeftRadius: Variables['content-radius'],\n        borderBottomRightRadius: 0,\n        borderRightWidth: 0,\n        fontWeight: 400\n      }\n    }\n  };\n}\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/Dialog/styles/index.js?");

/***/ }),

/***/ "./lib/Dialog/styles/variable.js":
/*!***************************************!*\
  !*** ./lib/Dialog/styles/variable.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Dialog;\n  /**\n   * 对话框\n   * @namespace component\n   * @property module dialog\n   * @property tag Dialog\n   * @property category component\n   */\n  var variables = {\n    /**\n     * width\n     * @property namespace size/bounding\n     */\n    'dialog-width': 540,\n    /**\n     * width\n     * @property namespace size/bounding\n     */\n    'md-dialog-width': 580,\n    /**\n     * background\n     * @property namespace statement\n     */\n    'dialog-bg': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement\n     */\n    'md-dialog-bg': Core['color-white'],\n    /**\n     * margin(t)\n     * @property namespace size/title\n     */\n    'title-margin-top': 38,\n    /**\n     * margin(t)\n     * @property namespace size/title\n     */\n    'title-font-size': 34,\n    /**\n     * text\n     * @property namespace size/title\n     */\n    'md-title-font-size': Core['font-size-title'],\n    /**\n     * line-height\n     * @property namespace size/title\n     */\n    'title-line-height': 44,\n    /**\n     * margin(b)\n     * @property namespace size/title\n     */\n    'title-margin-bottom': Core['s-1'],\n    /**\n     * margin(b)\n     * @property namespace size/title\n     */\n    'md-title-margin-bottom': Core['s-3'],\n    /**\n     * color\n     * @property namespace statement/title\n     */\n    'title-color': Core['color-black'],\n    /**\n     * color\n     * @property namespace statement/title\n     */\n    'md-title-color': Core['color-text1-4'],\n    /**\n     * margin(b)\n     * @property namespace size/content\n     */\n    'content-padding-l-r': 60,\n    /**\n     * line-height\n     * @property namespace size/content\n     */\n    'content-line-height': Core['s-5'],\n    /**\n     * line-height\n     * @property namespace size/content\n     */\n    'md-content-line-height': Core['s-6'],\n    /**\n     * text\n     * @property namespace size/content\n     */\n    'content-font-size': Core['font-size-body-2'],\n    /**\n     * text\n     * @property namespace size/content\n     */\n    'md-content-font-size': Core['font-size-subhead'],\n    /**\n     * color\n     * @property namespace statement/content\n     */\n    'content-color': Core['color-black'],\n    /**\n     * color\n     * @property namespace statement/content\n     */\n    'md-content-color': Core['color-text1-2'],\n    /**\n     * background\n     * @property namespace statement/content\n     */\n    'content-bg-color': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement/content\n     */\n    'md-content-bg-color': Core['color-fill1-1'],\n\n    /**\n     * corner\n     * @property namespace statement/content\n     */\n    'content-radius': 28,\n    /**\n     * corner\n     * @property namespace statement/content\n     */\n    'md-content-radius': Core['corner-1'],\n    /**\n     * border-top\n     * @property namespace size/footer\n     */\n    'footer-border-top-width': Core['line-1'],\n    /**\n     * border\n     * @property namespace statement/footer\n     */\n    'footer-border-top-color': Core['color-line1-2'],\n    /**\n     * padding(l,r)\n     * @property namespace size/content\n     */\n    'md-content-padding-l-r': Core['s-6'],\n    /**\n     * margin(t)\n     * @property namespace size/footer\n     */\n    'footer-margin-top': 40,\n    /**\n     * padding(t,b)\n     * @property namespace size/footer\n     */\n    'footer-padding-top-bottom': 0,\n    /**\n     * padding(r)\n     * @property namespace size/footer\n     */\n    'footer-padding-right': 0,\n    /**\n     * text\n     * @property namespace statement/button\n     */\n    'btn-font-size': 34,\n    /**\n     * text\n     * @property namespace statement/button\n     */\n    'md-btn-font-size': Core['font-size-body-1'],\n    /**\n     * text\n     * @property namespace statement/button\n     */\n    'btn-seperator-width': Core['line-1'],\n    /**\n     * color\n     * @property namespace statement/seperator\n     */\n    'btn-seperator-color': Core['color-line1-2'],\n    /**\n     * margin(t)\n     * @property namespace size/footer\n     */\n    'md-footer-margin-top': 46,\n    /**\n     * margin(b)\n     * @property namespace size/footer\n     */\n    'md-footer-margin-bottom': Core['s-2'],\n    /**\n     * padding(r)\n     * @property namespace size/footer\n     */\n    'md-footer-padding-right': Core['s-2'],\n    /**\n     * height\n     * @property namespace size/button\n     */\n    'btn-height': Core['s-11'],\n    /**\n     * margin(l)\n     * @property namespace size/button\n     */\n    'btn-margin-left': Core['s-2'],\n    /**\n     * background\n     * @property namespace statment/button\n     */\n    'btn-bg-color': 'transparent',\n    /**\n     * color\n     * @property namespace statment/button\n     */\n    'btn-color': '#007AFF',\n    /**\n     * height\n     * @property namespace statment/button\n     */\n    'md-btn-height': Core['s-9'],\n    /**\n     * margin(l)\n     * @property namespace size/button\n     */\n    'md-btn-margin-left': Core['s-2'],\n    /**\n     * padding(l,r)\n     * @property namespace size/button\n     */\n    'md-btn-padding-lr': Core['s-2'],\n    /**\n     * background\n     * @property namespace statment/button\n     */\n    'md-btn-bg-color': 'transparent',\n    /**\n     * color\n     * @property namespace statment/button\n     */\n    'md-btn-color': Core['color-brand1-6']\n  };\n\n  var variable = Object.assign(variables, ComponentCustomStyle);\n  return variable;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Dialog/styles/variable.js?");

/***/ }),

/***/ "./lib/Dialog/view/base.js":
/*!*********************************!*\
  !*** ./lib/Dialog/view/base.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nexports.show = show;\nexports.hide = hide;\nexports.confirm = confirm;\nexports.alert = alert;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeDom = __webpack_require__(/*! ../../Dom/index.js */ \"./lib/Dom/index.js\");\n\nvar _nukeDom2 = _interopRequireDefault(_nukeDom);\n\nvar _dialog = __webpack_require__(/*! ./dialog.js */ \"./lib/Dialog/view/dialog.js\");\n\nvar _dialog2 = _interopRequireDefault(_dialog);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar noop = function noop() {};\n\nvar dialogInstance = null;\n\nvar container = null;\n\nfunction show() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var onConfirm = arguments[1];\n  var onCancel = arguments[2];\n  var onShow = arguments[3];\n  var onFail = arguments[4];\n\n  onConfirm = onConfirm || noop;\n  onShow = onShow || noop;\n  onFail = onFail || noop;\n  onCancel = onCancel || noop;\n\n  var duration = options.duration,\n      maskClosable = options.maskClosable,\n      contentStyle = options.contentStyle,\n      onMaskPress = options.onMaskPress,\n      type = options.type,\n      locale = options.locale,\n      others = _objectWithoutProperties(options, ['duration', 'maskClosable', 'contentStyle', 'onMaskPress', 'type', 'locale']);\n\n  var attrs = {\n    duration: duration,\n    maskClosable: maskClosable,\n    contentStyle: contentStyle,\n    onShow: onShow,\n    onFail: onFail,\n    onMaskPress: onMaskPress,\n    type: type\n  };\n  if (locale) {\n    attrs.locale = locale;\n  }\n  var dialog = (0, _rax.createElement)(_dialog2.default, _extends({}, others, attrs));\n  if (options.container) {\n    container = (0, _rax.findDOMNode)(options.container);\n  }\n  if (!container) {\n    container = _nukeDom2.default.createEle('div', { t: 'id', abc: '_nuke_wrap' });\n    document.body.appendChild(container);\n  }\n  (0, _rax.render)(dialog, container, function () {\n    dialogInstance = this;\n    dialogInstance.wrappedInstance.show();\n  });\n}\n\nfunction hide() {\n  dialogInstance.wrappedInstance.hide();\n}\n\nfunction confirm() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var callback = arguments[1];\n\n  show(_extends({\n    maskClosable: false\n\n  }, options, {\n\n    showCancelButton: true,\n    showConfirmButton: true\n  }));\n}\nfunction alert() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var callback = arguments[1];\n\n  show(_extends({\n    maskClosable: false\n  }, options, {\n    showConfirmButton: true\n  }));\n}\n\n//# sourceURL=webpack:///./lib/Dialog/view/base.js?");

/***/ }),

/***/ "./lib/Dialog/view/dialog.js":
/*!***********************************!*\
  !*** ./lib/Dialog/view/dialog.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeMask = __webpack_require__(/*! ../../Mask/index.js */ \"./lib/Mask/index.js\");\n\nvar _nukeMask2 = _interopRequireDefault(_nukeMask);\n\nvar _nukeButton = __webpack_require__(/*! ../../Button/index.js */ \"./lib/Button/index.js\");\n\nvar _nukeButton2 = _interopRequireDefault(_nukeButton);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeThemeProvider2 = _interopRequireDefault(_nukeThemeProvider);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Dialog/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nvar _locale = __webpack_require__(/*! ./locale.js */ \"./lib/Dialog/view/locale.js\");\n\nvar _locale2 = _interopRequireDefault(_locale);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n\nvar connectStyle = _nukeThemeProvider2.default.connectStyle;\n\nvar Dialog = function (_Component) {\n  _inherits(Dialog, _Component);\n\n  function Dialog(props) {\n    _classCallCheck(this, Dialog);\n\n    var _this = _possibleConstructorReturn(this, (Dialog.__proto__ || Object.getPrototypeOf(Dialog)).call(this, props));\n\n    _this.show = _this.show.bind(_this);\n    _this.hide = _this.hide.bind(_this);\n    _this.onShow = _this.onShow.bind(_this);\n    _this.onHide = _this.onHide.bind(_this);\n    _this.wrapPress = _this.wrapPress.bind(_this);\n    _this.maskTouchMove = _this.maskTouchMove.bind(_this);\n    _this.contentTouchMove = _this.contentTouchMove.bind(_this);\n    _this.isIOS = _nukeEnv.appInfo.platform.toLowerCase() === 'ios';\n    if (props.type) {\n      _this.isIOS = props.type.toLowerCase() === 'iOS';\n    }\n    return _this;\n  }\n\n  _createClass(Dialog, [{\n    key: 'onShow',\n    value: function onShow() {\n      this.props.onShow && this.props.onShow();\n    }\n  }, {\n    key: 'onHide',\n    value: function onHide() {\n      this.props.onHide && this.props.onHide();\n    }\n  }, {\n    key: 'hide',\n    value: function hide() {\n      this.refs.modalMask && this.refs.modalMask.hide();\n    }\n  }, {\n    key: 'show',\n    value: function show() {\n      this.refs.modalMask && this.refs.modalMask.show();\n    }\n  }, {\n    key: 'wrapPress',\n    value: function wrapPress(e) {\n      if (_nukeEnv.isWeb) {\n        e.stopPropagation();\n      }\n    }\n  }, {\n    key: 'fixBody',\n    value: function fixBody() {\n      if (_nukeEnv.isWeb) {\n        var scrollTop = document.body.scrollTop || document.documentElement.scrollTop;\n        document.body.style.cssText += 'position:fixed;top:-' + scrollTop + 'px;';\n      }\n    }\n  }, {\n    key: 'contentTouchMove',\n    value: function contentTouchMove(e) {\n      if (_nukeEnv.isWeb) {\n        this.fixBody();\n        e.stopPropagation();\n      }\n    }\n  }, {\n    key: 'maskTouchMove',\n    value: function maskTouchMove(e) {\n      if (_nukeEnv.isWeb) {\n        this.fixBody();\n      }\n    }\n  }, {\n    key: 'getHeader',\n    value: function getHeader() {\n      var _props = this.props,\n          title = _props.title,\n          styles = _props.themeStyle;\n\n      if (title) {\n        if (typeof title === 'string') {\n          return (0, _rax.createElement)(\n            _nukeText2.default,\n            {\n              fixedFont: true,\n              style: [styles.title, this.isIOS ? null : styles['md-title']]\n            },\n            title\n          );\n        }\n        return title;\n      }\n      return null;\n    }\n  }, {\n    key: 'cancel',\n    value: function cancel(e, btnPressCb) {\n      var onCancel = this.props.onCancel;\n\n      if (btnPressCb) {\n        btnPressCb.call(this, e);\n      } else {\n        this.refs.modalMask.hide();\n\n        onCancel && onCancel();\n      }\n    }\n  }, {\n    key: 'confirm',\n    value: function confirm(e, btnPressCb) {\n      var onConfirm = this.props.onConfirm;\n\n      if (btnPressCb) {\n        btnPressCb.call(this, e);\n      } else {\n        this.refs.modalMask.hide();\n\n        onConfirm && onConfirm();\n      }\n    }\n  }, {\n    key: 'getFooter',\n    value: function getFooter() {\n      var _this2 = this;\n\n      var _props2 = this.props,\n          showCancelButton = _props2.showCancelButton,\n          showConfirmButton = _props2.showConfirmButton,\n          confirmButtonStyle = _props2.confirmButtonStyle,\n          cancelButtonStyle = _props2.cancelButtonStyle,\n          footerStyle = _props2.footerStyle,\n          styles = _props2.themeStyle;\n\n      var footerDom = [];\n      var locale = this.getLocale();\n      var btnStyles = this.isIOS ? styles.btn : styles['md-btn'];\n      var footerStyles = Object.assign({}, styles.footer, this.isIOS ? null : styles['md-footer'], footerStyle);\n      var cancelDom = void 0;\n      var confirmDom = void 0;\n      if (!showConfirmButton && !showCancelButton) return null;\n      if (showCancelButton) {\n        cancelDom = (0, _rax.createElement)(\n          _nukeButton2.default,\n          {\n            rect: true,\n            fixedFont: true,\n            style: Object.assign({}, btnStyles, this.isIOS ? null : styles['md-btn-weak'], showConfirmButton ? styles['btn-left'] : null, this.isIOS && showConfirmButton ? null : styles['md-btn-left'], cancelButtonStyle),\n            type: 'normal',\n            onPress: function onPress(e) {\n              _this2.cancel(e, null);\n            }\n          },\n          locale.cancel\n        );\n      }\n      if (showConfirmButton) {\n        confirmDom = (0, _rax.createElement)(\n          _nukeButton2.default,\n          {\n            rect: true,\n            style: [btnStyles, showCancelButton ? styles['btn-right'] : null, confirmButtonStyle],\n            type: 'normal',\n            onPress: function onPress(e) {\n              _this2.confirm(e, null);\n            }\n          },\n          locale.confirm\n        );\n      }\n\n      footerDom = (0, _rax.createElement)(\n        _nukeView2.default,\n        { role: 'footer', style: footerStyles },\n        cancelDom,\n        confirmDom\n      );\n      return footerDom;\n    }\n  }, {\n    key: 'getLocale',\n    value: function getLocale() {\n      var _props$locale = this.props.locale,\n          locale = _props$locale === undefined ? {} : _props$locale;\n\n      var localeName = 'en';\n      return Object.assign({}, _locale2.default[localeName] || _locale2.default.en, locale);\n    }\n  }, {\n    key: 'getContent',\n    value: function getContent() {\n      var _props3 = this.props,\n          content = _props3.content,\n          styles = _props3.themeStyle,\n          children = _props3.children;\n\n      if (children) {\n        return children;\n      }\n      if (content) {\n        if (typeof content === 'string') {\n          return (0, _rax.createElement)(\n            _nukeText2.default,\n            {\n              fixedFont: true,\n              style: [styles.content, this.isIOS ? null : styles['md-content']]\n            },\n            content\n          );\n        }\n        return content;\n      }\n      return null;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props4 = this.props,\n          _props4$contentStyle = _props4.contentStyle,\n          contentStyle = _props4$contentStyle === undefined ? {} : _props4$contentStyle,\n          maskClosable = _props4.maskClosable,\n          renderMask = _props4.renderMask,\n          style = _props4.style;\n\n      var styles = this.props.themeStyle;\n      var dialogContent = (0, _rax.createElement)(\n        _nukeView2.default,\n        {\n          'data-role': 'dialogmain',\n          style: [styles.main, this.isIOS ? null : styles['md-main'], contentStyle],\n          onClick: this.wrapPress,\n          onTouchmove: this.contentTouchMove\n        },\n        this.getHeader(),\n        this.getContent(),\n        this.getFooter()\n      );\n      return renderMask ? (0, _rax.createElement)(\n        _nukeMask2.default,\n        {\n          defaultVisible: false,\n          onShow: this.onShow,\n          onHide: this.onHide,\n          ref: 'modalMask',\n          animate: false,\n          noPress: true,\n          style: [styles.mask, _nukeEnv.isWeb ? styles.maskWeb : {}, style],\n          maskClosable: maskClosable,\n          onTouchmove: this.maskTouchMove\n        },\n        dialogContent\n      ) : dialogContent;\n    }\n  }]);\n\n  return Dialog;\n}(_rax.Component);\n\nDialog.defaultProps = {\n  onHide: function onHide() {},\n  onShow: function onShow() {},\n  maskClosable: true,\n  contentStyle: {},\n  children: null,\n  showCancelButton: false,\n  showConfirmButton: false,\n  renderMask: true\n};\nDialog.propTypes = {\n  onHide: _rax.PropTypes.func,\n  onShow: _rax.PropTypes.func,\n  renderMask: _rax.PropTypes.boolean,\n  children: _rax.PropTypes.any,\n  contentStyle: _rax.PropTypes.any\n};\nDialog.displayName = 'Dialog';\nvar StyledDialog = connectStyle(_styles2.default)(Dialog);\n\nexports.default = StyledDialog;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Dialog/view/dialog.js?");

/***/ }),

/***/ "./lib/Dialog/view/locale.js":
/*!***********************************!*\
  !*** ./lib/Dialog/view/locale.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = {\n  en: {\n    cancel: 'Cancel',\n    confirm: 'Confirm'\n  },\n  th: {\n    cancel: 'ยกเลิก',\n    confirm: 'ตกลง'\n  },\n  vi: {\n    cancel: 'Hủy',\n    confirm: 'Có'\n  },\n  id: {\n    cancel: 'Batal',\n    confirm: 'Ya'\n  },\n  ms: {\n    cancel: 'Dibatalkan',\n    confirm: 'Okay'\n  }\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Dialog/view/locale.js?");

/***/ }),

/***/ "./lib/Dimensions/index.js":
/*!*********************************!*\
  !*** ./lib/Dimensions/index.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _extends = Object.assign || 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; };\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar FULL_WIDTH = 750;\n\nvar NAVBAR_HEIGHT = 64;\nvar DEFAULT_SCALE = 2;\nfunction getDimensions() {\n  var landscape = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n  var dimensions = {};\n  if (_nukeEnv.isWeex) {\n    var weexEnv = typeof WXEnvironment !== 'undefined' ? WXEnvironment : {};\n    weexEnv.deviceHeight = parseInt(weexEnv.deviceHeight, 10);\n    weexEnv.deviceWidth = parseInt(weexEnv.deviceWidth, 10);\n    var scale = parseFloat(weexEnv.scale, 10) || DEFAULT_SCALE;\n    if (landscape) {\n      dimensions = {\n        window: {\n          width: (weexEnv.deviceHeight * 750 / weexEnv.deviceWidth).toFixed(),\n\n          scale: scale,\n          fontScale: 1\n        },\n        screen: {\n          width: weexEnv.deviceHeight,\n          height: weexEnv.deviceWidth\n        }\n      };\n      var navbarHeight = 52;\n      if (scale > 2) {\n        navbarHeight = 64;\n      }\n      dimensions.window.height = (FULL_WIDTH - navbarHeight * scale * FULL_WIDTH / weexEnv.deviceWidth).toFixed();\n    } else {\n      dimensions = {\n        window: {\n          width: FULL_WIDTH,\n          height: ((weexEnv.deviceHeight - NAVBAR_HEIGHT * scale) * FULL_WIDTH / weexEnv.deviceWidth).toFixed(),\n          scale: scale,\n          fontScale: 1\n        },\n        screen: {\n          width: weexEnv.deviceWidth,\n          height: weexEnv.deviceHeight\n        }\n      };\n    }\n  } else if (_nukeEnv.isWeb) {\n    var documentElement = document.documentElement;\n    dimensions = {\n      window: {\n        width: FULL_WIDTH,\n        height: (documentElement.clientHeight * FULL_WIDTH / documentElement.clientWidth).toFixed(),\n        scale: window.devicePixelRatio || DEFAULT_SCALE,\n        fontScale: 1\n      }\n    };\n    dimensions.screen = _extends({}, window.screen);\n    dimensions.screen.width = window.screen.width * window.devicePixelRatio;\n    dimensions.screen.height = window.screen.height * window.devicePixelRatio;\n  }\n\n  return dimensions;\n}\n\nvar Dimensions = function () {\n  function Dimensions() {\n    _classCallCheck(this, Dimensions);\n  }\n\n  _createClass(Dimensions, null, [{\n    key: 'get',\n    value: function get(dim) {\n      return getDimensions()[dim];\n    }\n  }, {\n    key: 'getWindowInfo',\n    value: function getWindowInfo(landscape) {\n      return getDimensions(landscape)['window'];\n    }\n  }, {\n    key: 'getScreenInfo',\n    value: function getScreenInfo(landscape) {\n      return getDimensions(landscape)['screen'];\n    }\n  }]);\n\n  return Dimensions;\n}();\n\nexports.default = Dimensions;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Dimensions/index.js?");

/***/ }),

/***/ "./lib/Dom/index.js":
/*!**************************!*\
  !*** ./lib/Dom/index.js ***!
  \**************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar isWeb = typeof callNative !== 'function';\n\nfunction createEle(type) {\n  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var children = arguments[2];\n\n  var el = document.createElement(type);\n  if (children) {\n    if (!Array.isArray(children)) {\n      children = [children];\n    }\n    children.forEach(function (child) {\n      child && el.appendChild(child);\n    });\n  }\n  (0, _rax.setNativeProps)(el, opts);\n  return el;\n}\nfunction append(ele) {\n  document.body.appendChild(ele);\n}\nfunction ready(callback) {\n  if (callback) {\n    callbacks = callbacks || [];\n    callbacks.push(callback);\n  }\n\n  if (document.body) {\n    clearInterval(timer);\n    timer = null;\n    while (callbacks.length) {\n      callbacks.shift()();\n    }\n  } else if (!timer) {\n    timer = setInterval(bodyReady, 16);\n  }\n}\n\nfunction getRect(ref) {\n  return new Promise(function (resolve, reject) {\n    var res = {\n      width: null,\n      height: null,\n      isSuccess: false\n    };\n    if (!ref) {\n      reject(res);\n    }\n    var domEl = (0, _rax.findDOMNode)(ref);\n    if (domEl) {\n      if (isWeb) {\n        var size = domEl.getBoundingClientRect();\n        resolve(_extends({\n          isSuccess: true\n        }, size));\n      }\n    } else {\n      try {\n        var dom = __webpack_require__(/*! @weex-module/dom */ \"@weex-module/dom\");\n        dom.getComponentRect(domEl.ref, function (e) {\n          if (e && e.size) {\n            resolve(_extends({\n              isSuccess: true\n            }, e.size));\n          } else {\n            reject(res);\n          }\n        });\n      } catch (e) {\n        reject(res);\n      }\n    }\n  });\n}\nexports.default = {\n  createEle: createEle,\n  append: append,\n  ready: ready,\n  getRect: getRect\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Dom/index.js?");

/***/ }),

/***/ "./lib/Env/env.js":
/*!************************!*\
  !*** ./lib/Env/env.js ***!
  \************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/* WEBPACK VAR INJECTION */(function(global) {\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar isWeb = typeof callNative === 'undefined';\nvar isNode = (typeof global === 'undefined' ? 'undefined' : _typeof(global)) === 'object';\nvar isWeex = typeof callNative === 'function' || (typeof WXEnvironment === 'undefined' ? 'undefined' : _typeof(WXEnvironment)) === 'object' && WXEnvironment.platform !== 'Web';\nvar isReactNative = typeof __fbBatchedBridgeConfig !== 'undefined';\nvar appInfo = {};\nvar isQNWeb = false;\nvar isQNWeex = false;\nvar params = {};\nvar runtimeInfo = {};\n\nexports.isWeb = isWeb;\nexports.isNode = isNode;\nexports.isWeex = isWeex;\nexports.isReactNative = isReactNative;\nexports.appInfo = appInfo;\nexports.isQNWeb = isQNWeb;\nexports.isQNWeex = isQNWeex;\nexports.params = params;\nexports.runtimeInfo = runtimeInfo;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node_modules/webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./lib/Env/env.js?");

/***/ }),

/***/ "./lib/Env/index.js":
/*!**************************!*\
  !*** ./lib/Env/index.js ***!
  \**************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _native = __webpack_require__(/*! ./native.js */ \"./lib/Env/native.js\");\n\nvar _web = __webpack_require__(/*! ./web.js */ \"./lib/Env/web.js\");\n\nvar isWeex = typeof callNative === 'function';\n\n// eslint-disable-next-line\nvar Entry = void 0;\nif (isWeex) {\n  Entry = _native.nativeEnv;\n} else {\n  Entry = _web.webEnv;\n}\n\nexports.default = Entry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Env/index.js?");

/***/ }),

/***/ "./lib/Env/mini-ua-parser.js":
/*!***********************************!*\
  !*** ./lib/Env/mini-ua-parser.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/**\n * UAParser.js v0.7.17\n * Lightweight JavaScript-based User-Agent string parser\n * https://github.com/faisalman/ua-parser-js\n *\n * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>\n * Dual licensed under GPLv2 or MIT\n * 2018-04-24 modified by dubu\n * @description  reduce size of ua judge\n * 移除对windows平台、amazon的判断逻辑、浏览器内核判断逻辑,各种没有听说过的平板判断与系统判断\n */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar LIBVERSION = '0.7.17';\nvar EMPTY = '';\nvar UNKNOWN = '?';\nvar MAJOR = 'major'; // deprecated\nvar MODEL = 'model';\nvar NAME = 'name';\nvar TYPE = 'type';\nvar VENDOR = 'vendor';\nvar VERSION = 'version';\nvar CONSOLE = 'console';\nvar MOBILE = 'mobile';\nvar TABLET = 'tablet';\nvar SMARTTV = 'smarttv';\nvar WEARABLE = 'wearable';\nvar EMBEDDED = 'embedded';\n\nvar util = {\n  extend: function extend(regexes, extensions) {\n    var margedRegexes = {};\n    for (var i in regexes) {\n      if (extensions[i] && extensions[i].length % 2 === 0) {\n        margedRegexes[i] = extensions[i].concat(regexes[i]);\n      } else {\n        margedRegexes[i] = regexes[i];\n      }\n    }\n    return margedRegexes;\n  },\n  has: function has(str1, str2) {\n    if (typeof str1 === 'string') {\n      return str2.toLowerCase().indexOf(str1.toLowerCase()) !== -1;\n    }\n    return false;\n  },\n  lowerize: function lowerize(str) {\n    return str.toLowerCase();\n  },\n  major: function major(version) {\n    return typeof version === 'string' ? version.replace(/[^\\d.]/g, '').split('.')[0] : undefined;\n  },\n  trim: function trim(str) {\n    return str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n  }\n};\n\nvar mapper = {\n  rgx: function rgx(ua, arrays) {\n    // var result = {},\n    var i = 0;\n    var j = void 0;\n    var k = void 0;\n    var p = void 0;\n    var q = void 0;\n    var matches = void 0;\n    var match = void 0; // , args = arguments;\n\n    while (i < arrays.length && !matches) {\n      var regex = arrays[i]; // even sequence (0,2,4,..)\n      var props = arrays[i + 1]; // odd sequence (1,3,5,..)\n      j = k = 0;\n\n      // try matching uastring with regexes\n      while (j < regex.length && !matches) {\n        matches = regex[j++].exec(ua);\n\n        if (matches && typeof props !== 'undefined') {\n          for (p = 0; p < props.length; p++) {\n            match = matches[++k];\n            q = props[p];\n            // check if given property is actually array\n            if ((typeof q === 'undefined' ? 'undefined' : _typeof(q)) === 'object' && q.length > 0) {\n              if (q.length == 2) {\n                if (typeof q[1] === 'function') {\n                  // assign modified match\n                  this[q[0]] = q[1].call(this, match);\n                } else {\n                  // assign given value, ignore regex match\n                  this[q[0]] = q[1];\n                }\n              } else if (q.length == 3) {\n                // check whether function or regex\n                if (typeof q[1] === 'function' && !(q[1].exec && q[1].test)) {\n                  // call function (usually string mapper)\n                  this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;\n                } else {\n                  // sanitize match using given regex\n                  this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;\n                }\n              } else if (q.length === 4) {\n                this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;\n              }\n            } else {\n              this[q] = match || undefined;\n            }\n          }\n        }\n      }\n      i += 2;\n    }\n    // console.log(this);\n    // return this;\n  },\n  str: function str(_str, map) {\n    for (var i in map) {\n      // check if array\n      if (_typeof(map[i]) === 'object' && map[i].length > 0) {\n        for (var j = 0; j < map[i].length; j++) {\n          if (util.has(map[i][j], _str)) {\n            return i === UNKNOWN ? undefined : i;\n          }\n        }\n      } else if (util.has(map[i], _str)) {\n        return i === UNKNOWN ? undefined : i;\n      }\n    }\n    return _str;\n  }\n};\n\nvar regexes = {\n  browser: [[\n  // Presto based\n  /(opera\\smini)\\/([\\w.-]+)/i, // Opera Mini\n  /(opera\\s[mobiletab]+).+version\\/([\\w.-]+)/i, // Opera Mobi/Tablet\n  /(opera).+version\\/([\\w.]+)/i, // Opera > 9.80\n  /(opera)[/\\s]+([\\w.]+)/i], [NAME, VERSION], [/(opios)[/\\s]+([\\w.]+)/i], [[NAME, 'Opera Mini'], VERSION], [/\\s(opr)\\/([\\w.]+)/i], [[NAME, 'Opera'], VERSION], [/((?:[\\s\\/])uc?\\s?browser|(?:juc.+)ucweb)[\\/\\s]?([\\w\\.]+)/i], [[NAME, 'UCBrowser'], VERSION], [/(micromessenger)\\/([\\w\\.]+)/i], [[NAME, 'WeChat'], VERSION], [/(QQ)\\/([\\d\\.]+)/i], [NAME, VERSION], [/m?(qqbrowser)[\\/\\s]?([\\w\\.]+)/i], [NAME, VERSION], [/xiaomi\\/miuibrowser\\/([\\w\\.]+)/i], [VERSION, [NAME, 'MIUI Browser']], [/;fbav\\/([\\w\\.]+);/i], [VERSION, [NAME, 'Facebook']], [/headlesschrome(?:\\/([\\w\\.]+)|\\s)/i], [VERSION, [NAME, 'Chrome Headless']], [/\\swv\\).+(chrome)\\/([\\w\\.]+)/i], [[NAME, /(.+)/, '$1 WebView'], VERSION], [/((?:oculus|samsung)browser)\\/([\\w\\.]+)/i], [[NAME, /(.+(?:g|us))(.+)/, '$1 $2'], VERSION], [\n  // Oculus / Samsung Browser\n  /android.+version\\/([\\w\\.]+)\\s+(?:mobile\\s?safari|safari)*/i], [VERSION, [NAME, 'Android Browser']], [/(chrome|omniweb|arora|[tizenoka]{5}\\s?browser)\\/v?([\\w\\.]+)/i], [[NAME, 'Dolphin'], VERSION], [/(dolfin)\\/([\\w\\.]+)/i], [[NAME, 'Chrome'], VERSION], [/((?:android.+)crmo|crios)\\/([\\w\\.]+)/i], [[NAME, 'Opera Coast'], VERSION], [/(coast)\\/([\\w\\.]+)/i], [VERSION, [NAME, 'Firefox']], [/fxios\\/([\\w\\.-]+)/i], [VERSION, [NAME, 'Mobile Safari']], [/version\\/([\\w\\.]+).+?mobile\\/\\w+\\s(safari)/i], [VERSION, NAME], [/version\\/([\\w\\.]+).+?(mobile\\s?safari|safari)/i], [[NAME, 'GSA'], VERSION], [/webkit.+?(gsa)\\/([\\w\\.]+).+?(mobile\\s?safari|safari)(\\/[\\w\\.]+)/i], [[NAME, 'Netscape'], VERSION], [\n  // Gecko based\n  /(navigator|netscape)\\/([\\w\\.-]+)/i], [NAME, VERSION], [/(mozilla)\\/([\\w\\.]+).+rv\\:.+gecko\\/\\d+/i]],\n\n  device: [[/\\((ipad|playbook);[\\w\\s\\);-]+(rim|apple)/i], [MODEL, VENDOR, [TYPE, TABLET]], [/applecoremedia\\/[\\w\\.]+ \\((ipad)/], [MODEL, [VENDOR, 'Apple'], [TYPE, TABLET]], [/\\((ip[honed|\\s\\w*]+);.+(apple)/i], [MODEL, VENDOR, [TYPE, MOBILE]], [/\\((ip[honed|\\s\\w*]+);/i], [MODEL, [VENDOR, 'Apple'], [TYPE, MOBILE]], [/(sony)\\s(tablet\\s[ps])\\sbuild\\//i, // Sony\n  /(sony)?(?:sgp.+)\\sbuild\\//i], [[VENDOR, 'Sony'], [MODEL, 'Xperia Tablet'], [TYPE, TABLET]], [/android.+\\s([c-g]\\d{4}|so[-l]\\w+)\\sbuild\\//i], [MODEL, [VENDOR, 'Sony'], [TYPE, CONSOLE]], [/(lenovo)\\s?(S(?:5000|6000)+(?:[-][\\w+]))/i], [VENDOR, MODEL, [TYPE, TABLET]], [/(htc)[;_\\s-]+([\\w\\s]+(?=\\))|\\w+)*/i, // HTC\n  /(zte)-(\\w+)*/i, // ZTE\n  /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\\s)sony)[_\\s-]?([\\w-]+)*/i], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [/(nexus\\s9)/i], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [/d\\/huawei([\\w\\s-]+)[;\\)]/i, /(nexus\\s6p)/i], [MODEL, [VENDOR, 'Huawei'], [TYPE, MOBILE]], [/(microsoft);\\s(lumia[\\s\\w]+)/i], [VENDOR, MODEL, [TYPE, MOBILE]], [/android.+\\s(mz60\\d|xoom[\\s2]{0,2})\\sbuild\\//i], [[VENDOR, util.trim], [MODEL, util.trim], [TYPE, SMARTTV]], [/\\(dtv[\\);].+(aquos)/i], [MODEL, [VENDOR, 'Sharp'], [TYPE, SMARTTV]], [/android.+((sch-i[89]0\\d|shw-m380s|gt-p\\d{4}|gt-n\\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\\w+))/i], [[VENDOR, 'Samsung'], MODEL, [TYPE, TABLET]], [\n  // Samsung\n  /smart-tv.+(samsung)/i], [VENDOR, [TYPE, SMARTTV], MODEL], [/((s[cgp]h-\\w+|gt-\\w+|galaxy\\snexus|sm-\\w[\\w\\d]+))/i, /(sam[sung]*)[\\s-]*(\\w+-?[\\w-]*)*/i, /sec-((sgh\\w+))/i], [[VENDOR, 'Samsung'], MODEL, [TYPE, MOBILE]], [/(maemo|nokia).*(n900|lumia\\s\\d+)/i, // Nokia\n  /(nokia)[\\s_-]?([\\w-]+)*/i], [[VENDOR, 'Nokia'], MODEL, [TYPE, MOBILE]], [/(nexus\\s[45])/i, // LG\n  /lg[e;\\s\\/-]+(\\w+)*/i, /android.+lg(\\-?[\\d\\w]+)\\s+build/i], [MODEL, [VENDOR, 'LG'], [TYPE, MOBILE]], [/android.+(ideatab[a-z0-9\\-\\s]+)/i], [MODEL, [VENDOR, 'Lenovo'], [TYPE, TABLET]], [/android.+;\\s(oppo)\\s?([\\w\\s]+)\\sbuild/i], [VENDOR, MODEL, [TYPE, MOBILE]], [/crkey/i], [[MODEL, 'Chromecast'], [VENDOR, 'Google']], [/android.+(\\w+)\\s+build\\/hm\\1/i, // Xiaomi Hongmi 'numeric' models\n  /android.+(hm[\\s\\-_]*note?[\\s_]*(?:\\d\\w)?)\\s+build/i, // Xiaomi Hongmi\n  /android.+(mi[\\s\\-_]*(?:one|one[\\s_]plus|note lte)?[\\s_]*(?:\\d\\w?)?[\\s_]*(?:plus)?)\\s+build/i, // Xiaomi Mi\n  /android.+(redmi[\\s\\-_]*(?:note)?(?:[\\s_]*[\\w\\s]+)?)\\s+build/i], [[MODEL, /_/g, ' '], [VENDOR, 'Xiaomi'], [TYPE, MOBILE]], [/android.+(mi[\\s\\-_]*(?:pad)(?:[\\s_]*[\\w\\s]+)?)\\s+build/i], [[MODEL, /_/g, ' '], [VENDOR, 'Xiaomi'], [TYPE, TABLET]], [/android.+;\\s(m[1-5]\\snote)\\sbuild/i], [MODEL, [VENDOR, 'Meizu'], [TYPE, TABLET]], [/android.+a000(1)\\s+build/i, // OnePlus\n  /android.+oneplus\\s(a\\d{4})\\s+build/i], [MODEL, [VENDOR, 'OnePlus'], [TYPE, MOBILE]], [/android.+[;\\/]\\s*(zte)?.+(k\\d{2})\\s+build/i], [[VENDOR, 'ZTE'], MODEL, [TYPE, TABLET]], [/\\s(tablet|tab)[;\\/]/i, // Unidentifiable Tablet\n  /\\s(mobile)(?:[;\\/]|\\ssafari)/i], [[TYPE, util.lowerize], VENDOR, MODEL]],\n  os: [[/(android|webos|palm\\sos|qnx|bada|rim\\stablet\\sos|meego|contiki)[\\/\\s-]?([\\w\\.]+)*/i], [NAME, VERSION], [/(cros)\\s[\\w]+\\s([\\w\\.]+\\w)/i], [[NAME, 'Chromium OS'], VERSION], [/cfnetwork\\/.+darwin/i, /ip[honead]+(?:.*os\\s([\\w]+)\\slike\\smac|;\\sopera)/i], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [/(mac\\sos\\sx)\\s?([\\w\\s\\.]+\\w)*/i, /(macintosh|mac(?=_powerpc)\\s)/i], [NAME], [/mozilla.+\\(mobile;.+gecko.+firefox/i], [[NAME, 'Mac OS'], [VERSION, /_/g, '.']]]\n};\n\nvar UAParser = function UAParser(uastring, extensions) {\n  if ((typeof uastring === 'undefined' ? 'undefined' : _typeof(uastring)) === 'object') {\n    extensions = uastring;\n    uastring = undefined;\n  }\n\n  if (!(this instanceof UAParser)) {\n    return new UAParser(uastring, extensions).getResult();\n  }\n\n  var ua = uastring || (window && window.navigator && window.navigator.userAgent ? window.navigator.userAgent : EMPTY);\n  var rgxmap = extensions ? util.extend(regexes, extensions) : regexes;\n  // var browser = new Browser();\n  // var device = new Device();\n  // var os = new OS();\n\n  this.getBrowser = function () {\n    var browser = { name: undefined, version: undefined };\n    mapper.rgx.call(browser, ua, rgxmap.browser);\n    browser.major = util.major(browser.version); // deprecated\n    return browser;\n  };\n  this.getDevice = function () {\n    var device = { vendor: undefined, model: undefined, type: undefined };\n    mapper.rgx.call(device, ua, rgxmap.device);\n    return device;\n  };\n\n  this.getOS = function () {\n    var os = { name: undefined, version: undefined };\n    mapper.rgx.call(os, ua, rgxmap.os);\n    return os;\n  };\n  this.getResult = function () {\n    return {\n      ua: this.getUA(),\n      browser: this.getBrowser(),\n      os: this.getOS(),\n      device: this.getDevice()\n    };\n  };\n  this.getUA = function () {\n    return ua;\n  };\n  this.setUA = function (uastring) {\n    ua = uastring;\n    // browser = new Browser();\n    // device = new Device();\n    // os = new OS();\n    return this;\n  };\n  return this;\n};\n\nUAParser.VERSION = LIBVERSION;\nUAParser.BROWSER = {\n  NAME: NAME,\n  MAJOR: MAJOR, // deprecated\n  VERSION: VERSION\n};\n\nUAParser.DEVICE = {\n  MODEL: MODEL,\n  VENDOR: VENDOR,\n  TYPE: TYPE,\n  CONSOLE: CONSOLE,\n  MOBILE: MOBILE,\n  SMARTTV: SMARTTV,\n  TABLET: TABLET,\n  WEARABLE: WEARABLE,\n  EMBEDDED: EMBEDDED\n};\n\nUAParser.OS = {\n  NAME: NAME,\n  VERSION: VERSION\n};\n// UAParser.Utils = util;\nexports.UAParser = UAParser;\n\n//# sourceURL=webpack:///./lib/Env/mini-ua-parser.js?");

/***/ }),

/***/ "./lib/Env/native.js":
/*!***************************!*\
  !*** ./lib/Env/native.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.nativeEnv = undefined;\n\nvar _extends = Object.assign || 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; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _env = __webpack_require__(/*! ./env.js */ \"./lib/Env/env.js\");\n\nvar env = _interopRequireWildcard(_env);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nvar nativeEnv = Object.assign({}, env);\n\nvar appInfo = '';\nvar params = {};\nvar runtimeInfo = {};\nvar WeexEnv =\n// eslint-disable-next-line\ntypeof window !== 'undefined' && window.hasOwnProperty('__weex_env__') ? Object.assign({}, window.__weex_env__) : typeof WXEnvironment !== 'undefined' ? Object.assign({}, WXEnvironment) : {};\nif (WeexEnv.appName === 'QN') {\n  nativeEnv.isQNWeb = false;\n  nativeEnv.isQNWeex = true;\n}\nappInfo = Object.assign({}, WeexEnv);\nparams = typeof __weex_data__ !== 'undefined' ? __weex_data__ : {};\nruntimeInfo = typeof __weex_options__ !== 'undefined' ? __weex_options__ : {};\nif (runtimeInfo.weex && _typeof(runtimeInfo.weex.config) === 'object') {\n  runtimeInfo = _extends({}, runtimeInfo, runtimeInfo.weex.config);\n}\nnativeEnv.appInfo = appInfo;\nnativeEnv.params = params;\nnativeEnv.runtimeInfo = runtimeInfo;\n\nexports.nativeEnv = nativeEnv;\n\n//# sourceURL=webpack:///./lib/Env/native.js?");

/***/ }),

/***/ "./lib/Env/web.js":
/*!************************!*\
  !*** ./lib/Env/web.js ***!
  \************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.webEnv = undefined;\n\nvar _miniUaParser = __webpack_require__(/*! ./mini-ua-parser.js */ \"./lib/Env/mini-ua-parser.js\");\n\nvar _env = __webpack_require__(/*! ./env.js */ \"./lib/Env/env.js\");\n\nvar env = _interopRequireWildcard(_env);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nvar webEnv = Object.assign({}, env);\nvar userAgent = '';\ntry {\n  userAgent = navigator.userAgent.toLowerCase();\n} catch (e) {}\n\nvar appInfo = '';\nvar params = {};\nvar runtimeInfo = {};\nvar parsedUA = new _miniUaParser.UAParser().getResult();\nappInfo = {\n  platform: parsedUA.os.name || '',\n  osVersion: parsedUA.os.version || '',\n  isInAliApp: /AliApp/i.test(userAgent),\n  deviceModel: parsedUA.device.model,\n  isWindVane: /WindVane/i.test(userAgent)\n};\nvar appVersion = void 0;\nvar appName = void 0;\nif (appInfo.isInAliApp) {\n  try {\n    var matchResult = userAgent.match(/AliApp\\(([a-z-A-Z]{1,20})\\/(\\d+(\\.\\d+){0,3})?\\)/i);\n    if (matchResult && matchResult.length >= 3) {\n      appName = matchResult[1];\n      appVersion = matchResult[2];\n    }\n  } catch (e) {}\n  if (appName) {\n    appInfo.appName = appName;\n  }\n  if (appVersion) {\n    appInfo.appVersion = appVersion;\n  }\n}\nif (appInfo.appName === 'QN') {\n  webEnv.isQNWeb = true;\n  webEnv.isQNWeex = false;\n}\nif (window.location.search) {\n  var searchString = window.location.search.substring(1);\n  var i = void 0;\n  var val = void 0;\n  var paramsArr = searchString.split('&');\n  for (i = 0; i < paramsArr.length; i += 1) {\n    val = paramsArr[i].split('=');\n    params[val[0]] = decodeURIComponent(val[1]);\n  }\n}\n\nwebEnv.appInfo = appInfo;\nwebEnv.params = params;\nwebEnv.runtimeInfo = runtimeInfo;\nwebEnv.UAParser = _miniUaParser.UAParser;\nexports.webEnv = webEnv;\n\n//# sourceURL=webpack:///./lib/Env/web.js?");

/***/ }),

/***/ "./lib/EpTabbar/index.js":
/*!*******************************!*\
  !*** ./lib/EpTabbar/index.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/**\n * Copyright (c) 2017-present, Alibaba Group Holding Limited.\n * All rights reserved.\n */\n/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _item = __webpack_require__(/*! ./view/item.js */ \"./lib/EpTabbar/view/item.js\");\n\nvar _item2 = _interopRequireDefault(_item);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar isWeex = typeof callNative === 'function' || (typeof WXEnvironment === 'undefined' ? 'undefined' : _typeof(WXEnvironment)) === 'object' && WXEnvironment.platform !== 'Web';\nvar Entry = void 0;\nif (isWeex) {\n  Entry = __webpack_require__(/*! ./view/tabbar.js */ \"./lib/EpTabbar/view/tabbar.js\");\n} else {\n  Entry = __webpack_require__(/*! ./view/tabbar-web.js */ \"./lib/EpTabbar/view/tabbar-web.js\");\n}\nEntry.Item = _item2.default;\n\nexports.default = Entry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/index.js?");

/***/ }),

/***/ "./lib/EpTabbar/styles/index.js":
/*!**************************************!*\
  !*** ./lib/EpTabbar/styles/index.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/EpTabbar/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction StyleMix() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  return {\n    'Ep-Tabbar': {\n      wrapContainer: {\n        position: 'absolute',\n        top: '-1rem',\n        left: '0rem',\n        bottom: '0rem',\n        width: '750rem',\n        overflow: 'hidden'\n      },\n      header: {\n        position: 'absolute',\n        flexDirection: 'row',\n        width: '750rem',\n        zIndex: '10'\n      },\n      nav: {\n        position: 'absolute',\n        width: Variables['tab-size-width'],\n        height: Variables['nav-size-height'],\n        backgroundColor: Variables['normal-bg-color'],\n        zIndex: '10'\n      },\n      navContent: {\n        height: Variables['nav-size-height']\n      },\n      tabInner: {\n        position: 'relative',\n        width: Variables['tab-size-width'],\n        height: Variables['nav-size-height'],\n        flexDirection: 'row'\n      },\n      container: {\n        // position: 'absolute',\n        left: '0rem',\n        top: '0rem',\n        width: '750rem'\n      },\n      slider: {\n        position: 'absolute',\n        top: '0',\n        left: '0',\n        bottom: '0',\n        width: '750rem'\n      },\n      eachTab: {\n        position: 'absolute',\n        top: '0',\n        left: '0',\n        bottom: '0',\n        width: 750\n      }\n    }\n  };\n}\n\nexports.default = StyleMix;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/styles/index.js?");

/***/ }),

/***/ "./lib/EpTabbar/styles/variable.js":
/*!*****************************************!*\
  !*** ./lib/EpTabbar/styles/variable.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Radio;\n\n  /**\n   * tab容器\n   * @namespace component\n   * @property module tabbar\n   * @property tag TABBAR\n   * @property category component\n   */\n\n  var tabVaribles = {\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'tab-size-width': 750,\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'nav-size-height': 88,\n    /**\n     * background\n     * @property namespace size/icon\n     */\n    'normal-bg-color': Core['color-white']\n  };\n  var variables = Object.assign(tabVaribles, ComponentCustomStyle);\n  return variables;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/EpTabbar/styles/variable.js?");

/***/ }),

/***/ "./lib/EpTabbar/util/emitter.js":
/*!**************************************!*\
  !*** ./lib/EpTabbar/util/emitter.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _componentEmitter = __webpack_require__(/*! component-emitter */ \"./src/node_modules/component-emitter/index.js\");\n\nvar _componentEmitter2 = _interopRequireDefault(_componentEmitter);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar newEmitter = new _componentEmitter2.default();\n\nexports.default = {\n  on: newEmitter.on,\n  emit: newEmitter.emit,\n  off: newEmitter.off\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/util/emitter.js?");

/***/ }),

/***/ "./lib/EpTabbar/view/finger.js":
/*!*************************************!*\
  !*** ./lib/EpTabbar/view/finger.js ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n\nvar Finger = function (_Component) {\n  _inherits(Finger, _Component);\n\n  function Finger(props) {\n    _classCallCheck(this, Finger);\n\n    var _this = _possibleConstructorReturn(this, (Finger.__proto__ || Object.getPrototypeOf(Finger)).call(this, props));\n\n    _this.preV = { x: null, y: null };\n    _this.pinchStartLen = null;\n    _this.scale = 1;\n    _this.isDoubleTap = false;\n    _this.delta = null;\n    _this.last = null;\n    _this.now = null;\n    _this.end = null;\n    _this.multiTouch = false;\n    _this.tapTimeout = null;\n    _this.longTapTimeout = null;\n    _this.singleTapTimeout = null;\n    _this.swipeTimeout = null;\n    _this.x1 = _this.x2 = _this.y1 = _this.y2 = null;\n    _this.preTapPosition = { x: null, y: null };\n    return _this;\n  }\n\n  _createClass(Finger, [{\n    key: 'getLen',\n    value: function getLen(v) {\n      return Math.sqrt(v.x * v.x + v.y * v.y);\n    }\n  }, {\n    key: 'dot',\n    value: function dot(v1, v2) {\n      return v1.x * v2.x + v1.y * v2.y;\n    }\n  }, {\n    key: 'getAngle',\n    value: function getAngle(v1, v2) {\n      var mr = this.getLen(v1) * this.getLen(v2);\n      if (mr === 0) return 0;\n      var r = this.dot(v1, v2) / mr;\n      if (r > 1) r = 1;\n      return Math.acos(r);\n    }\n  }, {\n    key: 'cross',\n    value: function cross(v1, v2) {\n      return v1.x * v2.y - v2.x * v1.y;\n    }\n  }, {\n    key: 'getRotateAngle',\n    value: function getRotateAngle(v1, v2) {\n      var angle = this.getAngle(v1, v2);\n      if (this.cross(v1, v2) > 0) {\n        angle *= -1;\n      }\n\n      return angle * 180 / Math.PI;\n    }\n  }, {\n    key: '_resetState',\n    value: function _resetState() {\n      this.setState({\n        x: null,\n        y: null,\n        swiping: false,\n        start: 0\n      });\n    }\n  }, {\n    key: '_emitEvent',\n    value: function _emitEvent(name) {\n      if (this.props[name]) {\n        var _props;\n\n        for (var _len = arguments.length, arg = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n          arg[_key - 1] = arguments[_key];\n        }\n\n        (_props = this.props)[name].apply(_props, arg);\n      }\n    }\n  }, {\n    key: '_handleTouchStart',\n    value: function _handleTouchStart(evt) {\n      var _this2 = this;\n\n      if (!evt.touches) return;\n      this.now = Date.now();\n      this.x1 = evt.touches[0].pageX;\n      this.y1 = evt.touches[0].pageY;\n      this.delta = this.now - (this.last || this.now);\n      if (this.preTapPosition.x !== null) {\n        this.isDoubleTap = this.delta > 0 && this.delta <= 250 && Math.abs(this.preTapPosition.x - this.x1) < 30 && Math.abs(this.preTapPosition.y - this.y1) < 30;\n      }\n      this.preTapPosition.x = this.x1;\n      this.preTapPosition.y = this.y1;\n      this.last = this.now;\n      var preV = this.preV,\n          len = evt.touches.length;\n\n      if (len > 1) {\n        this._cancelLongTap();\n        this._cancelSingleTap();\n        var v = {\n          x: evt.touches[1].pageX - this.x1,\n          y: evt.touches[1].pageY - this.y1\n        };\n        preV.x = v.x;\n        preV.y = v.y;\n        this.pinchStartLen = this.getLen(preV);\n        this._emitEvent('onMultipointStart', evt);\n      }\n      this.longTapTimeout = setTimeout(function () {\n        _this2._emitEvent('onLongTap', evt);\n      }, 750);\n    }\n  }, {\n    key: '_handleTouchMove',\n    value: function _handleTouchMove(evt) {\n      var preV = this.preV,\n          len = evt.touches.length,\n          currentX = evt.touches[0].pageX,\n          currentY = evt.touches[0].pageY;\n      this.isDoubleTap = false;\n      if (len > 1) {\n        var v = {\n          x: evt.touches[1].pageX - currentX,\n          y: evt.touches[1].pageY - currentY\n        };\n        if (preV.x !== null) {\n          if (this.pinchStartLen > 0) {\n            evt.center = {\n              x: (evt.touches[1].pageX + currentX) / 2,\n              y: (evt.touches[1].pageY + currentY) / 2\n            };\n            evt.scale = this.getLen(v) / this.pinchStartLen;\n            this._emitEvent('onPinch', evt);\n          }\n          evt.angle = this.getRotateAngle(v, preV);\n          this._emitEvent('onRotate', evt);\n        }\n        preV.x = v.x;\n        preV.y = v.y;\n        this.multiTouch = true;\n      } else {\n        if (this.x2 !== null) {\n          evt.deltaX = currentX - this.x2;\n          evt.deltaY = currentY - this.y2;\n        } else {\n          evt.deltaX = 0;\n          evt.deltaY = 0;\n        }\n        this._emitEvent('onPressMove', evt);\n      }\n      this._cancelLongTap();\n      this.x2 = currentX;\n      this.y2 = currentY;\n\n      if (len > 1) {\n        evt.preventDefault();\n      }\n    }\n  }, {\n    key: '_handleTouchCancel',\n    value: function _handleTouchCancel() {\n      clearInterval(this.singleTapTimeout);\n      clearInterval(this.tapTimeout);\n      clearInterval(this.longTapTimeout);\n      clearInterval(this.swipeTimeout);\n    }\n  }, {\n    key: '_handleTouchEnd',\n    value: function _handleTouchEnd(evt) {\n      var _this3 = this;\n\n      this.end = Date.now();\n      this._cancelLongTap();\n\n      if (evt.touches.length < 2) {\n        this._emitEvent('onMultipointEnd', evt);\n      }\n\n      evt.origin = [this.x1, this.y1];\n      if (this.multiTouch === false) {\n        if (this.x2 && Math.abs(this.x1 - this.x2) > 30 || this.y2 && Math.abs(this.preV.y - this.y2) > 30) {\n          evt.direction = this._swipeDirection(this.x1, this.x2, this.y1, this.y2);\n          evt.distance = Math.abs(this.x1 - this.x2);\n          this.swipeTimeout = setTimeout(function () {\n            _this3._emitEvent('onSwipe', evt);\n          }, 0);\n        } else {\n          this.tapTimeout = setTimeout(function () {\n            _this3._emitEvent('onTap', evt);\n            if (_this3.isDoubleTap) {\n              _this3._emitEvent('onDoubleTap', evt);\n              clearTimeout(_this3.singleTapTimeout);\n              _this3.isDoubleTap = false;\n            } else {\n              _this3.singleTapTimeout = setTimeout(function () {\n                _this3._emitEvent('onSingleTap', evt);\n              }, 250);\n            }\n          }, 0);\n        }\n      }\n\n      this.preV.x = 0;\n      this.preV.y = 0;\n      this.scale = 1;\n      this.pinchStartLen = null;\n      this.x1 = this.x2 = this.y1 = this.y2 = null;\n      this.multiTouch = false;\n    }\n  }, {\n    key: '_cancelLongTap',\n    value: function _cancelLongTap() {\n      clearTimeout(this.longTapTimeout);\n    }\n  }, {\n    key: '_cancelSingleTap',\n    value: function _cancelSingleTap() {\n      clearTimeout(this.singleTapTimeout);\n    }\n  }, {\n    key: '_swipeDirection',\n    value: function _swipeDirection(x1, x2, y1, y2) {\n      if (Math.abs(x1 - x2) > 80 || this.end - this.now < 250) {\n        return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? x1 - x2 > 0 ? 'Left' : 'Right' : y1 - y2 > 0 ? 'Up' : 'Down';\n      }\n      return 'Nochange';\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      return (0, _rax.cloneElement)(_rax.Children.only(this.props.children), {\n        onTouchStart: this._handleTouchStart.bind(this),\n        onTouchMove: this._handleTouchMove.bind(this),\n        onTouchCancel: this._handleTouchCancel.bind(this),\n        onTouchEnd: this._handleTouchEnd.bind(this)\n      });\n    }\n  }]);\n\n  return Finger;\n}(_rax.Component);\n\nexports.default = Finger;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/view/finger.js?");

/***/ }),

/***/ "./lib/EpTabbar/view/item.js":
/*!***********************************!*\
  !*** ./lib/EpTabbar/view/item.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEpUtils = __webpack_require__(/*! ../../EpUtils/index.js */ \"./lib/EpUtils/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _emitter = __webpack_require__(/*! ../util/emitter.js */ \"./lib/EpTabbar/util/emitter.js\");\n\nvar _emitter2 = _interopRequireDefault(_emitter);\n\nvar _index = __webpack_require__(/*! ../styles/index.js */ \"./lib/EpTabbar/styles/index.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// 在weex及非android4.4以下的机器中才使用ep绑定\nvar expressionBinding = {};\ntry {\n  expressionBinding = __webpack_require__(/*! @weex-module/expressionBinding */ \"@weex-module/expressionBinding\");\n} catch (e) {}\n\nvar Item = function (_Component) {\n  _inherits(Item, _Component);\n\n  function Item(props) {\n    _classCallCheck(this, Item);\n\n    var _this = _possibleConstructorReturn(this, (Item.__proto__ || Object.getPrototypeOf(Item)).call(this, props));\n\n    _this.onHorizontalPan = function (e) {\n      if (e.state === 'start') {\n        _this.isPanning = true;\n        _emitter2.default.emit('slider', {\n          element: (0, _rax.findDOMNode)(_this)\n        });\n      } else if (e.state === 'end') {\n        setTimeout(function () {\n          _this.isPanning = false;\n        }, 50);\n      }\n    };\n\n    _this.onItemAppear = function (e) {\n      if (_nukeEpUtils.Detection.epEnable && _nukeEpUtils.Detection.Android) {\n        var element = (0, _rax.findDOMNode)(_this);\n        if (element && element.ref) {\n          expressionBinding.enableBinding(element.ref, 'pan');\n        }\n      }\n      var _this$props = _this.props,\n          onAppear = _this$props.onAppear,\n          exposure = _this$props.exposure;\n\n\n      if (exposure === true && !_this.isAppear) {\n        _this.isAppear = true;\n      }\n\n      if (typeof onAppear === 'function') {\n        onAppear(e);\n      }\n    };\n\n    _this.onItemDisAppear = function (e) {\n      if (_nukeEpUtils.Detection.epEnable && _nukeEpUtils.Detection.Android) {\n        var element = (0, _rax.findDOMNode)(_this);\n        if (element && element.ref) {\n          expressionBinding.disableBinding(element.ref, 'pan');\n        }\n      }\n\n      var onDisAppear = _this.props.onDisAppear;\n\n      if (typeof onDisAppear === 'function') {\n        onDisAppear(e);\n      }\n    };\n\n    _this.onClick = function (e) {\n      // console.log('click-->', e);\n    };\n\n    _this.isPaning = false;\n    _this.isAppear = false;\n    return _this;\n  }\n\n  _createClass(Item, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      var _this2 = this;\n\n      setTimeout(function () {\n        if (_nukeEpUtils.Detection.epEnable && _nukeEpUtils.Detection.Android) {\n          try {\n            var element = (0, _rax.findDOMNode)(_this2);\n            if (element && element.ref) {\n              expressionBinding.enableBinding(element.ref, 'pan');\n            }\n          } catch (e) {\n            console.error('pancell findDOMNode error');\n          }\n        }\n      }, 300);\n    }\n\n    // use for andorid\n    // @todo  事件绑定存在问题,当list作为子元素时无法触发横向滚动\n    //  @todo bug  android事件冒泡需要在list的cell中再次绑定onHorizontalPan,作为事件anchor\n\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          style = _props.style,\n          children = _props.children,\n          themeStyle = _props.themeStyle;\n\n      return (0, _rax.createElement)(_nukeView2.default, _extends({}, this.props, {\n        style: [themeStyle.container, style],\n        preventMoveEvent: false,\n        onAppear: this.onItemAppear,\n        onClick: this.onClick,\n        onDisAppear: this.onItemDisAppear,\n        onHorizontalPan: this.onHorizontalPan\n      }));\n    }\n  }]);\n\n  return Item;\n}(_rax.Component);\n\n// Item.propTypes = {};\n\n// Item.defaultProps = {};\n\n\nItem.displayName = 'Ep-Tabbar';\n\nexports.default = (0, _nukeThemeProvider.connectStyle)(_index2.default)(Item);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/view/item.js?");

/***/ }),

/***/ "./lib/EpTabbar/view/nav.js":
/*!**********************************!*\
  !*** ./lib/EpTabbar/view/nav.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeScrollView = __webpack_require__(/*! ../../ScrollView/index.js */ \"./lib/ScrollView/index.js\");\n\nvar _nukeScrollView2 = _interopRequireDefault(_nukeScrollView);\n\nvar _nukeEpUtils = __webpack_require__(/*! ../../EpUtils/index.js */ \"./lib/EpUtils/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _index = __webpack_require__(/*! ../styles/index.js */ \"./lib/EpTabbar/styles/index.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// const ratio = window.devicePixelRatio;\n\nvar Nav = function (_Component) {\n  _inherits(Nav, _Component);\n\n  function Nav(props) {\n    _classCallCheck(this, Nav);\n\n    // 每个item的宽度 itemWidthList 可以是定值也可以是数组,如果不存在则使用flex均分渲染\n    var _this = _possibleConstructorReturn(this, (Nav.__proto__ || Object.getPrototypeOf(Nav)).call(this, props));\n\n    _this.onTabItemClick = function (itemData, index) {\n      var curIndex = _this.state.curIndex;\n\n      if (curIndex !== index) {\n        var slideTo = _this.props.slideTo;\n\n        slideTo(index, 'clk', _this);\n      }\n    };\n\n    _this.scrollTo = function (index) {\n      var navStyle = _this.props.navStyle;\n\n      var tabElement = _this.refs.nav;\n      var itemWidthList = _this.itemWidthList;\n      var selectedItemWidth = itemWidthList[index];\n      var screenWidth = 750;\n      var selectedItemOffset = 0;\n      var dist = void 0;\n\n      if (navStyle && navStyle.width) {\n        screenWidth = parseInt(navStyle.width, 10);\n      }\n\n      itemWidthList.forEach(function (itemData, i) {\n        if (i < index) {\n          selectedItemOffset += itemData;\n        }\n      });\n      dist = selectedItemOffset - screenWidth / 2 + selectedItemWidth / 2;\n      // @note: weex android下计算误差\n      // if (Detection.isWeex && Detection.Android && !isNew) {\n      //   dist /= ratio;\n      // }\n      if (_this.maxWidth < screenWidth) {\n        return;\n      }\n      if (dist < 0) {\n        dist = 0;\n      } else if (dist > _this.maxWidth) {\n        dist = _this.maxWidth;\n      }\n      tabElement.scrollTo({\n        x: dist\n      });\n    };\n\n    _this.focusMove = function (index) {\n      if (_this.props.navFocusStyle) {\n        var left = 0;\n        var itemWidthList = _this.itemWidthList;\n        if (index === 1) {\n          left = itemWidthList[0];\n        } else if (index > 1) {\n          itemWidthList.map(function (item, i) {\n            if (i < index) {\n              left += itemWidthList[i];\n            } else {\n              return;\n            }\n          });\n        }\n        if (_nukeEpUtils.Detection.epEnable) {\n          var animation = __webpack_require__(/*! @weex-module/animation */ \"@weex-module/animation\");\n          // 高版本系统的手机才使用transform动画\n          var tabElement = (0, _rax.findDOMNode)(_this.refs.tabFocus);\n          // const dist = 750 * index;\n          animation.transition(tabElement, {\n            styles: {\n              transform: 'translateX(' + left + ')'\n            },\n            delay: 0,\n            duration: _nukeEpUtils.Detection.iOS ? 300 : 250, // ms\n            timingFunction: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)' // ['cubic-bezier(0.25, 0.46, 0.45, 0.94)', 'cubic-bezier(0,0,0.25,1)']\n          }, function () {});\n        } else {\n          _this.setState({\n            transform: left\n          });\n        }\n      }\n    };\n\n    if (props.dataSource instanceof Array) {\n      _this.itemWidthList = props.dataSource.map(function (item) {\n        return item.style && item.style.width || 750 / props.dataSource.length;\n      });\n    }\n    // @todo what's maxWidth for\n    // this.maxWidth = 750;\n    if (_this.itemWidthList.length) {\n      _this.maxWidth = _this.itemWidthList.reduce(function (pre, cur) {\n        return pre + cur;\n      });\n    }\n\n    _this.state = {\n      transform: 0,\n      curIndex: props.curIndex ? props.curIndex : 0\n    };\n    return _this;\n  }\n\n  _createClass(Nav, [{\n    key: 'shouldComponentUpdate',\n    value: function shouldComponentUpdate(nextProps, nextState) {\n      if (nextState.curIndex !== this.state.curIndex || nextProps.forceRender) {\n        return true;\n      }\n      if (nextState.transform !== this.state.transform) {\n        return true;\n      }\n      return false;\n    }\n\n    /**\n     * @description scroll to witch element base on index\n     */\n\n    /**\n     * @description 选中态动效滚动样式\n     */\n\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var _props = this.props,\n          dataSource = _props.dataSource,\n          style = _props.style,\n          navFocusStyle = _props.navFocusStyle,\n          renderNavItem = _props.renderNavItem,\n          themeStyle = _props.themeStyle,\n          navContentStyle = _props.navContentStyle;\n      var _state = this.state,\n          curIndex = _state.curIndex,\n          transform = _state.transform;\n\n      var tabFocusLeft = navFocusStyle && navFocusStyle.left ? parseInt(navFocusStyle.left) : 0;\n      return (0, _rax.createElement)(\n        _nukeScrollView2.default,\n        {\n          ref: 'nav',\n          style: [themeStyle.nav, style],\n          contentContainerStyle: [themeStyle.navContent, navContentStyle],\n          horizontal: true,\n          showsHorizontalScrollIndicator: false\n        },\n        navFocusStyle ? (0, _rax.createElement)(_nukeView2.default, {\n          ref: 'tabFocus',\n          style: [navFocusStyle, { left: tabFocusLeft + transform }]\n        }) : null,\n        dataSource.map(function (itemData, index) {\n          return (0, _rax.createElement)(\n            _nukeTouchable2.default,\n            {\n              key: index,\n              ref: 'TabItem' + index,\n              onPress: function onPress() {\n                return _this2.onTabItemClick(itemData, index);\n              }\n            },\n            renderNavItem(itemData, index, curIndex)\n          );\n        })\n      );\n    }\n  }]);\n\n  return Nav;\n}(_rax.Component);\n\nNav.displayName = 'Ep-Tabbar';\n\nexports.default = (0, _nukeThemeProvider.connectStyle)(_index2.default)(Nav);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/view/nav.js?");

/***/ }),

/***/ "./lib/EpTabbar/view/tabbar-web.js":
/*!*****************************************!*\
  !*** ./lib/EpTabbar/view/tabbar-web.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeEpUtils = __webpack_require__(/*! ../../EpUtils/index.js */ \"./lib/EpUtils/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _emitter = __webpack_require__(/*! ../util/emitter.js */ \"./lib/EpTabbar/util/emitter.js\");\n\nvar _emitter2 = _interopRequireDefault(_emitter);\n\nvar _transform = __webpack_require__(/*! ./transform.js */ \"./lib/EpTabbar/view/transform.js\");\n\nvar _transform2 = _interopRequireDefault(_transform);\n\nvar _index = __webpack_require__(/*! ../styles/index.js */ \"./lib/EpTabbar/styles/index.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nvar _finger = __webpack_require__(/*! ./finger.js */ \"./lib/EpTabbar/view/finger.js\");\n\nvar _finger2 = _interopRequireDefault(_finger);\n\nvar _nav = __webpack_require__(/*! ./nav.js */ \"./lib/EpTabbar/view/nav.js\");\n\nvar _nav2 = _interopRequireDefault(_nav);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// 在weex及非android4.4以下的机器中才使用ep绑定\nvar expressionBinding = {};\ntry {\n  expressionBinding = __webpack_require__(/*! @weex-module/expressionBinding */ \"@weex-module/expressionBinding\");\n} catch (e) {}\nvar formatRem = function formatRem(num) {\n  return (parseInt(num, 10) * document.documentElement.clientWidth / 750).toString() + 'px';\n};\n\nvar Tabbar = function (_Component) {\n  _inherits(Tabbar, _Component);\n\n  function Tabbar(props) {\n    _classCallCheck(this, Tabbar);\n\n    var _this = _possibleConstructorReturn(this, (Tabbar.__proto__ || Object.getPrototypeOf(Tabbar)).call(this, props));\n\n    _this.panEnd = function (e) {\n      if (newIndex < 0) {\n        newIndex = 0;\n      } else if (newIndex > _this.maxIndex) {\n        newIndex = _this.maxIndex;\n      }\n      if (_nukeEpUtils.Detection.iOS) {\n        setTimeout(function () {\n          _this.slideTo(newIndex, 'pan');\n        }, 50);\n      } else {\n        _this.slideTo(newIndex, 'pan');\n      }\n    };\n\n    _this.slideTo = function (index, type) {\n      var time = 300;\n      if (_this.isMoving === true) return;\n      _this.isMoving = true;\n      var _this$props = _this.props,\n          onChange = _this$props.onChange,\n          beforeSlide = _this$props.beforeSlide,\n          forbidNavScroll = _this$props.forbidNavScroll;\n\n      var prevIndex = _this.state.curIndex;\n      var moveEndCallback = function moveEndCallback() {\n        if (typeof onChange === 'function') {\n          onChange(index, prevIndex, type);\n        }\n        _this.setState({\n          curIndex: index,\n          prevIndex: prevIndex\n        });\n        _this.isMoving = false;\n      };\n      var navRef = _this.refs.nav && _this.refs.nav.wrappedInstance;\n      if (typeof beforeSlide === 'function') {\n        if (!beforeSlide(index, type)) return;\n      }\n      // 选中状态滚动,当只有两个item,无需scroll的时候需要禁止滚动\n      if (!forbidNavScroll) {\n        navRef.scrollTo(index);\n      }\n      navRef.focusMove(index);\n      navRef.setState({\n        curIndex: index\n      });\n      // if (Detection.epEnable) {\n      //   // 高版本系统的手机才使用transform动画\n      //   const animation = require('@weex-module/animation');\n      //   const sliderElement = this.refs.listSlider;\n      //   const dist = 750 * index;\n      //   animation.transition(\n      //     findDOMNode(sliderElement),\n      //     {\n      //       styles: {\n      //         transform: `translateX(-${dist}px)`,\n      //       },\n      //       delay: 0,\n      //       duration: time,\n      //       timingFunction: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)', // ['cubic-bezier(0.25, 0.46, 0.45, 0.94)', 'cubic-bezier(0,0,0.25,1)']\n      //     },\n      //     () => {}\n      //   );\n      // }\n      _this.list.style.webkitTransition = '300ms ease';\n      _this.translateX = -index * (750 + _this.props.gap);\n      _this.list.style.transform = 'translateX(' + formatRem(-index * 750) + ')';\n      moveEndCallback();\n    };\n\n    _this.childrenElements = []; // 存放tab主体element\n    _this.tabMap = {}; // 用于记录哪个tab是被激活过的状态\n    _this.tabPage = []; // 存放tab节点\n\n    _this.ob = null;\n    _this.scrolling = false;\n    _this.maxIndex = props.children && props.children.length - 1 || 0; // tab的子节点只能是tab.item\n    _this.state = {\n      curIndex: props.activeKey && props.activeKey >= 0 && props.activeKey <= _this.maxIndex ? props.active : 0,\n      transform: 0,\n      prevIndex: null\n    };\n    if (typeof props.activeKey === 'number' && props.activeKey >= 0 && props.activeKey <= _this.maxIndex) {\n      _this.tabMap[props.activeKey] = true;\n    }\n    return _this;\n  }\n\n  _createClass(Tabbar, [{\n    key: 'componentWillMount',\n    value: function componentWillMount() {}\n  }, {\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      var curIndex = this.state.curIndex;\n\n      this.ob = (0, _rax.findDOMNode)('view' + curIndex);\n    }\n\n    /**\n     *  横向滑动停止\n     */\n\n  }, {\n    key: 'onSwipe',\n    value: function onSwipe(evt) {\n      var direction = evt.direction;\n      var curIndex = this.state.curIndex;\n\n      if (this.focused) {\n        return false;\n      }\n      switch (direction) {\n        case 'Left':\n          curIndex < this.maxIndex && ++curIndex && this.bindStyle(curIndex);\n          break;\n        case 'Right':\n          curIndex > 0 && curIndex-- && this.bindStyle(curIndex);\n          break;\n      }\n      this.slideTo(curIndex);\n    }\n  }, {\n    key: 'endAnimation',\n    value: function endAnimation() {\n      this.list.style.webkitTransition = '0';\n      // this.ob && this.ob.style && (this.ob.style.webkitTransition = '0');\n    }\n  }, {\n    key: 'bindStyle',\n    value: function bindStyle(current) {\n      // this.ob && this.restore();\n      // this.ob = findDOMNode(`view${current}`);\n      // if (this.ob && !this.ob.scaleX) {\n      //   Transform(this.ob);\n      // }\n    }\n  }, {\n    key: 'restore',\n    value: function restore() {\n      // this.ob.translateX = this.ob.translateY = 0;\n      // !!rotate && (this.ob.rotateZ = 0);\n      // this.ob.scaleX = this.ob.scaleY = 1;\n      // this.ob.originX = this.ob.originY = 0;\n\n      var rotate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n    }\n  }, {\n    key: 'onPressMove',\n    value: function onPressMove(evt) {\n      var curIndex = this.state.curIndex;\n\n\n      this.endAnimation();\n\n      if (!this.focused) {\n        if (curIndex === 0 && evt.deltaX > 0 || curIndex === this.maxIndex && evt.deltaX < 0) {\n          this.translateX += evt.deltaX / 3;\n          this.list.style.transform = 'translateX(' + formatRem(this.translateX) + ')';\n        } else {\n          this.translateX += evt.deltaX;\n        }\n      }\n\n      evt.preventDefault();\n    }\n    /**\n     * tab切换前的回调函数\n     * @param index 即将滚动去的位置\n     * @param type  触发滚动的事件类型\n     */\n\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var _state = this.state,\n          curIndex = _state.curIndex,\n          prevIndex = _state.prevIndex;\n      var _props = this.props,\n          themeStyle = _props.themeStyle,\n          children = _props.children,\n          style = _props.style,\n          navTop = _props.navTop,\n          dataSource = _props.dataSource,\n          renderNavItem = _props.renderNavItem,\n          navStyle = _props.navStyle,\n          renderLoading = _props.renderLoading,\n          navFocusStyle = _props.navFocusStyle,\n          forceRender = _props.forceRender,\n          navContentStyle = _props.navContentStyle;\n      var slider = themeStyle.slider;\n\n      if (!children.length) {\n        return null;\n      }\n      if (navTop) {\n        slider.top = navStyle && navStyle.height;\n        navStyle.top = 0;\n        delete navStyle.bottom;\n      } else {\n        slider.bottom = navStyle && navStyle.height;\n        navStyle.bottom = 0;\n        delete navStyle.top;\n      }\n      // 根据子节点计算tab偏移\n\n      var sliderStyle = [slider];\n\n      sliderStyle.push({\n        width: 750 * children.length\n      });\n      this.translateX = -750 * this.state.curIndex;\n      sliderStyle.push({\n        transform: 'translateX(' + formatRem(-750 * this.state.curIndex) + ')'\n      });\n\n      if (this.tabMap[curIndex]) {\n        this.tabMap[curIndex]++;\n      } else {\n        this.tabMap[curIndex] = 1;\n      }\n\n      var formatChildren = [];\n\n      formatChildren = children.map(function (child, index) {\n        var length = children.length;\n        var next = circleIndex(_this2.state.curIndex + 1, length);\n        var prev = circleIndex(_this2.state.curIndex - 1, length);\n        var shouldRender = _this2.tabMap[index] === 1;\n        var eachTabStyle = [themeStyle.eachTab, { left: 750 * index }];\n        if (_this2.tabMap[index] && curIndex === index) {\n          _this2.tabPage[curIndex] = (0, _rax.createElement)(\n            _nukeView2.default,\n            { style: eachTabStyle, key: index, shouldRender: shouldRender },\n            child\n          );\n        }\n        if (_this2.tabMap[index]) {\n          return _this2.tabPage[index];\n        }\n        if (typeof renderLoading === 'function' && (index === next || index === prev)) {\n          return (0, _rax.createElement)(\n            _nukeView2.default,\n            { style: eachTabStyle, key: index },\n            renderLoading(index)\n          );\n        }\n        return null;\n      });\n      // } else {\n      //   formatChildren = children.map((child, index) => {\n      //     child.props.id = `view${index}`;\n      //     if (index === curIndex) {\n      //       return child;\n      //     }\n      //     return null;\n      //   });\n      // }\n      // const childrenElements = [\n      //   <Finger\n      //     onPressMove={this.onPressMove.bind(this)}\n      //     onSwipe={this.onSwipe.bind(this)}\n      //   >\n      //     <View\n      //       style={sliderStyle}\n      //       id=\"listWrapper\"\n      //       ref={node => {\n      //         this.list = findDOMNode(node);\n      //       }}\n      //       onHorizontalPan={\n      //         Detection.epEnable && this.props.epEnable\n      //           ? this.onHorizontalPan\n      //           : null\n      //       }\n      //     >\n      //       {formatChildren}\n      //     </View>\n      //   </Finger>,\n      // ];\n      var childrenElements = [(0, _rax.createElement)(\n        _nukeView2.default,\n        {\n          style: sliderStyle,\n          id: 'listWrapper',\n          ref: function ref(node) {\n            _this2.list = (0, _rax.findDOMNode)(node);\n          },\n          onHorizontalPan: _nukeEpUtils.Detection.epEnable && this.props.epEnable ? this.onHorizontalPan : null\n        },\n        formatChildren\n      )];\n      var headerStyle = navTop ? _extends({}, navStyle, {\n        top: 0,\n        positon: 'relative'\n      }) : navStyle;\n      var NavWithProps = (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [themeStyle.header, headerStyle] },\n        (0, _rax.createElement)(_nav2.default, {\n          ref: 'nav',\n          dataSource: dataSource,\n          renderNavItem: renderNavItem,\n          slideTo: function slideTo() {\n            return _this2.slideTo.apply(_this2, arguments);\n          },\n          style: navStyle,\n          contentStyle: navContentStyle,\n          navFocusStyle: navFocusStyle,\n          forceRender: forceRender\n        })\n      );\n      navTop ? childrenElements.unshift(NavWithProps) : childrenElements.push(NavWithProps);\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [themeStyle.wrapContainer, style] },\n        childrenElements\n      );\n    }\n  }]);\n\n  return Tabbar;\n}(_rax.Component);\n\nfunction circleIndex(i, len) {\n  return (len + i % len) % len;\n}\n// Tabbar.propTypes = {\n// };\n\nTabbar.defaultProps = {\n  epEnable: false,\n  navTop: true\n};\nTabbar.displayName = 'Ep-Tabbar';\n\nexports.default = (0, _nukeThemeProvider.connectStyle)(_index2.default)(Tabbar);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/view/tabbar-web.js?");

/***/ }),

/***/ "./lib/EpTabbar/view/tabbar.js":
/*!*************************************!*\
  !*** ./lib/EpTabbar/view/tabbar.js ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeEpUtils = __webpack_require__(/*! ../../EpUtils/index.js */ \"./lib/EpUtils/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _emitter = __webpack_require__(/*! ../util/emitter.js */ \"./lib/EpTabbar/util/emitter.js\");\n\nvar _emitter2 = _interopRequireDefault(_emitter);\n\nvar _index = __webpack_require__(/*! ../styles/index.js */ \"./lib/EpTabbar/styles/index.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nvar _nav = __webpack_require__(/*! ./nav.js */ \"./lib/EpTabbar/view/nav.js\");\n\nvar _nav2 = _interopRequireDefault(_nav);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// 在weex及非android4.4以下的机器中才使用ep绑定\nvar expressionBinding = {};\ntry {\n  expressionBinding = __webpack_require__(/*! @weex-module/expressionBinding */ \"@weex-module/expressionBinding\");\n} catch (e) {}\n\nvar Tabbar = function (_Component) {\n  _inherits(Tabbar, _Component);\n\n  function Tabbar(props) {\n    _classCallCheck(this, Tabbar);\n\n    var _this = _possibleConstructorReturn(this, (Tabbar.__proto__ || Object.getPrototypeOf(Tabbar)).call(this, props));\n\n    _this.bindExp = function (element) {\n      if (!_this.isMoving && element && element.ref && _nukeEpUtils.Detection.epEnable) {\n        _this.startTime = Date.now();\n        var _this$props = _this.props,\n            dataSource = _this$props.dataSource,\n            navFocusStyle = _this$props.navFocusStyle;\n\n        var listElement = (0, _rax.findDOMNode)(_this.refs.listSlider);\n        var index = _this.state.curIndex;\n        var tabFocusElement = (0, _rax.findDOMNode)(_this.refs.nav.wrappedInstance.refs.tabFocus);\n        // 绑定滚动只取第一个  itemWidthList的宽度\n        var tabItemWidth = dataSource[0] && dataSource[0].style && dataSource[0].style.width;\n        var dpr = 1;\n        var tabLeft = index * tabItemWidth / dpr;\n        if (navFocusStyle && navFocusStyle.left) {\n          // tabLeft += navFocusStyle.left;\n        }\n        var sliderLeft = index * 750 / dpr;\n        /*\n         ep表达式备注\n         左边界 min(x, x/3)\n         右边界 max(x, x/3) - ${dist}\n         中间 x - dist\n         */\n        var args = [{\n          element: tabFocusElement.ref,\n          property: 'transform.translateX',\n          expression: '{\"type\":\"-\",\"children\":[{\"type\":\"NumericLiteral\",\"value\":' + tabLeft + '},{\"type\":\"/\",\"children\":[{\"type\":\"Identifier\",\"value\":\"x\"},{\"type\":\"NumericLiteral\",\"value\":5}]}]}'\n        }];\n\n        if (index == 0) {\n          //  第一帧 min(x, x/3)\n          var ep2 = '{\"type\":\"CallExpression\",\"children\":[{\"type\":\"Identifier\",\"value\":\"min\"},{\"type\":\"Arguments\",\"children\":[{\"type\":\"Identifier\",\"value\":\"x\"},{\"type\":\"/\",\"children\":[{\"type\":\"Identifier\",\"value\":\"x\"},{\"type\":\"NumericLiteral\",\"value\":3}]}]}]}';\n          args.push({\n            element: listElement.ref,\n            property: 'transform.translateX',\n            expression: ep2\n          });\n        } else if (index == dataSource.length - 1) {\n          // 最后一祯 `max(x, x/3) - ${sliderLeft}`\n          var _ep = '{\"type\":\"-\",\"children\":[{\"type\":\"CallExpression\",\"children\":[{\"type\":\"Identifier\",\"value\":\"max\"},{\"type\":\"Arguments\",\"children\":[{\"type\":\"Identifier\",\"value\":\"x\"},{\"type\":\"/\",\"children\":[{\"type\":\"Identifier\",\"value\":\"x\"},{\"type\":\"NumericLiteral\",\"value\":3}]}]}]},{\"type\":\"NumericLiteral\",\"value\":' + sliderLeft + '}]}';\n          args.push({\n            element: listElement.ref,\n            property: 'transform.translateX',\n            expression: _ep\n          });\n        } else {\n          // `x - ${sliderLeft}`\n          var _ep2 = '{\"type\":\"-\",\"children\":[{\"type\":\"Identifier\",\"value\":\"x\"},{\"type\":\"NumericLiteral\",\"value\":' + sliderLeft + '}]}';\n          args.push({\n            element: listElement.ref,\n            property: 'transform.translateX',\n            expression: _ep2\n          });\n        }\n        // console.log('enableBinding');\n        // expressionBinding.enableBinding(element.ref, 'pan');\n        // console.log('createBinding');\n        expressionBinding.createBinding(element.ref, 'pan', '', args, _this.panEnd);\n      }\n    };\n\n    _this.onHorizontalPan = function (e) {\n      if (e.state === 'start' && !_this.scrolling) {\n        var listElement = (0, _rax.findDOMNode)(_this.refs.listSlider);\n        _this.bindExp(listElement);\n      }\n    };\n\n    _this.panEnd = function (e) {\n      console.log('[debug]:panEnd');\n      if (e.state === 'end') {\n        var duration = Date.now() - _this.startTime;\n        var dist = e.deltaX;\n        var curIndex = _this.state.curIndex;\n\n        var panDist = _this.props.panDist ? _this.props.panDist : 375;\n        var newIndex = curIndex;\n        if (Math.abs(dist) > panDist || Math.abs(dist) / duration > 0.5 && duration < 200) {\n          if (dist > 0) {\n            newIndex--;\n          } else {\n            newIndex++;\n          }\n        }\n        if (newIndex < 0) {\n          newIndex = 0;\n        } else if (newIndex > _this.maxIndex) {\n          newIndex = _this.maxIndex;\n        }\n        if (_nukeEpUtils.Detection.iOS) {\n          setTimeout(function () {\n            _this.slideTo(newIndex, 'pan');\n          }, 50);\n        } else {\n          _this.slideTo(newIndex, 'pan');\n        }\n      }\n    };\n\n    _this.slideTo = function (index, type) {\n      var time = 300;\n      if (_this.isMoving === true) return;\n      _this.isMoving = true;\n      var _this$props2 = _this.props,\n          onChange = _this$props2.onChange,\n          beforeSlide = _this$props2.beforeSlide,\n          forbidNavScroll = _this$props2.forbidNavScroll;\n\n      var prevIndex = _this.state.curIndex;\n      var moveEndCallback = function moveEndCallback() {\n        if (typeof onChange === 'function') {\n          onChange(index, prevIndex, type);\n        }\n        _this.setState({\n          curIndex: index,\n          prevIndex: prevIndex\n        });\n        _this.isMoving = false;\n      };\n      var navRef = _this.refs.nav && _this.refs.nav.wrappedInstance;\n      if (typeof beforeSlide === 'function') {\n        if (!beforeSlide(index, type)) return;\n      }\n      // 选中状态滚动,当只有两个item,无需scroll的时候需要禁止滚动\n      if (!forbidNavScroll) {\n        navRef.scrollTo(index);\n      }\n      navRef.focusMove(index);\n      navRef.setState({\n        curIndex: index\n      });\n      if (_nukeEpUtils.Detection.epEnable) {\n        // 高版本系统的手机才使用transform动画\n        var animation = __webpack_require__(/*! @weex-module/animation */ \"@weex-module/animation\");\n        var sliderElement = _this.refs.listSlider;\n        var dist = 750 * index;\n        animation.transition((0, _rax.findDOMNode)(sliderElement), {\n          styles: {\n            transform: 'translateX(-' + dist + 'px)'\n          },\n          delay: 0,\n          duration: time,\n          timingFunction: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)' // ['cubic-bezier(0.25, 0.46, 0.45, 0.94)', 'cubic-bezier(0,0,0.25,1)']\n        }, function () {});\n      }\n      moveEndCallback();\n    };\n\n    _this.childrenElements = []; // 存放tab主体element\n    _this.tabMap = {}; // 用于记录哪个tab是被激活过的状态\n    _this.tabPage = []; // 存放tab节点\n    _this.scrolling = false;\n    _this.maxIndex = props.children && props.children.length - 1 || 0; // tab的子节点只能是tab.item\n    _this.state = {\n      curIndex: props.activeKey && props.activeKey >= 0 && props.activeKey <= _this.maxIndex ? props.active : 0,\n      transform: 0,\n      prevIndex: null\n    };\n    if (typeof props.activeKey === 'number' && props.activeKey >= 0 && props.activeKey <= _this.maxIndex) {\n      _this.tabMap[props.activeKey] = true;\n    }\n    return _this;\n  }\n\n  _createClass(Tabbar, [{\n    key: 'componentWillMount',\n    value: function componentWillMount() {\n      var _this2 = this;\n\n      _emitter2.default.on('scroll', function (data) {\n        _this2.scrolling = true;\n        if (_this2.scrollTimer) {\n          clearTimeout(_this2.scrollTimer);\n        }\n        _this2.scrollTimer = setTimeout(function () {\n          _this2.scrolling = false;\n        }, 300);\n      });\n    }\n  }, {\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      var _this3 = this;\n\n      if (_nukeEpUtils.Detection.epEnable && _nukeEpUtils.Detection.iOS && this.props.epEnable) {\n        setTimeout(function () {\n          var listElement = (0, _rax.findDOMNode)(_this3.refs.listSlider);\n          if (listElement && listElement.ref) {\n            expressionBinding.enableBinding(listElement.ref, 'pan');\n          }\n        }, 500);\n      }\n      // hack for android\n      if (_nukeEpUtils.Detection.epEnable && _nukeEpUtils.Detection.Android) {\n        _emitter2.default.on('slider', function (params) {\n          _this3.bindExp(params.element);\n        });\n      }\n    }\n    /**\n     * ep绑定方法\n     */\n\n    /**\n     *  横向滑动事件\n     */\n\n    /**\n     *  横向滑动停止\n     */\n\n    /**\n     * tab切换前的回调函数\n     * @param index 即将滚动去的位置\n     * @param type  触发滚动的事件类型\n     */\n\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this4 = this;\n\n      var _state = this.state,\n          curIndex = _state.curIndex,\n          prevIndex = _state.prevIndex;\n      var _props = this.props,\n          themeStyle = _props.themeStyle,\n          children = _props.children,\n          style = _props.style,\n          navTop = _props.navTop,\n          dataSource = _props.dataSource,\n          renderNavItem = _props.renderNavItem,\n          navStyle = _props.navStyle,\n          renderLoading = _props.renderLoading,\n          navFocusStyle = _props.navFocusStyle,\n          forceRender = _props.forceRender,\n          navContentStyle = _props.navContentStyle;\n      var slider = themeStyle.slider;\n\n      if (!children.length) {\n        return null;\n      }\n      if (navTop) {\n        slider.top = navStyle && navStyle.height;\n        navStyle.top = 0;\n        delete navStyle.bottom;\n      } else {\n        slider.bottom = navStyle && navStyle.height;\n        navStyle.bottom = 0;\n        delete navStyle.top;\n      }\n      // 根据子节点计算tab偏移\n\n      var sliderStyle = [slider];\n      if (_nukeEpUtils.Detection.epEnable) {\n        sliderStyle.push({\n          width: 750 * children.length\n        });\n        if (_nukeEpUtils.Detection.iOS) {\n          sliderStyle.push({\n            transform: 'translateX(-' + 750 * this.state.curIndex + ')'\n          });\n        }\n        if (this.tabMap[curIndex]) {\n          this.tabMap[curIndex]++;\n        } else {\n          this.tabMap[curIndex] = 1;\n        }\n      }\n      var formatChildren = [];\n      if (_nukeEpUtils.Detection.epEnable) {\n        formatChildren = children.map(function (child, index) {\n          var length = children.length;\n          var next = circleIndex(_this4.state.curIndex + 1, length);\n          var prev = circleIndex(_this4.state.curIndex - 1, length);\n          var shouldRender = _this4.tabMap[index] === 1;\n          var eachTabStyle = [themeStyle.eachTab, { left: 750 * index }];\n          if (_this4.tabMap[index] && curIndex === index) {\n            _this4.tabPage[curIndex] = (0, _rax.createElement)(\n              _nukeView2.default,\n              { style: eachTabStyle, key: index, shouldRender: shouldRender },\n              child\n            );\n          }\n          if (_this4.tabMap[index]) {\n            return _this4.tabPage[index];\n          }\n          if (typeof renderLoading === 'function' && (index === next || index === prev)) {\n            return (0, _rax.createElement)(\n              _nukeView2.default,\n              { style: eachTabStyle, key: index },\n              renderLoading(index)\n            );\n          }\n          return null;\n        });\n      } else {\n        formatChildren = children.map(function (child, index) {\n          if (index === curIndex) {\n            return child;\n          }\n          return null;\n        });\n      }\n      var childrenElements = [(0, _rax.createElement)(\n        _nukeView2.default,\n        {\n          style: sliderStyle,\n          ref: 'listSlider',\n          onHorizontalPan: _nukeEpUtils.Detection.epEnable && _nukeEpUtils.Detection.iOS && this.props.epEnable ? this.onHorizontalPan : null\n        },\n        formatChildren\n      )];\n      var headerStyle = navTop ? _extends({}, navStyle, {\n        top: 0,\n        positon: 'relative'\n      }) : navStyle;\n      var NavWithProps = (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [themeStyle.header, headerStyle] },\n        (0, _rax.createElement)(_nav2.default, {\n          ref: 'nav',\n          dataSource: dataSource,\n          renderNavItem: renderNavItem,\n          slideTo: function slideTo() {\n            return _this4.slideTo.apply(_this4, arguments);\n          },\n          style: navStyle,\n          contentStyle: navContentStyle,\n          navFocusStyle: navFocusStyle,\n          forceRender: forceRender\n        })\n      );\n      navTop ? childrenElements.unshift(NavWithProps) : childrenElements.push(NavWithProps);\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [themeStyle.wrapContainer, style] },\n        childrenElements\n      );\n    }\n  }]);\n\n  return Tabbar;\n}(_rax.Component);\n\nfunction circleIndex(i, len) {\n  return (len + i % len) % len;\n}\n// Tabbar.propTypes = {\n// };\n\nTabbar.defaultProps = {\n  epEnable: false,\n  navTop: true\n};\nTabbar.displayName = 'Ep-Tabbar';\n\nexports.default = (0, _nukeThemeProvider.connectStyle)(_index2.default)(Tabbar);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpTabbar/view/tabbar.js?");

/***/ }),

/***/ "./lib/EpTabbar/view/transform.js":
/*!****************************************!*\
  !*** ./lib/EpTabbar/view/transform.js ***!
  \****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/* transformjs\n * By dntzhang\n */\n\nvar Matrix3D = function Matrix3D(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44) {\n  this.elements = window.Float32Array ? new Float32Array(16) : [];\n  var te = this.elements;\n  te[0] = n11 !== undefined ? n11 : 1;\n  te[4] = n12 || 0;\n  te[8] = n13 || 0;\n  te[12] = n14 || 0;\n  te[1] = n21 || 0;\n  te[5] = n22 !== undefined ? n22 : 1;\n  te[9] = n23 || 0;\n  te[13] = n24 || 0;\n  te[2] = n31 || 0;\n  te[6] = n32 || 0;\n  te[10] = n33 !== undefined ? n33 : 1;\n  te[14] = n34 || 0;\n  te[3] = n41 || 0;\n  te[7] = n42 || 0;\n  te[11] = n43 || 0;\n  te[15] = n44 !== undefined ? n44 : 1;\n};\n\nMatrix3D.DEG_TO_RAD = Math.PI / 180;\n\nMatrix3D.prototype = {\n  set: function set(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44) {\n    var te = this.elements;\n    te[0] = n11;\n    te[4] = n12;\n    te[8] = n13;\n    te[12] = n14;\n    te[1] = n21;\n    te[5] = n22;\n    te[9] = n23;\n    te[13] = n24;\n    te[2] = n31;\n    te[6] = n32;\n    te[10] = n33;\n    te[14] = n34;\n    te[3] = n41;\n    te[7] = n42;\n    te[11] = n43;\n    te[15] = n44;\n    return this;\n  },\n  identity: function identity() {\n    this.set(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\n    return this;\n  },\n  multiplyMatrices: function multiplyMatrices(a, be) {\n    var ae = a.elements;\n    var te = this.elements;\n    var a11 = ae[0],\n        a12 = ae[4],\n        a13 = ae[8],\n        a14 = ae[12];\n    var a21 = ae[1],\n        a22 = ae[5],\n        a23 = ae[9],\n        a24 = ae[13];\n    var a31 = ae[2],\n        a32 = ae[6],\n        a33 = ae[10],\n        a34 = ae[14];\n    var a41 = ae[3],\n        a42 = ae[7],\n        a43 = ae[11],\n        a44 = ae[15];\n\n    var b11 = be[0],\n        b12 = be[1],\n        b13 = be[2],\n        b14 = be[3];\n    var b21 = be[4],\n        b22 = be[5],\n        b23 = be[6],\n        b24 = be[7];\n    var b31 = be[8],\n        b32 = be[9],\n        b33 = be[10],\n        b34 = be[11];\n    var b41 = be[12],\n        b42 = be[13],\n        b43 = be[14],\n        b44 = be[15];\n\n    te[0] = a11 * b11 + a12 * b21 + a13 * b31 + a14 * b41;\n    te[4] = a11 * b12 + a12 * b22 + a13 * b32 + a14 * b42;\n    te[8] = a11 * b13 + a12 * b23 + a13 * b33 + a14 * b43;\n    te[12] = a11 * b14 + a12 * b24 + a13 * b34 + a14 * b44;\n\n    te[1] = a21 * b11 + a22 * b21 + a23 * b31 + a24 * b41;\n    te[5] = a21 * b12 + a22 * b22 + a23 * b32 + a24 * b42;\n    te[9] = a21 * b13 + a22 * b23 + a23 * b33 + a24 * b43;\n    te[13] = a21 * b14 + a22 * b24 + a23 * b34 + a24 * b44;\n\n    te[2] = a31 * b11 + a32 * b21 + a33 * b31 + a34 * b41;\n    te[6] = a31 * b12 + a32 * b22 + a33 * b32 + a34 * b42;\n    te[10] = a31 * b13 + a32 * b23 + a33 * b33 + a34 * b43;\n    te[14] = a31 * b14 + a32 * b24 + a33 * b34 + a34 * b44;\n\n    te[3] = a41 * b11 + a42 * b21 + a43 * b31 + a44 * b41;\n    te[7] = a41 * b12 + a42 * b22 + a43 * b32 + a44 * b42;\n    te[11] = a41 * b13 + a42 * b23 + a43 * b33 + a44 * b43;\n    te[15] = a41 * b14 + a42 * b24 + a43 * b34 + a44 * b44;\n\n    return this;\n  },\n  // 解决角度为90的整数倍导致Math.cos得到极小的数,其实是0。导致不渲染\n  _rounded: function _rounded(value, i) {\n    i = Math.pow(10, i || 15);\n    // default\n    return Math.round(value * i) / i;\n  },\n  appendTransform: function appendTransform(x, y, z, scaleX, scaleY, scaleZ, rotateX, rotateY, rotateZ, skewX, skewY, originX, originY, originZ) {\n    var rx = rotateX * Matrix3D.DEG_TO_RAD;\n    var cosx = this._rounded(Math.cos(rx));\n    var sinx = this._rounded(Math.sin(rx));\n    var ry = rotateY * Matrix3D.DEG_TO_RAD;\n    var cosy = this._rounded(Math.cos(ry));\n    var siny = this._rounded(Math.sin(ry));\n    var rz = rotateZ * Matrix3D.DEG_TO_RAD;\n    var cosz = this._rounded(Math.cos(rz * -1));\n    var sinz = this._rounded(Math.sin(rz * -1));\n\n    this.multiplyMatrices(this, [1, 0, 0, x, 0, cosx, sinx, y, 0, -sinx, cosx, z, 0, 0, 0, 1]);\n\n    this.multiplyMatrices(this, [cosy, 0, siny, 0, 0, 1, 0, 0, -siny, 0, cosy, 0, 0, 0, 0, 1]);\n\n    this.multiplyMatrices(this, [cosz * scaleX, sinz * scaleY, 0, 0, -sinz * scaleX, cosz * scaleY, 0, 0, 0, 0, 1 * scaleZ, 0, 0, 0, 0, 1]);\n\n    if (skewX || skewY) {\n      this.multiplyMatrices(this, [this._rounded(Math.cos(skewX * Matrix3D.DEG_TO_RAD)), this._rounded(Math.sin(skewX * Matrix3D.DEG_TO_RAD)), 0, 0, -1 * this._rounded(Math.sin(skewY * Matrix3D.DEG_TO_RAD)), this._rounded(Math.cos(skewY * Matrix3D.DEG_TO_RAD)), 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]);\n    }\n\n    if (originX || originY || originZ) {\n      this.elements[12] -= originX * this.elements[0] + originY * this.elements[4] + originZ * this.elements[8];\n      this.elements[13] -= originX * this.elements[1] + originY * this.elements[5] + originZ * this.elements[9];\n      this.elements[14] -= originX * this.elements[2] + originY * this.elements[6] + originZ * this.elements[10];\n    }\n    return this;\n  }\n};\n\nfunction observe(target, props, callback) {\n  for (var i = 0, len = props.length; i < len; i++) {\n    var prop = props[i];\n    watch(target, prop, callback);\n  }\n}\n\nfunction watch(target, prop, callback) {\n  Object.defineProperty(target, prop, {\n    get: function get() {\n      return this['__' + prop];\n    },\n    set: function set(value) {\n      if (value !== this['__' + prop]) {\n        this['__' + prop] = value;\n        callback();\n      }\n    }\n  });\n}\n\nvar Transform = function Transform(element) {\n  observe(element, ['translateX', 'translateY', 'translateZ', 'scaleX', 'scaleY', 'scaleZ', 'rotateX', 'rotateY', 'rotateZ', 'skewX', 'skewY', 'originX', 'originY', 'originZ'], function () {\n    var mtx = element.matrix3D.identity().appendTransform(element.translateX, element.translateY, element.translateZ, element.scaleX, element.scaleY, element.scaleZ, element.rotateX, element.rotateY, element.rotateZ, element.skewX, element.skewY, element.originX, element.originY, element.originZ);\n    element.style.transform = element.style.msTransform = element.style.OTransform = element.style.MozTransform = element.style.webkitTransform = 'perspective(' + element.perspective + 'px) matrix3d(' + Array.prototype.slice.call(mtx.elements).join(',') + ')';\n  });\n\n  observe(element, ['perspective'], function () {\n    element.style.transform = element.style.msTransform = element.style.OTransform = element.style.MozTransform = element.style.webkitTransform = 'perspective(' + element.perspective + 'px) matrix3d(' + Array.prototype.slice.call(element.matrix3D.elements).join(',') + ')';\n  });\n\n  element.matrix3D = new Matrix3D();\n  element.perspective = 500;\n  element.scaleX = element.scaleY = element.scaleZ = 1;\n  //由于image自带了x\\y\\z,所有加上translate前缀\n  element.translateX = element.translateY = element.translateZ = element.rotateX = element.rotateY = element.rotateZ = element.skewX = element.skewY = element.originX = element.originY = element.originZ = 0;\n};\n\nmodule.exports = Transform;\n\n//# sourceURL=webpack:///./lib/EpTabbar/view/transform.js?");

/***/ }),

/***/ "./lib/EpUtils/detection.js":
/*!**********************************!*\
  !*** ./lib/EpUtils/detection.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar expressionBinding = void 0;\ntry {\n  expressionBinding = __webpack_require__(/*! @weex-module/expressionBinding */ \"@weex-module/expressionBinding\");\n} catch (err) {\n  if (_nukeEnv.isWeex) {\n    console.warn('[Warning] current env not support expressionBinding');\n  }\n}\n// eslint-disable-next-line\nvar Detection = _extends({}, _nukeEnv.appInfo);\n\nDetection.isWeex = _nukeEnv.isWeex;\nDetection.isWeb = _nukeEnv.isWeb;\nvar appName = _nukeEnv.appInfo.appName && _nukeEnv.appInfo.appName.toUpperCase();\nif (_nukeEnv.isWeex) {\n  var deviceInfo = typeof WXEnvironment !== 'undefined' ? WXEnvironment : {}; // eslint-disable-line\n  Detection = Object.assign(Detection, {\n    Android: _nukeEnv.appInfo.platform === 'android',\n    iOS: _nukeEnv.appInfo.platform === 'iOS',\n    isAliApp: true,\n    isTB: appName === 'TB',\n    isTM: appName === 'TM' || appName === 'TMALL', // 猫客中,appName是tmall\n    isQN: appName === 'QN',\n    isLZD: appName === 'LA' || appName === 'LA-ANDROID' || appName === 'LAZADA',\n    appVersion: _nukeEnv.appInfo.appVersion,\n    weexVersion: _nukeEnv.appInfo.weexVersion,\n    osVersion: _nukeEnv.appInfo.osVersion\n  });\n} else {\n  var ua = window.navigator.userAgent;\n  Detection = Object.assign(Detection, {\n    Android: /Android/gi.test(ua),\n    iOS: /iPhone|iPad|iPod/gi.test(ua),\n    isAliApp: /AliApp\\([A-Z-_]+\\/[0-9.]+\\)/gi.test(ua),\n    isTB: appName === 'TB',\n    isTM: appName === 'TM' || appName === 'TMALL', // 猫客中,appName是tmall\n    isQN: appName === 'QN',\n    isLZD: appName === 'LA' || appName === 'LA-ANDROID' || appName === 'LAZADA',\n    appVersion: _nukeEnv.appInfo.appVersion\n  });\n}\n/**\n * @param {object} params params.iosVer  params.andVer params.isCheckOS\n * isCheckOS 是否判断系统版本。默认为false,判断app版本\n * iosVer iOS判断基础版本\n * andVer android判断基础版本\n */\nDetection.gt = function (version, isCheckOS) {\n  if (!isCheckOS && !Detection.appVersion) {\n    return false;\n  }\n  var checkVer = isCheckOS ? Detection.osVersion : Detection.appVersion;\n  if (checkVer === version) {\n    return true;\n  }\n  if (!version) {\n    version = '0.0';\n  }\n  checkVer = checkVer.split('.');\n  version = version.split('.');\n  for (var i = 0; i < checkVer.length; i += 1) {\n    var len = i + 1;\n    for (var j = 0; j < len; j += 1) {\n      var ver1 = +checkVer[j];\n      var ver2 = version[j];\n      if (ver1 > ver2) {\n        return true;\n      } else if (ver1 < ver2) {\n        return false;\n      } else if (ver1 === ver2 && checkVer.length === version.length && j === 3) {\n        return true;\n      }\n    }\n  }\n  return false;\n};\n\nif (Detection.isWeex) {\n  // 判断系统版本,用于探测动画\n  if (Detection.Android) {\n    // 针对4.3以下版本的android,不使用expressionBinding\n    Detection.isHighOS = Detection.gt('4.3', true);\n  }\n\n  if (expressionBinding && expressionBinding.enableBinding) {\n    if (Detection.Android && Detection.isHighOS) {\n      Detection.epEnable = true;\n    }\n    if (Detection.iOS) {\n      Detection.epEnable = true;\n    }\n  }\n}\n\nexports.default = Detection;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpUtils/detection.js?");

/***/ }),

/***/ "./lib/EpUtils/index.js":
/*!******************************!*\
  !*** ./lib/EpUtils/index.js ***!
  \******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _detection = __webpack_require__(/*! ./detection.js */ \"./lib/EpUtils/detection.js\");\n\nvar _detection2 = _interopRequireDefault(_detection);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = { Detection: _detection2.default }; // eslint disable next-line\n\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/EpUtils/index.js?");

/***/ }),

/***/ "./lib/Feedback/index.js":
/*!*******************************!*\
  !*** ./lib/Feedback/index.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeIcon = __webpack_require__(/*! ../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ./styles/index.js */ \"./lib/Feedback/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\nvar Feedback = function (_Component) {\n  _inherits(Feedback, _Component);\n\n  function Feedback() {\n    _classCallCheck(this, Feedback);\n\n    return _possibleConstructorReturn(this, (Feedback.__proto__ || Object.getPrototypeOf(Feedback)).call(this));\n  }\n\n  _createClass(Feedback, [{\n    key: 'render',\n    value: function render() {\n      var styles = this.props.themeStyle;\n      var _props = this.props,\n          _props$style = _props.style,\n          style = _props$style === undefined ? {} : _props$style,\n          type = _props.type,\n          children = _props.children;\n\n\n      var iconType = {\n        success: 'success-fill',\n        error: 'delete-fill',\n        warning: 'warning-fill'\n      }[type] || type;\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [styles.feedback, style] },\n        (0, _rax.createElement)(_nukeIcon2.default, { style: [styles.icon, styles['icon-' + type]], name: iconType }),\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: styles.content },\n          children\n        )\n      );\n    }\n  }]);\n\n  return Feedback;\n}(_rax.Component);\n\nFeedback.propTypes = {\n  type: _rax.PropTypes.oneOf(['success', 'error', 'warning']),\n  style: _rax.PropTypes.any,\n  children: _rax.PropTypes.any\n};\n\nFeedback.defaultTypes = {\n  type: 'success',\n  style: {},\n  children: null\n};\nFeedback.displayName = 'Feedback';\n\nvar StyledFeedback = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Feedback);\n\nexports.default = StyledFeedback;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Feedback/index.js?");

/***/ }),

/***/ "./lib/Feedback/styles/index.js":
/*!**************************************!*\
  !*** ./lib/Feedback/styles/index.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = styleFactory;\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Feedback/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleFactory() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    Feedback: {\n      feedback: {\n        alignItems: 'center',\n        padding: core.padding('' + Variables['padding-top'], '' + Variables['padding-left-right'], '' + Variables['padding-bottom'], '' + Variables['padding-left-right'])\n      },\n      icon: {\n        marginBottom: Variables['icon-bottom-margin'],\n        fontSize: Variables['icon-size']\n      },\n      content: {\n        alignItems: 'center',\n        textAlign: 'center'\n      },\n      'icon-success': {\n        color: Variables['icon-success-color']\n      },\n      'icon-error': {\n        color: Variables['icon-error-color']\n      },\n      'icon-warning': {\n        color: Variables['icon-warning-color']\n      }\n    }\n  };\n}\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Feedback/styles/index.js?");

/***/ }),

/***/ "./lib/Feedback/styles/variable.js":
/*!*****************************************!*\
  !*** ./lib/Feedback/styles/variable.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nexports.default = variableFactory;\nfunction variableFactory(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.FeedBack;\n\n  /**\n   * margin(b)\n   * @property namespace size/icon\n   */\n  var IconBottomMargin = Core.s5;\n\n  /**\n   * size\n   * @property namespace size/icon\n   */\n\n  var IconSize = Core['icon-xl'];\n\n  /**\n   * icon\n   * @property namespace statement/success\n   */\n  var IconSuccessColor = Core['color-success-2'];\n  /**\n   * icon\n   * @property namespace statement/error\n   */\n  var IconErrorColor = Core['color-error-2'];\n\n  /**\n   * icon\n   * @property namespace statement/warning\n   */\n  var IconWarningColor = Core['color-warning-2'];\n\n  /**\n   * text\n   * @property namespace statement/success\n   */\n  var SuccessColor = Core['color-text1-3'];\n  /**\n   * text\n   * @property namespace statement/error\n   */\n  var ErrorColor = Core['color-text1-3'];\n  /**\n   * text\n   * @property namespace statement/warning\n   */\n  var WarningColor = Core['color-text1-3'];\n\n  var Variables = {\n    'icon-bottom-margin': IconBottomMargin,\n    'icon-size': IconSize,\n    'icon-success-color': IconSuccessColor,\n    'icon-error-color': IconErrorColor,\n    'icon-warning-color': IconWarningColor,\n    'success-color': SuccessColor,\n    'error-color': ErrorColor,\n    'warning-color': WarningColor\n  };\n  return _extends({}, Variables, ComponentCustomStyle);\n}\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Feedback/styles/variable.js?");

/***/ }),

/***/ "./lib/Header/index.js":
/*!*****************************!*\
  !*** ./lib/Header/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar initStyle = { zIndex: 2, position: 'sticky', top: 0 };\n\nvar Header = (_temp = _class = function (_Component) {\n  _inherits(Header, _Component);\n\n  function Header() {\n    _classCallCheck(this, Header);\n\n    return _possibleConstructorReturn(this, (Header.__proto__ || Object.getPrototypeOf(Header)).apply(this, arguments));\n  }\n\n  _createClass(Header, [{\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          _props$append = _props.append,\n          append = _props$append === undefined ? 'tree' : _props$append,\n          _props$style = _props.style,\n          style = _props$style === undefined ? {} : _props$style,\n          others = _objectWithoutProperties(_props, ['append', 'style']);\n\n      if (_nukeEnv.isWeex && this.context.isInARecyclerView) {\n        return (0, _rax.createElement)('header', _extends({ append: append, style: style }, others));\n      }\n      return (0, _rax.createElement)(_nukeView2.default, _extends({ style: [initStyle, style] }, others));\n    }\n  }]);\n\n  return Header;\n}(_rax.Component), _class.contextTypes = {\n  isInARecyclerView: _rax.PropTypes.bool\n}, _temp);\nexports.default = Header;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Header/index.js?");

/***/ }),

/***/ "./lib/Helper/border-seperate.js":
/*!***************************************!*\
  !*** ./lib/Helper/border-seperate.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.borderSeperate = borderSeperate;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * 用来处理 weex 下,同时有 borderWidth 和 borderTopWidth 时,weex 表现异常的问题\n * @param {object} style\n * @param {array} attrArray 需要修复 border 的哪些属性\n * @return {object} style\n */\nfunction borderSeperate(style) {\n  var attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ['Color', 'Style', 'Width'];\n\n  if (style.border) {\n    if (style.border === 'none') {\n      style.borderWidth = 0;\n    }\n    delete style.border;\n  }\n  attrs.map(function (attr) {\n    if (style.hasOwnProperty('border' + attr)) {\n      var _attrObj;\n\n      var attrObj = (_attrObj = {}, _defineProperty(_attrObj, 'borderTop' + attr, style['border' + attr]), _defineProperty(_attrObj, 'borderLeft' + attr, style['border' + attr]), _defineProperty(_attrObj, 'borderRight' + attr, style['border' + attr]), _defineProperty(_attrObj, 'borderBottom' + attr, style['border' + attr]), _attrObj);\n      var deleteFlag = false;\n      ['Top', 'Left', 'Right', 'Bottom'].map(function (direction) {\n        if (style.hasOwnProperty('border' + direction + attr)) {\n          deleteFlag = true;\n          attrObj['border' + direction + attr] = style['border' + direction + attr];\n        }\n      });\n      if (deleteFlag) {\n        delete style['border' + attr];\n        style = Object.assign({}, attrObj, style);\n      }\n    }\n  });\n  return style;\n}\n\n//# sourceURL=webpack:///./lib/Helper/border-seperate.js?");

/***/ }),

/***/ "./lib/Helper/bubble-keys.js":
/*!***********************************!*\
  !*** ./lib/Helper/bubble-keys.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar bubbleKeys = exports.bubbleKeys = ['display', 'justifyContent', 'alignItems', 'flexDirection', 'overflow', 'backgroundColor', 'visibility', 'outline', 'transition', 'zoom', 'flexWrap', 'position', 'zIndex', 'flex', 'width', 'height'];\n\n//# sourceURL=webpack:///./lib/Helper/bubble-keys.js?");

/***/ }),

/***/ "./lib/Helper/calc-fixed-font.js":
/*!***************************************!*\
  !*** ./lib/Helper/calc-fixed-font.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nexports.calcFixedFont = calcFixedFont;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar isIpad = void 0;\nif (_nukeEnv.isWeb) {\n  isIpad = navigator.userAgent.indexOf('iPad') > -1;\n} else {\n  var env = typeof WXEnvironment !== 'string' ? WXEnvironment : {};\n  isIpad = env.platform.toLowerCase() === 'ios' && env.deviceModel.toLowerCase().indexOf('ipad') > -1;\n}\n\nfunction fitPad(style) {\n  var result = _extends({}, style);\n  var fontSize = style.fontSize;\n  if (typeof fontSize === 'string' && fontSize.indexOf('rem') > 0 || typeof fontSize === 'number') {\n    fontSize = parseInt(fontSize, 10);\n  }\n  if (typeof fontSize === 'string' && fontSize.indexOf('px') > 0) {\n    fontSize = parseInt(fontSize, 10) * 2;\n  }\n  result.fontSize = fontSize;\n\n  return result;\n}\n\n// appInfo.platform.toLowerCase() === 'ios' &&\n// appInfo.deviceModel.toLowerCase() === 'ipad';\n/**\n * parse fontSize to a fixed font.\n * if style:\n *   fontSize:'28rem' or\n *   fontSize:28, or\n *   fontSize:'14px'\n * and fixedFont=true\n * will turns to:\n *   font-size 14px (in web) / 14wx (in ios and android weex ).\n * But if in ipad, things go other way, if you choose fitPad, font-size will roll back to rem to fit screen.\n */\nfunction calcFixedFont(style) {\n  var fixedFont = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n  var shouldFitPad = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n  if (!style || !style.fontSize || !fixedFont) return style;\n\n  if (isIpad && shouldFitPad) return fitPad(style);\n  var result = _extends({}, style);\n  var fontSize = style.fontSize;\n  if (typeof fontSize === 'string' && fontSize.indexOf('rem') > 0 || typeof fontSize === 'number') {\n    fontSize = Math.floor(parseInt(fontSize, 10) / 2);\n  }\n  if (typeof fontSize === 'string' && fontSize.indexOf('px') > 0) {\n    fontSize = parseInt(fontSize, 10);\n  }\n  result.fontSize = fontSize + (_nukeEnv.isWeb ? 'px' : 'wx');\n  if (isIpad && fitPad) {}\n  return result;\n}\n\n//# sourceURL=webpack:///./lib/Helper/calc-fixed-font.js?");

/***/ }),

/***/ "./lib/Helper/fix-small-unit.js":
/*!**************************************!*\
  !*** ./lib/Helper/fix-small-unit.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.fixSmallUnit = fixSmallUnit;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction fixSmallUnit(unit) {\n  if ((typeof unit === 'undefined' ? 'undefined' : _typeof(unit)) === 'object' && 'raw' in unit) {\n    unit = unit.raw;\n  }\n  var num = parseInt(unit, 10);\n  if (num > 6) return unit;\n  return '' + Math.floor(num / 2).toString() + (_nukeEnv.isWeb ? 'px' : 'wx');\n}\n\n//# sourceURL=webpack:///./lib/Helper/fix-small-unit.js?");

/***/ }),

/***/ "./lib/Helper/hair-line.js":
/*!*********************************!*\
  !*** ./lib/Helper/hair-line.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.hairLine = undefined;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _borderSeperate = __webpack_require__(/*! ./border-seperate.js */ \"./lib/Helper/border-seperate.js\");\n\nvar hairLine = {};\n/**\n * 设备是否支持 0.5px\n * decide if container support 0.5px in web env\n * @return {boolean} supportFlag\n */\nhairLine.detect = function () {\n  var hairLineFlag = void 0;\n  if (!_nukeEnv.isWeb) return true;\n  if (window.OffsetHeightForRxBorder) {\n    hairLineFlag = window.OffsetHeightForRxBorder;\n  } else if (window && window.devicePixelRatio && window.devicePixelRatio >= 2) {\n    var testElem = document.createElement('div');\n    testElem.style.border = '.5px solid transparent';\n    testElem.style.height = 0;\n    testElem.style.boxSizing = 'content-box';\n    document.body.appendChild(testElem);\n    if (testElem.offsetHeight === 1) {\n      hairLineFlag = true;\n    } else {\n      hairLineFlag = false;\n    }\n    window.OffsetHeightForRxBorder = hairLineFlag;\n    document.body.removeChild(testElem);\n  }\n  return hairLineFlag;\n};\n/**\n * 高清 0.5px 样式\n * 0.5px hairline style\n * @param {object} style\n * @return {object} style\n */\nhairLine.fixBorder = function (style) {\n  if (!_nukeEnv.isWeb) return style;\n  var borderWidthHair = hairLine.detect() ? '0.5px' : '1px';\n  style = (0, _borderSeperate.borderSeperate)(style, ['Width']);\n  ['Top', 'Left', 'Right', 'Bottom'].map(function (direction) {\n    if (style['border' + direction + 'Width'] && parseFloat(style['border' + direction + 'Width'], 10) === 1) {\n      style['border' + direction + 'Width'] = borderWidthHair;\n    }\n  });\n  if (style.borderWidth && parseFloat(style.borderWidth, 10) === 1) {\n    style.borderWidth = borderWidthHair;\n  }\n\n  return style;\n};\nexports.hairLine = hairLine;\n\n//# sourceURL=webpack:///./lib/Helper/hair-line.js?");

/***/ }),

/***/ "./lib/Helper/hex.js":
/*!***************************!*\
  !*** ./lib/Helper/hex.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.valueToObj = valueToObj;\nexports.hexToRgb = hexToRgb;\nexports.rgba = rgba;\n/**\n * @param {*} hex\n * @param {*} opacity\n */\n\nfunction valueToObj(obj) {\n  Object.keys(obj).forEach(function (name) {\n    if (_typeof(obj[name]) === 'object') {\n      obj[name] = {\n        name: name,\n        raw: obj[name]\n      };\n    }\n  });\n  return obj;\n}\n\nfunction hexToRgb(hex, opacity) {\n  var shorthandRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n  hex = hex.replace(shorthandRegex, function (m, r, g, b) {\n    return r + r + g + g + b + b;\n  });\n\n  var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n  if (!result) return null;\n\n  return {\n    r: parseInt(result[1], 16),\n    g: parseInt(result[2], 16),\n    b: parseInt(result[3], 16)\n  };\n}\n\n/**\n * @param {*} hex\n * @param {*} opacity\n */\nfunction rgba(hex, opacity) {\n  if ((typeof hex === 'undefined' ? 'undefined' : _typeof(hex)) === 'object' && 'raw' in hex) {\n    hex = hex.raw;\n  }\n  if ((typeof opacity === 'undefined' ? 'undefined' : _typeof(opacity)) === 'object' && 'raw' in opacity) {\n    opacity = opacity.raw;\n  }\n  var result = exports.hexToRgb(hex);\n  if (!result) return null;\n  // if ('raw' in hex) {\n  //   return { raw: `rgba(${result.r},${result.g},${result.b},${opacity})` };\n  // }\n  return 'rgba(' + result.r + ',' + result.g + ',' + result.b + ',' + opacity + ')';\n}\n\n//# sourceURL=webpack:///./lib/Helper/hex.js?");

/***/ }),

/***/ "./lib/Helper/index.js":
/*!*****************************!*\
  !*** ./lib/Helper/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _calcFixedFont = __webpack_require__(/*! ./calc-fixed-font.js */ \"./lib/Helper/calc-fixed-font.js\");\n\nvar _hairLine = __webpack_require__(/*! ./hair-line.js */ \"./lib/Helper/hair-line.js\");\n\nvar _textKeys = __webpack_require__(/*! ./text-keys.js */ \"./lib/Helper/text-keys.js\");\n\nvar _bubbleKeys = __webpack_require__(/*! ./bubble-keys.js */ \"./lib/Helper/bubble-keys.js\");\n\nvar _fixSmallUnit = __webpack_require__(/*! ./fix-small-unit.js */ \"./lib/Helper/fix-small-unit.js\");\n\nvar _borderSeperate = __webpack_require__(/*! ./border-seperate.js */ \"./lib/Helper/border-seperate.js\");\n\nvar _hex = __webpack_require__(/*! ./hex.js */ \"./lib/Helper/hex.js\");\n\nvar hex = _interopRequireWildcard(_hex);\n\nvar _layout = __webpack_require__(/*! ./layout.js */ \"./lib/Helper/layout.js\");\n\nvar layout = _interopRequireWildcard(_layout);\n\nvar _rem = __webpack_require__(/*! ./rem.js */ \"./lib/Helper/rem.js\");\n\nvar rem = _interopRequireWildcard(_rem);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nexports.default = { calcTextSize: _calcFixedFont.calcFixedFont, hairLine: _hairLine.hairLine, textKeys: _textKeys.textKeys, borderSeperate: _borderSeperate.borderSeperate, bubbleKeys: _bubbleKeys.bubbleKeys, fixSmallUnit: _fixSmallUnit.fixSmallUnit, hex: hex, layout: layout, rem: rem };\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Helper/index.js?");

/***/ }),

/***/ "./lib/Helper/layout.js":
/*!******************************!*\
  !*** ./lib/Helper/layout.js ***!
  \******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.alignCenter = alignCenter;\nfunction alignCenter() {\n  return {\n    display: 'flex',\n    flexDirection: 'row',\n    alignItems: 'center',\n    justifyContent: 'center'\n  };\n}\n\n//# sourceURL=webpack:///./lib/Helper/layout.js?");

/***/ }),

/***/ "./lib/Helper/rem.js":
/*!***************************!*\
  !*** ./lib/Helper/rem.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.caculateRemToPx = caculateRemToPx;\nexports.removeRemUnit = removeRemUnit;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\n/**\n * @description parse rem to even px to solve andoird float px issue.\n */\nfunction caculateRemToPx(rem) {\n  var defaultWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 750;\n\n  // Default 1 rem to 1 px\n  if ((typeof rem === 'undefined' ? 'undefined' : _typeof(rem)) === 'object' && 'raw' in rem) {\n    rem = rem.raw;\n  }\n  if (_nukeEnv.isWeex) return rem;\n  rem = exports.removeRemUnit(rem);\n  var defaultPixUnit = document.documentElement.clientWidth / defaultWidth;\n  var num = Math.round(parseFloat(rem) * defaultPixUnit);\n  if (num % 2 === 0) {\n    return num + 'px';\n  }\n  return num - 1 + 'px';\n}\n/**\n * @description remove rem unit for string like 12rem => 12\n * @param {string or number} rem\n */\nfunction removeRemUnit(rem) {\n  rem = String(rem);\n  return rem.replace('rem', '');\n}\n\n//# sourceURL=webpack:///./lib/Helper/rem.js?");

/***/ }),

/***/ "./lib/Helper/text-keys.js":
/*!*********************************!*\
  !*** ./lib/Helper/text-keys.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar textKeys = exports.textKeys = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight', 'textAlign', 'textDecoration'];\n\n//# sourceURL=webpack:///./lib/Helper/text-keys.js?");

/***/ }),

/***/ "./lib/Icon/index.h5.js":
/*!******************************!*\
  !*** ./lib/Icon/index.h5.js ***!
  \******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _icon = __webpack_require__(/*! ./view/icon.js */ \"./lib/Icon/view/icon.js\");\n\nvar _icon2 = _interopRequireDefault(_icon);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _icon2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Icon/index.h5.js?");

/***/ }),

/***/ "./lib/Icon/index.js":
/*!***************************!*\
  !*** ./lib/Icon/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _index = __webpack_require__(/*! ./index.native.js */ \"./lib/Icon/index.native.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nvar _index3 = __webpack_require__(/*! ./index.h5.js */ \"./lib/Icon/index.h5.js\");\n\nvar _index4 = _interopRequireDefault(_index3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar IconEntry = _index4.default;\nif (_nukeEnv.isWeex) {\n  IconEntry = _index2.default;\n}\nexports.default = IconEntry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Icon/index.js?");

/***/ }),

/***/ "./lib/Icon/index.native.js":
/*!**********************************!*\
  !*** ./lib/Icon/index.native.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _icon = __webpack_require__(/*! ./view/icon.js */ \"./lib/Icon/view/icon.js\");\n\nvar _icon2 = _interopRequireDefault(_icon);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _icon2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Icon/index.native.js?");

/***/ }),

/***/ "./lib/Icon/styles/index.js":
/*!**********************************!*\
  !*** ./lib/Icon/styles/index.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _mixin = __webpack_require__(/*! ./mixin.js */ \"./lib/Icon/styles/mixin.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Icon/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction StyleMix() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var core = theme.Core;\n  var Variables = (0, _variable2.default)(theme);\n  return {\n    Icon: _extends({\n      'icon-image': {\n        flexDirection: 'row',\n        alignSelf: 'center',\n        alignItems: 'center'\n      },\n      'image-xs': (0, _mixin.imageSize)(core['icon-xs']),\n      'image-small': (0, _mixin.imageSize)(core['icon-s']),\n      'image-medium': (0, _mixin.imageSize)(core['icon-m']),\n      'image-large': (0, _mixin.imageSize)(core['icon-l']),\n      'icon-iconfont': {\n        fontWeight: 400\n      },\n      'iconfont-xs': (0, _mixin.fontSize)(core['icon-xs']),\n      'iconfont-small': (0, _mixin.fontSize)(core['icon-s']),\n      'iconfont-medium': (0, _mixin.fontSize)(core['icon-m']),\n      'iconfont-large': (0, _mixin.fontSize)(core['icon-l'])\n    }, Variables)\n  };\n}\nmodule.exports = StyleMix;\n\n//# sourceURL=webpack:///./lib/Icon/styles/index.js?");

/***/ }),

/***/ "./lib/Icon/styles/mixin.js":
/*!**********************************!*\
  !*** ./lib/Icon/styles/mixin.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar mixin = {\n  imageSize: function imageSize(size) {\n    return {\n      width: size,\n      height: size\n    };\n  },\n  fontSize: function fontSize(size) {\n    return {\n      fontSize: size\n    };\n  }\n};\nexports.default = mixin;\nmodule.exports = exports[\"default\"];\n\n//# sourceURL=webpack:///./lib/Icon/styles/mixin.js?");

/***/ }),

/***/ "./lib/Icon/styles/variable.js":
/*!*************************************!*\
  !*** ./lib/Icon/styles/variable.js ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/**\n * @namespace component\n * @property name icon\n * @property prefix icon-\n * @property group Icon\n */\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.Icon || {};\n  var icons = {};\n  Object.keys(core).map(function (key) {\n    if (key.indexOf('icon-') > -1 && typeof core[key] === 'string') {\n      icons[key] = core[key];\n    }\n  });\n\n  // const iconVariables = {\n  //   /**\n  //    * size\n  //    * @property namespace size/bounding\n  //    */\n  //   'icon-xs': core['icon-xs'],\n  //   /**\n  //    * size\n  //    * @property namespace size/bounding\n  //    */\n  //   'icon-s': core['icon-s'],\n  //   /**\n  //    * size\n  //    * @property namespace size/bounding\n  //    */\n  //   'icon-m': core['icon-m'],\n  //   /**\n  //    * size\n  //    * @property namespace size/bounding\n  //    */\n  //   'icon-l': core['icon-l'],\n  // };\n  var variables = Object.assign(icons, ComponentCustomStyle);\n  return variables;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Icon/styles/variable.js?");

/***/ }),

/***/ "./lib/Icon/view/icon.js":
/*!*******************************!*\
  !*** ./lib/Icon/view/icon.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeImage = __webpack_require__(/*! ../../Image/index.js */ \"./lib/Image/index.js\");\n\nvar _nukeImage2 = _interopRequireDefault(_nukeImage);\n\nvar _nukeIconfont = __webpack_require__(/*! ../../Iconfont/index.js */ \"./lib/Iconfont/index.js\");\n\nvar _nukeIconfont2 = _interopRequireDefault(_nukeIconfont);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Icon/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Icon = function (_Component) {\n  _inherits(Icon, _Component);\n\n  function Icon(props) {\n    _classCallCheck(this, Icon);\n\n    var _this = _possibleConstructorReturn(this, (Icon.__proto__ || Object.getPrototypeOf(Icon)).call(this, props));\n\n    var themeStyle = props.themeStyle;\n\n    _this.fontURL = themeStyle['icon-font-path'].raw || themeStyle['icon-font-path'];\n    _this.fontName = themeStyle['icon-font-family'].raw || themeStyle['icon-font-family'];\n    return _this;\n  }\n\n  _createClass(Icon, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      var type = this.getType();\n      if (type === 'iconfont') {\n        var tmpFontURL = this.fontURL;\n        if (this.fontURL.indexOf('.ttf') <= -1) {\n          tmpFontURL += '.ttf';\n        }\n        (0, _nukeIconfont2.default)({ name: this.fontName, url: tmpFontURL });\n      }\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      var type = this.getType();\n      if (type === 'iconfont') {\n        var themeStyle = nextProps.themeStyle;\n\n        var curFontUrl = themeStyle['icon-font-path'].raw || themeStyle['icon-font-path'];\n        var curFontName = themeStyle['icon-font-family'].raw || themeStyle['icon-font-family'];\n\n        if (curFontUrl !== this.fontURL || curFontName !== this.fontName) {\n          this.fontURL = curFontUrl;\n          this.fontName = curFontName;\n          var tmpFontURL = this.fontURL;\n          if (this.fontURL.indexOf('.ttf') <= -1) {\n            tmpFontURL += '.ttf';\n          }\n          (0, _nukeIconfont2.default)({ name: this.fontName, url: tmpFontURL });\n        }\n      }\n    }\n  }, {\n    key: 'getType',\n    value: function getType() {\n      var _props$name = this.props.name,\n          name = _props$name === undefined ? '' : _props$name;\n      var _props$type = this.props.type,\n          type = _props$type === undefined ? 'image' : _props$type;\n\n      if (type === 'image' && name !== '') {\n        type = 'iconfont';\n      }\n      return type;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          size = _props.size,\n          _props$name2 = _props.name,\n          name = _props$name2 === undefined ? '' : _props$name2,\n          style = _props.style,\n          onPress = _props.onPress,\n          fixedFont = _props.fixedFont,\n          others = _objectWithoutProperties(_props, ['size', 'name', 'style', 'onPress', 'fixedFont']);\n\n      var styles = this.props.themeStyle;\n\n      var type = this.getType();\n      if (type === 'iconfont') {\n        var textStyle = Object.assign({}, styles['iconfont-' + size], style, {\n          fontFamily: this.fontName\n        });\n        var unicode = styles['icon-content-' + name] && (0, _nukeIconfont.formatUnicode)(styles['icon-content-' + name], 16);\n        return (0, _rax.createElement)(\n          _nukeText2.default,\n          _extends({\n            onClick: onPress\n          }, others, {\n            fixedFont: fixedFont,\n            style: textStyle\n          }),\n          unicode\n        );\n      }\n      var wrapStyle = Object.assign({}, styles['icon-image'], style);\n      var sizeStyle = styles['image-' + size];\n      return (0, _rax.createElement)(\n        _nukeTouchable2.default,\n        _extends({ onPress: onPress, style: wrapStyle }, others),\n        (0, _rax.createElement)(_nukeImage2.default, {\n          source: { uri: this.props.src },\n          style: sizeStyle,\n          resizeMode: 'cover'\n        })\n      );\n    }\n  }]);\n\n  return Icon;\n}(_rax.Component);\n\nIcon.displayName = 'Icon';\n\nIcon.defaultProps = {\n  size: 'medium',\n  style: {},\n  name: '',\n  onPress: function onPress() {},\n  src: '',\n  type: 'image',\n  fixedFont: false\n};\nIcon.propTypes = {\n  onPress: _rax.PropTypes.func,\n  name: _rax.PropTypes.any,\n  themeStyle: _rax.PropTypes.any,\n  style: _rax.PropTypes.any,\n  src: _rax.PropTypes.string,\n  type: _rax.PropTypes.string,\n  size: _rax.PropTypes.oneOf(['xs', 'small', 'medium', 'large']),\n  fixedFont: _rax.PropTypes.boolean\n};\n\nIcon.contextTypes = {\n  parentPath: _rax.PropTypes.any,\n  parentStyle: _rax.PropTypes.any\n};\nvar StyledIcon = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Icon);\n\nexports.default = StyledIcon;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Icon/view/icon.js?");

/***/ }),

/***/ "./lib/Iconfont/index.js":
/*!*******************************!*\
  !*** ./lib/Iconfont/index.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n */\n\n\n\n/**\n * 一个实例中相同的iconfont资源只需被调用一次,如果对iconfont有二次封装会导致调用次数过多在客户端出现闪动\n * 单例模式  相同的url算一个单例\n */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar isWeex = typeof callNative === 'function';\n\nvar ICON_CACHE_KEY = '_nuke_icon_cache_';\n\nvar Iconfont = function () {\n  function Iconfont() {\n    _classCallCheck(this, Iconfont);\n  }\n\n  _createClass(Iconfont, [{\n    key: 'init',\n    value: function init(options) {\n      var url = options.url,\n          name = options.name;\n\n\n      if (!url || !name) return;\n      var urlFit = url;\n      if (isWeex) {\n        if (url.indexOf('//at.alicdn.com') === 0) {\n          urlFit = 'https:' + urlFit;\n        }\n        var domModule = __webpack_require__(/*! @weex-module/dom */ \"@weex-module/dom\");\n        domModule.addRule('fontFace', {\n          fontFamily: name,\n          src: 'url(\\'' + urlFit + '\\')'\n        });\n      } else {\n        if (isDefined(name, urlFit)) return;\n        var css = '@font-face {font-family: \\'' + name + '\\';src: url(\\'' + urlFit + '\\');}';\n\n        var head = document.head || document.getElementsByTagName('head')[0];\n\n        var style = document.createElement('style');\n\n        style.type = 'text/css';\n        if (style.styleSheet) {\n          style.styleSheet.cssText = css;\n        } else {\n          style.appendChild(document.createTextNode(css));\n        }\n\n        head.appendChild(style);\n        cacheDefineResult(name, urlFit);\n      }\n    }\n  }]);\n\n  return Iconfont;\n}();\n/**\n * check if this font family has been defined\n * @param {*} name iconfontName\n * @param {*} url iconfontURL\n */\n\n\nfunction isDefined(name, url) {\n  if (isWeex) return false;\n  var CacheArray = window[ICON_CACHE_KEY] && window[ICON_CACHE_KEY][name] ? window[ICON_CACHE_KEY][name] : null;\n  if (!CacheArray) return false;\n\n  if ('name' in CacheArray && 'url' in CacheArray && CacheArray.name === name && CacheArray.url === url) {\n    return true;\n  }\n  return false;\n}\n/**\n *\n * @param {*} name\n * @param {*} url\n */\nfunction cacheDefineResult(name, url) {\n  if (isWeex) return;\n  window[ICON_CACHE_KEY] = window[ICON_CACHE_KEY] || {};\n  window[ICON_CACHE_KEY][name] = { name: name, url: url };\n}\n/**\n * @param {string/obj} unicode &#xe615;e6DD;\\e6dd;\n */\nfunction formatUnicode(unicode) {\n  if (typeof unicode !== 'string' && \"development\" === 'development') {\n    console.warn('formatUnicode only support <string> arguments');\n  }\n  var tmpUnicode = unicode.raw || unicode;\n  if (tmpUnicode.indexOf('&#x') === 0) {\n    tmpUnicode = fromCodePoint(parseInt(tmpUnicode.replace('&#x', '0x').replace(';', ''), 16));\n  } else if (tmpUnicode.indexOf('\\\\u') === 0) {\n    tmpUnicode = unicode;\n  } else {\n    tmpUnicode = fromCodePoint(parseInt('0x' + tmpUnicode.replace(/(e[\\w\\d]{3})/, '$1').replace(/\\\\/, '').replace(';', ''), 16));\n  }\n  return tmpUnicode;\n}\nfunction fromCodePoint(_) {\n  if (String.fromCodePoint) {\n    return String.fromCodePoint(_);\n  }\n  var stringFromCharCode = String.fromCharCode;\n  var floor = Math.floor;\n  var MAX_SIZE = 0x4000;\n  var codeUnits = [];\n  var highSurrogate = void 0;\n  var lowSurrogate = void 0;\n  var index = -1;\n  var length = arguments.length;\n  if (!length) {\n    return \"\";\n  }\n  var result = \"\";\n  while (++index < length) {\n    var codePoint = Number(arguments[index]);\n    if (!isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity`\n    codePoint < 0 || // not a valid Unicode code point\n    codePoint > 0x10FFFF || // not a valid Unicode code point\n    floor(codePoint) != codePoint // not an integer\n    ) {\n        throw RangeError(\"Invalid code point: \" + codePoint);\n      }\n    if (codePoint <= 0xFFFF) {\n      // BMP code point\n      codeUnits.push(codePoint);\n    } else {\n      // Astral code point; split in surrogate halves\n      // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n      codePoint -= 0x10000;\n      highSurrogate = (codePoint >> 10) + 0xD800;\n      lowSurrogate = codePoint % 0x400 + 0xDC00;\n      codeUnits.push(highSurrogate, lowSurrogate);\n    }\n    if (index + 1 == length || codeUnits.length > MAX_SIZE) {\n      result += stringFromCharCode.apply(null, codeUnits);\n      codeUnits.length = 0;\n    }\n  }\n  return result;\n}\nfunction Output(params) {\n  new Iconfont().init(params);\n}\nOutput.isDefined = isDefined;\nOutput.cacheDefineResult = cacheDefineResult;\nOutput.formatUnicode = formatUnicode;\nexports.default = Output;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Iconfont/index.js?");

/***/ }),

/***/ "./lib/Image/index.js":
/*!****************************!*\
  !*** ./lib/Image/index.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/* @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isWeb = (typeof navigator === 'undefined' ? 'undefined' : _typeof(navigator)) === 'object' && (navigator.appCodeName === 'Mozilla' || navigator.product === 'Gecko');\n\nvar WIDTH_ORIGINAL = 1;\nvar HEIGHT_ORIGINAL = 1;\n\n/**\n * Image\n * @description  图片\n */\n\nvar Image = function (_Component) {\n  _inherits(Image, _Component);\n\n  function Image(props) {\n    _classCallCheck(this, Image);\n\n    var _this = _possibleConstructorReturn(this, (Image.__proto__ || Object.getPrototypeOf(Image)).call(this, props));\n\n    _this.state = {\n      width: WIDTH_ORIGINAL,\n      height: HEIGHT_ORIGINAL\n    };\n    _this.load = _this.load.bind(_this);\n    return _this;\n  }\n\n  _createClass(Image, [{\n    key: 'convertToRem',\n    value: function convertToRem(num) {\n      var pxWidth = void 0;\n      if (isWeb) {\n        pxWidth = document.documentElement.clientWidth * devicePixelRatio;\n      } else {\n        pxWidth = WXEnvironment.deviceWidth;\n      }\n      return Math.round(num * 750 / pxWidth);\n    }\n  }, {\n    key: 'load',\n    value: function load(e) {\n      var width = void 0;\n      var height = void 0;\n      if (!isWeb) {\n        if (e.size && e.size.naturalWidth > 0 && e.size.naturalHeight > 0) {\n          width = this.convertToRem(e.size.naturalWidth);\n          height = this.convertToRem(e.size.naturalHeight);\n        }\n      } else if (e.target) {\n        width = this.convertToRem(e.target.naturalWidth);\n        height = this.convertToRem(e.target.naturalHeight);\n        e.size = {\n          naturalWidth: width,\n          naturalHeight: height\n        };\n      }\n      if (this.props.autoFit && width && height) {\n        this.setState({\n          width: width,\n          height: height\n        });\n      }\n\n      this.props.onLoad && this.props.onLoad(e);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          style = _props.style,\n          autoFit = _props.autoFit,\n          src = _props.src,\n          _props$source = _props.source,\n          source = _props$source === undefined ? {} : _props$source,\n          resizeMode = _props.resizeMode,\n          onLoad = _props.onLoad,\n          onPress = _props.onPress,\n          onClick = _props.onClick,\n          others = _objectWithoutProperties(_props, ['style', 'autoFit', 'src', 'source', 'resizeMode', 'onLoad', 'onPress', 'onClick']);\n\n      var uri = source.uri,\n          _source$width = source.width,\n          sourceWidth = _source$width === undefined ? WIDTH_ORIGINAL : _source$width,\n          _source$height = source.height,\n          sourceHeight = _source$height === undefined ? HEIGHT_ORIGINAL : _source$height;\n\n      if (!src && !uri) {\n        return null;\n      }\n      var ImageElement = void 0;\n      if (isWeb) {\n        ImageElement = 'img';\n      } else {\n        ImageElement = 'image';\n      }\n      /**\n       * compatible with source props\n       */\n      var nativeProps = _extends({\n        src: src || uri,\n        quality: 'original',\n        style: _extends({\n          width: autoFit ? this.state.width : sourceWidth,\n          height: autoFit ? this.state.height : sourceHeight\n        }, style),\n        onLoad: this.load\n      }, others);\n      if (onPress || onClick) {\n        nativeProps.onClick = onPress || onClick;\n      }\n      /**\n       * if flex is defined, delete width 1, height 1\n       */\n      if (nativeProps.style.flex) {\n        if (nativeProps.style.width === WIDTH_ORIGINAL) {\n          delete nativeProps.style.width;\n        }\n        if (nativeProps.style.height === HEIGHT_ORIGINAL) {\n          delete nativeProps.style.height;\n        }\n      }\n\n      // for cover and contain\n      var propsResizeMode = resizeMode || nativeProps.style.resizeMode;\n      if (propsResizeMode) {\n        if (isWeb) {\n          delete nativeProps.style.flex;\n          nativeProps.style.width = nativeProps.style.width || '100%';\n          nativeProps.style.height = nativeProps.style.height || '100%';\n          nativeProps.style.objectFit = propsResizeMode;\n        } else {\n          nativeProps.resize = propsResizeMode;\n          nativeProps.style.resizeMode = propsResizeMode;\n        }\n      }\n\n      return (0, _rax.createElement)(ImageElement, nativeProps);\n    }\n  }]);\n\n  return Image;\n}(_rax.Component);\n\nImage.propTypes = {\n  /**\n   * 资源地址 source url\n   */\n  src: _rax.PropTypes.string,\n  /**\n   * style 样式\n   */\n  style: _rax.PropTypes.object\n};\nImage.defaultProps = {\n  style: {},\n  autoFit: false\n};\nexports.default = Image;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Image/index.js?");

/***/ }),

/***/ "./lib/Input/index.js":
/*!****************************!*\
  !*** ./lib/Input/index.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _native = __webpack_require__(/*! ./native.js */ \"./lib/Input/native.js\");\n\nvar _native2 = _interopRequireDefault(_native);\n\nvar _web = __webpack_require__(/*! ./web.js */ \"./lib/Input/web.js\");\n\nvar _web2 = _interopRequireDefault(_web);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar InputEntry = _web2.default;\nif (_nukeEnv.isWeex) {\n  InputEntry = _native2.default;\n}\nexports.default = InputEntry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/index.js?");

/***/ }),

/***/ "./lib/Input/mods/count.js":
/*!*********************************!*\
  !*** ./lib/Input/mods/count.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n\nvar Count = function (_PureComponent) {\n  _inherits(Count, _PureComponent);\n\n  function Count(props, context) {\n    _classCallCheck(this, Count);\n\n    var _this = _possibleConstructorReturn(this, (Count.__proto__ || Object.getPrototypeOf(Count)).call(this, props));\n\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    return _this;\n  }\n\n  _createClass(Count, [{\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          maxLength = _props.maxLength,\n          multiple = _props.multiple,\n          renderCount = _props.renderCount,\n          styles = _props.themeStyle,\n          count = _props.count;\n\n      if (!maxLength || !renderCount) return null;\n\n      // const { count } = this.state;\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        {\n          style: styles['' + (multiple ? 'md-multiple-count-wrap' : 'md-single-count-wrap')]\n        },\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          {\n            fixedFont: this.fixedFont,\n            style: [styles['' + (multiple ? 'multiple-count-text' : 'single-count-text')], count > maxLength ? styles['count-error'] : {}]\n          },\n          count,\n          ' / ',\n          maxLength\n        )\n      );\n    }\n  }]);\n\n  return Count;\n}(_rax.PureComponent);\n\nCount.contextTypes = {\n  // androidConfigs: PropTypes.any,\n};\n\nexports.default = Count;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/mods/count.js?");

/***/ }),

/***/ "./lib/Input/mods/image.js":
/*!*********************************!*\
  !*** ./lib/Input/mods/image.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = {\n  clear: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABIUExURUxpcdvb2+rq6tvb29vb2////9vb29vb29ra2t3d3dzc3Nvb29vb29vb29vb29vb29zc3OPj49ra2tra2tra2v///+3t7evr66GrXawAAAAUdFJOUwDoDNn+Aap/81IWcr+l0yOCCfKD2tG2sAAAAONJREFUOMuVlVkSgyAQRMctoIKitnr/m0arYgKC2uk/i8dQs7UigfrWmkLrwti2l0s1roOnzjVJLFcaJ2mVx1ydIaGsPmGVKpFUqSqfG1641Gvw4t1wG/mLqXAr9c2jvAfLT0Z5hgdlefjwuoTnyxo83hx1Xuc5IJd5Pki992jyDnwy+HQb2KWPwmvdNi9IBjmFRy8tUuSZQysWCTLiYMUgJmMORgrEZMyhkGhalxQHLSMHjvzTdDJ0eeiC0y2kh0IcO2b04NKrwC8Xva68AfCWQpsUb3u8kf5hzXuPJsrsH34fb8y0YVOqBARgAAAAAElFTkSuQmCC',\n  warning: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUxpcdIKFtEJF9IJF9EKFtEKFtcIENMIFNIJF88AENIKFtIIFdEJF9EJF9EKFtUFFdIIFNEKFtIKFtEJF9IKF+mWP4kAAAAUdFJOUwCg37/vgCBAwBDQYHDg8DA/z1CQP2gf+wAAAJ9JREFUOMvNk9sSgyAMRJE7ar3U/f9vlamVFAj01X2BIYcNkx2EeJ5C+AO8ZL8+A3O3gQZ0r4lBlOkbdC0GfHS06hZf2bbB6NwIDHx9jXe9ED4uKwt4AhRXdyAArmGQAMZiwi+Ad51SDkjegABMxZDldayV0tdOhjqlXKZOCfckUWWWDOgNmUVKCfu27fde2zLmUpTZwgMLtXCs7FP+4gkrxRPG+kr+5gAAAABJRU5ErkJggg=='\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/mods/image.js?");

/***/ }),

/***/ "./lib/Input/mods/inherit-keys.js":
/*!****************************************!*\
  !*** ./lib/Input/mods/inherit-keys.js ***!
  \****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight', 'textAlign', 'textDecoration'];\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/mods/inherit-keys.js?");

/***/ }),

/***/ "./lib/Input/mods/placeholder.js":
/*!***************************************!*\
  !*** ./lib/Input/mods/placeholder.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n\nvar PlaceHolder = function (_PureComponent) {\n  _inherits(PlaceHolder, _PureComponent);\n\n  function PlaceHolder(props, context) {\n    _classCallCheck(this, PlaceHolder);\n\n    var _this = _possibleConstructorReturn(this, (PlaceHolder.__proto__ || Object.getPrototypeOf(PlaceHolder)).call(this, props));\n\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    return _this;\n  }\n  // shouldComponentUpdate(nextProps) {\n  //   return (\n  //     nextProps.status !== this.props.status ||\n  //     nextProps.focus !== this.props.focus ||\n  //     nextProps.disabled !== this.props.disabled ||\n  //     nextProps.inputValue !== this.props.inputValue ||\n  //     nextProps.maxLengthError !== this.props.maxLengthError ||\n  //     nextProps.placeholder !== this.props.placeholder\n  //     // nextState.error !== this.state.error\n  //   );\n  // }\n\n\n  _createClass(PlaceHolder, [{\n    key: 'render',\n    value: function render() {\n      // const { focus, inputValue, maxLengthError } = this.state;\n      var _props = this.props,\n          placeholder = _props.placeholder,\n          placeholderColor = _props.placeholderColor,\n          themeStyle = _props.themeStyle,\n          status = _props.status,\n          disabled = _props.disabled,\n          errorMessage = _props.errorMessage,\n          floatPlaceholder = _props.floatPlaceholder,\n          hideErrorWhenFocus = _props.hideErrorWhenFocus,\n          focus = _props.focus,\n          inputValue = _props.inputValue,\n          maxLengthError = _props.maxLengthError,\n          validInput = _props.validInput;\n\n      var hasError = status === 'error' && errorMessage;\n      if (!placeholder) return null;\n      if ((focus || inputValue) && !floatPlaceholder) return null;\n      var phStyle = Object.assign({}, themeStyle.placeholder, themeStyle['md-placeholder-small'], !focus && !inputValue && validInput ? themeStyle['md-placeholder'] : {}, floatPlaceholder ? {} : themeStyle['md-placeholder-static']);\n      var phTextStyle = Object.assign({}, themeStyle['placeholder-text'], themeStyle['md-placeholder-small-text'], placeholderColor ? { color: placeholderColor } : {}, !focus && !inputValue ? themeStyle['md-placeholder-text'] : {}, hasError ? themeStyle['md-placeholder-small-text-has-error'] : {}, !inputValue ? themeStyle['md-empty-placeholder-text'] : {}, focus ? themeStyle['md-focus-placeholder-text'] : {}, disabled ? themeStyle['md-disabled-placeholder-text'] : {});\n      if (status === 'error' && (maxLengthError || !hideErrorWhenFocus)) {\n        phTextStyle = Object.assign(phTextStyle, themeStyle['md-placeholder-small-text-has-error']);\n        if (disabled) {\n          phTextStyle = Object.assign(phTextStyle, themeStyle['md-disabled-placeholder-text']);\n        }\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: phStyle },\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          { fixedFont: this.fixedFont, style: phTextStyle },\n          placeholder\n        )\n      );\n    }\n  }]);\n\n  return PlaceHolder;\n}(_rax.PureComponent);\n\nPlaceHolder.contextTypes = {\n  // androidConfigs: PropTypes.any,\n};\n\nexports.default = PlaceHolder;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/mods/placeholder.js?");

/***/ }),

/***/ "./lib/Input/mods/util.js":
/*!********************************!*\
  !*** ./lib/Input/mods/util.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.genEventObject = exports.getText = undefined;\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction getText(event) {\n  var text = void 0;\n  if (_nukeEnv.isWeex) {\n    text = event.value;\n  } else {\n    text = event.target.value;\n  }\n  return text;\n}\n\nfunction genEventObject(originalEvent) {\n  var text = getText(originalEvent);\n  return {\n    nativeEvent: {\n      text: text\n    },\n    value: text,\n    target: originalEvent.target,\n    originalEvent: originalEvent\n  };\n}\nexports.getText = getText;\nexports.genEventObject = genEventObject;\n\n//# sourceURL=webpack:///./lib/Input/mods/util.js?");

/***/ }),

/***/ "./lib/Input/native.js":
/*!*****************************!*\
  !*** ./lib/Input/native.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ./styles/index.js */ \"./lib/Input/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nvar _material = __webpack_require__(/*! ./view/material.js */ \"./lib/Input/view/material.js\");\n\nvar _material2 = _interopRequireDefault(_material);\n\nvar _normal = __webpack_require__(/*! ./view/normal.js */ \"./lib/Input/view/normal.js\");\n\nvar _normal2 = _interopRequireDefault(_normal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Input = function (_Component) {\n  _inherits(Input, _Component);\n\n  function Input(props, context) {\n    _classCallCheck(this, Input);\n\n    var _this = _possibleConstructorReturn(this, (Input.__proto__ || Object.getPrototypeOf(Input)).call(this, props));\n\n    _this.focus = _this.focus.bind(_this);\n    _this.blur = _this.blur.bind(_this);\n    _this.clear = _this.clear.bind(_this);\n    _this.getRef = _this.getRef.bind(_this);\n    _this.getValue = _this.getValue.bind(_this);\n    _this.setNativeFormatRule = _this.setNativeFormatRule.bind(_this);\n\n    _this.materialDesign = context.androidConfigs && context.androidConfigs.materialDesign;\n    if ('materialDesign' in props) {\n      _this.materialDesign = props.materialDesign;\n    }\n    return _this;\n  }\n\n  _createClass(Input, [{\n    key: 'focus',\n    value: function focus() {\n      this.refs.baseinput.focus();\n    }\n  }, {\n    key: 'clear',\n    value: function clear() {\n      this.refs.baseinput.clear();\n    }\n  }, {\n    key: 'getRef',\n    value: function getRef() {\n      return this.refs.baseinput.getRef();\n    }\n  }, {\n    key: 'blur',\n    value: function blur() {\n      this.refs.baseinput.blur();\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      return this.refs.baseinput.getValue();\n    }\n  }, {\n    key: 'setNativeFormatRule',\n    value: function setNativeFormatRule(rules) {\n      return this.refs.baseinput.setNativeFormatRule(rules);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      return this.materialDesign ? (0, _rax.createElement)(_material2.default, _extends({ ref: 'baseinput' }, this.props)) : (0, _rax.createElement)(_normal2.default, _extends({ ref: 'baseinput' }, this.props));\n    }\n  }]);\n\n  return Input;\n}(_rax.Component);\n\nInput.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\nInput.displayName = 'Input';\nvar StyledInput = (0, _nukeThemeProvider.connectStyle)(_styles2.default, { withRef: true })(Input);\n\nexports.default = StyledInput;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/native.js?");

/***/ }),

/***/ "./lib/Input/styles/index.js":
/*!***********************************!*\
  !*** ./lib/Input/styles/index.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Input/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n\n  return {\n    Input: {\n      'input-inner': {\n        flex: 1\n      },\n      'single-wrap': {\n        borderRadius: Variables['single-radius'],\n        borderColor: Variables['single-line-color'],\n        borderWidth: Variables['line-width'],\n        borderStyle: Variables['border-style'],\n        backgroundColor: Variables['bg-color'],\n        height: Variables['single-height'],\n        paddingLeft: Variables['single-padding-left-right'],\n        paddingRight: Variables['single-padding-left-right']\n      },\n      'single-disabled': {\n        borderColor: Variables['disabled-line-color'],\n        backgroundColor: Variables['disabled-bg-color']\n      },\n      'md-single-disabled': {\n        borderColor: Variables['disabled-line-color'],\n        backgroundColor: 'transparent'\n      },\n      'single-disabled-input': {\n        color: Variables['disabled-color']\n      },\n      'multiple-wrap': _extends({}, core.border(Variables['line-width'], Variables.borderStyle, Variables['multiple-borderColor']), {\n        borderRadius: Variables['multiple-radius'],\n        backgroundColor: Variables['bg-color'],\n        height: Variables['multiple-height'],\n        padding: Variables['multiple-padding']\n      }),\n\n      'multiple-disabled': {\n        backgroundColor: Variables['disabled-bg-color']\n      },\n      'md-multiple-disabled': {\n        backgroundColor: 'transparent'\n      },\n      'multiple-disabled-input': {\n        backgroundColor: Variables['disabled-bg-color'],\n        color: Variables['disabled-color']\n      },\n\n      'single-input-ele': {\n        backgroundColor: 'transparent',\n        color: Variables['single-color'],\n        height: Variables['single-height'],\n        lineHeight: Variables['single-height'],\n        fontSize: Variables['single-font-size']\n      },\n\n      readonly: {\n        color: Variables['readonly-color']\n      },\n\n      'multiple-input-ele': {\n        fontSize: Variables['multiple-font-size'],\n        backgroundColor: 'transparent',\n        color: Variables['single-color'],\n        lineHeight: Variables['multiple-line-height']\n      },\n\n      'single-md-wrap': {\n        // position: 'relative',\n        flexDirection: 'column',\n        // justifyContent: 'flex-end',\n        // height:\n        // Variables['md-input-height'] + Variables['md-placeholder-height'],\n        paddingTop: Variables['md-placeholder-small-height'],\n        paddingLeft: 0,\n        paddingRight: 0,\n        borderRadius: Variables['md-border-radius'],\n        borderColor: 'transparent',\n        borderBottomWidth: Variables['md-border-top-width'],\n        borderTopWidth: Variables['md-border-top-width'],\n        borderLeftWidth: Variables['md-border-left-width'],\n        borderRightWidth: Variables['md-border-right-width']\n      },\n      'static-placeholder': {\n        paddingTop: 0\n      },\n      'md-bottom-line': {\n        height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-height']),\n        marginTop: Variables['md-line-margin-tb'],\n        marginBottom: Variables['md-line-margin-tb'],\n        backgroundColor: Variables['md-border-color']\n      },\n      'md-bottom-line-focus': {\n        height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-focus-height']),\n        marginTop: 0,\n        marginBottom: 0,\n\n        backgroundColor: Variables['md-focus-border-color']\n      },\n      'md-bottom-line-error': {\n        height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-error-height']),\n        marginTop: 0,\n        marginBottom: 0,\n        backgroundColor: Variables['md-error-border-color']\n      },\n      'md-bottom-line-disabled': {\n        height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-height']),\n        backgroundColor: 'transparent',\n        borderBottomWidth: Variables['md-line-height'],\n        borderBottomStyle: 'dotted',\n        borderBottomColor: Variables['disabled-line-color']\n      },\n\n      'input-has-clear': {\n        paddingRight: 36\n      },\n      'md-input-ele': {\n        borderWidth: 0,\n        padding: 0,\n        zIndex: 3,\n        flex: 1,\n        backgroundColor: 'transparent',\n        fontSize: Variables['md-input-font-size'],\n        marginTop: Variables['md-input-margin-top'],\n        marginBottom: Variables['md-input-margin-bottom'],\n        height: Variables['md-input-height']\n      },\n      'multiple-md-input-ele': {\n        bordeWidth: 0,\n        flex: 1,\n        padding: 0,\n\n        marginTop: Variables['md-input-margin-top'],\n        marginBottom: Variables['md-input-margin-top'],\n        zIndex: 3,\n        backgroundColor: 'transparent',\n        // bottom: Variables['md-border-bottom-width'],\n        lineHeight: Variables['md-input-height']\n      },\n\n      'md-error': {\n        height: Variables['md-error-height'],\n        justifyContent: 'center'\n      },\n      'md-help': {\n        height: Variables['md-help-height'],\n        justifyContent: 'flex-end',\n        flexDirection: 'row',\n        marginTop: Variables['md-help-margin-top']\n      },\n      'md-error-text': {\n        color: Variables['md-error-text-color'],\n        fontSize: Variables['md-error-text-font-size'],\n        flex: 1,\n        display: 'flex'\n      },\n      'web-normalize': {\n        webkitAppearance: 'none',\n        outline: 'none',\n        boxSizing: 'border-box',\n        width: '100%',\n        border: 'none',\n        resize: 'none',\n        zIndex: 1\n      },\n      'single-count-wrap': {\n        // position: 'absolute',\n        alignSelf: 'flex-end',\n        // bottom: Variables['single-count-bottom'],\n        // right: Variables['single-count-right'],\n        maxWidth: Variables['single-count-min-width']\n        // flexDirection: 'row',\n        // justifyContent: 'flex-end',\n        // backgroundColor: 'red'\n      },\n      'single-count-text': {\n        flex: 1,\n        textAlign: 'right',\n        fontSize: Variables['count-font-size'],\n        color: Variables['count-color']\n      },\n      'count-error': {\n        color: Variables['count-error-color']\n      },\n      'multiple-count-wrap': {\n        alignSelf: 'flex-end',\n        // position: 'absolute',\n        // bottom: Variables['multiple-count-bottom'],\n        // right: Variables['multiple-count-right'],\n        maxWidth: Variables['multiple-count-min-width']\n        // flexDirection: 'row',\n        // justifyContent: 'flex-end',\n        // backgroundColor: 'red'\n      },\n      'multiple-count-text': {\n        flex: 1,\n        textAlign: 'right',\n        fontSize: Variables['count-font-size'],\n        color: Variables['count-color']\n      },\n      'md-single-count-wrap': {\n        alignSelf: 'flex-end',\n        // position: 'absolute',\n        // bottom: Variables['md-single-count-bottom'],\n        // right: Variables['md-single-count-right'],\n        maxWidth: Variables['single-count-min-width']\n      },\n\n      'md-multiple-count-wrap': {\n        alignSelf: 'flex-end',\n        maxWidth: Variables['multiple-count-min-width']\n      },\n      'md-multiple-count-text': {\n        flex: 1,\n        textAlign: 'right',\n        fontSize: Variables['count-font-size'],\n        color: Variables['count-color']\n      },\n      'md-clear': {\n        width: Variables['md-clear-width'],\n        height: Variables['md-clear-height'],\n        position: 'absolute',\n        top: Variables['md-clear-top'],\n        right: Variables['md-clear-right'],\n        zIndex: 4 // for web\n      },\n      'md-icon': {\n        width: Variables['md-icon-width'],\n        height: Variables['md-icon-height'],\n        position: 'absolute',\n        top: Variables['md-icon-top'],\n        right: Variables['md-icon-right'],\n        zIndex: 4 // for web\n      },\n      'clear-image': {\n        width: Variables['clear-width'],\n        height: Variables['clear-height']\n      },\n\n      'md-warning': {\n        width: Variables['md-warning-width'],\n        height: Variables['md-warning-height'],\n        position: 'absolute',\n        bottom: Variables['md-warning-bottom'],\n        right: Variables['md-warning-right']\n      },\n      'single-outter': {\n        // height: Variables['single-height'] + Variables['error-height'],\n      },\n      'multiple-outter': {\n        // height: Variables['single-height'] + Variables['error-height'],\n      },\n      help: {\n        minHeight: Variables['error-height'],\n        justifyContent: 'center'\n      },\n      clear: {\n        width: Variables['clear-width'],\n        height: Variables['clear-height']\n        // position: 'absolute',\n        // top: Variables['clear-top'],\n        // right: Variables['clear-right'],\n        // zIndex: 2, // for web\n      },\n      clearWrap: {\n        width: Variables['icon-width'],\n        height: Variables['icon-height'],\n        position: 'absolute',\n        top: 0,\n        right: Variables['icon-right'],\n        zIndex: 2, // for web\n        justifyContent: 'center'\n      },\n      icon: {\n        width: Variables['icon-width'],\n        height: Variables['icon-height'],\n        position: 'absolute',\n        justifyContent: 'center',\n        // top: Variables['icon-top'],\n        right: Variables['icon-right'],\n        top: 0,\n        // right: 0,\n        zIndex: 2 // for web\n      },\n      'icon-image': {\n        width: Variables['icon-width'],\n        height: Variables['icon-height']\n      },\n      'error-text': {\n        color: Variables['error-text-color'],\n        lineHeight: Variables['error-text-line-height'],\n        // justifyContent: 'center',\n        fontSize: Variables['error-text-font-size'],\n        paddingTop: Variables['error-text-padding-top']\n      },\n      'error-input-wrap': {\n        borderColor: Variables['error-border-color']\n      },\n      'focus-input-wrap': {\n        borderColor: Variables['focus-border-color']\n      },\n      warning: {\n        width: Variables['warning-width'],\n        height: Variables['warning-height'],\n        position: 'absolute',\n        bottom: Variables['warning-bottom'],\n        right: Variables['warning-right']\n      },\n      'multiple-md-wrap': {\n        position: 'relative',\n        flexDirection: 'column',\n        justifyContent: 'flex-end',\n        padding: Variables['multiple-padding'],\n\n        // height:\n        // Variables['md-input-height'] + Variables['md-placeholder-height'],\n        paddingTop: Variables['md-placeholder-height'],\n        // lineHeight: Variables['md-input-height'],\n        paddingLeft: 0,\n        paddingRight: 0,\n        borderRadius: Variables['md-border-radius'],\n        borderColor: 'transparent',\n        borderBottomWidth: Variables['md-border-top-width'],\n        borderTopWidth: Variables['md-border-top-width'],\n        borderLeftWidth: Variables['md-border-left-width'],\n        borderRightWidth: Variables['md-border-right-width'],\n        backgroundColor: Variables['bg-color']\n      },\n      'text-for-height': {\n        position: 'absolute',\n        top: 10,\n        left: 10,\n        fontSize: Variables['multiple-font-size'],\n        lineHeight: 36,\n        // color: 'red',\n        visibility: 'hidden'\n      },\n      'multiple-md-placeholder': {\n        top: Variables['multiple-md-placeholder-top']\n      },\n\n      placeholder: _extends({\n        position: 'absolute',\n        // width: '90%',\n        flexDirection: 'row',\n        left: 0,\n        top: Variables['placeholder-top'],\n        justifyContent: 'flex-start',\n        alignItems: 'center',\n        minWidth: Variables['placeholder-min-width'],\n        height: Variables['placeholder-height']\n      }, core.padding(0, 0)),\n      'placeholder-text': {\n        color: Variables['placeholder-color'],\n        fontSize: Variables['placeholder-font-size']\n      },\n      'md-placeholder': {\n        alignItems: 'center',\n        // lineHeight: Variables['md-placeholder-height'],\n        height: Variables['md-placeholder-height'],\n        top: Variables['md-placeholder-top']\n        // ##  todo (weex 0.17)\n        // transitionProperty: 'top',\n        // transitionDuration: '0.1s',\n        // transitionDelay: '0s',\n        // transitionTimingFunction: 'cubic-bezier(0.25, 0.1, 0.25, 1.0)',\n        // transitionTimingFunction: 'linear',\n      },\n      'md-placeholder-static': {\n        top: Variables['md-input-margin-top']\n      },\n\n      'md-placeholder-text': {\n        color: Variables['md-placeholder-color'],\n        fontSize: Variables['md-placeholder-font-size']\n      },\n      'md-focus-placeholder-text': {\n        color: Variables['md-focus-placeholder-color']\n      },\n      'md-empty-placeholder-text': {\n        color: Variables['md-empty-placeholder-color']\n      },\n      'md-disabled-placeholder-text': {\n        color: Variables['md-disabled-placeholder-color']\n      },\n      'md-placeholder-small': {\n        // lineHeight: Variables['md-placeholder-small-height'],\n        height: Variables['md-placeholder-small-height'],\n        // to avoid cut when placeholder language is thai\n        top: Variables['md-placeholder-small-top'] // ##  todo (weex 0.17)\n        // transitionProperty: 'top',\n        // transitionDuration: '0.1s',\n        // transitionDelay: '0s',\n        // transitionTimingFunction: 'linear',\n        // transitionTimingFunction: 'cubic-bezier(0.25, 0.1, 0.25, 1.0)',\n      },\n\n      'md-placeholder-small-text': {\n        paddingTop: Variables['md-placeholder-small-padding-top'],\n        fontSize: Variables['md-placeholder-small-font-size']\n      },\n      'md-placeholder-small-text-has-error': {\n        color: Variables['md-error-placeholder-color']\n      }\n    }\n  };\n}\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/Input/styles/index.js?");

/***/ }),

/***/ "./lib/Input/styles/variable.js":
/*!**************************************!*\
  !*** ./lib/Input/styles/variable.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.Input || {};\n  /**\n   * 输入框\n   * @namespace component\n   * @property module input\n   * @property tag Input\n   * @property category component\n   */\n  var inputVariables = {\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'bg-color': core['color-white'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'disabled-bg-color': core['color-fill1-3'],\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'disabled-line-color': core['color-line1-1'],\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'disabled-color': core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'border-color': core['color-line1-2'],\n    /**\n     * border-style\n     * @property namespace statement/normal\n     */\n    'border-style': core['line-solid'],\n    /**\n     * border\n     * @property namespace size/border\n     */\n    'line-width': core['line-1'],\n    /**\n     * height\n     * @property namespace size/bounding/input-ele\n     */\n    'single-height': core['s-10'],\n    /**\n     * text\n     * @property namespace size/text/input-ele\n     */\n    'single-font-size': core['font-size-body-3'],\n    /**\n     * text\n     * @property namespace statement/readonly/input-ele\n     */\n    'single-readonly-color': core['color-text1-2'],\n    /**\n     * text\n     * @property namespace statement/placeholder-large\n     */\n    'placeholder-color': core['color-text1-2'],\n\n    /**\n     * text\n     * @property namespace size/bounding/placeholder-large\n     */\n    'placeholder-font-size': core['font-size-subhead'],\n    /**\n     * height\n     * @property namespace size/bounding/placeholder-large\n     */\n    'placeholder-height': core['s-6'],\n    /**\n     * min-width\n     * @property namespace size/bounding/placeholder-large\n     */\n    'placeholder-min-width': 200,\n    /**\n     * top\n     * @property namespace size/bounding/placeholder-large\n     */\n    'placeholder-top': 10,\n    /**\n     * padding(l, r)\n     * @property namespace size/bounding\n     */\n    'single-padding-left-right': 20,\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'single-radius': core['corner-1'],\n    /**\n     * text\n     * @property namespace statement/normal\n     */\n    'single-color': core['color-text1-4'],\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'single-line-color': core['color-line1-2'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'multiple-height': core['s-20'],\n    /**\n     * line-height\n     * @property namespace size/text/input-ele\n     */\n    'multiple-line-height': core['s-4'],\n    /**\n     * text\n     * @property namespace size/text\n     */\n    'multiple-font-size': core['font-size-body-3'],\n    /**\n     * padding\n     * @property namespace size/bounding\n     */\n    'multiple-inset-padding': core['s-1'],\n    /**\n     * text\n     * @property namespace statement\n     */\n    'multiple-inset-color': core['color-text1-4'],\n    /**\n     * padding(l, r)\n     * @property namespace size/bounding\n     */\n    'multiple-padding': core['s-1'],\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'multiple-radius': core['corner-0'],\n    /**\n     * text\n     * @property namespace statement\n     */\n    'multiple-color': core['color-text1-4'],\n    /**\n     * border\n     * @property namespace statement\n     */\n    'multiple-border-color': core['color-line1-2'],\n    /**\n     * bottom\n     * @property namespace size/count\n     */\n    'single-count-bottom': 14,\n    /**\n     * right\n     * @property namespace size/count\n     */\n    'single-count-right': 10,\n    /**\n     * min-width\n     * @property namespace size/count\n     */\n    'single-count-min-width': 200,\n    /**\n     * text\n     * @property namespace statement/count\n     */\n    'count-color': core['color-text1-1'],\n    /**\n     * text\n     * @property namespace statement/count\n     */\n    'count-font-size': core['font-size-caption'],\n    /**\n     * text\n     * @property namespace statement/count\n     */\n    'count-error-color': core['color-error-3'],\n    /**\n     * bottom\n     * @property namespace size/count\n     */\n    'multiple-count-bottom': 16,\n    /**\n     * right\n     * @property namespace size/count\n     */\n    'multiple-count-right': 10,\n    /**\n     * min-width\n     * @property namespace size/count\n     */\n    'multiple-count-min-width': 200,\n    /**\n     * height\n     * @property namespace size/error\n     */\n    'error-height': core['s-6'],\n    /**\n     * text\n     * @property namespace statement/error\n     */\n    'error-text-color': core['color-error-3'],\n    /**\n     * lineHeight\n     * @property namespace size/text/error\n     */\n    'error-text-line-height': core['s-6'],\n    /**\n     * text\n     * @property namespace size/error\n     */\n    'error-text-font-size': core['font-size-caption'],\n    /**\n     * padding(t)\n     * @property namespace size/error\n     */\n    'error-text-padding-top': 6,\n    /**\n     * border\n     * @property namespace statement/error\n     */\n    'error-border-color': core['color-error-3'],\n    /**\n     * border\n     * @property namespace statement/focus\n     */\n    'focus-border-color': core['color-brand1-6'],\n    /**\n     * width\n     * @property namespace size/clear\n     */\n    'clear-width': 34,\n    /**\n     * height\n     * @property namespace size/clear\n     */\n    'clear-height': 34,\n    /**\n     * top\n     * @property namespace size/clear\n     */\n    'clear-top': 26,\n    /**\n     * right\n     * @property namespace size/clear\n     */\n    'clear-right': 20,\n    /**\n     * width\n     * @property namespace size/icon\n     */\n    'icon-width': 34,\n    /**\n     * height\n     * @property namespace size/icon\n     */\n    'icon-height': 34,\n    /**\n     * top\n     * @property namespace size/icon\n     */\n    'icon-top': 26,\n    /**\n     * right\n     * @property namespace size/icon\n     */\n    'icon-right': 20,\n    /**\n     * width\n     * @property namespace size/warning\n     */\n    'warning-width': 38,\n    /**\n     * height\n     * @property namespace size/warning\n     */\n    'warning-height': 38,\n    /**\n     * bottom\n     * @property namespace size/warning\n     */\n    'warning-bottom': 6,\n    /**\n     * right\n     * @property namespace size/warning\n     */\n    'warning-right': 4,\n    /**\n     * text\n     * @property namespace statement/focus/placeholder-large\n     */\n    'md-focus-placeholder-color': core['color-brand1-6'],\n    /**\n     * text\n     * @property namespace statement/empty/placeholder-large\n     */\n    'md-empty-placeholder-color': core['color-text1-2'],\n    /**\n     * text\n     * @property namespace statement/error/placeholder-large\n     */\n    'md-error-placeholder-color': core['color-error-3'],\n    /**\n     * text\n     * @property namespace statement/disabled/placeholder\n     */\n    'md-disabled-placeholder-color': core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement/normal/placeholder-large\n     */\n    'md-border-color': core['color-line1-2'],\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'md-border-radius': core['corner-0'],\n    /**\n     * border\n     * @property namespace statement/focus/bottom-line\n     */\n    'md-focus-border-color': core['color-brand1-6'],\n    /**\n     * border\n     * @property namespace statement/error/bottom-line\n     */\n    'md-error-border-color': core['color-error-3'],\n    /**\n     * border-top\n     * @property namespace statement/normal\n     */\n    'md-border-top-width': 0,\n    /**\n     * height\n     * @property namespace size/bounding/bottom-line\n     */\n    'md-line-height': core['line-2'],\n    /**\n     * margin(t,b)\n     * @property namespace size/bounding/bottom-line\n     */\n    'md-line-margin-tb': core['line-1'],\n    /**\n     * height\n     * @property namespace size/bounding/bottom-line\n     */\n    'md-line-focus-height': core['line-3'],\n    /**\n     * height\n     * @property namespace size/bounding/bottom-line\n     */\n    'md-line-error-height': core['line-3'],\n    /**\n     * border-left\n     * @property namespace size/bounding\n     */\n    'md-border-left-width': 0,\n    /**\n     * border-right\n     * @property namespace size/bounding\n     */\n    'md-border-right-width': 0,\n    /**\n     * height\n     * @property namespace size/bounding/placeholder-large\n     */\n    'md-placeholder-height': core['s-5'],\n    /**\n     * height\n     * @property namespace size/bounding/placeholder-small\n     */\n    'md-placeholder-small-height': 36,\n    /**\n     * padding(t)\n     * @property namespace size/bounding/placeholder-small\n     */\n    'md-placeholder-small-padding-top': 6,\n    /**\n     * text\n     * @property namespace size/text/placeholder-large\n     */\n    'md-placeholder-font-size': core['font-size-body-3'],\n    /**\n     * text\n     * @property namespace statement/placeholder-large\n     */\n    'md-placeholder-color': core['color-text1-1'],\n    /**\n     * text\n     * @property namespace size/text/placeholder-small\n     */\n    'md-placeholder-small-font-size': core['font-size-caption'],\n    /**\n     * height\n     * @property namespace size/bounding/input-ele\n     */\n    'md-input-height': 40,\n    /**\n     * margin(t)\n     * @property namespace size/bounding/input-ele\n     */\n    'md-input-margin-top': 6,\n    /**\n     * text\n     * @property namespace size/text/input-ele\n     */\n    'md-input-font-size': core['font-size-body-3'],\n    /**\n     * margin(b)\n     * @property namespace size/bounding/input-ele\n     */\n    'md-input-margin-bottom': 6,\n    /**\n     * height\n     * @property namespace size/bounding/help\n     */\n    'md-help-height': 28,\n    /**\n     * margin(t)\n     * @property namespace size/bounding/help\n     */\n    'md-help-margin-top': core['s-1'],\n    /**\n     * height\n     * @property namespace size/error\n     */\n    'md-error-height': 28,\n    /**\n     * text\n     * @property namespace statement/error\n     */\n    'md-error-text-color': core['color-error-3'],\n    /**\n     * text\n     * @property namespace size/text/error\n     */\n    'md-error-text-font-size': core['font-size-caption'],\n    /**\n     * bottom\n     * @property namespace size/count\n     */\n    'md-single-count-bottom': 10,\n    /**\n     * right\n     * @property namespace size/count\n     */\n    'md-single-count-right': 10,\n    /**\n     * width\n     * @property namespace size/clear\n     */\n    'md-clear-width': 32,\n    /**\n     * height\n     * @property namespace size/clear\n     */\n    'md-clear-height': 32,\n    /**\n     * top\n     * @property namespace size/clear\n     */\n    'md-clear-top': 40,\n    /**\n     * right\n     * @property namespace size/clear\n     */\n    'md-clear-right': 10,\n    /**\n     * width\n     * @property namespace size/icon\n     */\n    'md-icon-width': 32,\n    /**\n     * height\n     * @property namespace size/icon\n     */\n    'md-icon-height': 32,\n    /**\n     * top\n     * @property namespace size/icon\n     */\n    'md-icon-top': 40,\n    /**\n     * right\n     * @property namespace size/icon\n     */\n    'md-icon-right': 10,\n    /**\n     * width\n     * @property namespace size/warning\n     */\n    'md-warning-width': 36,\n    /**\n     * height\n     * @property namespace size/warning\n     */\n    'md-warning-height': 36,\n    /**\n     * bottom\n     * @property namespace size/warning\n     */\n    'md-warning-bottom': 6,\n    /**\n     * right\n     * @property namespace size/warning\n     */\n    'md-warning-right': 10,\n    /**\n     * height\n     * @property namespace size/bouding\n     */\n    'md-multiple-height': 160,\n\n    /**\n     * top\n     * @property namespace size/bounding/placeholder-small\n     */\n    'md-placeholder-small-top': 0,\n    /**\n     * top\n     * @property namespace size/bounding/placeholder-large\n     */\n    'multiple-md-placeholder-top': 10\n  };\n  inputVariables['md-placeholder-top'] = inputVariables['md-placeholder-small-height'] + inputVariables['md-input-margin-top'];\n  // should alway use var statement to carray a assigngg\n  var variable = Object.assign(inputVariables, ComponentCustomStyle);\n  return variable;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Input/styles/variable.js?");

/***/ }),

/***/ "./lib/Input/uitls.js":
/*!****************************!*\
  !*** ./lib/Input/uitls.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/**\n * @param {dom node} element\n * check whether the dom node's input is valid [ work in h5]\n * number键盘输入非合法的时候value为空,此时需要校验是否合法。\n * relative issue https://github.com/angular/angular.js/issues/2144\n */\nexports.isValidInput = function (element) {\n  if (element.validity && !element.validity.valid) {\n    // if html5 validation says it's bad: it's bad\n    return false;\n  }\n  // Fallback to browsers that don't yet support html5 input validation\n  // Or we maybe want to perform additional validations\n  var value = element.value;\n  if (value != null) return true;\n  return false;\n};\n\nexports.isValidNumber = function (value) {\n  var reg = /^[-+]?[0-9]*\\.?[0-9]+$/;\n  return reg.test(value);\n};\n\n//# sourceURL=webpack:///./lib/Input/uitls.js?");

/***/ }),

/***/ "./lib/Input/view/material.js":
/*!************************************!*\
  !*** ./lib/Input/view/material.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeImage = __webpack_require__(/*! ../../Image/index.js */ \"./lib/Image/index.js\");\n\nvar _nukeImage2 = _interopRequireDefault(_nukeImage);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _util = __webpack_require__(/*! ../mods/util.js */ \"./lib/Input/mods/util.js\");\n\nvar _inheritKeys = __webpack_require__(/*! ../mods/inherit-keys.js */ \"./lib/Input/mods/inherit-keys.js\");\n\nvar _inheritKeys2 = _interopRequireDefault(_inheritKeys);\n\nvar _nukeBaseInput = __webpack_require__(/*! ../../BaseInput/index.js */ \"./lib/BaseInput/index.js\");\n\nvar _nukeBaseInput2 = _interopRequireDefault(_nukeBaseInput);\n\nvar _image = __webpack_require__(/*! ../mods/image.js */ \"./lib/Input/mods/image.js\");\n\nvar _image2 = _interopRequireDefault(_image);\n\nvar _placeholder = __webpack_require__(/*! ../mods/placeholder.js */ \"./lib/Input/mods/placeholder.js\");\n\nvar _placeholder2 = _interopRequireDefault(_placeholder);\n\nvar _count = __webpack_require__(/*! ../mods/count.js */ \"./lib/Input/mods/count.js\");\n\nvar _count2 = _interopRequireDefault(_count);\n\nvar _uitls = __webpack_require__(/*! ../uitls.js */ \"./lib/Input/uitls.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar textlineheight = 36;\n\nvar Input = function (_Component) {\n  _inherits(Input, _Component);\n\n  function Input(props, context) {\n    _classCallCheck(this, Input);\n\n    var _this = _possibleConstructorReturn(this, (Input.__proto__ || Object.getPrototypeOf(Input)).call(this, props));\n\n    _this.validInput = true;\n    var value = null;\n    if ('value' in props) {\n      value = props.value;\n    } else if ('defaultValue' in props) {\n      value = props.defaultValue;\n    }\n    var count = value && value.length || 0;\n    _this.state = {\n      focus: false,\n      value: value,\n      lines: 1,\n\n      inputValue: value,\n      count: count,\n      maxLengthError: props.maxLength ? count > props.maxLength : false\n    };\n    _this.materialDesign = true;\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    _this.inputHandler = _this.inputHandler.bind(_this);\n    _this.focusHandler = _this.focusHandler.bind(_this);\n    _this.blurHandler = _this.blurHandler.bind(_this);\n    _this.clearHandler = _this.clearHandler.bind(_this);\n    _this.changeHandler = _this.changeHandler.bind(_this);\n    _this.returnHandler = _this.returnHandler.bind(_this);\n    _this.getRef = _this.getRef.bind(_this);\n    _this.getValue = _this.getValue.bind(_this);\n    _this.focus = _this.focus.bind(_this);\n    _this.blur = _this.blur.bind(_this);\n    _this.clear = _this.clear.bind(_this);\n    _this.setNativeFormatRule = _this.setNativeFormatRule.bind(_this);\n    return _this;\n  }\n\n  _createClass(Input, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      var multiple = this.props.multiple;\n\n      if (_nukeEnv.isWeb && multiple) {\n        var textarea = (0, _rax.findDOMNode)(this.refs.baseinput);\n        this.minHeight = textarea.scrollHeight; // 18\n      }\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      if ('value' in nextProps && (typeof nextProps.value === 'string' || typeof nextProps.value === 'number') && nextProps.value !== this.state.inputValue) {\n        var type = this.props.type;\n        // if (type === 'number' && !isValidNumber(nextProps.value)) return;\n\n        this.setState({\n          value: nextProps.value,\n          inputValue: nextProps.value,\n          count: nextProps.value.length,\n          maxLengthError: nextProps.value.length > this.props.maxLength\n        });\n      }\n    }\n  }, {\n    key: 'getTextRect',\n    value: function getTextRect(ref) {\n      return new Promise(function (resolve, reject) {\n        var domEl = (0, _rax.findDOMNode)(ref);\n        if (domEl) {\n          if (_nukeEnv.isWeex) {\n            try {\n              var dom = __webpack_require__(/*! @weex-module/dom */ \"@weex-module/dom\");\n              dom.getComponentRect(domEl.ref, function (e) {\n                if (e && e.size && e.size.height) {\n                  resolve(e.size.height.toFixed());\n                } else {\n                  reject(0);\n                }\n              });\n            } catch (e) {\n              reject(0);\n            }\n          }\n        } else {\n          reject(0);\n        }\n      });\n    }\n  }, {\n    key: 'setTextareaHeight',\n    value: function setTextareaHeight(lines) {\n      this.setState({\n        lines: lines\n      });\n    }\n  }, {\n    key: 'getHideElement',\n    value: function getHideElement(hiddenStyle) {\n      var _this2 = this;\n\n      var _props = this.props,\n          multiple = _props.multiple,\n          maxRows = _props.maxRows;\n\n      if (!multiple || _nukeEnv.isWeb) return null;\n      return (0, _rax.createElement)(\n        _nukeText2.default,\n        {\n          fixedFont: this.fixedFont,\n          ref: function ref(n) {\n            _this2.multipleText = n;\n          },\n          style: hiddenStyle,\n          numberOfLines: maxRows\n        },\n        this.state.inputValue\n      );\n    }\n  }, {\n    key: 'clearHandler',\n    value: function clearHandler(e) {\n      this.setState({\n        value: this.state.inputValue\n      });\n      this.setState({\n        value: '',\n        inputValue: '',\n        count: 0,\n        maxLengthError: false\n      });\n      this.focus();\n      this.trigger('onClear', '');\n    }\n  }, {\n    key: 'blur',\n    value: function blur() {\n      this.refs.baseinput.blur();\n    }\n  }, {\n    key: 'focus',\n    value: function focus() {\n      this.refs.baseinput.focus();\n    }\n  }, {\n    key: 'getRef',\n    value: function getRef() {\n      return this.refs.baseinput.getRef();\n    }\n  }, {\n    key: 'setNativeFormatRule',\n    value: function setNativeFormatRule(rules) {\n      return this.refs.baseinput.setNativeFormatRule(rules);\n    }\n  }, {\n    key: 'clear',\n    value: function clear() {\n      this.setState({\n        value: '',\n        inputValue: '',\n        count: 0,\n        maxLengthError: false\n      });\n      this.trigger('onClear', '');\n    }\n  }, {\n    key: 'trigger',\n    value: function trigger(fn) {\n      if (typeof fn === 'string') fn = this.props[fn];\n      if (!(typeof fn === 'function')) return;\n\n      for (var _len = arguments.length, attrs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        attrs[_key - 1] = arguments[_key];\n      }\n\n      return fn.apply(this, attrs);\n    }\n  }, {\n    key: 'focusHandler',\n    value: function focusHandler(e) {\n      this.setState({\n        focus: true\n      });\n      this.trigger('onFocus', e);\n    }\n  }, {\n    key: 'blurHandler',\n    value: function blurHandler(e) {\n      var type = this.props.type;\n      // hack For type number useage invalid input can't get any value\n\n      if (type === 'number' && _nukeEnv.isWeb) {\n        this.validInput = (0, _uitls.isValidInput)(e.srcElement);\n      }\n      this.setState({\n        focus: false\n      });\n      this.trigger('onBlur', e);\n    }\n  }, {\n    key: 'returnHandler',\n    value: function returnHandler(e) {\n      this.trigger('onReturn', e);\n    }\n  }, {\n    key: 'inputHandler',\n    value: function inputHandler(text, eventObj) {\n      var _props2 = this.props,\n          multiple = _props2.multiple,\n          maxLength = _props2.maxLength;\n\n      this.setState({\n        inputValue: text,\n        count: text.length,\n        maxLengthError: maxLength ? text.length > maxLength : false\n      });\n\n      this.trigger('onInput', eventObj);\n    }\n  }, {\n    key: 'changeHandler',\n    value: function changeHandler(text, eventObj) {\n      var _props3 = this.props,\n          type = _props3.type,\n          maxLength = _props3.maxLength;\n\n      if (type === 'date' || type === 'time') {\n        this.setState({\n          inputValue: text\n        });\n      } else {\n        this.setState({\n          value: text,\n          inputValue: text,\n          count: text.length,\n          maxLengthError: text.length > maxLength\n        });\n      }\n      this.trigger('onChange', text, eventObj);\n    }\n  }, {\n    key: 'renderPlaceholder',\n    value: function renderPlaceholder() {\n      var _state = this.state,\n          focus = _state.focus,\n          inputValue = _state.inputValue,\n          maxLengthError = _state.maxLengthError;\n      var _props4 = this.props,\n          placeholder = _props4.placeholder,\n          placeholderColor = _props4.placeholderColor,\n          themeStyle = _props4.themeStyle,\n          status = _props4.status,\n          disabled = _props4.disabled,\n          errorMessage = _props4.errorMessage,\n          floatPlaceholder = _props4.floatPlaceholder,\n          hideErrorWhenFocus = _props4.hideErrorWhenFocus;\n\n\n      var placeholderAttrs = {\n        placeholder: placeholder,\n        placeholderColor: placeholderColor,\n        themeStyle: themeStyle,\n        status: status,\n        disabled: disabled,\n        errorMessage: errorMessage,\n        floatPlaceholder: floatPlaceholder,\n        hideErrorWhenFocus: hideErrorWhenFocus,\n        focus: focus,\n        inputValue: inputValue,\n        validInput: this.validInput,\n        maxLengthError: maxLengthError,\n        fixedFont: this.fixedFont\n      };\n      return (0, _rax.createElement)(_placeholder2.default, placeholderAttrs);\n    }\n  }, {\n    key: 'renderCount',\n    value: function renderCount() {\n      var _props5 = this.props,\n          maxLength = _props5.maxLength,\n          multiple = _props5.multiple,\n          renderCount = _props5.renderCount,\n          themeStyle = _props5.themeStyle;\n\n      if (!maxLength || !renderCount) return null;\n\n      var count = this.state.count;\n\n      var countAttrs = {\n        maxLength: maxLength,\n        multiple: multiple,\n        renderCount: renderCount,\n        count: count,\n        themeStyle: themeStyle,\n        fixedFont: this.fixedFont\n      };\n      return (0, _rax.createElement)(_count2.default, countAttrs);\n    }\n  }, {\n    key: 'renderClear',\n    value: function renderClear(styles) {\n      return (0, _rax.createElement)(_nukeImage2.default, { source: { uri: _image2.default.clear }, onClick: this.clearHandler, style: styles['md-clear'] });\n    }\n  }, {\n    key: 'renderCustomIcon',\n    value: function renderCustomIcon(styles) {\n      var _props$icon = this.props.icon,\n          icon = _props$icon === undefined ? {} : _props$icon;\n      var uri = icon.uri,\n          _icon$onPress = icon.onPress,\n          onPress = _icon$onPress === undefined ? function () {} : _icon$onPress,\n          _icon$style = icon.style,\n          style = _icon$style === undefined ? {} : _icon$style;\n\n      if (!uri) return null;\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [styles['md-icon'], style], onClick: onPress },\n        (0, _rax.createElement)(_nukeImage2.default, { source: { uri: uri }, style: [styles['icon-image'], style] })\n      );\n    }\n  }, {\n    key: 'renderHelpLine',\n    value: function renderHelpLine(styles) {\n      var _props6 = this.props,\n          status = _props6.status,\n          errorMessage = _props6.errorMessage,\n          autoAdjustHeight = _props6.autoAdjustHeight,\n          _props6$hideErrorWhen = _props6.hideErrorWhenFocus,\n          hideErrorWhenFocus = _props6$hideErrorWhen === undefined ? false : _props6$hideErrorWhen,\n          renderCount = _props6.renderCount;\n      var _state2 = this.state,\n          focus = _state2.focus,\n          maxLengthError = _state2.maxLengthError;\n\n      var renderErrorMessage = void 0;\n      if (hideErrorWhenFocus) {\n        renderErrorMessage = !focus && status === 'error' && errorMessage;\n      } else {\n        renderErrorMessage = status === 'error' && errorMessage;\n      }\n\n      if (!renderErrorMessage && !renderCount && autoAdjustHeight) return null;\n      var errorMessageDom = void 0;\n      if (errorMessage) {\n        if (typeof errorMessage === 'string') {\n          errorMessageDom = (0, _rax.createElement)(\n            _nukeText2.default,\n            { fixedFont: this.fixedFont, style: styles['md-error-text'] },\n            errorMessage\n          );\n        } else {\n          errorMessageDom = (0, _rax.cloneElement)(errorMessage, {\n            style: errorMessage.props.style ? Object.assign({}, styles['md-error-text'], errorMessage.props.style) : styles['md-error-text']\n          });\n        }\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { 'data-role': 'md-help', style: styles['md-help'] },\n        renderErrorMessage ? errorMessageDom : null,\n        this.renderCount()\n      );\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      return this.refs.baseinput.getValue();\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props7 = this.props,\n          defaultValue = _props7.defaultValue,\n          onChange = _props7.onChange,\n          onFocus = _props7.onFocus,\n          onInput = _props7.onInput,\n          onBlur = _props7.onBlur,\n          placeholder = _props7.placeholder,\n          renderCount = _props7.renderCount,\n          readOnly = _props7.readOnly,\n          disabled = _props7.disabled,\n          _props7$style = _props7.style,\n          style = _props7$style === undefined ? {} : _props7$style,\n          maxLength = _props7.maxLength,\n          multiple = _props7.multiple,\n          inputStyle = _props7.inputStyle,\n          returnKeyType = _props7.returnKeyType,\n          hasClear = _props7.hasClear,\n          rows = _props7.rows,\n          type = _props7.type,\n          icon = _props7.icon,\n          autoAdjustHeight = _props7.autoAdjustHeight,\n          status = _props7.status,\n          floatPlaceholder = _props7.floatPlaceholder,\n          hideErrorWhenFocus = _props7.hideErrorWhenFocus,\n          errorMessage = _props7.errorMessage,\n          themeStyle = _props7.themeStyle,\n          maxRows = _props7.maxRows,\n          others = _objectWithoutProperties(_props7, ['defaultValue', 'onChange', 'onFocus', 'onInput', 'onBlur', 'placeholder', 'renderCount', 'readOnly', 'disabled', 'style', 'maxLength', 'multiple', 'inputStyle', 'returnKeyType', 'hasClear', 'rows', 'type', 'icon', 'autoAdjustHeight', 'status', 'floatPlaceholder', 'hideErrorWhenFocus', 'errorMessage', 'themeStyle', 'maxRows']);\n\n      var styles = this.props.themeStyle;\n      var _state3 = this.state,\n          focus = _state3.focus,\n          value = _state3.value,\n          lines = _state3.lines,\n          maxLengthError = _state3.maxLengthError;\n\n      var mode = multiple ? 'multiple' : 'single';\n      var MDWrapperStyle = Object.assign({}, styles['input-wrap'], styles[mode + '-md-wrap'], readOnly ? styles.readonly : {}, floatPlaceholder ? {} : styles['static-placeholder'], disabled ? styles['md-' + mode + '-disabled'] : {}, style);\n\n      var mdLineStyle = Object.assign({}, styles['md-bottom-line'], status === 'error' ? styles['md-bottom-line-error'] : {}, focus ? styles['md-bottom-line-focus'] : {});\n      if (status === 'error' && !hideErrorWhenFocus || maxLengthError) {\n        mdLineStyle = Object.assign(mdLineStyle, styles['md-bottom-line-error']);\n      }\n\n      if (disabled) {\n        mdLineStyle = Object.assign(mdLineStyle, styles['md-bottom-line-disabled']);\n      }\n      var inputElementAttrs = {\n        onInput: this.inputHandler,\n        onFocus: this.focusHandler,\n        onBlur: this.blurHandler,\n        onChange: this.changeHandler,\n        onReturn: this.returnHandler,\n        onResize: this.resizeHandler,\n        multiple: multiple,\n        disabled: disabled,\n        readOnly: readOnly,\n        returnKeyType: returnKeyType,\n        maxLength: maxLength,\n        placeholder: '',\n        value: typeof value !== null ? value : null,\n        type: type,\n        style: multiple ? styles['multiple-md-input-ele'] : styles['md-input-ele']\n      };\n\n      if (_nukeEnv.isWeb) {\n        if ('readOnly' in inputElementAttrs && !inputElementAttrs.readOnly) {\n          delete inputElementAttrs.readOnly;\n        }\n      }\n\n      if (multiple) {\n        if (_nukeEnv.isWeb) {\n          inputElementAttrs.rows = 1;\n        } else {\n          // maxRows\n          // inputElementAttrs.rows = lines;\n          inputElementAttrs.style.height = maxRows * textlineheight;\n          // not adjust maxRows\n          inputElementAttrs.rows = maxRows;\n        }\n      }\n\n      _inheritKeys2.default.map(function (item) {\n        if (styles[item]) {\n          inputElementAttrs.style[item] = styles[item];\n        }\n      });\n      var multipleTextStyle = Object.assign({}, inputElementAttrs.style, styles['text-for-height']\n      // {lineHeight: textlineheight }\n      );\n      if ('height' in multipleTextStyle) {\n        delete multipleTextStyle.height;\n      }\n      var inputElestyle = inputElementAttrs.style;\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { 'data-role': 'md-wrap', style: MDWrapperStyle },\n        this.renderPlaceholder(),\n        this.getHideElement(multipleTextStyle),\n        (0, _rax.createElement)(_nukeBaseInput2.default, _extends({ fixedFont: this.fixedFont, ref: 'baseinput' }, others, inputElementAttrs)),\n        (0, _rax.createElement)(_nukeView2.default, { 'data-role': 'md-line', style: mdLineStyle }),\n        this.renderHelpLine(styles),\n        hasClear ? this.renderClear(styles) : null,\n        !hasClear ? this.renderCustomIcon(styles) : null\n      );\n    }\n  }]);\n\n  return Input;\n}(_rax.Component);\n\nInput.propTypes = {\n  defaultValue: _rax.PropTypes.any,\n  onFocus: _rax.PropTypes.func,\n  onInput: _rax.PropTypes.func,\n  onBlur: _rax.PropTypes.func,\n  placeholder: _rax.PropTypes.string,\n  readOnly: _rax.PropTypes.boolean,\n  disabled: _rax.PropTypes.boolean,\n  style: _rax.PropTypes.any,\n  maxLength: _rax.PropTypes.number,\n  multiple: _rax.PropTypes.boolean,\n  inputStyle: _rax.PropTypes.any,\n  returnKeyType: _rax.PropTypes.any,\n  hasClear: _rax.PropTypes.boolean,\n  rows: _rax.PropTypes.number,\n  maxRows: _rax.PropTypes.number,\n  type: _rax.PropTypes.oneOf(['text', 'url', 'password', 'tel', 'date', 'time', 'email']),\n  status: _rax.PropTypes.oneOf(['success', 'error']),\n  errorMessage: _rax.PropTypes.string,\n  placeholderColor: _rax.PropTypes.string,\n  value: _rax.PropTypes.string,\n  themeStyle: _rax.PropTypes.any,\n  renderCount: _rax.PropTypes.boolean,\n  floatPlaceholder: _rax.PropTypes.boolean,\n  hideErrorWhenFocus: _rax.PropTypes.boolean,\n  fixedFont: _rax.PropTypes.boolean\n};\nInput.defaultProps = {\n  onFocus: function onFocus() {},\n  onInput: function onInput() {},\n  onBlur: function onBlur() {},\n  placeholder: '',\n  readOnly: false,\n  disabled: false,\n  style: {},\n  multiple: false,\n  inputStyle: {},\n  themeStyle: {},\n  hasClear: false,\n  type: 'text',\n  rows: 1,\n  maxRows: 3,\n  status: 'success',\n  renderCount: false,\n  placeholderColor: '#999999',\n  floatPlaceholder: true,\n  hideErrorWhenFocus: true,\n  fixedFont: true\n};\nInput.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\nexports.default = Input;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/view/material.js?");

/***/ }),

/***/ "./lib/Input/view/normal.js":
/*!**********************************!*\
  !*** ./lib/Input/view/normal.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeImage = __webpack_require__(/*! ../../Image/index.js */ \"./lib/Image/index.js\");\n\nvar _nukeImage2 = _interopRequireDefault(_nukeImage);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _nukeBaseInput = __webpack_require__(/*! ../../BaseInput/index.js */ \"./lib/BaseInput/index.js\");\n\nvar _nukeBaseInput2 = _interopRequireDefault(_nukeBaseInput);\n\nvar _inheritKeys = __webpack_require__(/*! ../mods/inherit-keys.js */ \"./lib/Input/mods/inherit-keys.js\");\n\nvar _inheritKeys2 = _interopRequireDefault(_inheritKeys);\n\nvar _image = __webpack_require__(/*! ../mods/image.js */ \"./lib/Input/mods/image.js\");\n\nvar _image2 = _interopRequireDefault(_image);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Input = function (_Component) {\n  _inherits(Input, _Component);\n\n  function Input(props, context) {\n    _classCallCheck(this, Input);\n\n    var _this = _possibleConstructorReturn(this, (Input.__proto__ || Object.getPrototypeOf(Input)).call(this, props));\n\n    var value = null;\n    if ('value' in props) {\n      value = props.value;\n    } else if ('defaultValue' in props) {\n      value = props.defaultValue;\n    }\n    var count = value && value.length || 0;\n    _this.state = {\n      value: value,\n      inputValue: value,\n      count: value && value.length || 0,\n      maxLengthError: count > props.maxLength\n    };\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n\n    _this.inputHandler = _this.inputHandler.bind(_this);\n    _this.changeHander = _this.changeHander.bind(_this);\n    _this.clearHandler = _this.clearHandler.bind(_this);\n    _this.focusHandler = _this.focusHandler.bind(_this);\n    _this.blurHandler = _this.blurHandler.bind(_this);\n    _this.getRef = _this.getRef.bind(_this);\n    _this.getValue = _this.getValue.bind(_this);\n    _this.focus = _this.focus.bind(_this);\n    _this.blur = _this.blur.bind(_this);\n    _this.clear = _this.clear.bind(_this);\n    return _this;\n  }\n\n  _createClass(Input, [{\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      if ('value' in nextProps && (typeof nextProps.value === 'string' || typeof nextProps.value === 'number') && nextProps.value !== this.state.inputValue) {\n        this.setState({\n          value: nextProps.value,\n          inputValue: nextProps.value,\n          count: nextProps.value.length,\n          maxLengthError: nextProps.value.length > this.props.maxLength\n        });\n      }\n    }\n  }, {\n    key: 'inputHandler',\n    value: function inputHandler(text, eventObj) {\n      var maxLength = this.props.maxLength;\n\n      this.setState({\n        // value: text,\n        inputValue: text,\n        count: text.length,\n        maxLengthError: text.length > maxLength\n      });\n      this.trigger('onInput', eventObj);\n    }\n  }, {\n    key: 'changeHander',\n    value: function changeHander(text, eventObj) {\n      var maxLength = this.props.maxLength;\n\n      this.setState({\n        value: text,\n        inputValue: text,\n        count: text.length,\n        maxLengthError: text.length > maxLength\n      });\n      this.trigger('onChange', text, eventObj);\n    }\n  }, {\n    key: 'getInput',\n    value: function getInput() {\n      var _this2 = this;\n\n      var _props = this.props,\n          readOnly = _props.readOnly,\n          disabled = _props.disabled,\n          onInput = _props.onInput,\n          onChange = _props.onChange,\n          hasClear = _props.hasClear,\n          inputStyle = _props.inputStyle,\n          rows = _props.rows,\n          multiple = _props.multiple,\n          style = _props.style,\n          others = _objectWithoutProperties(_props, ['readOnly', 'disabled', 'onInput', 'onChange', 'hasClear', 'inputStyle', 'rows', 'multiple', 'style']);\n\n      var value = this.state.value;\n\n      var styles = this.props.themeStyle;\n\n      var inputAttrs = _extends({}, others, {\n        value: typeof value !== null ? value : null,\n        readOnly: readOnly,\n        multiple: multiple,\n\n        onInput: this.inputHandler,\n        onChange: this.changeHander,\n        onFocus: this.focusHandler,\n        onBlur: this.blurHandler,\n        disabled: disabled\n      });\n      if (_nukeEnv.isWeex) {\n        // 如果是多行文本,添加 returnKeyType 会导致无法换换\n        if (multiple && !this.props.onReturn) {\n          delete inputAttrs.onReturn;\n          delete inputAttrs.returnKeyType;\n        }\n      } else if (!disabled) {\n        delete inputAttrs.disabled;\n      }\n\n      if (multiple) {\n        inputAttrs.rows = rows || 3;\n        inputAttrs.style = Object.assign({}, styles['multiple-input-ele']);\n        if (inputStyle.height || style.height) {\n          inputAttrs.style.height = inputStyle.height || style.height;\n        }\n        if (inputStyle.lineHeight || style.lineHeight) {\n          inputAttrs.style.lineHeight = inputStyle.lineHeight || style.lineHeight;\n        }\n      } else {\n        inputAttrs.style = Object.assign({}, styles['single-input-ele']);\n        if (inputStyle.height || style.height) {\n          inputAttrs.style.height = inputStyle.height || style.height;\n        }\n\n        inputAttrs.style.lineHeight = inputStyle.lineHeight || style.lineHeight || inputAttrs.style.height;\n      }\n      _inheritKeys2.default.map(function (item) {\n        if (styles[item]) {\n          inputAttrs.style[item] = styles[item];\n        }\n      });\n      return (0, _rax.createElement)(_nukeBaseInput2.default, _extends({\n        fixedFont: this.fixedFont\n      }, inputAttrs, {\n        ref: function ref(n) {\n          _this2.input = n;\n        }\n      }));\n    }\n  }, {\n    key: 'clear',\n    value: function clear() {\n      this.setState({\n        value: '',\n        count: 0\n      });\n    }\n  }, {\n    key: 'clearHandler',\n    value: function clearHandler(e) {\n      this.setState({\n        value: this.state.inputValue\n      });\n      this.setState({\n        value: '',\n        inputValue: '',\n        count: 0\n      });\n\n      this.focus();\n      this.trigger('onClear', '');\n    }\n  }, {\n    key: 'focusHandler',\n    value: function focusHandler(e) {\n      this.setState({\n        focus: true\n      });\n      this.trigger('onFocus', e);\n    }\n  }, {\n    key: 'trigger',\n    value: function trigger(fn) {\n      if (typeof fn === 'string') fn = this.props[fn];\n      if (!(typeof fn === 'function')) return;\n\n      for (var _len = arguments.length, attrs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        attrs[_key - 1] = arguments[_key];\n      }\n\n      return fn.apply(this, attrs);\n    }\n  }, {\n    key: 'blurHandler',\n    value: function blurHandler(e) {\n      this.setState({\n        focus: false\n      });\n      this.trigger('onBlur', e);\n    }\n  }, {\n    key: 'focus',\n    value: function focus() {\n      this.input.focus();\n    }\n  }, {\n    key: 'getRef',\n    value: function getRef() {\n      return this.input.getRef();\n    }\n  }, {\n    key: 'blur',\n    value: function blur() {\n      this.input.blur();\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      return this.input.getValue();\n    }\n  }, {\n    key: 'renderClear',\n    value: function renderClear(styles, height) {\n      var count = this.state.count;\n\n      return count ? (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [styles.clearWrap, { height: height }], onClick: this.clearHandler },\n        (0, _rax.createElement)(_nukeImage2.default, {\n          source: { uri: _image2.default.clear }\n          // onClick={this.clearHandler}\n          , style: styles.clear\n        })\n      ) : null;\n    }\n  }, {\n    key: 'renderCustomIcon',\n    value: function renderCustomIcon(styles, height) {\n      var _props$icon = this.props.icon,\n          icon = _props$icon === undefined ? {} : _props$icon;\n      var uri = icon.uri,\n          _icon$onPress = icon.onPress,\n          onPress = _icon$onPress === undefined ? function () {} : _icon$onPress,\n          _icon$style = icon.style,\n          style = _icon$style === undefined ? {} : _icon$style;\n\n      if (!uri) return null;\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [styles.icon, { height: height }, style], onClick: onPress },\n        (0, _rax.createElement)(_nukeImage2.default, { source: { uri: uri }, style: [styles['icon-image'], style] })\n      );\n    }\n  }, {\n    key: 'renderCount',\n    value: function renderCount(styles) {\n      var _props2 = this.props,\n          maxLength = _props2.maxLength,\n          multiple = _props2.multiple,\n          renderCount = _props2.renderCount;\n      var maxLengthError = this.state.maxLengthError;\n\n      if (!maxLength || !renderCount) return null;\n\n      var count = this.state.count;\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { x: 'count', style: styles['' + (multiple ? 'multiple-count-wrap' : 'single-count-wrap')] },\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          {\n            fixedFont: this.fixedFont,\n            style: [styles['' + (multiple ? 'multiple-count-text' : 'single-count-text')], maxLengthError ? styles['count-error'] : {}]\n          },\n          count,\n          ' / ',\n          maxLength\n        )\n      );\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props3 = this.props,\n          readOnly = _props3.readOnly,\n          disabled = _props3.disabled,\n          _props3$style = _props3.style,\n          style = _props3$style === undefined ? {} : _props3$style,\n          renderCount = _props3.renderCount,\n          hideErrorWhenFocus = _props3.hideErrorWhenFocus,\n          hasClear = _props3.hasClear,\n          multiple = _props3.multiple,\n          status = _props3.status,\n          errorMessage = _props3.errorMessage;\n\n      var styles = this.props.themeStyle;\n      var _state = this.state,\n          focus = _state.focus,\n          maxLengthError = _state.maxLengthError;\n\n      var inputWrapperStyle = Object.assign({}, styles['input-wrap'], styles['' + (multiple ? 'multiple-wrap' : 'single-wrap')], readOnly ? styles.readonly : {}, status === 'error' ? styles['error-input-wrap'] : {}, focus ? styles['focus-input-wrap'] : {}, disabled ? styles[(multiple ? 'multiple' : 'single') + '-disabled'] : {}, style);\n      var customHeight = inputWrapperStyle.height;\n      // debugger;\n      if (status === 'error' && !hideErrorWhenFocus || maxLengthError) {\n        inputWrapperStyle = Object.assign(inputWrapperStyle, styles['error-input-wrap']);\n      }\n      if (disabled) {\n        inputWrapperStyle = Object.assign(inputWrapperStyle, styles[(multiple ? 'multiple' : 'single') + '-disabled']);\n      }\n      var outerStyle = {};\n      _nukeHelper.bubbleKeys.map(function (item) {\n        if (item in inputWrapperStyle) {\n          outerStyle[item] = inputWrapperStyle[item];\n        }\n      });\n      if (outerStyle.height) {\n        delete outerStyle.height;\n      }\n      if (outerStyle.backgroundColor) {\n        delete outerStyle.backgroundColor;\n      }\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { x: 'normal-outter', style: outerStyle },\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { x: 'input-wrap', style: inputWrapperStyle },\n          this.getInput()\n        ),\n        hasClear ? this.renderClear(styles, customHeight) : null,\n        !hasClear ? this.renderCustomIcon(styles, customHeight) : null,\n        status === 'error' && errorMessage || renderCount ? (0, _rax.createElement)(\n          _nukeView2.default,\n          { x: 'help', style: styles.help },\n          !focus && status === 'error' && errorMessage ? (0, _rax.createElement)(\n            _nukeText2.default,\n            { fixedFont: this.fixedFont, style: styles['error-text'] },\n            errorMessage\n          ) : null,\n          this.renderCount(styles)\n        ) : null\n      );\n    }\n  }]);\n\n  return Input;\n}(_rax.Component);\n\nInput.propTypes = {\n  defaultValue: _rax.PropTypes.any,\n  onFocus: _rax.PropTypes.func,\n  onInput: _rax.PropTypes.func,\n  onBlur: _rax.PropTypes.func,\n  onReturn: _rax.PropTypes.func,\n  placeholder: _rax.PropTypes.string,\n  readOnly: _rax.PropTypes.boolean,\n  disabled: _rax.PropTypes.boolean,\n  style: _rax.PropTypes.any,\n  maxLength: _rax.PropTypes.number,\n  multiple: _rax.PropTypes.boolean,\n  inputStyle: _rax.PropTypes.any,\n  returnKeyType: _rax.PropTypes.any,\n  hasClear: _rax.PropTypes.boolean,\n  rows: _rax.PropTypes.number,\n  maxRows: _rax.PropTypes.number,\n  type: _rax.PropTypes.oneOf(['text', 'url', 'password', 'tel', 'date', 'time', 'email']),\n  status: _rax.PropTypes.oneOf(['success', 'error']),\n  errorMessage: _rax.PropTypes.string,\n  renderCount: _rax.PropTypes.boolean,\n  value: _rax.PropTypes.string,\n  themeStyle: _rax.PropTypes.any,\n  hideErrorWhenFocus: _rax.PropTypes.boolean\n};\nInput.defaultProps = {\n  onFocus: function onFocus() {},\n  onInput: function onInput() {},\n  onBlur: function onBlur() {},\n  onReturn: function onReturn() {},\n  placeholder: '',\n  readOnly: false,\n  disabled: false,\n  style: {},\n  multiple: false,\n  inputStyle: {},\n  hasClear: false,\n  type: 'text',\n  status: 'success',\n  themeStyle: {},\n  renderCount: false,\n  placeholderColor: '#999999',\n  hideErrorWhenFocus: true\n};\nInput.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\n\nexports.default = Input;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/view/normal.js?");

/***/ }),

/***/ "./lib/Input/web.js":
/*!**************************!*\
  !*** ./lib/Input/web.js ***!
  \**************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ./styles/index.js */ \"./lib/Input/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nvar _material = __webpack_require__(/*! ./view/material.js */ \"./lib/Input/view/material.js\");\n\nvar _material2 = _interopRequireDefault(_material);\n\nvar _normal = __webpack_require__(/*! ./view/normal.js */ \"./lib/Input/view/normal.js\");\n\nvar _normal2 = _interopRequireDefault(_normal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Input = function (_Component) {\n  _inherits(Input, _Component);\n\n  function Input(props, context) {\n    _classCallCheck(this, Input);\n\n    var _this = _possibleConstructorReturn(this, (Input.__proto__ || Object.getPrototypeOf(Input)).call(this, props));\n\n    _this.focus = _this.focus.bind(_this);\n    _this.blur = _this.blur.bind(_this);\n    _this.clear = _this.blur.bind(_this);\n    _this.getRef = _this.getRef.bind(_this);\n    _this.getValue = _this.getValue.bind(_this);\n    _this.materialDesign = context.androidConfigs && context.androidConfigs.materialDesign;\n    if ('materialDesign' in props) {\n      _this.materialDesign = props.materialDesign;\n    }\n    return _this;\n  }\n\n  _createClass(Input, [{\n    key: 'focus',\n    value: function focus() {\n      this.refs.baseinput.focus();\n    }\n  }, {\n    key: 'blur',\n    value: function blur() {\n      this.refs.baseinput.blur();\n    }\n  }, {\n    key: 'clear',\n    value: function clear() {\n      this.refs.baseinput.clear();\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      return this.refs.baseinput.getValue();\n    }\n  }, {\n    key: 'getRef',\n    value: function getRef() {\n      return this.refs.baseinput.getRef();\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      return this.materialDesign ? (0, _rax.createElement)(_material2.default, _extends({ ref: 'baseinput' }, this.props)) : (0, _rax.createElement)(_normal2.default, _extends({ ref: 'baseinput' }, this.props));\n    }\n  }]);\n\n  return Input;\n}(_rax.Component);\n\nInput.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\nInput.displayName = 'Input';\nvar StyledInput = (0, _nukeThemeProvider.connectStyle)(_styles2.default, { withRef: true })(Input);\n\nexports.default = StyledInput;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Input/web.js?");

/***/ }),

/***/ "./lib/Layout/index.js":
/*!*****************************!*\
  !*** ./lib/Layout/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\n\nvar _multiRow = __webpack_require__(/*! ./mods/multi-row.js */ \"./lib/Layout/mods/multi-row.js\");\n\nvar _multiRow2 = _interopRequireDefault(_multiRow);\n\nvar _grid = __webpack_require__(/*! ./mods/grid.js */ \"./lib/Layout/mods/grid.js\");\n\nvar _grid2 = _interopRequireDefault(_grid);\n\nvar _col = __webpack_require__(/*! ./mods/col.js */ \"./lib/Layout/mods/col.js\");\n\nvar _col2 = _interopRequireDefault(_col);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n    Grid: _grid2.default,\n    Col: _col2.default,\n    MultiRow: _multiRow2.default\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Layout/index.js?");

/***/ }),

/***/ "./lib/Layout/mods/col.js":
/*!********************************!*\
  !*** ./lib/Layout/mods/col.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\nvar Col = function (_Component) {\n  _inherits(Col, _Component);\n\n  function Col() {\n    _classCallCheck(this, Col);\n\n    return _possibleConstructorReturn(this, (Col.__proto__ || Object.getPrototypeOf(Col)).apply(this, arguments));\n  }\n\n  _createClass(Col, [{\n    key: 'render',\n    value: function render() {\n      var style = _extends({}, styles.initial, this.props.style);\n\n      var children = this.props.children;\n      var length = children.length;\n\n      if (length) {\n        return (0, _rax.createElement)(_nukeView2.default, _extends({}, this.props, { style: style }));\n      }\n      children.props.style = Object.assign({}, style, children.props.style);\n\n      return children;\n    }\n  }]);\n\n  return Col;\n}(_rax.Component);\n\nvar styles = {\n  initial: {\n    flex: 1,\n    display: 'flex'\n  }\n};\n\nexports.default = Col;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Layout/mods/col.js?");

/***/ }),

/***/ "./lib/Layout/mods/grid.js":
/*!*********************************!*\
  !*** ./lib/Layout/mods/grid.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\nvar Grid = function (_Component) {\n  _inherits(Grid, _Component);\n\n  function Grid() {\n    _classCallCheck(this, Grid);\n\n    return _possibleConstructorReturn(this, (Grid.__proto__ || Object.getPrototypeOf(Grid)).apply(this, arguments));\n  }\n\n  _createClass(Grid, [{\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          style = _props.style,\n          others = _objectWithoutProperties(_props, ['style']);\n\n      return (0, _rax.createElement)(_nukeView2.default, _extends({}, others, { style: [styles.initial, style] }));\n    }\n  }]);\n\n  return Grid;\n}(_rax.Component);\n\nvar styles = {\n  initial: {\n    flexDirection: 'row'\n  }\n};\n\nexports.default = Grid;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Layout/mods/grid.js?");

/***/ }),

/***/ "./lib/Layout/mods/multi-row.js":
/*!**************************************!*\
  !*** ./lib/Layout/mods/multi-row.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _grid = __webpack_require__(/*! ./grid.js */ \"./lib/Layout/mods/grid.js\");\n\nvar _grid2 = _interopRequireDefault(_grid);\n\nvar _col = __webpack_require__(/*! ./col.js */ \"./lib/Layout/mods/col.js\");\n\nvar _col2 = _interopRequireDefault(_col);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar MultiRow = function (_Component) {\n  _inherits(MultiRow, _Component);\n\n  function MultiRow() {\n    _classCallCheck(this, MultiRow);\n\n    return _possibleConstructorReturn(this, (MultiRow.__proto__ || Object.getPrototypeOf(MultiRow)).apply(this, arguments));\n  }\n\n  _createClass(MultiRow, [{\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          _props$style = _props.style,\n          style = _props$style === undefined ? {} : _props$style,\n          _props$renderCell = _props.renderCell,\n          renderCell = _props$renderCell === undefined ? {} : _props$renderCell,\n          _props$renderRow = _props.renderRow,\n          renderRow = _props$renderRow === undefined ? {} : _props$renderRow,\n          _props$dataSource = _props.dataSource,\n          dataSource = _props$dataSource === undefined ? [] : _props$dataSource,\n          others = _objectWithoutProperties(_props, ['style', 'renderCell', 'renderRow', 'dataSource']);\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        _extends({ style: style }, others),\n        this.getContent()\n      );\n    }\n  }, {\n    key: 'renderEmpty',\n    value: function renderEmpty() {\n      return (0, _rax.createElement)(_nukeView2.default, null);\n    }\n  }, {\n    key: 'getContent',\n    value: function getContent() {\n      var _props2 = this.props,\n          dataSource = _props2.dataSource,\n          colStyle = _props2.colStyle,\n          gridStyle = _props2.gridStyle,\n          rows = _props2.rows,\n          cells = _props2.cells,\n          renderCell = _props2.renderCell,\n          renderRow = _props2.renderRow;\n\n      var count = cells || rows;\n      var renderFunc = renderCell || renderRow;\n      var grids = [];\n      var gridDataArr = [];\n      if (count > 1) {\n        for (var i = 0; i < dataSource.length; i++) {\n          var index = Math.floor(i / count);\n          if (i % count == 0) {\n            gridDataArr = [];\n          }\n          gridDataArr.push((0, _rax.createElement)(\n            _col2.default,\n            { style: colStyle },\n            renderFunc(dataSource[i], i)\n          ));\n          if (i > 0) {\n            if (i < dataSource.length - 1 && (i + 1) % count === 0) {\n              grids.push((0, _rax.createElement)(\n                _grid2.default,\n                { style: gridStyle },\n                gridDataArr\n              ));\n            }\n            if (i == dataSource.length - 1) {\n              var extraItemForMultiRow = count - dataSource.length % count;\n              if (extraItemForMultiRow > 0 && extraItemForMultiRow < count) {\n                for (var _index = 0; _index < extraItemForMultiRow; _index++) {\n                  gridDataArr.push((0, _rax.createElement)(\n                    _col2.default,\n                    { style: colStyle },\n                    this.renderEmpty()\n                  ));\n                }\n              }\n              grids.push((0, _rax.createElement)(\n                _grid2.default,\n                { style: gridStyle },\n                gridDataArr\n              ));\n            }\n          }\n        }\n      } else {\n        dataSource.map(function (item, index) {\n          grids.push(renderFunc(item, index));\n        });\n      }\n      return grids;\n    }\n  }]);\n\n  return MultiRow;\n}(_rax.Component);\n\nMultiRow.propTypes = {\n  /**\n   * 每行列数 rows of each line\n   */\n  rows: _rax.PropTypes.number,\n  /**\n   * 渲染每个单元格的方法 render function\n   */\n  renderRow: _rax.PropTypes.func,\n  /**\n   * 数据源 dataSource\n   */\n  dataSource: _rax.PropTypes.array,\n  colStyle: _rax.PropTypes.any,\n  gridStyle: _rax.PropTypes.any\n};\nMultiRow.defaultProps = {\n  colStyle: {},\n  gridStyle: {},\n  dataSource: [],\n  renderRow: function renderRow() {},\n  rows: 1\n};\n\nexports.default = MultiRow;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Layout/mods/multi-row.js?");

/***/ }),

/***/ "./lib/Link/bridge.js":
/*!****************************!*\
  !*** ./lib/Link/bridge.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nexports.default = bridge;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar HYBRID_PROTOCOL = 'qap:';\n// qap:///application/request/tmda21db31?query={\"event\":\"itemList\",\"biz\":{\"itemStatus\":\"onsale\"}}\n/**\n * bridge for call h5 page \n * @return {[type]} [description]\n */\nfunction generateURL(src) {\n    var parameter = {\n        url: src\n        // appkey:'123123'\n    };\n    return HYBRID_PROTOCOL + '///' + 'navigator' + '/' + 'push' + '/' + uuid() + '?query=' + encodeURIComponent(JSON.stringify(parameter));\n    // return 'tbsellerplatform:// ?session_event=event_protocol&apiName=' + event + '&biz=' + encodeURIComponent(JSON.stringify(parameter));\n    // return url;\n}\nfunction uuid() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n        var r = Math.random() * 16 | 0;\n        var v = c == 'x' ? r : r & 0x3 | 0x8;\n        return v.toString(16);\n    });\n}\nfunction bridge(src) {\n\n    src = generateURL(src);\n\n    if (_nukeEnv.isQNWeb && _nukeEnv.appInfo && _nukeEnv.appInfo.platform === 'android') {\n        prompt(src);\n    } else if (_nukeEnv.isQNWeb && _nukeEnv.appInfo && _nukeEnv.appInfo.platform === 'iOS') {\n        var iframe = document.createElement('iframe');\n        iframe.setAttribute('frameborder', 0);\n        iframe.style.cssText = 'display:none';\n        iframe.src = src;\n\n        document.body.appendChild(iframe);\n    } else {\n        // do nothing\n    }\n}\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Link/bridge.js?");

/***/ }),

/***/ "./lib/Link/index.js":
/*!***************************!*\
  !*** ./lib/Link/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeText = __webpack_require__(/*! ../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeTouchable = __webpack_require__(/*! ../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeUtil = __webpack_require__(/*! ../Util/index.js */ \"./lib/Util/index.js\");\n\nvar _bridge = __webpack_require__(/*! ./bridge.js */ \"./lib/Link/bridge.js\");\n\nvar _bridge2 = _interopRequireDefault(_bridge);\n\nvar _styleda = __webpack_require__(/*! ./styleda.js */ \"./lib/Link/styleda.js\");\n\nvar _styleda2 = _interopRequireDefault(_styleda);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar defaultLineHeightOptimizer = function defaultLineHeightOptimizer(fontSize) {\n  return Math.ceil(9.24 * Math.pow(10, -5) * Math.pow(fontSize, 2) + 1.492 * fontSize + 2.174);\n};\n\nvar Link = function (_Component) {\n  _inherits(Link, _Component);\n\n  function Link(props, context) {\n    _classCallCheck(this, Link);\n\n    var _this = _possibleConstructorReturn(this, (Link.__proto__ || Object.getPrototypeOf(Link)).call(this, props));\n\n    _this.pushNext = function () {\n      if (_nukeEnv.isWeex) {\n        var navigator = __webpack_require__(/*! @weex-module/navigator */ \"@weex-module/navigator\");\n        try {\n          navigator.push({\n            url: _this.props.href\n          }, function (e) {});\n        } catch (e) {}\n      }\n    };\n\n    _this.onTextPress = function (e) {\n      // 由于 native 端事件绑了2遍,因此 web 端需要去重\n      if (_nukeEnv.isWeb) {\n        e.stopPropagation();\n      }\n      _this.pushNext();\n    };\n\n    _this.pushto = function (url) {\n      (0, _bridge2.default)(url);\n    };\n\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    _this.optimizeLineHeight = context.commonConfigs && context.commonConfigs.optimizeLineHeight;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    if ('optimizeLineHeight' in props) {\n      _this.optimizeLineHeight = props.optimizeLineHeight;\n    }\n    return _this;\n  }\n\n  _createClass(Link, [{\n    key: 'convertURL',\n    value: function convertURL(url) {\n      if (url.indexOf('qap://') > -1) {\n        var options = {\n          refer: window.location.href\n        };\n        if (typeof window.__QAP__ !== 'undefined' && __QAP__.package && __QAP__.package.config && __QAP__.package.config.WebRootPath) {\n          options.webRootPath = __QAP__.package.config.WebRootPath;\n        }\n        if (!options.webRootPath.endsWith('/')) {\n          options.webRootPath += '/';\n        }\n\n        // qap降级情况下,根据webrootPath计算获得qap协议对应的实际降级页面地址\n        url = options.webRootPath + url.replace(/qap:\\/{2,3}/, '');\n        var WxParam = ['_wx_tpl', '_h5_tpl', 'dd_wx_tpl'];\n        WxParam.map(function (param) {\n          if (options.refer.indexOf(param) > -1) {\n            options[param] = url;\n          }\n        });\n        url = _nukeUtil.urlHelper.setSearchParameter(url.replace('.js', '.html'), options, {\n          keepOrigin: true,\n          addQueryPrefix: false,\n          encode: false\n        });\n      }\n      return url;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var TextAttrArr = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'textAlign', 'textDecoration'];\n      var _props = this.props,\n          children = _props.children,\n          href = _props.href,\n          _props$target = _props.target,\n          target = _props$target === undefined ? '_self' : _props$target,\n          webUrl = _props.webUrl,\n          activeStyle = _props.activeStyle;\n\n\n      var style = _extends({}, styles.initial, this.props.style);\n      var textStyle = {};\n      var content = void 0;\n      var activeObj = {};\n      for (var k in activeStyle) {\n        activeObj[k + ':active'] = activeStyle[k];\n      }\n      style = Object.assign(style, activeObj);\n\n      if (_nukeEnv.isWeex) {\n        if (typeof children === 'string') {\n          TextAttrArr.forEach(function (item) {\n            if (style[item]) {\n              textStyle[item] = style[item];\n            }\n            if (style[item + ':active']) {\n              textStyle[item + ':active'] = style[item + ':active'];\n            }\n          });\n          content = (0, _rax.createElement)(\n            _nukeText2.default,\n            {\n              fixedFont: this.fixedFont,\n              optimizeLineHeight: this.optimizeLineHeight,\n              onPress: this.onTextPress,\n              style: textStyle\n            },\n            children\n          );\n        }\n\n        return (0, _rax.createElement)(\n          _nukeTouchable2.default,\n          _extends({}, this.props, {\n            activeStyle: activeStyle,\n            style: style,\n            onPress: this.pushNext\n          }),\n          typeof children !== 'string' ? children : content\n        );\n      } else {\n        var linkURL = webUrl || (href ? this.convertURL(href) : '');\n        if (_nukeEnv.isQNWeb && linkURL && target === '_blank') {\n          return (0, _rax.createElement)(\n            _nukeTouchable2.default,\n            _extends({}, this.props, {\n              style: style,\n              onPress: this.pushto(linkURL)\n            }),\n            children || content\n          );\n        } else {\n          return (0, _rax.createElement)(\n            _styleda2.default,\n            _extends({}, this.props, {\n              lineHeightOptimizer: defaultLineHeightOptimizer,\n              target: target,\n              style: [{ display: 'flex' }, style],\n              href: linkURL\n            }),\n            this.props.children\n          );\n        }\n      }\n    }\n  }]);\n\n  return Link;\n}(_rax.Component);\n\nvar styles = {\n  initial: {\n    textDecoration: 'none'\n  }\n};\n\nLink.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\nLink.propTypes = {\n  optimizeLineHeight: _rax.PropTypes.boolean,\n  fixedFont: _rax.PropTypes.boolean,\n  lineHeightOptimizer: _rax.PropTypes.func\n};\nLink.defaultProps = {\n  style: {},\n  lineHeightOptimizer: defaultLineHeightOptimizer\n};\nexports.default = Link;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Link/index.js?");

/***/ }),

/***/ "./lib/Link/styleda.js":
/*!*****************************!*\
  !*** ./lib/Link/styleda.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeHelper = __webpack_require__(/*! ../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar defaultLineHeightOptimizer = function defaultLineHeightOptimizer(fontSize) {\n  return Math.ceil(9.24 * Math.pow(10, -5) * Math.pow(fontSize, 2) + 1.492 * fontSize + 2.174);\n};\n\nvar StyledA = function (_Component) {\n  _inherits(StyledA, _Component);\n\n  function StyledA(props, context) {\n    _classCallCheck(this, StyledA);\n\n    var _this = _possibleConstructorReturn(this, (StyledA.__proto__ || Object.getPrototypeOf(StyledA)).call(this));\n\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    _this.optimizeLineHeight = context.commonConfigs && context.commonConfigs.optimizeLineHeight;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    if ('optimizeLineHeight' in props) {\n      _this.optimizeLineHeight = props.optimizeLineHeight;\n    }\n    return _this;\n  }\n  /**\n   * This function is used to  calculate line height when language is Thai or Vietnanese.\n   * @param {obj} style\n   */\n\n\n  _createClass(StyledA, [{\n    key: 'calcLineHeight',\n    value: function calcLineHeight(style) {\n      var lineHeightOptimizer = this.props.lineHeightOptimizer;\n\n      var fontSize = parseInt(style.fontSize, 10);\n\n      var lineHeight = lineHeightOptimizer(fontSize);\n\n      if (lineHeight && !style.lineHeight) {\n        if (this.fixedFont && typeof lineHeight === 'number') {\n          style.lineHeight = lineHeight + (_nukeEnv.isWeb ? 'px' : 'wx');\n        } else {\n          style.lineHeight = lineHeight;\n        }\n      }\n      return style;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var textStyle = Object.assign({ fontSize: 32, wordWrap: 'break-word' }, this.props.style);\n      textStyle = this.fixedFont ? (0, _nukeHelper.calcTextSize)(textStyle) : textStyle;\n      textStyle = this.optimizeLineHeight ? this.calcLineHeight(textStyle) : textStyle;\n\n      return (0, _rax.createElement)('a', _extends({}, this.props, { style: textStyle, fixedFont: true, optimizeLineHeight: true }));\n    }\n  }]);\n\n  return StyledA;\n}(_rax.Component);\n\nStyledA.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\nStyledA.propTypes = {\n  optimizeLineHeight: _rax.PropTypes.boolean,\n  fixedFont: _rax.PropTypes.boolean,\n  lineHeightOptimizer: _rax.PropTypes.func\n};\nStyledA.defaultProps = {\n  style: {}\n};\nexports.default = StyledA;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Link/styleda.js?");

/***/ }),

/***/ "./lib/ListView/index.js":
/*!*******************************!*\
  !*** ./lib/ListView/index.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeScrollView = __webpack_require__(/*! ../ScrollView/index.js */ \"./lib/ScrollView/index.js\");\n\nvar _nukeScrollView2 = _interopRequireDefault(_nukeScrollView);\n\nvar _nukeRefreshControl = __webpack_require__(/*! ../RefreshControl/index.js */ \"./lib/RefreshControl/index.js\");\n\nvar _nukeRefreshControl2 = _interopRequireDefault(_nukeRefreshControl);\n\nvar _nukeCell = __webpack_require__(/*! ../Cell/index.js */ \"./lib/Cell/index.js\");\n\nvar _nukeCell2 = _interopRequireDefault(_nukeCell);\n\nvar _nukeHeader = __webpack_require__(/*! ../Header/index.js */ \"./lib/Header/index.js\");\n\nvar _nukeHeader2 = _interopRequireDefault(_nukeHeader);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * ListView\n * @description  列表\n */\nvar ListView = function (_Component) {\n  _inherits(ListView, _Component);\n\n  function ListView() {\n    var _ref;\n\n    var _temp, _this, _ret;\n\n    _classCallCheck(this, ListView);\n\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ListView.__proto__ || Object.getPrototypeOf(ListView)).call.apply(_ref, [this].concat(args))), _this), _this.resetLoadmore = function () {\n      _this.refs.list.resetLoadmore && _this.refs.list.resetLoadmore();\n    }, _this.scrollTo = function (options) {\n      var x = parseInt(options.x);\n      var y = parseInt(options.y);\n\n      if (_nukeEnv.isWeex) {\n        var dom = __webpack_require__(/*! @weex-module/dom */ \"@weex-module/dom\");\n        var firstCell = _this.hasHeader ? (0, _rax.findDOMNode)(_this.refs.cell1) : (0, _rax.findDOMNode)(_this.refs.cell0);\n        dom.scrollToElement(firstCell.ref, {\n          offset: x || y || 0\n        });\n      } else {\n        _this.refs.list.scrollTo(options);\n      }\n    }, _temp), _possibleConstructorReturn(_this, _ret);\n  }\n\n  _createClass(ListView, [{\n    key: 'getChildContext',\n    value: function getChildContext() {\n      return {\n        isInARecyclerView: true\n      };\n    }\n  }, {\n    key: 'getChidren',\n    value: function getChidren() {\n      var _props = this.props,\n          children = _props.children,\n          renderHeader = _props.renderHeader,\n          renderFooter = _props.renderFooter,\n          renderRow = _props.renderRow,\n          _props$dataSource = _props.dataSource,\n          dataSource = _props$dataSource === undefined ? [] : _props$dataSource;\n\n      if (children) {\n        return !Array.isArray(children) ? [children] : children;\n      }\n      var header = typeof renderHeader === 'function' ? renderHeader() : null;\n      var footer = typeof renderFooter === 'function' ? renderFooter() : null;\n\n      var body = dataSource.map(function (i, index) {\n        return renderRow(i, index);\n      });\n      return [].concat(header, body, footer);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var _props2 = this.props,\n          onEndReached = _props2.onEndReached,\n          onEndReachedThreshold = _props2.onEndReachedThreshold,\n          id = _props2.id,\n          style = _props2.style,\n          showScrollbar = _props2.showScrollbar,\n          _keepScrollPosition = _props2._keepScrollPosition,\n          _autoWrapCell = _props2._autoWrapCell,\n          renderRow = _props2.renderRow,\n          dataSource = _props2.dataSource,\n          renderHeader = _props2.renderHeader,\n          renderFooter = _props2.renderFooter,\n          others = _objectWithoutProperties(_props2, ['onEndReached', 'onEndReachedThreshold', 'id', 'style', 'showScrollbar', '_keepScrollPosition', '_autoWrapCell', 'renderRow', 'dataSource', 'renderHeader', 'renderFooter']);\n\n      var children = this.getChidren();\n\n      var cells = children.map(function (child, index) {\n        var ref = 'cell' + index;\n        if (child && child.type === _nukeRefreshControl2.default) {\n          _this2.hasHeader = true;\n        }\n        if (child) {\n          if (_autoWrapCell && child.type != _nukeRefreshControl2.default) {\n            if (child.key) {\n              return (0, _rax.createElement)(\n                _nukeCell2.default,\n                {\n                  keepScrollPosition: _keepScrollPosition,\n                  ref: ref,\n                  key: child.key\n                },\n                child\n              );\n            }\n\n            return (0, _rax.createElement)(\n              _nukeCell2.default,\n              { ref: ref },\n              child\n            );\n          }\n          return (0, _rax.cloneElement)(child, { ref: ref });\n        }\n        return (0, _rax.createElement)(_nukeCell2.default, { ref: ref });\n      });\n      if (_nukeEnv.isWeex) {\n        return (0, _rax.createElement)(\n          'list',\n          _extends({\n            id: id,\n            ref: 'list',\n            style: style,\n            onLoadmore: onEndReached,\n            loadmoreretry: true,\n            loadmoreoffset: onEndReachedThreshold,\n            showScrollbar: showScrollbar\n          }, others),\n          cells\n        );\n      }\n      return (0, _rax.createElement)(\n        _nukeScrollView2.default,\n        _extends({\n          id: id,\n          style: style,\n          onEndReached: onEndReached,\n          onEndReachedThreshold: onEndReachedThreshold,\n          showScrollbar: showScrollbar\n        }, others),\n        cells\n      );\n    }\n  }]);\n\n  return ListView;\n}(_rax.Component);\n\nListView.childContextTypes = {\n  isInARecyclerView: _rax.PropTypes.bool\n};\nListView.propTypes = {\n  /**\n   * 列表底部加载更多的回调函数  onEndReached callback function\n   */\n  onEndReached: _rax.PropTypes.func,\n  /**\n   * 列表到底部触发加载更多的位移量  offset of onEndReached been triggered\n   */\n  onEndReachedThreshold: _rax.PropTypes.num,\n  id: _rax.PropTypes.string,\n  /**\n   * 列表外层容器样式 style of list\n   */\n  style: _rax.PropTypes.any,\n  /**\n   * 是否显示滚动条  show scrollbar or not when scrolling\n   */\n  showScrollbar: _rax.PropTypes.boolean,\n  /**\n   * 是否保持上一次滚动位置 keep last scroll position\n   */\n  _keepScrollPosition: _rax.PropTypes.boolean,\n  /**\n   * 是否自动包裹 cell 标签,仅用于非数据源模式 wrap cell tag or not\n   */\n  _autoWrapCell: _rax.PropTypes.boolean,\n  /**\n   * 渲染数据的回调函数 render list row function\n   */\n  renderRow: _rax.PropTypes.func,\n  /**\n   * 数据源 data souce of the list\n   */\n  dataSource: _rax.PropTypes.array,\n  /**\n   * 渲染头部的回调函数 render list header function\n   */\n  renderHeader: _rax.PropTypes.func,\n  /**\n   * 渲染尾的回调函数 render list footer function\n   */\n  renderFooter: _rax.PropTypes.func\n};\nListView.defaultProps = {\n  onEndReachedThreshold: 500,\n  _keepScrollPosition: false,\n  _autoWrapCell: true,\n  showScrollbar: false\n};\n\nListView.RefreshControl = _nukeRefreshControl2.default;\nListView.Cell = _nukeCell2.default;\nListView.Header = _nukeHeader2.default;\nexports.default = ListView;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/ListView/index.js?");

/***/ }),

/***/ "./lib/Mask/index.js":
/*!***************************!*\
  !*** ./lib/Mask/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeTransition = __webpack_require__(/*! ../Transition/index.js */ \"./lib/Transition/index.js\");\n\nvar _nukeTransition2 = _interopRequireDefault(_nukeTransition);\n\nvar _nukeDimensions = __webpack_require__(/*! ../Dimensions/index.js */ \"./lib/Dimensions/index.js\");\n\nvar _nukeDimensions2 = _interopRequireDefault(_nukeDimensions);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Mask = function (_Component) {\n  _inherits(Mask, _Component);\n\n  function Mask(props) {\n    _classCallCheck(this, Mask);\n\n    var _this = _possibleConstructorReturn(this, (Mask.__proto__ || Object.getPrototypeOf(Mask)).call(this, props));\n\n    var visible = true;\n\n    if ('defaultVisible' in props) {\n      visible = props.defaultVisible;\n    }\n    _this.state = {\n      visible: visible,\n      style: visible ? styles.transparent : styles.shown\n    };\n    return _this;\n  }\n\n  _createClass(Mask, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      if (this.state.visible) {\n        if (this.props.animate) {\n          this.doAnimShow();\n        } else {\n          this.show();\n        }\n      }\n    }\n  }, {\n    key: 'show',\n    value: function show() {\n      if (this.props.animate) {\n        this.setState({ visible: true, style: styles.transparent });\n        return;\n      }\n      this.setState({ visible: true, style: styles.shown });\n      this.props.onShow && this.props.onShow();\n    }\n  }, {\n    key: 'change',\n    value: function change(e) {\n      this.setState({ visible: e.visible || !this.state.visible });\n      this.props.onVisibleChanged && this.props.onVisibleChanged(e);\n    }\n  }, {\n    key: 'componentDidUpdate',\n    value: function componentDidUpdate(prevProps, prevState) {\n      //\n      if (this.state.visible && this.props.animate) {\n        this.doAnimShow();\n      }\n    }\n  }, {\n    key: 'doAnimShow',\n    value: function doAnimShow() {\n      var _this2 = this;\n\n      var _props = this.props,\n          effect = _props.effect,\n          duration = _props.duration;\n\n      var box = (0, _rax.findDOMNode)(this.maskNode);\n      if (this.state.visible && box && this.state.style.opacity == 0) {\n        (0, _nukeTransition2.default)(box, styles.shown, {\n          timingFunction: effect,\n          duration: duration\n        }, function () {\n          _this2.setState({ style: styles.shown });\n          _this2.props.onShow && _this2.props.onShow();\n        });\n      }\n    }\n  }, {\n    key: 'hide',\n    value: function hide() {\n      var _this3 = this;\n\n      var _props2 = this.props,\n          animate = _props2.animate,\n          effect = _props2.effect,\n          duration = _props2.duration;\n\n      if (animate) {\n        var box = this.maskNode;\n        if (box) {\n          setTimeout(function () {\n            (0, _nukeTransition2.default)(box, styles.transparent, {\n              timingFunction: effect,\n              duration: duration\n            }, function () {\n              _this3.setState({ visible: false });\n              _this3.props.onHide && _this3.props.onHide();\n            });\n          }, 10);\n        }\n      } else {\n        this.setState({\n          visible: false\n        });\n        this.props.onHide && this.props.onHide();\n      }\n    }\n  }, {\n    key: 'maskPress',\n    value: function maskPress(e) {\n      if (this.props.maskClosable) {\n        this.hide();\n      }\n      this.props.onMaskPress && this.props.onMaskPress();\n    }\n  }, {\n    key: 'emptyEvent',\n    value: function emptyEvent(e) {\n      // EmptyEvent consumes events in android, so it would not be bubbled to mask press.\n      if (_nukeEnv.isWeb) {\n        e.stopPropagation();\n      }\n    }\n  }, {\n    key: 'getChildren',\n    value: function getChildren() {\n      var _this4 = this;\n\n      var _props3 = this.props,\n          children = _props3.children,\n          _props3$contentStyle = _props3.contentStyle,\n          contentStyle = _props3$contentStyle === undefined ? {} : _props3$contentStyle;\n\n      if (!children) return null;\n      if (!Array.isArray(children)) {\n        return (0, _rax.cloneElement)(children, {\n          onClick: function onClick(e) {\n            _this4.emptyEvent(e);\n          }\n        });\n      }\n      if (children.length === 1) {\n        return (0, _rax.cloneElement)(children[0], {\n          onClick: function onClick(e) {\n            _this4.emptyEvent(e);\n          }\n        });\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: contentStyle, x: 'autowrap', onClick: function onClick(e) {\n            return _this4.emptyEvent(e);\n          } },\n        children\n      );\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this5 = this;\n\n      var visible = this.state.visible;\n\n      var _props4 = this.props,\n          content = _props4.content,\n          children = _props4.children,\n          _props4$style = _props4.style,\n          style = _props4$style === undefined ? {} : _props4$style,\n          onVisibleChanged = _props4.onVisibleChanged,\n          onClick = _props4.onClick,\n          _props4$noPress = _props4.noPress,\n          noPress = _props4$noPress === undefined ? false : _props4$noPress,\n          others = _objectWithoutProperties(_props4, ['content', 'children', 'style', 'onVisibleChanged', 'onClick', 'noPress']);\n\n      if (_nukeEnv.isWeex) {\n        var nativeAttrs = _extends({}, others, {\n          style: [_nukeEnv.appInfo.platform === 'iOS' ? styles.maskNativeIOS : {}, style],\n          onClick: function onClick(e) {\n            return _this5.maskPress(e);\n          },\n          onVisibleChanged: function onVisibleChanged(e) {\n            return _this5.change(e);\n          }\n        });\n        if (noPress) {\n          delete nativeAttrs.onClick;\n        }\n        var maskWeex = visible ? (0, _rax.createElement)(\n          'mask',\n          _extends({\n            ref: function ref(n) {\n              _this5.maskNode = (0, _rax.findDOMNode)(n);\n            }\n          }, nativeAttrs),\n          this.getChildren()\n        ) : null;\n        return maskWeex;\n      }\n      return visible ? (0, _rax.createElement)(\n        'div',\n        _extends({}, others, {\n          ref: function ref(n) {\n            _this5.maskNode = (0, _rax.findDOMNode)(n);\n          },\n          style: [styles.maskWeb, this.state.style, style],\n          onClick: function onClick(e) {\n            return _this5.maskPress(e);\n          }\n        }),\n        this.getChildren()\n      ) : null;\n    }\n  }]);\n\n  return Mask;\n}(_rax.Component);\n\nvar styles = {\n  // In Android width & height & position will be auto calculated while in iOS won't.\n  maskNativeIOS: {\n    position: 'absolute',\n    width: 750,\n    left: 0,\n    top: 0,\n    // To get fullscreen mask , we set screen height\n    height: Math.round(_nukeDimensions2.default.get('screen').height / window.devicePixelRatio) + 'wx'\n  },\n\n  maskWeb: {\n    display: 'flex',\n    boxSizing: 'border-box',\n    flexDirection: 'column',\n    alignContent: 'flex-start',\n    flexShrink: 0,\n    position: 'fixed',\n    top: 0,\n    left: 0,\n    right: 0,\n    bottom: 0,\n    zIndex: 100\n  },\n  transparent: {\n    opacity: 0\n  },\n  shown: {\n    opacity: 1\n  }\n};\nMask.propTypes = {};\nMask.defaultProps = {\n  animate: true,\n  effect: 'ease-in-out',\n  duration: 200,\n  contentStyle: {}\n};\nexports.default = Mask;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Mask/index.js?");

/***/ }),

/***/ "./lib/Modal/index.js":
/*!****************************!*\
  !*** ./lib/Modal/index.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _alert = __webpack_require__(/*! ./view/alert.js */ \"./lib/Modal/view/alert.js\");\n\nvar _alert2 = _interopRequireDefault(_alert);\n\nvar _toast = __webpack_require__(/*! ./view/toast.js */ \"./lib/Modal/view/toast.js\");\n\nvar _toast2 = _interopRequireDefault(_toast);\n\nvar _confirm = __webpack_require__(/*! ./view/confirm.js */ \"./lib/Modal/view/confirm.js\");\n\nvar _confirm2 = _interopRequireDefault(_confirm);\n\nvar _prompt = __webpack_require__(/*! ./view/prompt.js */ \"./lib/Modal/view/prompt.js\");\n\nvar _prompt2 = _interopRequireDefault(_prompt);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n * @providesModule Alert\n */\n\nexports.alert = _alert2.default;\nexports.toast = _toast2.default;\nexports.confirm = _confirm2.default;\nexports.prompt = _prompt2.default;\n\n//# sourceURL=webpack:///./lib/Modal/index.js?");

/***/ }),

/***/ "./lib/Modal/styles/index.js":
/*!***********************************!*\
  !*** ./lib/Modal/styles/index.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Modal/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nvar _mixin = __webpack_require__(/*! ./mixin.js */ \"./lib/Modal/styles/mixin.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    Toast: {\n      mask: {\n        alignItems: 'center',\n        justifyContent: 'center',\n        flexDirection: 'row',\n        flex: 1,\n        backgroundColor: (0, _mixin.rgba)(Variables['mask-bg-color'], Variables['mask-opacity'])\n      },\n      body: _extends({\n        alignItems: 'center',\n        justifyContent: 'center',\n        minWidth: Variables['min-width'],\n        maxWidth: Variables['max-width'],\n        minHeight: Variables['min-height'],\n        backgroundColor: (0, _mixin.rgba)(Variables['bg-color'], Variables.opacity),\n        borderRadius: Variables.corner\n      }, core.padding(Variables['padding-top-bottom'], Variables['padding-left-right']), {\n        alignSelf: 'center'\n      }),\n      'body-with-icon': {\n        minWidth: Variables['icon-min-width'],\n        maxWidth: Variables['icon-max-width'],\n        minHeight: Variables['icon-min-height']\n      },\n      iconfont: {\n        fontSize: Variables['icon-size'],\n        color: Variables['icon-color']\n      },\n      text: {\n        fontSize: Variables['font-size'],\n        color: Variables.color,\n        textAlign: 'center'\n      },\n      'text-with-icon': {\n        marginTop: Variables['icon-margin-bottom']\n      }\n    }\n  };\n}\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/Modal/styles/index.js?");

/***/ }),

/***/ "./lib/Modal/styles/mixin.js":
/*!***********************************!*\
  !*** ./lib/Modal/styles/mixin.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction hexToRgb(hex, opacity) {\n  // Expand shorthand form (e.g. \"03F\") to full form (e.g. \"0033FF\")\n  var shorthandRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n  hex = hex.replace(shorthandRegex, function (m, r, g, b) {\n    return r + r + g + g + b + b;\n  });\n\n  var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n  if (!result) return null;\n\n  return {\n\n    r: parseInt(result[1], 16),\n    g: parseInt(result[2], 16),\n    b: parseInt(result[3], 16)\n  };\n}\nfunction rgba(hex, opacity) {\n  var result = hexToRgb(hex);\n  if (!result) return null;\n\n  return \"rgba(\" + result.r + \",\" + result.g + \",\" + result.b + \",\" + opacity + \")\";\n}\n\nmodule.exports = {\n  rgba: rgba\n};\n\n//# sourceURL=webpack:///./lib/Modal/styles/mixin.js?");

/***/ }),

/***/ "./lib/Modal/styles/variable.js":
/*!**************************************!*\
  !*** ./lib/Modal/styles/variable.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _nukeCore = __webpack_require__(/*! ../../Core/index.js */ \"./lib/Core/index.js\");\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.Toast;\n\n  var modalCustomToastMaskBgColor = (0, _nukeCore.vLoader)(core['color-black']);\n  // / background\n  // / @namespace statement\n  var modalCustomToastBgColor = (0, _nukeCore.vLoader)(core['color-black']);\n\n  // / text\n  // / @namespace statement\n  var modalCustomToastColor = (0, _nukeCore.vLoader)(core['color-white']);\n\n  // / padding(l/r)\n  // / @namespace size/bounding\n  var modalCustomToastPaddingLeftRight = (0, _nukeCore.vLoader)(core.s3);\n\n  // / padding(t,b)\n  // / @namespace size/bounding\n  var modalCustomToastPaddingTopBottom = (0, _nukeCore.vLoader)(core.s4);\n\n  // / text\n  // / @namespace size/text\n  var modalCustomToastFontSize = (0, _nukeCore.vLoader)(core['font-size-caption']);\n\n  // / margin(b)\n  // / @namespace size/icon\n  var modalCustomToastIconMarginBottom = (0, _nukeCore.vLoader)(core.s3);\n\n  // / corner\n  // / @namespace statement\n  var modalCustomToastCorner = (0, _nukeCore.vLoader)(core['corner-1']);\n\n  // / size\n  // / @namespace size/icon\n  var modalCustomToastIconSize = (0, _nukeCore.vLoader)(core['icon-l']);\n\n  // / icon-color\n  // / @namespace statement\n  var modalCustomToastIconColor = (0, _nukeCore.vLoader)(core['color-white']);\n\n  // / opacity\n  // / @namespace statement\n  var modalCustomToastOpacity = (0, _nukeCore.vLoader)('.7');\n\n  // / mask-opacity\n  // / @namespace statement\n  var modalCustomToastMaskOpacity = (0, _nukeCore.vLoader)('0');\n\n  // / min width\n  // / @namespace size\n  var modalCustomToastMinWidth = (0, _nukeCore.vLoader)(200);\n\n  // / max width\n  // / @namespace size\n  var modalCustomToastMaxWidth = (0, _nukeCore.vLoader)(320);\n\n  // / min height\n  // / @namespace size\n  var modalCustomToastMinHeight = (0, _nukeCore.vLoader)(core.s15);\n\n  // / min width\n  // / @namespace size\n  var modalCustomToastIconMinWidth = (0, _nukeCore.vLoader)(200);\n\n  // / max width\n  // / @namespace size\n  var modalCustomToastIconMaxWidth = (0, _nukeCore.vLoader)(240);\n\n  // / min height\n  // / @namespace size\n  var modalCustomToastIconMinHeight = (0, _nukeCore.vLoader)(core.s15);\n  // / align\n  // / @namespace statement\n  var modalCustomToastAlign = (0, _nukeCore.vLoader)('center');\n\n  var toastVariables = {\n    'mask-bg-color': modalCustomToastMaskBgColor,\n    'bg-color': modalCustomToastBgColor,\n    color: modalCustomToastColor,\n    'padding-left-right': modalCustomToastPaddingLeftRight,\n    'padding-top-bottom': modalCustomToastPaddingTopBottom,\n    'font-size': modalCustomToastFontSize,\n    'icon-margin-bottom': modalCustomToastIconMarginBottom,\n    corner: modalCustomToastCorner,\n    'icon-size': modalCustomToastIconSize,\n    'icon-color': modalCustomToastIconColor,\n    opacity: modalCustomToastOpacity,\n    'mask-opacity': modalCustomToastMaskOpacity,\n    'min-width': modalCustomToastMinWidth,\n    'max-width': modalCustomToastMaxWidth,\n    'min-height': modalCustomToastMinHeight,\n    'icon-min-width': modalCustomToastIconMinWidth,\n    'icon-max-width': modalCustomToastIconMaxWidth,\n    'icon-min-height': modalCustomToastIconMinHeight,\n    align: modalCustomToastAlign\n  };\n  return _extends({}, toastVariables, ComponentCustomStyle);\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Modal/styles/variable.js?");

/***/ }),

/***/ "./lib/Modal/view/alert.js":
/*!*********************************!*\
  !*** ./lib/Modal/view/alert.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = Alert;\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction Alert(message, callbackOrButtons) {\n  var okTitle = void 0;\n  var okCallback = void 0;\n  if (typeof callbackOrButtons === 'function') {\n    okCallback = callbackOrButtons;\n  } else if (callbackOrButtons && callbackOrButtons[0]) {\n    callbackOrButtons.forEach(function (btn, index) {\n      var callback = btn.onPress;\n      var text = btn.text;\n      if (index === 0) {\n        okTitle = text;\n        okCallback = callback;\n      }\n    });\n  }\n\n  if (_nukeEnv.isWeex) {\n    var Modal = __webpack_require__(/*! @weex-module/modal */ \"@weex-module/modal\");\n    if (Modal.alert) {\n      Modal.alert({\n        message: message,\n        okTitle: okTitle\n      }, okCallback);\n    }\n  } else {\n    alert(message);\n    okCallback && okCallback();\n  }\n} /** @jsx createElement */\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Modal/view/alert.js?");

/***/ }),

/***/ "./lib/Modal/view/confirm.js":
/*!***********************************!*\
  !*** ./lib/Modal/view/confirm.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = Confirm;\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction Confirm(message, callbackOrButtons) {\n  var okTitle = void 0;\n  var okCallback = void 0;\n  var cancelCallback = void 0;\n  var cancelTitle = void 0;\n  if (typeof callbackOrButtons === 'function') {\n    okCallback = callbackOrButtons;\n  } else if (callbackOrButtons && callbackOrButtons[0]) {\n    callbackOrButtons.forEach(function (btn, index) {\n      var callback = btn.onPress;\n      var text = btn.text;\n      if (index === 0) {\n        okTitle = text;\n        okCallback = callback;\n      } else {\n        cancelTitle = text;\n        cancelCallback = callback;\n      }\n    });\n  }\n\n  if (_nukeEnv.isWeex) {\n    var Modal = __webpack_require__(/*! @weex-module/modal */ \"@weex-module/modal\");\n    okTitle = okTitle || 'OK';\n    cancelTitle = cancelTitle || 'Cancel';\n    if (Modal.confirm) {\n      Modal.confirm({\n        message: message,\n        okTitle: okTitle,\n        cancelTitle: cancelTitle\n      }, function (ret) {\n        if (ret === okTitle) {\n          okCallback && okCallback(ret);\n        } else {\n          cancelCallback && cancelCallback();\n        }\n      });\n    }\n  } else {\n    var ret = confirm(message);\n    if (ret) {\n      okCallback && okCallback(ret);\n    } else {\n      cancelCallback && cancelCallback();\n    }\n  }\n} /** @jsx createElement */\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Modal/view/confirm.js?");

/***/ }),

/***/ "./lib/Modal/view/custom-toast.js":
/*!****************************************!*\
  !*** ./lib/Modal/view/custom-toast.js ***!
  \****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nexports.default = show;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _toastComponent = __webpack_require__(/*! ./toast-component.js */ \"./lib/Modal/view/toast-component.js\");\n\nvar _toastComponent2 = _interopRequireDefault(_toastComponent);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } /** @jsx createElement */\n\n\nfunction show(options, duration) {\n  var node = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n  var message = options.message,\n      icon = options.icon,\n      others = _objectWithoutProperties(options, ['message', 'icon']);\n\n  if (_nukeEnv.isWeb) {\n    var afterCloseCallback = function afterCloseCallback() {\n      if (container) {\n        (0, _rax.unmountComponentAtNode)(container);\n        document.body.removeChild(container);\n        container = MaskInstance = null;\n      }\n    };\n\n    var ToastInnerComponent = (0, _rax.createElement)(_toastComponent2.default, _extends({ message: message, icon: icon, duration: duration }, others, { onClose: afterCloseCallback }));\n\n    var container = void 0,\n        MaskInstance = void 0,\n        wrapId = '_nuke_wrap';\n    container = document.getElementById(wrapId);\n    if (!container) {\n      container = document.createElement('div');\n      container.setAttribute('id', wrapId);\n      container.setAttribute('style', 'position:absolute;top:0;left:0;width:100%;height:100%;display:flex;');\n      document.body.appendChild(container);\n      container = document.getElementById(wrapId);\n    }\n    (0, _rax.render)(ToastInnerComponent, (0, _rax.findDOMNode)(document.getElementById(wrapId)), function () {\n      MaskInstance = this;\n    });\n  }\n}\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Modal/view/custom-toast.js?");

/***/ }),

/***/ "./lib/Modal/view/prompt.js":
/*!**********************************!*\
  !*** ./lib/Modal/view/prompt.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = Prompt;\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction Prompt(message, callbackOrButtons) {\n  var okTitle = void 0;\n  var okCallback = void 0;\n  var cancelCallback = void 0;\n  var cancelTitle = void 0;\n  if (typeof callbackOrButtons === 'function') {\n    okCallback = callbackOrButtons;\n  } else if (callbackOrButtons && callbackOrButtons[0]) {\n    callbackOrButtons.forEach(function (btn, index) {\n      var callback = btn.onPress;\n      var text = btn.text;\n      if (index === 0) {\n        okTitle = text;\n        okCallback = callback;\n      } else {\n        cancelTitle = text;\n        cancelCallback = callback;\n      }\n    });\n  }\n\n  if (_nukeEnv.isWeex) {\n    okTitle = okTitle || 'OK';\n    cancelTitle = cancelTitle || 'Cancel';\n    var modal = __webpack_require__(/*! @weex-module/modal */ \"@weex-module/modal\");\n    modal.prompt({\n      message: message,\n      okTitle: okTitle,\n      cancelTitle: cancelTitle\n    }, function (ret) {\n      if (ret.result === okTitle) {\n        okCallback && okCallback(ret);\n      } else {\n        cancelCallback && cancelCallback();\n      }\n    });\n  } else {\n    var ret = prompt(message);\n    if (ret) {\n      okCallback && okCallback(ret);\n    } else {\n      cancelCallback && cancelCallback();\n    }\n  }\n} /** @jsx createElement */\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Modal/view/prompt.js?");

/***/ }),

/***/ "./lib/Modal/view/toast-component.js":
/*!*******************************************!*\
  !*** ./lib/Modal/view/toast-component.js ***!
  \*******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeIcon = __webpack_require__(/*! ../../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Modal/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n\nvar Toast = function (_Component) {\n  _inherits(Toast, _Component);\n\n  function Toast() {\n    _classCallCheck(this, Toast);\n\n    var _this = _possibleConstructorReturn(this, (Toast.__proto__ || Object.getPrototypeOf(Toast)).call(this));\n\n    _this.timer = null;\n    _this.state = {\n      visible: true\n    };\n    _this.displayName = 'Toast';\n    return _this;\n  }\n\n  _createClass(Toast, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {}\n  }, {\n    key: 'shouldComponentUpdate',\n    value: function shouldComponentUpdate() {\n      if (_nukeEnv.isWeex) {\n        return true;\n      }\n      return false;\n    }\n  }, {\n    key: 'getIcon',\n    value: function getIcon() {\n      var _props = this.props,\n          message = _props.message,\n          icon = _props.icon,\n          others = _props.others;\n\n      var styles = this.props.themeStyle;\n      if (!icon) return;\n      if (icon.name) {\n        return (0, _rax.createElement)(_nukeIcon2.default, { size: 'large', style: [styles.iconfont, icon.style], name: icon.name });\n      }\n      return (0, _rax.createElement)(_nukeIcon2.default, { style: icon.style, src: icon.source });\n    }\n    // 启动这计时器\n\n  }, {\n    key: 'startTimer',\n    value: function startTimer() {\n      var that = this;\n\n      // 先清掉计时器\n      clearTimeout(that.timer);\n\n      var duration = that.props.duration;\n      if (duration <= 0) return;\n\n      that.timer = setTimeout(function () {\n        that.setState({ visible: false });\n        that.props.onClose && that.props.onClose();\n      }, duration);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      this.startTimer();\n      var _props2 = this.props,\n          message = _props2.message,\n          icon = _props2.icon,\n          others = _props2.others;\n\n      var styles = this.props.themeStyle;\n      var bodyStyle = Object.assign({}, styles.body, icon ? styles['body-with-icon'] : {});\n      // console.log(bodyStyle);\n      return this.state.visible ? (0, _rax.createElement)(\n        _nukeView2.default,\n        _extends({ style: styles.mask }, others),\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: bodyStyle },\n          this.getIcon(),\n          (0, _rax.createElement)(\n            _nukeText2.default,\n            { style: [styles.text, icon ? styles['text-with-icon'] : {}] },\n            message\n          )\n        )\n      ) : null;\n    }\n  }]);\n\n  return Toast;\n}(_rax.Component);\n\nToast.propTypes = {\n  // 持续时间, 如果<=0表示一直存在\n  duration: _rax.PropTypes.number,\n  // 是否显示\n  visible: _rax.PropTypes.bool,\n  defaultVisible: _rax.PropTypes.bool,\n  onClose: _rax.PropTypes.func\n};\n\nToast.defaultProps = {\n  duration: 0,\n  hasMask: false\n};\nvar StyledToast = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Toast);\n\nexports.default = StyledToast;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Modal/view/toast-component.js?");

/***/ }),

/***/ "./lib/Modal/view/toast.js":
/*!*********************************!*\
  !*** ./lib/Modal/view/toast.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _customToast = __webpack_require__(/*! ./custom-toast.js */ \"./lib/Modal/view/custom-toast.js\");\n\nvar _customToast2 = _interopRequireDefault(_customToast);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar durationObj = {\n  LONG: 3500,\n  SHORT: 2000\n};\nvar styles = {\n  toastContainer: {\n    backgroundColor: 'rgba(0,0,0,0.7)',\n    boxSizing: 'border-box',\n    maxWidth: '80%',\n    opacity: 1,\n    color: ' #ffffff',\n    padding: '4px 8px',\n    position: 'fixed',\n    left: '50%',\n    bottom: '50%',\n    fontSize: '14px',\n    height: 'auto',\n    lineHeight: '18px',\n    borderRadius: '2px',\n    textAlign: 'center',\n    transition: 'all 0.4s ease-in-out',\n    '-webkit-transition': 'all 0.4s ease-in-out',\n    transform: 'translateX(-50%)',\n    '-webkit-transform': 'translateX(-50%)',\n    'z-index': 9999\n  }\n};\nvar queue = [];\nvar isProcessing = false;\nvar toastWin = void 0;\n\nfunction showToastWindow(message, durationTime, cb, containerStyle) {\n  if (!toastWin) {\n    toastWin = document.createElement('div');\n\n    for (var key in containerStyle) {\n      toastWin.style[key] = containerStyle[key];\n    }\n    document.body.appendChild(toastWin);\n  }\n  toastWin.innerHTML = message;\n  setTimeout(function () {\n    // document.body.remove(toastWin);\n    toastWin.parentNode.removeChild(toastWin);\n    toastWin = null;\n    cb();\n    // }, 1000000);\n  }, durationTime);\n}\n\nvar toast = {\n  push: function push(message, durationTime, containerStyle) {\n    queue.push({\n      message: message,\n      durationTime: durationTime,\n      containerStyle: containerStyle\n    });\n    this.show(durationTime, containerStyle);\n  },\n  show: function show(durationTime, containerStyle) {\n    var self = this;\n    // All messages had been toasted already, so remove the toast window,\n    if (!queue.length) {\n      if (toastWin) {\n        toastWin.parentNode.removeChild(toastWin);\n      }\n      toastWin = null;\n      return;\n    }\n\n    // the previous toast is not ended yet.\n    if (isProcessing) {\n      return;\n    }\n    isProcessing = true;\n\n    var toastInfo = queue.shift();\n\n    showToastWindow(toastInfo.message, durationTime, function () {\n      isProcessing = false;\n      if (queue.length) {\n        self.show(durationTime, containerStyle);\n      }\n    }, containerStyle);\n  }\n};\n\nfunction Toast(message) {\n  var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'SHORT';\n  var userStyle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n  var durationTime = duration ? durationObj[duration] : durationObj.SHORT;\n\n  if ((typeof message === 'undefined' ? 'undefined' : _typeof(message)) === 'object') {\n    // 自定义用法 todo  in weex\n    // return newToast(message,Number(durationTime),userStyle);\n    return (0, _customToast2.default)(message, Number(durationTime));\n  }\n  var containerStyle = Object.assign({}, styles.toastContainer, userStyle);\n  // console.log(containerStyle);\n  if (_nukeEnv.isWeex) {\n    // let moduleName = '@weex-module/modal';\n    var weexModal = __webpack_require__(/*! @weex-module/modal */ \"@weex-module/modal\");\n\n    if (weexModal.toast) {\n      weexModal.toast({\n        message: message,\n        duration: Number(durationTime) / 1000\n      });\n    }\n  } else {\n    toast.push(message, durationTime, containerStyle);\n  }\n}\n\nexports.default = Toast;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Modal/view/toast.js?");

/***/ }),

/***/ "./lib/Navigator/index.js":
/*!********************************!*\
  !*** ./lib/Navigator/index.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeUtil = __webpack_require__(/*! ../Util/index.js */ \"./lib/Util/index.js\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar Navigator = {\n  setTitle: function setTitle(title) {\n    if (_nukeEnv.isWeex) {\n      var navigator = __webpack_require__(/*! @weex-module/navigator */ \"@weex-module/navigator\");\n      try {\n        navigator.setTitle({ title: title }, function () {});\n      } catch (e) {\n        document.title = title;\n      }\n    }\n  },\n  convertURL: function convertURL(url) {\n    if (url.indexOf('qap://') > -1) {\n      var options = {\n        refer: window.location.href\n      };\n      if (typeof window.__QAP__ !== 'undefined' && __QAP__.package && __QAP__.package.config && __QAP__.package.config.WebRootPath) {\n        options.webRootPath = __QAP__.package.config.WebRootPath;\n      }\n      url = (0, _nukeUtil.urlHandler)(url, options);\n    }\n    return url;\n  },\n  isEmpty: function isEmpty(obj) {\n    for (var key in obj) {\n      if (hasOwnProperty.call(obj, key)) {\n        return false;\n      }\n    }\n    return true;\n  },\n  serialize: function serialize(url, obj) {\n    if (this.isEmpty(obj)) {\n      return url;\n    }\n    var str = '';\n    for (var p in obj) {\n      str = '&' + p + '=' + encodeURIComponent(obj[p]);\n    }\n    if (_nukeUtil.urlHelper.urlParse(url).search.length > 0) {\n      url = str ? '' + url + str : url;\n    } else {\n      url = str ? url + '?' + str.substring(1) : url;\n    }\n    return url;\n  },\n  push: function push(url, title) {\n    var animated = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n    var param = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n    var callback = arguments[4];\n\n    if (_nukeEnv.isWeex) {\n      var navigator = __webpack_require__(/*! @weex-module/navigator */ \"@weex-module/navigator\");\n      try {\n        navigator.push(_extends({\n          url: url,\n          title: title\n        }, param), function (e) {\n          callback && callback(e);\n        });\n      } catch (e) {\n        callback && callback(e);\n      }\n    } else {\n      url = this.convertURL(url);\n\n      if (url) {\n        if (param.target && param.target === '_blank') {\n          delete param.target;\n          window.open(this.serialize(url, param), '_blank');\n        } else {\n          window.location.href = this.serialize(url, param);\n        }\n      }\n    }\n  },\n  pop: function pop() {\n    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { animation: 'true' };\n    var callback = arguments[1];\n\n    if (_nukeEnv.isWeex) {\n      var navigator = __webpack_require__(/*! @weex-module/navigator */ \"@weex-module/navigator\");\n      try {\n        navigator.pop(options, function (e) {\n          callback && callback(e);\n        });\n      } catch (e) {\n        callback && callback(e);\n      }\n    } else {\n      window.history.back();\n    }\n  }\n};\nexports.default = Navigator;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Navigator/index.js?");

/***/ }),

/***/ "./lib/NormalInput/index.js":
/*!**********************************!*\
  !*** ./lib/NormalInput/index.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _normal = __webpack_require__(/*! ./view/normal.js */ \"./lib/NormalInput/view/normal.js\");\n\nvar _normal2 = _interopRequireDefault(_normal);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _normal2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/NormalInput/index.js?");

/***/ }),

/***/ "./lib/NormalInput/styles/index.js":
/*!*****************************************!*\
  !*** ./lib/NormalInput/styles/index.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/NormalInput/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n\n  return {\n    Input: {\n      'input-wrap': {},\n      'input-inner': {\n        flex: 1\n      },\n      'single-wrap': _extends({\n        borderRadius: Variables['single-radius'],\n        borderColor: Variables['single-line-color'],\n        borderWidth: Variables['line-width'],\n        borderStyle: Variables['border-style'],\n        backgroundColor: Variables['bg-color'],\n        height: Variables['single-height']\n      }, core.padding(0, Variables['single-padding-left-right'])),\n      'single-disabled': {\n        borderColor: Variables['disabled-line-color'],\n        backgroundColor: Variables['disabled-bg-color']\n      },\n      'single-disabled-input': {\n        color: Variables['disabled-color']\n      },\n      'multiple-wrap': {\n        borderWidth: Variables['line-width'],\n        borderStyle: Variables.borderStyle,\n        borderColor: Variables['multiple-border-color'],\n        borderRadius: Variables['multiple-radius'],\n        backgroundColor: Variables['bg-color'],\n        height: Variables['multiple-height'],\n        padding: Variables['multiple-padding']\n      },\n\n      'multiple-disabled': {\n        backgroundColor: Variables['disabled-bg-color']\n      },\n\n      'multiple-disabled-input': {\n        backgroundColor: Variables['disabled-bg-color'],\n        color: Variables['disabled-color']\n      },\n\n      'single-input': {\n        backgroundColor: 'transparent',\n        color: Variables['single-color'],\n        height: Variables['single-height'],\n        lineHeight: Variables['single-height'],\n        fontSize: Variables['single-font-size']\n      },\n\n      readonly: {\n        color: Variables['readonly-color']\n      },\n\n      'multiple-input': {\n        fontSize: Variables['multiple-font-size']\n      },\n\n      'static-placeholder': {\n        paddingTop: 0\n      },\n\n      'input-ele': {\n        borderTopWidth: 0,\n        borderBottomWidth: 0,\n        borderLeftWidth: 0,\n        borderRightWidth: 0,\n        paddingLeft: 0,\n        paddingRight: 0\n      },\n      'input-has-clear': {\n        paddingRight: 36\n      },\n\n      'web-normalize': {\n        webkitAppearance: 'none',\n        outline: 'none',\n        boxSizing: 'border-box',\n        width: '100%',\n        border: 'none',\n        resize: 'none',\n        zIndex: 1\n      },\n      'single-count-wrap': {\n        // position: 'absolute',\n        alignSelf: 'flex-end',\n        // bottom: Variables['single-count-bottom'],\n        // right: Variables['single-count-right'],\n        maxWidth: Variables['single-count-min-width']\n        // flexDirection: 'row',\n        // justifyContent: 'flex-end',\n        // backgroundColor: 'red'\n      },\n      'single-count-text': {\n        flex: 1,\n        textAlign: 'right',\n        fontSize: Variables['count-font-size'],\n        color: Variables['count-color']\n      },\n      'count-error': {\n        color: Variables['count-error-color']\n      },\n      'multiple-count-wrap': {\n        alignSelf: 'flex-end',\n        // position: 'absolute',\n        // bottom: Variables['multiple-count-bottom'],\n        // right: Variables['multiple-count-right'],\n        maxWidth: Variables['multiple-count-min-width']\n        // flexDirection: 'row',\n        // justifyContent: 'flex-end',\n        // backgroundColor: 'red'\n      },\n      'multiple-count-text': {\n        flex: 1,\n        textAlign: 'right',\n        fontSize: Variables['count-font-size'],\n        color: Variables['count-color']\n      },\n\n      // 'clear-image': {\n      //   width: Variables['clear-width'],\n      //   height: Variables['clear-height'],\n      // },\n      'icon-image': {\n        width: Variables['icon-width'],\n        height: Variables['icon-height']\n      },\n\n      help: {\n        minHeight: Variables['error-height'],\n        justifyContent: 'center'\n      },\n      clear: {\n        width: Variables['clear-width'],\n        fontSize: Variables['clear-font-size'],\n        color: Variables['clear-color'],\n        height: Variables['clear-height'],\n        position: 'absolute',\n        top: Variables['clear-top'],\n        right: Variables['clear-right'],\n        zIndex: 2 // for web\n      },\n      icon: {\n        width: Variables['icon-width'],\n        height: Variables['icon-height'],\n        position: 'absolute',\n        top: Variables['icon-top'],\n        right: Variables['icon-right'],\n        zIndex: 2 // for web\n      },\n      'error-text': {\n        color: Variables['error-text-color'],\n        lineHeight: Variables['error-text-line-height'],\n        // justifyContent: 'center',\n        fontSize: Variables['error-text-font-size'],\n        paddingTop: Variables['error-text-padding-top']\n      },\n      'error-input-wrap': {\n        borderColor: Variables['error-border-color']\n      },\n      'focus-input-wrap': {\n        borderColor: Variables['focus-border-color']\n      },\n      warning: {\n        width: Variables['warning-width'],\n        height: Variables['warning-height'],\n        position: 'absolute',\n        bottom: Variables['warning-bottom'],\n        right: Variables['warning-right']\n      },\n\n      'text-for-height': {\n        position: 'absolute',\n        top: 10,\n        left: 10,\n        fontSize: Variables['multiple-font-size'],\n        lineHeight: 36,\n        // color: 'red',\n        visibility: 'hidden'\n      },\n\n      placeholder: _extends({\n        position: 'absolute',\n        // width: '90%',\n        flexDirection: 'row',\n        left: 0,\n        top: Variables['placeholder-top'],\n        justifyContent: 'flex-start',\n        alignItems: 'center',\n        minWidth: Variables['placeholder-min-width'],\n        height: Variables['placeholder-height']\n      }, core.padding(0, 0)),\n      'placeholder-text': {\n        color: Variables['placeholder-color'],\n        fontSize: Variables['placeholder-font-size']\n      }\n    }\n  };\n}\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/NormalInput/styles/index.js?");

/***/ }),

/***/ "./lib/NormalInput/styles/variable.js":
/*!********************************************!*\
  !*** ./lib/NormalInput/styles/variable.js ***!
  \********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.Input || {};\n  /**\n   * 输入框\n   * @namespace component\n   * @property module input\n   * @property tag Input\n   * @property category component\n   */\n  var inputVariables = {\n    /**\n     * background\n     * @property namespace statement\n     */\n    'bg-color': core['color-white'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'disabled-bg-color': core['color-fill1-3'],\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'disabled-line-color': core['color-line1-1'],\n    /**\n     * text\n     * @property namespace statement/disabled\n     */\n    'disabled-color': core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement\n     */\n    'border-color': core['color-line1-2'],\n    /**\n     * border-style\n     * @property namespace statement\n     */\n    'border-style': core['line-solid'],\n    /**\n     * border\n     * @property namespace statement\n     */\n    'line-width': core['line-1'],\n    /**\n     * height\n     * @property namespace size/bouncing\n     */\n    'single-height': core['s-10'],\n    /**\n     * text\n     * @property namespace size/text\n     */\n    'single-font-size': core['font-size-body-3'],\n    /**\n     * text\n     * @property namespace statement\n     */\n    'single-readonly-color': core['color-text1-2'],\n    /**\n     * text\n     * @property namespace statement/placeholder\n     */\n    'placeholder-color': core['color-text1-2'],\n\n    /**\n     * text\n     * @property namespace size/placeholder\n     */\n    'placeholder-font-size': core['font-size-subhead'],\n    /**\n     * height\n     * @property namespace size/placeholder\n     */\n    'placeholder-height': core['s-6'],\n    /**\n     * min-width\n     * @property namespace size/placeholder\n     */\n    'placeholder-min-width': 200,\n    /**\n     * top\n     * @property namespace size/placeholder\n     */\n    'placeholder-top': 10,\n    /**\n     * padding(l, r)\n     * @property namespace size/bouncing\n     */\n    'single-padding-left-right': 20,\n    /**\n     * corner\n     * @property namespace statement\n     */\n    'single-radius': core['corner-1'],\n    /**\n     * text\n     * @property namespace statement\n     */\n    'single-color': core['color-text1-4'],\n    /**\n     * border\n     * @property namespace statement\n     */\n    'single-line-color': core['color-line1-2'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'multiple-height': core['s-20'],\n    /**\n     * text\n     * @property namespace size/text\n     */\n    'multiple-font-size': core['font-size-body-3'],\n    /**\n     * padding\n     * @property namespace size/bounding\n     */\n    'multiple-inset-padding': core['s-1'],\n    /**\n     * text\n     * @property namespace statement\n     */\n    'multiple-inset-color': core['color-text1-4'],\n    /**\n     * padding(l, r)\n     * @property namespace size/bouncing\n     */\n    'multiple-padding': core['s-1'],\n    /**\n     * corner\n     * @property namespace statement\n     */\n    'multiple-radius': core['corner-0'],\n    /**\n     * text\n     * @property namespace statement\n     */\n    'multiple-color': core['color-text1-4'],\n    /**\n     * border\n     * @property namespace statement\n     */\n    'multiple-border-color': core['color-line1-2'],\n    /**\n     * bottom\n     * @property namespace size/count\n     */\n    'single-count-bottom': 14,\n    /**\n     * right\n     * @property namespace size/count\n     */\n    'single-count-right': 10,\n    /**\n     * min-width\n     * @property namespace size/count\n     */\n    'single-count-min-width': 200,\n    /**\n     * text\n     * @property namespace statement/count\n     */\n    'count-color': core['color-text1-1'],\n    /**\n     * text\n     * @property namespace statement/count\n     */\n    'count-font-size': core['font-size-caption'],\n    /**\n     * text\n     * @property namespace statement/count\n     */\n    'count-error-color': core['color-error-3'],\n    /**\n     * bottom\n     * @property namespace size/count\n     */\n    'multiple-count-bottom': 16,\n    /**\n     * right\n     * @property namespace size/count\n     */\n    'multiple-count-right': 10,\n    /**\n     * min-width\n     * @property namespace size/count\n     */\n    'multiple-count-min-width': 200,\n    /**\n     * height\n     * @property namespace size/error\n     */\n    'error-height': core['s-6'],\n    /**\n     * text\n     * @property namespace statement/error\n     */\n    'error-text-color': core['color-error-3'],\n    /**\n     * lineHeight\n     * @property namespace size/error\n     */\n    'error-text-line-height': core['s-6'],\n    /**\n     * text\n     * @property namespace size/error\n     */\n    'error-text-font-size': core['font-size-caption'],\n    /**\n     * padding(t)\n     * @property namespace size/error\n     */\n    'error-text-padding-top': 6,\n    /**\n     * border\n     * @property namespace statement/error\n     */\n    'error-border-color': core['color-error-3'],\n    /**\n     * border\n     * @property namespace statement/focus\n     */\n    'focus-border-color': core['color-brand1-6'],\n    /**\n     * font-size\n     * @property namespace statement/clear\n     */\n    'clear-font-size': 48,\n    /**\n     * color\n     * @property namespace statement/clear\n     */\n    'clear-color': core['color-text1-1'],\n    /**\n     * width\n     * @property namespace size/clear\n     */\n    'clear-width': 50,\n    /**\n     * height\n     * @property namespace size/clear\n     */\n    'clear-height': 50,\n    /**\n     * top\n     * @property namespace size/clear\n     */\n    'clear-top': 16,\n    /**\n     * right\n     * @property namespace size/clear\n     */\n    'clear-right': 20,\n    /**\n     * width\n     * @property namespace size/icon\n     */\n    'icon-width': 34,\n    /**\n     * height\n     * @property namespace size/icon\n     */\n    'icon-height': 34,\n    /**\n     * top\n     * @property namespace size/icon\n     */\n    'icon-top': 26,\n    /**\n     * right\n     * @property namespace size/icon\n     */\n    'icon-right': 20,\n    /**\n     * width\n     * @property namespace size/warning\n     */\n    'warning-width': 38,\n    /**\n     * height\n     * @property namespace size/warning\n     */\n    'warning-height': 38,\n    /**\n     * bottom\n     * @property namespace size/warning\n     */\n    'warning-bottom': 6,\n    /**\n     * right\n     * @property namespace size/warning\n     */\n    'warning-right': 4\n  };\n  // should alway use var statement to carray a assigngg\n  var variable = Object.assign(inputVariables, ComponentCustomStyle);\n  return variable;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/NormalInput/styles/variable.js?");

/***/ }),

/***/ "./lib/NormalInput/view/normal.js":
/*!****************************************!*\
  !*** ./lib/NormalInput/view/normal.js ***!
  \****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeImage = __webpack_require__(/*! ../../Image/index.js */ \"./lib/Image/index.js\");\n\nvar _nukeImage2 = _interopRequireDefault(_nukeImage);\n\nvar _nukeIcon = __webpack_require__(/*! ../../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _nukeBaseInput = __webpack_require__(/*! ../../BaseInput/index.js */ \"./lib/BaseInput/index.js\");\n\nvar _nukeBaseInput2 = _interopRequireDefault(_nukeBaseInput);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/NormalInput/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar NormalInput = function (_Component) {\n  _inherits(NormalInput, _Component);\n\n  function NormalInput(props, context) {\n    _classCallCheck(this, NormalInput);\n\n    var _this = _possibleConstructorReturn(this, (NormalInput.__proto__ || Object.getPrototypeOf(NormalInput)).call(this, props));\n\n    var value = null;\n    if ('value' in props) {\n      value = props.value;\n    } else if ('defaultValue' in props) {\n      value = props.defaultValue;\n    }\n    var count = value && value.length || 0;\n    _this.state = {\n      value: value,\n      inputValue: value,\n      count: value && value.length || 0,\n      maxLengthError: count > props.maxLength\n    };\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    ['inputHandler', 'changeHander', 'clearHandler', 'focusHandler', 'blurHandler', 'getRef', 'getValue', 'focus', 'blur', 'clear'].forEach(function (m) {\n      _this[m] = _this[m].bind(_this);\n    });\n    return _this;\n  }\n\n  _createClass(NormalInput, [{\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      if ('value' in nextProps && (typeof nextProps.value === 'string' || typeof nextProps.value === 'number') && nextProps.value !== this.state.inputValue) {\n        this.setState({\n          value: nextProps.value,\n          inputValue: nextProps.value,\n          count: nextProps.value.length,\n          maxLengthError: nextProps.value.length > this.props.maxLength\n        });\n      }\n    }\n  }, {\n    key: 'getInput',\n    value: function getInput() {\n      var _this2 = this;\n\n      var _props = this.props,\n          readOnly = _props.readOnly,\n          disabled = _props.disabled,\n          onInput = _props.onInput,\n          onChange = _props.onChange,\n          _props$inputStyle = _props.inputStyle,\n          inputStyle = _props$inputStyle === undefined ? {} : _props$inputStyle,\n          hasClear = _props.hasClear,\n          rows = _props.rows,\n          multiple = _props.multiple,\n          others = _objectWithoutProperties(_props, ['readOnly', 'disabled', 'onInput', 'onChange', 'inputStyle', 'hasClear', 'rows', 'multiple']);\n\n      var value = this.state.value;\n\n      var styles = this.props.themeStyle;\n\n      var inputAttrs = _extends({}, others, {\n        value: typeof value !== null ? value : null,\n        readOnly: readOnly,\n        multiple: multiple,\n        style: Object.assign({}, styles['input-ele'], hasClear ? styles['input-has-clear'] : null, multiple ? styles['multiple-input'] : styles['single-input'], inputStyle),\n        onInput: this.inputHandler,\n        onChange: this.changeHander,\n        onFocus: this.focusHandler,\n        onBlur: this.blurHandler,\n        disabled: disabled\n      });\n      if (_nukeEnv.isWeex) {\n        // 如果是多行文本,添加 returnKeyType 会导致无法换行\n        if (multiple && !this.props.onReturn) {\n          delete inputAttrs.onReturn;\n          delete inputAttrs.returnKeyType;\n        }\n      } else if (!disabled) {\n        delete inputAttrs.disabled;\n      }\n\n      if (multiple) {\n        inputAttrs.rows = rows || 3;\n      }\n      _nukeHelper.textKeys.map(function (item) {\n        if (styles[item]) {\n          inputAttrs.style[item] = styles[item];\n        }\n      });\n      return (0, _rax.createElement)(_nukeBaseInput2.default, _extends({\n        fixedFont: this.fixedFont\n      }, inputAttrs, {\n        ref: function ref(n) {\n          _this2.input = n;\n        }\n      }));\n    }\n  }, {\n    key: 'clear',\n    value: function clear() {\n      this.setState({\n        value: '',\n        count: 0\n      });\n    }\n  }, {\n    key: 'clearHandler',\n    value: function clearHandler(e) {\n      this.setState({\n        value: this.state.inputValue\n      });\n      this.setState({\n        value: '',\n        inputValue: '',\n        count: 0\n      });\n\n      this.focus();\n      this.trigger('onClear', '');\n    }\n  }, {\n    key: 'focusHandler',\n    value: function focusHandler(e) {\n      this.setState({\n        focus: true\n      });\n      this.trigger('onFocus', e);\n    }\n  }, {\n    key: 'trigger',\n    value: function trigger(fn) {\n      if (typeof fn === 'string') fn = this.props[fn];\n      if (!(typeof fn === 'function')) return;\n\n      for (var _len = arguments.length, attrs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        attrs[_key - 1] = arguments[_key];\n      }\n\n      return fn.apply(this, attrs);\n    }\n  }, {\n    key: 'blurHandler',\n    value: function blurHandler(e) {\n      this.setState({\n        focus: false\n      });\n      this.trigger('onBlur', e);\n    }\n  }, {\n    key: 'focus',\n    value: function focus() {\n      this.input.focus();\n    }\n  }, {\n    key: 'getRef',\n    value: function getRef() {\n      return this.input.getRef();\n    }\n  }, {\n    key: 'blur',\n    value: function blur() {\n      this.input.blur();\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      return this.input.getValue();\n    }\n  }, {\n    key: 'changeHander',\n    value: function changeHander(text, eventObj) {\n      var maxLength = this.props.maxLength;\n\n      this.setState({\n        value: text,\n        inputValue: text,\n        count: text.length,\n        maxLengthError: text.length > maxLength\n      });\n      this.trigger('onChange', text, eventObj);\n    }\n  }, {\n    key: 'inputHandler',\n    value: function inputHandler(text, eventObj) {\n      var maxLength = this.props.maxLength;\n\n      this.setState({\n        inputValue: text,\n        count: text.length,\n        maxLengthError: text.length > maxLength\n      });\n      this.trigger('onInput', eventObj);\n    }\n  }, {\n    key: 'renderClear',\n    value: function renderClear(styles) {\n      var count = this.state.count;\n      var _props$clearIconStyle = this.props.clearIconStyle,\n          clearIconStyle = _props$clearIconStyle === undefined ? {} : _props$clearIconStyle;\n\n      return count ? (0, _rax.createElement)(_nukeIcon2.default, {\n        name: 'delete-fill',\n        onClick: this.clearHandler,\n        style: [styles.clear, clearIconStyle]\n      }) : null;\n    }\n  }, {\n    key: 'renderCustomIcon',\n    value: function renderCustomIcon(styles) {\n      var _props$icon = this.props.icon,\n          icon = _props$icon === undefined ? {} : _props$icon;\n      var uri = icon.uri,\n          _icon$onPress = icon.onPress,\n          onPress = _icon$onPress === undefined ? function () {} : _icon$onPress,\n          _icon$style = icon.style,\n          style = _icon$style === undefined ? {} : _icon$style;\n\n      if (!uri) return null;\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [styles.icon, style], onClick: onPress },\n        (0, _rax.createElement)(_nukeImage2.default, { source: { uri: uri }, style: [styles['icon-image'], style] })\n      );\n    }\n  }, {\n    key: 'renderCount',\n    value: function renderCount(styles) {\n      var _props2 = this.props,\n          maxLength = _props2.maxLength,\n          multiple = _props2.multiple,\n          renderCount = _props2.renderCount;\n      var maxLengthError = this.state.maxLengthError;\n\n      if (!maxLength || !renderCount) return null;\n\n      var count = this.state.count;\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        {\n          'data-role': 'count',\n          style: styles['' + (multiple ? 'multiple-count-wrap' : 'single-count-wrap')]\n        },\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          {\n            fixedFont: this.fixedFont,\n            style: [styles['' + (multiple ? 'multiple-count-text' : 'single-count-text')], maxLengthError ? styles['count-error'] : {}]\n          },\n          count,\n          ' / ',\n          maxLength\n        )\n      );\n    }\n  }, {\n    key: 'calcInputStyle',\n    value: function calcInputStyle() {\n      var _props3 = this.props,\n          readOnly = _props3.readOnly,\n          disabled = _props3.disabled,\n          _props3$style = _props3.style,\n          style = _props3$style === undefined ? {} : _props3$style,\n          hideErrorWhenFocus = _props3.hideErrorWhenFocus,\n          multiple = _props3.multiple,\n          status = _props3.status,\n          styles = _props3.themeStyle;\n      var _state = this.state,\n          focus = _state.focus,\n          maxLengthError = _state.maxLengthError;\n\n      var inputWrapperStyle = Object.assign({}, styles['input-wrap'], styles['' + (multiple ? 'multiple-wrap' : 'single-wrap')], readOnly ? styles.readonly : {}, status === 'error' ? styles['error-input-wrap'] : {}, focus ? styles['focus-input-wrap'] : {}, disabled ? styles[(multiple ? 'multiple' : 'single') + '-disabled'] : {});\n      if (status === 'error' && !hideErrorWhenFocus || maxLengthError) {\n        inputWrapperStyle = Object.assign(inputWrapperStyle, styles['error-input-wrap']);\n      }\n      if (disabled) {\n        inputWrapperStyle = Object.assign(inputWrapperStyle, styles[(multiple ? 'multiple' : 'single') + '-disabled']);\n      }\n      return _extends({}, inputWrapperStyle, style);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props4 = this.props,\n          renderCount = _props4.renderCount,\n          hasClear = _props4.hasClear,\n          status = _props4.status,\n          errorMessage = _props4.errorMessage;\n\n      var styles = this.props.themeStyle;\n      var focus = this.state.focus;\n\n\n      var inputWrapperStyle = this.calcInputStyle();\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { 'data-role': 'normal-wrap', style: inputWrapperStyle },\n        this.getInput(),\n        hasClear ? this.renderClear(styles) : null,\n        !hasClear ? this.renderCustomIcon(styles) : null,\n        status === 'error' && errorMessage || renderCount ? (0, _rax.createElement)(\n          _nukeView2.default,\n          { 'data-role': 'help', style: styles.help },\n          !focus && status === 'error' && errorMessage ? (0, _rax.createElement)(\n            _nukeText2.default,\n            { fixedFont: this.fixedFont, style: styles['error-text'] },\n            errorMessage\n          ) : null,\n          this.renderCount(styles)\n        ) : null\n      );\n    }\n  }]);\n\n  return NormalInput;\n}(_rax.Component);\n\nNormalInput.propTypes = {\n  defaultValue: _rax.PropTypes.any,\n  onFocus: _rax.PropTypes.func,\n  onInput: _rax.PropTypes.func,\n  onBlur: _rax.PropTypes.func,\n  onReturn: _rax.PropTypes.func,\n  placeholder: _rax.PropTypes.string,\n  readOnly: _rax.PropTypes.boolean,\n  disabled: _rax.PropTypes.boolean,\n  style: _rax.PropTypes.any,\n  maxLength: _rax.PropTypes.number,\n  multiple: _rax.PropTypes.boolean,\n  inputStyle: _rax.PropTypes.any,\n  returnKeyType: _rax.PropTypes.any,\n  hasClear: _rax.PropTypes.boolean,\n  rows: _rax.PropTypes.number,\n  maxRows: _rax.PropTypes.number,\n  type: _rax.PropTypes.oneOf(['text', 'url', 'password', 'tel', 'date', 'time', 'email']),\n  status: _rax.PropTypes.oneOf(['success', 'error']),\n  errorMessage: _rax.PropTypes.string,\n  renderCount: _rax.PropTypes.boolean,\n  value: _rax.PropTypes.string,\n  themeStyle: _rax.PropTypes.any,\n  hideErrorWhenFocus: _rax.PropTypes.boolean\n};\nNormalInput.defaultProps = {\n  onFocus: function onFocus() {},\n  onInput: function onInput() {},\n  onBlur: function onBlur() {},\n  onReturn: function onReturn() {},\n  placeholder: '',\n  readOnly: false,\n  disabled: false,\n  style: {},\n  multiple: false,\n  inputStyle: {},\n  hasClear: false,\n  type: 'text',\n  status: 'success',\n  themeStyle: {},\n  renderCount: false,\n  placeholderColor: '#999999',\n  hideErrorWhenFocus: true\n};\nNormalInput.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\n\nNormalInput.displayName = 'Input';\nvar StyledInput = (0, _nukeThemeProvider.connectStyle)(_styles2.default, { withRef: true })(NormalInput);\n\nexports.default = StyledInput;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/NormalInput/view/normal.js?");

/***/ }),

/***/ "./lib/NumberPicker/index.js":
/*!***********************************!*\
  !*** ./lib/NumberPicker/index.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeTouchable = __webpack_require__(/*! ../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeIcon = __webpack_require__(/*! ../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _nukeNormalInput = __webpack_require__(/*! ../NormalInput/index.js */ \"./lib/NormalInput/index.js\");\n\nvar _nukeNormalInput2 = _interopRequireDefault(_nukeNormalInput);\n\nvar _styles = __webpack_require__(/*! ./styles/index.js */ \"./lib/NumberPicker/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar noop = function noop() {};\n\nvar NumberPicker = function (_Component) {\n  _inherits(NumberPicker, _Component);\n\n  function NumberPicker(props) {\n    _classCallCheck(this, NumberPicker);\n\n    var _this = _possibleConstructorReturn(this, (NumberPicker.__proto__ || Object.getPrototypeOf(NumberPicker)).call(this, props));\n\n    var value = void 0;\n    if ('value' in props) {\n      value = props.value;\n    } else {\n      value = props.defaultValue;\n    }\n    value = _this.getValidValue(value);\n    _this.state = {\n      value: value,\n      error: false,\n      focused: false,\n      displayValue: value\n    };\n    ['onAdd', 'onReduce', 'onChange', 'onFocus', 'onBlur'].forEach(function (m) {\n      _this[m] = _this[m].bind(_this);\n    });\n    return _this;\n  }\n\n  _createClass(NumberPicker, [{\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      // todo: dynamic min & max\n      if ('value' in nextProps) {\n        var value = this.getValidValue(nextProps.value);\n        this.setState({\n          value: value,\n          displayValue: value\n        });\n      }\n    }\n  }, {\n    key: 'onAdd',\n    value: function onAdd() {\n      var _props = this.props,\n          max = _props.max,\n          step = _props.step;\n\n      var nextValue = parseInt(this.state.value, 10) + parseInt(step, 10);\n\n      if (!max || nextValue <= max) {\n        this.setValue(nextValue);\n      }\n    }\n  }, {\n    key: 'onReduce',\n    value: function onReduce() {\n      var _props2 = this.props,\n          min = _props2.min,\n          step = _props2.step;\n\n      var nextValue = parseInt(this.state.value, 10) - parseInt(step, 10);\n\n      if (!min || nextValue >= min) {\n        this.setValue(nextValue);\n      }\n    }\n  }, {\n    key: 'onChange',\n    value: function onChange(val, e) {\n      if (this.props.editable) {\n        this.setState({\n          displayValue: val\n        });\n      }\n      // alert(val);\n      this.setValue(val);\n    }\n  }, {\n    key: 'onFocus',\n    value: function onFocus() {\n      this.setState({ focused: true });\n    }\n  }, {\n    key: 'onBlur',\n    value: function onBlur(e) {\n      // debugger;\n      var val = this.refs.numberpicker.wrappedInstance.getValue();\n      // alert(val);\n\n      this.setValue(val);\n\n      this.setState({ focused: false });\n    }\n  }, {\n    key: 'setValue',\n    value: function setValue(displayValue) {\n      var flag = void 0;\n      var value = void 0;\n      var error = false;\n      var _props3 = this.props,\n          disabled = _props3.disabled,\n          autoCorrect = _props3.autoCorrect,\n          onChange = _props3.onChange;\n\n\n      if (disabled) {\n        return;\n      }\n\n      value = this.state.value;\n      var validValue = this.getValidValue(displayValue);\n\n      if (autoCorrect) {\n        value = displayValue = validValue;\n      } else {\n        error = validValue.toString() !== displayValue.toString();\n        if (!error) {\n          value = validValue;\n        }\n      }\n\n      if (value !== this.state.value || (flag = true) && value.toString() !== this.state.displayValue.toString()) {\n        if (!('value' in this.props)) {\n          this.setState({\n            value: value,\n            displayValue: displayValue\n          });\n        } else if (!error) {\n          this.setState({\n            displayValue: this.state.value\n          });\n        }\n\n        this.setState({\n          error: error\n        });\n\n        if (!flag) {\n          onChange(value);\n        }\n      } else {\n        this.setState({\n          error: error\n        });\n      }\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      return this.state.value;\n    }\n  }, {\n    key: 'getValidValue',\n    value: function getValidValue(value) {\n      var _props4 = this.props,\n          min = _props4.min,\n          max = _props4.max;\n\n\n      value = value === '' ? this.state.value : parseInt(value, 10);\n      value = isNaN(value) ? this.state.value : value < min ? min : value > max ? max : value;\n\n      return value;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _state = this.state,\n          value = _state.value,\n          displayValue = _state.displayValue,\n          focused = _state.focused,\n          error = _state.error;\n\n      var styles = this.props.themeStyle;\n      var inputWrapStyle = Object.assign({}, styles['input-wrap'], error ? styles['error-input-wrap'] : {});\n      var _props5 = this.props,\n          min = _props5.min,\n          max = _props5.max,\n          step = _props5.step,\n          disabled = _props5.disabled,\n          editable = _props5.editable,\n          autoFocus = _props5.autoFocus,\n          _props5$style = _props5.style,\n          style = _props5$style === undefined ? {} : _props5$style;\n\n      var inputAttrs = {};\n      if (disabled || !editable) {\n        inputAttrs.disabled = true;\n      }\n      var inputStyle = Object.assign({}, styles.input, _nukeEnv.isWeb ? styles['input-ff'] : {}, disabled || inputAttrs.disabled ? styles['input-disabled'] : null, error ? styles['error-input'] : {});\n\n      var reduceDisabled = disabled || value <= min || value - step < min;\n      var addDisabled = disabled || value >= max || value + step > max;\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [styles['number-picker'], style] },\n        (0, _rax.createElement)(\n          _nukeTouchable2.default,\n          { style: [styles.reduce, reduceDisabled ? styles['disabled-button'] : {}], onPress: this.onReduce },\n          (0, _rax.createElement)(_nukeIcon2.default, { style: [styles.icon, reduceDisabled ? styles['icon-disabled'] : {}], name: 'minus' })\n        ),\n        (0, _rax.createElement)(_nukeNormalInput2.default, _extends({\n          inputStyle: inputStyle,\n          type: 'number',\n          fixedFont: true,\n          ref: 'numberpicker',\n          style: inputWrapStyle,\n          materialDesign: false,\n          min: min,\n          max: max,\n          step: step,\n          autoFocus: autoFocus\n        }, inputAttrs, {\n          value: focused || error ? displayValue : value,\n          onFocus: this.onFocus,\n          onBlur: this.onBlur,\n          onChange: this.onChange\n        })),\n        (0, _rax.createElement)(\n          _nukeTouchable2.default,\n          { style: [styles.add, addDisabled ? styles['disabled-button'] : {}], onPress: this.onAdd },\n          (0, _rax.createElement)(_nukeIcon2.default, { style: [styles.icon, addDisabled ? styles['icon-disabled'] : {}], name: 'add' })\n        )\n      );\n    }\n  }]);\n\n  return NumberPicker;\n}(_rax.Component);\n\nNumberPicker.defaultProps = {\n  step: 1,\n  defaultValue: 0,\n  editable: true,\n  disabled: false,\n  autoFocus: false,\n  autoCorrect: false,\n  onChange: noop,\n  style: {},\n  themeStyle: {}\n};\n\nNumberPicker.propTypes = {\n  min: _rax.PropTypes.number,\n  max: _rax.PropTypes.number,\n  step: _rax.PropTypes.number,\n  value: _rax.PropTypes.number,\n  editable: _rax.PropTypes.bool,\n  disabled: _rax.PropTypes.bool,\n  autoFocus: _rax.PropTypes.bool,\n  autoCorrect: _rax.PropTypes.bool,\n  defaultValue: _rax.PropTypes.number,\n  onChange: _rax.PropTypes.func,\n  style: _rax.PropTypes.any,\n  themeStyle: _rax.PropTypes.any\n};\nNumberPicker.displayName = 'NumberPicker';\n\nvar StyledNumberPicker = (0, _nukeThemeProvider.connectStyle)(_styles2.default, { withRef: true })(NumberPicker);\n\nexports.default = StyledNumberPicker;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/NumberPicker/index.js?");

/***/ }),

/***/ "./lib/NumberPicker/styles/index.js":
/*!******************************************!*\
  !*** ./lib/NumberPicker/styles/index.js ***!
  \******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/NumberPicker/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    NumberPicker: {\n      'number-picker': {\n        // flex: 1,\n        flexDirection: 'row',\n        height: Variables['button-height']\n      },\n      'input-wrap': {\n        outline: 0,\n        // alignSelf: 'center',\n        borderRadius: 0,\n        textAlign: 'center',\n        boxShadow: 'none',\n        // width: Variables['input-min-width'],\n        height: Variables['button-height'],\n\n        color: Variables['input-color'],\n        flex: 1,\n        // minWidth: Variables['input-min-width'],\n\n        paddingLeft: 0,\n        paddingRight: 0,\n\n        fontSize: Variables['input-size-text'],\n        backgroundColor: Variables['input-bg-color'],\n        borderWidth: Variables['input-border-width'],\n        borderStyle: Variables['input-border-style'],\n        borderColor: Variables['input-border-color']\n\n      },\n\n      'input-disabled': {\n        backgroundColor: Variables['input-bg-color-disabled'],\n        color: Variables['input-color-disabled']\n      },\n      input: {\n        // color:'yellow',\n        height: Variables['button-height'] - 2 * Variables['input-border-width'],\n        lineHeight: Variables['button-height'] - 2 * Variables['input-border-width'],\n        WebkitAppearance: 'none',\n        backgroundColor: Variables['input-bg-color'],\n        alignItems: 'center',\n        textAlign: 'center',\n        justifyContent: 'center'\n\n      },\n      'input-ff': {\n        backgroundColor: 'transparent',\n        width: '100%'\n      },\n      reduce: {\n        justifyContent: 'center',\n        alignItems: 'center',\n        width: Variables['button-width'],\n        height: Variables['button-height'],\n        backgroundColor: Variables['button-bg-color'],\n        'backgroundColor:active': Variables['button-bg-color-active'],\n\n        borderWidth: Variables['button-border-width'],\n        borderStyle: Variables['button-border-style'],\n        borderColor: Variables['button-border-color'],\n\n        borderRightWidth: 0\n      },\n      icon: {\n        fontSize: Variables['icon-size'],\n        color: Variables['icon-color']\n      },\n      add: {\n        justifyContent: 'center',\n        alignItems: 'center',\n        width: Variables['button-width'],\n        height: Variables['button-height'],\n        backgroundColor: Variables['button-bg-color'],\n        'backgroundColor:active': Variables['button-bg-color-active'],\n        borderWidth: Variables['button-border-width'],\n        borderStyle: Variables['button-border-style'],\n        borderColor: Variables['button-border-color'],\n        borderLeftWidth: 0\n        // marginLeft: -1,\n      },\n\n      'icon-disabled': {\n        color: Variables['icon-color-disabled']\n      },\n      'disabled-button': {\n        backgroundColor: Variables['button-bg-color-disabled'],\n        'backgroundColor:active': Variables['button-bg-color-disabled']\n      },\n      'error-input-wrap': {\n        borderColor: Variables['input-border-color-error']\n      },\n      'error-input': {\n        color: Variables['input-color-error']\n      }\n    }\n  };\n}\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/NumberPicker/styles/index.js?");

/***/ }),

/***/ "./lib/NumberPicker/styles/variable.js":
/*!*********************************************!*\
  !*** ./lib/NumberPicker/styles/variable.js ***!
  \*********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableFactory(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.NumberPicker;\n\n  /**\n   * 数量选择器\n   * @namespace component\n   * @property module number-picker\n   * @property tag NumberPicker\n   * @property category component\n   */\n\n  var numberPickerVariables = {\n    /**\n     * width\n     * @property namespace size/button\n     */\n    'button-width': core['s-7'],\n    /**\n     * height\n     * @property namespace size/button\n     */\n    'button-height': core['s-7'],\n    /**\n     * background\n     * @property namespace statement/button\n     */\n    'button-bg-color': core['color-fill1-1'],\n    /**\n     * size\n     * @property namespace size/text\n     */\n    'input-size-text': core['font-size-body-1'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'icon-size': core['icon-xs'],\n\n    /**\n     * border\n     * @property namespace size/button\n     */\n    'button-border-width': core['line-1'],\n    /**\n     * border\n     * @property namespace size/input\n     */\n    'input-border-width': core['line-1'],\n    /**\n     * min-width\n     * @property namespace size/input\n     */\n    'input-min-width': core['s-9'],\n    /**\n     * color\n     * @property namespace statement/input\n     */\n    'input-color': core['color-text1-4'],\n    /**\n     * background\n     * @property namespace statement/input\n     */\n    'input-bg-color': core['color-white'],\n    /**\n     * icon\n     * @property namespace statement/normal\n     */\n    'icon-color': core['color-text1-2'],\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'border-radius': core['corner-2'],\n    /**\n     * border-color\n     * @property namespace statement/button\n     */\n    'button-border-color': core['color-line1-2'],\n    /**\n     * border-color\n     * @property namespace statement/input\n     */\n    'input-border-color': core['color-line1-2'],\n\n    /**\n     * border-style\n     * @property namespace statement/button\n     */\n    'button-border-style': core['line-solid'],\n    /**\n     * border-style\n     * @property namespace statement/input\n     */\n    'input-border-style': core['line-solid'],\n    /**\n     * color\n     * @property namespace statement/input-error\n     */\n    'input-color-error': core['color-error-2'],\n\n    /**\n     * border\n     * @property namespace statement/input-error\n     */\n    'input-border-color-error': core['color-error-2'],\n    /**\n     * color\n     * @property namespace statement/input-disabled\n     */\n    'input-color-disabled': core['color-text1-1'],\n    /**\n     * background\n     * @property namespace statement/input-disabled\n     */\n    'input-bg-color-disabled': core['color-fill1-1'],\n    /**\n     * icon\n     * @property namespace statement/disabled\n     */\n    'icon-color-disabled': core['color-text1-1'],\n    /**\n     * background\n     * @property namespace statement/button-disabled\n     */\n    'button-bg-color-disabled': core['color-fill1-1'],\n    /**\n     * color\n     * @property namespace statement/input-focus\n     */\n    'input-color-focus': core['color-text1-4'],\n\n    /**\n     * border-color\n     * @property namespace statement/input-focus\n     */\n    'input-border-color-focus': core['color-line1-3'],\n    /**\n     * padding(l,r)\n     * @property namespace size/input\n     */\n    'input-padding': core['s-3'],\n    /**\n     * background\n     * @property namespace statement/button-active\n     */\n    'button-bg-color-active': core['color-fill1-3']\n  };\n  // should always use var statement to carray a assign\n  var variable = Object.assign(numberPickerVariables, ComponentCustomStyle);\n  return variable;\n}\n\nmodule.exports = VariableFactory;\n\n//# sourceURL=webpack:///./lib/NumberPicker/styles/variable.js?");

/***/ }),

/***/ "./lib/Page/index.js":
/*!***************************!*\
  !*** ./lib/Page/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeScrollView = __webpack_require__(/*! ../ScrollView/index.js */ \"./lib/ScrollView/index.js\");\n\nvar _nukeScrollView2 = _interopRequireDefault(_nukeScrollView);\n\nvar _styles = __webpack_require__(/*! ./styles.js */ \"./lib/Page/styles.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nvar _item = __webpack_require__(/*! ./item.js */ \"./lib/Page/item.js\");\n\nvar _item2 = _interopRequireDefault(_item);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Page = function (_PureComponent) {\n  _inherits(Page, _PureComponent);\n\n  function Page(props) {\n    _classCallCheck(this, Page);\n\n    return _possibleConstructorReturn(this, (Page.__proto__ || Object.getPrototypeOf(Page)).call(this, props));\n  }\n\n  _createClass(Page, [{\n    key: 'render',\n    value: function render() {\n      return (0, _rax.createElement)(\n        _nukeScrollView2.default,\n        { style: _styles2.default.container },\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: _styles2.default.title },\n          (0, _rax.createElement)(\n            _nukeView2.default,\n            { style: _styles2.default.title_wrap },\n            (0, _rax.createElement)(\n              _nukeText2.default,\n              { style: _styles2.default.title_text },\n              this.props.title\n            )\n          )\n        ),\n        this.props.children,\n        (0, _rax.createElement)(_nukeView2.default, { id: '_nuke_overlay_wrap_' })\n      );\n    }\n  }]);\n\n  return Page;\n}(_rax.PureComponent);\n\nPage.Intro = _item2.default;\nexports.default = Page;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Page/index.js?");

/***/ }),

/***/ "./lib/Page/item.js":
/*!**************************!*\
  !*** ./lib/Page/item.js ***!
  \**************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _styles = __webpack_require__(/*! ./styles.js */ \"./lib/Page/styles.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar BizIntro = function (_PureComponent) {\n  _inherits(BizIntro, _PureComponent);\n\n  function BizIntro(props) {\n    _classCallCheck(this, BizIntro);\n\n    return _possibleConstructorReturn(this, (BizIntro.__proto__ || Object.getPrototypeOf(BizIntro)).call(this, props));\n  }\n\n  _createClass(BizIntro, [{\n    key: 'render',\n    value: function render() {\n      var sub_style = [_styles2.default.intro_text, _styles2.default.intro_text_sub];\n      if (this.props.main) sub_style.push({ marginTop: 16 });\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: _styles2.default.intro },\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          { style: _styles2.default.intro_text },\n          this.props.main\n        ),\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          { style: sub_style },\n          this.props.sub\n        )\n      );\n    }\n  }]);\n\n  return BizIntro;\n}(_rax.PureComponent);\n\nexports.default = BizIntro;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Page/item.js?");

/***/ }),

/***/ "./lib/Page/styles.js":
/*!****************************!*\
  !*** ./lib/Page/styles.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nvar styles = {\n  container: {\n    width: 750,\n    backgroundColor: '#f7f8fa',\n    flex: 1\n  },\n  title: {\n    width: 750,\n    marginTop: 70,\n    alignItems: 'center'\n  },\n  title_wrap: {\n    width: 220,\n    alignItems: 'center',\n    borderBottomStyle: 'solid',\n    borderBottomColor: '#d2d4db',\n    borderBottomWidth: 1,\n    paddingBottom: 22\n  },\n  title_text: {\n    fontSize: 28,\n    color: '#999999'\n  },\n  intro: {\n    width: 750,\n    paddingLeft: 42,\n    marginTop: 30\n  },\n  intro_text: {\n    fontSize: 28,\n    color: '#3d4145'\n  },\n  intro_text_sub: {\n    color: '#999999'\n  },\n  item: {\n    marginLeft: 40\n  }\n};\nexports.default = styles;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Page/styles.js?");

/***/ }),

/***/ "./lib/Picker/index.js":
/*!*****************************!*\
  !*** ./lib/Picker/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _native = __webpack_require__(/*! ./native.js */ \"./lib/Picker/native.js\");\n\nvar _native2 = _interopRequireDefault(_native);\n\nvar _web = __webpack_require__(/*! ./web.js */ \"./lib/Picker/web.js\");\n\nvar _web2 = _interopRequireDefault(_web);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Entry = _web2.default;\nif (_nukeEnv.isWeex) {\n  Entry = _native2.default;\n}\nexports.default = Entry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Picker/index.js?");

/***/ }),

/***/ "./lib/Picker/locale.js":
/*!******************************!*\
  !*** ./lib/Picker/locale.js ***!
  \******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = {\n  confirm: '确认',\n  cancel: '取消'\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Picker/locale.js?");

/***/ }),

/***/ "./lib/Picker/native.js":
/*!******************************!*\
  !*** ./lib/Picker/native.js ***!
  \******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _locale = __webpack_require__(/*! ./locale.js */ \"./lib/Picker/locale.js\");\n\nvar _locale2 = _interopRequireDefault(_locale);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar noop = function noop() {};\n\nvar nativePicker = __webpack_require__(/*! @weex-module/picker */ \"@weex-module/picker\");\nvar pickerInstance = null,\n    container = null;\n\nvar Picker = {};\n\nfunction show() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var onSelect = arguments[1];\n  var onCancel = arguments[2];\n  var onShow = arguments[3];\n  var onFail = arguments[4];\n\n  onSelect = onSelect || noop;\n  onShow = onShow || noop;\n  onCancel = onCancel || noop;\n  onFail = onFail || noop;\n\n  var title = options.title,\n      dataSource = options.dataSource,\n      selectedKey = options.selectedKey,\n      _options$maskClosable = options.maskClosable,\n      maskClosable = _options$maskClosable === undefined ? true : _options$maskClosable,\n      visible = options.visible,\n      value = options.value,\n      content = options.content,\n      children = options.children,\n      _options$locale = options.locale,\n      locale = _options$locale === undefined ? {} : _options$locale,\n      others = _objectWithoutProperties(options, ['title', 'dataSource', 'selectedKey', 'maskClosable', 'visible', 'value', 'content', 'children', 'locale']);\n\n  if (!dataSource) {\n    onFail({ err: 'empty dataSource' });\n    return;\n  }\n  if (!selectedKey) {\n    selectedKey = 0;\n  }\n\n  var cancelTitle = locale.cancel || _locale2.default.cancel;\n  var confirmTitle = locale.confirm || _locale2.default.confirm;\n\n  nativePicker.pick({\n    items: dataSource,\n    index: selectedKey,\n    title: title,\n    cancelTitle: cancelTitle,\n    confirmTitle: confirmTitle\n  }, function (e) {\n    if (e.result === 'success') {\n      onSelect(e);\n      return;\n    } else if (e.result === 'cancel') {\n      onCancel(e);\n      return;\n    } else if (e.result === 'error') {\n      onFail(e);\n      return;\n    }\n  });\n}\n\nfunction hide() {}\nexports.default = { show: show, hide: hide };\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Picker/native.js?");

/***/ }),

/***/ "./lib/Picker/web.js":
/*!***************************!*\
  !*** ./lib/Picker/web.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeWebPicker = __webpack_require__(/*! ../WebPicker/index.js */ \"./lib/WebPicker/index.js\");\n\nvar _nukeWebPicker2 = _interopRequireDefault(_nukeWebPicker);\n\nvar _locale = __webpack_require__(/*! ./locale.js */ \"./lib/Picker/locale.js\");\n\nvar _locale2 = _interopRequireDefault(_locale);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar noop = function noop() {};\n\nvar pickerInstance = null;\n\nvar container = null;\n\nfunction formatDataSource(dataSource) {\n  var result = [];\n  dataSource.forEach(function (item, index) {\n    result.push({ key: index, value: item });\n  });\n  return result;\n}\nfunction formatResult(result) {\n  return { data: result[0].key };\n}\nfunction show() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var onSelect = arguments[1];\n  var onCancel = arguments[2];\n  var onShow = arguments[3];\n  var onFail = arguments[4];\n\n  var title = options.title,\n      dataSource = options.dataSource,\n      selectedKey = options.selectedKey,\n      _options$maskClosable = options.maskClosable,\n      maskClosable = _options$maskClosable === undefined ? true : _options$maskClosable,\n      _options$locale = options.locale,\n      locale = _options$locale === undefined ? {} : _options$locale,\n      others = _objectWithoutProperties(options, ['title', 'dataSource', 'selectedKey', 'maskClosable', 'locale']);\n\n  onSelect = onSelect || noop;\n  onShow = onShow || noop;\n  onCancel = onCancel || noop;\n  onFail = onFail || noop;\n\n  if (!dataSource) {\n    onFail({ err: 'empty dataSource' });\n    return;\n  }\n\n  if (!selectedKey) {\n    if (dataSource[0].children) {\n      selectedKey = [dataSource[0].key, dataSource[0].children[0].key];\n    } else {\n      selectedKey = dataSource[0].key;\n    }\n  }\n\n  if (!selectedKey) {\n    if (dataSource[0].children) {\n      selectedKey = [dataSource[0].key, dataSource[0].children[0].key];\n    } else {\n      selectedKey = [dataSource[0].key];\n    }\n  }\n  if (typeof selectedKey === 'string') {\n    selectedKey = [selectedKey];\n  }\n  if (typeof selectedKey === 'number') {\n    selectedKey = [selectedKey.toString()];\n  }\n\n  _nukeWebPicker2.default.show({\n    title: title,\n    dataSource: formatDataSource(dataSource, options.selectedKey),\n    selectedKey: selectedKey,\n    hasToolbar: true,\n    hasToolbarButton: true,\n    locale: {\n      confirm: locale.confirm || _locale2.default.confirm,\n      cancel: locale.cancel || _locale2.default.cancel\n    }\n  }, function (result) {\n    onSelect(formatResult(result));\n  }, onCancel, onShow, onFail);\n  function onSelectCallback(res) {\n    var result = { success: true };\n    if (res && res[0] && res.length > 0) {\n      result.data = res[0];\n    }\n    onSelect(result);\n  }\n}\n\nfunction hide() {\n  _nukeWebPicker2.default.hide();\n}\nexports.default = { show: show, hide: hide };\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Picker/web.js?");

/***/ }),

/***/ "./lib/Progress/index.js":
/*!*******************************!*\
  !*** ./lib/Progress/index.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ./styles/index.js */ \"./lib/Progress/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Progress = function (_Component) {\n  _inherits(Progress, _Component);\n\n  function Progress(props) {\n    _classCallCheck(this, Progress);\n\n    var _this = _possibleConstructorReturn(this, (Progress.__proto__ || Object.getPrototypeOf(Progress)).call(this, props));\n\n    _this.state = {\n      innerWidth: 0\n    };\n    return _this;\n  }\n\n  _createClass(Progress, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      this.setInnerWidth(this.props);\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      if ('rate' in nextProps) {\n        this.setInnerWidth(nextProps);\n      }\n    }\n  }, {\n    key: 'getRect',\n    value: function getRect() {\n      var _this2 = this;\n\n      return new Promise(function (resolve, reject) {\n        var domEl = (0, _rax.findDOMNode)(_this2.progress);\n        if (domEl && _nukeEnv.isWeex) {\n          try {\n            setTimeout(function () {\n              var dom = __webpack_require__(/*! @weex-module/dom */ \"@weex-module/dom\");\n              dom.getComponentRect(domEl.ref, function (e) {\n                if (e && e.size && e.size.width) {\n                  resolve(e.size.width.toFixed());\n                } else {\n                  reject(0);\n                }\n              });\n            }, 100);\n          } catch (e) {\n            reject(0);\n          }\n        } else {\n          reject(0);\n        }\n      });\n    }\n  }, {\n    key: 'setInnerWidth',\n    value: function setInnerWidth(props) {\n      var _this3 = this;\n\n      var style = props.style,\n          rate = props.rate;\n\n      var width = void 0;\n      if (_nukeEnv.isWeb) {\n        this.setState({\n          innerWidth: (rate * 100).toString() + '%'\n        });\n      } else if (style.width) {\n        this.setState({\n          innerWidth: rate * style.width\n        });\n      } else {\n        this.getRect().then(function (width) {\n          if (width) {\n            _this3.setState({\n              innerWidth: rate * width\n            });\n          } else {\n            // try again\n            _this3.getRect().then(function (width) {\n              if (width) {\n                _this3.setState({\n                  innerWidth: rate * width\n                });\n              }\n            });\n          }\n        });\n      }\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this4 = this;\n\n      var _props = this.props,\n          style = _props.style,\n          barStyle = _props.barStyle,\n          rate = _props.rate;\n      var innerWidth = this.state.innerWidth;\n\n      var styles = this.props.themeStyle;\n      var innerStyle = Object.assign({}, styles['progress-inner'], {\n        width: innerWidth\n      }, barStyle);\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        {\n          x: 'progress-wrap',\n          ref: function ref(n) {\n            _this4.progress = n;\n          },\n          style: [styles['progress-wrap'], style]\n        },\n        (0, _rax.createElement)(_nukeView2.default, { style: innerStyle })\n      );\n    }\n  }]);\n\n  return Progress;\n}(_rax.Component);\n\nProgress.propTypes = {\n  rate: _rax.PropTypes.number,\n  style: _rax.PropTypes.any,\n  barStyle: _rax.PropTypes.any\n};\n\nProgress.defaultProps = {\n  rate: 1,\n  style: {},\n  barStyle: {}\n};\nProgress.displayName = 'Progress';\nvar StyledProgress = (0, _nukeThemeProvider.connectStyle)(_styles2.default, { withRef: true })(Progress);\n\nexports.default = StyledProgress;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Progress/index.js?");

/***/ }),

/***/ "./lib/Progress/styles/index.js":
/*!**************************************!*\
  !*** ./lib/Progress/styles/index.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Progress/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    Progress: {\n      'progress-wrap': {\n        height: Variables['progress-height'],\n        backgroundColor: Variables['progress-bg'],\n        flexDirection: 'row'\n      },\n      'progress-inner': {\n        backgroundColor: Variables['progress-color']\n      }\n    }\n  };\n}\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/Progress/styles/index.js?");

/***/ }),

/***/ "./lib/Progress/styles/variable.js":
/*!*****************************************!*\
  !*** ./lib/Progress/styles/variable.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.Progress;\n  /**\n   * 进度条\n   * @namespace component\n   * @property module progress\n   * @property tag Progress\n   * @property category component\n   */\n  var progressVariables = {\n    /**\n     * background\n     * @property namespace statement\n     */\n    'progress-bg': core['color-fill1-3'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'progress-height': core['s-3'],\n    /**\n     * color\n     * @property namespace statement\n     */\n    'progress-color': core['color-brand1-6']\n  };\n  var variables = Object.assign(progressVariables, ComponentCustomStyle);\n  return variables;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Progress/styles/variable.js?");

/***/ }),

/***/ "./lib/Radio/index.js":
/*!****************************!*\
  !*** ./lib/Radio/index.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _radio = __webpack_require__(/*! ./view/radio.js */ \"./lib/Radio/view/radio.js\");\n\nvar _radio2 = _interopRequireDefault(_radio);\n\nvar _radioGroup = __webpack_require__(/*! ./view/radio-group.js */ \"./lib/Radio/view/radio-group.js\");\n\nvar _radioGroup2 = _interopRequireDefault(_radioGroup);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_radio2.default.Group = _radioGroup2.default;\n\nexports.default = _radio2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Radio/index.js?");

/***/ }),

/***/ "./lib/Radio/styles/index.js":
/*!***********************************!*\
  !*** ./lib/Radio/styles/index.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Radio/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar caculateRemToPx = _nukeHelper.rem.caculateRemToPx;\nvar alignCenter = _nukeHelper.layout.alignCenter;\n\nfunction StyleMix() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  return {\n    Radio: {\n      'touch-small': {\n        width: Variables['small-touch-width'],\n        height: Variables['small-touch-height'],\n        justifyContent: 'center',\n        alignItems: 'center'\n      },\n      'touch-medium': {\n        width: Variables['medium-touch-width'],\n        height: Variables['medium-touch-height'],\n        justifyContent: 'center',\n        alignItems: 'center'\n      },\n      'wrap-small': {\n        justifyContent: 'center',\n        alignItems: 'center',\n        borderStyle: Variables['border-style'],\n        width: Variables['small-size'],\n        height: Variables['small-size'],\n        borderRadius: Variables['border-radius']\n      },\n      'wrap-medium': {\n        borderStyle: Variables['border-style'],\n        width: Variables['medium-size'],\n        height: Variables['medium-size'],\n        borderRadius: Variables['border-radius'],\n        justifyContent: 'center',\n        alignItems: 'center'\n      },\n\n      'wrap-normal': {\n        borderWidth: Variables['normal-border-width'],\n        borderColor: Variables['normal-border-color'],\n        backgroundColor: Variables['normal-bg-color']\n      },\n      'wrap-dot': {\n        borderWidth: Variables['dot-border-width'],\n\n        borderColor: Variables['dot-border-color'],\n        backgroundColor: Variables['dot-bg-color']\n      },\n      'wrap-empty': {\n        borderWidth: Variables['empty-border-width'],\n        borderColor: Variables['empty-border-color'],\n        backgroundColor: Variables['empty-bg-color']\n      },\n      'wrap-list': {\n        borderWidth: Variables['list-border-width'],\n        borderColor: Variables['list-border-color'],\n        backgroundColor: Variables['list-bg-color']\n      },\n      'wrap-normal-checked': {\n        backgroundColor: Variables['normal-bg-color-selected'],\n        borderColor: Variables['normal-border-color-selected']\n      },\n      'wrap-normal-disabled': {\n        borderColor: Variables['normal-border-color-disabled'],\n        backgroundColor: Variables['normal-bg-color-disabled'],\n        color: Variables['normal-icon-color-disabled']\n      },\n      'wrap-normal-checked-disabled': {\n        borderColor: Variables['normal-border-color-selected-disabled'],\n        backgroundColor: Variables['normal-bg-color-selected-disabled']\n      },\n      'normal-inner-checked': {\n        color: Variables['normal-icon-color-selected']\n        // borderColor: Variables[`normal-border-color-selected`],\n        // backgroundColor: Variables[`normal-bg-color-selected`],\n      },\n\n      'normal-inner-disabled': {\n        color: Variables['normal-icon-color-disabled']\n        // borderColor: Variables[`normal-border-color-disabled`],\n        // backgroundColor: Variables[`normal-bg-color-disabled`],\n      },\n\n      'wrap-empty-checked': {\n        backgroundColor: Variables['empty-bg-color-selected'],\n        borderColor: Variables['empty-border-color-selected']\n      },\n      'wrap-empty-disabled': {\n        backgroundColor: Variables['empty-bg-color-disabled'],\n        borderColor: Variables['empty-border-color-disabled']\n      },\n      'wrap-empty-checked-disabled': {\n        backgroundColor: Variables['empty-bg-color-selected-disabled'],\n        borderColor: Variables['empty-border-color-selected-disabled']\n      },\n      'empty-inner-checked': {\n        color: Variables['empty-color-selected']\n      },\n      'empty-inner-disabled': {\n        color: Variables['empty-color-disabled']\n      },\n\n      'wrap-list-checked': {\n        borderColor: Variables['list-border-color'],\n        backgroundColor: Variables['list-bg-color-selected']\n      },\n\n      'wrap-list-disabled': {\n        borderColor: Variables['list-border-color-disabled'],\n        backgroundColor: 'transparent'\n      },\n      'wrap-list-checked-disabled': {\n        borderColor: Variables['list-border-color-disabled'],\n        backgroundColor: 'transparent'\n      },\n      'list-inner-checked': {\n        color: Variables['list-icon-color-selected']\n      },\n      'list-inner-disabled': {\n        color: Variables['list-border-color-disabled']\n      },\n\n      'wrap-dot-checked': {\n        borderWidth: 4,\n        borderStyle: Variables['dot-border-style'],\n        borderColor: Variables['dot-selected-border-color'],\n        backgroundColor: Variables['dot-bg-color']\n      },\n      'wrap-dot-disabled': {\n        borderColor: Variables['dot-border-color-disabled'],\n        backgroundColor: Variables['dot-bg-color-disabled']\n      },\n      'wrap-dot-checked-disabled': {\n        color: Variables['dot-border-color-disabled'],\n        borderColor: Variables['dot-border-color-disabled'],\n        backgroundColor: Variables['dot-bg-color-selected-disabled']\n      },\n\n      'dot-inner': {\n        backgroundColor: Variables['dot-bg-color-selected'],\n        borderRadius: Variables['border-radius']\n      },\n      'dot-inner-small': {\n        width: Variables['dot-small-size'],\n        height: Variables['dot-small-size']\n      },\n      'dot-inner-medium': {\n        width: caculateRemToPx(Variables['dot-medium-size']),\n        height: caculateRemToPx(Variables['dot-medium-size'])\n      },\n      'dot-inner-disabled': {\n        borderColor: Variables['dot-border-color-disabled'],\n        backgroundColor: Variables['dot-point-bg-color-disabled']\n      },\n      'icon-small': {\n        fontSize: Variables['icon-small']\n      },\n      'icon-medium': {\n        fontSize: Variables['icon-medium']\n      }\n    },\n    RadioGroup: {\n      group: {\n        flexDirection: 'row',\n        alignItems: 'center',\n        height: Variables['group-item-height'],\n        width: Variables['group-item-width']\n      },\n      'group-small-text': {\n        marginLeft: 5\n      },\n      'group-medium-text': {\n        marginLeft: 5\n      }\n    }\n  };\n}\n\nexports.default = StyleMix;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Radio/styles/index.js?");

/***/ }),

/***/ "./lib/Radio/styles/variable.js":
/*!**************************************!*\
  !*** ./lib/Radio/styles/variable.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Radio;\n\n  /**\n   * 单选框\n   * @namespace component\n   * @property module radio\n   * @property tag Radio\n   * @property category component\n   */\n\n  var radioVaribles = {\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'medium-size': Core['s-6'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'medium-icon-size': Core['icon-s'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'medium-span-text': Core['icon-s'],\n    /**\n     * size\n     * @property namespace size/bounding\n     */\n    'small-size': Core['s-5'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'small-icon-size': Core['icon-xs'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'small-span-text': Core['icon-xs'],\n\n    // radio - normal\n    // --------------------------------------------------\n    /**\n     * width\n     * @property namespace size/normal/border\n     */\n    'normal-border-width': Core['line-2'],\n    /**\n     * border\n     * @property namespace statement/normal\n     */\n    'normal-border-color': Core['color-line1-3'],\n\n    /**\n     * background\n     * @property namespace statement/normal\n     */\n    'normal-bg-color': Core['color-white'],\n    /**\n     * color\n     * @property namespace statement\n     */\n    'normal-icon-color': Core['color-transparent'],\n    /**\n     * color\n     * @property namespace statement/selected\n     */\n    'normal-icon-color-selected': Core['color-white'],\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'normal-border-color-selected': Core['color-brand1-6'],\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'normal-bg-color-selected': Core['color-brand1-6'],\n    /**\n     * icon\n     * @property namespace statement/disabled\n     */\n    'normal-icon-color-disabled': Core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'normal-border-color-disabled': Core['color-line1-2'],\n    /**\n     * color\n     * @property namespace statement/disabled\n     */\n    'normal-color-disabled': Core['color-line1-2'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'normal-bg-color-disabled': Core['color-fill1-1'],\n\n    /**\n     * color\n     * @property namespace statement/selected/disabled\n     */\n    'normal-icon-color-selected-disabled': Core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement/selected/disabled\n     */\n    'normal-border-color-selected-disabled': Core['color-line1-2'],\n    /**\n     * background\n     * @property namespace statement/selected/disabled\n     */\n    'normal-bg-color-selected-disabled': Core['color-fill1-1'],\n\n    /**\n     * width\n     * @property namespace size/empty/border\n     */\n    'empty-border-width': Core['line-2'],\n    /**\n     * border\n     * @property namespace statement/empty\n     */\n    'empty-border-color': Core['color-line1-3'],\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'border-radius': Core['corner-infinite'],\n    /**\n     * border-style\n     * @property namespace statement\n     */\n    'border-style': Core['line-solid'],\n    /**\n     * background\n     * @property namespace statement\n     */\n    'empty-bg-color': Core['color-white'],\n\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'empty-border-color-selected': Core['color-brand1-6'],\n    /**\n     * border\n     * @property namespace statement/selected-disabled\n     */\n    'empty-border-color-selected-disabled': Core['color-line1-2'],\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n    'empty-bg-color-selected': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement/seleced-disabled\n     */\n    'empty-bg-color-selected-disabled': Core['color-fill1-1'],\n    /**\n    * color\n    * @property namespace statement/disabled-inner\n    */\n    'empty-color-selected-disabled': Core['color-text1-2'],\n\n    /**\n     * color\n     * @property namespace statement/inner\n     */\n    'empty-color-selected': Core['color-brand1-6'],\n    /**\n     * color\n     * @property namespace statement/inner-disabled\n     */\n    'empty-color-disabled': Core['color-line1-2'],\n\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'empty-bg-color-disabled': Core['color-fill1-1'],\n\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'empty-border-color-disabled': Core['color-line1-2'],\n\n    //...\n\n    // radio - list\n    // --------------------------------------------------\n    /**\n     * border-width\n     * @property namespace size/dot\n     */\n    'list-border-width': Core['line-0'],\n    /**\n     * icon\n     * @property namespace statement/selected\n     */\n    'list-icon-color-selected': Core['color-brand1-6'],\n    /**\n     * icon\n     * @property namespace statement/disabled\n     */\n    'list-icon-color-disabled': Core['color-text1-1'],\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'list-border-color-disabled': Core['color-line1-2'],\n    /**\n     * border\n     * @property namespace statement\n     */\n    'list-border-color': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement\n     */\n    'list-bg-color': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'list-bg-color-selected': Core['color-transparent'],\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'list-bg-color-disabled': Core['color-fill1-1'],\n\n    // radio - dot\n    /**\n     * border-width\n     * @property namespace size\n     */\n    'dot-border-width': Core['line-3'],\n    /**\n     * background\n     * @property namespace statement\n     */\n    'dot-bg-color': Core['color-white'],\n    /**\n     * border\n     * @property namespace statement\n     */\n    'dot-border-color': Core['color-line1-3'],\n    /**\n     * border\n     * @property namespace statement/selected\n     */\n    'dot-selected-border-color': Core['color-brand1-6'],\n\n    /**\n     * background\n     * @property namespace statement\n     */\n    'dot-bg-color-selected': Core['color-brand1-6'],\n    /**\n     * border\n     * @property namespace statement/disabled\n     */\n    'dot-border-color-disabled': Core['color-fill1-1'],\n\n    /**\n     * background\n     * @property namespace statement/disabled\n     */\n    'dot-bg-color-disabled': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement/selected-disabled\n     */\n    'dot-bg-color-selected-disabled': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement/inner/disabled\n     */\n    'dot-point-bg-color-disabled': Core['color-fill1-1'],\n    /**\n     * text\n     * @property namespace size/inner\n     */\n    'icon-small': Core['font-size-body-2'],\n\n    /**\n     * text\n     * @property namespace size/inner\n     */\n    'icon-medium': Core['font-size-subhead'],\n\n    /**\n     * size\n     * @property namespace size/inner\n     */\n    'dot-small-size': Core['s-2'],\n\n    /**\n     * size\n     * @property namespace size/inner\n     */\n    'dot-medium-size': Core['s-3'],\n\n    /**\n     * height\n     * @property namespace size/dot\n     */\n    'group-item-height': 80,\n\n    'group-item-width': 750,\n    /**\n     * width\n     * @property namespace size/touch\n     */\n    'medium-touch-width': Core['s-11'],\n    /**\n     * height\n     * @property namespace size/touch\n     */\n    'medium-touch-height': Core['s-11'],\n    /**\n     * width\n     * @property namespace size/touch\n     */\n    'small-touch-width': Core['s-11'],\n    /**\n     * height\n     * @property namespace size/touch\n     */\n    'small-touch-height': Core['s-11']\n  };\n  var variables = Object.assign(radioVaribles, ComponentCustomStyle);\n  return variables;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Radio/styles/variable.js?");

/***/ }),

/***/ "./lib/Radio/view/radio-group.js":
/*!***************************************!*\
  !*** ./lib/Radio/view/radio-group.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _radio = __webpack_require__(/*! ./radio.js */ \"./lib/Radio/view/radio.js\");\n\nvar _radio2 = _interopRequireDefault(_radio);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Radio/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Radio.group\n * @description 单选框group模式\n */\nvar RadioGroup = function (_Component) {\n  _inherits(RadioGroup, _Component);\n\n  function RadioGroup(props) {\n    _classCallCheck(this, RadioGroup);\n\n    var _this = _possibleConstructorReturn(this, (RadioGroup.__proto__ || Object.getPrototypeOf(RadioGroup)).call(this, props));\n\n    _this.onChange = _this.onChange.bind(_this);\n    var value = void 0;\n    if ('value' in props) {\n      value = props.value;\n    }\n    _this.state = {\n      selectedValue: value\n    };\n    return _this;\n  }\n\n  _createClass(RadioGroup, [{\n    key: 'getChildContext',\n    value: function getChildContext() {\n      return {\n        __group__: true,\n        onChange: this.onChange,\n        selectedValue: this.state.selectedValue\n      };\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      if (nextProps.value !== this.state.selectedValue) {\n        this.setState({\n          selectedValue: nextProps.value\n        });\n      }\n    }\n  }, {\n    key: 'onChange',\n    value: function onChange(value) {\n      // 同一个group下只能有一个被选中\n      this.setState({\n        selectedValue: value\n      });\n      this.props.onChange && this.props.onChange(value);\n    }\n  }, {\n    key: 'wrapPress',\n    value: function wrapPress(value) {\n      this.onChange(value);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var _props = this.props,\n          _props$dataSource = _props.dataSource,\n          dataSource = _props$dataSource === undefined ? [] : _props$dataSource,\n          _props$style = _props.style,\n          style = _props$style === undefined ? {} : _props$style,\n          size = _props.size,\n          type = _props.type,\n          groupItemStyle = _props.groupItemStyle,\n          themeStyle = _props.themeStyle,\n          touchStyle = _props.touchStyle,\n          labelStyle = _props.labelStyle,\n          reverse = _props.reverse,\n          renderItem = _props.renderItem;\n      var children = this.props.children;\n\n      var elementGroupStyle = Object.assign({}, themeStyle.group, groupItemStyle);\n\n      var finalTextStyle = Object.assign(size === 'small' ? themeStyle['group-small-text'] : themeStyle['group-medium-text'], labelStyle);\n\n      var current = this.state.selectedValue;\n\n      if (!children) {\n        children = dataSource.map(function (item, index) {\n          if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) !== 'object') {\n            item = { label: item, value: item, index: index };\n          }\n\n          var _item = item,\n              label = _item.label,\n              value = _item.value,\n              others = _objectWithoutProperties(_item, ['label', 'value']);\n\n          var checked = false;\n          current === value ? checked = true : checked = false;\n          var labelGroup = [(0, _rax.createElement)(_radio2.default, _extends({\n            t: 'radioitem'\n          }, others, {\n            size: size,\n            value: value,\n            checked: checked,\n            touchStyle: touchStyle,\n            type: type\n          }, others)), (0, _rax.createElement)(\n            _nukeText2.default,\n            { t: 'radiotext', style: finalTextStyle },\n            label\n          )];\n\n          if (reverse) {\n            labelGroup = labelGroup.reverse();\n          }\n\n          if (label && !renderItem) {\n            return (0, _rax.createElement)(\n              _nukeTouchable2.default,\n              { t: 'radio-item-wrap', key: index, style: elementGroupStyle, onPress: function onPress() {\n                  return _this2.wrapPress(value);\n                } },\n              labelGroup\n            );\n          } else if (label && renderItem) {\n            return typeof renderItem === 'function' ? (0, _rax.cloneElement)(renderItem(item), {\n              onPress: _this2.onChange.bind(_this2, item.value)\n            }) : null;\n          }\n          return (0, _rax.createElement)(\n            _nukeView2.default,\n            { t: 'radio-item-wrap', style: elementGroupStyle },\n            (0, _rax.createElement)(_radio2.default, _extends({}, others, { checked: checked, touchStyle: touchStyle }))\n          );\n        });\n      }\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { t: 'radio-group-wrap', style: style },\n        children\n      );\n    }\n  }]);\n\n  return RadioGroup;\n}(_rax.Component);\n\nRadioGroup.displayName = 'RadioGroup';\n\nRadioGroup.propTypes = {\n  /**\n   * 单选类型的数据源\n   */\n  dataSource: _rax.PropTypes.array,\n  /**\n   * 选中回调  callback when select done\n   */\n  onChange: _rax.PropTypes.func,\n  /**\n   * 选中的值,配合dataSource使用\n   */\n  value: _rax.PropTypes.any,\n  /**\n   * 单选框的尺寸\n   */\n  size: _rax.PropTypes.oneOf(['small', 'medium']),\n  /**\n   * 单选框的类型\n   */\n  type: _rax.PropTypes.oneOf(['normal', 'list', 'dark', 'dot']),\n  /**\n   * group 模式下每个item的最外层样式\n   */\n  groupItemStyle: _rax.PropTypes.object,\n  /**\n   * group 模式下label文案的样式\n   */\n  labelStyle: _rax.PropTypes.object,\n  /**\n   * 是否翻转文字与radio reverse the label and radio\n   */\n  reverse: _rax.PropTypes.bool,\n  /**\n   * 自定义渲染group item的方法\n   */\n  renderItem: _rax.PropTypes.func\n};\n\nRadioGroup.defaultProps = {\n  dataSource: [],\n  onChange: function onChange() {},\n  value: '',\n  size: 'small',\n  type: 'normal',\n  groupItemStyle: {},\n  labelStyle: {},\n  reverse: false\n};\n\nRadioGroup.childContextTypes = {\n  onChange: _rax.PropTypes.func,\n  __group__: _rax.PropTypes.bool,\n  selectedValue: _rax.PropTypes.any\n};\nexports.default = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(RadioGroup);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Radio/view/radio-group.js?");

/***/ }),

/***/ "./lib/Radio/view/radio.js":
/*!*********************************!*\
  !*** ./lib/Radio/view/radio.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeIcon = __webpack_require__(/*! ../../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Radio/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Radio\n * @description 单选框\n */\nvar Radio = function (_Component) {\n  _inherits(Radio, _Component);\n\n  function Radio(props) {\n    _classCallCheck(this, Radio);\n\n    var _this = _possibleConstructorReturn(this, (Radio.__proto__ || Object.getPrototypeOf(Radio)).call(this, props));\n\n    _this.onChange = _this.onChange.bind(_this);\n    var checked = props.checked || false;\n    _this.state = {\n      checked: checked,\n      value: props.value || ''\n    };\n    return _this;\n  }\n\n  _createClass(Radio, [{\n    key: 'componentWillMount',\n    value: function componentWillMount() {\n      if (this.context.__group__ && !this.props.ignoreContext && this.context.selectedValue === this.props.value) {\n        this.state = {\n          checked: true\n        };\n      }\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps, nextContext) {\n      if (nextContext.__group__ && !this.props.ignoreContext) {\n        if ((typeof nextContext === 'undefined' ? 'undefined' : _typeof(nextContext)) === 'object' && nextContext.selectedValue === nextProps.value) {\n          this.setState({ checked: true });\n        } else {\n          this.setState({ checked: false });\n        }\n      } else if ('checked' in nextProps) {\n        if (nextProps.checked !== this.props.checked) {\n          this.setState({\n            checked: nextProps.checked\n          });\n        }\n      }\n    }\n  }, {\n    key: 'onChange',\n    value: function onChange(e) {\n      var _props = this.props,\n          onChange = _props.onChange,\n          value = _props.value,\n          disabled = _props.disabled;\n\n      if (disabled) return;\n      var tmp = this.state.checked;\n      if (this.context.__group__ && !this.props.ignoreContext) {\n        this.context.onChange(value, e);\n      } else if (!('checked' in this.props)) {\n        this.setState({\n          checked: !tmp\n        });\n      }\n      onChange(!tmp);\n      e.stopPropagation && e.stopPropagation();\n    }\n  }, {\n    key: 'renderInner',\n    value: function renderInner(props) {\n      var style = props.style,\n          disabled = props.disabled,\n          themeStyle = props.themeStyle,\n          checkedStyle = props.checkedStyle,\n          type = props.type,\n          disabledStyle = props.disabledStyle,\n          size = props.size;\n\n      if (!this.state.checked) return null;\n\n      if (type === 'dot') {\n        var dotStyle = Object.assign({}, themeStyle['dot-inner'], themeStyle['dot-inner-' + size], checkedStyle && checkedStyle.color ? { backgroundColor: checkedStyle.color } : {});\n        if (disabled) {\n          dotStyle = Object.assign({}, dotStyle, themeStyle['dot-inner-disabled'], {\n            backgroundColor: disabledStyle && disabledStyle.color || themeStyle['dot-inner-disabled'].backgroundColor\n          });\n        }\n        return (0, _rax.createElement)(_nukeView2.default, { style: dotStyle });\n      }\n      var innerStyle = Object.assign({}, themeStyle['icon-' + size], themeStyle[type + '-inner'], { color: style && style.color || themeStyle[type + '-inner-checked'].color }, disabled ? {\n        color: disabledStyle && disabledStyle.color || themeStyle[type + '-inner-disabled'].color\n      } : {});\n\n      return (0, _rax.createElement)(_nukeIcon2.default, { style: innerStyle, name: 'right', onClick: this.onChange });\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props2 = this.props,\n          size = _props2.size,\n          style = _props2.style,\n          disabled = _props2.disabled,\n          type = _props2.type,\n          themeStyle = _props2.themeStyle,\n          checkedStyle = _props2.checkedStyle,\n          disabledStyle = _props2.disabledStyle,\n          touchStyle = _props2.touchStyle;\n      var checked = this.state.checked;\n\n      var elementTouchStyle = Object.assign({}, themeStyle['touch-' + size], touchStyle);\n\n      var wrapStyle = Object.assign({}, themeStyle['wrap-' + size], themeStyle['wrap-' + type], checked ? Object.assign({}, themeStyle['wrap-' + type + '-checked'], checkedStyle) : {}, disabled ? Object.assign({}, themeStyle['wrap-' + type + '-disabled'], disabledStyle) : {}, checked && disabled ? Object.assign({}, themeStyle['wrap-' + type + '-checked-disabled']) : {}, style);\n\n      return (0, _rax.createElement)(\n        _nukeTouchable2.default,\n        { style: elementTouchStyle, onPress: this.onChange },\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: wrapStyle },\n          this.renderInner(this.props)\n        )\n      );\n    }\n  }]);\n\n  return Radio;\n}(_rax.Component);\n\nRadio.displayName = 'Radio';\nRadio.propTypes = {\n  /**\n   * 受控选择  controlled select\n   */\n  checked: _rax.PropTypes.boolean,\n  /**\n   * 单选尺寸  size of radio\n   * @enumdesc small,medium\n   */\n  size: _rax.PropTypes.oneOf(['small', 'medium']),\n  /**\n   * 受控禁用  controlled disabled\n   */\n  disabled: _rax.PropTypes.boolean,\n  /**\n   * 状态变更回调  status change callback\n   */\n  onChange: _rax.PropTypes.func,\n  /**\n   * 外观类型  appearance type\n   * @enumdesc normal,list,empty,dot\n   */\n  type: _rax.PropTypes.oneOf(['normal', 'list', 'empty', 'dot']),\n  /**\n   * 单选group的选中值,配合DataSource使用\n   * value of radio group.\n   */\n  value: _rax.PropTypes.string,\n  /**\n   * 选中样式,选中状态下会覆盖style\n   */\n  checkedStyle: _rax.PropTypes.object,\n  /**\n   * 禁用样式,禁用状态下会覆盖style\n   */\n  disabledStyle: _rax.PropTypes.object,\n  /**\n   * 点击区域样式,通常点击区域要大于外观区域\n   */\n  touchStyle: _rax.PropTypes.object,\n  /**\n   * 忽略上层父级 context,当 radio.group 的子级存在非 group 模式的 radio 时需设置为 false\n   * ignore context passing. usually use the nested with radio group\n   */\n  ignoreContext: _rax.PropTypes.boolean\n};\n\nRadio.defaultProps = {\n  size: 'medium',\n  disabled: false,\n  onChange: function onChange() {},\n  type: 'normal',\n  value: '',\n  checkedStyle: {},\n  disabledStyle: {},\n  touchStyle: {},\n  ignoreContext: false\n};\nRadio.contextTypes = {\n  onChange: _rax.PropTypes.func,\n  __group__: _rax.PropTypes.bool,\n  selectedValue: _rax.PropTypes.any\n};\n\nexports.default = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Radio);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Radio/view/radio.js?");

/***/ }),

/***/ "./lib/RefreshControl/index.js":
/*!*************************************!*\
  !*** ./lib/RefreshControl/index.js ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _web = __webpack_require__(/*! ./view/web.js */ \"./lib/RefreshControl/view/web.js\");\n\nvar _web2 = _interopRequireDefault(_web);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* @jsx createElement */\n\n\nvar RefreshControl = function (_Component) {\n  _inherits(RefreshControl, _Component);\n\n  function RefreshControl() {\n    _classCallCheck(this, RefreshControl);\n\n    return _possibleConstructorReturn(this, (RefreshControl.__proto__ || Object.getPrototypeOf(RefreshControl)).apply(this, arguments));\n  }\n\n  _createClass(RefreshControl, [{\n    key: 'render',\n    value: function render() {\n      if (_nukeEnv.isWeex) {\n        var displayRefresh = this.props.refreshing ? 'show' : 'hide';\n        return (0, _rax.createElement)('refresh', _extends({}, this.props, { display: displayRefresh }));\n      }\n      return (0, _rax.createElement)(_web2.default, this.props);\n    }\n  }]);\n\n  return RefreshControl;\n}(_rax.Component);\n\nRefreshControl.displayName = 'RefreshControl';\nexports.default = RefreshControl;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/RefreshControl/index.js?");

/***/ }),

/***/ "./lib/RefreshControl/view/add-style.js":
/*!**********************************************!*\
  !*** ./lib/RefreshControl/view/add-style.js ***!
  \**********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nexports.default = function (styleString) {\n  var style = document.createElement('style');\n  style.type = 'text/css';\n  style.innerHTML = styleString;\n  document.getElementsByTagName('head')[0].appendChild(style);\n};\n\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/RefreshControl/view/add-style.js?");

/***/ }),

/***/ "./lib/RefreshControl/view/web.js":
/*!****************************************!*\
  !*** ./lib/RefreshControl/view/web.js ***!
  \****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _addStyle = __webpack_require__(/*! ./add-style.js */ \"./lib/RefreshControl/view/add-style.js\");\n\nvar _addStyle2 = _interopRequireDefault(_addStyle);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\nvar defaultStyle = {\n  flexShrink: 0,\n  flexDirection: 'column-reverse',\n  display: 'flex',\n  overflow: 'hidden',\n  height: 0\n};\nvar FULL_WIDTH = 750;\nvar defaultHeight = 150;\n\nvar RefreshControl = function (_Component) {\n  _inherits(RefreshControl, _Component);\n\n  function RefreshControl(props) {\n    _classCallCheck(this, RefreshControl);\n\n    var _this = _possibleConstructorReturn(this, (RefreshControl.__proto__ || Object.getPrototypeOf(RefreshControl)).call(this, props));\n\n    _this.setWebRefreshHeight = function () {\n      _this.setStyle({\n        height: Math.floor(_this.move / 3) + 'px'\n      });\n    };\n\n    _this.resetWebRefresh = function () {\n      if (_this.move / 3 >= _this.height) {\n        _this.addAnim();\n        var list = (0, _rax.findDOMNode)(_this.props.listId);\n        _this.props.onRefresh && _this.props.onRefresh();\n      } else {\n        _this.removeAnim();\n        _this.setStyle({\n          height: '0px'\n        });\n      }\n    };\n\n    _this.addAnimStyle = function () {\n      // 下拉刷新 css 动画效果\n      var animTime = _this.props.animationTime;\n\n      var animStr = '0% {height: ' + _this.height + 'px} 40% {height: ' + _this.height + 'px} 100% {height: 0px}';\n      var strHTML = '.refreshAnim { animation:runWebRefresh ' + animTime + 's; -moz-animation:runWebRefresh ' + animTime + 's; -webkit-animation:runWebRefresh ' + animTime + 's; -o-animation:runWebRefresh ' + animTime + 's; } @keyframes runWebRefresh {' + animStr + '} @-moz-keyframes runWebRefresh {' + animStr + '} @-webkit-keyframes runWebRefresh {' + animStr + '} @-o-keyframes runWebRefresh {' + animStr + '}';\n      (0, _addStyle2.default)(strHTML);\n    };\n\n    _this.setListEvent = function () {\n      var listId = _this.props.listId;\n      // 绑定下拉刷新事件\n      setTimeout(function () {\n        var list = (0, _rax.findDOMNode)(listId);\n        list.addEventListener('touchstart', function (e) {\n          _this.startY = e.changedTouches[0].pageY;\n        }, false);\n        list.addEventListener('touchmove', function (e) {\n          _this.moveY = e.changedTouches[0].pageY;\n          if (list.scrollTop == 0) {\n            _this.move = _this.moveY - _this.startY;\n            _this.setWebRefreshHeight();\n            if (_this.move > 0) {\n              e.preventDefault();\n            }\n          }\n        }, false);\n        list.addEventListener('touchend', function (e) {\n          _this.endY = e.changedTouches[0].pageY;\n          if (list.scrollTop == 0 && _this.startY < _this.endY) {\n            _this.resetWebRefresh();\n          }\n        }, false);\n      }, 300);\n    };\n\n    _this.getHeightPxValue();\n    _this.addAnimStyle();\n    return _this;\n  }\n\n  _createClass(RefreshControl, [{\n    key: 'findDom',\n    value: function findDom() {\n      if (!this.dom) {\n        this.dom = (0, _rax.findDOMNode)(this.refs.webRefresh);\n      }\n      return this.dom;\n    }\n  }, {\n    key: 'setStyle',\n    value: function setStyle(styleData) {\n      var elementStyle = this.findDom().style;\n      for (var styleName in styleData) {\n        elementStyle[styleName] = styleData[styleName];\n      }\n    }\n  }, {\n    key: 'getHeightPxValue',\n    value: function getHeightPxValue() {\n      var _props$style = this.props.style,\n          style = _props$style === undefined ? {} : _props$style;\n\n      var height = parseInt(style.height || defaultHeight, 10);\n      if (window.devicePixelRatio) {\n        if (typeof height === 'number') {\n          this.height = height * window.screen.width / FULL_WIDTH;\n        }\n        this.height = height * window.screen.width / FULL_WIDTH;\n      }\n    }\n  }, {\n    key: 'addAnim',\n    value: function addAnim() {\n      (0, _rax.setNativeProps)(this.refs.webRefresh, { className: 'refreshAnim' });\n    }\n  }, {\n    key: 'removeAnim',\n    value: function removeAnim() {\n      (0, _rax.setNativeProps)(this.refs.webRefresh, { className: 'empty' });\n    }\n\n    // 展开下拉动画\n\n\n    // 收起下拉动画\n\n    /**\n     * 仿 iOS 下拉刷新逻辑\n     * 只有超过 refreshControl 的高度后才可以触发时间。\n     * 并执行快速回弹到固定高度的,继而按照动画回弹。\n     */\n\n  }, {\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      this.setListEvent();\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      // if (nextProps.refreshing !== this.props.refreshing) {\n      if (!nextProps.refreshing) {\n        this.removeAnim();\n        this.setStyle({ height: '0px', overflow: 'hidden' });\n      }\n      // }\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var style = this.props.style;\n\n      var refreshStyle = Object.assign({}, defaultStyle, style, { height: 0 });\n      if (_nukeEnv.isWeb) {\n        return (0, _rax.createElement)(\n          _nukeView2.default,\n          { ref: 'webRefresh', style: refreshStyle },\n          this.props.children\n        );\n      }\n      return null;\n    }\n  }]);\n\n  return RefreshControl;\n}(_rax.Component);\n\nRefreshControl.propTypes = {\n  animationTime: _rax.PropTypes.float,\n  isRefreshing: _rax.PropTypes.boolean,\n  onRefresh: _rax.PropTypes.func\n};\nRefreshControl.defaultProps = {\n  animationTime: 1.5,\n\n  style: {}\n};\n\nRefreshControl.displayName = 'RefreshControl';\n\nexports.default = RefreshControl;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/RefreshControl/view/web.js?");

/***/ }),

/***/ "./lib/ScrollView/index.js":
/*!*********************************!*\
  !*** ./lib/ScrollView/index.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeRefreshControl = __webpack_require__(/*! ../RefreshControl/index.js */ \"./lib/RefreshControl/index.js\");\n\nvar _nukeRefreshControl2 = _interopRequireDefault(_nukeRefreshControl);\n\nvar _styles = __webpack_require__(/*! ./styles.js */ \"./lib/ScrollView/styles.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SCROLLVIEW_CLS = 'rax-scrollview';\n\nvar LOADMORE_THRESHOLD = 500;\nvar ON_SCROLL_THROTTLE = 50;\nvar FULL_WIDTH = 750;\n\n/**\n * ScrollView\n * @description  可滚动容器\n */\n\nvar ScrollView = function (_Component) {\n  _inherits(ScrollView, _Component);\n\n  function ScrollView(props) {\n    _classCallCheck(this, ScrollView);\n\n    var _this = _possibleConstructorReturn(this, (ScrollView.__proto__ || Object.getPrototypeOf(ScrollView)).call(this, props));\n\n    _this.state = {\n      loadmoreretry: 0\n    };\n    _this.timer = null;\n    _this.childrenAll = {};\n    _this.scrollStartFlag = false;\n    _this.lastScrollEventTriggerTime = 0;\n    _this.lastScrollContentSize = 0;\n    _this.lastScrollDistance = 0;\n\n    _this.handleScroll = _this.handleScroll.bind(_this);\n    _this.scrollTo = _this.scrollTo.bind(_this);\n    _this.scrollToElement = _this.scrollToElement.bind(_this);\n    _this.resetLoadmore = _this.resetLoadmore.bind(_this);\n    _this.checkScrolling = _this.checkScrolling.bind(_this);\n    return _this;\n  }\n\n  _createClass(ScrollView, [{\n    key: 'checkScrolling',\n    value: function checkScrolling() {\n      var now = new Date().getTime();\n      if (this.lastScrollEventTriggerTime > 0 && now - this.lastScrollEventTriggerTime > 200) {\n        this.scrollStartFlag = false;\n        clearTimeout(this.timer);\n        this.timer = null;\n        this.props.onScrollEnd && this.props.onScrollEnd();\n      }\n    }\n  }, {\n    key: 'handleScroll',\n    value: function handleScroll(e) {\n      var _props = this.props,\n          onScroll = _props.onScroll,\n          onScrollStart = _props.onScrollStart,\n          horizontal = _props.horizontal,\n          onEndReached = _props.onEndReached,\n          onEndReachedThreshold = _props.onEndReachedThreshold;\n\n      if (_nukeEnv.isWeb) {\n        if (!this.scrollStartFlag) {\n          // first time trigger onScroll\n          this.scrollStartFlag = true;\n          onScrollStart && onScrollStart(e);\n        }\n        clearTimeout(this.timer);\n\n        this.lastScrollEventTriggerTime = new Date().getTime();\n\n        if (onScroll) {\n          e.nativeEvent = {\n            contentOffset: {\n              x: e.target.scrollLeft,\n              y: e.target.scrollTop\n            }\n          };\n          onScroll && onScroll(e);\n        }\n        this.timer = setTimeout(this.checkScrolling, 200);\n        if (onEndReached) {\n          if (!this.scrollerNode) {\n            this.scrollerNode = (0, _rax.findDOMNode)(this.refs.scroller);\n            this.scrollerContentNode = (0, _rax.findDOMNode)(this.refs.contentContainer);\n\n            this.scrollerNodeSize = horizontal ? this.scrollerNode.offsetWidth : this.scrollerNode.offsetHeight;\n          }\n\n          // NOTE:in iOS7/8 offsetHeight/Width is is inaccurate ( use scrollHeight/Width )\n          var scrollContentSize = horizontal ? this.scrollerNode.scrollWidth : this.scrollerNode.scrollHeight;\n          var scrollDistance = horizontal ? this.scrollerNode.scrollLeft : this.scrollerNode.scrollTop;\n          var isEndReached = scrollContentSize - scrollDistance - this.scrollerNodeSize < onEndReachedThreshold;\n\n          var isScrollToEnd = scrollDistance > this.lastScrollDistance;\n          var isLoadedMoreContent = scrollContentSize !== this.lastScrollContentSize;\n\n          if (isEndReached && isScrollToEnd && isLoadedMoreContent) {\n            this.lastScrollContentSize = scrollContentSize;\n            onEndReached(e);\n          }\n\n          this.lastScrollDistance = scrollDistance;\n        }\n      }\n      if (_nukeEnv.isWeex) {\n        e.nativeEvent = {\n          contentOffset: {\n            // HACK: weex scroll event value is opposite of web\n            x: -e.contentOffset.x,\n            y: -e.contentOffset.y\n          }\n        };\n        onScroll && onScroll(e);\n      }\n    }\n    /**\n     * 兼容旧的 resetScroll\n     */\n\n  }, {\n    key: 'resetLoadmore',\n    value: function resetLoadmore() {\n      if (_nukeEnv.isWeb) {\n        this.lastScrollContentSize = 0;\n        this.lastScrollDistance = 0;\n      } else {\n        this.refs.scroller.resetLoadmore();\n      }\n    }\n  }, {\n    key: 'scrollTo',\n    value: function scrollTo() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      var horizontal = this.props.horizontal;\n      var _options$x = options.x,\n          x = _options$x === undefined ? 0 : _options$x,\n          _options$y = options.y,\n          y = _options$y === undefined ? 0 : _options$y,\n          _options$animated = options.animated,\n          animated = _options$animated === undefined ? true : _options$animated,\n          _options$offset = options.offset,\n          offset = _options$offset === undefined ? 0 : _options$offset;\n\n      var offsetResult = parseInt(horizontal ? x : y || offset, 10);\n      if (_nukeEnv.isWeex) {\n        var dom = __webpack_require__(/*! @weex-module/dom */ \"@weex-module/dom\");\n        var contentContainer = (0, _rax.findDOMNode)(this.refs.contentContainer);\n        dom.scrollToElement(contentContainer.ref, {\n          offset: offsetResult,\n          animated: animated\n        });\n      } else {\n        var pixelRatio = document.documentElement.clientWidth / FULL_WIDTH;\n\n        if (horizontal) {\n          (0, _rax.findDOMNode)(this.refs.scroller).scrollLeft = pixelRatio * offsetResult;\n        } else {\n          (0, _rax.findDOMNode)(this.refs.scroller).scrollTop = pixelRatio * offsetResult;\n        }\n      }\n    }\n  }, {\n    key: 'scrollToElement',\n    value: function scrollToElement(ref) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var horizontal = this.props.horizontal;\n      var _options$offset2 = options.offset,\n          offset = _options$offset2 === undefined ? 0 : _options$offset2,\n          _options$animated2 = options.animated,\n          animated = _options$animated2 === undefined ? true : _options$animated2;\n\n      if (_nukeEnv.isWeex) {\n        var dom = __webpack_require__(/*! @weex-module/dom */ \"@weex-module/dom\");\n        // const contentContainer = findDOMNode(this.refs.contentContainer);\n        dom.scrollToElement((0, _rax.findDOMNode)(ref), {\n          offset: offset,\n          animated: animated\n        });\n      } else {\n        var pixelRatio = document.documentElement.clientWidth / FULL_WIDTH;\n\n        // if (offset >= 0) {\n        var refDOM = (0, _rax.findDOMNode)(ref);\n        if (refDOM) {\n          if (horizontal) {\n            (0, _rax.findDOMNode)(this.refs.scroller).scrollLeft = refDOM.offsetLeft + pixelRatio * offset;\n          } else {\n            (0, _rax.findDOMNode)(this.refs.scroller).scrollTop = refDOM.offsetTop + pixelRatio * offset;\n          }\n          // }\n        }\n      }\n    }\n  }, {\n    key: 'splitChildren',\n    value: function splitChildren() {\n      var children = this.props.children;\n\n      if (!children) {\n        this.childrenAll = {\n          contents: null,\n          refreshContent: null\n        };\n        return;\n      }\n\n      var contents = [];\n      var refreshContent = void 0;\n      if (!Array.isArray(children)) {\n        children = [children];\n      }\n      children.forEach(function (child) {\n        if (!child) return;\n        if (child.type && child.type.displayName === _nukeRefreshControl2.default.displayName) {\n          refreshContent = child;\n        } else {\n          contents.push(child);\n        }\n      });\n      this.childrenAll = {\n        contents: contents,\n        refreshContent: refreshContent\n      };\n    }\n  }, {\n    key: 'hideWebScrollBar',\n    value: function hideWebScrollBar() {\n      var styleNode = document.createElement('style');\n      styleNode.id = 'rax-scrollview-style';\n      document.head.appendChild(styleNode);\n      styleNode.innerHTML = '.' + SCROLLVIEW_CLS + '::-webkit-scrollbar{display: none;}';\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props2 = this.props,\n          style = _props2.style,\n          scrollEventThrottle = _props2.scrollEventThrottle,\n          showsHorizontalScrollIndicator = _props2.showsHorizontalScrollIndicator,\n          showsVerticalScrollIndicator = _props2.showsVerticalScrollIndicator,\n          onEndReached = _props2.onEndReached,\n          onScrollStart = _props2.onScrollStart,\n          onScrollEnd = _props2.onScrollEnd,\n          onScroll = _props2.onScroll,\n          children = _props2.children,\n          horizontal = _props2.horizontal,\n          onEndReachedThreshold = _props2.onEndReachedThreshold,\n          others = _objectWithoutProperties(_props2, ['style', 'scrollEventThrottle', 'showsHorizontalScrollIndicator', 'showsVerticalScrollIndicator', 'onEndReached', 'onScrollStart', 'onScrollEnd', 'onScroll', 'children', 'horizontal', 'onEndReachedThreshold']);\n\n      var showScrollBar = this.props.showScrollBar;\n\n      if (typeof showScrollBar === 'undefined') {\n        showScrollBar = horizontal ? showsHorizontalScrollIndicator : showsVerticalScrollIndicator;\n      }\n\n      var contentContainerStyle = [horizontal && _styles2.default.contentContainerHorizontal, this.props.contentContainerStyle];\n\n      // bugfix: fix scrollview flex in ios 78\n      if (!_nukeEnv.isWeex && !horizontal) {\n        contentContainerStyle.push(_styles2.default.containerWebStyle);\n      }\n\n      this.splitChildren();\n      var contentChild = this.childrenAll.contents;\n      var refreshContent = this.childrenAll.refreshContent;\n\n      var contentContainer = (0, _rax.createElement)(\n        _nukeView2.default,\n        { ref: 'contentContainer', style: contentContainerStyle },\n        contentChild\n      );\n\n      var baseStyle = horizontal ? _styles2.default.horizontal : _styles2.default.vertical;\n\n      var scrollerStyle = Object.assign({}, baseStyle, _nukeEnv.isWeb ? _styles2.default.scrollerWeb : {}, this.props.style);\n\n      if (_nukeEnv.isWeex) {\n        var nativeProps = _extends({\n          ref: 'scroller',\n          style: scrollerStyle,\n          showScrollbar: showScrollBar,\n          onLoadmore: onEndReached,\n          onScrollStart: onScrollStart,\n          onScrollEnd: onScrollEnd,\n          onScroll: onScroll ? this.handleScroll : null,\n          loadmoreoffset: parseInt(onEndReachedThreshold, 10),\n          loadmoreretry: true,\n          offsetAccuracy: 20,\n          scrollDirection: horizontal ? 'horizontal' : 'vertical'\n        }, others);\n        return (0, _rax.createElement)(\n          'scroller',\n          nativeProps,\n          refreshContent,\n          contentContainer\n        );\n      }\n      /**\n       * trigger times throttle\n       */\n      var handleScroll = this.handleScroll;\n      if (scrollEventThrottle) {\n        handleScroll = throttle(handleScroll, scrollEventThrottle);\n      }\n      var webProps = _extends({\n        ref: 'scroller',\n        style: scrollerStyle,\n        onScroll: handleScroll,\n        id: 'scroller_rv'\n\n      }, others);\n      if (!showScrollBar) {\n        this.hideWebScrollBar();\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        _extends({}, webProps, { className: SCROLLVIEW_CLS }),\n        refreshContent ? (0, _rax.createElement)(_nukeRefreshControl2.default, _extends({}, refreshContent.props, {\n          listId: webProps.id,\n          refreshingTime: 100,\n          refreshing: refreshContent.props.refreshing\n        })) : null,\n        contentContainer\n      );\n    }\n  }]);\n\n  return ScrollView;\n}(_rax.Component);\n\nfunction throttle(func, wait) {\n  var ctx = void 0;\n  var args = void 0;\n  var rtn = void 0;\n  var timeoutID = void 0;\n  var last = 0;\n\n  function call() {\n    timeoutID = 0;\n    last = +new Date();\n    rtn = func.apply(ctx, args);\n    ctx = null;\n    args = null;\n  }\n\n  return function throttled() {\n    ctx = this;\n    args = arguments;\n    var delta = new Date() - last;\n    if (!timeoutID) {\n      if (delta >= wait) call();else timeoutID = setTimeout(call, wait - delta);\n    }\n    return rtn;\n  };\n}\n\nScrollView.propTypes = {\n  /**\n   * ScrollView 样式 style of ScrollView\n   */\n  style: _rax.PropTypes.any,\n  /**\n   * 滚动时回调 callback when scrolling\n   */\n  onScroll: _rax.PropTypes.func,\n  /**\n   * 滚动开始时回调 callback when scrolling\n   */\n  onScrollStart: _rax.PropTypes.func,\n  /**\n   * 滚动结束时回调 callback when scrolling\n   */\n  onScrollEnd: _rax.PropTypes.func,\n  /**\n   * 加载到底部时回调 callback when scrolling to bottom\n   */\n  onEndReached: _rax.PropTypes.func,\n  /**\n   * 是否横向 is horizontal\n   */\n  horizontal: _rax.PropTypes.boolean,\n  /**\n   * 触发加载到底部回调的位移 offset of scrolling to bottom event been triggered\n   */\n  onEndReachedThreshold: _rax.PropTypes.number,\n  /**\n   * 是否展示横向滚动条  is show horizontal scrollbar\n   */\n  showsHorizontalScrollIndicator: _rax.PropTypes.boolean,\n  /**\n   * 是否展示纵向滚动条  is show vertical scrollbar\n   */\n  showsVerticalScrollIndicator: _rax.PropTypes.boolean,\n  /**\n   * 内容容器样式 the style of content's wrap container\n   */\n  contentContainerStyle: _rax.PropTypes.any,\n  /**\n   * onScroll 事件触发节流时间 the time inteval of next onScroll event being triggered\n   */\n  scrollEventThrottle: _rax.PropTypes.number,\n  children: _rax.PropTypes.any\n};\nScrollView.defaultProps = {\n  style: {},\n  contentContainerStyle: {},\n  horizontal: false,\n  onScroll: null,\n  onScrollStart: null,\n  onScrollEnd: null,\n  onEndReached: function onEndReached() {},\n  scrollEventThrottle: ON_SCROLL_THROTTLE,\n  onEndReachedThreshold: LOADMORE_THRESHOLD,\n  showsHorizontalScrollIndicator: true,\n  showsVerticalScrollIndicator: true\n};\nexports.default = ScrollView;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/ScrollView/index.js?");

/***/ }),

/***/ "./lib/ScrollView/styles.js":
/*!**********************************!*\
  !*** ./lib/ScrollView/styles.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = {\n  vertical: {\n    flex: 1,\n    flexDirection: 'column'\n  },\n  horizontal: {\n    flex: 1,\n    flexDirection: 'row'\n  },\n  contentContainerHorizontal: {\n    flexDirection: 'row'\n  },\n  containerWebStyle: {\n    display: 'block'\n  },\n  scrollerWeb: {\n    webkitOverflowScrolling: 'touch',\n    overflow: 'scroll'\n  }\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/ScrollView/styles.js?");

/***/ }),

/***/ "./lib/SearchBar/index.h5.js":
/*!***********************************!*\
  !*** ./lib/SearchBar/index.h5.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _searchBar = __webpack_require__(/*! ./view/search-bar.js */ \"./lib/SearchBar/view/search-bar.js\");\n\nvar _searchBar2 = _interopRequireDefault(_searchBar);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _searchBar2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/SearchBar/index.h5.js?");

/***/ }),

/***/ "./lib/SearchBar/index.js":
/*!********************************!*\
  !*** ./lib/SearchBar/index.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _index = __webpack_require__(/*! ./index.native.js */ \"./lib/SearchBar/index.native.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nvar _index3 = __webpack_require__(/*! ./index.h5.js */ \"./lib/SearchBar/index.h5.js\");\n\nvar _index4 = _interopRequireDefault(_index3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SearchBarEntry = _index4.default;\nif (_nukeEnv.isWeex) {\n  SearchBarEntry = _index2.default;\n}\nexports.default = SearchBarEntry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/SearchBar/index.js?");

/***/ }),

/***/ "./lib/SearchBar/index.native.js":
/*!***************************************!*\
  !*** ./lib/SearchBar/index.native.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _searchBar = __webpack_require__(/*! ./view/search-bar.js */ \"./lib/SearchBar/view/search-bar.js\");\n\nvar _searchBar2 = _interopRequireDefault(_searchBar);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _searchBar2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/SearchBar/index.native.js?");

/***/ }),

/***/ "./lib/SearchBar/styles/index.js":
/*!***************************************!*\
  !*** ./lib/SearchBar/styles/index.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/SearchBar/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    SearchBar: {\n      wrap: _extends({\n        height: Variables.height\n      }, core.border(Variables['border-width'], Variables['border-style'], 'transparent', 'bottom'), core.padding(0, Variables['padding-left-right']), {\n        backgroundColor: Variables['bg-color'],\n        flexDirection: 'row',\n        alignItems: 'center',\n        justifyContent: 'center'\n      }),\n      body: {\n        justifyContent: 'flex-start',\n        borderRadius: Variables['border-radius'],\n        backgroundColor: Variables['input-bg-color'],\n        height: Variables['body-height'],\n\n        flexDirection: 'row',\n        flex: 1\n      },\n      'body-centered': {\n        justifyContent: 'center'\n      },\n\n      icon: {\n        // marginRight: Variables['icon-margin-right'],\n        color: Variables['placeholder-color'],\n        fontSize: Variables['icon-size']\n      },\n\n      placeholder: _extends({\n        position: 'absolute',\n        height: Variables['body-height'],\n        zIndex: 1\n      }, core.padding(0, Variables['body-padding-l-r']), {\n        width: '100%', // for web\n        color: Variables['placeholder-color'],\n        fontSize: Variables['font-size'],\n        flexDirection: 'row',\n        justifyContent: 'flex-start',\n        alignItems: 'center'\n      }),\n      'input-wrap': {\n        height: Variables['body-height'],\n        color: Variables.color,\n        borderWidth: 0,\n        flex: 1,\n        zIndex: 2,\n        backgroundColor: 'transparent',\n        paddingLeft: Variables['input-padding-left']\n      },\n      'input-ele': {\n        height: Variables['body-height'],\n        lineHeight: Variables['body-height'],\n        fontSize: Variables['font-size'],\n        color: Variables.color,\n        borderWidth: 0,\n        paddingLeft: 0,\n        paddingRight: 0,\n        flex: 1,\n        backgroundColor: 'transparent'\n      },\n      button: _extends({\n        height: '100%'\n      }, core.padding(0, Variables['cancel-margin-left'], 0, Variables['cancel-margin-left']), {\n        alignItems: 'center',\n        flexDirection: 'row'\n      }),\n      'button-text': {\n        color: '#333333',\n        'color:active': '#666666',\n        fontSize: Variables['font-size']\n      }\n    }\n  };\n}\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/SearchBar/styles/index.js?");

/***/ }),

/***/ "./lib/SearchBar/styles/variable.js":
/*!******************************************!*\
  !*** ./lib/SearchBar/styles/variable.js ***!
  \******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.SearchBar;\n\n  /**\n   * 搜索\n   * @namespace component\n   * @property module search-bar\n   * @property tag SearchBar\n   * @property category component\n   */\n\n  var SearchBarVariables = {\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    height: core['s-11'],\n    /**\n     * height\n     * @property namespace size/input\n     */\n    'body-height': core['s-8'],\n    /**\n     * background\n     * @property namespace statement\n     */\n    'bg-color': core['color-white'],\n    /**\n     * margin(r)\n     * @property namespace size/menu\n     */\n    'menu-margin-right': core['s-2'],\n    /**\n     * padding(l,r)\n     * @property namespace size\n     */\n    'padding-left-right': core['s-2'],\n    /**\n     * padding(l,r)\n     * @property namespace size/body\n     */\n    'body-padding-l-r': core['s-2'],\n    /**\n     * background\n     * @property namespace statement/input\n     */\n    'input-bg-color': core['color-white'],\n    /**\n     * padding(l)\n     * @property namespace size/input\n     */\n    'input-padding-left': core['s-7'],\n    /**\n     * corner\n     * @property namespace statement/input\n     */\n\n    'border-radius': core['corner-1'],\n    /**\n     * text\n     * @property namespace statement/input\n     */\n    color: core['color-text1-4'],\n    /**\n     * text\n     * @property namespace statement/placeholder\n     */\n    'placeholder-color': core['color-text1-1'],\n    /**\n     * text\n     * @property namespace size\n     */\n    'font-size': core['font-size-body-2'],\n    /**\n     * border-color\n     * @property namespace statement/focus\n     */\n    'bottom-color': core['color-line1-2'],\n    /**\n     * width\n     * @property namespace size/border\n     */\n    'border-width': core['line-1'],\n    /**\n     * border-style\n     * @property namespace statement\n     */\n    'border-style': core['line-solid'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n    'icon-size': core['icon-s'],\n    /**\n     * margin(l)\n     * @property namespace size/icon\n     */\n    'icon-margin-right': core['s-1'],\n    /**\n     * margin(l)\n     * @property namespace size/cancel\n     */\n    'cancel-margin-left': core['s-2'],\n    /**\n     * color\n     * @property namespace statement/clear\n     */\n    'clear-color': core['color-text1-2'],\n    /**\n     * size\n     * @property namespace size/clear\n     */\n    'clear-size': core['icon-s'],\n    /**\n     * margin(r)\n     * @property namespace size/clear\n     */\n    'clear-margin-right': core['s-2']\n  };\n\n  // should alway use var statement to carray a assigngg\n  var variable = Object.assign(SearchBarVariables, ComponentCustomStyle);\n  return variable;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/SearchBar/styles/variable.js?");

/***/ }),

/***/ "./lib/SearchBar/view/search-bar.js":
/*!******************************************!*\
  !*** ./lib/SearchBar/view/search-bar.js ***!
  \******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeIcon = __webpack_require__(/*! ../../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _nukeDom = __webpack_require__(/*! ../../Dom/index.js */ \"./lib/Dom/index.js\");\n\nvar _nukeDom2 = _interopRequireDefault(_nukeDom);\n\nvar _nukeNormalInput = __webpack_require__(/*! ../../NormalInput/index.js */ \"./lib/NormalInput/index.js\");\n\nvar _nukeNormalInput2 = _interopRequireDefault(_nukeNormalInput);\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/SearchBar/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SearchBar = function (_Component) {\n  _inherits(SearchBar, _Component);\n\n  function SearchBar(props) {\n    _classCallCheck(this, SearchBar);\n\n    var _this = _possibleConstructorReturn(this, (SearchBar.__proto__ || Object.getPrototypeOf(SearchBar)).call(this, props));\n\n    var value = '';\n    if ('defaultValue' in props) {\n      value = props.defaultValue;\n    } else if ('defaultValue' in props) {\n      value = props.value;\n    }\n    _this.state = {\n      focus: false,\n      value: value\n    };\n    _this.userInputValue = value || '';\n    var events = ['focusHandler', 'blurHandler', 'changeHandler', 'inputHandler', 'searchHandler', 'returnHandler', 'textSearchHandler'];\n    events.forEach(function (m) {\n      _this[m] = _this[m].bind(_this);\n    });\n    return _this;\n  }\n\n  //   calcRem\n\n\n  _createClass(SearchBar, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      var _this2 = this;\n\n      var centered = this.props.centered;\n\n      if (!centered) return;\n\n      _nukeDom2.default.getRect('parentDOM').then(function (wrap) {\n        _this2.setState({\n          strentchStyle: {\n            width: _nukeEnv.isWeb ? wrap.width + 'px' : wrap.width // web 端 offset 的单位是 px\n          }\n        });\n      }, function () {});\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      if ('value' in nextProps) {\n        this.setState({\n          value: nextProps.value\n        });\n        this.userInputValue = nextProps.value;\n      }\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          value = _props.value,\n          disabled = _props.disabled,\n          defaultValue = _props.defaultValue,\n          placeholder = _props.placeholder,\n          onInput = _props.onInput,\n          onChange = _props.onChange,\n          onSearch = _props.onSearch,\n          inputStyle = _props.inputStyle,\n          _props$style = _props.style,\n          style = _props$style === undefined ? {} : _props$style,\n          styles = _props.themeStyle,\n          others = _objectWithoutProperties(_props, ['value', 'disabled', 'defaultValue', 'placeholder', 'onInput', 'onChange', 'onSearch', 'inputStyle', 'style', 'themeStyle']);\n\n      var searchbarWrapStyle = Object.assign({}, styles.wrap, style);\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        _extends({ clsName: 'search-bar-wrap', style: searchbarWrapStyle }, others),\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { clsName: 'body', ref: 'parentDOM', style: [styles.body, inputStyle] },\n          this.renderPlaceholder(styles),\n          this.renderInput()\n        ),\n        this.renderSearchButton(styles)\n      );\n    }\n    // 输入框以及placeholder\n\n  }, {\n    key: 'renderInput',\n    value: function renderInput() {\n      var _this3 = this;\n\n      var _props2 = this.props,\n          maxLength = _props2.maxLength,\n          disabled = _props2.disabled,\n          styles = _props2.themeStyle;\n\n      return (0, _rax.createElement)(_nukeNormalInput2.default, {\n        ref: function ref(_ref) {\n          _this3._input = _ref;\n        },\n        style: styles['input-wrap'],\n        type: 'search',\n        returnKeyType: 'search',\n        materialDesign: false,\n        maxLength: maxLength,\n        value: this.state.value,\n        onFocus: this.focusHandler,\n        onBlur: this.blurHandler,\n        onReturn: this.returnHandler,\n        disabled: disabled,\n        inputStyle: styles['input-ele'],\n        onInput: this.inputHandler,\n        onChange: this.changeHandler\n      });\n    }\n    // 模拟的 placeholder\n\n  }, {\n    key: 'renderPlaceholder',\n    value: function renderPlaceholder(styles) {\n      var _props3 = this.props,\n          placeholder = _props3.placeholder,\n          centered = _props3.centered,\n          placeholderColor = _props3.placeholderColor;\n      var focus = this.state.focus;\n\n      var element = void 0;\n\n      var textStyle = {};\n      var TextAttrArr = ['color', 'fontSize', 'fontStyle', 'fontWeight'];\n      TextAttrArr.forEach(function (item) {\n        if (styles.placeholder[item]) {\n          textStyle[item] = styles.placeholder[item];\n        }\n      });\n\n      if (_nukeEnv.isWeb) {\n        element = placeholder && !this.userInputValue && !focus ? (0, _rax.createElement)(\n          _nukeText2.default,\n          { style: [textStyle, { color: placeholderColor }] },\n          placeholder\n        ) : null;\n      } else {\n        element = placeholder && !this.userInputValue && !focus ? (0, _rax.createElement)(\n          _nukeText2.default,\n          { style: [textStyle, { color: placeholderColor }] },\n          placeholder\n        ) : null;\n      }\n      var iconDOM = (0, _rax.createElement)(_nukeIcon2.default, { style: [styles.icon, { color: placeholderColor }], name: 'search' });\n      var placeholderStyle = centered && !focus && !this.userInputValue ? _extends({}, styles['body-centered'], this.state.strentchStyle) : {};\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        {\n          role: 'placeholder-wrap',\n          ref: 'placeholderDOM',\n          style: [styles.placeholder, placeholderStyle]\n        },\n        iconDOM,\n        element\n      );\n    }\n\n    // 搜索按钮\n\n  }, {\n    key: 'renderSearchButton',\n    value: function renderSearchButton(styles) {\n      if (!this.props.showSearchButton) return null;\n\n      return (0, _rax.createElement)(\n        _nukeTouchable2.default,\n        { onPress: this.searchHandler, style: styles.button },\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          { onPress: this.textSearchHandler, style: styles['button-text'] },\n          this.props.locale.search\n        )\n      );\n    }\n  }, {\n    key: 'focusHandler',\n    value: function focusHandler(e) {\n      this.setState({\n        focus: true\n      });\n      this.trigger('onFocus', e);\n    }\n  }, {\n    key: 'trigger',\n    value: function trigger(fn) {\n      if (typeof fn === 'string') fn = this.props[fn];\n      if (!(typeof fn === 'function')) return;\n\n      for (var _len = arguments.length, attrs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        attrs[_key - 1] = arguments[_key];\n      }\n\n      return fn.apply(this, attrs);\n    }\n  }, {\n    key: 'blurHandler',\n    value: function blurHandler(e) {\n      this.setState({\n        focus: false\n      });\n      this.trigger('onBlur', e);\n    }\n  }, {\n    key: 'inputHandler',\n    value: function inputHandler(e) {\n      this.userInputValue = e.value;\n      this.trigger('onInput', e);\n    }\n  }, {\n    key: 'changeHandler',\n    value: function changeHandler(value, e) {\n      this.setState({\n        value: value\n      });\n      this.userInputValue = value;\n      this.trigger('onChange', value, e);\n    }\n  }, {\n    key: 'returnHandler',\n    value: function returnHandler(e) {\n      var value = e.value;\n\n      this.setState({ value: value });\n      this.searchHandler();\n    }\n  }, {\n    key: 'searchHandler',\n    value: function searchHandler(e) {\n      // alert(this.userInputValue);\n      this._input.wrappedInstance.blur();\n      this.props.onSearch && this.props.onSearch({ value: this.userInputValue });\n    }\n  }, {\n    key: 'textSearchHandler',\n    value: function textSearchHandler(e) {\n      if (_nukeEnv.isWeb) {\n        e.stopPropagation();\n      }\n      this.searchHandler();\n    }\n  }]);\n\n  return SearchBar;\n}(_rax.Component);\n\nSearchBar.propTypes = {\n  onCancel: _rax.PropTypes.func,\n  onChange: _rax.PropTypes.func,\n  onSearch: _rax.PropTypes.func,\n  value: _rax.PropTypes.string,\n  defaultValue: _rax.PropTypes.string,\n  locale: _rax.PropTypes.object,\n  disabled: _rax.PropTypes.bool,\n  showSearchButton: _rax.PropTypes.bool,\n  centered: _rax.PropTypes.bool,\n  placeholderColor: _rax.PropTypes.string,\n  inputStyle: _rax.PropTypes.any,\n  style: _rax.PropTypes.any,\n  placeholder: _rax.PropTypes.string,\n  onInput: _rax.PropTypes.func\n};\n\nSearchBar.defaultProps = {\n  locale: {\n    search: '搜索'\n  },\n  onSearch: function onSearch() {},\n  showSearchButton: true,\n  disabled: false,\n  centered: false,\n  defaultValue: null,\n  onCancel: function onCancel() {},\n  inputStyle: {},\n  onChange: function onChange() {},\n  onInput: function onInput() {},\n  placeholderColor: '#cccccc',\n  placeholder: '',\n  style: {}\n};\nSearchBar.displayName = 'SearchBar';\n\nvar StyledSearchBar = (0, _nukeThemeProvider.connectStyle)(_styles2.default, { withRef: true })(SearchBar);\n\nexports.default = StyledSearchBar;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/SearchBar/view/search-bar.js?");

/***/ }),

/***/ "./lib/Slider/defaultStyle.js":
/*!************************************!*\
  !*** ./lib/Slider/defaultStyle.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = {\n  slideWrapper: {\n    position: 'relative'\n  },\n  swipeWrapper: {\n    overflow: 'hidden',\n    position: 'relative'\n  },\n  swipeStyle: {\n    position: 'relative',\n    transform: 'translate3d(0,0,0)',\n    transition: 'all .5s ease'\n  },\n  childrenStyle: {\n    position: 'absolute',\n    left: 0,\n    top: 0\n  },\n  activeDot: {\n    width: 8,\n    height: 8,\n    borderRadius: 4,\n    marginLeft: 3,\n    marginRight: 3,\n    marginTop: 3,\n    marginBottom: 3,\n    display: 'inline-block'\n  },\n  normalDot: {\n    width: 8,\n    height: 8,\n    borderRadius: 4,\n    marginLeft: 3,\n    marginRight: 3,\n    marginTop: 3,\n    marginBottom: 3,\n    display: 'inline-block'\n  },\n  defaultPaginationStyle: {\n    position: 'absolute',\n    bottom: '0.2rem',\n    width: '100%',\n    display: 'flex',\n    margin: '0 auto',\n    flex: 1,\n    flexDirection: 'row',\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: 'transparent',\n    itemSize: 8,\n    itemColor: 'rgba(255, 255, 255, 0.5)',\n    itemSelectedColor: 'rgb(255, 80, 0)'\n  }\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Slider/defaultStyle.js?");

/***/ }),

/***/ "./lib/Slider/index.js":
/*!*****************************!*\
  !*** ./lib/Slider/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = undefined;\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n * @providesModule Slider\n */\n\n\nvar Slide = void 0;\nif (_nukeEnv.isWeb) {\n  Slide = __webpack_require__(/*! ./slider.js */ \"./lib/Slider/slider.js\");\n}\n\nvar Slider = function (_Component) {\n  _inherits(Slider, _Component);\n\n  function Slider(props) {\n    _classCallCheck(this, Slider);\n\n    var _this = _possibleConstructorReturn(this, (Slider.__proto__ || Object.getPrototypeOf(Slider)).call(this, props));\n\n    _this.onChange = function (e) {\n      _this.props.onChange && _this.props.onChange(e);\n    };\n\n    _this.onScroll = function (e) {\n      _this.props.onScroll && _this.props.onScroll(e);\n    };\n\n    _this.state = {\n      index: props.index || 0\n    };\n    return _this;\n  }\n\n  _createClass(Slider, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      var index = this.state.index;\n      // android端需在tree模式下重新setState才能初始化非第一帧。\n\n      if (this.props.append == 'tree' && index != 0 && _nukeEnv.appInfo.android) {\n        this.setState({\n          index: index\n        });\n      }\n    }\n  }, {\n    key: 'handleNativeProps',\n    value: function handleNativeProps() {\n      // 兼容API标准\n      var nativeProps = _extends({\n        onChange: this.onChange,\n        onScroll: this.onScroll,\n        offsetXAccuracy: this.props.accuracy || '10',\n        autoPlay: this.props.autoPlay || this.props.autoplay,\n        showIndicators: this.props.showsPagination,\n        paginationStyle: Object.assign({\n          position: 'absolute',\n          width: this.props.width,\n          height: '40rem',\n          bottom: '20rem',\n          left: 0,\n          itemColor: 'rgba(255, 255, 255, 0.5)',\n          itemSelectedColor: 'rgb(255, 80, 0)',\n          itemSize: '8rem'\n        }, this.props.paginationStyle),\n        interval: this.props.autoPlayInterval || this.props.autoplayTimeout\n      }, {\n        style: _extends({\n          width: this.props.width,\n          height: this.props.height,\n          overflow: 'hidden'\n        }, this.props.style)\n      }, {\n        append: this.props.append || 'node'\n      });\n\n      nativeProps.index = this.state.index;\n      return nativeProps;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      // 兼容API标准\n      var props = _extends({}, this.props, {\n        onChange: this.onChange,\n        autoplayInterval: this.props.autoPlayInterval || this.props.autoplayTimeout,\n        autoPlay: this.props.autoPlay || this.props.autoplay\n      });\n\n      if (_nukeEnv.isWeex) {\n        var children = this.props.children;\n        var nativeProps = this.handleNativeProps();\n\n        return (0, _rax.createElement)(\n          'slider',\n          nativeProps,\n          nativeProps.showIndicators ? (0, _rax.createElement)('indicator', { style: nativeProps.paginationStyle }) : null,\n          children\n        );\n      } else {\n        return (0, _rax.createElement)(Slide, _extends({ ref: 'Slider' }, props));\n      }\n    }\n  }, {\n    key: 'slideTo',\n    value: function slideTo(index) {\n      if (_nukeEnv.isWeex) {\n        this.setState({\n          index: index\n        });\n      } else {\n        this.props.onChange({\n          'index': index\n        });\n        this.refs.Slider.slideTo(index);\n      }\n    }\n  }]);\n\n  return Slider;\n}(_rax.Component);\n\nexports.default = Slider;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Slider/index.js?");

/***/ }),

/***/ "./lib/Slider/slider.js":
/*!******************************!*\
  !*** ./lib/Slider/slider.js ***!
  \******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/* @jsx createElement */\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeSwipe = __webpack_require__(/*! ../Swipe/index.js */ \"./lib/Swipe/index.js\");\n\nvar _nukeSwipe2 = _interopRequireDefault(_nukeSwipe);\n\nvar _defaultStyle = __webpack_require__(/*! ./defaultStyle.js */ \"./lib/Slider/defaultStyle.js\");\n\nvar _defaultStyle2 = _interopRequireDefault(_defaultStyle);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar propTypes = {\n  onChange: _rax.PropTypes.func,\n  paginationStyle: _rax.PropTypes.object\n};\n\n/**\n* @Slider Entrance\n* rx-slider h5 version\n**/\n\nvar Slide = function (_Component) {\n  _inherits(Slide, _Component);\n\n  function Slide(props) {\n    _classCallCheck(this, Slide);\n\n    var _this = _possibleConstructorReturn(this, (Slide.__proto__ || Object.getPrototypeOf(Slide)).call(this, props));\n\n    _this.state = {\n      isSwiping: false,\n      offsetX: '',\n      loopIdx: 0\n    };\n    return _this;\n  }\n\n  _createClass(Slide, [{\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      var initState = this.state;\n      initState.total = nextProps.children ? nextProps.children.length || 1 : 0;\n      initState.index = initState.total > 1 ? Math.min(nextProps.index, initState.total - 1) : 0;\n      initState.height = nextProps.height;\n      initState.width = parseFloat(nextProps.width) * document.documentElement.clientWidth / 750;\n\n      // 新增默认偏移量\n      initState.offsetX = initState.index * initState.width;\n\n      // 新增默认参数\n      initState.loopIdx = initState.index;\n\n      if (initState.total > 1) {\n        var setup = nextProps.loop ? 1 : initState.index;\n      }\n      this.setState(initState);\n    }\n  }, {\n    key: 'componentWillMount',\n    value: function componentWillMount() {\n      var initState = this.state;\n      initState.total = this.props.children ? this.props.children.length || 1 : 0;\n      initState.index = initState.total > 1 ? Math.min(this.props.index, initState.total - 1) : 0;\n      initState.height = this.props.height;\n      initState.width = parseFloat(this.props.width) * document.documentElement.clientWidth / 750;\n\n      // 新增默认偏移量\n      initState.offsetX = initState.index * initState.width;\n\n      // 新增默认参数\n      initState.loopIdx = initState.index;\n\n      if (initState.total > 1) {\n        var setup = this.props.loop ? 1 : initState.index;\n      }\n      this.setState(initState);\n    }\n  }, {\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n\n      if (this.state.total < 2) {\n        return;\n      } else {\n        var x = this.state.index * this.state.width;\n        this.changeOffset(x, this.state.index);\n      }\n\n      this.autoPlay();\n    }\n  }, {\n    key: 'autoPlay',\n    value: function autoPlay() {\n      var that = this;\n      // 非自动播放的情况 return 掉\n      if (!Array.isArray(this.props.children) || !this.props.autoPlay || this.state.isSwiping) {\n        return;\n      }\n\n      clearTimeout(this.autoPlayTimer);\n\n      this.autoPlayTimer = setTimeout(function () {\n        // let toIndex = that.state.total > that.state.index + 1 ?  that.state.index + 1 : 0;\n        that.slideTo();\n      }, parseFloat(this.props.autoplayInterval));\n    }\n  }, {\n    key: 'slideTo',\n    value: function slideTo(index) {\n      var that = this;\n      var state = this.state;\n\n      if (state.isSwiping || state.total < 2) {\n        return;\n      }\n\n      // 非传入指定 index 的情况\n      var noIndex = typeof index === 'undefined';\n\n      var diff = noIndex ? state.index : index;\n      var x = diff * state.width;\n\n      //根据index和偏移改变位置\n      this.changeOffset(x, diff);\n\n      if (noIndex) {\n        // 自加index\n        this.updateIndex();\n      } else {\n        this.setState({ index: diff });\n      }\n\n      //开启下一轮播放\n      this.setAutoTimer();\n    }\n  }, {\n    key: 'setAutoTimer',\n    value: function setAutoTimer() {\n      var that = this;\n      clearTimeout(this.autoTimer);\n      this.autoTimer = setTimeout(function () {\n        that.autoPlay();\n      }, 0);\n    }\n    // 改变 slider 的框子位置\n\n  }, {\n    key: 'changeOffset',\n    value: function changeOffset(x, idx, distance) {\n      // console.log('change', x, idx)\n      var state = this.state,\n          width = state.width;\n      if (!this.refs.swipeView) {\n        return;\n      }\n\n      // 外框translate3d for translate3d 为了性能\n      var swipeView = (0, _rax.findDOMNode)(this.refs.swipeView);\n      swipeView.style.transform = 'translate3d(' + -x + 'px, 0px, 0px)';\n      swipeView.style.webkitTransform = 'translate3d(' + -x + 'px, 0px, 0px)';\n\n      var len = this.props.children.length;\n      idx = this.loopedIndex(idx, len);\n\n      this.setState({ loopIdx: idx, offsetX: x });\n\n      // 内层child changeleft\n      this.changeChildPosition(idx, x);\n\n      // 确保当前页的前后页都已经具备了\n      if (state.total < 3) {\n        return;\n      }\n\n      if (distance && distance < 0) {\n        idx = this.loopedIndex(idx + 1, len);\n        this.changeChildPosition(idx, x + width);\n      } else if (distance && distance > 0) {\n        idx = this.loopedIndex(idx - 1, len);\n        this.changeChildPosition(idx, x - width);\n      }\n    }\n    // 改变子元素位置\n\n  }, {\n    key: 'changeChildPosition',\n    value: function changeChildPosition(idx, offset) {\n      if (idx < 0 || idx > this.props.children.length) {\n        return;\n      }\n      var childNum = 'child' + idx;\n      var childView = (0, _rax.findDOMNode)(this.refs[childNum]);\n      childView.style.left = offset + 'px';\n    }\n  }, {\n    key: 'renderSwipeView',\n    value: function renderSwipeView(pages) {\n      var state = this.state;\n\n      var style = {\n        width: state.width + 'px',\n        height: state.height\n      };\n\n      return state.total > 1 ? (0, _rax.createElement)(\n        _nukeSwipe2.default,\n        { style: [_defaultStyle2.default.swipeWrapper, style],\n          onSwipeBegin: this.onSwipeBegin.bind(this),\n          onSwipeEnd: this.onSwipeEnd.bind(this),\n          onSwipe: this.onSwipe.bind(this),\n          initialVelocityThreshold: this.props.initialVelocityThreshold,\n          verticalThreshold: this.props.verticalThreshold,\n          vertical: this.props.vertical,\n          horizontalThreshold: this.props.horizontalThreshold },\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { ref: 'swipeView', style: [_defaultStyle2.default.swipeStyle, style] },\n          pages\n        )\n      ) : (0, _rax.createElement)(\n        _nukeView2.default,\n        { ref: 'swipeView', style: [_defaultStyle2.default.swipeStyle, style] },\n        pages\n      );\n    }\n  }, {\n    key: 'onSwipeBegin',\n    value: function onSwipeBegin(_ref) {\n      var direction = _ref.direction,\n          distance = _ref.distance,\n          velocity = _ref.velocity;\n\n      this.setState({\n        isSwiping: true\n      });\n      // 手势翻页时暂定自动翻页\n      clearTimeout(this.autoTimer);\n    }\n  }, {\n    key: 'onSwipe',\n    value: function onSwipe(_ref2) {\n      var direction = _ref2.direction,\n          distance = _ref2.distance,\n          velocity = _ref2.velocity;\n\n      var index = this.state.index,\n          width = this.state.width,\n          x = this.state.offsetX,\n          num = this.props.children.length,\n          idx = index;\n\n      if (!this.props.loop && (index === num - 1 || index === 0)) {\n        return;\n      }\n\n      var changeX = 0;\n      if (distance < 0) {\n        changeX = -(x + Math.abs(distance));\n      } else {\n        changeX = -(x - Math.abs(distance));\n      }\n\n      var swipeView = (0, _rax.findDOMNode)(this.refs.swipeView);\n      swipeView.style.transform = 'translate3d(' + changeX + 'px, 0px, 0px)';\n      swipeView.style.webkitTransform = 'translate3d(' + changeX + 'px, 0px, 0px)';\n    }\n  }, {\n    key: 'onSwipeEnd',\n    value: function onSwipeEnd(_ref3) {\n      var direction = _ref3.direction,\n          distance = _ref3.distance,\n          velocity = _ref3.velocity;\n\n      // 更加流畅的翻页体验 TODO\n      this.setState({\n        isSwiping: true\n      });\n\n      this.updateIndex(distance);\n    }\n  }, {\n    key: 'updateIndex',\n    value: function updateIndex(distance) {\n      var onChange = this.props.onChange;\n\n      var that = this;\n      var state = this.state,\n          index = state.index,\n          step = state.width,\n          num = this.props.children.length;\n\n      index = this.changeIndex(distance, index, num);\n\n      // fix 左滑index为负数\n      var idx = distance ? this.loopedIndex(index, num) : this.loopedIndex(index - 1, num);\n      // 暴露index\n      onChange && onChange({ index: idx });\n\n      this.setState({ index: index });\n      // 手势改变改变位置\n      if (distance) {\n        var x = index * state.width;\n        this.changeOffset(x, index, distance);\n        this.setState({\n          isSwiping: false\n        });\n        // 手势翻页结束后基于当前index继续轮播\n        this.setAutoTimer();\n      }\n    }\n\n    // 循环改变index (自增、自减)\n\n  }, {\n    key: 'changeIndex',\n    value: function changeIndex(distance, index, num) {\n      if (this.props.loop) {\n        if (distance && distance > 0) {\n          index = index - 1;\n        } else {\n          index = index + 1;\n        }\n      } else if (!this.props.loop) {\n        if (distance && distance > 0 && index !== 0) {\n          index = index - 1;\n        } else if (distance && distance < 0 && index !== num - 1) {\n          index = index + 1;\n        } else {\n          return index;\n        }\n      }\n      return index;\n    }\n\n    // 使index维持在0-length之间循环\n\n  }, {\n    key: 'loopedIndex',\n    value: function loopedIndex(idx, len) {\n      // console.log(idx, len)\n      if (idx > 0 && idx >= len - 1) {\n        idx = idx % len;\n      } else if (idx < 0 && idx <= -(len + 1)) {\n        idx = idx % len;\n        idx = idx === 0 ? 0 : idx + len;\n      } else if (idx < 0 && idx >= -(len + 1)) {\n        idx = idx + len;\n      }\n      return idx;\n    }\n  }, {\n    key: 'renderPagination',\n    value: function renderPagination() {\n      var props = this.props;\n      if (this.state.total <= 1) {\n        return;\n      }\n\n      var itemSelectedColor = void 0,\n          itemColor = void 0,\n          itemSize = void 0;\n      if (props.paginationStyle) {\n        itemSelectedColor = props.paginationStyle.itemSelectedColor || _defaultStyle2.default.defaultPaginationStyle.itemSelectedColor;\n        itemColor = props.paginationStyle.itemColor || _defaultStyle2.default.defaultPaginationStyle.itemColor;\n        itemSize = props.paginationStyle.itemSize || _defaultStyle2.default.defaultPaginationStyle.itemSize;\n      }\n\n      var activeStyle = [_defaultStyle2.default.activeDot, {\n        backgroundColor: itemSelectedColor,\n        width: itemSize,\n        height: itemSize,\n        borderRadius: itemSize\n      }];\n\n      var normalStyle = [_defaultStyle2.default.normalDot, {\n        backgroundColor: itemColor,\n        width: itemSize,\n        height: itemSize,\n        borderRadius: itemSize\n      }];\n\n      var dots = [];\n      var ActiveDot = this.props.activeDot || (0, _rax.createElement)(_nukeView2.default, { style: activeStyle });\n      var NormalDot = this.props.normalDot || (0, _rax.createElement)(_nukeView2.default, { style: normalStyle });\n\n      var activeIndex = this.state.loopIdx;\n\n      for (var i = 0; i < this.state.total; i++) {\n        dots.push(i === activeIndex ? (0, _rax.cloneElement)(ActiveDot, { key: i }) : (0, _rax.cloneElement)(NormalDot, { key: i }));\n      }\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [_defaultStyle2.default.defaultPaginationStyle, props.paginationStyle ? props.paginationStyle : ''] },\n        dots\n      );\n    }\n  }, {\n    key: 'getPages',\n    value: function getPages() {\n      var _this2 = this;\n\n      var state = this.state,\n          props = this.props,\n          children = props.children,\n          index = state.index;\n      var pages = [];\n      if (state.total > 1) {\n        children.forEach(function (child, i) {\n          var refStr = 'child' + i;\n          var translateStyle = {\n            width: state.width + 'px',\n            height: state.height,\n            left: i * state.width + 'px'\n          };\n\n          pages.push((0, _rax.createElement)(\n            _nukeView2.default,\n            { ref: refStr, className: 'childWrap' + i, style: [_defaultStyle2.default.childrenStyle, translateStyle], key: i },\n            _this2.getChild(i, child)\n          ));\n        });\n      } else {\n        pages = (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: _defaultStyle2.default.childrenStyle },\n          children\n        );\n      }\n      return pages;\n    }\n    // 只渲染当前index前后两页 for 性能\n    // TODO 是否有必要删除已经浏览过的page\n\n  }, {\n    key: 'getChild',\n    value: function getChild(i, child) {\n      var that = this,\n          index = this.state.index,\n          len = this.props.children.length;\n\n      // 自动翻页时确保翻页之前的当前页的前后结点,防止翻页空白\n      if (this.props.autoPlay) {\n        index = index - 1;\n      }\n\n      index = this.loopedIndex(index, len);\n      var left = this.loopedIndex(index - 1, len),\n          right = this.loopedIndex(index + 1, len);\n\n      if (i === index || i === left || i === right) {\n        return child;\n      }\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var that = this;\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [_defaultStyle2.default.slideWrapper, this.props.style] },\n        this.renderSwipeView(that.getPages()),\n        this.props.showsPagination ? this.renderPagination() : ''\n      );\n    }\n  }]);\n\n  return Slide;\n}(_rax.Component);\n\nexports.default = Slide;\n;\n\nSlide.defaultProps = {\n  horizontal: true,\n  showsPagination: true,\n  loop: true,\n  autoPlay: false,\n  autoplayInterval: 3000,\n  index: 0,\n  paginationStyle: null,\n  initialVelocityThreshold: 0.7,\n  verticalThreshold: 10,\n  horizontalThreshold: 10,\n  vertical: false\n};\nSlide.propTypes = propTypes;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Slider/slider.js?");

/***/ }),

/***/ "./lib/Slip/index.js":
/*!***************************!*\
  !*** ./lib/Slip/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeMask = __webpack_require__(/*! ../Mask/index.js */ \"./lib/Mask/index.js\");\n\nvar _nukeMask2 = _interopRequireDefault(_nukeMask);\n\nvar _nukeTouchable = __webpack_require__(/*! ../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeTransition = __webpack_require__(/*! ../Transition/index.js */ \"./lib/Transition/index.js\");\n\nvar _nukeTransition2 = _interopRequireDefault(_nukeTransition);\n\nvar _nukeDimensions = __webpack_require__(/*! ../Dimensions/index.js */ \"./lib/Dimensions/index.js\");\n\nvar _nukeDimensions2 = _interopRequireDefault(_nukeDimensions);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ./styles/index.js */ \"./lib/Slip/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n\nvar deviceInfo = _nukeEnv.isWeb ? _nukeDimensions2.default.get('window') : _nukeDimensions2.default.get('screen');\n\nvar Slip = function (_Component) {\n  _inherits(Slip, _Component);\n\n  function Slip(props) {\n    _classCallCheck(this, Slip);\n\n    var _this = _possibleConstructorReturn(this, (Slip.__proto__ || Object.getPrototypeOf(Slip)).call(this, props));\n\n    _this.onVisibleChanged = _this.onVisibleChanged.bind(_this);\n    _this.transition = _this.transition.bind(_this);\n    _this.show = _this.show.bind(_this);\n    _this.hide = _this.hide.bind(_this);\n    _this.onMaskShow = _this.onMaskShow.bind(_this);\n    _this.onMaskHide = _this.onMaskHide.bind(_this);\n    _this.onMaskPress = _this.onMaskPress.bind(_this);\n    _this.onPanePress = _this.onPanePress.bind(_this);\n    _this.state = {\n      visible: props.defaultVisible || false,\n      defaultVisible: props.defaultVisible || false,\n      scrollPosition: 0\n    };\n    return _this;\n  }\n\n  _createClass(Slip, [{\n    key: 'onVisibleChanged',\n    value: function onVisibleChanged(e) {\n      this.setState({\n        visible: e.visible\n      });\n    }\n  }, {\n    key: 'onMaskHide',\n    value: function onMaskHide() {\n      this.setState({\n        visible: false\n      });\n      var onHide = this.props.onHide;\n\n      onHide && onHide();\n    }\n  }, {\n    key: 'onPanePress',\n    value: function onPanePress(e) {\n      if (_nukeEnv.isWeb) {\n        e.stopPropagation();\n      }\n    }\n  }, {\n    key: 'onMaskShow',\n    value: function onMaskShow() {\n      var _this2 = this;\n\n      var styles = this.calcTransitionStyle(false);\n      var box = (0, _rax.findDOMNode)(this.refs.slipPane);\n      setTimeout(function () {\n        _this2.transition(box, styles, function () {\n          _this2.setState({ visible: true });\n          var onShow = _this2.props.onShow;\n\n          onShow && onShow();\n        });\n      }, 10);\n    }\n  }, {\n    key: 'onMaskPress',\n    value: function onMaskPress() {\n      var maskClosable = this.props.maskClosable;\n\n      if (!maskClosable) {\n        return;\n      }\n      this.hide();\n    }\n  }, {\n    key: 'getWidthAndHeight',\n    value: function getWidthAndHeight() {\n      var direction = this.props.direction;\n      var _props = this.props,\n          width = _props.width,\n          height = _props.height;\n\n\n      if (!height && (direction === 'left' || direction === 'right')) {\n        height = parseInt(deviceInfo.height, 10);\n      }\n      if (!width && (direction === 'top' || direction === 'bottom')) {\n        width = 750;\n      }\n      return {\n        width: width,\n        height: height\n      };\n    }\n  }, {\n    key: 'calcTransitionStyle',\n    value: function calcTransitionStyle(contentDialogVisualState) {\n      var visible = typeof contentDialogVisualState === 'undefined' ? this.state.visible : contentDialogVisualState;\n      var direction = this.props.direction;\n\n      var _getWidthAndHeight = this.getWidthAndHeight(),\n          width = _getWidthAndHeight.width,\n          height = _getWidthAndHeight.height;\n\n      var transitionStyle = {};\n      switch (direction) {\n        case 'left':\n          transitionStyle = {\n            transform: !visible ? 'translateX(' + width + ')' : 'translateX(0)',\n            webkitTransform: !visible ? 'translateX(' + width + ')' : 'translateX(0)'\n          };\n          break;\n        case 'right':\n          transitionStyle = {\n            transform: !visible ? 'translateX(' + -width + ')' : 'translateX(0)',\n            webkitTransform: !visible ? 'translateX(' + -width + ')' : 'translateX(0)'\n          };\n          // right\n          break;\n        case 'top':\n          transitionStyle = {\n            transform: !visible ? 'translateY(' + height + ')' : 'translateX(0)',\n            webkitTransform: !visible ? 'translateY(' + height + ')' : 'translateX(0)'\n          };\n          break;\n        default:\n          transitionStyle = {\n            transform: !visible ? 'translateY(' + -height + ')' : 'translateX(0)',\n            webkitTransform: !visible ? 'translateY(' + -height + ')' : 'translateX(0)'\n          };\n          break;\n      }\n      return transitionStyle;\n    }\n  }, {\n    key: 'calcInitStyle',\n    value: function calcInitStyle() {\n      var direction = this.props.direction;\n\n      var _getWidthAndHeight2 = this.getWidthAndHeight(),\n          width = _getWidthAndHeight2.width,\n          height = _getWidthAndHeight2.height;\n\n      var positionObj = {\n        position: 'absolute',\n        width: width + 'rem',\n        height: height + 'rem'\n      };\n      switch (direction) {\n        case 'left':\n          positionObj = _extends({}, positionObj, {\n            left: -width + 'rem',\n            top: 0\n          });\n          break;\n\n        case 'right':\n          positionObj = _extends({}, positionObj, {\n            right: -width + 'rem'\n          });\n          // right\n          break;\n        case 'top':\n          positionObj = _extends({}, positionObj, {\n            top: -height + 'rem'\n          });\n          break;\n        default:\n          positionObj = _extends({}, positionObj, {\n            bottom: -height + 'rem'\n          });\n          break;\n      }\n      return positionObj;\n    }\n  }, {\n    key: 'transition',\n    value: function transition(box, styles, cb) {\n      var _props2 = this.props,\n          effect = _props2.effect,\n          duration = _props2.duration;\n\n      (0, _nukeTransition2.default)(box, styles, {\n        timingFunction: effect,\n        delay: 0,\n        duration: duration\n      }, function () {\n        cb && cb.call(this);\n      });\n    }\n  }, {\n    key: 'show',\n    value: function show() {\n      // first show mask,\n      // then in mask onShow callback, show dialogContent;\n      this.refs.BaseSlipMask.show();\n      if (_nukeEnv.isWeb) {\n        this.setState({ scrollPosition: window.scrollY });\n        document.body.style.position = 'fixed';\n        document.body.style.overflow = 'hidden';\n      }\n    }\n  }, {\n    key: 'hide',\n    value: function hide() {\n      var _this3 = this;\n\n      // first hide dialogContent, then hideMask\n      var styles = this.calcTransitionStyle(true);\n      var box = (0, _rax.findDOMNode)(this.refs.slipPane);\n      setTimeout(function () {\n        _this3.transition(box, styles, function () {\n          _this3.setState({ visible: !_this3.state.visible });\n          _this3.refs.BaseSlipMask.hide();\n        });\n      }, 10);\n      if (_nukeEnv.isWeb) {\n        document.body.style.position = 'initial';\n        document.body.style.overflow = 'initial';\n        window.scrollTo(0, this.state.scrollPosition);\n      }\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props3 = this.props,\n          children = _props3.children,\n          contentStyle = _props3.contentStyle;\n\n      var styles = this.props.themeStyle;\n      return (0, _rax.createElement)(\n        _nukeMask2.default,\n        {\n          defaultVisible: this.state.defaultVisible,\n          animate: false,\n          maskClosable: false,\n          ref: 'BaseSlipMask',\n          onVisibleChanged: this.onVisibleChanged,\n          onShow: this.onMaskShow,\n          onHide: this.onMaskHide,\n          style: styles.mask\n        },\n        (0, _rax.createElement)(\n          _nukeTouchable2.default,\n          { style: styles['fullscreen-body'], onPress: this.onMaskPress },\n          (0, _rax.createElement)(\n            _nukeTouchable2.default,\n            {\n              ref: 'slipPane',\n              style: [styles.pane, this.calcInitStyle(), contentStyle],\n              onPress: this.onPanePress\n            },\n            children\n          )\n        )\n      );\n    }\n  }]);\n\n  return Slip;\n}(_rax.Component);\n\nSlip.propTypes = {\n  direction: _rax.PropTypes.oneOf(['left', 'right', 'top', 'bottom']),\n  maskClosable: _rax.PropTypes.boolean,\n  effect: _rax.PropTypes.oneOf(['ease-in', 'ease-in-out', 'ease-out', 'linear', 'cubic-bezier']),\n  width: _rax.PropTypes.number,\n  height: _rax.PropTypes.number,\n\n  contentStyle: _rax.PropTypes.any,\n  duration: _rax.PropTypes.number\n};\nSlip.defaultProps = {\n  direction: 'bottom',\n  maskClosable: false,\n  effect: 'ease-in-out',\n  duration: 200,\n  width: 750,\n  contentStyle: {}\n};\nSlip.displayName = 'Slip';\n\nvar StyledSlip = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Slip);\n\nexports.default = StyledSlip;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Slip/index.js?");

/***/ }),

/***/ "./lib/Slip/styles/index.js":
/*!**********************************!*\
  !*** ./lib/Slip/styles/index.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Slip/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleFn() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n\n  return {\n    Slip: {\n      mask: {},\n      'fullscreen-body': {\n        flex: 1,\n        backgroundColor: 'rgba(0,0,0,' + Variables['mask-opacity'] + ')'\n      },\n      pane: {\n        backgroundColor: Variables['content-bg-color']\n      }\n    }\n  };\n}\nmodule.exports = styleFn;\n\n//# sourceURL=webpack:///./lib/Slip/styles/index.js?");

/***/ }),

/***/ "./lib/Slip/styles/variable.js":
/*!*************************************!*\
  !*** ./lib/Slip/styles/variable.js ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Slip;\n\n  /**\n   * @namespace component\n   * @property module slip\n   * @property tag Slip\n   * @property category component\n   */\n  var slipVariables = {\n    /**\n     * background\n     * @property namespace statement\n     */\n    'mask-bg-color': Core['color-black'],\n    /**\n     * opacity\n     * @property namespace statement\n     */\n    'mask-opacity': 0.5,\n    /**\n     * background\n     * @property namespace statement/content\n     */\n    'content-bg-color': Core['color-white']\n  };\n  // should alway use var statement to carray a assigngg\n  var variable = Object.assign(slipVariables, ComponentCustomStyle);\n  return variable;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Slip/styles/variable.js?");

/***/ }),

/***/ "./lib/Swipe/index.js":
/*!****************************!*\
  !*** ./lib/Swipe/index.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/* @jsx createElement */\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = undefined;\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _universalPanresponder = __webpack_require__(/*! universal-panresponder */ \"./src/node_modules/universal-panresponder/lib/index.js\");\n\nvar _universalPanresponder2 = _interopRequireDefault(_universalPanresponder);\n\nvar _proptypes = __webpack_require__(/*! ./proptypes.js */ \"./lib/Swipe/proptypes.js\");\n\nvar _proptypes2 = _interopRequireDefault(_proptypes);\n\nvar _isValidSwipe = __webpack_require__(/*! ./isValidSwipe.js */ \"./lib/Swipe/isValidSwipe.js\");\n\nvar _isValidSwipe2 = _interopRequireDefault(_isValidSwipe);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar directions = {\n  SWIPE_UP: 'SWIPE_UP',\n  SWIPE_DOWN: 'SWIPE_DOWN',\n  SWIPE_LEFT: 'SWIPE_LEFT',\n  SWIPE_RIGHT: 'SWIPE_RIGHT'\n};\n\nvar propTypes = {\n  onSwipeBegin: _proptypes2.default.func,\n  onSwipe: _proptypes2.default.func,\n  onSwipeEnd: _proptypes2.default.func,\n  swipeDecoratorStyle: _proptypes2.default.object\n};\n\nvar SwipeEvent = function (_Component) {\n  _inherits(SwipeEvent, _Component);\n\n  function SwipeEvent(props) {\n    _classCallCheck(this, SwipeEvent);\n\n    var _this = _possibleConstructorReturn(this, (SwipeEvent.__proto__ || Object.getPrototypeOf(SwipeEvent)).call(this, props));\n\n    _this.state = {\n      swipe: {\n        direction: null,\n        distance: 0,\n        velocity: 0\n      }\n    };\n\n    // 监听swipe是否发生\n    _this.swipeDetected = false;\n    // 当前手势速度\n    _this.velocityProp = null;\n    // 当前手势距离\n    _this.distanceProp = null;\n    // 当前手势的方向\n    _this.swipeDirection = null;\n    return _this;\n  }\n\n  _createClass(SwipeEvent, [{\n    key: 'componentWillMount',\n    value: function componentWillMount() {\n      var _this2 = this;\n\n      var that = this;\n      this.panResponder = _universalPanresponder2.default.create({\n\n        onStartShouldSetPanResponder: function onStartShouldSetPanResponder(evt) {\n          return true;\n        },\n        onMoveShouldSetPanResponder: function onMoveShouldSetPanResponder(evt) {\n          return true;\n        },\n        onPanResponderMove: function onPanResponderMove(evt, gestureState) {\n          var dx = gestureState.dx,\n              dy = gestureState.dy,\n              vx = gestureState.vx,\n              vy = gestureState.vy;\n          var _props = _this2.props,\n              onSwipeBegin = _props.onSwipeBegin,\n              onSwipe = _props.onSwipe,\n              onSwipeEnd = _props.onSwipeEnd;\n\n          // 没有swipe的时候return掉\n\n          if (!_this2.props.continuous && _this2.swipeDetected) {\n            return;\n          }\n\n          var initialDetection = false;\n          var validHorizontal = false;\n          var validVertical = false;\n\n          if (!_this2.swipeDetected) {\n            initialDetection = true;\n            // 判断手势是否能够算得上是水平swipe\n            validHorizontal = that.props.horizontal ? (0, _isValidSwipe2.default)(vx, dy, that.props.initialVelocityThreshold, that.props.verticalThreshold) : '';\n\n            // 判断手势是否能够算得上是垂直swipe\n            validVertical = that.props.vertical ? (0, _isValidSwipe2.default)(vy, dx, that.props.initialVelocityThreshold, that.props.horizontalThreshold) : '';\n\n            if (validHorizontal) {\n              evt.preventDefault && evt.preventDefault();\n              _this2.velocityProp = 'vx';\n              _this2.distanceProp = 'dx';\n\n              // 左滑\n              if ((_this2.props.horizontal || _this2.props.left) && dx < 0) {\n                _this2.swipeDirection = directions.SWIPE_LEFT;\n                // 右滑\n              } else if ((_this2.props.horizontal || _this2.props.right) && dx > 0) {\n                _this2.swipeDirection = directions.SWIPE_RIGHT;\n              }\n            } else if (validVertical) {\n              _this2.velocityProp = 'vy';\n              _this2.distanceProp = 'dy';\n\n              // 上滑\n              if ((_this2.props.vertical || _this2.props.up) && dy < 0) {\n                _this2.swipeDirection = directions.SWIPE_UP;\n                // 下滑\n              } else if ((_this2.props.vertical || _this2.props.down) && dy > 0) {\n                _this2.swipeDirection = directions.SWIPE_DOWN;\n              }\n            }\n\n            if (_this2.swipeDirection) {\n              _this2.swipeDetected = true;\n            }\n          }\n\n          if (_this2.swipeDetected) {\n            // gestureState.dx || gestureState.dy 横向和竖向距离\n            var distance = gestureState[_this2.distanceProp];\n            // gestureState.vx || gestureState.vx 横向和竖向的速度\n            var velocity = gestureState[_this2.velocityProp];\n\n            var swipeState = {\n              direction: _this2.swipeDirection,\n              distance: distance,\n              velocity: velocity\n            };\n\n            if (initialDetection) {\n              onSwipeBegin && onSwipeBegin(swipeState);\n            } else {\n              onSwipe && onSwipe(swipeState);\n            }\n\n            if (_this2.props.setGestureState) {\n              _this2.setState({\n                swipe: swipeState\n              });\n            }\n          }\n        },\n        onPanResponderTerminationRequest: function onPanResponderTerminationRequest() {\n          return true;\n        },\n        onPanResponderTerminate: this.handleTerminationAndRelease.bind(this),\n        onPanResponderRelease: this.handleTerminationAndRelease.bind(this)\n      });\n    }\n    // 释放当前手势\n\n  }, {\n    key: 'handleTerminationAndRelease',\n    value: function handleTerminationAndRelease() {\n      var that = this;\n\n      if (this.swipeDetected) {\n        var onSwipeEnd = this.props.onSwipeEnd;\n\n        onSwipeEnd && onSwipeEnd({\n          direction: this.swipeDirection,\n          distance: that.state.swipe.distance,\n          velocity: that.state.swipe.velocity\n        });\n      }\n\n      this.swipeDetected = false;\n      this.velocityProp = null;\n      this.distanceProp = null;\n      this.swipeDirection = null;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props2 = this.props,\n          onSwipeBegin = _props2.onSwipeBegin,\n          onSwipe = _props2.onSwipe,\n          onSwipeEnd = _props2.onSwipeEnd,\n          props = _objectWithoutProperties(_props2, ['onSwipeBegin', 'onSwipe', 'onSwipeEnd']);\n\n      var style = {\n        alignSelf: 'flex-start'\n      };\n\n      var state = this.props.setGestureState ? this.state : null;\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        _extends({}, this.panResponder.panHandlers, { style: _extends({ style: style }, props.handlerStyle) }),\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          _extends({}, props, state),\n          this.props.children\n        )\n      );\n    }\n  }]);\n\n  return SwipeEvent;\n}(_rax.Component);\n\nexports.default = SwipeEvent;\n\n\nSwipeEvent.defaultProps = {\n  horizontal: true,\n  vertical: true,\n  left: false,\n  right: false,\n  up: false,\n  down: false,\n  continuous: true,\n  initialVelocityThreshold: 0.2,\n  verticalThreshold: 1,\n  horizontalThreshold: 5,\n  setGestureState: true,\n  handlerStyle: {}\n};\nSwipeEvent.propTypes = propTypes;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Swipe/index.js?");

/***/ }),

/***/ "./lib/Swipe/isValidSwipe.js":
/*!***********************************!*\
  !*** ./lib/Swipe/isValidSwipe.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n// 当前手势速度 > 临界值 && 当前手势在某一方向的改变距离 < 当前方向的临界值\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nexports.default = function (velocity, directionalChange, velocityThreshold, changeThreshold) {\n  return Math.abs(velocity) > velocityThreshold && Math.abs(directionalChange) < changeThreshold;\n};\n\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Swipe/isValidSwipe.js?");

/***/ }),

/***/ "./lib/Swipe/proptypes.js":
/*!********************************!*\
  !*** ./lib/Swipe/proptypes.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.default = {\n  array: createTypeChecker('array'),\n  bool: createTypeChecker('boolean'),\n  func: createTypeChecker('function'),\n  number: createTypeChecker('number'),\n  object: createTypeChecker('object'),\n  string: createTypeChecker('string'),\n  // TODO\n  any: createTypeChecker(),\n  arrayOf: createTypeChecker(),\n  element: createTypeChecker(),\n  instanceOf: createTypeChecker(),\n  node: createTypeChecker(),\n  objectOf: createTypeChecker(),\n  oneOf: createTypeChecker(),\n  oneOfType: createTypeChecker(),\n  shape: createTypeChecker()\n};\n\n// Equivalent of `typeof` but with special handling for array and regexp.\n\nfunction getPropType(propValue) {\n  var propType = typeof propValue === 'undefined' ? 'undefined' : _typeof(propValue);\n  if (Array.isArray(propValue)) {\n    return 'array';\n  }\n  if (propValue instanceof RegExp) {\n    // Old webkits (at least until Android 4.0) return 'function' rather than\n    // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n    // passes PropTypes.object.\n    return 'object';\n  }\n  return propType;\n}\n\nfunction createTypeChecker(expectedType) {\n  function validate(props, propName, componentName, location, propFullName) {\n    var propValue = props[propName];\n    var propType = getPropType(propValue);\n    if (expectedType !== undefined && propType !== expectedType) {\n      // `propValue` being instance of, say, date/regexp, pass the 'object'\n      // check, but we can offer a more precise error message here rather than\n      // 'of type `object`'.\n      return new Error('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n    }\n    return null;\n  }\n  return createChainableTypeChecker(validate);\n}\n\nfunction createChainableTypeChecker(validate) {\n  function checkType(isRequired, props, propName, componentName, location, propFullName) {\n    componentName = componentName || ANONYMOUS;\n    propFullName = propFullName || propName;\n    if (props[propName] == null) {\n      if (isRequired) {\n        return new Error('Required ' + location + ' `' + propFullName + '` was not specified in ' + ('`' + componentName + '`.'));\n      }\n      return null;\n    } else {\n      return validate(props, propName, componentName, location, propFullName);\n    }\n  }\n\n  var chainedCheckType = checkType.bind(null, false);\n  chainedCheckType.isRequired = checkType.bind(null, true);\n\n  return chainedCheckType;\n}\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Swipe/proptypes.js?");

/***/ }),

/***/ "./lib/Switch/index.js":
/*!*****************************!*\
  !*** ./lib/Switch/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/* @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _switch = __webpack_require__(/*! ./view/switch.js */ \"./lib/Switch/view/switch.js\");\n\nvar _switch2 = _interopRequireDefault(_switch);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar noop = function noop() {};\n\nvar Switch = function (_Component) {\n  _inherits(Switch, _Component);\n\n  function Switch(props) {\n    _classCallCheck(this, Switch);\n\n    var _this = _possibleConstructorReturn(this, (Switch.__proto__ || Object.getPrototypeOf(Switch)).call(this, props));\n\n    var checked = false;\n    if ('checked' in props) {\n      checked = props.checked;\n    } else {\n      checked = props.defaultChecked;\n    }\n\n    _this.state = {\n      checked: checked\n    };\n    _this.onValueChange = _this.onValueChange.bind(_this);\n    return _this;\n  }\n\n  _createClass(Switch, [{\n    key: 'onValueChange',\n    value: function onValueChange(newValue) {\n      this.setState({ checked: newValue });\n      this.props.onValueChange && this.props.onValueChange(newValue);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var checked = this.state.checked;\n\n      return (0, _rax.createElement)(_switch2.default, _extends({}, this.props, {\n        onValueChange: this.onValueChange,\n        value: checked\n      }));\n    }\n  }]);\n\n  return Switch;\n}(_rax.Component);\n\nSwitch.defaultProps = {\n  onValueChange: noop\n};\nexports.default = Switch;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Switch/index.js?");

/***/ }),

/***/ "./lib/Switch/styles/index.js":
/*!************************************!*\
  !*** ./lib/Switch/styles/index.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Switch/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar rgba = _nukeHelper.hex.rgba;\n\nfunction StyleMix() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  return {\n    Switch: {\n      wrap: {\n        width: Variables['wrap-width-android'],\n        height: Variables['wrap-height-android'],\n        borderRadius: Variables['wrap-border-radius'],\n        position: 'relative',\n        display: 'inline-block',\n        margin: Variables['wrap-margin-android'],\n        padding: Variables['wrap-padding-android'],\n        cursor: 'default', // pointer will cause a grey background color on chrome\n        verticalAlign: 'middle',\n        borderWidth: Variables['wrap-border-width-android'],\n\n        WebkitUserSelect: 'none',\n        WebkitBoxSizing: 'content-box',\n        WebkitBackfaceVisibility: 'hidden'\n      },\n      checkedWrap: {\n        borderColor: Variables['c-border-color-android'],\n        backgroundColor: Variables['c-bg-color-android'],\n        WebkitTransition: 'border 0.2s, box-shadow 0.2s, background-color 1s'\n      },\n      uncheckedWrap: {\n        borderColor: Variables['unc-border-color'], // '#dfdfdf',\n        backgroundColor: Variables['unc-bg-color-android'],\n        WebkitTransition: 'border 0.2s, box-shadow 0.2s'\n      },\n      disabledWrap: {\n        cursor: 'not-allowed',\n        boxShadow: 'none'\n      },\n      disabledCheckedWrap: {\n        borderColor: rgba(Variables['dis-c-border-color-android'], 0.5),\n        backgroundColor: rgba(Variables['dis-c-bg-color-android'], 0.26)\n      },\n      disabledUnCheckedWrap: {\n        backgroundColor: rgba(Variables['dis-unc-bg-color-android'], 0.26)\n        // borderColor: Variables['unc-border-color']\n      },\n      dot: {\n        position: 'absolute',\n        top: Variables['dot-top-android'],\n        left: Variables['dot-left-android'],\n        width: Variables['dot-size-android'], // 60,\n        height: Variables['dot-size-android'], // 60,\n        backgroundColor: Variables['dot-bg-color-android'],\n        borderRadius: Variables['dot-size-android'],\n        boxShadow: '0 1px 3px rgba(0,0,0,0.4)',\n        WebkitTransition: '-webkit-transform 0.2s ease-in'\n      },\n      checkedDot: {\n        WebkitTransform: 'translateX(' + Variables['dot-transform-android'] + 'rem)', // should with rem unit that the value is string type\n        backgroundColor: Variables['dot-checked-bg-color-android']\n      },\n      uncheckedDot: {\n        WebkitTransform: 'translateX(0)'\n      },\n      disabledDot: {\n        backgroundColor: rgba(Variables['dot-disabled-bg-color-android'], 0.5)\n      },\n      wrapIOS: {\n        width: Variables['wrap-width-ios'],\n        height: Variables['wrap-height-ios'],\n        borderRadius: Variables['wrap-border-radius'],\n        position: 'relative',\n        display: 'inline-block',\n        margin: Variables['wrap-margin-ios'],\n        padding: Variables['wrap-padding-ios'],\n        cursor: 'default', // pointer will cause a grey background color on chrome\n        verticalAlign: 'middle',\n        borderWidth: Variables['wrap-border-width-ios'],\n        borderStyle: 'solid',\n        // borderColor: Variables['wrap-border-color'],// todo\n\n        WebkitUserSelect: 'none',\n        WebkitBoxSizing: 'content-box',\n        WebkitBackfaceVisibility: 'hidden'\n      },\n      checkedWrapIOS: {\n        borderColor: Variables['c-border-color-ios'],\n        backgroundColor: Variables['c-bg-color-ios'],\n        WebkitTransition: 'border 0.2s, box-shadow 0.2s, background-color 1s'\n      },\n      uncheckedWrapIOS: {\n        borderColor: Variables['unc-border-color'], // '#dfdfdf',\n        backgroundColor: Variables['unc-bg-color-ios'],\n        WebkitTransition: 'border 0.2s, box-shadow 0.2s'\n      },\n\n      disabledCheckedWrapIOS: {\n        borderColor: rgba(Variables['dis-c-border-color-ios'], 0.5),\n        backgroundColor: rgba(Variables['dis-c-bg-color-ios'], 0.5)\n      },\n      disabledUnCheckedWrapIOS: {\n        backgroundColor: Variables['dis-unc-bg-color-ios']\n        // borderColor: Variables['unc-border-color']\n      },\n      dotIOS: {\n        position: 'absolute',\n        top: Variables['dot-top-ios'],\n        left: Variables['dot-left-ios'],\n        width: Variables['dot-size-ios'], // 60,\n        height: Variables['dot-size-ios'], // 60,\n        backgroundColor: Variables['dot-bg-color-ios'],\n        borderRadius: Variables['dot-size-ios'],\n        boxShadow: '0 1px 3px rgba(0,0,0,0.4)',\n        WebkitTransition: '-webkit-transform 0.2s ease-in'\n      },\n      checkedDotIOS: {\n        WebkitTransform: 'translateX(' + Variables['dot-transform-ios'] + 'rem)', // should with rem unit that the value is string type\n        backgroundColor: Variables['dot-checked-bg-color-ios']\n      },\n\n      disabledDotIOS: {\n        backgroundColor: Variables['dot-disabled-bg-color-ios']\n      }\n    }\n  };\n}\n\nexports.default = StyleMix;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Switch/styles/index.js?");

/***/ }),

/***/ "./lib/Switch/styles/variable.js":
/*!***************************************!*\
  !*** ./lib/Switch/styles/variable.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Switch;\n\n  /**\n   * 开关\n   * @namespace component\n   * @property module switch\n   * @property tag Switch\n   * @property category component\n   */\n  var switchVaribles = {\n    /**\n     * width\n     * @property namespace size/bounding\n     */\n    'wrap-width-ios': 100,\n    /**\n     * width\n     * @property namespace size/bounding\n     */\n    'wrap-width-android': 68,\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'wrap-height-ios': 60,\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    'wrap-height-android': 28,\n    /**\n     * corner\n     * @property namespace statement/normal\n     */\n    'wrap-border-radius': 40,\n    /**\n     * width\n     * @property namespace size/border\n     */\n    'wrap-border-width-ios': 2,\n    /**\n     * width\n     * @property namespace size/border\n     */\n    'wrap-border-width-android': 0,\n    /**\n     * margin\n     * @property namespace size/bounding\n     */\n    'wrap-margin': 0,\n    /**\n     * padding\n     * @property namespace size/bounding\n     */\n    'wrap-padding': 0,\n    /**\n     * background\n     * @property namespace statement\n     */\n    'c-bg-color-ios': '#00e158',\n    /**\n     * background\n     * @property namespace statement\n     */\n    'c-bg-color-android': '#4FCEDB',\n    /**\n     * border\n     * @property namespace statement\n     */\n    'c-border-color-ios': '#00e158',\n    /**\n     * border\n     * @property namespace statement\n     */\n    'c-border-color-android': Core['color-transparent'],\n\n    /**\n     * border\n     * @property namespace statement\n     */\n    'unc-border-color': '#dfdfdf',\n    /**\n     * background\n     * @property namespace statement\n     */\n    'unc-bg-color-ios': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement\n     */\n    'unc-bg-color-android': '#B1B1B1',\n\n    /**\n     * background\n     * @property namespace statement\n     */\n    'dis-c-bg-color-ios': '#00FF58',\n    /**\n     * background\n     * @property namespace statement\n     */\n    'dis-c-bg-color-android': '#221F1F',\n    /**\n     * background\n     * @property namespace statement\n     */\n    'dis-unc-bg-color-ios': '#cccccc',\n    /**\n     * background\n     * @property namespace statement\n     */\n    'dis-unc-bg-color-android': '#221F1F',\n    /**\n     * border\n     * @property namespace statement\n     */\n    'dis-c-border-color-ios': '#dfdfdf',\n    /**\n     * border\n     * @property namespace statement\n     */\n    'dis-c-border-color-android': '#1A9CB7',\n    /**\n     * size\n     * @property namespace size/dot\n     */\n    'dot-size-ios': 60,\n    /**\n     * size\n     * @property namespace size/dot\n     */\n    'dot-size-android': 44,\n    /**\n     * background\n     * @property namespace size/dot\n     */\n    'dot-bg-color-ios': Core['color-white'],\n    /**\n     * background\n     * @property namespace size/dot\n     */\n    'dot-bg-color-android': '#EBEBEB',\n    /**\n     * left\n     * @property namespace size/dot\n     */\n    'dot-left-ios': 0,\n    /**\n     * left\n     * @property namespace size/dot\n     */\n    'dot-left-android': -14,\n    /**\n     * background\n     * @property namespace size/dot\n     */\n    'dot-checked-bg-color-ios': Core['color-white'],\n    /**\n     * background\n     * @property namespace size/dot\n     */\n    'dot-checked-bg-color-android': '#009EB7',\n    /**\n     * transform\n     * @property namespace statement/dot\n     */\n    'dot-transform-ios': 40,\n    /**\n     * transform\n     * @property namespace statement/dot\n     */\n    'dot-transform-android': 48,\n    /**\n     * top\n     * @property namespace size/dot\n     */\n    'dot-top-ios': 0,\n    /**\n     * top\n     * @property namespace size/dot\n     * @property calculate (['wrap-height-android'] - ['dot-size-android'])/2\n     */\n    'dot-top-android': -8,\n    /**\n     * background\n     * @property namespace size/dot\n     */\n    'dot-disabled-bg-color-ios': Core['color-white'],\n    /**\n     * background\n     * @property namespace size/dot\n     */\n    'dot-disabled-bg-color-android': Core['color-white']\n  };\n\n  var variable = Object.assign(switchVaribles, ComponentCustomStyle);\n  return variable;\n}\n\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Switch/styles/variable.js?");

/***/ }),

/***/ "./lib/Switch/view/switch.js":
/*!***********************************!*\
  !*** ./lib/Switch/view/switch.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Switch/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* @jsx createElement */\n\n\nvar Switch = function (_Component) {\n  _inherits(Switch, _Component);\n\n  function Switch(props) {\n    _classCallCheck(this, Switch);\n\n    var _this = _possibleConstructorReturn(this, (Switch.__proto__ || Object.getPrototypeOf(Switch)).call(this, props));\n\n    _this.handleClick = _this.handleClick.bind(_this);\n    _this.changeHandler = _this.changeHandler.bind(_this);\n    return _this;\n  }\n  // shouldComponentUpdate(nextProps) {\n  //   return (\n  //     this.props.value !== nextProps.value ||\n  //     this.props.disabled !== nextProps.disabled ||\n  //     !styleEqual(this.props.themeStyle, nextProps.themeStyle)\n  //   );\n  // }\n\n\n  _createClass(Switch, [{\n    key: 'handleClick',\n    value: function handleClick(e) {\n      if (this.props.disabled) {\n        return null;\n      }\n      var newVal = !this.props.value;\n      this.props.onValueChange && this.props.onValueChange.call(this, newVal);\n    }\n  }, {\n    key: 'changeHandler',\n    value: function changeHandler(e) {\n      this.props.onValueChange && this.props.onValueChange(e.value);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          style = _props.style,\n          type = _props.type,\n          value = _props.value,\n          disabled = _props.disabled,\n          onValueChange = _props.onValueChange,\n          themeStyle = _props.themeStyle,\n          others = _objectWithoutProperties(_props, ['style', 'type', 'value', 'disabled', 'onValueChange', 'themeStyle']);\n\n      var isIOS = _nukeEnv.appInfo.platform.toLowerCase() === 'ios';\n\n      if (_nukeEnv.isWeex) {\n        var nativeProps = {\n          style: Object.assign({}, isIOS ? {} : { width: 95, height: 60 }, style),\n          checked: value,\n          disabled: disabled\n        };\n\n        return (0, _rax.createElement)('switch', _extends({}, others, nativeProps, { onChange: this.changeHandler }));\n      }\n\n      var styles = themeStyle;\n\n      if (type) {\n        isIOS = type === 'iOS';\n      }\n      var wrapStyle = Object.assign({}, styles.wrap, value ? styles.checkedWrap : styles.uncheckedWrap, disabled ? styles.disabledWrap : {}, disabled ? styles['disabled' + (value ? 'Checked' : 'UnChecked') + 'Wrap'] : {}, style);\n      if (isIOS) {\n        wrapStyle = Object.assign({}, styles.wrapIOS, value ? styles.checkedWrapIOS : styles.uncheckedWrapIOS, disabled ? styles.disabledWrapIOS : {}, disabled ? styles['disabled' + (value ? 'Checked' : 'UnChecked') + 'WrapIOS'] : {}, style);\n      }\n      var dotStyle = Object.assign({}, styles.dot, value ? styles.checkedDot : styles.uncheckedDot, disabled ? styles.disabledDot : {});\n      if (isIOS) {\n        dotStyle = Object.assign({}, styles.dotIOS, value ? styles.checkedDotIOS : styles.uncheckedDotIOS, disabled ? styles.disabledDotIOS : {});\n      }\n      return (0, _rax.createElement)(\n        'span',\n        _extends({ onClick: this.handleClick, style: wrapStyle }, others),\n        (0, _rax.createElement)('small', { style: dotStyle })\n      );\n    }\n  }]);\n\n  return Switch;\n}(_rax.Component);\n\nSwitch.displayName = 'Switch';\nSwitch.defaultProps = {\n  disabled: false,\n  style: {},\n  type: null\n};\nexports.default = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Switch);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Switch/view/switch.js?");

/***/ }),

/***/ "./lib/Tabbar/index.js":
/*!*****************************!*\
  !*** ./lib/Tabbar/index.js ***!
  \*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _tabbar = __webpack_require__(/*! ./view/tabbar.js */ \"./lib/Tabbar/view/tabbar.js\");\n\nvar _tabbar2 = _interopRequireDefault(_tabbar);\n\nvar _item = __webpack_require__(/*! ./view/item.js */ \"./lib/Tabbar/view/item.js\");\n\nvar _item2 = _interopRequireDefault(_item);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_tabbar2.default.Item = _item2.default;\n\nexports.default = _tabbar2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Tabbar/index.js?");

/***/ }),

/***/ "./lib/Tabbar/styles/index.js":
/*!************************************!*\
  !*** ./lib/Tabbar/styles/index.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Tabbar/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar commonStyle = function commonStyle(variables) {\n  return {\n    'nav-item-has-icon': {\n      flexDirection: 'row',\n      height: variables['icon-height']\n    }\n  };\n};\n\nfunction styleMix() {\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    Tabbar: _extends({\n      tabContainer: {\n        position: 'absolute',\n        top: 0,\n        right: 0,\n        bottom: 0,\n        left: 0,\n        display: 'flex'\n      },\n      tabContent: {\n        display: 'flex',\n        flex: 1\n      },\n      navBar: {\n        // display: 'flex',\n        flexDirection: 'row',\n        height: Variables['bar-item-height'],\n        // backgroundColor: '#ffffff',\n        alignitems: 'center'\n      },\n      navBarItem: _extends({}, core.padding(0, Variables['icon-item-padding-left-right']), {\n        height: Variables['bar-item-height'],\n        whiteSpace: 'nowrap'\n      }),\n      tbiContainer: {},\n      navCapsule: _extends({\n        alignSelf: 'center',\n        height: Variables['capsule-height']\n      }, core.border(Variables['capsule-border-width'], Variables['capsule-border-style'], Variables['capsule-border-color']), {\n        borderRadius: Variables['capsule-border-corner'] + 'rem'\n      }),\n      tabbarContent: {\n        flexDirection: 'row',\n        alignItems: 'center'\n      },\n      navItemIcon: {\n        // marginBottom: Variables['icon-item-icon-margin-bottom'],\n      }\n    }, commonStyle(Variables)),\n\n    Item: {\n      'nav-item': {\n        justifyContent: 'center',\n        alignItems: 'center',\n        flexDirection: 'row'\n        // height: Variables['bar-item-height'],\n      },\n      'nav-item-top': _extends({\n        height: Variables['bar-item-height']\n      }, core.border(1, 'solid', '#dcdee3', 'bottom')),\n      'nav-item-bottom': _extends({\n        height: Variables['bar-item-height']\n      }, core.border(1, 'solid', '#dcdee3', 'top')),\n      'nav-item-capsule': _extends({}, core.padding(0, Variables['capsule-item-padding-left-right']), {\n        // height: (Variables['capsule-height'] -2) +'rem',\n        backgroundColor: Variables['capsule-item-bg-color']\n      }),\n\n      'nav-item-capsule-selected': {\n        color: Variables['capsule-item-selected-color'],\n        backgroundColor: Variables['capsule-item-selected-bg-color']\n      },\n\n      'nav-item-top-selected': _extends({}, core.border(1, 'solid', Variables['bar-item-selected-color'], 'bottom')),\n\n      'nav-item-text': {\n        fontSize: '28rem'\n        // lineHeight: '19px',\n      },\n      'nav-item-top-text': {\n        fontSize: '28rem'\n        // lineHeight: '19px',\n      },\n      'nav-item-bottom-text': {\n        fontSize: '28rem'\n        // lineHeight: '19px',\n      },\n      'nav-item-capsule-text': {\n        fontSize: Variables['capsule-item-font-size'] + 'rem',\n        color: Variables['capsule-item-color']\n      },\n      'nav-item-capsule-selected-text': {\n        color: Variables['capsule-item-selected-color']\n      },\n      'nav-item-top-selected-text': {\n        color: Variables['bar-item-selected-color']\n      },\n      'nav-item-bottom-selected-text': {\n        color: Variables['bar-item-selected-color']\n      },\n      'nav-item-capsule-not-first': _extends({}, core.border(Variables['capsule-separator-width'], Variables['capsule-separator-style'], Variables['capsule-border-color'], 'left'))\n    }\n  };\n}\n\nexports.default = styleMix;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Tabbar/styles/index.js?");

/***/ }),

/***/ "./lib/Tabbar/styles/variable.js":
/*!***************************************!*\
  !*** ./lib/Tabbar/styles/variable.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nfunction VariableMix(theme) {\n  var Core = theme.Core;\n  var ComponentCustomStyle = theme.Tabbar;\n\n  /**\n   * 可切换试图\n   * @namespace component\n   * @property module tabbar\n   * @property tag Tabbar\n   * @property category component\n   */\n  var tabbarVaribles = {\n    /**\n     * padding(l,r)\n     * @property namespace size/item\n     */\n    'icon-item-padding-left-right': Core['s-2'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n\n    'icon-height': Core['s-16'],\n    /**\n     * icon-margin(b)\n     * @property namespace size/item\n     */\n\n    'icon-item-icon-margin-bottom': Core['s-2'],\n    /**\n     * icon-size\n     * @property namespace size/item\n     */\n\n    'icon-item-icon-size': Core['icon-xl'],\n\n    /**\n     * icon\n     * @property namespace statement\n     */\n\n    'icon-item-icon-color': Core['color-text1-2'],\n\n    /**\n     * icon\n     * @property namespace statement/selected\n     */\n\n    'icon-item-selected-icon-color': Core['color-brand1-6'],\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n\n    'icon-item-selected-color': Core['color-brand1-6'],\n    /**\n     * text\n     * @property namespace statement\n     */\n\n    'icon-item-color': Core['color-text1-2'],\n    /**\n     * text\n     * @property namespace size/text\n     */\n\n    'icon-item-font-size': Core['font-size-body-1'],\n\n    /**\n     * background\n     * @property namespace statement\n     */\n\n    'icon-item-bg-color': Core['color-white'],\n    /**\n     * padding(l,r)\n     * @property namespace size/content\n     */\n\n    'bar-content-padding-left-right': Core['s-2'],\n    /**\n     * padding(t,b)\n     * @property namespace size/content\n     */\n\n    'bar-content-padding-top-bottom': Core['s-0'],\n    /**\n     * margin(t)\n     * @property namespace size/content\n     */\n\n    'bar-content-margin-top': Core['s-2'],\n    /**\n     * text\n     * @property namespace size/text\n     */\n\n    'bar-item-font-size': Core['font-size-body-1'],\n    /**\n     * padding(l,r)\n     * @property namespace size/item\n     */\n\n    'bar-item-padding-left-right': Core['s-2'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n\n    'bar-item-height': Core['s-11'],\n    /**\n     * padding(l,r)\n     * @property namespace size/item\n     */\n\n    'bar-item-padding-top-bottom': Core['s-4'],\n\n    /**\n     * bar-margin(b)\n     * @property namespace size/item\n     */\n\n    'bar-item-bar-margin-bottom': Core['s-2'],\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n\n    'bar-item-selected-color': Core['color-brand1-6'],\n    /**\n     * text\n     * @property namespace statement\n     */\n\n    'bar-item-color': Core['color-text1-2'],\n    /**\n     * background\n     * @property namespace statement\n     */\n\n    'bar-item-bg-color': Core['color-white'],\n    /**\n     * min-width\n     * @property namespace size/item\n     */\n\n    'bar-item-min-width': Core['s-20'],\n    /**\n     * width\n     * @property namespace size/separator\n     */\n\n    'bar-item-separator-width': Core['line-1'],\n    /**\n     * height\n     * @property namespace size/separator\n     */\n\n    'bar-item-separator-height': Core['s-4'],\n\n    /**\n     * item-separator\n     * @property namespace statement\n     */\n\n    'bar-item-separator-color': Core['color-text1-1'],\n    /**\n     * item-separator-style\n     * @property namespace statement\n     */\n\n    'bar-item-separator-style': Core['line-solid'],\n    /**\n     * border\n     * @property namespace statement\n     */\n\n    'bar-border-bottom-color': Core['color-line1-3'],\n\n    /**\n     * width\n     * @property namespace size/border\n     */\n\n    'bar-border-bottom-width': Core['line-1'],\n    /**\n     * border\n     * @property namespace statement\n     */\n\n    'bar-border-bottom-style': Core['line-solid'],\n    /**\n     * height\n     * @property namespace size/indicator\n     */\n\n    'bar-indicator-height': 8,\n    /**\n     * indicator\n     * @property namespace statement/selected\n     */\n\n    'bar-indicator-bg-color': Core['color-brand1-6'],\n    /**\n     * indicator\n     * @property namespace size/bouuding\n     */\n\n    'bar-indicator-margin-bottom': -2,\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n\n    'bar-item-selected-bg-color': Core['color-white'],\n    /**\n     * size\n     * @property namespace size/arrow\n     */\n\n    'bar-more-icon-size': Core['icon-xs'],\n    /**\n     * arrow\n     * @property namespace statement\n     */\n\n    'bar-more-icon-color': Core['color-text1-2'],\n    /**\n     * border-style\n     * @property namespace statement\n     */\n\n    'capsule-border-style': Core['line-solid'],\n\n    /**\n     * border\n     * @property namespace statement\n     */\n\n    'capsule-border-color': Core['color-brand1-6'],\n    /**\n     * width\n     * @property namespace size/border\n     */\n\n    'capsule-border-width': Core['line-1'],\n    /**\n     * corner\n     * @property namespace statement\n     */\n\n    'capsule-border-corner': Core['corner-3'],\n    /**\n     * separator-width\n     * @property namespace size/item\n     */\n\n    'capsule-separator-width': Core['line-1'],\n\n    /**\n     * separator-style\n     * @property namespace statement\n     */\n\n    'capsule-separator-style': Core['line-solid'],\n    /**\n     * padding(l,r)\n     * @property namespace size/item\n     */\n\n    'capsule-item-padding-left-right': Core['s-4'],\n    /**\n     * height\n     * @property namespace size\n     */\n\n    'capsule-height': Core['s-8'],\n\n    /**\n     * text\n     * @property namespace size/text\n     */\n\n    'capsule-item-font-size': Core['font-size-body-1'],\n    /**\n     * text\n     * @property namespace statement\n     */\n\n    'capsule-item-color': Core['color-brand1-6'],\n    /**\n     * background\n     * @property namespace statement\n     */\n\n    'capsule-item-bg-color': Core['color-white'],\n    /**\n     * text\n     * @property namespace statement/selected\n     */\n\n    'capsule-item-selected-color': Core['color-white'],\n    /**\n     * background\n     * @property namespace statement/selected\n     */\n\n    'capsule-item-selected-bg-color': Core['color-brand1-6'],\n    /**\n     * border-style\n     * @property namespace statement\n     */\n\n    'app-border-style': Core['line-solid'],\n    /**\n     * border\n     * @property namespace statement\n     */\n\n    'app-border-color': Core['color-line1-3'],\n    /**\n     * width\n     * @property namespace size/border\n     */\n\n    'app-border-width': Core['line-1'],\n    /**\n     * padding(t,b)\n     * @property namespace size/item\n     */\n\n    'app-item-padding-top-bottom': Core['s-2'],\n    /**\n     * padding(l,r)\n     * @property namespace size/item\n     */\n\n    'app-item-padding-left-right': Core['s-4'],\n    /**\n     * min-height\n     * @property namespace size/bounding\n     */\n\n    'app-height': Core['s-11'],\n    /**\n     * item-background\n     * @property namespace statement\n     */\n\n    'app-item-bg-color': Core['color-white'],\n    /**\n     * item-text\n     * @property namespace statement\n     */\n\n    'app-item-color': Core['color-text1-2'],\n    /**\n     * text\n     * @property namespace size/item\n     */\n\n    'app-item-font-size': Core['font-size-body-1'],\n    /**\n     * item-background\n     * @property namespace statement/selected\n     */\n\n    'app-item-selected-bg-color': Core['color-white'],\n    /**\n     * item-text\n     * @property namespace statement/selected\n     */\n\n    'app-item-selected-color': Core['color-brand1-6'],\n    /**\n     * size\n     * @property namespace size/icon\n     */\n\n    'app-item-icon-size': Core['icon-l'],\n    /**\n     * margin(b)\n     * @property namespace size/icon\n     */\n\n    'app-item-icon-margin-bottom': Core['s-1']\n  };\n  // should alway use var statement to carray a assigngg\n  var variable = Object.assign(tabbarVaribles, ComponentCustomStyle);\n  return variable;\n}\n\nexports.default = VariableMix;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Tabbar/styles/variable.js?");

/***/ }),

/***/ "./lib/Tabbar/view/content.js":
/*!************************************!*\
  !*** ./lib/Tabbar/view/content.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeUtil = __webpack_require__(/*! ../../Util/index.js */ \"./lib/Util/index.js\");\n\nvar _nukeUtil2 = _interopRequireDefault(_nukeUtil);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\nvar WIDTH = '750rem';\n\nvar Wrapper = function (_Component) {\n  _inherits(Wrapper, _Component);\n\n  function Wrapper() {\n    _classCallCheck(this, Wrapper);\n\n    return _possibleConstructorReturn(this, (Wrapper.__proto__ || Object.getPrototypeOf(Wrapper)).apply(this, arguments));\n  }\n\n  _createClass(Wrapper, [{\n    key: 'shouldComponentUpdate',\n    value: function shouldComponentUpdate(nextProps, nextState) {\n      return this.props.shouldUpdate;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: { position: 'absolute', top: 0, bottom: 0, right: 0, left: 0 } },\n        this.props.children\n      );\n    }\n  }]);\n\n  return Wrapper;\n}(_rax.Component);\n\nvar Content = function (_Component2) {\n  _inherits(Content, _Component2);\n\n  function Content(props) {\n    _classCallCheck(this, Content);\n\n    var _this2 = _possibleConstructorReturn(this, (Content.__proto__ || Object.getPrototypeOf(Content)).call(this, props));\n\n    _this2.state = { hasBeenSelected: false };\n    return _this2;\n  }\n\n  _createClass(Content, [{\n    key: 'componentWillMount',\n    value: function componentWillMount() {\n      if (this.props.selected) {\n        this.setState({\n          hasBeenSelected: true\n        });\n      }\n      if (this.props.src) {\n        return;\n      }\n      // embed模式下不会注入changeTo\n      var method = this.props.customMethod.changeTo || 'changeTo';\n      // hack reference,挂载subComponents实例引用\n      if (!this.props.children.ref) {\n        this.props.children.ref = Math.random().toString(36);\n      }\n      this.props.children.type.prototype[method] = this.props.handleTouchTap;\n    }\n  }, {\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      // wpo.speed(1, rec(this.t), true);\n      // console.log('p1 [sub-tabbar] componentDidMount');\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      // embed模式下不会触发onFocus事件\n      if (!this.props.src && this.props.selected !== nextProps.selected) {\n        var method = this.props.customMethod.focus || 'onFocus';\n        var child = this.props.children;\n        /**\n         * _owner._instance may cause bug on production.\n         */\n        var context = child._owner._instance.refs[child.ref];\n        context && child.type.prototype[method] && child.type.prototype[method].call(context, nextProps.selected);\n      }\n      if (this.state.hasBeenSelected || nextProps.selected) {\n        this.setState({\n          hasBeenSelected: true\n        });\n      }\n    }\n\n    // shouldComponentUpdate(nextProps, nextState) {\n    //     return this.props.asFramework ? true : nextProps.selected !== this.props.selected;\n    // }\n\n    // navTo(param){\n\n    // Navigator.push(param.url, null,false);\n    // }\n\n  }, {\n    key: 'render',\n    value: function render() {\n      var style = {\n        width: WIDTH,\n        position: 'absolute',\n        top: 0,\n        bottom: 0,\n        right: 0,\n        left: 0,\n        visibility: 'visible'\n      };\n      var _props = this.props,\n          _props$webUrl = _props.webUrl,\n          webUrl = _props$webUrl === undefined ? null : _props$webUrl,\n          selected = _props.selected,\n          slider = _props.slider,\n          asFramework = _props.asFramework,\n          children = _props.children;\n      var src = this.props.src;\n\n      if (src) {\n        !selected && Object.assign(style, { visibility: 'hidden' });\n        if (_nukeEnv.isWeb) {\n          // debugger;\n          if (webUrl) {\n            src = webUrl;\n          } else {\n            var options = {};\n            if (window.__QAP__ && window.__QAP__.package && window.__QAP__.package.config && window.__QAP__.package.config.WebRootPath) {\n              options.webRootPath = window.__QAP__.package.config.WebRootPath;\n            }\n            /**\n             * 千牛 feature\n             * add in 2017.5.17\n             * _is_qap_=true 是一个需要持续传递到每一层页面的参数,用于指明此处为 h5 降级的 qap 容器。\n             */\n            if (window.location.href.indexOf('_is_qap_=true') > 0) {\n              options.contextQuery = '_is_qap_=true';\n            }\n            src = _nukeUtil2.default.urlHandler(src, options);\n            if (src.indexOf('://') < 0) {\n              src = window.location.protocol + '//' + src;\n            }\n          }\n\n          return (0, _rax.createElement)('iframe', { src: src, style: [style, { height: '100%' }], frameBorder: '0' });\n        }\n        return (0, _rax.createElement)('embed', { src: src, style: [{ visibility: 'visible' }, style], type: 'weex' });\n        // }\n      }\n      if (slider) {\n        return (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: [style, this.props.style] },\n          children\n        );\n      }\n      !selected && Object.assign(style, {\n        left: '-' + WIDTH,\n        visibility: 'hidden',\n        overflow: 'hidden'\n      });\n      return this.state.hasBeenSelected ? (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: [style, this.props.style] },\n        (0, _rax.createElement)(\n          Wrapper,\n          { shouldUpdate: asFramework },\n          children\n        )\n      ) : (0, _rax.createElement)(_nukeView2.default, null);\n    }\n  }]);\n\n  return Content;\n}(_rax.Component);\n\nexports.default = Content;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Tabbar/view/content.js?");

/***/ }),

/***/ "./lib/Tabbar/view/item.js":
/*!*********************************!*\
  !*** ./lib/Tabbar/view/item.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeIcon = __webpack_require__(/*! ../../Icon/index.js */ \"./lib/Icon/index.js\");\n\nvar _nukeIcon2 = _interopRequireDefault(_nukeIcon);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Tabbar/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\nvar Item = function (_Component) {\n  _inherits(Item, _Component);\n\n  function Item(props) {\n    _classCallCheck(this, Item);\n\n    var _this = _possibleConstructorReturn(this, (Item.__proto__ || Object.getPrototypeOf(Item)).call(this, props));\n\n    _this.onPress = _this.onPress.bind(_this);\n    _this.selectedIcon = _this.selectedIcon.bind(_this);\n    return _this;\n  }\n\n  _createClass(Item, [{\n    key: 'onPress',\n    value: function onPress() {\n      this.props._control.switch = false;\n      this.props.handleTouchTap(this.props.tabKey, !this.props.preventDefaultEvent);\n      if (this.props.onPress) {\n        this.props.onPress();\n      }\n      this.props._control.switch = true;\n    }\n  }, {\n    key: 'selectedIcon',\n    value: function selectedIcon() {\n      if (this.props.selected && this.props.selectedIcon) {\n        return this.props.selectedIcon;\n      }\n      return this.props.icon;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          index = _props.index,\n          num = _props.num,\n          icon = _props.icon,\n          title = _props.title,\n          _props$capsule = _props.capsule,\n          capsule = _props$capsule === undefined ? false : _props$capsule,\n          render = _props.render,\n          _props$navStyle = _props.navStyle,\n          navStyle = _props$navStyle === undefined ? {} : _props$navStyle,\n          selected = _props.selected,\n          navScrollable = _props.navScrollable,\n          navTop = _props.navTop,\n          style = _props.style,\n          iconBar = _props.iconBar,\n          themeStyle = _props.themeStyle;\n\n      var navPosition = capsule ? 'capsule' : navTop ? 'top' : 'bottom';\n      var navWrapStyle = Object.assign({}, themeStyle['nav-item'], themeStyle['nav-item-' + navPosition], !navScrollable && !capsule ? { flex: 1 } : {}, selected ? themeStyle['nav-item-' + navPosition + '-selected'] : {}, selected ? navStyle.active : navStyle.inactive, iconBar ? themeStyle['nav-item-has-icon'] : {}, capsule && index > 0 ? themeStyle['nav-item-capsule-not-first'] : {}, style);\n      if (render) {\n        delete navWrapStyle.height;\n      }\n      if (!navWrapStyle.flex && _nukeEnv.isWeb) {}\n      var iconURL = void 0;\n\n      var iconSize = 'large';\n\n      var iconStyle = void 0;\n      if (icon) {\n        iconStyle = icon.style;\n        iconSize = icon.size ? icon.size : iconSize;\n        if (selected) {\n          iconURL = icon.selected;\n        } else {\n          iconURL = icon.src;\n        }\n      }\n\n      var navTextStyle = Object.assign({}, themeStyle['nav-item-text'], themeStyle['nav-item-' + navPosition + '-text'], selected ? themeStyle['nav-item-' + navPosition + '-selected-text'] : {});\n      var itemContent = function itemContent() {\n        if (!render) {\n          return (0, _rax.createElement)(\n            _nukeView2.default,\n            { style: { alignItems: 'space-between' } },\n            icon ? (0, _rax.createElement)(_nukeIcon2.default, { size: iconSize, src: iconURL, style: [themeStyle.navItemIcon, iconStyle || {}] }) : null,\n            (0, _rax.createElement)(\n              _nukeText2.default,\n              { style: navTextStyle },\n              title\n            )\n          );\n        }\n      };\n\n      return (0, _rax.createElement)(\n        _nukeTouchable2.default,\n        { style: navWrapStyle, onPress: this.onPress, t: 'tab-item' },\n        render ? render(selected, this.props.tabKey) : null,\n        itemContent()\n      );\n    }\n  }]);\n\n  return Item;\n}(_rax.Component);\n\nItem.displayName = 'Item';\n\nexports.default = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Item);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Tabbar/view/item.js?");

/***/ }),

/***/ "./lib/Tabbar/view/tabbar.js":
/*!***********************************!*\
  !*** ./lib/Tabbar/view/tabbar.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp; /** @jsx createElement */\n\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeScrollView = __webpack_require__(/*! ../../ScrollView/index.js */ \"./lib/ScrollView/index.js\");\n\nvar _nukeScrollView2 = _interopRequireDefault(_nukeScrollView);\n\nvar _nukeDimensions = __webpack_require__(/*! ../../Dimensions/index.js */ \"./lib/Dimensions/index.js\");\n\nvar _nukeDimensions2 = _interopRequireDefault(_nukeDimensions);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _item = __webpack_require__(/*! ./item.js */ \"./lib/Tabbar/view/item.js\");\n\nvar _item2 = _interopRequireDefault(_item);\n\nvar _content = __webpack_require__(/*! ./content.js */ \"./lib/Tabbar/view/content.js\");\n\nvar _content2 = _interopRequireDefault(_content);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Tabbar/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// import wpo from './log/log.js';\nvar WIDTH = '750rem';\n\n// 0 tabbar 完全渲染完毕\n// 2/3 tabbar 切换tab渲染完毕(普通模式/embed模式)\n\n// const rec = t => Date.now() - t;\n\nvar Tabbar = (_temp = _class = function (_Component) {\n  _inherits(Tabbar, _Component);\n\n  function Tabbar(props) {\n    _classCallCheck(this, Tabbar);\n\n    // wpo.setConfig({\n    //     sample : 1,\n    //     spmId  : 'nuke.perf',\n    //     request: stream.fetch\n    // });\n    // this.t = Date.now();\n    // 兼容代码,旧api为activeKey为string,新api为obj\n    var _this = _possibleConstructorReturn(this, (Tabbar.__proto__ || Object.getPrototypeOf(Tabbar)).call(this, props));\n\n    _this.handleTouchTap = function (tabKey) {\n      var needChangeState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n      // this.t = Date.now()\n      needChangeState && _this.props.onChange && _this.props.onChange({ prev: _this.getKey(), next: tabKey });\n      needChangeState && _this.setState({ selectedKey: tabKey });\n      _this.keyObj ? _this.props.activeKey.key = tabKey : _this.props.activeKey = tabKey;\n    };\n\n    _this.getStyles = function () {\n      var _this$props = _this.props,\n          _this$props$navTop = _this$props.navTop,\n          navTop = _this$props$navTop === undefined ? false : _this$props$navTop,\n          _this$props$capsule = _this$props.capsule,\n          capsule = _this$props$capsule === undefined ? false : _this$props$capsule,\n          _this$props$iconBar = _this$props.iconBar,\n          iconBar = _this$props$iconBar === undefined ? false : _this$props$iconBar,\n          themeStyle = _this$props.themeStyle;\n      var _this$props$itemStyle = _this.props.itemStyle,\n          itemStyle = _this$props$itemStyle === undefined ? {} : _this$props$itemStyle;\n\n      if (itemStyle.height) {\n        itemStyle.height = parseInt(itemStyle.height, 10);\n      }\n      if (itemStyle.width) {\n        itemStyle.width = parseInt(itemStyle.width, 10);\n      }\n      var barWrapperStyle = Object.assign({}, _extends({ width: WIDTH }, itemStyle, { position: 'absolute' }), navTop || capsule ? { top: 0 } : { bottom: 0 });\n      var barHeight = themeStyle.navBar.height;\n      if (capsule) {\n        barHeight = themeStyle.navCapsule.height;\n      }\n      if (iconBar) {\n        barHeight = themeStyle['nav-item-has-icon'].height;\n      }\n      if (itemStyle.height) {\n        barHeight = itemStyle.height + 'rem';\n      }\n      var barStyle = Object.assign({}, themeStyle.navBar, { backgroundColor: barWrapperStyle.backgroundColor || '#ffffff' }, iconBar ? themeStyle['nav-item-has-icon'] : {}, capsule ? themeStyle.navCapsule : { width: itemStyle.width || '750rem' }, { height: barHeight\n        // capsule ? { height: itemStyle.height || null }\n      });\n      return {\n        barWrapperStyle: barWrapperStyle,\n        barStyle: barStyle\n      };\n    };\n\n    _this.keyObj = props.activeKey.key !== undefined;\n    _this.state = {\n      selectedKey: _this.getKey(props)\n    };\n    _this._control = { switch: true };\n    _this.asFramework = props.asContainer === false || props.asFramework;\n    return _this;\n  }\n\n  _createClass(Tabbar, [{\n    key: 'getKey',\n    value: function getKey(thisProps) {\n      var props = thisProps || this.props;\n      return this.keyObj ? props.activeKey.key : props.activeKey;\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      // this.t = Date.now()\n      // 屏蔽掉来自item press事件的state中activeKey的变更,render中将不处理,并且同步本地的activeKey值\n      if (!this._control.switch) {\n        this.keyObj ? nextProps.activeKey.key = this.props.activeKey.key : nextProps.activeKey = this.props.activeKey;\n      } else {\n        // 主动change state后不会产生onchange\n        this.setState({\n          selectedKey: this.keyObj ? nextProps.activeKey.key : nextProps.activeKey\n        });\n      }\n    }\n  }, {\n    key: 'getTabs',\n    value: function getTabs() {\n      var tabs = [];\n      if (this.props.children && Array.isArray(this.props.children)) {\n        this.props.children.map(function (tab) {\n          if ((0, _rax.isValidElement)(tab)) {\n            tabs.push(tab);\n          }\n        });\n        return tabs;\n      }\n      tabs.push(this.props.children);\n      return tabs;\n    }\n  }, {\n    key: 'renderTabNav',\n    value: function renderTabNav(tabs) {\n      var _props = this.props,\n          _props$itemStyle = _props.itemStyle,\n          itemStyle = _props$itemStyle === undefined ? {} : _props$itemStyle,\n          _props$navTop = _props.navTop,\n          navTop = _props$navTop === undefined ? false : _props$navTop,\n          _props$capsule = _props.capsule,\n          capsule = _props$capsule === undefined ? false : _props$capsule,\n          _props$iconBar = _props.iconBar,\n          iconBar = _props$iconBar === undefined ? false : _props$iconBar;\n      /*\n       * 修改导航条及content为绝对定位,以避免在embed模式下weex渲染遮挡问题。\n       */\n\n      var _getStyles = this.getStyles(),\n          barWrapperStyle = _getStyles.barWrapperStyle,\n          barStyle = _getStyles.barStyle;\n\n      if (this.props.navScrollable) {\n        return (0, _rax.createElement)(\n          _nukeView2.default,\n          { className: 'bar-wrapper', style: barWrapperStyle },\n          (0, _rax.createElement)(\n            _nukeScrollView2.default,\n            {\n              horizontal: 'true',\n              showsHorizontalScrollIndicator: false,\n              className: 'tab-nav',\n              style: [barStyle, _nukeEnv.isWeb ? {\n                flexBasis: 'auto'\n              } : {}],\n              contentContainerStyle: _nukeEnv.isWeb ? { flexBasis: 'auto' } : {}\n            },\n            tabs\n          )\n        );\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { className: 'bar-wrapper', style: barWrapperStyle },\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { className: 'tab-nav', style: barStyle },\n          tabs\n        )\n      );\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var tabContent = [];\n\n      var _getStyles2 = this.getStyles(),\n          barStyle = _getStyles2.barStyle;\n\n      var themeStyle = this.props.themeStyle;\n      var tabs = this.getTabs().map(function (tab, index) {\n        if (tab.props.children || tab.props.src) {\n          tabContent.push((0, _rax.createElement)(_content2.default, {\n            src: tab.props.src || null,\n            asFramework: _this2.asFramework,\n            customMethod: {\n              focus: _this2.props.customFocus,\n              changeTo: _this2.props.customChange\n            },\n            key: index,\n            webUrl: tab.props.webUrl || null,\n            tabKey: tab.props.tabKey,\n            selected: _this2.state.selectedKey === tab.props.tabKey,\n            handleTouchTap: _this2.handleTouchTap\n          }, tab.props.children));\n        }\n\n        return (0, _rax.cloneElement)(tab, {\n          _control: _this2._control,\n          asFramework: _this2.asFramework,\n          navStyle: _this2.props.navStyle,\n          index: index,\n          style: Object.assign({}, tab.props.style, { height: barStyle.height }),\n          tabKey: tab.props.tabKey,\n          capsule: _this2.props.capsule,\n          navTop: _this2.props.navTop,\n          iconBar: _this2.props.iconBar,\n          navScrollable: _this2.props.navScrollable,\n          selected: _this2.state.selectedKey === tab.props.tabKey,\n          selectedColor: _this2.props.selectedColor,\n          selectedIcon: tab.props.selectedIcon,\n          handleTouchTap: _this2.handleTouchTap\n        });\n      });\n      var tabContainerStyle = Object.assign({}, themeStyle.tabContainer, this.props.style);\n      // var barStyle = Object.assign({},styles.navBar,this.props.itemStyle);\n      // if(this.props.iconBar){\n      //     Object.assign(barStyle, styles['nav-item-has-icon'])\n      // }\n      var autoStyleHeight = _nukeDimensions2.default.get('window').height;\n\n      var tabContentStyle = this.props.navTop || this.props.capsule ? Object.assign({}, themeStyle.tabContent, {\n        marginTop: barStyle.height\n      }) : Object.assign({}, themeStyle.tabContent, {\n        marginBottom: barStyle.height\n      });\n      // console.log('this.state.selectedKey', this.state.selectedKey);\n      var index = Number(this.state.selectedKey) || 0;\n      var contentStyle = this.props.contentStyle;\n      if (this.props.navTop || this.props.capsule) {\n        return (0, _rax.createElement)(\n          _nukeView2.default,\n          { className: 'tab-container', style: tabContainerStyle },\n          this.renderTabNav(tabs),\n          tabContent.length ? (0, _rax.createElement)(\n            _nukeView2.default,\n            { className: 'tab-content', style: [tabContentStyle, contentStyle] },\n            tabContent\n          ) : null\n        );\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { className: 'tab-container', style: tabContainerStyle },\n        tabContent.length ? (0, _rax.createElement)(\n          _nukeView2.default,\n          { className: 'tab-content', style: [tabContentStyle, contentStyle] },\n          tabContent\n        ) : null,\n        this.renderTabNav(tabs)\n      );\n    }\n  }]);\n\n  return Tabbar;\n}(_rax.Component), _class.Item = _item2.default, _temp);\n\nTabbar.defaultProps = {\n  asFramework: true,\n  themeStyle: {}\n};\nTabbar.displayName = 'Tabbar';\n\nexports.default = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Tabbar);\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Tabbar/view/tabbar.js?");

/***/ }),

/***/ "./lib/Text/index.js":
/*!***************************!*\
  !*** ./lib/Text/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeHelper = __webpack_require__(/*! ../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _text = __webpack_require__(/*! ./text.js */ \"./lib/Text/text.js\");\n\nvar _text2 = _interopRequireDefault(_text);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar defaultLineHeightOptimizer = function defaultLineHeightOptimizer(fontSize) {\n  return Math.ceil(9.24 * Math.pow(10, -5) * Math.pow(fontSize, 2) + 1.492 * fontSize + 2.174);\n};\n\nvar isWeb = typeof callNative !== 'function';\n\nvar Text = function (_Component) {\n  _inherits(Text, _Component);\n\n  function Text(props, context) {\n    _classCallCheck(this, Text);\n\n    var _this = _possibleConstructorReturn(this, (Text.__proto__ || Object.getPrototypeOf(Text)).call(this));\n\n    _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n    _this.fontFamily = context.commonConfigs && context.commonConfigs.fontFamily;\n    _this.optimizeLineHeight = context.commonConfigs && context.commonConfigs.optimizeLineHeight;\n    if ('fixedFont' in props) {\n      _this.fixedFont = props.fixedFont;\n    }\n    if ('optimizeLineHeight' in props) {\n      _this.optimizeLineHeight = props.optimizeLineHeight;\n    }\n    return _this;\n  }\n  /**\n   * This function is used to  calculate line height when language is Thai or Vietnanese.\n   * @param {obj} style\n   */\n\n\n  _createClass(Text, [{\n    key: 'calcLineHeight',\n    value: function calcLineHeight(style) {\n      var lineHeightOptimizer = this.props.lineHeightOptimizer;\n\n      var fontSize = parseInt(style.fontSize, 10);\n\n      var lineHeight = lineHeightOptimizer(fontSize);\n\n      if (lineHeight && !style.lineHeight) {\n        if (this.fixedFont && typeof lineHeight === 'number') {\n          style.lineHeight = lineHeight + (isWeb ? 'px' : 'wx');\n        } else {\n          style.lineHeight = lineHeight;\n        }\n      }\n      return style;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          onPress = _props.onPress,\n          onClick = _props.onClick,\n          style = _props.style,\n          others = _objectWithoutProperties(_props, ['onPress', 'onClick', 'style']);\n\n      var defaultStyle = { fontSize: '32rem', wordWrap: 'break-word' };\n      if (this.fontFamily) {\n        defaultStyle.fontFamily = this.fontFamily;\n      }\n      var textStyle = Object.assign(defaultStyle, style);\n      delete others.optimizeLineHeight;\n      textStyle = this.fixedFont ? (0, _nukeHelper.calcTextSize)(textStyle) : textStyle;\n      textStyle = this.optimizeLineHeight ? this.calcLineHeight(textStyle) : textStyle;\n      return (0, _rax.createElement)(_text2.default, _extends({}, others, { style: textStyle, onClick: onPress || onClick }));\n    }\n  }]);\n\n  return Text;\n}(_rax.Component);\n\nText.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  commonConfigs: _rax.PropTypes.any\n};\nText.propTypes = {\n  optimizeLineHeight: _rax.PropTypes.boolean,\n  fixedFont: _rax.PropTypes.boolean,\n  style: _rax.PropTypes.any,\n  onPress: _rax.PropTypes.func,\n  onClick: _rax.PropTypes.func,\n  lineHeightOptimizer: _rax.PropTypes.func\n};\nText.defaultProps = {\n  style: {},\n  lineHeightOptimizer: defaultLineHeightOptimizer\n};\nexports.default = Text;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Text/index.js?");

/***/ }),

/***/ "./lib/Text/text.js":
/*!**************************!*\
  !*** ./lib/Text/text.js ***!
  \**************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp2;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isWeex = typeof callNative === 'function';\n\nvar Text = (_temp2 = _class = function (_Component) {\n  _inherits(Text, _Component);\n\n  function Text() {\n    var _ref;\n\n    var _temp, _this, _ret;\n\n    _classCallCheck(this, Text);\n\n    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Text.__proto__ || Object.getPrototypeOf(Text)).call.apply(_ref, [this].concat(args))), _this), _this.renderText = function () {\n      var props = _this.props;\n      var nativeProps = _extends({}, props, {\n        style: props.style || {}\n      });\n\n      var textString = '';\n      if (props.children != null) {\n        if (!Array.isArray(props.children)) {\n          textString = props.children.toString();\n        } else {\n          textString = props.children.join('');\n        }\n      }\n\n      if (_this.context.isInAParentText) {\n        return (0, _rax.createElement)(\n          'span',\n          nativeProps,\n          textString\n        );\n      }\n\n      if (props.onPress) {\n        nativeProps.onClick = props.onPress;\n      }\n\n      if (isWeex) {\n        if (props.numberOfLines) {\n          nativeProps.style.lines = props.numberOfLines;\n        }\n\n        nativeProps.value = textString;\n\n        return (0, _rax.createElement)('text', nativeProps);\n      }\n      var styleProps = _extends({}, styles.text, nativeProps.style);\n      var numberOfLines = props.numberOfLines;\n      if (numberOfLines) {\n        if (parseInt(numberOfLines) === 1) {\n          styleProps.whiteSpace = 'nowrap';\n        } else {\n          styleProps.display = '-webkit-box';\n          styleProps.webkitBoxOrient = 'vertical';\n          styleProps.webkitLineClamp = String(numberOfLines);\n        }\n\n        styleProps.overflow = 'hidden';\n      }\n\n      return (0, _rax.createElement)(\n        'span',\n        _extends({}, nativeProps, { style: styleProps }),\n        textString\n      );\n    }, _this.renderRichText = function () {\n      var props = _this.props;\n      var children = props.children;\n\n\n      var nativeProps = _extends({}, props, {\n        style: props.style || {}\n      });\n      var styleProps = _extends({}, styles.richtext, nativeProps.style);\n\n      if (isWeex) {\n        children = transformChildren(children, _this);\n      }\n\n      return (0, _rax.createElement)(\n        'p',\n        _extends({}, nativeProps, { style: styleProps }),\n        children\n      );\n    }, _temp), _possibleConstructorReturn(_this, _ret);\n  }\n\n  _createClass(Text, [{\n    key: 'getChildContext',\n    value: function getChildContext() {\n      return {\n        isInAParentText: true\n      };\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var props = this.props;\n      var children = props.children;\n\n      if (!Array.isArray(children)) {\n        children = [children];\n      }\n\n      var nested = false;\n      for (var i = 0; i < children.length; i++) {\n        var child = children[i];\n        if (child && (typeof child === 'undefined' ? 'undefined' : _typeof(child)) === 'object') {\n          nested = true;\n          break;\n        }\n      }\n\n      return nested ? this.renderRichText() : this.renderText();\n    }\n  }]);\n\n  return Text;\n}(_rax.Component), _class.propTypes = {}, _class.contextTypes = {\n  isInAParentText: _rax.PropTypes.bool\n}, _class.childContextTypes = {\n  isInAParentText: _rax.PropTypes.bool\n}, _temp2);\n\n\nfunction transformChild(child, instance) {\n  var ChildComponent = child.type,\n      props = child.props;\n  var children = props.children;\n\n\n  if (typeof ChildComponent === 'function') {\n    var childInstance = new ChildComponent();\n    childInstance.props = props;\n    if (children) {\n      childInstance.props.children = transformChildren(children, instance);\n    }\n    childInstance.context = instance.getChildContext();\n\n    return childInstance.render();\n  }\n  return child;\n}\n\nfunction transformChildren(children, instance) {\n  var elements = [];\n  if (!Array.isArray(children)) {\n    children = [children];\n  }\n\n  for (var i = 0; i < children.length; i++) {\n    var child = children[i];\n    if (typeof child === 'string') {\n      elements.push(child);\n    } else if ((typeof child === 'undefined' ? 'undefined' : _typeof(child)) === 'object') {\n      elements.push(transformChild(child, instance));\n    }\n  }\n\n  return elements;\n}\n\nvar styles = {\n  text: {\n    border: '0 solid black',\n    position: 'relative',\n    boxSizing: 'border-box',\n    display: 'block',\n    flexDirection: 'column',\n    alignContent: 'flex-start',\n    flexShrink: 0,\n    fontSize: 32\n  },\n  richtext: {\n    marginTop: 0,\n    marginBottom: 0\n  }\n};\n\nexports.default = Text;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Text/text.js?");

/***/ }),

/***/ "./lib/ThemeProvider/connect-style.js":
/*!********************************************!*\
  !*** ./lib/ThemeProvider/connect-style.js ***!
  \********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _hoistNonReactStatics = __webpack_require__(/*! hoist-non-react-statics */ \"./src/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js\");\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nvar _theme = __webpack_require__(/*! ./theme.js */ \"./lib/ThemeProvider/theme.js\");\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n// import pickby from 'lodash.pickby';\n\n\n// function throwConnectStyleError(errorMessage, componentDisplayName) {\n//   throw Error(\n//     `${errorMessage} - when connecting ${componentDisplayName} component to style.`\n//   );\n// }\n\n// 处理 componentStyle 有多层的情况,例如:\n// componentStyle: {\n//     Card : {\n//         normal:{\n//             width:100,\n//             height:100\n//         },\n//         footer:{\n//             flex:1\n//         }\n//     } ,\n//     [Card.Item]:{\n//         wrap:{\n//             backgroundColor:'#cccccc'\n//         }\n//     },\n//     [Card.Item.Button]:{\n//         primary:{\n//             backgroundColor:'#cccccc'\n//         }\n//     }\n// }\nvar cacheStatic = void 0;\nfunction getTheme(context) {\n  if (context.theme) {\n    cacheStatic = context.theme;\n  }\n  // Fallback to a default theme if the component isn't\n  // rendered in a StyleProvider.\n  // return Theme.get(namespace) || Theme.getDefaultTheme();\n  // var a = Theme.get();\n  return context.theme || cacheStatic || _theme2.default.getDefaultTheme();\n}\n\n/**\n * 过滤,传递需要的样式到子节点\n * @param  {[object]} componentStyle       [样式]\n * @param  {[string]} componentDisplayName [组件名]\n * @param  {[array]} parentPath           [父级路径]\n * @return {[type]}                      [description]\n */\n// function injectToChildFilter(\n//   componentStyle,\n//   componentDisplayName,\n//   parentPath = []\n// ) {\n//   return pickby(componentStyle, (value, key) => {\n//     let nextPath = [...parentPath];\n//     nextPath.push(componentDisplayName);\n//     let maxCurrentStyleKey = nextPath.join('.');\n//     //当前 keyPath 是否是currentPath 的子路径, 例如 keyPath : Cart.Item.Button, currentPath: Cart.Item, return true\n//     return (\n//       key.indexOf(maxCurrentStyleKey) === 0 && key.length > maxCurrentStyleKey\n//     );\n//   });\n// }\n/**\n * add display name property in each componeent to prevent being aliasd.\n */\n\nexports.default = function () {\n  var componentStyleProvider = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n  function getComponentDisplayName(WrappedComponent) {\n    return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n  }\n\n  return function wrapWithStyledComponent(WrappedComponent) {\n    var _class, _temp;\n\n    var componentDisplayName = getComponentDisplayName(WrappedComponent);\n\n    var StyledComponent = (_temp = _class = function (_Component) {\n      _inherits(StyledComponent, _Component);\n\n      function StyledComponent(props, context) {\n        _classCallCheck(this, StyledComponent);\n\n        var _this = _possibleConstructorReturn(this, (StyledComponent.__proto__ || Object.getPrototypeOf(StyledComponent)).call(this, props, context));\n\n        var style = props.style;\n        var theme = getTheme(context);\n        _this.displayName = componentDisplayName;\n        var componentStyle = componentStyleProvider(theme.themeStyle);\n\n        _this.setWrappedInstance = _this.setWrappedInstance.bind(_this);\n\n        var finalStyle = _this.getFinalStyle(componentStyle, context, style);\n        _this.state = {\n          style: finalStyle,\n          componentStyle: componentStyle,\n          addedProps: _this.resolveAddedProps()\n        };\n        return _this;\n      }\n\n      _createClass(StyledComponent, [{\n        key: 'getChildContext',\n        value: function getChildContext() {\n          return {\n            // parentStyle: injectToChildFilter(\n            //   this.state.componentStyle,\n            //   this.displayName,\n            //   this.currentPath\n            // ),\n            namespace: this.getNamespace(),\n            //   this.context.parentStyle :\n            //   this.state.childrenStyle,\n            // resolveStyle: this.resolveConnectedComponentStyle,\n            parentPath: this.getParentPath()\n          };\n        }\n      }, {\n        key: 'componentWillReceiveProps',\n        value: function componentWillReceiveProps(nextProps, nextContext) {\n          var theme = getTheme(nextContext);\n          var componentStyle = componentStyleProvider(theme.themeStyle);\n          var style = nextProps.style;\n          var finalStyle = this.getFinalStyle(componentStyle, nextContext, style);\n          this.setState({\n            style: finalStyle\n          });\n        }\n\n        // getStyleFromKlsName(klassName) {\n        //   // console.log(klassName);\n        // }\n\n      }, {\n        key: 'getFinalStyle',\n        value: function getFinalStyle(componentStyle, context, style) {\n          var currentPath = context.parentPath ? [].concat(_toConsumableArray(context.parentPath)) : [];\n          currentPath.push(this.displayName);\n          var stylesObject = {};\n          for (var i = 0; i < currentPath.length; i++) {\n            var key = currentPath.slice(currentPath.length - 1 - i).join('.');\n            if (componentStyle[key]) {\n              stylesObject = _extends({}, stylesObject, componentStyle[key]);\n            }\n          }\n          return _extends({}, stylesObject, style);\n        }\n      }, {\n        key: 'getParentPath',\n        value: function getParentPath() {\n          if (!this.context.parentPath) {\n            return [this.displayName];\n          }\n          return [].concat(_toConsumableArray(this.context.parentPath), [this.displayName]);\n        }\n      }, {\n        key: 'getNamespace',\n        value: function getNamespace() {\n          return this.context.namespace || 'Nuke';\n        }\n      }, {\n        key: 'setNativeProps',\n        value: function setNativeProps(nativeProps) {\n          if (this.wrappedInstance.setNativeProps) {\n            this.wrappedInstance.setNativeProps(nativeProps);\n          }\n        }\n      }, {\n        key: 'setWrappedInstance',\n        value: function setWrappedInstance(component) {\n          var _this2 = this;\n\n          if (component && component._root) {\n            this._root = component._root;\n          } else {\n            this._root = component;\n          }\n          this.wrappedInstance = this._root;\n          this.wrappedInstance && Object.keys(this.wrappedInstance).forEach(function (attr) {\n            if (!_this2[attr]) {\n              _this2[attr] = _this2.wrappedInstance[attr];\n            }\n          });\n        }\n      }, {\n        key: 'resolveAddedProps',\n        value: function resolveAddedProps() {\n          var addedProps = {};\n          if (options.withRef) {\n            addedProps.ref = 'wrappedInstance';\n          }\n          return addedProps;\n        }\n      }, {\n        key: 'render',\n        value: function render() {\n          var _state = this.state,\n              addedProps = _state.addedProps,\n              style = _state.style;\n\n          return (0, _rax.createElement)(WrappedComponent, _extends({}, this.props, addedProps, { themeStyle: style, ref: this.setWrappedInstance }));\n        }\n      }]);\n\n      return StyledComponent;\n    }(_rax.Component), _class.contextTypes = {\n      theme: _rax.PropTypes.object,\n      parentPath: _rax.PropTypes.array,\n      namespace: _rax.PropTypes.string\n    }, _class.childContextTypes = {\n      parentPath: _rax.PropTypes.array,\n      parentStyle: _rax.PropTypes.object,\n      namespace: _rax.PropTypes.string\n    }, _class.propTypes = {\n      // Element style that overrides any other style of the component\n      style: _rax.PropTypes.object\n    }, _class.WrappedComponent = WrappedComponent, _temp);\n    // return StyledComponent;\n\n    return (0, _hoistNonReactStatics2.default)(StyledComponent, WrappedComponent);\n  };\n};\n\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/ThemeProvider/connect-style.js?");

/***/ }),

/***/ "./lib/ThemeProvider/index.js":
/*!************************************!*\
  !*** ./lib/ThemeProvider/index.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _connectStyle = __webpack_require__(/*! ./connect-style.js */ \"./lib/ThemeProvider/connect-style.js\");\n\nvar _connectStyle2 = _interopRequireDefault(_connectStyle);\n\nvar _theme = __webpack_require__(/*! ./theme.js */ \"./lib/ThemeProvider/theme.js\");\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nvar _styleProvider = __webpack_require__(/*! ./style-provider.js */ \"./lib/ThemeProvider/style-provider.js\");\n\nvar _styleProvider2 = _interopRequireDefault(_styleProvider);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n  connectStyle: _connectStyle2.default,\n  Theme: _theme2.default,\n  StyleProvider: _styleProvider2.default\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/ThemeProvider/index.js?");

/***/ }),

/***/ "./lib/ThemeProvider/style-provider.js":
/*!*********************************************!*\
  !*** ./lib/ThemeProvider/style-provider.js ***!
  \*********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp; /** @jsx createElement */\n\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _theme = __webpack_require__(/*! ./theme.js */ \"./lib/ThemeProvider/theme.js\");\n\nvar _theme2 = _interopRequireDefault(_theme);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n *  Provides a theme to child components trough context.\n */\nvar StyleProvider = (_temp = _class = function (_Component) {\n  _inherits(StyleProvider, _Component);\n\n  function StyleProvider(props, context) {\n    _classCallCheck(this, StyleProvider);\n\n    var _this = _possibleConstructorReturn(this, (StyleProvider.__proto__ || Object.getPrototypeOf(StyleProvider)).call(this, props, context));\n\n    _this.state = {\n      theme: _this.createTheme(props)\n    };\n    return _this;\n  }\n\n  _createClass(StyleProvider, [{\n    key: 'getChildContext',\n    value: function getChildContext() {\n      return {\n        theme: this.state.theme,\n        androidConfigs: this.getAndroidConfigs(this.props),\n        compatibilityConfigs: this.getCompatConfigs(this.props),\n        commonConfigs: this.getCommonConfigs(this.props)\n      };\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      if (nextProps.style !== this.props.style) {\n        this.setState({\n          theme: this.createTheme(nextProps)\n        });\n      }\n    }\n  }, {\n    key: 'getAndroidConfigs',\n    value: function getAndroidConfigs(props) {\n      return props.androidConfigs || {};\n    }\n  }, {\n    key: 'getCompatConfigs',\n    value: function getCompatConfigs(props) {\n      return props.compatibilityConfigs || {}; // {toRemString:true}\n    }\n  }, {\n    key: 'getCommonConfigs',\n    value: function getCommonConfigs(props) {\n      return props.commonConfigs || {}; // {zoomFont:true}\n    }\n  }, {\n    key: 'createTheme',\n    value: function createTheme(props) {\n      return new _theme2.default(props.style);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var children = this.props.children;\n\n\n      return children;\n    }\n  }]);\n\n  return StyleProvider;\n}(_rax.Component), _class.propTypes = {\n  children: _rax.PropTypes.element.isRequired,\n  style: _rax.PropTypes.object\n}, _class.defaultProps = {\n  style: {}\n}, _class.childContextTypes = {\n  theme: _rax.PropTypes.object,\n  androidConfigs: _rax.PropTypes.object,\n  compatibilityConfigs: _rax.PropTypes.object,\n  commonConfigs: _rax.PropTypes.object\n}, _temp);\nexports.default = StyleProvider;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/ThemeProvider/style-provider.js?");

/***/ }),

/***/ "./lib/ThemeProvider/theme.js":
/*!************************************!*\
  !*** ./lib/ThemeProvider/theme.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = undefined;\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _nukeCore = __webpack_require__(/*! ../Core/index.js */ \"./lib/Core/index.js\");\n\nvar _nukeCore2 = _interopRequireDefault(_nukeCore);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n// Privates, ideally those should be symbols\nvar THEME_STYLE = 'themeStyle';\nvar THEME_STYLE_CACHE = 'themeCachedStyle';\nvar defaultTheme = void 0;\n\nfunction mergeComponentAndThemeStyles() {}\nvar resolveStyle = function resolveStyle(style, baseStyle) {\n  return resolveIncludes(style, baseStyle);\n};\n\nvar Theme = function () {\n  function Theme(themeStyle) {\n    _classCallCheck(this, Theme);\n\n    this[THEME_STYLE] = themeStyle;\n    this[THEME_STYLE].Core = Object.assign(_nukeCore2.default, this[THEME_STYLE].Core);\n\n    this[THEME_STYLE_CACHE] = {};\n  }\n\n  /**\n   * Sets the given style as a default theme style.\n   */\n\n\n  _createClass(Theme, [{\n    key: 'createComponentStyle',\n\n\n    /**\n     * Creates a component style by merging the theme style on top of the\n     * provided default component style. Any rules in the theme style will\n     * override the rules from the base component style.\n     *\n     * This method will also resolve any INCLUDE keywords in the theme or\n     * component styles before returning the final style.\n     *\n     * @param componentName fully qualified component name.\n     * @param defaultStyle - default component style that will be used as base style.\n     */\n    value: function createComponentStyle(componentName) {\n      if (this[THEME_STYLE_CACHE][componentName]) {\n        return this[THEME_STYLE_CACHE][componentName];\n      }\n\n      // const componentIncludedStyle = resolveStyle(\n      //   defaultStyle,\n      //   this[THEME_STYLE]\n      // );\n\n      return this[THEME_STYLE_CACHE][componentName];\n    }\n  }, {\n    key: 'getComponentRelavantStyle',\n    value: function getComponentRelavantStyle(componentName) {\n      // if (this[THEME_STYLE_CACHE][componentName]) {\n      //   return this[THEME_STYLE_CACHE][componentName];\n      // }\n      // let obj = {\n      //   Core: Object.assign(Core, this[THEME_STYLE]['Core'])\n      // }\n      // this[THEME_STYLE_CACHE][componentName]['Core'] =\n    }\n  }], [{\n    key: 'setDefaultThemeStyle',\n    value: function setDefaultThemeStyle(style) {\n      defaultTheme = new Theme(style);\n    }\n\n    /**\n     * Returns the default theme that will be used as fallback\n     * if the StyleProvider is not configured in the app.\n     */\n\n  }, {\n    key: 'getDefaultTheme',\n    value: function getDefaultTheme() {\n      if (!defaultTheme) {\n        defaultTheme = new Theme({ Core: _nukeCore2.default });\n      }\n\n      return defaultTheme;\n    }\n  }]);\n\n  return Theme;\n}();\n\nexports.default = Theme;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/ThemeProvider/theme.js?");

/***/ }),

/***/ "./lib/Touchable/index.js":
/*!********************************!*\
  !*** ./lib/Touchable/index.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/* @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeView = __webpack_require__(/*! ../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _ripples = __webpack_require__(/*! ./ripples.js */ \"./lib/Touchable/ripples.js\");\n\nvar _ripples2 = _interopRequireDefault(_ripples);\n\nvar _inherit = __webpack_require__(/*! ./inherit.js */ \"./lib/Touchable/inherit.js\");\n\nvar _inherit2 = _interopRequireDefault(_inherit);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isAndroid = _nukeEnv.appInfo.platform.toLowerCase() === 'android';\n\n/**\n * Touchable\n * @description  可点击容器\n */\n\nvar Touchable = function (_Component) {\n  _inherits(Touchable, _Component);\n\n  function Touchable(props, context) {\n    _classCallCheck(this, Touchable);\n\n    var _this = _possibleConstructorReturn(this, (Touchable.__proto__ || Object.getPrototypeOf(Touchable)).call(this, props));\n\n    _this.originalStyle = null;\n    _this.activeStyle = null;\n\n    _this.rippleEnabled = isAndroid && (props.rippleEnabled || context.androidConfigs && context.androidConfigs.rippleEnabled);\n\n    _this.touchStart = _this.touchStart.bind(_this);\n    _this.touchEnd = _this.touchEnd.bind(_this);\n    return _this;\n  }\n\n  _createClass(Touchable, [{\n    key: 'calculatedStyle',\n    value: function calculatedStyle(activeStyle) {\n      var obj = {};\n      for (var k in activeStyle) {\n        obj[k + ':active'] = activeStyle[k];\n      }\n      return obj;\n    }\n  }, {\n    key: 'findDom',\n    value: function findDom() {\n      if (!this.dom) {\n        this.dom = (0, _rax.findDOMNode)(this.refs.touch);\n      }\n      return this.dom;\n    }\n  }, {\n    key: 'setStyle',\n    value: function setStyle(styleData) {\n      // const elementStyle = this.findDom().style;\n      (0, _rax.setNativeProps)(this.refs.touch, {\n        style: styleData\n      });\n      // for (const styleName in styleData) {\n      //   elementStyle[styleName] = styleData[styleName];\n      // }\n    }\n  }, {\n    key: 'touchStart',\n    value: function touchStart(e) {\n      var _props = this.props,\n          activeStyle = _props.activeStyle,\n          style = _props.style,\n          onTouchStart = _props.onTouchStart;\n\n      if (!this.originalStyle) {\n        this.originalStyle = _extends({}, style);\n      }\n      if (!this.activeStyle) {\n        this.activeStyle = _extends({}, activeStyle);\n      }\n      this.setStyle(Object.assign({}, style, activeStyle));\n      onTouchStart && onTouchStart(e);\n    }\n  }, {\n    key: 'touchEnd',\n    value: function touchEnd(e) {\n      var _props2 = this.props,\n          style = _props2.style,\n          onTouchEnd = _props2.onTouchEnd;\n\n      this.setStyle(this.originalStyle || style);\n      onTouchEnd && onTouchEnd(e);\n    }\n  }, {\n    key: 'getActiveColor',\n    value: function getActiveColor(style) {\n      return style['backgroundColor:active'] || null;\n    }\n  }, {\n    key: 'calcInheritStyle',\n    value: function calcInheritStyle(customStyles) {\n      if (!customStyles) return {};\n      var insideStyle = {};\n      _inherit2.default.map(function (item) {\n        if (customStyles[item]) {\n          insideStyle[item] = customStyles[item];\n        }\n      });\n      return insideStyle;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props3 = this.props,\n          style = _props3.style,\n          rippleEnabled = _props3.rippleEnabled,\n          activeStyle = _props3.activeStyle,\n          onPress = _props3.onPress,\n          others = _objectWithoutProperties(_props3, ['style', 'rippleEnabled', 'activeStyle', 'onPress']);\n\n      var nativeProps = _extends({}, others, {\n        ref: 'touch',\n        style: Object.assign({}, style, this.calculatedStyle(activeStyle)),\n        onClick: onPress\n      });\n\n      if (_nukeEnv.isWeex) {\n        if (this.rippleEnabled) {\n          nativeProps.rippleEnabled = true;\n        }\n        return (0, _rax.createElement)(_nukeView2.default, nativeProps);\n      }\n      var activeColor = this.getActiveColor(nativeProps.style);\n\n      if (activeColor && !this.rippleEnabled) {\n        nativeProps.onTouchStart = this.touchStart;\n        nativeProps.onTouchEnd = this.touchEnd;\n      }\n      // wave happens only in clickable elements\n      if (this.rippleEnabled && onPress) {\n        var insideStyle = Object.assign({}, { flex: 1 }, this.calcInheritStyle(style));\n        if (style && style.alignItems) {\n          delete nativeProps.style.alignItems;\n        }\n        return (0, _rax.createElement)(\n          _ripples2.default,\n          _extends({}, nativeProps, { color: activeColor }),\n          (0, _rax.createElement)(\n            _nukeView2.default,\n            { style: insideStyle },\n            this.props.children\n          )\n        );\n      }\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        nativeProps,\n        this.props.children\n      );\n    }\n  }]);\n\n  return Touchable;\n}(_rax.Component);\n\nTouchable.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  compatibilityConfigs: _rax.PropTypes.any\n};\nTouchable.defaultProps = {\n  rippleEnabled: false,\n  onPress: null\n};\nTouchable.propTypes = {\n  /**\n   * 点击的回调  click callback\n   */\n  onPress: _rax.PropTypes.func,\n  /**\n   * 长按的回调  long press callback\n   */\n  onLongPress: _rax.PropTypes.func,\n  /**\n   * 样式 style\n   */\n  style: _rax.PropTypes.any,\n  /**\n   * 手指按下时样式 style when touching\n   */\n  activeStyle: _rax.PropTypes.any,\n  /**\n   * 是否开启水波纹效果 enable ripple in Android\n   */\n  rippleEnabled: _rax.PropTypes.boolean\n};\nvar styles = {\n  initial: {\n    cursor: 'pointer'\n  }\n};\n\nexports.default = Touchable;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Touchable/index.js?");

/***/ }),

/***/ "./lib/Touchable/inherit.js":
/*!**********************************!*\
  !*** ./lib/Touchable/inherit.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = ['display', 'justifyContent', 'alignItems', 'flexDirection', 'overflow', 'backgroundColor', 'visibility', 'outline', 'transition', 'zoom', 'flexWrap', 'position', 'zIndex', 'flex'\n// 'opacity'\n];\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Touchable/inherit.js?");

/***/ }),

/***/ "./lib/Touchable/ripples.js":
/*!**********************************!*\
  !*** ./lib/Touchable/ripples.js ***!
  \**********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /** @jsx createElement */\n\n\nvar rippleStyle = {\n  position: 'absolute',\n  borderRadius: '50%',\n  opacity: 0,\n  width: 35,\n  height: 35,\n  transform: 'translate(-50%, -50%)',\n  pointerEvents: 'none'\n};\n\nvar wrapStyle = {\n  position: 'relative',\n  display: 'flex',\n  flexDirection: 'column',\n  overflow: 'hidden'\n};\n\nvar Ripples = function (_PureComponent) {\n  _inherits(Ripples, _PureComponent);\n\n  function Ripples(props, context) {\n    _classCallCheck(this, Ripples);\n\n    var _this = _possibleConstructorReturn(this, (Ripples.__proto__ || Object.getPrototypeOf(Ripples)).call(this, props));\n\n    _this.handleClick = function (ev) {\n      if (ev.stopPropagation) {\n        ev.stopPropagation();\n      }\n\n      var _this$props = _this.props,\n          onClick = _this$props.onClick,\n          color = _this$props.color,\n          during = _this$props.during;\n      var pageX = ev.pageX,\n          pageY = ev.pageY,\n          _ev$currentTarget = ev.currentTarget,\n          offsetLeft = _ev$currentTarget.offsetLeft,\n          offsetTop = _ev$currentTarget.offsetTop,\n          offsetWidth = _ev$currentTarget.offsetWidth,\n          offsetHeight = _ev$currentTarget.offsetHeight;\n\n\n      var left = pageX - offsetLeft;\n      var top = pageY - offsetTop;\n\n      _this.setState({\n        rippleStyle: {\n          top: top,\n          left: left,\n          opacity: 1,\n          backgroundColor: color\n        }\n      });\n\n      setTimeout(function () {\n        var size = Math.max(offsetWidth, offsetHeight);\n\n        _this.setState({\n          rippleStyle: {\n            top: top,\n            left: left,\n            backgroundColor: color,\n            transition: 'all ' + during + 'ms',\n            transform: rippleStyle.transform + ' scale(' + size / 9 + ')',\n            opacity: 0\n          }\n        });\n      }, 50);\n\n      if (typeof onClick === 'function') {\n        onClick(ev);\n      }\n    };\n\n    _this.state = {\n      rippleStyle: {}\n    };\n    return _this;\n  }\n\n  _createClass(Ripples, [{\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          children = _props.children,\n          style = _props.style,\n          during = _props.during,\n          color = _props.color,\n          props = _objectWithoutProperties(_props, ['children', 'style', 'during', 'color']);\n\n      var state = this.state,\n          handleClick = this.handleClick;\n\n\n      var s = _extends({}, wrapStyle, style);\n\n      return (0, _rax.createElement)(\n        'div',\n        _extends({}, props, { style: s, onClick: handleClick }),\n        children,\n        (0, _rax.createElement)('s', {\n          style: _extends({}, rippleStyle, state.rippleStyle)\n        })\n      );\n    }\n  }]);\n\n  return Ripples;\n}(_rax.PureComponent);\n\nRipples.propTypes = {\n  during: _rax.PropTypes.number,\n  color: _rax.PropTypes.string\n};\n\nRipples.defaultProps = {\n  during: 600,\n  color: 'rgba(0, 0, 0, .3)'\n};\nexports.default = Ripples;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Touchable/ripples.js?");

/***/ }),

/***/ "./lib/Transition/index.js":
/*!*********************************!*\
  !*** ./lib/Transition/index.js ***!
  \*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n * usage:\n * Transition(box, {translate(150,150)}, {\n *          timingFunction: 'linear',\n *          delay: 0,\n *          duration: 500\n *       }, function() {\n *           cb && cb.call(this);\n *       });\n */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _transition = __webpack_require__(/*! ./transition.js */ \"./lib/Transition/transition.js\");\n\nvar _transition2 = _interopRequireDefault(_transition);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getDefaultRem() {\n  return document.documentElement.clientWidth / 750;\n}\nfunction parseRem(val) {\n  var regArr = {\n    translateX: 'translateX\\\\(([-+]?\\\\w+)\\\\)',\n    translateY: 'translateY\\\\(([-+]?\\\\w+)\\\\)',\n    translate: 'translate\\\\(([-+]?\\\\w+)\\\\,\\\\s?([-+]?\\\\w+)\\\\)'\n  };\n\n  for (var p in regArr) {\n    var reg = new RegExp(regArr[p]);\n    if (val.match(reg)) {\n      if (p === 'translateX' || p === 'translateY') {\n        var matchArr = val.match(reg);\n        var num = parseInt(matchArr[1], 10);\n        val = val.replace(matchArr[1], getPx(matchArr[1]));\n      } else if (p === 'translate') {\n        var matchArr = val.match(reg);\n        var x = matchArr[1];\n        var y = matchArr[2];\n        val = 'translate(' + getPx(x) + ',' + getPx(y) + ')';\n      }\n    }\n  }\n\n  return val;\n}\nfunction getPx(str) {\n  if (_nukeEnv.isWeex) {\n    return parseInt(str, 10);\n  }\n  return parseInt(str, 10) * getDefaultRem().toString() + 'px';\n}\nfunction Trans(node, styles, options, callback) {\n  // rem to px\n  for (var key in styles) {\n    // compat with ios 8\n    if (key === 'transform' || key == 'webkitTransform') {\n      styles[key] = parseRem(styles[key]);\n    } else if (arrayContains(key, ['top', 'left', 'height', 'bottom', 'right', 'width'])) {\n      var matchArr = styles[key].match(/(\\d+)(rem){0,1}/);\n      styles[key] = styles[key].replace(matchArr[0], getPx(matchArr[1]));\n    }\n  }\n\n  (0, _transition2.default)(node, styles, options, callback);\n}\n\nfunction arrayContains(value, arr) {\n  for (var i = 0; i < arr.length; i++) {\n    if (value === arr[i]) {\n      return true;\n    }\n  }\n  return false;\n}\nexports.default = Trans;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Transition/index.js?");

/***/ }),

/***/ "./lib/Transition/transition.js":
/*!**************************************!*\
  !*** ./lib/Transition/transition.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = transition;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar defaultOptions = {\n  timingFunction: 'ease-in-out',\n  duration: 500,\n  needLayout: false,\n  delay: 0\n};\nfunction transition(node, styles, options, callback) {\n  if (typeof options == 'function' || options == null) {\n    callback = options;\n  }\n  if (!node) return;\n  // 健壮性提升\n  options = Object.assign({}, defaultOptions, options);\n\n  if (_nukeEnv.isWeex) {\n    if (!node.ref) return;\n    var animation = __webpack_require__(/*! @weex-module/animation */ \"@weex-module/animation\");\n    animation.transition(node.ref, {\n      styles: styles,\n      timingFunction: options.timingFunction,\n      delay: options.delay,\n      duration: options.duration,\n      needLayout: options.needLayout // 新增此 api\n    }, callback || function () {});\n  } else if (_nukeEnv.isWeb && node) {\n    var duration = options.duration; // ms\n    var timingFunction = options.timingFunction;\n    var delay = options.delay; // ms\n    var transitionValue = 'all ' + duration + 'ms ' + timingFunction + ' ' + delay + 'ms';\n\n    node.style.transition = transitionValue;\n    node.style.webkitTransition = transitionValue;\n\n    if (callback) {\n      var transitionEndHandler = function transitionEndHandler(e) {\n        e.stopPropagation();\n        node.removeEventListener('webkitTransitionEnd', transitionEndHandler);\n        node.removeEventListener('transitionend', transitionEndHandler);\n        node.style.transition = '';\n        node.style.webkitTransition = '';\n        callback();\n      };\n      node.addEventListener('webkitTransitionEnd', transitionEndHandler);\n      node.addEventListener('transitionend', transitionEndHandler);\n    }\n\n    for (var key in styles) {\n      // TODO add vendor prefix\n      var value = styles[key];\n      node.style[key] = value;\n    }\n  }\n}\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Transition/transition.js?");

/***/ }),

/***/ "./lib/Util/index.js":
/*!***************************!*\
  !*** ./lib/Util/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _is = __webpack_require__(/*! ./is.js */ \"./lib/Util/is.js\");\n\nvar is = _interopRequireWildcard(_is);\n\nvar _urlhelper = __webpack_require__(/*! ./urlhelper.js */ \"./lib/Util/urlhelper.js\");\n\nvar _urlhelper2 = _interopRequireDefault(_urlhelper);\n\nvar _url = __webpack_require__(/*! ./url.js */ \"./lib/Util/url.js\");\n\nvar _urlhandler = __webpack_require__(/*! ./urlhandler.js */ \"./lib/Util/urlhandler.js\");\n\nvar _urlhandler2 = _interopRequireDefault(_urlhandler);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nexports.default = { is: is, Location: window.location, urlHelper: _urlhelper2.default, url: _url.HttpUrl, urlHandler: _urlhandler2.default };\n// import * as urlHandler from './urlhandler';\n\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Util/index.js?");

/***/ }),

/***/ "./lib/Util/is.js":
/*!************************!*\
  !*** ./lib/Util/is.js ***!
  \************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.url = url;\nexports.alphaNumeric = alphaNumeric;\nexports.decimal = decimal;\nexports.existy = existy;\nexports.func = func;\nexports.emptyObj = emptyObj;\nfunction url(value) {\n  var pattern = /^(?:(?:https?|ftp):\\/\\/)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:\\/\\S*)?$/i;\n  return pattern.test(value);\n}\n// basic charactor\nfunction alphaNumeric(value) {\n  var pattern = /^[A-Za-z0-9]+$/;\n  return pattern.test(value);\n}\n// legal deciaml\nfunction decimal(value) {\n  var pattern = /^[-+]?[0-9]\\d*(\\.\\d+)?$/;\n  return pattern(value);\n}\n// exist or not\nfunction existy(value) {\n  return value !== null && value !== undefined;\n}\n\nfunction func(value) {\n  return Object.prototype.toString.call(value) === '[object Function]';\n}\n\nfunction emptyObj(value) {\n  return Object.keys(value).length === 0 && value.constructor === Object;\n}\n\n//# sourceURL=webpack:///./lib/Util/is.js?");

/***/ }),

/***/ "./lib/Util/realpath.js":
/*!******************************!*\
  !*** ./lib/Util/realpath.js ***!
  \******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar DIRNAME_RE = /[^?#]*\\//;\n\nvar DOT_RE = /\\/\\.\\//g;\nvar DOUBLE_DOT_RE = /\\/[^/]+\\/\\.\\.\\//;\nvar MULTI_SLASH_RE = /([^:/])\\/+\\//g;\n\n// Extract the directory portion of a path\n// dirname(\"a/b/c.js?t=123#xx/zz\") ==> \"a/b/\"\n// ref: http://jsperf.com/regex-vs-split/2\nfunction dirname(path) {\n  return path.match(DIRNAME_RE)[0];\n}\n\n// Canonicalize a path\n// realpath(\"http://test.com/a//./b/../c\") ==> \"http://test.com/a/c\"\nfunction realpath(path) {\n  // /a/b/./c/./d ==> /a/b/c/d\n  path = path.replace(DOT_RE, '/');\n\n  /*\n    @author wh1100717\n    a//b/c ==> a/b/c\n    a///b/////c ==> a/b/c\n    DOUBLE_DOT_RE matches a/b/c//../d path correctly only if replace // with / first\n  */\n  path = path.replace(MULTI_SLASH_RE, '$1/');\n\n  // a/b/c/../../d  ==>  a/b/../d  ==>  a/d\n  while (path.match(DOUBLE_DOT_RE)) {\n    path = path.replace(DOUBLE_DOT_RE, '/');\n  }\n\n  return path;\n}\nmodule.exports = realpath;\n\n//# sourceURL=webpack:///./lib/Util/realpath.js?");

/***/ }),

/***/ "./lib/Util/uri.js":
/*!*************************!*\
  !*** ./lib/Util/uri.js ***!
  \*************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("var __WEBPACK_AMD_DEFINE_RESULT__;\n\n/*!\n * jsUri\n * https://github.com/derek-watson/jsUri\n *\n * Copyright 2013, Derek Watson\n * Released under the MIT license.\n *\n * Includes parseUri regular expressions\n * http://blog.stevenlevithan.com/archives/parseuri\n * Copyright 2007, Steven Levithan\n * Released under the MIT license.\n */\n\n/*globals define, module */\n\n(function (global) {\n\n  var re = {\n    starts_with_slashes: /^\\/+/,\n    ends_with_slashes: /\\/+$/,\n    pluses: /\\+/g,\n    query_separator: /[&;]/,\n    uri_parser: /^(?:(?![^:@]+:[^:@\\/]*@)([^:\\/?#.]+):)?(?:\\/\\/)?((?:(([^:@\\/]*)(?::([^:@]*))?)?@)?(\\[[0-9a-fA-F:.]+\\]|[^:\\/?#]*)(?::(\\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\\/]*\\.[^?#\\/.]+(?:[?#]|$)))*\\/?)?([^?#\\/]*))(?:\\?([^#]*))?(?:#(.*))?)/\n  };\n\n  /**\n   * Define forEach for older js environments\n   * @see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/forEach#Compatibility\n   */\n  if (!Array.prototype.forEach) {\n    Array.prototype.forEach = function (callback, thisArg) {\n      var T, k;\n\n      if (this == null) {\n        throw new TypeError(' this is null or not defined');\n      }\n\n      var O = Object(this);\n      var len = O.length >>> 0;\n\n      if (typeof callback !== \"function\") {\n        throw new TypeError(callback + ' is not a function');\n      }\n\n      if (arguments.length > 1) {\n        T = thisArg;\n      }\n\n      k = 0;\n\n      while (k < len) {\n        var kValue;\n        if (k in O) {\n          kValue = O[k];\n          callback.call(T, kValue, k, O);\n        }\n        k++;\n      }\n    };\n  }\n\n  /**\n   * unescape a query param value\n   * @param  {string} s encoded value\n   * @return {string}   decoded value\n   */\n  function decode(s) {\n    if (s) {\n      s = s.toString().replace(re.pluses, '%20');\n      s = decodeURIComponent(s);\n    }\n    return s;\n  }\n\n  /**\n   * Breaks a uri string down into its individual parts\n   * @param  {string} str uri\n   * @return {object}     parts\n   */\n  function parseUri(str) {\n    var parser = re.uri_parser;\n    var parserKeys = [\"source\", \"protocol\", \"authority\", \"userInfo\", \"user\", \"password\", \"host\", \"port\", \"isColonUri\", \"relative\", \"path\", \"directory\", \"file\", \"query\", \"anchor\"];\n    var m = parser.exec(str || '');\n    var parts = {};\n\n    parserKeys.forEach(function (key, i) {\n      parts[key] = m[i] || '';\n    });\n\n    return parts;\n  }\n\n  /**\n   * Breaks a query string down into an array of key/value pairs\n   * @param  {string} str query\n   * @return {array}      array of arrays (key/value pairs)\n   */\n  function parseQuery(str) {\n    var i, ps, p, n, k, v, l;\n    var pairs = [];\n\n    if (typeof str === 'undefined' || str === null || str === '') {\n      return pairs;\n    }\n\n    if (str.indexOf('?') === 0) {\n      str = str.substring(1);\n    }\n\n    ps = str.toString().split(re.query_separator);\n\n    for (i = 0, l = ps.length; i < l; i++) {\n      p = ps[i];\n      n = p.indexOf('=');\n\n      if (n !== 0) {\n        k = decode(p.substring(0, n));\n        v = decode(p.substring(n + 1));\n        pairs.push(n === -1 ? [p, null] : [k, v]);\n      }\n    }\n    return pairs;\n  }\n\n  /**\n   * Creates a new Uri object\n   * @constructor\n   * @param {string} str\n   */\n  function Uri(str) {\n    this.uriParts = parseUri(str);\n    this.queryPairs = parseQuery(this.uriParts.query);\n    this.hasAuthorityPrefixUserPref = null;\n  }\n\n  /**\n   * Define getter/setter methods\n   */\n  ['protocol', 'userInfo', 'host', 'port', 'path', 'anchor'].forEach(function (key) {\n    Uri.prototype[key] = function (val) {\n      if (typeof val !== 'undefined') {\n        this.uriParts[key] = val;\n      }\n      return this.uriParts[key];\n    };\n  });\n\n  /**\n   * if there is no protocol, the leading // can be enabled or disabled\n   * @param  {Boolean}  val\n   * @return {Boolean}\n   */\n  Uri.prototype.hasAuthorityPrefix = function (val) {\n    if (typeof val !== 'undefined') {\n      this.hasAuthorityPrefixUserPref = val;\n    }\n\n    if (this.hasAuthorityPrefixUserPref === null) {\n      return this.uriParts.source.indexOf('//') !== -1;\n    } else {\n      return this.hasAuthorityPrefixUserPref;\n    }\n  };\n\n  Uri.prototype.isColonUri = function (val) {\n    if (typeof val !== 'undefined') {\n      this.uriParts.isColonUri = !!val;\n    } else {\n      return !!this.uriParts.isColonUri;\n    }\n  };\n\n  /**\n   * Serializes the internal state of the query pairs\n   * @param  {string} [val]   set a new query string\n   * @return {string}         query string\n   */\n  Uri.prototype.query = function (val) {\n    var s = '',\n        i,\n        param,\n        l;\n\n    if (typeof val !== 'undefined') {\n      this.queryPairs = parseQuery(val);\n    }\n\n    for (i = 0, l = this.queryPairs.length; i < l; i++) {\n      param = this.queryPairs[i];\n      if (s.length > 0) {\n        s += '&';\n      }\n      if (param[1] === null) {\n        s += param[0];\n      } else {\n        s += param[0];\n        s += '=';\n        if (typeof param[1] !== 'undefined') {\n          s += encodeURIComponent(param[1]);\n        }\n      }\n    }\n    return s.length > 0 ? '?' + s : s;\n  };\n\n  /**\n   * returns the first query param value found for the key\n   * @param  {string} key query key\n   * @return {string}     first value found for key\n   */\n  Uri.prototype.getQueryParamValue = function (key) {\n    var param, i, l;\n    for (i = 0, l = this.queryPairs.length; i < l; i++) {\n      param = this.queryPairs[i];\n      if (key === param[0]) {\n        return param[1];\n      }\n    }\n  };\n\n  /**\n   * returns an array of query param values for the key\n   * @param  {string} key query key\n   * @return {array}      array of values\n   */\n  Uri.prototype.getQueryParamValues = function (key) {\n    var arr = [],\n        i,\n        param,\n        l;\n    for (i = 0, l = this.queryPairs.length; i < l; i++) {\n      param = this.queryPairs[i];\n      if (key === param[0]) {\n        arr.push(param[1]);\n      }\n    }\n    return arr;\n  };\n\n  /**\n   * removes query parameters\n   * @param  {string} key     remove values for key\n   * @param  {val}    [val]   remove a specific value, otherwise removes all\n   * @return {Uri}            returns self for fluent chaining\n   */\n  Uri.prototype.deleteQueryParam = function (key, val) {\n    var arr = [],\n        i,\n        param,\n        keyMatchesFilter,\n        valMatchesFilter,\n        l;\n\n    for (i = 0, l = this.queryPairs.length; i < l; i++) {\n\n      param = this.queryPairs[i];\n      keyMatchesFilter = decode(param[0]) === decode(key);\n      valMatchesFilter = param[1] === val;\n\n      if (arguments.length === 1 && !keyMatchesFilter || arguments.length === 2 && (!keyMatchesFilter || !valMatchesFilter)) {\n        arr.push(param);\n      }\n    }\n\n    this.queryPairs = arr;\n\n    return this;\n  };\n\n  /**\n   * adds a query parameter\n   * @param  {string}  key        add values for key\n   * @param  {string}  val        value to add\n   * @param  {integer} [index]    specific index to add the value at\n   * @return {Uri}                returns self for fluent chaining\n   */\n  Uri.prototype.addQueryParam = function (key, val, index) {\n    if (arguments.length === 3 && index !== -1) {\n      index = Math.min(index, this.queryPairs.length);\n      this.queryPairs.splice(index, 0, [key, val]);\n    } else if (arguments.length > 0) {\n      this.queryPairs.push([key, val]);\n    }\n    return this;\n  };\n\n  /**\n   * test for the existence of a query parameter\n   * @param  {string}  key        add values for key\n   * @param  {string}  val        value to add\n   * @param  {integer} [index]    specific index to add the value at\n   * @return {Uri}                returns self for fluent chaining\n   */\n  Uri.prototype.hasQueryParam = function (key) {\n    var i,\n        len = this.queryPairs.length;\n    for (i = 0; i < len; i++) {\n      if (this.queryPairs[i][0] == key) return true;\n    }\n    return false;\n  };\n\n  /**\n   * replaces query param values\n   * @param  {string} key         key to replace value for\n   * @param  {string} newVal      new value\n   * @param  {string} [oldVal]    replace only one specific value (otherwise replaces all)\n   * @return {Uri}                returns self for fluent chaining\n   */\n  Uri.prototype.replaceQueryParam = function (key, newVal, oldVal) {\n    var index = -1,\n        len = this.queryPairs.length,\n        i,\n        param;\n\n    if (arguments.length === 3) {\n      for (i = 0; i < len; i++) {\n        param = this.queryPairs[i];\n        if (decode(param[0]) === decode(key) && decodeURIComponent(param[1]) === decode(oldVal)) {\n          index = i;\n          break;\n        }\n      }\n      if (index >= 0) {\n        this.deleteQueryParam(key, decode(oldVal)).addQueryParam(key, newVal, index);\n      }\n    } else {\n      for (i = 0; i < len; i++) {\n        param = this.queryPairs[i];\n        if (decode(param[0]) === decode(key)) {\n          index = i;\n          break;\n        }\n      }\n      this.deleteQueryParam(key);\n      this.addQueryParam(key, newVal, index);\n    }\n    return this;\n  };\n\n  /**\n   * Define fluent setter methods (setProtocol, setHasAuthorityPrefix, etc)\n   */\n  ['protocol', 'hasAuthorityPrefix', 'isColonUri', 'userInfo', 'host', 'port', 'path', 'query', 'anchor'].forEach(function (key) {\n    var method = 'set' + key.charAt(0).toUpperCase() + key.slice(1);\n    Uri.prototype[method] = function (val) {\n      this[key](val);\n      return this;\n    };\n  });\n\n  /**\n   * Scheme name, colon and doubleslash, as required\n   * @return {string} http:// or possibly just //\n   */\n  Uri.prototype.scheme = function () {\n    var s = '';\n\n    if (this.protocol()) {\n      s += this.protocol();\n      if (this.protocol().indexOf(':') !== this.protocol().length - 1) {\n        s += ':';\n      }\n      s += '//';\n    } else {\n      if (this.hasAuthorityPrefix() && this.host()) {\n        s += '//';\n      }\n    }\n\n    return s;\n  };\n\n  /**\n   * Same as Mozilla nsIURI.prePath\n   * @return {string} scheme://user:password@host:port\n   * @see  https://developer.mozilla.org/en/nsIURI\n   */\n  Uri.prototype.origin = function () {\n    var s = this.scheme();\n\n    if (this.userInfo() && this.host()) {\n      s += this.userInfo();\n      if (this.userInfo().indexOf('@') !== this.userInfo().length - 1) {\n        s += '@';\n      }\n    }\n\n    if (this.host()) {\n      s += this.host();\n      if (this.port() || this.path() && this.path().substr(0, 1).match(/[0-9]/)) {\n        s += ':' + this.port();\n      }\n    }\n\n    return s;\n  };\n\n  /**\n   * Adds a trailing slash to the path\n   */\n  Uri.prototype.addTrailingSlash = function () {\n    var path = this.path() || '';\n\n    if (path.substr(-1) !== '/') {\n      this.path(path + '/');\n    }\n\n    return this;\n  };\n\n  /**\n   * Serializes the internal state of the Uri object\n   * @return {string}\n   */\n  Uri.prototype.toCustomString = function () {\n    var path,\n        s = this.origin();\n\n    if (this.isColonUri()) {\n      if (this.path()) {\n        s += ':' + this.path();\n      }\n    } else if (this.path()) {\n      path = this.path();\n      if (!(re.ends_with_slashes.test(s) || re.starts_with_slashes.test(path))) {\n        s += '/';\n      } else {\n        if (s) {\n          s.replace(re.ends_with_slashes, '/');\n        }\n        path = path.replace(re.starts_with_slashes, '/');\n      }\n      s += path;\n    } else {\n      if (this.host() && (this.query().toString() || this.anchor())) {\n        s += '/';\n      }\n    }\n    if (this.query().toString()) {\n      s += this.query().toString();\n    }\n\n    if (this.anchor()) {\n      if (this.anchor().indexOf('#') !== 0) {\n        s += '#';\n      }\n      s += this.anchor();\n    }\n\n    return s;\n  };\n\n  /**\n   * Clone a Uri object\n   * @return {Uri} duplicate copy of the Uri\n   */\n  Uri.prototype.clone = function () {\n    return new Uri(this.toCustomString());\n  };\n\n  /**\n   * export via AMD or CommonJS, otherwise leak a global\n   */\n  if (true) {\n    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n      return Uri;\n    }).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n  } else {}\n})(undefined);\n\n//# sourceURL=webpack:///./lib/Util/uri.js?");

/***/ }),

/***/ "./lib/Util/url.js":
/*!*************************!*\
  !*** ./lib/Util/url.js ***!
  \*************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.HttpUrl = HttpUrl;\nvar URL_REG = new RegExp('^([a-z0-9-]+:)?' + //protocol\n'[/]{2}' + //slash x 2\n'(?:([^@/:?]+)(?::([^@/:]+))?@)?' + //username:password@\n'([^:/?#]+)' + //hostname\n'(?:[:]([0-9]+))?' + //port\n'([/][^?#;]*)?' + //pathname\n'(?:[?]([^#]*))?' + //search\n'([#][^?]*)?$', //hash\n'i');\n\nfunction HttpUrl(url) {\n  return this instanceof HttpUrl ? this.init.call(this, url) : new HttpUrl(url);\n}\n\nHttpUrl.prototype = {\n  constructor: HttpUrl,\n\n  init: function init() {\n    var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\n    var matches = url.match(URL_REG);\n    if (matches) {\n      this.isAvailable = true;\n      this.params = {};\n      this.protocol = matches[1] || '';\n      this.username = matches[2] || '';\n      this.password = matches[3] || '';\n      this.hostname = matches[4];\n      this.port = matches[5] || '';\n      this.pathname = matches[6] || '/';\n      this.search = matches[7] || '';\n      this.hash = matches[8] || '';\n      this.host = this.hostname + (this.port ? ':' + this.port : '');\n      this.origin = this.protocol + '//' + this.host;\n      this.setSearch(this.search);\n    } else {\n      this.isAvailable = false;\n    }\n  },\n  setParams: function setParams(v) {\n    if (v && (typeof v === 'undefined' ? 'undefined' : _typeof(v)) === 'object' && !(v instanceof Date) && !(v instanceof RegExp) && !(v instanceof Array) && !(v instanceof String) && !(v instanceof Number) && !(v instanceof Boolean)) {\n      this.params = {};\n      for (var p in v) {\n        this.params[p] = v[p];\n      }\n    }\n  },\n  getParams: function getParams() {\n    return this.params;\n  },\n  setSearch: function setSearch(v) {\n    if (typeof v === 'string' || v instanceof String) {\n      v = v.toString();\n      this.search = v;\n      if (v.indexOf('?') === 0) {\n        v.substr(1);\n      }\n      v = v.split('&');\n      for (var i = 0, l = v.length; i < l; i++) {\n        var _v$i$split = v[i].split('='),\n            _v$i$split2 = _slicedToArray(_v$i$split, 2),\n            key = _v$i$split2[0],\n            val = _v$i$split2[1];\n\n        if (val !== undefined) {\n          val = val.toString();\n        }\n        if (key) {\n          try {\n            this.params[decodeURIComponent(key)] = decodeURIComponent(val);\n          } catch (e) {\n            this.params[key] = val;\n          }\n        }\n      }\n    }\n  },\n  getSearch: function getSearch() {\n    var s = [];\n    for (var p in this.params) {\n      if (this.params[p] === undefined) {\n        continue;\n      }\n      if (this.params[p] !== '') {\n        try {\n          s.push(encodeURIComponent(p) + '=' + encodeURIComponent(this.params[p]));\n        } catch (e) {\n          s.push(p + '=' + this.params[p]);\n        }\n      } else {\n        try {\n          s.push(encodeURIComponent(p));\n        } catch (e) {\n          s.push(p);\n        }\n      }\n    }\n    if (s.length) {\n      return '?' + s.join('&');\n    } else {\n      return '';\n    }\n  },\n  setHash: function setHash(v) {\n    if (typeof v === 'string' || v instanceof String) {\n      v = v.toString();\n      if (v && v.indexOf('#') < 0) {\n        v = '#' + v;\n      }\n      this.hash = v || '';\n    }\n  },\n  getHash: function getHash() {\n    return this.hash;\n  },\n  setHost: function setHost(v) {\n    if (typeof v === 'string' || v instanceof String) {\n      v = v.toString();\n      var matches = v.match(/([^:/?#]+)(?:[:]([0-9]+))?/);\n      if (matches) {\n        this.hostname = matches[1];\n        this.port = matches[2] || '';\n      }\n    }\n  },\n  getHost: function getHost() {\n    return this.hostname + (this.port ? ':' + this.port : '');\n  },\n  getProtocol: function getProtocol() {\n    return this.protocol;\n  },\n  toString: function toString() {\n    var str = this.protocol + '//';\n    if (this.username) {\n      str += this.username;\n      if (this.password) {\n        str += ':' + this.password;\n      }\n      str += '@';\n    }\n    str += this.hostname;\n    if (this.port && this.port !== '80') {\n      str += ':' + this.port;\n    }\n    if (this.pathname) {\n      str += this.pathname;\n    }\n    str += this.getSearch();\n    if (this.hash) {\n      str += this.hash;\n    }\n    return str;\n  }\n};\n\n//# sourceURL=webpack:///./lib/Util/url.js?");

/***/ }),

/***/ "./lib/Util/urlhandler.js":
/*!********************************!*\
  !*** ./lib/Util/urlhandler.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _realpath = __webpack_require__(/*! ./realpath.js */ \"./lib/Util/realpath.js\");\n\nvar _realpath2 = _interopRequireDefault(_realpath);\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _urlhelper = __webpack_require__(/*! ./urlhelper.js */ \"./lib/Util/urlhelper.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * WxParam 是指 native 模板拦截规则的key,在这些规则下,对参数需要做相应处理。\n *\n * _wx_tpl 默认规则,\n * _h5_tpl nuke 文档专用,离开文档本身没什么价值\n * dd_wx_tpl 钉钉扫码规则\n *\n * 读取优先级依次降低\n */\n\nvar WxParam = ['_wx_tpl', '_h5_tpl', 'dd_wx_tpl'];\n\n/**\n * url\n * @param  {[type]} url qap://xxx.js 放弃相对路径支持\n * @param  {object} options\n * @param  {object} options.refer  来源页面\n * @param  {object} options.webRootPath  计算基准路径\n * @param  {object} options.contextQuery  需要持续传递的参数\n * @return {[type]} url    [description]\n */\n/**\n * polyfill for qn tabbar\n */\n// RegExp author cite: http://stackoverflow.com/a/11976301\nfunction convert(url) {\n  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n  // add qap:// & qap:/// support\n  if (typeof url !== 'string') return;\n  var reg = /(qap:\\/{2,3})/g;\n  url = url.replace(reg, 'qap:///');\n  var realurl = void 0;\n  if (_nukeEnv.isWeex) {\n    realurl = (0, _realpath2.default)(url);\n    return realurl;\n  }\n  var targetObj = getTarget(url);\n  // 目标地址是 qap: 协议\n  if (targetObj.protocol === 'qap:') {\n    var referObj = window.location;\n\n    // console.log('targetBundleName',targetBundleName);\n    if (options.refer) {\n      referObj = (0, _urlhelper.urlParse)(options.refer);\n    }\n    if (referObj.search && (referObj.search.indexOf('_wx_tpl') > -1 || referObj.search.indexOf('_h5_tpl') > -1)) {\n      /**\n       * 这种情况是为 _wx_tpl 扫码规则跳转做的兼容\n       * refer 来源是 https://www.taobao.com?_wx_tpl=https://g.alicdn.com/nuke/tabbar/0.3.4/basic.js?id=76843\n       * 链接写的是 qap://aaa.js?bb=c\n       * 则拼接成 https://www.taobao.com?_wx_tpl=https://g.alicdn.com/nuke/tabbar/0.3.4/aaa.js?bb=c\n       */\n      var wxParamObj = getSearchParameterAndKey(referObj.search, WxParam);\n      var wxParamKey = wxParamObj.key;\n      var wxTplUrl = decodeURIComponent(wxParamObj.val);\n      var _targetBundleName = targetObj.pathname.substring(1);\n\n      var wxTplObj = (0, _urlhelper.urlParse)(wxTplUrl);\n      var _pathNameArr = wxTplObj.pathname.substring(1).split('/');\n\n      var _path = wxTplObj.pathname.replace(_pathNameArr[_pathNameArr.length - 1], _targetBundleName);\n      var targetTpl = wxTplObj.protocol + '//' + wxTplObj.host + _path + targetObj.search;\n      var _targetUrl = referObj.protocol + '//' + referObj.host + referObj.pathname + replaceSearchParameter(referObj.search, wxParamKey, targetTpl);\n      return _targetUrl;\n    }\n    /**\n     * refer 来源是 https://g.alicdn.com/nuke/tabbar/0.3.4/basic.html?id=76843\n     * 链接写的是 qap://aaa.js?bb=c\n     * 则拼接成 https://g.alicdn.com/nuke/tabbar/0.3.4/aaa.html?bb=c\n     */\n    var targetBundleName = targetObj.pathname.substring(1).replace('.js', '.html');\n    var pathNameArr = referObj.pathname.substring(1).split('/');\n    var path = referObj.pathname.replace(pathNameArr[pathNameArr.length - 1], targetBundleName);\n\n    var targetUrl = void 0;\n    if (options.webRootPath) {\n      targetUrl = options.webRootPath + targetBundleName + targetObj.search;\n      if (options.contextQuery) {\n        if (targetUrl.indexOf('?') > 0) {\n          targetUrl = targetUrl + '&' + options.contextQuery;\n        } else {\n          targetUrl = targetUrl + '?' + options.contextQuery;\n        }\n      }\n    } else {\n      targetUrl = referObj.protocol + '//' + referObj.host + path + targetObj.search;\n    }\n\n    return targetUrl;\n  }\n  return url;\n  // realurl = realpath(url);\n  // console.log(realurl);\n  // throw new Error('parse Target url error');\n}\nfunction getTarget(url) {\n  return (0, _urlhelper.urlParse)(url);\n}\nfunction getSearchParameterAndKey(search, paramObj) {\n  var searchString = search.substring(1);\n\n  var i = void 0;\n\n  var val = void 0;\n\n  var params = searchString.split('&');\n  var obj = {};\n  paramObj.forEach(function (item) {\n    if (searchString.indexOf(item) > -1) {\n      for (i = 0; i < params.length; i++) {\n        val = params[i].split('=');\n        if (val[0] === item) {\n          obj = {\n            key: item,\n            val: val[1]\n          };\n          break;\n        }\n      }\n    }\n  });\n\n  return obj;\n}\nfunction replaceSearchParameter(search, paramName, paramValue) {\n  var newSearch = '';\n  var searchString = search.substring(1);\n\n  var i = void 0;\n\n  var val = void 0;\n\n  var params = searchString.split('&');\n\n  for (i = 0; i < params.length; i++) {\n    val = params[i].split('=');\n    if (val[0] === paramName) {\n      newSearch = newSearch + '&' + val[0] + '=' + paramValue;\n    } else {\n      newSearch = newSearch + '&' + val[0] + '=' + val[1];\n    }\n  }\n  newSearch = '?' + newSearch.substring(1);\n  return newSearch;\n}\nmodule.exports = convert;\n\n//# sourceURL=webpack:///./lib/Util/urlhandler.js?");

/***/ }),

/***/ "./lib/Util/urlhelper.js":
/*!*******************************!*\
  !*** ./lib/Util/urlhelper.js ***!
  \*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _qs = __webpack_require__(/*! qs */ \"./src/node_modules/qs/lib/index.js\");\n\nvar _qs2 = _interopRequireDefault(_qs);\n\nvar _uri = __webpack_require__(/*! ./uri.js */ \"./lib/Util/uri.js\");\n\nvar _uri2 = _interopRequireDefault(_uri);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n  urlParse: function urlParse(url) {\n    if (typeof url !== 'string') return;\n    // add qap:// & qap:/// support\n    var reg = /(qap:\\/{2,3})/g;\n    url = url.replace(reg, 'qap:///');\n\n    var obj = {};\n    var uri = new _uri2.default(url);\n\n    obj.protocol = uri.protocol() + ':';\n    obj.hostname = uri.host();\n    obj.port = uri.port();\n    obj.host = obj.hostname + (obj.port ? ':' + obj.port : '');\n    obj.origin = obj.protocol + '//' + obj.host;\n    obj.pathname = uri.path();\n    obj.search = uri.query();\n    obj.hash = uri.anchor() ? '#' + uri.anchor() : '';\n    return obj;\n  },\n  getSearchParameter: function getSearchParameter(search, paramName) {\n    var res = _qs2.default.parse(search, {\n      ignoreQueryPrefix: true,\n      plainObjects: true\n    });\n    return res[paramName];\n  },\n  setSearchParameter: function setSearchParameter(search, params) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    var defaultOptions = _extends({ addQueryPrefix: true }, options);\n    var origin = options.keepOrigin ? _qs2.default.parse(search, { ignoreQueryPrefix: true, plainObjects: true }) : {};\n    return _qs2.default.stringify(_extends({}, origin, params), defaultOptions);\n  }\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Util/urlhelper.js?");

/***/ }),

/***/ "./lib/Video/index.js":
/*!****************************!*\
  !*** ./lib/Video/index.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _raxVideo = __webpack_require__(/*! rax-video */ \"./src/node_modules/rax-video/lib/index.js\");\n\nvar _raxVideo2 = _interopRequireDefault(_raxVideo);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _raxVideo2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Video/index.js?");

/***/ }),

/***/ "./lib/View/index.js":
/*!***************************!*\
  !*** ./lib/View/index.js ***!
  \***************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeHelper = __webpack_require__(/*! ../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _styles = __webpack_require__(/*! ./styles.js */ \"./lib/View/styles.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar isWeex = typeof callNative === 'function';\n\nvar View = function (_Component) {\n  _inherits(View, _Component);\n\n  function View() {\n    _classCallCheck(this, View);\n\n    return _possibleConstructorReturn(this, (View.__proto__ || Object.getPrototypeOf(View)).apply(this, arguments));\n  }\n\n  _createClass(View, [{\n    key: 'styleFix',\n    value: function styleFix(style) {\n      var result = {};\n      if (style) {\n        result = (0, _nukeHelper.borderSeperate)(style);\n        result = _nukeHelper.hairLine.fixBorder(result);\n      }\n\n      return result;\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          style = _props.style,\n          others = _objectWithoutProperties(_props, ['style']);\n\n      var fixedStyle = this.styleFix(style);\n\n      var nativeProps = _extends({}, others, {\n        style: fixedStyle\n      });\n      if (isWeex) {\n        return (0, _rax.createElement)('div', nativeProps);\n      }\n      return (0, _rax.createElement)('div', _extends({}, this.props, { style: [_styles2.default.initial, fixedStyle] }));\n    }\n  }]);\n\n  return View;\n}(_rax.Component);\n\nView.propTypes = {\n  style: _rax.PropTypes.any\n};\nView.defaultProps = {\n  style: null\n};\nView.contextTypes = {\n  androidConfigs: _rax.PropTypes.any,\n  compatibilityConfigs: _rax.PropTypes.any\n};\n\nexports.default = View;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/View/index.js?");

/***/ }),

/***/ "./lib/View/styles.js":
/*!****************************!*\
  !*** ./lib/View/styles.js ***!
  \****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = {\n  initial: {\n    border: '0 solid black',\n    position: 'relative',\n    boxSizing: 'border-box',\n    display: 'flex',\n    flexDirection: 'column',\n    alignContent: 'flex-start',\n    flexShrink: 0\n  }\n};\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/View/styles.js?");

/***/ }),

/***/ "./lib/Web/index.js":
/*!**************************!*\
  !*** ./lib/Web/index.js ***!
  \**************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Web = function (_Component) {\n  _inherits(Web, _Component);\n\n  function Web(props) {\n    _classCallCheck(this, Web);\n\n    return _possibleConstructorReturn(this, (Web.__proto__ || Object.getPrototypeOf(Web)).call(this, props));\n  }\n\n  _createClass(Web, [{\n    key: 'render',\n    value: function render() {\n      var _props = this.props,\n          style = _props.style,\n          src = _props.src,\n          others = _objectWithoutProperties(_props, ['style', 'src']);\n\n      var width = style.width || 0;\n      var height = style.height || 0;\n      if (_nukeEnv.isWeex) {\n        return (0, _rax.createElement)('web', _extends({ ref: 'webview', src: src, style: style, width: width, height: height }, others));\n      }\n      return (0, _rax.createElement)('iframe', _extends({ ref: 'webview', src: src, style: style, frameBorder: '0' }, others));\n    }\n  }]);\n\n  return Web;\n}(_rax.Component);\n\nexports.default = Web;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Web/index.js?");

/***/ }),

/***/ "./lib/WebPicker/index.js":
/*!********************************!*\
  !*** ./lib/WebPicker/index.js ***!
  \********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _picker = __webpack_require__(/*! ./view/picker.js */ \"./lib/WebPicker/view/picker.js\");\n\nvar _picker2 = _interopRequireDefault(_picker);\n\nvar _base = __webpack_require__(/*! ./view/base.js */ \"./lib/WebPicker/view/base.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_picker2.default.show = _base.show;\n_picker2.default.hide = _base.hide;\n\nexports.default = _picker2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/WebPicker/index.js?");

/***/ }),

/***/ "./lib/WebPicker/styles/index.js":
/*!***************************************!*\
  !*** ./lib/WebPicker/styles/index.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _extends = Object.assign || 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; };\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/WebPicker/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction styleProvider() {\n  var _pickerColumn, _pickerColumnMask, _pickerColumnIndica, _pickerColumnScroll, _Picker;\n\n  var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  var Variables = (0, _variable2.default)(theme);\n  var core = theme.Core;\n  return {\n    Picker: (_Picker = {\n      mask: {\n        backgroundColor: 'rgba(0, 0, 0, .7)'\n      },\n      picker: {\n        position: 'fixed',\n        bottom: 0,\n        left: 0,\n        width: 750,\n        backgroundColor: Variables['background-color']\n      }\n    }, _defineProperty(_Picker, 'picker-toolbar', _extends({\n      backgroundColor: Variables['toolbar-background-color']\n    }, core.border(Variables['toolbar-line-width'], Variables['toolbar-line-style'], Variables['toolbar-line-color'], 'bottom'), {\n\n      flexDirection: 'row',\n      justifyContent: 'center',\n      alignItems: 'center',\n      height: Variables['toolbar-height']\n    }, core.padding(0, Variables['toolbar-padding-lr']), {\n      fontSize: Variables['toolbar-title-font-size']\n    })), _defineProperty(_Picker, 'picker-cancel', {\n      width: '20%',\n      overflow: 'hidden',\n      fontSize: Variables['toolbar-button-font-size'],\n      textAlign: 'left',\n      color: Variables['toolbar-cancel-color']\n    }), _defineProperty(_Picker, 'picker-done', {\n      width: '20%',\n      overflow: 'hidden',\n      fontSize: Variables['toolbar-button-font-size'],\n      textAlign: 'right',\n      color: Variables['toolbar-done-color']\n    }), _defineProperty(_Picker, 'picker-title', {\n      flex: 1,\n      textAlign: 'center',\n      overflow: 'hidden',\n      textOverflow: 'ellipsis',\n      whiteSpace: 'nowrap',\n      color: Variables['toolbar-title-color'],\n      fontSize: Variables['toolbar-title-font-size']\n    }), _defineProperty(_Picker, 'picker-content', {\n      flexDirection: 'row',\n      height: Variables['height']\n    }), _defineProperty(_Picker, 'picker-column', (_pickerColumn = {\n      position: 'relative',\n      width: '100%',\n      height: Variables['height'],\n      flex: 1,\n      overflow: 'hidden'\n    }, _defineProperty(_pickerColumn, '-webkit-transition', 'width ease 0.2s'), _defineProperty(_pickerColumn, 'transition', 'width ease 0.2s'), _pickerColumn)), _defineProperty(_Picker, 'picker-column-mask', (_pickerColumnMask = {\n      position: 'absolute',\n      left: 0,\n      top: 0,\n      height: '100%',\n      width: '100%'\n    }, _defineProperty(_pickerColumnMask, 'background-image', '-webkit-linear-gradient(top, hsla(0,0%,100%,.95), hsla(0,0%,100%,.6)), -webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6))'), _defineProperty(_pickerColumnMask, 'background-image', 'linear-gradient(180deg, hsla(0,0%,100%,.95), hsla(0,0%,100%,.6)), linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6))'), _defineProperty(_pickerColumnMask, 'background-position', 'top, bottom'), _defineProperty(_pickerColumnMask, 'background-size', Variables['mask-background-size']), _defineProperty(_pickerColumnMask, 'background-repeat', 'no-repeat'), _pickerColumnMask)), _defineProperty(_Picker, 'picker-column-indicator', (_pickerColumnIndica = {\n      position: 'absolute',\n      left: 0,\n      top: Variables['indicator-top'],\n      height: Variables['item-height'],\n      width: '100%'\n    }, _defineProperty(_pickerColumnIndica, 'background-image', '-webkit-linear-gradient(top, ' + Variables['item-line-color'] + ',' + Variables['item-line-color'] + ',transparent, transparent), -webkit-linear-gradient(bottom, ' + Variables['item-line-color'] + ',' + Variables['item-line-color'] + ',transparent, transparent)'), _defineProperty(_pickerColumnIndica, 'background-image', 'linear-gradient(to bottom, ' + Variables['item-line-color'] + ',' + Variables['item-line-color'] + ', transparent, transparent), linear-gradient(to top, ' + Variables['item-line-color'] + ',' + Variables['item-line-color'] + ',transparent, transparent)'), _defineProperty(_pickerColumnIndica, 'background-position', 'top, bottom'), _defineProperty(_pickerColumnIndica, 'background-size', '100% 1px'), _defineProperty(_pickerColumnIndica, 'background-repeat', 'no-repeat'), _pickerColumnIndica)), _defineProperty(_Picker, 'picker-column-scroll', (_pickerColumnScroll = {}, _defineProperty(_pickerColumnScroll, '-webkit-transform', 'translate3d(0, 0, 0)'), _defineProperty(_pickerColumnScroll, 'transform', 'translate3d(0, 0, 0)'), _pickerColumnScroll)), _defineProperty(_Picker, 'picker-item', {\n      height: Variables['item-height'],\n      lineHeight: Variables['item-height'],\n      textAlign: 'center',\n      overflow: 'hidden',\n      textOverflow: 'ellipsis'\n    }), _defineProperty(_Picker, 'picker-item-text', {\n      color: Variables['item-text-color'],\n      fontSize: Variables['item-font-size']\n    }), _defineProperty(_Picker, 'picker-bottom-button', {\n      justifyContent: 'center',\n      alignItems: 'center',\n      backgroundColor: Variables['bottom-button-bg-color'],\n      height: Variables['bottom-button-height']\n    }), _defineProperty(_Picker, 'picker-bottom-button-text', {\n      color: Variables['bottom-button-color'],\n      fontSize: Variables['bottom-button-font-size']\n    }), _Picker)\n  };\n}\n\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/WebPicker/styles/index.js?");

/***/ }),

/***/ "./lib/WebPicker/styles/variable.js":
/*!******************************************!*\
  !*** ./lib/WebPicker/styles/variable.js ***!
  \******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nfunction VariableMix(theme) {\n  var core = theme.Core;\n  var ComponentCustomStyle = theme.Picker;\n  /**\n   * 选择器\n   * @namespace component\n   * @property module web-picker\n   * @property tag WebPicker\n   * @property category component\n   */\n  var pickerVariables = {\n    /**\n     * height\n     * @property namespace size/toolbar\n     */\n    'toolbar-height': core['s-14'],\n    /**\n     * padding(l, r)\n     * @property namespace size/toolbar\n     */\n    'toolbar-padding-lr': core['s-3'],\n    /**\n     * text\n     * @property namespace size/title\n     */\n    'toolbar-title-font-size': core['font-size-body-2'],\n    /**\n     * text\n     * @property namespace size/button\n     */\n    'toolbar-button-font-size': core['font-size-subhead'],\n    /**\n     * border-width\n     * @property namespace size/toolbar\n     */\n    'toolbar-line-width': core['line-1'],\n    /**\n     * height\n     * @property namespace size/item\n     */\n    'item-height': core['s-11'],\n    /**\n     * top\n     * @property namespace size/indicator\n     */\n    'indicator-top': 176,\n    /**\n     * top\n     * @property namespace size/mask\n     */\n    'mask-height': 176,\n    /**\n     * text-current\n     * @property namespace size/item\n     */\n    'item-font-size': core['font-size-body-2'],\n    /**\n     * text-others\n     * @property namespace size/item\n     */\n    'indicator-font-size': core['font-size-body-2'],\n    /**\n     * background\n     * @property namespace statement\n     */\n    'background-color': core['color-white'],\n\n    /**\n     * title\n     * @property namespace statement\n     */\n    'toolbar-title-color': core['color-text1-3'],\n    /**\n     * button(l)\n     * @property namespace statement\n     */\n    'toolbar-cancel-color': core['color-brand1-6'],\n    /**\n     * button(r)\n     * @property namespace statement\n     */\n    'toolbar-done-color': core['color-brand1-6'],\n\n    /**\n     * toolbar-background\n     * @property namespace statement\n     */\n    'toolbar-background-color': core['color-white'],\n    /**\n     * item-current\n     * @property namespace statement\n     */\n    'indicator-text-color': core['color-black'],\n    /**\n     * item-others\n     * @property namespace statement\n     */\n    'item-text-color': core['color-black'],\n    /**\n     * item-border\n     * @property namespace statement\n     */\n    'indicator-line-color': core['color-line1-3'],\n    /**\n     * toolbar-border\n     * @property namespace statement\n     */\n    'toolbar-line-color': core['color-fill1-3'],\n    /**\n     * font-current\n     * @property namespace statement\n     */\n    'indicator-font-weight': core['font-weight-2'],\n    /**\n     * toolbar-background\n     * @property namespace statement\n     */\n    'toolbar-line-style': core['line-solid'],\n    /**\n     * height\n     * @property namespace size/bounding\n     */\n    height: 440,\n    /**\n     * content-padding(l,r)\n     * @property namespace size/bounding\n     */\n    'content-padding-lr': core['s-3'],\n    /**\n     * item-border\n     * @property namespace statement\n     */\n    'item-line-color': core['color-line1-3'],\n    /**\n     * button-background\n     * @property namespace statement\n     */\n    'bottom-button-bg-color': core['color-brand1-6'],\n    /**\n     * button-text\n     * @property namespace statement\n     */\n    'bottom-button-color': core['color-white'],\n    /**\n     * button-height\n     * @property namespace size\n     */\n    'bottom-button-height': core['s-12'],\n    /**\n     * button-text\n     * @property namespace statement\n     */\n    'bottom-button-font-size': core['font-size-subhead']\n  };\n  pickerVariables['mask-background-size'] = '100% ' + pickerVariables['indicator-top'] + 'rem';\n  var variables = Object.assign(pickerVariables, ComponentCustomStyle);\n  return variables;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/WebPicker/styles/variable.js?");

/***/ }),

/***/ "./lib/WebPicker/view/animate.js":
/*!***************************************!*\
  !*** ./lib/WebPicker/view/animate.js ***!
  \***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.easeOutBounce = easeOutBounce;\nexports.easeInOutQuad = easeInOutQuad;\nvar counter = 1;\nvar running = {};\n\nvar Animate = exports.Animate = {\n\n  requestAnimationFrame: function () {\n    // isomorphic support\n    if (typeof window === 'undefined') {\n      return function () {};\n    }\n\n    var requestFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame;\n\n    return function (callback) {\n      requestFrame(callback);\n    };\n  }(),\n\n  start: function start(stepFunc, callback, duration, easeFunc) {\n    var max = Math.max,\n        min = Math.min;\n\n    var animateId = counter++;\n\n    var startTime = null,\n        lastTime = null;\n\n    running[animateId] = true;\n\n    var step = function step(timeStamp) {\n      if (running[animateId] !== true) {\n        return;\n      }\n\n      if (startTime === null) {\n        startTime = timeStamp;\n        lastTime = timeStamp;\n      }\n\n      var percent = 0,\n          timeDiff = timeStamp - startTime,\n          timeFrame = timeStamp - lastTime;\n\n      lastTime = timeStamp;\n\n      if (duration) {\n        percent = min(timeDiff / duration, 1);\n      }\n\n      if (percent >= 1 || running[animateId] !== true) {\n        stepFunc(percent, timeDiff, timeFrame);\n        callback();\n\n        running[animateId] = false;\n        delete running[animateId];\n        return;\n      }\n\n      if (easeFunc) {\n        percent = easeFunc(timeDiff, 0, 1, duration);\n      }\n\n      stepFunc(percent, timeDiff, timeFrame);\n\n      Animate.requestAnimationFrame(step);\n    };\n\n    Animate.requestAnimationFrame(step);\n\n    return animateId;\n  },\n  stop: function stop(animateId) {\n    running[animateId] = false;\n    delete running[animateId];\n  }\n};\n\nfunction easeOutBounce(t, b, c, d) {\n  if ((t /= d) < 1 / 2.75) {\n    return c * (7.5625 * t * t) + b;\n  } else if (t < 2 / 2.75) {\n    return c * (7.5625 * (t -= 1.5 / 2.75) * t + .75) + b;\n  } else if (t < 2.5 / 2.75) {\n    return c * (7.5625 * (t -= 2.25 / 2.75) * t + .9375) + b;\n  } else {\n    return c * (7.5625 * (t -= 2.625 / 2.75) * t + .984375) + b;\n  }\n}\n\nfunction easeInOutQuad(t, b, c, d) {\n  if ((t /= d / 2) < 1) return c / 2 * t * t + b;\n  return -c / 2 * (--t * (t - 2) - 1) + b;\n}\n\n//# sourceURL=webpack:///./lib/WebPicker/view/animate.js?");

/***/ }),

/***/ "./lib/WebPicker/view/base.js":
/*!************************************!*\
  !*** ./lib/WebPicker/view/base.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || 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; };\n\nexports.show = show;\nexports.hide = hide;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeDom = __webpack_require__(/*! ../../Dom/index.js */ \"./lib/Dom/index.js\");\n\nvar _nukeDom2 = _interopRequireDefault(_nukeDom);\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _picker = __webpack_require__(/*! ./picker.js */ \"./lib/WebPicker/view/picker.js\");\n\nvar _picker2 = _interopRequireDefault(_picker);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nvar noop = function noop() {};\n\nvar pickerInstance = null;\n\nvar container = null;\n\nfunction show() {\n  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var onSelect = arguments[1];\n  var onCancel = arguments[2];\n  var onShow = arguments[3];\n  var onFail = arguments[4];\n\n  onSelect = onSelect || noop;\n  onShow = onShow || noop;\n  onFail = onFail || noop;\n  onCancel = onCancel || noop;\n\n  var title = options.title,\n      dataSource = options.dataSource,\n      selectedKey = options.selectedKey,\n      locale = options.locale,\n      _options$maskClosable = options.maskClosable,\n      maskClosable = _options$maskClosable === undefined ? true : _options$maskClosable,\n      visible = options.visible,\n      value = options.value,\n      content = options.content,\n      children = options.children,\n      others = _objectWithoutProperties(options, ['title', 'dataSource', 'selectedKey', 'locale', 'maskClosable', 'visible', 'value', 'content', 'children']);\n\n  if (!dataSource || !dataSource[0]) {\n    onFail({ err: 'empty dataSource' });\n    return;\n  }\n  var attrs = {\n    title: title,\n    maskClosable: maskClosable,\n    dataSource: dataSource,\n    selectedKey: value || selectedKey,\n    afterClose: afterCloseCallback,\n    onCancel: onCancel,\n    onDone: onSelect\n  };\n  if (locale) {\n    attrs.locale = locale;\n  }\n  var picker = (0, _rax.createElement)(_picker2.default, _extends({}, others, attrs));\n\n  function afterCloseCallback() {\n    (0, _rax.unmountComponentAtNode)(container);\n    document.body.removeChild(container);\n\n    pickerInstance = picker = container = null;\n  }\n\n  if (options.container) {\n    container = (0, _rax.findDOMNode)(options.container);\n  }\n  // container = options.container || null;\n  if (!container) {\n    container = _nukeDom2.default.createEle('div', { t: 'id', abc: '_nuke_wrap' });\n    document.body.appendChild(container);\n  }\n  (0, _rax.render)(picker, container, function () {\n    pickerInstance = this;\n    pickerInstance.wrappedInstance.show();\n  });\n}\n\nfunction hide() {\n  if (_nukeEnv.isWeex) {\n    // native 暂不支持\n  } else if (pickerInstance) {\n    pickerInstance.wrappedInstance.hide();\n  }\n}\n\n//# sourceURL=webpack:///./lib/WebPicker/view/base.js?");

/***/ }),

/***/ "./lib/WebPicker/view/column.js":
/*!**************************************!*\
  !*** ./lib/WebPicker/view/column.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp;\n\nexports.labelMap = labelMap;\nexports.valueMap = valueMap;\nexports.keyMap = keyMap;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _item = __webpack_require__(/*! ./item.js */ \"./lib/WebPicker/view/item.js\");\n\nvar _item2 = _interopRequireDefault(_item);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeThemeProvider2 = _interopRequireDefault(_nukeThemeProvider);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/WebPicker/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nvar _animate = __webpack_require__(/*! ./animate.js */ \"./lib/WebPicker/view/animate.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar connectStyle = _nukeThemeProvider2.default.connectStyle;\n\n\nvar noop = function noop() {};\n\nvar VISIBLE_ITEM_COUNT = 5;\nvar MAX_TOUCH_PATH_LENGTH = 20;\nvar VELOCITY_DETERMINE_PERIOD = 100;\nvar MILLISECONDS = 1000;\nvar MIN_VELOCITY = 50;\nvar VELOCITY_DECREASE_RATE = 0.9;\nvar BOUNCE_RESISTANCE = 0.5;\nvar BOUNCE_RESISTANCE_DISTANCE = 200; // px\n\nfunction getComputedStyleHeight(el) {\n  if (typeof window === 'undefined') {\n    return 0;\n  }\n  return parseFloat(window.getComputedStyle(el).height);\n}\n\nvar PickerColumn = (_temp = _class = function (_Component) {\n  _inherits(PickerColumn, _Component);\n\n  function PickerColumn(props, context) {\n    _classCallCheck(this, PickerColumn);\n\n    var _this = _possibleConstructorReturn(this, (PickerColumn.__proto__ || Object.getPrototypeOf(PickerColumn)).call(this, props));\n\n    var value = void 0;\n\n    if (context.__picker__) {\n      value = context.selectedValue[props.index];\n    } else if ('value' in props) {\n      value = props.value;\n    } else {\n      value = props.selectedKey;\n    }\n\n    _this.state = {\n      value: value\n    };\n\n    _this.bound = null;\n\n    _this.isTracking = false;\n    _this.isDragging = false;\n    _this.currentScrollTop = 0;\n    _this.touchPath = []; // use to calculate move velocity\n\n    ['onChange', 'swipeStart', 'swipeMove', 'swipeEnd'].forEach(function (m) {\n      _this[m] = _this[m].bind(_this);\n    });\n    return _this;\n  }\n\n  _createClass(PickerColumn, [{\n    key: 'getChildContext',\n    value: function getChildContext() {\n      return {\n        __column__: true,\n        selectedValue: this.state.value\n      };\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps, nextContext) {\n      if (nextContext.__picker__) {\n        this.setState({\n          value: nextContext.selectedValue[nextProps.index]\n        });\n      } else if ('value' in nextProps) {\n        this.setState({\n          value: nextProps.value\n        });\n      }\n    }\n  }, {\n    key: 'componentWillUpdate',\n    value: function componentWillUpdate(nextProps, nextState) {\n      if (nextProps.dataSource !== this.props.dataSource || JSON.stringify(nextProps.dataSource) !== JSON.stringify(this.props.dataSource)) {\n        this.changed = true;\n      }\n    }\n  }, {\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      this.componentDidUpdate();\n    }\n  }, {\n    key: 'componentDidUpdate',\n    value: function componentDidUpdate() {\n      // calculate scroll content bound\n      // inMatrix arg for config platform\n      if (!this.bound || this.changed) {\n        this.calculateBound();\n      }\n\n      // set scroll offset according to default value\n      this.setScroll(this.state.value);\n\n      this.changed = false;\n    }\n  }, {\n    key: 'calculateBound',\n    value: function calculateBound(props) {\n      props = props || this.props;\n\n      var indicator = this.refs.indicator;\n      var _props = props,\n          children = _props.children,\n          dataSource = _props.dataSource;\n\n\n      var top = void 0;var bottom = void 0;var itemHeight = void 0;var length = void 0;\n      var halfOfVisibleCount = Math.floor(VISIBLE_ITEM_COUNT / 2);\n      itemHeight = getComputedStyleHeight(indicator);\n\n      length = dataSource.length;\n\n      bottom = itemHeight * halfOfVisibleCount;\n      top = -itemHeight * (length - (VISIBLE_ITEM_COUNT - halfOfVisibleCount));\n\n      this.bound = {\n        top: top,\n        bottom: bottom,\n        itemHeight: itemHeight\n      };\n    }\n  }, {\n    key: 'setScroll',\n    value: function setScroll(value) {\n      var _bound = this.bound,\n          itemHeight = _bound.itemHeight,\n          bottom = _bound.bottom;\n      var _props2 = this.props,\n          valueMap = _props2.valueMap,\n          dataSource = _props2.dataSource,\n          children = _props2.children,\n          keyMap = _props2.keyMap;\n\n\n      var index = 0;\n\n      var _children = void 0;\n\n      var item = void 0;\n      if (typeof value === 'undefined') {\n        value = dataSource[0].key;\n      }\n\n      for (var i = 0, l = dataSource.length; i < l; i++) {\n        if (keyMap(dataSource[i]).toString() === value.toString()) {\n          index = i;\n          item = dataSource[i];\n          break;\n        }\n      }\n\n      if (this.context.__picker__) {\n        this.context.onUpdate(item, this.props.index);\n      }\n\n      this.updateOffset(bottom - itemHeight * index);\n    }\n  }, {\n    key: 'startAnimate',\n    value: function startAnimate(stepFunc, callback, duration, easeFunc) {\n      this.stopAnimate();\n      return this.animateId = _animate.Animate.start(stepFunc, callback, duration, easeFunc);\n    }\n  }, {\n    key: 'stopAnimate',\n    value: function stopAnimate() {\n      if (this.animateId) {\n        _animate.Animate.stop(this.animateId);\n        this.animateId = null;\n      }\n    }\n  }, {\n    key: 'isInBound',\n    value: function isInBound(scrollTop) {\n      var _bound2 = this.bound,\n          top = _bound2.top,\n          bottom = _bound2.bottom;\n\n\n      if (scrollTop === undefined) {\n        scrollTop = this.currentScrollTop;\n      }\n\n      return !(scrollTop > bottom || scrollTop < top);\n    }\n  }, {\n    key: 'getBouncedDiff',\n    value: function getBouncedDiff(scrollTop) {\n      var _bound3 = this.bound,\n          top = _bound3.top,\n          bottom = _bound3.bottom;\n\n\n      if (!this.isInBound(scrollTop)) {\n        if (scrollTop > bottom) {\n          return scrollTop - bottom;\n        }\n        if (scrollTop < top) {\n          return scrollTop - top;\n        }\n      }\n\n      return 0;\n    }\n  }, {\n    key: 'setTransformStyle',\n    value: function setTransformStyle(offset) {\n      var content = this.refs.content;\n\n\n      if (content) {\n        var style = 'translate(0, ' + offset + 'px)';\n        // debugger; //bug fix: avoid translate3d, bug in android 4.3\n        content.style.WebkitTransform = style;\n        content.style.transform = style;\n      }\n    }\n  }, {\n    key: 'setOffset',\n    value: function setOffset(top) {\n      this.currentScrollTop = top;\n      this.setTransformStyle(top);\n    }\n  }, {\n    key: 'updateOffset',\n    value: function updateOffset(top, animation, callback, easeFunc) {\n      var _this2 = this;\n\n      var lastScrollTop = void 0;var diff = void 0;\n\n      if (animation) {\n        lastScrollTop = this.currentScrollTop, diff = top - lastScrollTop;\n        this.startAnimate(function (percent) {\n          _this2.setOffset(lastScrollTop + diff * percent);\n        }, function () {\n          _this2.setOffset(top);\n          callback && callback();\n        }, 200, easeFunc);\n      } else {\n        this.setOffset(top);\n        callback && callback();\n      }\n    }\n  }, {\n    key: 'restrictScrollBound',\n    value: function restrictScrollBound(scrollTop) {\n      var _bound4 = this.bound,\n          top = _bound4.top,\n          bottom = _bound4.bottom;\n      var max = Math.max,\n          min = Math.min;\n\n\n      return min(max(top, scrollTop), bottom);\n    }\n\n    // when touch move end or animation end,\n    // adjust scrollTop value to stop by nearest picker item\n\n  }, {\n    key: 'stopBy',\n    value: function stopBy() {\n      var _this3 = this;\n\n      var abs = Math.abs;\n      // debugger;\n\n      var current = this.currentScrollTop;\n\n      var itemHeight = this.bound.itemHeight;\n\n      var remainder = current % itemHeight;\n\n      var multiple = parseInt(current / itemHeight, 10);\n\n      var stopBy = current;\n      if (abs(remainder) >= itemHeight / 2) {\n        // reserve the sign that represent scroll direction\n        stopBy = remainder / abs(remainder) * (abs(multiple) + 1) * itemHeight;\n      } else {\n        stopBy = multiple * itemHeight;\n      }\n      stopBy = this.restrictScrollBound(stopBy);\n\n      this.updateOffset(stopBy, false, function () {\n        _this3.onChange();\n      }, _animate.easeInOutQuad);\n    }\n  }, {\n    key: 'swipeStart',\n    value: function swipeStart(e) {\n      e.preventDefault();\n\n      var pageY = e.touches ? e.touches[0].pageY : e.clientY;\n\n      this.isTracking = true;\n      this.isDragging = false;\n      this.touchPageY = pageY;\n      this.lastScrollTop = this.currentScrollTop;\n\n      this.touchPath = [{\n        time: Date.now(),\n        pageY: pageY\n      }];\n\n      this.stopAnimate();\n    }\n  }, {\n    key: 'swipeMove',\n    value: function swipeMove(e) {\n      e.preventDefault();\n\n      if (!this.isTracking) {\n        return;\n      }\n\n      this.isDragging = true;\n\n      var abs = Math.abs,\n          max = Math.max,\n          min = Math.min;\n\n      var initPageY = this.touchPageY;\n      var currentPageY = e.touches ? e.touches[0].pageY : e.clientY;\n\n      var diff = currentPageY - initPageY;\n      var currentScrollTop = this.lastScrollTop + diff;\n\n      // bounce\n      if (!this.isInBound(currentScrollTop)) {\n        var bound = void 0;var bounce = void 0;\n\n        // bounced diff\n        diff = this.getBouncedDiff(currentScrollTop);\n        bound = currentScrollTop - diff;\n\n        // apply bounce resistance\n        diff = min(max(-BOUNCE_RESISTANCE_DISTANCE, diff), BOUNCE_RESISTANCE_DISTANCE);\n        bounce = diff * (1 - abs(diff) / (BOUNCE_RESISTANCE_DISTANCE * 2));\n\n        currentScrollTop = bound + bounce;\n      }\n\n      this.updateOffset(currentScrollTop);\n\n      // record move path\n      this.touchPath.push({\n        time: Date.now(),\n        pageY: currentPageY\n      });\n\n      // restrict length\n      if (this.touchPath.length > MAX_TOUCH_PATH_LENGTH) {\n        this.touchPath = this.touchPath.slice(MAX_TOUCH_PATH_LENGTH / 2);\n      }\n    }\n  }, {\n    key: 'swipeEnd',\n    value: function swipeEnd(e) {\n      var _this4 = this;\n\n      e.preventDefault();\n\n      // Ignore event when tracking is not enabled (event might be outside of element)\n      if (!this.isDragging) {\n        return;\n      }\n\n      var abs = Math.abs;\n\n      // velocity calculation\n\n      var lastTouchTime = Date.now();\n      var startPos = this.touchPath.length - 1;\n\n      var endPos = startPos;\n      var timeDiff = 0;\n\n      var velocity = 0;\n\n      for (var i = startPos - 1; i >= 0 && timeDiff < VELOCITY_DETERMINE_PERIOD; i--) {\n        var position = this.touchPath[i];\n        timeDiff = lastTouchTime - position.time;\n        endPos = i;\n      }\n\n      if (startPos !== endPos) {\n        var firstPageY = this.touchPath[endPos].pageY;\n        var lastPageY = this.touchPath[startPos].pageY;\n\n        velocity = (lastPageY - firstPageY) / timeDiff * MILLISECONDS;\n      }\n\n      if (abs(velocity) > MIN_VELOCITY) {\n        var animateId = this.startAnimate(function (percent, timeDiff, timeFrame) {\n          var currentScrollTop = _this4.currentScrollTop;\n\n          velocity *= VELOCITY_DECREASE_RATE;\n\n          // bounce\n          if (!_this4.isInBound(currentScrollTop)) {\n            velocity *= BOUNCE_RESISTANCE;\n          }\n\n          var diff = velocity * timeFrame / MILLISECONDS;\n\n          _this4.setOffset(currentScrollTop + diff);\n          if (abs(velocity) < MIN_VELOCITY) {\n            _animate.Animate.stop(animateId);\n            _this4.stopBy();\n          }\n        });\n      } else {\n        this.stopBy();\n      }\n\n      this.isTracking = false;\n      this.isDragging = false;\n    }\n  }, {\n    key: 'setValue',\n    value: function setValue(value) {\n      if (!('value' in this.props)) {\n        this.setState({\n          value: value\n        });\n      }\n    }\n  }, {\n    key: 'getValue',\n    value: function getValue() {\n      return this.state.value;\n    }\n  }, {\n    key: 'onChange',\n    value: function onChange(e) {\n      var scrollTop = this.currentScrollTop;\n      var _bound5 = this.bound,\n          bottom = _bound5.bottom,\n          itemHeight = _bound5.itemHeight;\n\n      var itemIndex = Math.round((bottom - scrollTop) / itemHeight);\n      var _props3 = this.props,\n          index = _props3.index,\n          children = _props3.children,\n          dataSource = _props3.dataSource,\n          valueMap = _props3.valueMap,\n          keyMap = _props3.keyMap;\n\n\n      var value = void 0;var item = void 0;\n\n      if (children) {\n        item = this.props.children[itemIndex];\n        value = item.props.value;\n      } else {\n        item = dataSource[itemIndex];\n        value = keyMap(item);\n      }\n      if (value === this.state.value) {\n        return;\n      }\n\n      if (this.context.__picker__) {\n        this.context.onChange(value, item, index);\n      } else {\n        this.setValue(value);\n        this.props.onChange(value, item);\n      }\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var value = this.state.value;\n\n      var styles = this.props.themeStyle;\n      var _props4 = this.props,\n          dataSource = _props4.dataSource,\n          labelMap = _props4.labelMap,\n          valueMap = _props4.valueMap,\n          className = _props4.className,\n          _props4$style = _props4.style,\n          style = _props4$style === undefined ? {} : _props4$style,\n          _props4$prefix = _props4.prefix,\n          prefix = _props4$prefix === undefined ? this.defaultPrefix : _props4$prefix;\n      var children = this.props.children;\n\n\n      if (!children) {\n        children = dataSource.map(function (item, index) {\n          return (0, _rax.createElement)(\n            _item2.default,\n            { key: keyMap(item), value: valueMap(item) },\n            valueMap(item)\n          );\n        });\n      }\n\n      return (0, _rax.createElement)(\n        'div',\n        {\n          x: 'column-item',\n          style: [styles['picker-column'], style],\n          onMouseDown: this.swipeStart,\n          onMouseMove: this.swipeMove,\n          onMouseUp: this.swipeEnd,\n          onMouseLeave: this.swipeEnd,\n          onTouchStart: this.swipeStart,\n          onTouchMove: this.swipeMove,\n          onTouchEnd: this.swipeEnd,\n          onTouchCancel: this.swipeEnd\n        },\n        (0, _rax.createElement)(\n          'div',\n          {\n            ref: 'content',\n            x: 'column-item-scroll',\n            style: styles['picker-column-scroll']\n          },\n          children\n        ),\n        (0, _rax.createElement)('div', { x: 'column-item-mask', style: styles['picker-column-mask'] }),\n        (0, _rax.createElement)('div', {\n          x: 'column-item-indicator',\n          ref: 'indicator',\n          style: styles['picker-column-indicator']\n        })\n      );\n    }\n  }]);\n\n  return PickerColumn;\n}(_rax.Component), _class.propTypes = {\n  value: _rax.PropTypes.any,\n  dataSource: _rax.PropTypes.array,\n  onChange: _rax.PropTypes.func,\n  labelMap: _rax.PropTypes.func,\n  valueMap: _rax.PropTypes.func\n}, _class.defaultProps = {\n  selectedKey: null,\n  dataSource: [],\n  onChange: noop,\n  labelMap: labelMap,\n  valueMap: valueMap\n}, _class.contextTypes = {\n  onUpdate: _rax.PropTypes.func,\n  onChange: _rax.PropTypes.func,\n  __picker__: _rax.PropTypes.bool,\n  selectedValue: _rax.PropTypes.any\n}, _class.childContextTypes = {\n  __column__: _rax.PropTypes.bool,\n  selectedValue: _rax.PropTypes.any\n}, _temp);\n\nPickerColumn.displayName = 'Picker';\n\nvar StyledPickerColumn = connectStyle(_styles2.default)(PickerColumn);\n\nexports.default = StyledPickerColumn;\n// for label map\n\nfunction labelMap(item) {\n  if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n    return item.label;\n  }\n\n  return item;\n}\n\n// for value map\nfunction valueMap(item) {\n  if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n    return item.value;\n  }\n\n  return item;\n}\n// for key map\nfunction keyMap(item) {\n  if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n    return item.key;\n  }\n  return item;\n}\n\n//# sourceURL=webpack:///./lib/WebPicker/view/column.js?");

/***/ }),

/***/ "./lib/WebPicker/view/item.js":
/*!************************************!*\
  !*** ./lib/WebPicker/view/item.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/** @jsx createElement */\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp;\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeThemeProvider2 = _interopRequireDefault(_nukeThemeProvider);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/WebPicker/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar connectStyle = _nukeThemeProvider2.default.connectStyle;\nvar PickerItem = (_temp = _class = function (_Component) {\n  _inherits(PickerItem, _Component);\n\n  function PickerItem() {\n    _classCallCheck(this, PickerItem);\n\n    return _possibleConstructorReturn(this, (PickerItem.__proto__ || Object.getPrototypeOf(PickerItem)).apply(this, arguments));\n  }\n\n  _createClass(PickerItem, [{\n    key: 'render',\n    value: function render() {\n      var _context = this.context,\n          __column__ = _context.__column__,\n          selectedValue = _context.selectedValue;\n\n      var styles = this.props.themeStyle;\n      var _props = this.props,\n          value = _props.value,\n          className = _props.className,\n          children = _props.children,\n          _props$style = _props.style,\n          style = _props$style === undefined ? {} : _props$style,\n          _props$prefix = _props.prefix,\n          prefix = _props$prefix === undefined ? this.defaultPrefix : _props$prefix;\n\n\n      var klsStyle = Object.assign({}, styles['picker-item'], __column__ && value === selectedValue ? styles['picker-item'] : {});\n\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { x: 'picker-item', style: [klsStyle, style] },\n        (0, _rax.createElement)(\n          _nukeText2.default,\n          { style: styles['picker-item-text'] },\n          value\n        )\n      );\n    }\n  }]);\n\n  return PickerItem;\n}(_rax.Component), _class.contextTypes = {\n  __column__: _rax.PropTypes.bool,\n  selectedValue: _rax.PropTypes.any\n}, _temp);\n\nPickerItem.displayName = 'Picker';\n\nvar StyledPickerItem = connectStyle(_styles2.default)(PickerItem);\n\nexports.default = StyledPickerItem;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/WebPicker/view/item.js?");

/***/ }),

/***/ "./lib/WebPicker/view/picker.js":
/*!**************************************!*\
  !*** ./lib/WebPicker/view/picker.js ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _class, _temp;\n// import Slip from 'nuke-slip';\n\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeMask = __webpack_require__(/*! ../../Mask/index.js */ \"./lib/Mask/index.js\");\n\nvar _nukeMask2 = _interopRequireDefault(_nukeMask);\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeThemeProvider2 = _interopRequireDefault(_nukeThemeProvider);\n\nvar _column = __webpack_require__(/*! ./column.js */ \"./lib/WebPicker/view/column.js\");\n\nvar _column2 = _interopRequireDefault(_column);\n\nvar _util = __webpack_require__(/*! ./util.js */ \"./lib/WebPicker/view/util.js\");\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/WebPicker/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar noop = function noop() {};\n\nvar connectStyle = _nukeThemeProvider2.default.connectStyle;\nvar Picker = (_temp = _class = function (_Component) {\n  _inherits(Picker, _Component);\n\n  function Picker(props) {\n    _classCallCheck(this, Picker);\n\n    var _this = _possibleConstructorReturn(this, (Picker.__proto__ || Object.getPrototypeOf(Picker)).call(this, props));\n\n    var visible = void 0;var value = void 0;\n\n    if ('visible' in props) {\n      visible = props.visible;\n    } else {\n      visible = props.defaultVisible;\n    }\n\n    if ('value' in props) {\n      value = props.value;\n    } else {\n      value = _this.handleSelectedKey();\n    }\n\n    _this.state = {\n      value: value,\n      visible: visible\n    };\n\n    _this.items = [];\n    _this.columns = null; // calculate at some time\n\n    ['onDone', 'onCancel', 'onClose', 'onChange', 'onUpdate', 'onVisibleChange', 'afterOpen', 'maskPress', 'afterClose'].forEach(function (m) {\n      _this[m] = _this[m].bind(_this);\n    });\n    return _this;\n  }\n\n  _createClass(Picker, [{\n    key: 'handleSelectedKey',\n    value: function handleSelectedKey() {\n      var _props = this.props,\n          selectedKey = _props.selectedKey,\n          dataSource = _props.dataSource;\n\n      var val = void 0;\n      if (!selectedKey) {\n        if (dataSource[0].children) {\n          val = [dataSource[0].key, dataSource[0].children[0].key];\n        } else {\n          val = dataSource[0].key;\n        }\n      } else {\n        val = selectedKey;\n      }\n      if (!val) {\n        if (dataSource[0].children) {\n          val = [dataSource[0].key, dataSource[0].children[0].key];\n        } else {\n          val = [dataSource[0].key];\n        }\n      }\n      if (typeof val === 'string') {\n        val = [val];\n      }\n      return val;\n    }\n  }, {\n    key: 'getChildContext',\n    value: function getChildContext() {\n      return {\n        __picker__: true,\n        onUpdate: this.onUpdate,\n        onChange: this.onChange,\n        selectedValue: this.state.value\n      };\n    }\n  }, {\n    key: 'componentWillReceiveProps',\n    value: function componentWillReceiveProps(nextProps) {\n      // controlled component\n      // sync state from props\n      if ('visible' in nextProps) {\n        this.setState({\n          visible: nextProps.visible\n        });\n      }\n\n      if ('value' in nextProps) {\n        this.setState({\n          value: nextProps.value\n        });\n      }\n    }\n  }, {\n    key: 'componentWillUpdate',\n    value: function componentWillUpdate(nextProps, nextState) {\n      if (nextState.value !== this.state.value || nextProps.dataSource !== this.props.dataSource || JSON.stringify(nextState.value) !== JSON.stringify(this.state.value) || JSON.stringify(nextProps.dataSource) !== JSON.stringify(this.props.dataSource)) {\n        this.changed = true;\n      }\n    }\n  }, {\n    key: 'componentDidUpdate',\n    value: function componentDidUpdate() {\n      this.changed = false;\n    }\n  }, {\n    key: 'getColumns',\n    value: function getColumns(value) {\n      // debugger;\n      var dataSource = this.props.dataSource;\n\n\n      var columns = [];\n\n      value = value || this.state.value;\n\n      // normal data\n      if ('children' in dataSource[0]) {\n        // cascade data\n        var cols = dataSource;\n\n        var flag = false;\n\n        if (cols.length > 0) {\n          if (value === '') {\n            value = [];\n          }\n          columns.push(cols);\n        }\n\n        for (var i = 0;; i++) {\n          for (var j = 0, l = cols.length; j < l; j++) {\n            var col = cols[j];\n            var colValue = value[i];\n\n            if ((0, _util.keyMap)(col) === colValue) {\n              cols = childrenMap(col);\n              flag = true;\n              break;\n            }\n          }\n\n          if (!flag) {\n            if (cols.length > 0) {\n              value[i] = (0, _util.keyMap)(cols[0]);\n              cols = childrenMap(cols[0]);\n            } else {\n              cols = null;\n              value[i] = null;\n            }\n          }\n\n          if (!cols || !cols.length) {\n            break;\n          } else {\n            columns.push(cols);\n            flag = false;\n          }\n        }\n      } else {\n        columns = [dataSource];\n      }\n\n      // column change -> value change\n      // dont setState() re-render\n      if (value instanceof Array) {\n        value.splice(columns.length);\n      }\n\n      this.columns = columns;\n\n      return columns;\n    }\n  }, {\n    key: 'show',\n    value: function show() {\n      this.setState({\n        visible: true\n      });\n      this.picker && this.picker.show();\n    }\n  }, {\n    key: 'hide',\n    value: function hide() {\n      this.picker && this.picker.hide();\n      this.setState({\n        visible: false\n      });\n    }\n  }, {\n    key: 'setVisible',\n    value: function setVisible(visible, cb) {\n      if (this.state.visible === visible) {\n        return;\n      }\n\n      var callback = this.props['' + cb];\n\n      // if (!('visible' in this.props)) {\n\n      for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n        args[_key - 2] = arguments[_key];\n      }\n\n      if (callback && callback.apply(undefined, args) !== false) {\n        if (visible) {\n          this.show();\n        } else {\n          this.hide();\n        }\n        this.setState({ visible: visible });\n      }\n      // } else {\n      //   callback.apply(null, args);\n      // }\n    }\n  }, {\n    key: 'onDone',\n    value: function onDone(e) {\n      this.setVisible(false, 'onDone', this.items, e);\n    }\n  }, {\n    key: 'onCancel',\n    value: function onCancel(e) {\n      this.setVisible(false, 'onCancel', e);\n    }\n  }, {\n    key: 'onClose',\n    value: function onClose(e) {\n      this.setVisible(false, 'onClose', e);\n    }\n  }, {\n    key: 'onUpdate',\n    value: function onUpdate(item, index) {\n      // debugger;\n      this.items[index] = item;\n      // console.log(this.items);\n    }\n  }, {\n    key: 'onChange',\n    value: function onChange(v, item, i) {\n      var _this2 = this;\n\n      var items = this.items;\n      var value = this.state.value;\n\n      var newValue = void 0;var newItems = void 0;\n\n      var _props2 = this.props,\n          dataSource = _props2.dataSource,\n          onChange = _props2.onChange;\n\n\n      newValue = [].concat(_toConsumableArray(value));\n      newValue[i] = v;\n\n      newItems = [].concat(_toConsumableArray(items));\n      newItems[i] = item;\n\n      if (!('value' in this.props)) {\n        this.setState({\n          value: newValue\n        }, function () {\n          // use callback beacuse of dynamic data\n          if (onChange && onChange(newItems) === false) {\n            // reset\n            _this2.setState({\n              value: value\n            });\n          }\n        });\n      } else {\n        // cascade data normalize value\n        if (!(this.props.dataSource[0] instanceof Array)) {\n          this.getColumns(value);\n        }\n        onChange(newItems);\n      }\n    }\n  }, {\n    key: 'onVisibleChange',\n    value: function onVisibleChange(visible) {\n      this.setVisible(visible, 'onVisibleChange', visible);\n    }\n  }, {\n    key: 'afterOpen',\n    value: function afterOpen() {\n      // debugger;\n      this.props.afterOpen && this.props.afterOpen(this);\n    }\n  }, {\n    key: 'afterClose',\n    value: function afterClose() {\n      this.props.afterClose();\n    }\n  }, {\n    key: 'getPickerEl',\n    value: function getPickerEl() {\n      var _props3 = this.props,\n          hasToolbar = _props3.hasToolbar,\n          hasToolbarButton = _props3.hasToolbarButton,\n          hasBottomButton = _props3.hasBottomButton,\n          buttonStyle = _props3.buttonStyle,\n          title = _props3.title,\n          childrenMap = _props3.childrenMap,\n          _props3$style = _props3.style,\n          style = _props3$style === undefined ? {} : _props3$style,\n          locale = _props3.locale;\n\n      var styles = this.props.themeStyle;\n      var children = this.props.children;\n\n      var columns = this.columns;\n\n      var toolbar = (0, _rax.createElement)(\n        _nukeView2.default,\n        { style: styles['picker-toolbar'] },\n        hasToolbarButton ? (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: styles['picker-cancel'], onClick: this.onCancel },\n          locale.cancel\n        ) : null,\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: styles['picker-title'] },\n          title\n        ),\n        hasToolbarButton ? (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: styles['picker-done'], onClick: this.onDone },\n          locale.confirm\n        ) : null\n      );\n\n      if (!children) {\n        if (!columns || this.changed) {\n          columns = this.getColumns();\n        }\n\n        children = columns.map(function (col, index) {\n          return (0, _rax.createElement)(_column2.default, {\n            key: index,\n            index: index,\n            dataSource: col,\n            labelMap: _util.labelMap,\n            valueMap: _util.valueMap,\n            keyMap: _util.keyMap\n          });\n        });\n      } else if (children.map) {\n        children = children.map(function (col, index) {\n          return (0, _rax.cloneElement)(col, { index: index });\n        });\n      } else {\n        var index = 0;\n        children = (0, _rax.cloneElement)(children, { index: index });\n      }\n      var bottomButtonStyle = Object.assign({}, styles['picker-bottom-button'], buttonStyle);\n      var bottomButtonTextStyle = Object.assign({}, styles['picker-bottom-button-text']);\n      _nukeHelper.textKeys.forEach(function (item) {\n        if (bottomButtonStyle[item]) {\n          bottomButtonTextStyle[item] = bottomButtonStyle[item];\n        }\n        // 也加上伪类继承\n        if (bottomButtonStyle[item + ':active']) {\n          bottomButtonTextStyle[item + ':active'] = bottomButtonStyle[item + ':active'];\n        }\n      });\n      var pickerWrapStyle = Object.assign({}, styles.picker, style);\n      return (0, _rax.createElement)(\n        _nukeView2.default,\n        { x: 'picker-wrap', style: pickerWrapStyle },\n        hasToolbar ? toolbar : null,\n        (0, _rax.createElement)(\n          _nukeView2.default,\n          { x: 'picker-content', style: styles['picker-content'] },\n          children\n        ),\n        hasBottomButton ? (0, _rax.createElement)(\n          _nukeView2.default,\n          { style: bottomButtonStyle, onClick: this.onDone },\n          (0, _rax.createElement)(\n            _nukeText2.default,\n            { style: bottomButtonTextStyle },\n            locale.confirm\n          )\n        ) : null\n      );\n    }\n  }, {\n    key: 'maskPress',\n    value: function maskPress() {\n      var onCancel = this.props.onCancel;\n\n      onCancel && onCancel();\n    }\n  }, {\n    key: 'touchMove',\n    value: function touchMove(e) {\n      e.preventDefault();\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this3 = this;\n\n      var visible = this.state.visible;\n      var _props4 = this.props,\n          trigger = _props4.trigger,\n          renderMask = _props4.renderMask,\n          _props4$style = _props4.style,\n          style = _props4$style === undefined ? {} : _props4$style,\n          maskClosable = _props4.maskClosable;\n\n      var styles = this.props.themeStyle;\n      var picker = null;\n\n      picker = this.getPickerEl();\n\n      return renderMask ? (0, _rax.createElement)(\n        _nukeMask2.default,\n        {\n          style: styles.mask,\n          defaultVisible: false,\n          maskClosable: maskClosable,\n          animate: true,\n          onShow: this.afterOpen,\n          onHide: this.afterClose,\n          onMaskPress: this.maskPress,\n          onTouchmove: this.touchMove,\n          ref: function ref(n) {\n            _this3.picker = n;\n          }\n        },\n        picker\n      ) : picker;\n    }\n  }]);\n\n  return Picker;\n}(_rax.Component), _class.propTypes = {\n  title: _rax.PropTypes.node,\n  value: _rax.PropTypes.array,\n  visible: _rax.PropTypes.bool,\n  trigger: _rax.PropTypes.element,\n\n  selectedKey: _rax.PropTypes.array,\n  defaultVisible: _rax.PropTypes.bool,\n\n  toolbar: _rax.PropTypes.node,\n  hasToolbar: _rax.PropTypes.bool,\n  dataSource: _rax.PropTypes.array,\n\n  onDone: _rax.PropTypes.func,\n  onCancel: _rax.PropTypes.func,\n  onClose: _rax.PropTypes.func,\n\n  onChange: _rax.PropTypes.func,\n  afterOpen: _rax.PropTypes.func,\n  afterClose: _rax.PropTypes.func,\n  onVisibleChange: _rax.PropTypes.func,\n\n  labelMap: _rax.PropTypes.func,\n  valueMap: _rax.PropTypes.func,\n  childrenMap: _rax.PropTypes.func,\n  keyMap: _rax.PropTypes.func\n}, _class.defaultProps = {\n  dataSource: [],\n  selectedKey: '',\n  defaultVisible: false,\n\n  hasToolbar: true,\n\n  title: '',\n  trigger: null,\n\n  onChange: noop,\n  onDone: noop,\n  onCancel: noop,\n  onClose: noop,\n  afterOpen: noop,\n  afterClose: noop,\n  onVisibleChange: noop,\n\n  labelMap: _util.labelMap,\n  valueMap: _util.valueMap,\n  childrenMap: childrenMap,\n  keyMap: _util.keyMap\n}, _class.childContextTypes = {\n  onUpdate: _rax.PropTypes.func,\n  onChange: _rax.PropTypes.func,\n  __picker__: _rax.PropTypes.bool,\n  selectedValue: _rax.PropTypes.array\n}, _temp);\n\n// for cascade data,default key: children\n\nfunction childrenMap(item) {\n  if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n    return item.children;\n  }\n}\nPicker.defaultProps = {\n  locale: {\n    cancel: 'Cancel',\n    confirm: 'Confirm'\n  },\n  renderMask: true\n};\nPicker.propTypes = {\n  locale: _rax.PropTypes.obj,\n  renderMask: _rax.PropTypes.boolean\n};\nPicker.displayName = 'Picker';\nvar StyledPicker = connectStyle(_styles2.default)(Picker);\n\nexports.default = StyledPicker;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/WebPicker/view/picker.js?");

/***/ }),

/***/ "./lib/WebPicker/view/util.js":
/*!************************************!*\
  !*** ./lib/WebPicker/view/util.js ***!
  \************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexports.valueMap = valueMap;\nexports.keyMap = keyMap;\nexports.labelMap = labelMap;\n// for value map\nfunction valueMap(item) {\n  if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n    return item.value;\n  }\n\n  return item;\n}\n// for key map\nfunction keyMap(item) {\n  if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n    return item.key;\n  }\n\n  return item;\n}\n\nfunction labelMap(item) {\n  if ((typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n    return item.label;\n  }\n\n  return item;\n}\n\n//# sourceURL=webpack:///./lib/WebPicker/view/util.js?");

/***/ }),

/***/ "./node_modules/process/browser.js":
/*!*****************************************!*\
  !*** ./node_modules/process/browser.js ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things.  But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals.  It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n    throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n    throw new Error('clearTimeout has not been defined');\n}\n(function () {\n    try {\n        if (typeof setTimeout === 'function') {\n            cachedSetTimeout = setTimeout;\n        } else {\n            cachedSetTimeout = defaultSetTimout;\n        }\n    } catch (e) {\n        cachedSetTimeout = defaultSetTimout;\n    }\n    try {\n        if (typeof clearTimeout === 'function') {\n            cachedClearTimeout = clearTimeout;\n        } else {\n            cachedClearTimeout = defaultClearTimeout;\n        }\n    } catch (e) {\n        cachedClearTimeout = defaultClearTimeout;\n    }\n} ())\nfunction runTimeout(fun) {\n    if (cachedSetTimeout === setTimeout) {\n        //normal enviroments in sane situations\n        return setTimeout(fun, 0);\n    }\n    // if setTimeout wasn't available but was latter defined\n    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n        cachedSetTimeout = setTimeout;\n        return setTimeout(fun, 0);\n    }\n    try {\n        // when when somebody has screwed with setTimeout but no I.E. maddness\n        return cachedSetTimeout(fun, 0);\n    } catch(e){\n        try {\n            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n            return cachedSetTimeout.call(null, fun, 0);\n        } catch(e){\n            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n            return cachedSetTimeout.call(this, fun, 0);\n        }\n    }\n\n\n}\nfunction runClearTimeout(marker) {\n    if (cachedClearTimeout === clearTimeout) {\n        //normal enviroments in sane situations\n        return clearTimeout(marker);\n    }\n    // if clearTimeout wasn't available but was latter defined\n    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n        cachedClearTimeout = clearTimeout;\n        return clearTimeout(marker);\n    }\n    try {\n        // when when somebody has screwed with setTimeout but no I.E. maddness\n        return cachedClearTimeout(marker);\n    } catch (e){\n        try {\n            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally\n            return cachedClearTimeout.call(null, marker);\n        } catch (e){\n            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n            // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n            return cachedClearTimeout.call(this, marker);\n        }\n    }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n    if (!draining || !currentQueue) {\n        return;\n    }\n    draining = false;\n    if (currentQueue.length) {\n        queue = currentQueue.concat(queue);\n    } else {\n        queueIndex = -1;\n    }\n    if (queue.length) {\n        drainQueue();\n    }\n}\n\nfunction drainQueue() {\n    if (draining) {\n        return;\n    }\n    var timeout = runTimeout(cleanUpNextTick);\n    draining = true;\n\n    var len = queue.length;\n    while(len) {\n        currentQueue = queue;\n        queue = [];\n        while (++queueIndex < len) {\n            if (currentQueue) {\n                currentQueue[queueIndex].run();\n            }\n        }\n        queueIndex = -1;\n        len = queue.length;\n    }\n    currentQueue = null;\n    draining = false;\n    runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n    var args = new Array(arguments.length - 1);\n    if (arguments.length > 1) {\n        for (var i = 1; i < arguments.length; i++) {\n            args[i - 1] = arguments[i];\n        }\n    }\n    queue.push(new Item(fun, args));\n    if (queue.length === 1 && !draining) {\n        runTimeout(drainQueue);\n    }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n    this.fun = fun;\n    this.array = array;\n}\nItem.prototype.run = function () {\n    this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n    throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n    throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//# sourceURL=webpack:///./node_modules/process/browser.js?");

/***/ }),

/***/ "./node_modules/webpack/buildin/global.js":
/*!***********************************!*\
  !*** (webpack)/buildin/global.js ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\r\n} catch (e) {\r\n\t// This works if the window reference is available\r\n\tif (typeof window === \"object\") g = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");

/***/ }),

/***/ "./src/node_modules/component-emitter/index.js":
/*!*****************************************************!*\
  !*** ./src/node_modules/component-emitter/index.js ***!
  \*****************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/**\r\n * Expose `Emitter`.\r\n */\n\nif (true) {\n  module.exports = Emitter;\n}\n\n/**\r\n * Initialize a new `Emitter`.\r\n *\r\n * @api public\r\n */\n\nfunction Emitter(obj) {\n  if (obj) return mixin(obj);\n};\n\n/**\r\n * Mixin the emitter properties.\r\n *\r\n * @param {Object} obj\r\n * @return {Object}\r\n * @api private\r\n */\n\nfunction mixin(obj) {\n  for (var key in Emitter.prototype) {\n    obj[key] = Emitter.prototype[key];\n  }\n  return obj;\n}\n\n/**\r\n * Listen on the given `event` with `fn`.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\n\nEmitter.prototype.on = Emitter.prototype.addEventListener = function (event, fn) {\n  this._callbacks = this._callbacks || {};\n  (this._callbacks['$' + event] = this._callbacks['$' + event] || []).push(fn);\n  return this;\n};\n\n/**\r\n * Adds an `event` listener that will be invoked a single\r\n * time then automatically removed.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\n\nEmitter.prototype.once = function (event, fn) {\n  function on() {\n    this.off(event, on);\n    fn.apply(this, arguments);\n  }\n\n  on.fn = fn;\n  this.on(event, on);\n  return this;\n};\n\n/**\r\n * Remove the given callback for `event` or all\r\n * registered callbacks.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\n\nEmitter.prototype.off = Emitter.prototype.removeListener = Emitter.prototype.removeAllListeners = Emitter.prototype.removeEventListener = function (event, fn) {\n  this._callbacks = this._callbacks || {};\n\n  // all\n  if (0 == arguments.length) {\n    this._callbacks = {};\n    return this;\n  }\n\n  // specific event\n  var callbacks = this._callbacks['$' + event];\n  if (!callbacks) return this;\n\n  // remove all handlers\n  if (1 == arguments.length) {\n    delete this._callbacks['$' + event];\n    return this;\n  }\n\n  // remove specific handler\n  var cb;\n  for (var i = 0; i < callbacks.length; i++) {\n    cb = callbacks[i];\n    if (cb === fn || cb.fn === fn) {\n      callbacks.splice(i, 1);\n      break;\n    }\n  }\n\n  // Remove event specific arrays for event types that no\n  // one is subscribed for to avoid memory leak.\n  if (callbacks.length === 0) {\n    delete this._callbacks['$' + event];\n  }\n\n  return this;\n};\n\n/**\r\n * Emit `event` with the given args.\r\n *\r\n * @param {String} event\r\n * @param {Mixed} ...\r\n * @return {Emitter}\r\n */\n\nEmitter.prototype.emit = function (event) {\n  this._callbacks = this._callbacks || {};\n\n  var args = new Array(arguments.length - 1),\n      callbacks = this._callbacks['$' + event];\n\n  for (var i = 1; i < arguments.length; i++) {\n    args[i - 1] = arguments[i];\n  }\n\n  if (callbacks) {\n    callbacks = callbacks.slice(0);\n    for (var i = 0, len = callbacks.length; i < len; ++i) {\n      callbacks[i].apply(this, args);\n    }\n  }\n\n  return this;\n};\n\n/**\r\n * Return array of callbacks for `event`.\r\n *\r\n * @param {String} event\r\n * @return {Array}\r\n * @api public\r\n */\n\nEmitter.prototype.listeners = function (event) {\n  this._callbacks = this._callbacks || {};\n  return this._callbacks['$' + event] || [];\n};\n\n/**\r\n * Check if this emitter has `event` handlers.\r\n *\r\n * @param {String} event\r\n * @return {Boolean}\r\n * @api public\r\n */\n\nEmitter.prototype.hasListeners = function (event) {\n  return !!this.listeners(event).length;\n};\n\n//# sourceURL=webpack:///./src/node_modules/component-emitter/index.js?");

/***/ }),

/***/ "./src/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":
/*!**************************************************************************************!*\
  !*** ./src/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
  \**************************************************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\nvar REACT_STATICS = {\n    childContextTypes: true,\n    contextTypes: true,\n    defaultProps: true,\n    displayName: true,\n    getDefaultProps: true,\n    getDerivedStateFromProps: true,\n    mixins: true,\n    propTypes: true,\n    type: true\n};\n\nvar KNOWN_STATICS = {\n    name: true,\n    length: true,\n    prototype: true,\n    caller: true,\n    callee: true,\n    arguments: true,\n    arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n    if (typeof sourceComponent !== 'string') {\n        // don't hoist over string (html) components\n\n        if (objectPrototype) {\n            var inheritedComponent = getPrototypeOf(sourceComponent);\n            if (inheritedComponent && inheritedComponent !== objectPrototype) {\n                hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n            }\n        }\n\n        var keys = getOwnPropertyNames(sourceComponent);\n\n        if (getOwnPropertySymbols) {\n            keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n        }\n\n        for (var i = 0; i < keys.length; ++i) {\n            var key = keys[i];\n            if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n                var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n                try {\n                    // Avoid failures from read-only properties\n                    defineProperty(targetComponent, key, descriptor);\n                } catch (e) {}\n            }\n        }\n\n        return targetComponent;\n    }\n\n    return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n//# sourceURL=webpack:///./src/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js?");

/***/ }),

/***/ "./src/node_modules/qs/lib/formats.js":
/*!********************************************!*\
  !*** ./src/node_modules/qs/lib/formats.js ***!
  \********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nmodule.exports = {\n    'default': 'RFC3986',\n    formatters: {\n        RFC1738: function RFC1738(value) {\n            return replace.call(value, percentTwenties, '+');\n        },\n        RFC3986: function RFC3986(value) {\n            return value;\n        }\n    },\n    RFC1738: 'RFC1738',\n    RFC3986: 'RFC3986'\n};\n\n//# sourceURL=webpack:///./src/node_modules/qs/lib/formats.js?");

/***/ }),

/***/ "./src/node_modules/qs/lib/index.js":
/*!******************************************!*\
  !*** ./src/node_modules/qs/lib/index.js ***!
  \******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar stringify = __webpack_require__(/*! ./stringify */ \"./src/node_modules/qs/lib/stringify.js\");\nvar parse = __webpack_require__(/*! ./parse */ \"./src/node_modules/qs/lib/parse.js\");\nvar formats = __webpack_require__(/*! ./formats */ \"./src/node_modules/qs/lib/formats.js\");\n\nmodule.exports = {\n    formats: formats,\n    parse: parse,\n    stringify: stringify\n};\n\n//# sourceURL=webpack:///./src/node_modules/qs/lib/index.js?");

/***/ }),

/***/ "./src/node_modules/qs/lib/parse.js":
/*!******************************************!*\
  !*** ./src/node_modules/qs/lib/parse.js ***!
  \******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./src/node_modules/qs/lib/utils.js\");\n\nvar has = Object.prototype.hasOwnProperty;\n\nvar defaults = {\n    allowDots: false,\n    allowPrototypes: false,\n    arrayLimit: 20,\n    charset: 'utf-8',\n    charsetSentinel: false,\n    comma: false,\n    decoder: utils.decode,\n    delimiter: '&',\n    depth: 5,\n    ignoreQueryPrefix: false,\n    interpretNumericEntities: false,\n    parameterLimit: 1000,\n    parseArrays: true,\n    plainObjects: false,\n    strictNullHandling: false\n};\n\nvar interpretNumericEntities = function interpretNumericEntities(str) {\n    return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n        return String.fromCharCode(parseInt(numberStr, 10));\n    });\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n    var obj = {};\n    var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n    var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n    var parts = cleanStr.split(options.delimiter, limit);\n    var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n    var i;\n\n    var charset = options.charset;\n    if (options.charsetSentinel) {\n        for (i = 0; i < parts.length; ++i) {\n            if (parts[i].indexOf('utf8=') === 0) {\n                if (parts[i] === charsetSentinel) {\n                    charset = 'utf-8';\n                } else if (parts[i] === isoSentinel) {\n                    charset = 'iso-8859-1';\n                }\n                skipIndex = i;\n                i = parts.length; // The eslint settings do not allow break;\n            }\n        }\n    }\n\n    for (i = 0; i < parts.length; ++i) {\n        if (i === skipIndex) {\n            continue;\n        }\n        var part = parts[i];\n\n        var bracketEqualsPos = part.indexOf(']=');\n        var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n        var key, val;\n        if (pos === -1) {\n            key = options.decoder(part, defaults.decoder, charset);\n            val = options.strictNullHandling ? null : '';\n        } else {\n            key = options.decoder(part.slice(0, pos), defaults.decoder, charset);\n            val = options.decoder(part.slice(pos + 1), defaults.decoder, charset);\n        }\n\n        if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n            val = interpretNumericEntities(val);\n        }\n\n        if (val && options.comma && val.indexOf(',') > -1) {\n            val = val.split(',');\n        }\n\n        if (has.call(obj, key)) {\n            obj[key] = utils.combine(obj[key], val);\n        } else {\n            obj[key] = val;\n        }\n    }\n\n    return obj;\n};\n\nvar parseObject = function parseObject(chain, val, options) {\n    var leaf = val;\n\n    for (var i = chain.length - 1; i >= 0; --i) {\n        var obj;\n        var root = chain[i];\n\n        if (root === '[]' && options.parseArrays) {\n            obj = [].concat(leaf);\n        } else {\n            obj = options.plainObjects ? Object.create(null) : {};\n            var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n            var index = parseInt(cleanRoot, 10);\n            if (!options.parseArrays && cleanRoot === '') {\n                obj = { 0: leaf };\n            } else if (!isNaN(index) && root !== cleanRoot && String(index) === cleanRoot && index >= 0 && options.parseArrays && index <= options.arrayLimit) {\n                obj = [];\n                obj[index] = leaf;\n            } else {\n                obj[cleanRoot] = leaf;\n            }\n        }\n\n        leaf = obj;\n    }\n\n    return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options) {\n    if (!givenKey) {\n        return;\n    }\n\n    // Transform dot notation to bracket notation\n    var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n    // The regex chunks\n\n    var brackets = /(\\[[^[\\]]*])/;\n    var child = /(\\[[^[\\]]*])/g;\n\n    // Get the parent\n\n    var segment = brackets.exec(key);\n    var parent = segment ? key.slice(0, segment.index) : key;\n\n    // Stash the parent if it exists\n\n    var keys = [];\n    if (parent) {\n        // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n        if (!options.plainObjects && has.call(Object.prototype, parent)) {\n            if (!options.allowPrototypes) {\n                return;\n            }\n        }\n\n        keys.push(parent);\n    }\n\n    // Loop through children appending to the array until we hit depth\n\n    var i = 0;\n    while ((segment = child.exec(key)) !== null && i < options.depth) {\n        i += 1;\n        if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n            if (!options.allowPrototypes) {\n                return;\n            }\n        }\n        keys.push(segment[1]);\n    }\n\n    // If there's a remainder, just add whatever is left\n\n    if (segment) {\n        keys.push('[' + key.slice(segment.index) + ']');\n    }\n\n    return parseObject(keys, val, options);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n    if (!opts) {\n        return defaults;\n    }\n\n    if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n        throw new TypeError('Decoder has to be a function.');\n    }\n\n    if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n        throw new Error('The charset option must be either utf-8, iso-8859-1, or undefined');\n    }\n    var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n    return {\n        allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n        allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n        arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n        charset: charset,\n        charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n        comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n        decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n        delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n        depth: typeof opts.depth === 'number' ? opts.depth : defaults.depth,\n        ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n        interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n        parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n        parseArrays: opts.parseArrays !== false,\n        plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n        strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n    };\n};\n\nmodule.exports = function (str, opts) {\n    var options = normalizeParseOptions(opts);\n\n    if (str === '' || str === null || typeof str === 'undefined') {\n        return options.plainObjects ? Object.create(null) : {};\n    }\n\n    var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n    var obj = options.plainObjects ? Object.create(null) : {};\n\n    // Iterate over the keys and setup the new object\n\n    var keys = Object.keys(tempObj);\n    for (var i = 0; i < keys.length; ++i) {\n        var key = keys[i];\n        var newObj = parseKeys(key, tempObj[key], options);\n        obj = utils.merge(obj, newObj, options);\n    }\n\n    return utils.compact(obj);\n};\n\n//# sourceURL=webpack:///./src/node_modules/qs/lib/parse.js?");

/***/ }),

/***/ "./src/node_modules/qs/lib/stringify.js":
/*!**********************************************!*\
  !*** ./src/node_modules/qs/lib/stringify.js ***!
  \**********************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar utils = __webpack_require__(/*! ./utils */ \"./src/node_modules/qs/lib/utils.js\");\nvar formats = __webpack_require__(/*! ./formats */ \"./src/node_modules/qs/lib/formats.js\");\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n    brackets: function brackets(prefix) {\n        // eslint-disable-line func-name-matching\n        return prefix + '[]';\n    },\n    comma: 'comma',\n    indices: function indices(prefix, key) {\n        // eslint-disable-line func-name-matching\n        return prefix + '[' + key + ']';\n    },\n    repeat: function repeat(prefix) {\n        // eslint-disable-line func-name-matching\n        return prefix;\n    }\n};\n\nvar isArray = Array.isArray;\nvar push = Array.prototype.push;\nvar pushToArray = function pushToArray(arr, valueOrArray) {\n    push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaults = {\n    addQueryPrefix: false,\n    allowDots: false,\n    charset: 'utf-8',\n    charsetSentinel: false,\n    delimiter: '&',\n    encode: true,\n    encoder: utils.encode,\n    encodeValuesOnly: false,\n    formatter: formats.formatters[formats['default']],\n    // deprecated\n    indices: false,\n    serializeDate: function serializeDate(date) {\n        // eslint-disable-line func-name-matching\n        return toISO.call(date);\n    },\n    skipNulls: false,\n    strictNullHandling: false\n};\n\nvar stringify = function stringify( // eslint-disable-line func-name-matching\nobject, prefix, generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter, encodeValuesOnly, charset) {\n    var obj = object;\n    if (typeof filter === 'function') {\n        obj = filter(prefix, obj);\n    } else if (obj instanceof Date) {\n        obj = serializeDate(obj);\n    } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n        obj = obj.join(',');\n    }\n\n    if (obj === null) {\n        if (strictNullHandling) {\n            return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset) : prefix;\n        }\n\n        obj = '';\n    }\n\n    if (typeof obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {\n        if (encoder) {\n            var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset);\n            return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset))];\n        }\n        return [formatter(prefix) + '=' + formatter(String(obj))];\n    }\n\n    var values = [];\n\n    if (typeof obj === 'undefined') {\n        return values;\n    }\n\n    var objKeys;\n    if (isArray(filter)) {\n        objKeys = filter;\n    } else {\n        var keys = Object.keys(obj);\n        objKeys = sort ? keys.sort(sort) : keys;\n    }\n\n    for (var i = 0; i < objKeys.length; ++i) {\n        var key = objKeys[i];\n\n        if (skipNulls && obj[key] === null) {\n            continue;\n        }\n\n        if (isArray(obj)) {\n            pushToArray(values, stringify(obj[key], typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix, generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter, encodeValuesOnly, charset));\n        } else {\n            pushToArray(values, stringify(obj[key], prefix + (allowDots ? '.' + key : '[' + key + ']'), generateArrayPrefix, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, formatter, encodeValuesOnly, charset));\n        }\n    }\n\n    return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n    if (!opts) {\n        return defaults;\n    }\n\n    if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {\n        throw new TypeError('Encoder has to be a function.');\n    }\n\n    var charset = opts.charset || defaults.charset;\n    if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n        throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n    }\n\n    var format = formats['default'];\n    if (typeof opts.format !== 'undefined') {\n        if (!has.call(formats.formatters, opts.format)) {\n            throw new TypeError('Unknown format option provided.');\n        }\n        format = opts.format;\n    }\n    var formatter = formats.formatters[format];\n\n    var filter = defaults.filter;\n    if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n        filter = opts.filter;\n    }\n\n    return {\n        addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n        allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n        charset: charset,\n        charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n        delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n        encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n        encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n        encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n        filter: filter,\n        formatter: formatter,\n        serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n        skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n        sort: typeof opts.sort === 'function' ? opts.sort : null,\n        strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n    };\n};\n\nmodule.exports = function (object, opts) {\n    var obj = object;\n    var options = normalizeStringifyOptions(opts);\n\n    var objKeys;\n    var filter;\n\n    if (typeof options.filter === 'function') {\n        filter = options.filter;\n        obj = filter('', obj);\n    } else if (isArray(options.filter)) {\n        filter = options.filter;\n        objKeys = filter;\n    }\n\n    var keys = [];\n\n    if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object' || obj === null) {\n        return '';\n    }\n\n    var arrayFormat;\n    if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n        arrayFormat = opts.arrayFormat;\n    } else if (opts && 'indices' in opts) {\n        arrayFormat = opts.indices ? 'indices' : 'repeat';\n    } else {\n        arrayFormat = 'indices';\n    }\n\n    var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\n    if (!objKeys) {\n        objKeys = Object.keys(obj);\n    }\n\n    if (options.sort) {\n        objKeys.sort(options.sort);\n    }\n\n    for (var i = 0; i < objKeys.length; ++i) {\n        var key = objKeys[i];\n\n        if (options.skipNulls && obj[key] === null) {\n            continue;\n        }\n        pushToArray(keys, stringify(obj[key], key, generateArrayPrefix, options.strictNullHandling, options.skipNulls, options.encode ? options.encoder : null, options.filter, options.sort, options.allowDots, options.serializeDate, options.formatter, options.encodeValuesOnly, options.charset));\n    }\n\n    var joined = keys.join(options.delimiter);\n    var prefix = options.addQueryPrefix === true ? '?' : '';\n\n    if (options.charsetSentinel) {\n        if (options.charset === 'iso-8859-1') {\n            // encodeURIComponent('&#10003;'), the \"numeric entity\" representation of a checkmark\n            prefix += 'utf8=%26%2310003%3B&';\n        } else {\n            // encodeURIComponent('✓')\n            prefix += 'utf8=%E2%9C%93&';\n        }\n    }\n\n    return joined.length > 0 ? prefix + joined : '';\n};\n\n//# sourceURL=webpack:///./src/node_modules/qs/lib/stringify.js?");

/***/ }),

/***/ "./src/node_modules/qs/lib/utils.js":
/*!******************************************!*\
  !*** ./src/node_modules/qs/lib/utils.js ***!
  \******************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = function () {\n    var array = [];\n    for (var i = 0; i < 256; ++i) {\n        array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n    }\n\n    return array;\n}();\n\nvar compactQueue = function compactQueue(queue) {\n    while (queue.length > 1) {\n        var item = queue.pop();\n        var obj = item.obj[item.prop];\n\n        if (isArray(obj)) {\n            var compacted = [];\n\n            for (var j = 0; j < obj.length; ++j) {\n                if (typeof obj[j] !== 'undefined') {\n                    compacted.push(obj[j]);\n                }\n            }\n\n            item.obj[item.prop] = compacted;\n        }\n    }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n    var obj = options && options.plainObjects ? Object.create(null) : {};\n    for (var i = 0; i < source.length; ++i) {\n        if (typeof source[i] !== 'undefined') {\n            obj[i] = source[i];\n        }\n    }\n\n    return obj;\n};\n\nvar merge = function merge(target, source, options) {\n    if (!source) {\n        return target;\n    }\n\n    if ((typeof source === 'undefined' ? 'undefined' : _typeof(source)) !== 'object') {\n        if (isArray(target)) {\n            target.push(source);\n        } else if (target && (typeof target === 'undefined' ? 'undefined' : _typeof(target)) === 'object') {\n            if (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) {\n                target[source] = true;\n            }\n        } else {\n            return [target, source];\n        }\n\n        return target;\n    }\n\n    if (!target || (typeof target === 'undefined' ? 'undefined' : _typeof(target)) !== 'object') {\n        return [target].concat(source);\n    }\n\n    var mergeTarget = target;\n    if (isArray(target) && !isArray(source)) {\n        mergeTarget = arrayToObject(target, options);\n    }\n\n    if (isArray(target) && isArray(source)) {\n        source.forEach(function (item, i) {\n            if (has.call(target, i)) {\n                var targetItem = target[i];\n                if (targetItem && (typeof targetItem === 'undefined' ? 'undefined' : _typeof(targetItem)) === 'object' && item && (typeof item === 'undefined' ? 'undefined' : _typeof(item)) === 'object') {\n                    target[i] = merge(targetItem, item, options);\n                } else {\n                    target.push(item);\n                }\n            } else {\n                target[i] = item;\n            }\n        });\n        return target;\n    }\n\n    return Object.keys(source).reduce(function (acc, key) {\n        var value = source[key];\n\n        if (has.call(acc, key)) {\n            acc[key] = merge(acc[key], value, options);\n        } else {\n            acc[key] = value;\n        }\n        return acc;\n    }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n    return Object.keys(source).reduce(function (acc, key) {\n        acc[key] = source[key];\n        return acc;\n    }, target);\n};\n\nvar decode = function decode(str, decoder, charset) {\n    var strWithoutPlus = str.replace(/\\+/g, ' ');\n    if (charset === 'iso-8859-1') {\n        // unescape never throws, no try...catch needed:\n        return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n    }\n    // utf-8\n    try {\n        return decodeURIComponent(strWithoutPlus);\n    } catch (e) {\n        return strWithoutPlus;\n    }\n};\n\nvar encode = function encode(str, defaultEncoder, charset) {\n    // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n    // It has been adapted here for stricter adherence to RFC 3986\n    if (str.length === 0) {\n        return str;\n    }\n\n    var string = typeof str === 'string' ? str : String(str);\n\n    if (charset === 'iso-8859-1') {\n        return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n            return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n        });\n    }\n\n    var out = '';\n    for (var i = 0; i < string.length; ++i) {\n        var c = string.charCodeAt(i);\n\n        if (c === 0x2D // -\n        || c === 0x2E // .\n        || c === 0x5F // _\n        || c === 0x7E // ~\n        || c >= 0x30 && c <= 0x39 // 0-9\n        || c >= 0x41 && c <= 0x5A // a-z\n        || c >= 0x61 && c <= 0x7A // A-Z\n        ) {\n                out += string.charAt(i);\n                continue;\n            }\n\n        if (c < 0x80) {\n            out = out + hexTable[c];\n            continue;\n        }\n\n        if (c < 0x800) {\n            out = out + (hexTable[0xC0 | c >> 6] + hexTable[0x80 | c & 0x3F]);\n            continue;\n        }\n\n        if (c < 0xD800 || c >= 0xE000) {\n            out = out + (hexTable[0xE0 | c >> 12] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F]);\n            continue;\n        }\n\n        i += 1;\n        c = 0x10000 + ((c & 0x3FF) << 10 | string.charCodeAt(i) & 0x3FF);\n        out += hexTable[0xF0 | c >> 18] + hexTable[0x80 | c >> 12 & 0x3F] + hexTable[0x80 | c >> 6 & 0x3F] + hexTable[0x80 | c & 0x3F];\n    }\n\n    return out;\n};\n\nvar compact = function compact(value) {\n    var queue = [{ obj: { o: value }, prop: 'o' }];\n    var refs = [];\n\n    for (var i = 0; i < queue.length; ++i) {\n        var item = queue[i];\n        var obj = item.obj[item.prop];\n\n        var keys = Object.keys(obj);\n        for (var j = 0; j < keys.length; ++j) {\n            var key = keys[j];\n            var val = obj[key];\n            if ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' && val !== null && refs.indexOf(val) === -1) {\n                queue.push({ obj: obj, prop: key });\n                refs.push(val);\n            }\n        }\n    }\n\n    compactQueue(queue);\n\n    return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n    return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n    if (!obj || (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object') {\n        return false;\n    }\n\n    return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n    return [].concat(a, b);\n};\n\nmodule.exports = {\n    arrayToObject: arrayToObject,\n    assign: assign,\n    combine: combine,\n    compact: compact,\n    decode: decode,\n    encode: encode,\n    isBuffer: isBuffer,\n    isRegExp: isRegExp,\n    merge: merge\n};\n\n//# sourceURL=webpack:///./src/node_modules/qs/lib/utils.js?");

/***/ }),

/***/ "./src/node_modules/rax-video/lib/index.js":
/*!*************************************************!*\
  !*** ./src/node_modules/rax-video/lib/index.js ***!
  \*************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i];for (var key in source) {\n      if (Object.prototype.hasOwnProperty.call(source, key)) {\n        target[key] = source[key];\n      }\n    }\n  }return target;\n};\n\nvar _createClass = function () {\n  function defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if (\"value\" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }return function (Constructor, protoProps, staticProps) {\n    if (protoProps) defineProperties(Constructor.prototype, protoProps);if (staticProps) defineProperties(Constructor, staticProps);return Constructor;\n  };\n}();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _universalEnv = __webpack_require__(/*! universal-env */ \"./src/node_modules/universal-env/lib/index.js\");\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n  if (!self) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }return call && ((typeof call === \"undefined\" ? \"undefined\" : _typeof(call)) === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : _typeof(superClass)));\n  }subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } });if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar PLAY = 'play';\nvar PAUSE = 'pause';\n\nvar Video = function (_Component) {\n  _inherits(Video, _Component);\n\n  function Video() {\n    _classCallCheck(this, Video);\n\n    return _possibleConstructorReturn(this, (Video.__proto__ || Object.getPrototypeOf(Video)).apply(this, arguments));\n  }\n\n  _createClass(Video, [{\n    key: 'render',\n    value: function render() {\n      var props = this.props;\n\n      if (_universalEnv.isWeex) {\n        props.playStatus = props.playControl;\n        return (0, _rax.createElement)('video', props);\n      } else {\n        var nativeProps = _extends({}, props);\n\n        delete nativeProps.autoPlay;\n        delete nativeProps.src;\n\n        if (props.autoPlay || props.playControl === PLAY) {\n          nativeProps.autoPlay = props.autoPlay;\n        }\n        // Default controls is true\n        if (props.controls == null || props.controls === true) {\n          nativeProps.controls = true;\n        } else {\n          delete nativeProps.controls;\n        }\n\n        var node = this.refs.video;\n        if (node) {\n          if (props.playControl === PAUSE) {\n            node.pause();\n          } else if (props.playControl === PLAY) {\n            node.play();\n          }\n        }\n\n        return (0, _rax.createElement)('video', _extends({\n          ref: 'video'\n        }, nativeProps, {\n          'webkit-playsinline': true,\n          playsinline: true }), (0, _rax.createElement)('source', { src: props.src }));\n      }\n    }\n  }]);\n\n  return Video;\n}(_rax.Component);\n\nexports.default = Video;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./src/node_modules/rax-video/lib/index.js?");

/***/ }),

/***/ "./src/node_modules/universal-env/lib/index.js":
/*!*****************************************************!*\
  !*** ./src/node_modules/universal-env/lib/index.js ***!
  \*****************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("/* WEBPACK VAR INJECTION */(function(process) {\n\nvar _typeof2 = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n  return typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n} : function (obj) {\n  return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof2(obj);\n};\n\n// https://www.w3.org/TR/html5/webappapis.html#dom-navigator-appcodename\nvar isWeb = exports.isWeb = (typeof navigator === 'undefined' ? 'undefined' : _typeof(navigator)) === 'object' && (navigator.appCodeName === 'Mozilla' || navigator.product === 'Gecko');\nvar isNode = exports.isNode = typeof process !== 'undefined' && !!(process.versions && process.versions.node);\nvar isWeex = exports.isWeex = typeof callNative === 'function';\nvar isReactNative = exports.isReactNative = typeof __fbBatchedBridgeConfig !== 'undefined';\nexports['default'] = module.exports;\nexports.default = module.exports;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../node_modules/process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./src/node_modules/universal-env/lib/index.js?");

/***/ }),

/***/ "./src/node_modules/universal-panresponder/lib/ResponderTouchHistoryStore.js":
/*!***********************************************************************************!*\
  !*** ./src/node_modules/universal-panresponder/lib/ResponderTouchHistoryStore.js ***!
  \***********************************************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\n/**\n * Touch position/time tracking information by touchID. Typically, we'll only\n * see IDs with a range of 1-20 (they are recycled when touches end and then\n * start again). This data is commonly needed by many different interaction\n * logic modules so precomputing it is very helpful to do once.\n * Each touch object in `touchBank` is of the following form:\n * { touchActive: boolean,\n *   startTimeStamp: number,\n *   startPageX: number,\n *   startPageY: number,\n *   currentPageX: number,\n *   currentPageY: number,\n *   currentTimeStamp: number\n * }\n */\n\nvar touchHistory = {\n  touchBank: {},\n  numberActiveTouches: 0,\n  // If there is only one active touch, we remember its location. This prevents\n  // us having to loop through all of the touches all the time in the most\n  // common case.\n  indexOfSingleActiveTouch: -1,\n  mostRecentTimeStamp: 0\n};\n\n/**\n * TODO: Instead of making gestures recompute filtered velocity, we could\n * include a built in velocity computation that can be reused globally.\n * @param {Touch} touch Native touch object.\n */\nvar initializeTouchData = function initializeTouchData(touch) {\n  return {\n    touchActive: true,\n    startTimeStamp: touch.timestamp,\n    startPageX: touch.pageX,\n    startPageY: touch.pageY,\n    currentPageX: touch.pageX,\n    currentPageY: touch.pageY,\n    currentTimeStamp: touch.timestamp,\n    previousPageX: touch.pageX,\n    previousPageY: touch.pageY,\n    previousTimeStamp: touch.timestamp\n  };\n};\n\nvar reinitializeTouchTrack = function reinitializeTouchTrack(touchTrack, touch) {\n  touchTrack.touchActive = true;\n  touchTrack.startTimeStamp = touch.timestamp;\n  touchTrack.startPageX = touch.pageX;\n  touchTrack.startPageY = touch.pageY;\n  touchTrack.currentPageX = touch.pageX;\n  touchTrack.currentPageY = touch.pageY;\n  touchTrack.currentTimeStamp = touch.timestamp;\n  touchTrack.previousPageX = touch.pageX;\n  touchTrack.previousPageY = touch.pageY;\n  touchTrack.previousTimeStamp = touch.timestamp;\n};\n\nvar recordStartTouchData = function recordStartTouchData(touch) {\n  var touchBank = touchHistory.touchBank;\n  var identifier = touch.identifier;\n  var touchTrack = touchBank[identifier];\n  if (touchTrack) {\n    reinitializeTouchTrack(touchTrack, touch);\n  } else {\n    touchBank[touch.identifier] = initializeTouchData(touch);\n  }\n  touchHistory.mostRecentTimeStamp = touch.timestamp;\n};\n\nvar recordMoveTouchData = function recordMoveTouchData(touch) {\n  var touchBank = touchHistory.touchBank;\n  var touchTrack = touchBank[touch.identifier];\n  touchTrack.touchActive = true;\n  touchTrack.previousPageX = touchTrack.currentPageX;\n  touchTrack.previousPageY = touchTrack.currentPageY;\n  touchTrack.previousTimeStamp = touchTrack.currentTimeStamp;\n  touchTrack.currentPageX = touch.pageX;\n  touchTrack.currentPageY = touch.pageY;\n  touchTrack.currentTimeStamp = touch.timestamp;\n  touchHistory.mostRecentTimeStamp = touch.timestamp;\n};\n\nvar recordEndTouchData = function recordEndTouchData(touch) {\n  var touchBank = touchHistory.touchBank;\n  var touchTrack = touchBank[touch.identifier];\n  touchTrack.previousPageX = touchTrack.currentPageX;\n  touchTrack.previousPageY = touchTrack.currentPageY;\n  touchTrack.previousTimeStamp = touchTrack.currentTimeStamp;\n  touchTrack.currentPageX = touch.pageX;\n  touchTrack.currentPageY = touch.pageY;\n  touchTrack.currentTimeStamp = touch.timestamp;\n  touchTrack.touchActive = false;\n  touchHistory.mostRecentTimeStamp = touch.timestamp;\n};\n\nfunction toArray(collection) {\n  return collection && Array.prototype.slice.call(collection) || [];\n}\n\nfunction normalizeTouches(touches, nativeEvent) {\n  // Weex is timestamp\n  var timeStamp = nativeEvent.timeStamp || nativeEvent.timestamp;\n\n  return toArray(touches).map(function (touch) {\n    // Cloned touch\n    return {\n      clientX: touch.clientX,\n      clientY: touch.clientY,\n      force: touch.force,\n      // FIXME: In weex android pageX/Y return a error value\n      pageX: touch.screenX,\n      pageY: touch.screenY,\n      radiusX: touch.radiusX,\n      radiusY: touch.radiusY,\n      rotationAngle: touch.rotationAngle,\n      screenX: touch.screenX,\n      screenY: touch.screenY,\n      target: touch.target || nativeEvent.target,\n      timestamp: timeStamp,\n      identifier: touch.identifier || 1 // MouseEvent without identifier\n    };\n  });\n};\n\nvar ResponderTouchHistoryStore = {\n  recordTouchTrack: function recordTouchTrack(topLevelType, nativeEvent) {\n    var touchBank = touchHistory.touchBank;\n    var changedTouches = normalizeTouches(nativeEvent.changedTouches || [nativeEvent], nativeEvent);\n    if (topLevelType === 'move') {\n      changedTouches.forEach(recordMoveTouchData);\n    } else if (topLevelType === 'start') {\n      changedTouches.forEach(recordStartTouchData);\n      touchHistory.numberActiveTouches = changedTouches.length;\n      if (touchHistory.numberActiveTouches === 1) {\n        touchHistory.indexOfSingleActiveTouch = changedTouches[0].identifier;\n      }\n    } else if (topLevelType === 'end') {\n      changedTouches.forEach(recordEndTouchData);\n      touchHistory.numberActiveTouches = changedTouches.length;\n      if (touchHistory.numberActiveTouches === 1) {\n        for (var i in touchBank) {\n          var touchTrackToCheck = touchBank[i];\n          if (touchTrackToCheck != null && touchTrackToCheck.touchActive) {\n            touchHistory.indexOfSingleActiveTouch = i;\n            break;\n          }\n        }\n      }\n    }\n  },\n\n  touchHistory: touchHistory\n};\n\nmodule.exports = ResponderTouchHistoryStore;\n\n//# sourceURL=webpack:///./src/node_modules/universal-panresponder/lib/ResponderTouchHistoryStore.js?");

/***/ }),

/***/ "./src/node_modules/universal-panresponder/lib/TouchHistoryMath.js":
/*!*************************************************************************!*\
  !*** ./src/node_modules/universal-panresponder/lib/TouchHistoryMath.js ***!
  \*************************************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar TouchHistoryMath = {\n  /**\n   * This code is optimized and not intended to look beautiful. This allows\n   * computing of touch centroids that have moved after `touchesChangedAfter`\n   * timeStamp. You can compute the current centroid involving all touches\n   * moves after `touchesChangedAfter`, or you can compute the previous\n   * centroid of all touches that were moved after `touchesChangedAfter`.\n   *\n   * @param {TouchHistoryMath} touchHistory Standard Responder touch track\n   * data.\n   * @param {number} touchesChangedAfter timeStamp after which moved touches\n   * are considered \"actively moving\" - not just \"active\".\n   * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.\n   * @param {boolean} ofCurrent Compute current centroid for actively moving\n   * touches vs. previous centroid of now actively moving touches.\n   * @return {number} value of centroid in specified dimension.\n   */\n  centroidDimension: function centroidDimension(touchHistory, touchesChangedAfter, isXAxis, ofCurrent) {\n    var touchBank = touchHistory.touchBank;\n    var total = 0;\n    var count = 0;\n\n    var oneTouchData = touchHistory.numberActiveTouches === 1 ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch] : null;\n\n    if (oneTouchData !== null) {\n      if (oneTouchData.touchActive && oneTouchData.currentTimeStamp > touchesChangedAfter) {\n        total += ofCurrent && isXAxis ? oneTouchData.currentPageX : ofCurrent && !isXAxis ? oneTouchData.currentPageY : !ofCurrent && isXAxis ? oneTouchData.previousPageX : oneTouchData.previousPageY;\n        count = 1;\n      }\n    } else {\n      for (var i in touchBank) {\n        var touchTrack = touchBank[i];\n        if (touchTrack !== null && touchTrack !== undefined && touchTrack.touchActive && touchTrack.currentTimeStamp >= touchesChangedAfter) {\n          var toAdd; // Yuck, program temporarily in invalid state.\n          if (ofCurrent && isXAxis) {\n            toAdd = touchTrack.currentPageX;\n          } else if (ofCurrent && !isXAxis) {\n            toAdd = touchTrack.currentPageY;\n          } else if (!ofCurrent && isXAxis) {\n            toAdd = touchTrack.previousPageX;\n          } else {\n            toAdd = touchTrack.previousPageY;\n          }\n          total += toAdd;\n          count++;\n        }\n      }\n    }\n    return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n  },\n\n  currentCentroidXOfTouchesChangedAfter: function currentCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n    return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, // isXAxis\n    true // ofCurrent\n    );\n  },\n\n  currentCentroidYOfTouchesChangedAfter: function currentCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n    return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, // isXAxis\n    true // ofCurrent\n    );\n  },\n\n  previousCentroidXOfTouchesChangedAfter: function previousCentroidXOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n    return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, true, // isXAxis\n    false // ofCurrent\n    );\n  },\n\n  previousCentroidYOfTouchesChangedAfter: function previousCentroidYOfTouchesChangedAfter(touchHistory, touchesChangedAfter) {\n    return TouchHistoryMath.centroidDimension(touchHistory, touchesChangedAfter, false, // isXAxis\n    false // ofCurrent\n    );\n  },\n\n  currentCentroidX: function currentCentroidX(touchHistory) {\n    return TouchHistoryMath.centroidDimension(touchHistory, 0, // touchesChangedAfter\n    true, // isXAxis\n    true // ofCurrent\n    );\n  },\n\n  currentCentroidY: function currentCentroidY(touchHistory) {\n    return TouchHistoryMath.centroidDimension(touchHistory, 0, // touchesChangedAfter\n    false, // isXAxis\n    true // ofCurrent\n    );\n  },\n\n  noCentroid: -1\n};\n\nmodule.exports = TouchHistoryMath;\n\n//# sourceURL=webpack:///./src/node_modules/universal-panresponder/lib/TouchHistoryMath.js?");

/***/ }),

/***/ "./src/node_modules/universal-panresponder/lib/index.js":
/*!**************************************************************!*\
  !*** ./src/node_modules/universal-panresponder/lib/index.js ***!
  \**************************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\n\nvar _universalEnv = __webpack_require__(/*! universal-env */ \"./src/node_modules/universal-env/lib/index.js\");\n\nvar _TouchHistoryMath = __webpack_require__(/*! ./TouchHistoryMath */ \"./src/node_modules/universal-panresponder/lib/TouchHistoryMath.js\");\n\nvar _TouchHistoryMath2 = _interopRequireDefault(_TouchHistoryMath);\n\nvar _ResponderTouchHistoryStore = __webpack_require__(/*! ./ResponderTouchHistoryStore */ \"./src/node_modules/universal-panresponder/lib/ResponderTouchHistoryStore.js\");\n\nvar _ResponderTouchHistoryStore2 = _interopRequireDefault(_ResponderTouchHistoryStore);\n\nfunction _interopRequireDefault(obj) {\n  return obj && obj.__esModule ? obj : { default: obj };\n}\n\nvar currentCentroidXOfTouchesChangedAfter = _TouchHistoryMath2.default.currentCentroidXOfTouchesChangedAfter;\nvar currentCentroidYOfTouchesChangedAfter = _TouchHistoryMath2.default.currentCentroidYOfTouchesChangedAfter;\nvar previousCentroidXOfTouchesChangedAfter = _TouchHistoryMath2.default.previousCentroidXOfTouchesChangedAfter;\nvar previousCentroidYOfTouchesChangedAfter = _TouchHistoryMath2.default.previousCentroidYOfTouchesChangedAfter;\nvar currentCentroidX = _TouchHistoryMath2.default.currentCentroidX;\nvar currentCentroidY = _TouchHistoryMath2.default.currentCentroidY;\n\n/**\n * `PanResponder` reconciles several touches into a single gesture. It makes\n * single-touch gestures resilient to extra touches, and can be used to\n * recognize simple multi-touch gestures.\n *\n * By default, `PanResponder` holds an `InteractionManager handle to block\n * long-running JS events from interrupting active gestures.\n *\n * It provides a predictable wrapper of the responder handlers provided by the\n * [gesture responder system](docs/gesture-responder-system.html).\n * For each handler, it provides a new `gestureState` object alongside the\n * native event object:\n *\n * ```\n * onPanResponderMove: (event, gestureState) => {}\n * ```\n *\n * A native event is a synthetic touch event with the following form:\n *\n *  - `nativeEvent`\n *      + `changedTouches` - Array of all touch events that have changed since the last event\n *      + `identifier` - The ID of the touch\n *      + `locationX` - The X position of the touch, relative to the element\n *      + `locationY` - The Y position of the touch, relative to the element\n *      + `pageX` - The X position of the touch, relative to the root element\n *      + `pageY` - The Y position of the touch, relative to the root element\n *      + `target` - The node id of the element receiving the touch event\n *      + `timestamp` - A time identifier for the touch, useful for velocity calculation\n *      + `touches` - Array of all current touches on the screen\n *\n * A `gestureState` object has the following:\n *\n *  - `stateID` - ID of the gestureState- persisted as long as there at least\n *     one touch on screen\n *  - `moveX` - the latest screen coordinates of the recently-moved touch\n *  - `moveY` - the latest screen coordinates of the recently-moved touch\n *  - `x0` - the screen coordinates of the responder grant\n *  - `y0` - the screen coordinates of the responder grant\n *  - `dx` - accumulated distance of the gesture since the touch started\n *  - `dy` - accumulated distance of the gesture since the touch started\n *  - `vx` - current velocity of the gesture\n *  - `vy` - current velocity of the gesture\n *  - `numberActiveTouches` - Number of touches currently on screen\n *\n * ### Basic Usage\n *\n * ```\n *   componentWillMount: function() {\n *     this._panResponder = PanResponder.create({\n *       // Ask to be the responder:\n *       onStartShouldSetPanResponder: (evt, gestureState) => true,\n *       onStartShouldSetPanResponderCapture: (evt, gestureState) => true,\n *       onMoveShouldSetPanResponder: (evt, gestureState) => true,\n *       onMoveShouldSetPanResponderCapture: (evt, gestureState) => true,\n *\n *       onPanResponderGrant: (evt, gestureState) => {\n *         // The guesture has started. Show visual feedback so the user knows\n *         // what is happening!\n *\n *         // gestureState.{x,y}0 will be set to zero now\n *       },\n *       onPanResponderMove: (evt, gestureState) => {\n *         // The most recent move distance is gestureState.move{X,Y}\n *\n *         // The accumulated gesture distance since becoming responder is\n *         // gestureState.d{x,y}\n *       },\n *       onPanResponderTerminationRequest: (evt, gestureState) => true,\n *       onPanResponderRelease: (evt, gestureState) => {\n *         // The user has released all touches while this view is the\n *         // responder. This typically means a gesture has succeeded\n *       },\n *       onPanResponderTerminate: (evt, gestureState) => {\n *         // Another component has become the responder, so this gesture\n *         // should be cancelled\n *       },\n *       onShouldBlockNativeResponder: (evt, gestureState) => {\n *         // Returns whether this component should block native components from becoming the JS\n *         // responder. Returns true by default. Is currently only supported on android.\n *         return true;\n *       },\n *     });\n *   },\n *\n *   render: function() {\n *     return (\n *       <View {...this._panResponder.panHandlers} />\n *     );\n *   },\n *\n * ```\n *\n * ### Working Example\n *\n * To see it in action, try the\n * [PanResponder example in UIExplorer](https://github.com/facebook/react-native/blob/master/Examples/UIExplorer/PanResponderExample.js)\n */\n\nvar PanResponder = {\n\n  /**\n   *\n   * A graphical explanation of the touch data flow:\n   *\n   * +----------------------------+             +--------------------------------+\n   * | ResponderTouchHistoryStore |             |TouchHistoryMath                |\n   * +----------------------------+             +----------+---------------------+\n   * |Global store of touchHistory|             |Allocation-less math util       |\n   * |including activeness, start |             |on touch history (centroids     |\n   * |position, prev/cur position.|             |and multitouch movement etc)    |\n   * |                            |             |                                |\n   * +----^-----------------------+             +----^---------------------------+\n   *      |                                          |\n   *      | (records relevant history                |\n   *      |  of touches relevant for                 |\n   *      |  implementing higher level               |\n   *      |  gestures)                               |\n   *      |                                          |\n   * +----+-----------------------+             +----|---------------------------+\n   * | ResponderEventPlugin       |             |    |   Your App/Component      |\n   * +----------------------------+             +----|---------------------------+\n   * |Negotiates which view gets  | Low level   |    |             High level    |\n   * |onResponderMove events.     | events w/   |  +-+-------+     events w/     |\n   * |Also records history into   | touchHistory|  |   Pan   |     multitouch +  |\n   * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|\n   * +----------------------------+ attached to |  |         |     distance and  |\n   *                                 each event |  +---------+     velocity.     |\n   *                                            |                                |\n   *                                            |                                |\n   *                                            +--------------------------------+\n   *\n   *\n   *\n   * Gesture that calculates cumulative movement over time in a way that just\n   * \"does the right thing\" for multiple touches. The \"right thing\" is very\n   * nuanced. When moving two touches in opposite directions, the cumulative\n   * distance is zero in each dimension. When two touches move in parallel five\n   * pixels in the same direction, the cumulative distance is five, not ten. If\n   * two touches start, one moves five in a direction, then stops and the other\n   * touch moves fives in the same direction, the cumulative distance is ten.\n   *\n   * This logic requires a kind of processing of time \"clusters\" of touch events\n   * so that two touch moves that essentially occur in parallel but move every\n   * other frame respectively, are considered part of the same movement.\n   *\n   * Explanation of some of the non-obvious fields:\n   *\n   * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is\n   *   invalid. If a move event has been observed, `(moveX, moveY)` is the\n   *   centroid of the most recently moved \"cluster\" of active touches.\n   *   (Currently all move have the same timeStamp, but later we should add some\n   *   threshold for what is considered to be \"moving\"). If a palm is\n   *   accidentally counted as a touch, but a finger is moving greatly, the palm\n   *   will move slightly, but we only want to count the single moving touch.\n   * - x0/y0: Centroid location (non-cumulative) at the time of becoming\n   *   responder.\n   * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch\n   *   distance. Accounts for touch moves that are clustered together in time,\n   *   moving the same direction. Only valid when currently responder (otherwise,\n   *   it only represents the drag distance below the threshold).\n   * - vx/vy: Velocity.\n   */\n\n  _initializeGestureState: function _initializeGestureState(gestureState) {\n    gestureState.moveX = 0;\n    gestureState.moveY = 0;\n    gestureState.x0 = 0;\n    gestureState.y0 = 0;\n    gestureState.dx = 0;\n    gestureState.dy = 0;\n    gestureState.vx = 0;\n    gestureState.vy = 0;\n    gestureState.numberActiveTouches = 0;\n    // All `gestureState` accounts for timeStamps up until:\n    gestureState._accountsForMovesUpTo = 0;\n  },\n\n  /**\n   * This is nuanced and is necessary. It is incorrect to continuously take all\n   * active *and* recently moved touches, find the centroid, and track how that\n   * result changes over time. Instead, we must take all recently moved\n   * touches, and calculate how the centroid has changed just for those\n   * recently moved touches, and append that change to an accumulator. This is\n   * to (at least) handle the case where the user is moving three fingers, and\n   * then one of the fingers stops but the other two continue.\n   *\n   * This is very different than taking all of the recently moved touches and\n   * storing their centroid as `dx/dy`. For correctness, we must *accumulate\n   * changes* in the centroid of recently moved touches.\n   *\n   * There is also some nuance with how we handle multiple moved touches in a\n   * single event. With the way `ReactNativeEventEmitter` dispatches touches as\n   * individual events, multiple touches generate two 'move' events, each of\n   * them triggering `onResponderMove`. But with the way `PanResponder` works,\n   * all of the gesture inference is performed on the first dispatch, since it\n   * looks at all of the touches (even the ones for which there hasn't been a\n   * native dispatch yet). Therefore, `PanResponder` does not call\n   * `onResponderMove` passed the first dispatch. This diverges from the\n   * typical responder callback pattern (without using `PanResponder`), but\n   * avoids more dispatches than necessary.\n   */\n  _updateGestureStateOnMove: function _updateGestureStateOnMove(gestureState, touchHistory) {\n    gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n    gestureState.moveX = currentCentroidXOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);\n    gestureState.moveY = currentCentroidYOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);\n    var movedAfter = gestureState._accountsForMovesUpTo;\n    var prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n    var x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n    var prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n    var y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n    var nextDX = gestureState.dx + (x - prevX);\n    var nextDY = gestureState.dy + (y - prevY);\n\n    // TODO: This must be filtered intelligently.\n    var dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;\n    gestureState.vx = (nextDX - gestureState.dx) / dt;\n    gestureState.vy = (nextDY - gestureState.dy) / dt;\n\n    gestureState.dx = nextDX;\n    gestureState.dy = nextDY;\n    gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;\n  },\n\n  /**\n   * @param {object} config Enhanced versions of all of the responder callbacks\n   * that provide not only the typical `ResponderSyntheticEvent`, but also the\n   * `PanResponder` gesture state.  Simply replace the word `Responder` with\n   * `PanResponder` in each of the typical `onResponder*` callbacks. For\n   * example, the `config` object would look like:\n   *\n   *  - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`\n   *  - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`\n   *  - `onStartShouldSetPanResponder: (e, gestureState) => {...}`\n   *  - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`\n   *  - `onPanResponderReject: (e, gestureState) => {...}`\n   *  - `onPanResponderGrant: (e, gestureState) => {...}`\n   *  - `onPanResponderStart: (e, gestureState) => {...}`\n   *  - `onPanResponderEnd: (e, gestureState) => {...}`\n   *  - `onPanResponderRelease: (e, gestureState) => {...}`\n   *  - `onPanResponderMove: (e, gestureState) => {...}`\n   *  - `onPanResponderTerminate: (e, gestureState) => {...}`\n   *  - `onPanResponderTerminationRequest: (e, gestureState) => {...}`\n   *  - `onShouldBlockNativeResponder: (e, gestureState) => {...}`\n   *\n   *  In general, for events that have capture equivalents, we update the\n   *  gestureState once in the capture phase and can use it in the bubble phase\n   *  as well.\n   *\n   *  Be careful with onStartShould* callbacks. They only reflect updated\n   *  `gestureState` for start/end events that bubble/capture to the Node.\n   *  Once the node is the responder, you can rely on every start/end event\n   *  being processed by the gesture and `gestureState` being updated\n   *  accordingly. (numberActiveTouches) may not be totally accurate unless you\n   *  are the responder.\n   */\n  create: function create(config) {\n    var gestureState = {\n      // Useful for debugging\n      stateID: Math.random()\n    };\n    PanResponder._initializeGestureState(gestureState);\n\n    var setHandlers = {\n      // Ask to be the responder:\n      onStartShouldSetResponder: function onStartShouldSetResponder(e) {\n        return config.onStartShouldSetPanResponder === undefined ? false : config.onStartShouldSetPanResponder(e, gestureState);\n      },\n      onMoveShouldSetResponder: function onMoveShouldSetResponder(e) {\n        return config.onMoveShouldSetPanResponder === undefined ? false : config.onMoveShouldSetPanResponder(e, gestureState);\n      },\n      onStartShouldSetResponderCapture: function onStartShouldSetResponderCapture(e) {\n        // TODO: Actually, we should reinitialize the state any time\n        // touches.length increases from 0 active to > 0 active.\n        if (e.nativeEvent.touches.length === 1) {\n          PanResponder._initializeGestureState(gestureState);\n        }\n        gestureState.numberActiveTouches = _ResponderTouchHistoryStore2.default.touchHistory.numberActiveTouches;\n        return config.onStartShouldSetPanResponderCapture !== undefined ? config.onStartShouldSetPanResponderCapture(e, gestureState) : false;\n      },\n\n      onMoveShouldSetResponderCapture: function onMoveShouldSetResponderCapture(e) {\n        var touchHistory = _ResponderTouchHistoryStore2.default.touchHistory;\n        // Responder system incorrectly dispatches should* to current responder\n        // Filter out any touch moves past the first one - we would have\n        // already processed multi-touch geometry during the first event.\n        if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {\n          return false;\n        }\n        PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n        return config.onMoveShouldSetPanResponderCapture ? config.onMoveShouldSetPanResponderCapture(e, gestureState) : false;\n      }\n    };\n\n    var responderHandlers = {\n      onResponderGrant: function onResponderGrant(e) {\n        gestureState.x0 = currentCentroidX(_ResponderTouchHistoryStore2.default.touchHistory);\n        gestureState.y0 = currentCentroidY(_ResponderTouchHistoryStore2.default.touchHistory);\n        gestureState.dx = 0;\n        gestureState.dy = 0;\n        if (config.onPanResponderGrant) {\n          config.onPanResponderGrant(e, gestureState);\n        }\n        // TODO: t7467124 investigate if this can be removed\n        return config.onShouldBlockNativeResponder === undefined ? true : config.onShouldBlockNativeResponder();\n      },\n\n      onResponderReject: function onResponderReject(e) {\n        config.onPanResponderReject && config.onPanResponderReject(e, gestureState);\n      },\n\n      onResponderRelease: function onResponderRelease(e) {\n        config.onPanResponderRelease && config.onPanResponderRelease(e, gestureState);\n        PanResponder._initializeGestureState(gestureState);\n      },\n\n      onResponderTerminate: function onResponderTerminate(e) {\n        config.onPanResponderTerminate && config.onPanResponderTerminate(e, gestureState);\n        PanResponder._initializeGestureState(gestureState);\n      },\n\n      onResponderTerminationRequest: function onResponderTerminationRequest(e) {\n        return config.onPanResponderTerminationRequest === undefined ? true : config.onPanResponderTerminationRequest(e, gestureState);\n      }\n    };\n\n    // Track for mouse event\n    var isPanStart = false;\n\n    // Default\n    var panHandlers = {\n      onTouchStart: function onTouchStart(e) {\n        isPanStart = true;\n\n        _ResponderTouchHistoryStore2.default.recordTouchTrack('start', e);\n\n        responderHandlers.onResponderGrant(e);\n\n        var touchHistory = _ResponderTouchHistoryStore2.default.touchHistory;\n        gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n\n        if (!setHandlers.onStartShouldSetResponder(e)) {\n          return responderHandlers.onResponderReject(e);\n        }\n\n        if (config.onPanResponderStart) {\n          config.onPanResponderStart(e, gestureState);\n        }\n      },\n\n      onTouchMove: function onTouchMove(e) {\n        if (!isPanStart) return;\n\n        _ResponderTouchHistoryStore2.default.recordTouchTrack('move', e);\n\n        var touchHistory = _ResponderTouchHistoryStore2.default.touchHistory;\n\n        // Guard against the dispatch of two touch moves when there are two\n        // simultaneously changed touches.\n        if (gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp) {\n          return;\n        }\n\n        // Filter out any touch moves past the first one - we would have\n        // already processed multi-touch geometry during the first event.\n        PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n\n        if (!setHandlers.onMoveShouldSetResponder(e)) {\n          return;\n        }\n\n        if (config.onPanResponderMove) {\n          config.onPanResponderMove(e, gestureState);\n        }\n      },\n\n      onTouchEnd: function onTouchEnd(e) {\n        isPanStart = false;\n\n        _ResponderTouchHistoryStore2.default.recordTouchTrack('end', e);\n\n        var touchHistory = _ResponderTouchHistoryStore2.default.touchHistory;\n        gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n\n        if (config.onPanResponderEnd) {\n          config.onPanResponderEnd(e, gestureState);\n        }\n\n        responderHandlers.onResponderRelease(e);\n      }\n    };\n\n    if (_universalEnv.isWeb) {\n      if ('ontouchstart' in window) {\n        panHandlers = {\n          onTouchStart: panHandlers.onTouchStart,\n          onTouchMove: panHandlers.onTouchMove,\n          onTouchEnd: panHandlers.onTouchEnd\n        };\n      } else {\n        panHandlers = {\n          onMouseDown: panHandlers.onTouchStart,\n          onMouseMove: panHandlers.onTouchMove,\n          onMouseUp: panHandlers.onTouchEnd\n        };\n      }\n    }\n\n    return { panHandlers: panHandlers };\n  }\n};\n\nmodule.exports = PanResponder;\n\n//# sourceURL=webpack:///./src/node_modules/universal-panresponder/lib/index.js?");

/***/ }),

/***/ 0:
/*!************************!*\
  !*** multi ./index.js ***!
  \************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! ./index.js */\"./index.js\");\n\n\n//# sourceURL=webpack:///multi_./index.js?");

/***/ }),

/***/ "@weex-module/animation":
/*!*****************************************!*\
  !*** external "@weex-module/animation" ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("module.exports = require(\"@weex-module/animation\");\n\n//# sourceURL=webpack:///external_%22@weex-module/animation%22?");

/***/ }),

/***/ "@weex-module/dom":
/*!***********************************!*\
  !*** external "@weex-module/dom" ***!
  \***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("module.exports = require(\"@weex-module/dom\");\n\n//# sourceURL=webpack:///external_%22@weex-module/dom%22?");

/***/ }),

/***/ "@weex-module/expressionBinding":
/*!*************************************************!*\
  !*** external "@weex-module/expressionBinding" ***!
  \*************************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("module.exports = require(\"@weex-module/expressionBinding\");\n\n//# sourceURL=webpack:///external_%22@weex-module/expressionBinding%22?");

/***/ }),

/***/ "@weex-module/modal":
/*!*************************************!*\
  !*** external "@weex-module/modal" ***!
  \*************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("module.exports = require(\"@weex-module/modal\");\n\n//# sourceURL=webpack:///external_%22@weex-module/modal%22?");

/***/ }),

/***/ "@weex-module/navigator":
/*!*****************************************!*\
  !*** external "@weex-module/navigator" ***!
  \*****************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("module.exports = require(\"@weex-module/navigator\");\n\n//# sourceURL=webpack:///external_%22@weex-module/navigator%22?");

/***/ }),

/***/ "@weex-module/picker":
/*!**************************************!*\
  !*** external "@weex-module/picker" ***!
  \**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("module.exports = require(\"@weex-module/picker\");\n\n//# sourceURL=webpack:///external_%22@weex-module/picker%22?");

/***/ }),

/***/ "rax":
/*!**********************!*\
  !*** external "rax" ***!
  \**********************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports) {

eval("module.exports = require(\"rax\");\n\n//# sourceURL=webpack:///external_%22rax%22?");

/***/ })

/******/ })});;