webpackJsonp([50],{2161:function(e,t,a){"use strict";(function(e){function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(6),n=l(r),i=a(4),o=l(i),u=a(5),s=l(u),c=a(7),d=l(c),f=a(8),m=l(f),v=a(2),p=l(v),E=a(1),h=l(E),_=a(17),g=a(41),y=a(69),b=a(2096),w=l(b),N=a(2097),M=l(N),k=a(237),S=l(k),q=function(t){function a(e){(0,o.default)(this,a);var t=(0,d.default)(this,(a.__proto__||(0,n.default)(a)).call(this,e));return t.state={verifyStatus:"pending",serverError:""},t}return(0,m.default)(a,t),(0,s.default)(a,[{key:"componentWillMount",value:function(){var e=this;(0,y.verifyEmail)(this.props.location.query.token,function(){g.browserHistory.push("/login?extra=verified&email="+encodeURIComponent(e.props.location.query.email))},function(t){var a=void 0;t&&(a=h.default.createElement(_.FormattedMessage,{id:"signup_user_completed.invalid_invite",defaultMessage:"The invite link was invalid.  Please speak with your Administrator to receive an invitation."})),e.setState({verifyStatus:"failure",serverError:a})})}},{key:"render",value:function(){if("failure"!==this.state.verifyStatus)return h.default.createElement(S.default,null);var t=null;return this.state.serverError&&(t=h.default.createElement("div",{className:"form-group has-error"},h.default.createElement("label",{className:"control-label"},this.state.serverError))),h.default.createElement("div",null,h.default.createElement(M.default,null),h.default.createElement("div",{className:"col-sm-12"},h.default.createElement("div",{className:"signup-team__container"},h.default.createElement("img",{className:"signup-team-logo",src:w.default}),h.default.createElement("div",{className:"signup__content"},h.default.createElement("h1",null,e.window.mm_config.SiteName),h.default.createElement("h4",{className:"color--light"},h.default.createElement(_.FormattedMessage,{id:"web.root.signup_info",defaultMessage:"All team communication in one place, searchable and accessible anywhere"})),t))))}}]),a}(h.default.Component);t.default=q,q.defaultProps={location:{}},q.propTypes={location:p.default.object.isRequired}}).call(t,a(22))}});
//# sourceMappingURL=50.c0aab118bb2eb789c363.js.map