text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"100":function(e,t,n){(e.exports=n(12)(!1)).push([e.i,"button {\n  position: relative;\n  display: block;\n  width: 100%;\n  margin-left: auto;\n  margin-right: auto;\n  padding-left: 14px;\n  padding-right: 14px;\n  box-sizing: border-box;\n  font-size: 18px;\n  text-align: center;\n  text-decoration: none;\n  line-height: 2.55555556;\n  border-radius: 5px;\n  -webkit-tap-highlight-color: transparent;\n  overflow: hidden;\n  color: #000000;\n  background-color: #F8F8F8;\n}\n\nbutton[plain] {\n  color: #353535;\n  border: 1px solid #353535;\n  background-color: transparent;\n}\n\nbutton[plain][disabled] {\n  color: rgba(0, 0, 0, 0.3);\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  background-color: #F7F7F7;\n}\n\nbutton[type=primary] {\n  color: #FFFFFF;\n  background-color: #1AAD19;\n}\n\nbutton[type=primary][plain] {\n  color: #1aad19;\n  border: 1px solid #1aad19;\n  background-color: transparent;\n}\n\nbutton[type=primary][plain][disabled] {\n  color: rgba(0, 0, 0, 0.3);\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  background-color: #F7F7F7;\n}",""])},"101":function(e,t,n){var o=n(100);"string"==typeof o&&(o=[[e.i,o,""]]);var r={"sourceMap":!1,"insertAt":"top","hmr":!0,"transform":void 0,"insertInto":void 0};n(11)(o,r);o.locals&&(e.exports=o.locals)},"113":function(e,t,n){(e.exports=n(12)(!1)).push([e.i,".taro-text {\n  -moz-user-select: none;\n  -webkit-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n\n.taro-text__selectable {\n  -moz-user-select: text;\n  -webkit-user-select: text;\n  -ms-user-select: text;\n  user-select: text;\n}",""])},"114":function(e,t,n){var o=n(113);"string"==typeof o&&(o=[[e.i,o,""]]);var r={"sourceMap":!1,"insertAt":"top","hmr":!0,"transform":void 0,"insertInto":void 0};n(11)(o,r);o.locals&&(e.exports=o.locals)},"115":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"116":function(e,t,n){"use strict";var o=n(115);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function getShim(){return shim}shim.isRequired=shim;var e={"array":shim,"bool":shim,"func":shim,"number":shim,"object":shim,"string":shim,"symbol":shim,"any":shim,"arrayOf":getShim,"element":shim,"elementType":shim,"instanceOf":getShim,"node":shim,"objectOf":getShim,"oneOf":getShim,"oneOfType":getShim,"shape":getShim,"exact":getShim,"checkPropTypes":emptyFunctionWithReset,"resetWarningCache":emptyFunction};return e.PropTypes=e,e}},"120":function(e,t,n){"use strict";n(4);var o=n(0),r=n.n(o),i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();var a=function(e){function Form(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Form);var e=function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Form.__proto__||Object.getPrototypeOf(Form)).apply(this,arguments));return e.Forms=[],e.onSubmit=e.onSubmit.bind(e),e.onReset=e.onReset.bind(e),e}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Form,r.a.Component),i(Form,[{"key":"onSubmit","value":function onSubmit(e){e.preventDefault();for(var t=r.a.findDOMNode(this),n=[],o=t.getElementsByTagName("input"),i=0;i<o.length;i++)n.push(o[i]);var a={},s={};n.forEach(function(e){-1===e.className.indexOf("weui-switch")?"radio"!==e.type?"checkbox"!==e.type?a[e.name]=e.value:e.checked?s[e.name]?a[e.name].push(e.value):(s[e.name]=!0,a[e.name]=[e.value]):s[e.name]||(a[e.name]=[]):e.checked?(s[e.name]=!0,a[e.name]=e.value):s[e.name]||(a[e.name]=""):a[e.name]=e.checked});for(var u=t.getElementsByTagName("textarea"),c=[],p=0;p<u.length;p++)c.push(u[p]);c.forEach(function(e){a[e.name]=e.value}),Object.defineProperty(e,"detail",{"enumerable":!0,"value":{"value":a}}),this.props.onSubmit(e)}},{"key":"onReset","value":function onReset(e){e.preventDefault(),this.props.onReset()}},{"key":"render","value":function render(){var e=this.props,t=e.className,n=e.style;return r.a.createElement("form",{"className":t,"style":n,"onSubmit":this.onSubmit,"onReset":this.onReset},this.props.children)}}]),Form}();t.a=a},"123":function(e,t,n){"use strict";n(4);var o=n(0),r=n.n(o),i=n(13),a=n.n(i),s=n(3),u=n.n(s),c=(n(114),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}),p=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();var l=function(e){function Text(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Text),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Text.__proto__||Object.getPrototypeOf(Text)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Text,r.a.Component),p(Text,[{"key":"render","value":function render(){var e=this.props,t=e.className,n=e.selectable,o=void 0!==n&&n,i=u()("taro-text",{"taro-text__selectable":o},t);return r.a.createElement("span",c({},a()(this.props,["selectable","className"]),{"className":i}),this.props.children)}}]),Text}();t.a=l},"27":function(e,t,n){"use strict";var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(26),u=(n(4),n(13)),c=n.n(u),p=n(3),l=n.n(p),f=(n(101),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}),b=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{"value":n,"enumerable":!0,"configurable":!0,"writable":!0}):e[t]=n,e}var h=function(e){function Button(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Button);var e=function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(Button.__proto__||Object.getPrototypeOf(Button)).apply(this,arguments));return e.state={"hover":!1,"touch":!1},e}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(Button,a.a.Component),b(Button,[{"key":"render","value":function render(){var e,t=this,n=this.props,o=n.children,r=n.disabled,i=n.className,s=n.style,u=n.onClick,p=n.onTouchStart,b=n.onTouchEnd,h=n.hoverClass,m=void 0===h?"button-hover":h,y=n.hoverStartTime,d=void 0===y?20:y,g=n.hoverStayTime,v=void 0===g?70:g,_=n.size,P=n.plain,O=n.loading,w=void 0!==O&&O,E=n.type,C=void 0===E?"default":E,T=i||l()("weui-btn",(_defineProperty(e={},""+m,this.state.hover&&!r),_defineProperty(e,"weui-btn_plain-"+C,P),_defineProperty(e,"weui-btn_"+C,!P&&C),_defineProperty(e,"weui-btn_mini","mini"===_),_defineProperty(e,"weui-btn_loading",w),_defineProperty(e,"weui-btn_disabled",r),e));return a.a.createElement("button",f({},c()(this.props,["hoverClass","onTouchStart","onTouchEnd"]),{"className":T,"style":s,"onClick":u,"disabled":r,"onTouchStart":function _onTouchStart(e){t.setState(function(){return{"touch":!0}}),m&&!r&&setTimeout(function(){t.state.touch&&t.setState(function(){return{"hover":!0}})},d),p&&p(e)},"onTouchEnd":function _onTouchEnd(e){t.setState(function(){return{"touch":!1}}),m&&!r&&setTimeout(function(){t.state.touch||t.setState(function(){return{"hover":!1}})},v),b&&b(e)}}),w&&a.a.createElement("i",{"class":"weui-loading"}),o)}}]),Button}(),m=n(120),y=n(82),d=n.n(y),g=n(93),v=n(81);n.d(t,"a",function(){return w});var _=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();function button_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{"value":n,"enumerable":!0,"configurable":!0,"writable":!0}):e[t]=n,e}var P={"normal":"normal","small":"small"},O={"primary":"primary","secondary":"secondary"},w=function(e){function AtButton(){!function button_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,AtButton);var e=function button_possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(AtButton.__proto__||Object.getPrototypeOf(AtButton)).apply(this,arguments));return e.state={"isWEB":r.a.getEnv()===r.a.ENV_TYPE.WEB,"isWEAPP":r.a.getEnv()===r.a.ENV_TYPE.WEAPP,"isALIPAY":r.a.getEnv()===r.a.ENV_TYPE.ALIPAY},e}return function button_inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(AtButton,v["a"]),_(AtButton,[{"key":"onClick","value":function onClick(){var e;this.props.disabled||this.props.onClick&&(e=this.props).onClick.apply(e,arguments)}},{"key":"onGetUserInfo","value":function onGetUserInfo(){var e;this.props.onGetUserInfo&&(e=this.props).onGetUserInfo.apply(e,arguments)}},{"key":"onContact","value":function onContact(){var e;this.props.onContact&&(e=this.props).onContact.apply(e,arguments)}},{"key":"onGetPhoneNumber","value":function onGetPhoneNumber(){var e;this.props.onGetPhoneNumber&&(e=this.props).onGetPhoneNumber.apply(e,arguments)}},{"key":"onError","value":function onError(){var e;this.props.onError&&(e=this.props).onError.apply(e,arguments)}},{"key":"onOpenSetting","value":function onOpenSetting(){var e;this.props.onOpenSetting&&(e=this.props).onOpenSetting.apply(e,arguments)}},{"key":"onSumit","value":function onSumit(){this.state.isWEAPP&&this.$scope.triggerEvent("submit",arguments[0].detail,{"bubbles":!0,"composed":!0})}},{"key":"onReset","value":function onReset(){this.state.isWEAPP&&this.$scope.triggerEvent("reset",arguments[0].detail,{"bubbles":!0,"composed":!0})}},{"key":"render","value":function render(){var e,t=this.props,n=t.size,o=void 0===n?"normal":n,r=t.type,i=void 0===r?"":r,u=t.circle,c=t.full,p=t.loading,f=t.disabled,b=t.customStyle,y=t.formType,d=t.openType,v=t.lang,_=t.sessionFrom,w=t.sendMessageTitle,E=t.sendMessagePath,C=t.sendMessageImg,T=t.showMessageCard,k=t.appParameter,S=this.state,j=S.isWEAPP,x=S.isALIPAY,A=["at-button"],F=(button_defineProperty(e={},"at-button--"+P[o],P[o]),button_defineProperty(e,"at-button--disabled",f),button_defineProperty(e,"at-button--"+i,O[i]),button_defineProperty(e,"at-button--circle",u),button_defineProperty(e,"at-button--full",c),e),N="primary"===i?"#fff":"",R="small"===o?"30":0,I=void 0;p&&(I=a.a.createElement(s.a,{"className":"at-button__icon"},a.a.createElement(g.a,{"color":N,"size":R})),A.push("at-button--icon"));var B=a.a.createElement(h,{"className":"at-button__wxbutton","formType":y,"openType":d,"lang":v,"sessionFrom":_,"sendMessageTitle":w,"sendMessagePath":E,"sendMessageImg":C,"showMessageCard":T,"appParameter":k,"onGetUserInfo":this.onGetUserInfo.bind(this),"onGetPhoneNumber":this.onGetPhoneNumber.bind(this),"onOpenSetting":this.onOpenSetting.bind(this),"onError":this.onError.bind(this),"onContact":this.onContact.bind(this)});return a.a.createElement(s.a,{"className":l()(A,F,this.props.className),"style":b,"onClick":this.onClick.bind(this)},j&&!f&&a.a.createElement(m.a,{"reportSubmit":!0,"onSubmit":this.onSumit.bind(this),"onReset":this.onReset.bind(this)},B),x&&!f&&B,I,a.a.createElement(s.a,{"className":"at-button__text"},this.props.children))}}]),AtButton}();w.defaultProps={"size":"normal","type":"","circle":!1,"full":!1,"loading":!1,"disabled":!1,"customStyle":{},"onClick":function onClick(){},"formType":"","openType":"","lang":"en","sessionFrom":"","sendMessageTitle":"","sendMessagePath":"","sendMessageImg":"","showMessageCard":!1,"appParameter":"","onGetUserInfo":function onGetUserInfo(){},"onContact":function onContact(){},"onGetPhoneNumber":function onGetPhoneNumber(){},"onError":function onError(){},"onOpenSetting":function onOpenSetting(){}},w.propTypes={"size":d.a.oneOf(["normal","small"]),"type":d.a.oneOf(["primary","secondary",""]),"circle":d.a.bool,"full":d.a.bool,"loading":d.a.bool,"disabled":d.a.bool,"onClick":d.a.func,"customStyle":d.a.oneOfType([d.a.object,d.a.string]),"formType":d.a.oneOf(["submit","reset",""]),"openType":d.a.oneOf(["contact","share","getUserInfo","getPhoneNumber","launchApp","openSetting","feedback","getRealnameAuthInfo",""]),"lang":d.a.string,"sessionFrom":d.a.string,"sendMessageTitle":d.a.string,"sendMessagePath":d.a.string,"sendMessageImg":d.a.string,"showMessageCard":d.a.bool,"appParameter":d.a.string,"onGetUserInfo":d.a.func,"onContact":d.a.func,"onGetPhoneNumber":d.a.func,"onError":d.a.func,"onOpenSetting":d.a.func}},"81":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var o,r,i=n(1),a=n.n(i),s=(n(0),function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}()),u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var c=function objectToString(e){if(e&&"object"===(void 0===e?"undefined":u(e))){var t="";return Object.keys(e).forEach(function(n){var o=n.replace(/([A-Z])/g,"-$1").toLowerCase();t+=o+":"+e[n]+";"}),t}return e&&"string"==typeof e?e:""},p=(r=o=function(e){function AtComponent(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,AtComponent),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(AtComponent.__proto__||Object.getPrototypeOf(AtComponent)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(AtComponent,a.a.Component),s(AtComponent,[{"key":"mergeStyle","value":function mergeStyle(e,t){return e&&"object"===(void 0===e?"undefined":u(e))&&t&&"object"===(void 0===t?"undefined":u(t))?Object.assign({},e,t):c(e)+c(t)}}]),AtComponent}(),o.options={"addGlobalClass":!0},r)},"82":function(e,t,n){e.exports=n(116)()},"93":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(82),u=n.n(s),c=n(26),p=n(81),l=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();var f=function(e){function AtLoading(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,AtLoading),function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(AtLoading.__proto__||Object.getPrototypeOf(AtLoading)).apply(this,arguments))}return function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{"constructor":{"value":e,"enumerable":!1,"writable":!0,"configurable":!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(AtLoading,p["a"]),l(AtLoading,[{"key":"render","value":function render(){var e=this.props,t=e.color,n=e.size,o={"width":n?""+r.a.pxTransform(parseInt(n)):"","height":n?""+r.a.pxTransform(parseInt(n)):""},i={"border":t?"1px solid "+t:"","border-color":t?t+" transparent transparent transparent":""},s=Object.assign({},i,o);return a.a.createElement(c.a,{"className":"at-loading","style":o},a.a.createElement(c.a,{"className":"at-loading__ring","style":s}),a.a.createElement(c.a,{"className":"at-loading__ring","style":s}),a.a.createElement(c.a,{"className":"at-loading__ring","style":s}))}}]),AtLoading}();f.defaultProps={"size":0,"color":""},f.propTypes={"size":u.a.oneOfType([u.a.string,u.a.number]),"color":u.a.oneOfType([u.a.string,u.a.number])}}}]);