(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{1159:function(e,t,n){"use strict";n.r(t);var a=n(3),i=n(5),s=n(4),c=n(6),o=n(7),r=n(0),u=n.n(r),l=n(20),p=n(2),b=n(35),d=n.n(b),m=(n(588),function(e){function t(e){var n;return Object(a.a)(this,t),(n=Object(s.a)(this,Object(c.a)(t).call(this,e))).getGift=function(){n.props.user.hasError?n.props.history.push("/passport",{from:n.props.location.pathname}):n.props.history.push("/blessingPreheat")},n.state={butText:"\u7acb\u5373\u9886\u53d6"},n}return Object(o.a)(t,e),Object(i.a)(t,[{key:"componentWillMount",value:function(){d.a.set("blessing_invite_uid",Object(p.c)("shareuid"),{domain:".julyedu.com",expires:30}),d.a.set("blessing_invite_code",Object(p.c)("inviteCode"),{domain:".julyedu.com",expires:30}),d.a.get("uid")&&this.setState(function(){return{butText:"\u5df2\u9886\u53d6\uff0c\u53bb\u4f7f\u7528"}})}},{key:"render",value:function(){var e=this.state.butText;return u.a.createElement("div",{className:"activity__con"},u.a.createElement("div",{className:"banner__con"}),u.a.createElement("div",{className:"content__con"},u.a.createElement("div",{className:"button__get",onClick:this.getGift},e)))}}]),t}(r.Component));t.default=Object(l.b)(function(e){return{user:e.user}},null)(m)},588:function(e,t,n){}}]);
//# sourceMappingURL=Activity.17574bb2.chunk.js.map