(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{2681:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a(285),n=a(96),s=function(e){return e&&e.__esModule?e:{default:e}}(a(2682));t.default=(0,l.connect)(function(e){return{siteName:(0,n.getConfig)(e).SiteName}})(s.default)},2682:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=p(a(281)),n=p(a(280)),s=p(a(284)),r=p(a(282)),u=p(a(283)),i=p(a(1)),d=p(a(3)),c=a(764),f=a(778),o=p(a(800)),m=a(763);function p(e){return e&&e.__esModule?e:{default:e}}var _=function(e){function t(e){(0,n.default)(this,t);var a=(0,r.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return a.handleResend=function(){var e=new URLSearchParams(a.props.location.search).get("email");a.setState({resendStatus:"sending"}),(0,f.resendVerification)(e,function(){a.setState({resendStatus:"success"})},function(){a.setState({resendStatus:"failure"})})},a.state={resendStatus:"none"},a}return(0,u.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e="";return"success"===this.state.resendStatus&&(e=d.default.createElement("div",null,d.default.createElement("br",null),d.default.createElement("p",{className:"alert alert-success"},d.default.createElement("i",{className:"fa fa-check",title:(0,m.localizeMessage)("generic_icons.success","Success Icon")}),d.default.createElement(c.FormattedMessage,{id:"email_verify.sent",defaultMessage:" Verification email sent."})))),"failure"===this.state.resendStatus&&(e=d.default.createElement("div",null,d.default.createElement("br",null),d.default.createElement("p",{className:"alert alert-danger"},d.default.createElement("i",{className:"fa fa-times",title:(0,m.localizeMessage)("generic_icons.fail","Faliure Icon")}),d.default.createElement(c.FormattedMessage,{id:"email_verify.failed"})))),d.default.createElement("div",null,d.default.createElement(o.default,null),d.default.createElement("div",{className:"col-sm-12"},d.default.createElement("div",{className:"signup-team__container"},d.default.createElement("h3",null,d.default.createElement(c.FormattedMessage,{id:"email_verify.almost",defaultMessage:"{siteName}: You are almost done",values:{siteName:this.props.siteName}})),d.default.createElement("div",null,d.default.createElement("p",null,d.default.createElement(c.FormattedMessage,{id:"email_verify.notVerifiedBody",defaultMessage:"Please verify your email address. Check your inbox for an email."})),d.default.createElement("button",{onClick:this.handleResend,className:"btn btn-primary"},d.default.createElement(c.FormattedMessage,{id:"email_verify.resend",defaultMessage:"Resend Email"})),e))))}}]),t}(d.default.Component);t.default=_,_.propTypes={location:i.default.object.isRequired,siteName:i.default.string}},800:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=m(a(281)),n=m(a(280)),s=m(a(284)),r=m(a(282)),u=m(a(283)),i=m(a(1)),d=m(a(3)),c=a(764),f=a(286),o=a(763);function m(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){return(0,n.default)(this,t),(0,r.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,u.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){return d.default.createElement("div",{className:"signup-header"},d.default.createElement(f.Link,{onClick:this.props.onClick,to:this.props.url},d.default.createElement("span",{className:"fa fa-chevron-left",title:(0,o.localizeMessage)("generic_icons.back","Back Icon")}),d.default.createElement(c.FormattedMessage,{id:"web.header.back",defaultMessage:"Back"})))}}]),t}(d.default.PureComponent);p.propTypes={url:i.default.string,onClick:i.default.func},p.defaultProps={url:"/"},t.default=p}}]);
//# sourceMappingURL=20.d32d7e00b7d25a359912.js.map