-
Notifications
You must be signed in to change notification settings - Fork 258
/
bootstrap-theme.js
3 lines (3 loc) · 66.2 KB
/
bootstrap-theme.js
1
2
3
!function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonLoader=t.TokenBridge=t.DestroyAccountButton=t.UpdatePasswordForm=t.OAuthSignInButton=t.RequestPasswordResetForm=t.SignOutButton=t.EmailSignUpForm=t.EmailSignInForm=t.AuthGlobals=void 0;var o=n(62),i=r(o),s=n(64),a=r(s),u=n(65),l=r(u),p=n(69),c=r(p),f=n(68),d=r(f),h=n(67),b=r(h),y=n(70),m=r(y),g=n(63),w=r(g),E=n(18),v=r(E),P=n(13),O=r(P);t.AuthGlobals=i["default"],t.EmailSignInForm=a["default"],t.EmailSignUpForm=l["default"],t.SignOutButton=c["default"],t.RequestPasswordResetForm=d["default"],t.OAuthSignInButton=b["default"],t.UpdatePasswordForm=m["default"],t.DestroyAccountButton=w["default"],t.TokenBridge=v["default"],t.ButtonLoader=O["default"]},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("redux-auth")},function(e,t){e.exports=require("react-redux")},function(e,t){e.exports=require("immutable")},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e){return Array.isArray(e)?e:Array.from(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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}function u(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)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(1),c=r(p),f=n(9),d=n(66),h=r(d),b=n(3),y=function(e){function t(){return s(this,t),a(this,Object.getPrototypeOf(t).apply(this,arguments))}return u(t,e),l(t,[{key:"close",value:function(){this.props.dispatch(this.props.closeAction())}},{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"getErrorList",value:function(){var e=i(this.props.errorAddr),t=e[0],n=e.slice(1);return c["default"].createElement(h["default"],{errors:this.props.auth.getIn([t,this.getEndpoint()].concat(o(n)))})}},{key:"render",value:function(){var e=this.props.errorAddr?this.getErrorList():this.props.children;return c["default"].createElement(f.Modal,{show:this.props.show,className:"redux-auth-modal "+this.props.containerClass,onHide:this.close.bind(this)},c["default"].createElement(f.Modal.Header,{closeButton:!0},c["default"].createElement(f.Modal.Title,null,this.props.title)),c["default"].createElement(f.Modal.Body,null,e),c["default"].createElement(f.Modal.Footer,null,c["default"].createElement(f.Button,{onClick:this.close.bind(this),className:this.props.containerClass+"-close"},this.props.closeBtnLabel)))}}]),t}(c["default"].Component);y.propTypes={show:p.PropTypes.bool,errorAddr:p.PropTypes.array,closeBtnLabel:p.PropTypes.string},y.defaultProps={show:!1,errorAddr:null,closeBtnLabel:"Ok"},t["default"]=(0,b.connect)(function(e){var t=e.auth;return{auth:t}})(y)},,,function(e,t){e.exports=require("react-bootstrap")},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(9),f=n(23),d=r(f),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"renderIcon",value:function(){var e=void 0;if(this.props.loading){var t=this.props.bsStyle&&"default"!==this.props.bsStyle?this.props.spinColorLight:this.props.spinColorDark;e=p["default"].createElement("div",null,p["default"].createElement(d["default"],a({ref:"spinner"},this.props.spinConfig,{color:t,loaded:!1})))}else e=this.props.icon;return p["default"].createElement("div",{style:{position:"relative",display:"inline-block",marginRight:"6px",width:"10px",height:"10px",top:"1px"}},e)}},{key:"render",value:function(){return p["default"].createElement(c.Button,{onClick:this.props.onClick,disabled:this.props.disabled||this.props.loading,bsStyle:this.props.bsStyle,className:this.props.className,type:this.props.type,style:this.props.style,bsSize:this.props.bsSize},this.renderIcon()," ",this.props.children)}}]),t}(p["default"].Component);h.propTypes={icon:l.PropTypes.any,loading:l.PropTypes.bool,spinConfig:l.PropTypes.object,spinColorDark:l.PropTypes.string,spinColorLight:l.PropTypes.string,children:l.PropTypes.node,onClick:l.PropTypes.func.isRequired,style:l.PropTypes.object},h.defaultProps={icon:p["default"].createElement(c.Glyphicon,{glyph:"heart"}),loading:!1,spinConfig:{lines:10,length:4,width:2,radius:3},spinColorDark:"#444",spinColorLight:"#fff",children:p["default"].createElement("span",null,"Submit"),style:{}},t["default"]=h},,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(3),c=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement("script",{id:"token-bridge",type:"application/json",dangerouslySetInnerHTML:{__html:this.props.initialCredentials}})}}]),t}(l["default"].Component);t["default"]=(0,p.connect)(function(e){var t=e.auth,n=t.getIn(["server","headers"]);return{initialCredentials:n&&JSON.stringify({user:t.getIn(["server","user"]),mustResetPassword:t.getIn(["server","mustResetPassword"]),firstTimeLogin:t.getIn(["server","firstTimeLogin"]),currentEndpointKey:t.getIn(["configure","currentEndpointKey"]),defaultEndpointKey:t.getIn(["configure","defaultEndpointKey"]),headers:n})}})(c)},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(9),f=n(4),d=r(f),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"handleInput",value:function(e){this.props.onChange(e.target.value)}},{key:"renderErrorList",value:function(){var e=this;return this.props.errors.size?p["default"].createElement("div",{className:"auth-error-message has-error"},this.props.errors.map(function(t,n){return p["default"].createElement("p",{className:"control-label inline-error-item",style:{paddingLeft:"20px",position:"relative",marginBottom:"28px"},key:n},p["default"].createElement(c.Glyphicon,{glyph:"exclamation-sign",style:{position:"absolute",left:0,top:2}})," ",e.props.label," ",t)})):p["default"].createElement("span",null)}},{key:"render",value:function(){return p["default"].createElement("div",null,p["default"].createElement(c.Input,a({},this.props,{bsStyle:this.props.errors.size?"error":null,onChange:this.handleInput.bind(this)})),this.renderErrorList())}}]),t}(p["default"].Component);h.propTypes={label:l.PropTypes.string,value:l.PropTypes.string,errors:l.PropTypes.object},h.defaultProps={label:"",value:null,errors:d["default"].fromJS([])},t["default"]=h},,,function(e,t){e.exports=require("react-loader")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(74),c=r(p),f=n(73),d=r(f),h=n(80),b=r(h),y=n(79),m=r(y),g=n(76),w=r(g),E=n(75),v=r(E),P=n(85),O=r(P),_=n(84),j=r(_),S=n(78),I=r(S),T=n(77),C=r(T),k=n(82),M=r(k),x=n(83),A=r(x),R=n(86),U=r(R),q=n(87),N=r(q),L=n(71),B=r(L),K=n(72),F=r(K),V=n(81),G=r(V),D=n(18),J=r(D),Y=n(3),z=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){var e=this.props.emailSignInSuccessEnabled&&this.props.auth.getIn(["ui","emailSignInSuccessModalVisible"]),t=this.props.emailSignInErrorEnabled&&this.props.auth.getIn(["ui","emailSignInErrorModalVisible"]),n=this.props.emailSignUpSuccessEnabled&&this.props.auth.getIn(["ui","emailSignUpSuccessModalVisible"]),r=this.props.emailSignUpErrorEnabled&&this.props.auth.getIn(["ui","emailSignUpErrorModalVisible"]),o=this.props.signOutSuccessEnabled&&this.props.auth.getIn(["ui","signOutSuccessModalVisible"]),i=this.props.signOutErrorEnabled&&this.props.auth.getIn(["ui","signOutErrorModalVisible"]),s=this.props.firstTimeLoginSuccessEnabled&&this.props.auth.getIn(["ui","firstTimeLoginSuccessModalVisible"]),a=this.props.firstTimeLoginErrorEnabled&&this.props.auth.getIn(["ui","firstTimeLoginErrorModalVisible"]),u=this.props.requestPasswordResetErrorEnabled&&this.props.auth.getIn(["ui","requestPasswordResetErrorModalVisible"]),p=this.props.requestPasswordResetSuccessEnabled&&this.props.auth.getIn(["ui","requestPasswordResetSuccessModalVisible"]),f=this.props.oAuthSignInSuccessEnabled&&this.props.auth.getIn(["ui","oAuthSignInSuccessModalVisible"]),h=this.props.oAuthSignInErrorEnabled&&this.props.auth.getIn(["ui","oAuthSignInErrorModalVisible"]),y=this.props.updatePasswordSuccessEnabled&&this.props.auth.getIn(["ui","updatePasswordSuccessModalVisible"]),g=this.props.updatePasswordErrorEnabled&&this.props.auth.getIn(["ui","updatePasswordErrorModalVisible"]),E=this.props.destroyAccountSuccessEnabled&&this.props.auth.getIn(["ui","destroyAccountSuccessModalVisible"]),P=this.props.destroyAccountErrorEnabled&&this.props.auth.getIn(["ui","destroyAccountErrorModalVisible"]),_=this.props.passwordResetSuccessEnabled&&this.props.auth.getIn(["ui","passwordResetSuccessModalVisible"]);return l["default"].createElement("div",{id:"auth-modals"},l["default"].createElement(c["default"],{show:e}),l["default"].createElement(d["default"],{show:t}),l["default"].createElement(b["default"],{show:f}),l["default"].createElement(m["default"],{show:h}),l["default"].createElement(w["default"],{show:n}),l["default"].createElement(v["default"],{show:r}),l["default"].createElement(O["default"],{show:o}),l["default"].createElement(j["default"],{show:i}),l["default"].createElement(I["default"],{show:s}),l["default"].createElement(C["default"],{show:a}),l["default"].createElement(M["default"],{show:u}),l["default"].createElement(A["default"],{show:p}),l["default"].createElement(U["default"],{show:g}),l["default"].createElement(N["default"],{show:y}),l["default"].createElement(B["default"],{show:P}),l["default"].createElement(F["default"],{show:E}),l["default"].createElement(G["default"],{show:_}),l["default"].createElement(J["default"],null))}}]),t}(l["default"].Component);z.propTypes={signOutSuccessEnabled:u.PropTypes.bool,signOutErrorEnabled:u.PropTypes.bool,emailSignInSuccessEnabled:u.PropTypes.bool,emailSignInErrorEnabled:u.PropTypes.bool,oAuthSignInSuccessEnabled:u.PropTypes.bool,oAuthSignInErrorEnabled:u.PropTypes.bool,emailSignUpSuccessEnabled:u.PropTypes.bool,emailSignUpErrorEnabled:u.PropTypes.bool,firstTimeLoginSuccessEnabled:u.PropTypes.bool,firstTimeLoginErrorEnabled:u.PropTypes.bool,requestPasswordResetErrorEnabled:u.PropTypes.bool,requestPasswordResetSuccessEnabled:u.PropTypes.bool,updatePasswordErrorEnabled:u.PropTypes.bool,updatePasswordSuccessEnabled:u.PropTypes.bool,destroyAccountErrorEnabled:u.PropTypes.bool,destroyAccountSuccessEnabled:u.PropTypes.bool,passwordResetSuccessEnabled:u.PropTypes.bool,passwordResetErrorEnabled:u.PropTypes.bool},z.defaultProps={signOutSuccessEnabled:!0,signOutErrorEnabled:!0,emailSignInSuccessEnabled:!0,emailSignInErrorEnabled:!0,oAuthSignInSuccessEnabled:!0,oAuthSignInErrorEnabled:!0,emailSignUpSuccessEnabled:!0,emailSignUpErrorEnabled:!0,firstTimeLoginSuccessEnabled:!0,firstTimeLoginErrorEnabled:!0,requestPasswordResetErrorEnabled:!0,requestPasswordResetSuccessEnabled:!0,updatePasswordErrorEnabled:!0,updatePasswordSuccessEnabled:!0,destroyAccountErrorEnabled:!0,destroyAccountSuccessEnabled:!0,passwordResetSuccessEnabled:!0,passwordResetErrorEnabled:!0},t["default"]=(0,Y.connect)(function(e){var t=e.auth;return{auth:t}})(z)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(13),f=r(c),d=n(2),h=n(3),b=n(9),y=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleClick",value:function(){this.props.dispatch((0,d.destroyAccount)(this.getEndpoint()))}},{key:"render",value:function(){var e=!this.props.auth.getIn(["user","isSignedIn"]);return p["default"].createElement(f["default"],a({loading:this.props.auth.getIn(["destroyAccount",this.getEndpoint(),"loading"]),icon:this.props.icon,disabled:e,className:"destroy-account-submit",onClick:this.handleClick.bind(this)},this.props))}}]),t}(p["default"].Component);y.propTypes={endpoint:l.PropTypes.string,children:l.PropTypes.node,icon:l.PropTypes.node},y.defaultProps={children:p["default"].createElement("span",null,"Destroy Account"),icon:p["default"].createElement(b.Glyphicon,{glyph:"remove"})},t["default"]=(0,h.connect)(function(e){var t=e.auth;return{auth:t}})(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(13),f=r(c),d=n(20),h=r(d),b=n(2),y=n(9),m=n(3),g=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleInput",value:function(e,t){this.props.dispatch((0,b.emailSignInFormUpdate)(this.getEndpoint(),e,t))}},{key:"handleSubmit",value:function(e){e.preventDefault();var t=this.props.auth.getIn(["emailSignIn",this.getEndpoint(),"form"]).toJS();this.props.dispatch((0,b.emailSignIn)(t,this.getEndpoint())).then(this.props.next)["catch"](function(){})}},{key:"render",value:function(){var e=this.props.auth.getIn(["user","isSignedIn"])||this.props.auth.getIn(["emailSignIn",this.getEndpoint(),"loading"]);return p["default"].createElement("form",{className:"redux-auth email-sign-in-form clearfix",onSubmit:this.handleSubmit.bind(this)},p["default"].createElement(h["default"],a({type:"text",groupClassName:"email-sign-in-email",label:"Email",placeholder:"Email",disabled:e,value:this.props.auth.getIn(["emailSignIn",this.getEndpoint(),"form","email"]),errors:this.props.auth.getIn(["emailSignIn",this.getEndpoint(),"errors","email"]),onChange:this.handleInput.bind(this,"email")},this.props.inputProps.email)),p["default"].createElement(h["default"],a({type:"password",label:"Password",groupClassName:"email-sign-in-password",placeholder:"Password",disabled:e,value:this.props.auth.getIn(["emailSignIn",this.getEndpoint(),"form","password"]),errors:this.props.auth.getIn(["emailSignIn",this.getEndpoint(),"errors","password"]),onChange:this.handleInput.bind(this,"password")},this.props.inputProps.password)),p["default"].createElement(f["default"],a({loading:this.props.auth.getIn(["emailSignIn",this.getEndpoint(),"loading"]),type:"submit",icon:p["default"].createElement(y.Glyphicon,{glyph:"log-in"}),className:"email-sign-in-submit pull-right",disabled:e,onClick:this.handleSubmit.bind(this)},this.props.inputProps.submit),"Sign In"))}}]),t}(p["default"].Component);g.propTypes={endpoint:l.PropTypes.string,next:l.PropTypes.func,inputProps:l.PropTypes.shape({email:l.PropTypes.object,password:l.PropTypes.object,submit:l.PropTypes.object})},g.defaultProps={next:function(){},inputProps:{email:{},password:{},submit:{}}},t["default"]=(0,m.connect)(function(e){var t=e.auth;return{auth:t}})(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(20),f=r(c),d=n(13),h=r(d),b=n(2),y=n(3),m=n(9),g=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleInput",value:function(e,t){this.props.dispatch((0,b.emailSignUpFormUpdate)(this.getEndpoint(),e,t))}},{key:"handleSubmit",value:function(e){e.preventDefault();var t=this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"form"]).toJS();this.props.dispatch((0,b.emailSignUp)(t,this.getEndpoint())).then(this.props.next)["catch"](function(){})}},{key:"render",value:function(){var e=this.props.auth.getIn(["user","isSignedIn"])||this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"loading"]);return p["default"].createElement("form",{className:"redux-auth email-sign-up-form clearfix",onSubmit:this.handleSubmit.bind(this)},p["default"].createElement(f["default"],a({type:"text",label:"Email",placeholder:"Email",groupClassName:"email-sign-up-email",disabled:e,value:this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"form","email"]),errors:this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"errors","email"]),onChange:this.handleInput.bind(this,"email")},this.props.inputProps.email)),p["default"].createElement(f["default"],a({type:"password",label:"Password",placeholder:"Password",groupClassName:"email-sign-up-password",disabled:e,value:this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"form","password"]),errors:this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"errors","password"]),onChange:this.handleInput.bind(this,"password")},this.props.inputProps.password)),p["default"].createElement(f["default"],a({type:"password",label:"Password Confirmation",placeholder:"Password Confirmation",groupClassName:"email-sign-up-password-confirmation",disabled:e,value:this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"form","password_confirmation"]),errors:this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"errors","password_confirmation"]),onChange:this.handleInput.bind(this,"password_confirmation")},this.props.inputProps.passwordConfirmation)),p["default"].createElement(h["default"],a({loading:this.props.auth.getIn(["emailSignUp",this.getEndpoint(),"loading"]),type:"submit",className:"email-sign-up-submit pull-right",icon:p["default"].createElement(m.Glyphicon,{glyph:"send"}),disabled:e,onClick:this.handleSubmit.bind(this)},this.props.inputProps.submit),"Sign Up"))}}]),t}(p["default"].Component);g.propTypes={endpoint:l.PropTypes.string,next:l.PropTypes.func,inputProps:l.PropTypes.shape({email:l.PropTypes.object,password:l.PropTypes.object,passwordConfirmation:l.PropTypes.object,submit:l.PropTypes.object})},g.defaultProps={next:function(){},inputProps:{email:{},password:{},submit:{}}},t["default"]=(0,y.connect)(function(e){var t=e.auth;return{auth:t}})(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(9),c=n(4),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"renderErrorList",value:function(){var e=(this.props.errors||f["default"].fromJS([])).size;if(e>0){var t="error";return t+=1===e?"":"s",l["default"].createElement("div",{className:"has-error"},l["default"].createElement("p",null,"Please correct the following ",t,":"),this.props.errors.map(function(e,t){return l["default"].createElement("p",{key:t,className:"control-label modal-error-item",style:{paddingLeft:"20px",position:"relative"}},l["default"].createElement(p.Glyphicon,{glyph:"exclamation-sign",style:{position:"absolute",left:0,top:2}})," ",e)}))}return l["default"].createElement("p",null,l["default"].createElement(p.Glyphicon,{glyph:"exclamation-sign"})," There was an error processing this form. Please check each field and try again.")}},{key:"render",value:function(){return l["default"].createElement("div",{className:"auth-error-message"},this.renderErrorList())}}]),t}(l["default"].Component);d.propTypes={errors:u.PropTypes.object},d.defaultProps={errors:f["default"].fromJS([])},t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(3),f=n(13),d=r(f),h=n(9),b=n(2),y=b.oAuthSignIn,m=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleClick",value:function(){this.props.dispatch(y({provider:this.props.provider,params:this.props.signInParams,endpointKey:this.getEndpoint()})).then(this.props.next)["catch"](function(){})}},{key:"render",value:function(){var e=this.props.auth.getIn(["user","isSignedIn"]),t=this.props.auth.getIn(["ui","oAuthSignInLoadingProvider"])===this.props.provider&&this.props.auth.getIn(["oAuthSignIn",this.getEndpoint(),"loading"]);return p["default"].createElement(d["default"],a({loading:t,icon:this.props.icon,className:this.props.className+" oauth-sign-in-submit",disabled:e,onClick:this.handleClick.bind(this)},this.props))}}]),t}(p["default"].Component);m.propTypes={provider:l.PropTypes.string.isRequired,label:l.PropTypes.string,signInParams:l.PropTypes.object,children:l.PropTypes.node,icon:l.PropTypes.node,next:l.PropTypes.func},m.defaultProps={signInParams:{},children:p["default"].createElement("span",null,"OAuth Sign In"),icon:p["default"].createElement(h.Glyphicon,{glyph:"log-in"}),next:function(){}},t["default"]=(0,c.connect)(function(e){var t=e.auth;return{auth:t}})(m)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(20),f=r(c),d=n(13),h=r(d),b=n(9),y=n(3),m=n(2),g=function(e){
function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleInput",value:function(e,t){this.props.dispatch((0,m.requestPasswordResetFormUpdate)(this.getEndpoint(),e,t))}},{key:"handleSubmit",value:function(e){e.preventDefault();var t=this.props.auth.getIn(["requestPasswordReset",this.getEndpoint(),"form"]).toJS();this.props.dispatch((0,m.requestPasswordReset)(t,this.getEndpoint()))}},{key:"render",value:function(){var e=this.props.auth.getIn(["requestPasswordReset",this.getEndpoint(),"loading"]),t=this.props.auth.getIn(["user","isSignedIn"]),n=!this.props.auth.getIn(["requestPasswordReset",this.getEndpoint(),"form","email"]);return p["default"].createElement("form",{className:"redux-auth request-password-reset-form clearfix",onSubmit:this.handleSubmit.bind(this)},p["default"].createElement(f["default"],a({type:"text",label:"Email Address",groupClassName:"request-password-reset-email",placeholder:"Email Address",disabled:e||t,value:this.props.auth.getIn(["requestPasswordReset",this.getEndpoint(),"form","email"]),errors:this.props.auth.getIn(["requestPasswordReset",this.getEndpoint(),"errors","email"]),onChange:this.handleInput.bind(this,"email")},this.props.inputProps.email)),p["default"].createElement(h["default"],a({loading:e,type:"submit",icon:p["default"].createElement(b.Glyphicon,{glyph:"send"}),className:"pull-right request-password-reset-submit",disabled:t||n,onClick:this.handleSubmit.bind(this)},this.props.inputProps.submit),"Request Password Reset"))}}]),t}(p["default"].Component);g.propTypes={endpoint:l.PropTypes.string,inputProps:l.PropTypes.shape({email:l.PropTypes.object,submit:l.PropTypes.object})},g.defaultProps={inputProps:{email:{},submit:{}}},t["default"]=(0,y.connect)(function(e){var t=e.auth;return{auth:t}})(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(13),f=r(c),d=n(9),h=n(3),b=n(2),y=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleClick",value:function(){this.props.dispatch((0,b.signOut)(this.getEndpoint())).then(this.props.next)["catch"](function(){})}},{key:"render",value:function(){var e=!this.props.auth.getIn(["user","isSignedIn"]);return p["default"].createElement(f["default"],a({loading:this.props.auth.getIn(["signOut",this.getEndpoint(),"loading"]),icon:this.props.icon,disabled:e,className:"sign-out-submit",onClick:this.handleClick.bind(this)},this.props))}}]),t}(p["default"].Component);y.propTypes={next:l.PropTypes.func,children:l.PropTypes.node,icon:l.PropTypes.node},y.defaultProps={next:function(){},children:p["default"].createElement("span",null,"Sign Out"),icon:p["default"].createElement(d.Glyphicon,{glyph:"log-out"})},t["default"]=(0,h.connect)(function(e){var t=e.auth;return{auth:t}})(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(20),f=r(c),d=n(13),h=r(d),b=n(9),y=n(2),m=n(3),g=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleInput",value:function(e,t){this.props.dispatch((0,y.updatePasswordFormUpdate)(this.getEndpoint(),e,t))}},{key:"handleSubmit",value:function(e){e.preventDefault();var t=this.props.auth.getIn(["updatePassword",this.getEndpoint(),"form"]).toJS();this.props.dispatch((0,y.updatePassword)(t,this.getEndpoint()))}},{key:"render",value:function(){var e=this.getEndpoint(),t=this.props.auth.getIn(["updatePassword",e,"loading"]),n=!this.props.auth.getIn(["user","isSignedIn"])||t||"email"!==this.props.auth.getIn(["user","attributes","provider"]);return p["default"].createElement("form",{className:"redux-auth update-password-form clearfix",onSubmit:this.handleSubmit.bind(this)},p["default"].createElement(f["default"],a({type:"password",label:"Password",placeholder:"Password",disabled:n,groupClassName:"update-password-password",value:this.props.auth.getIn(["updatePassword",e,"form","password"]),errors:this.props.auth.getIn(["updatePassword",e,"errors","password"]),onChange:this.handleInput.bind(this,"password")},this.props.inputProps.password)),p["default"].createElement(f["default"],a({type:"password",label:"Password Confirmation",placeholder:"Password Confirmation",disabled:n,groupClassName:"update-password-password-confirmation",value:this.props.auth.getIn(["updatePassword",e,"form","password_confirmation"]),errors:this.props.auth.getIn(["updatePassword",e,"errors","password_confirmation"]),onChange:this.handleInput.bind(this,"password_confirmation")},this.props.inputProps.passwordConfirmation)),p["default"].createElement(h["default"],a({loading:t,type:"submit",disabled:n,className:"pull-right update-password-submit",icon:this.props.icon||p["default"].createElement(b.Glyphicon,{glyph:"lock"}),onClick:this.handleSubmit.bind(this)},this.props.inputProps.submit),"Update Password"))}}]),t}(p["default"].Component);g.propTypes={endpoint:l.PropTypes.string,inputProps:l.PropTypes.shape({password:l.PropTypes.object,passwordConfirmation:l.PropTypes.object})},g.defaultProps={inputProps:{password:{},passwordConfirmation:{}}},t["default"]=(0,m.connect)(function(e){var t=e.auth;return{auth:t}})(g)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{containerClass:"destroy-account-error-modal",show:this.props.show,closeAction:p.hideDestroyAccountErrorModal,title:"Error",errorAddr:["destroyAccount","errors"]})}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(3),c=n(2),f=n(6),d=r(f),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(d["default"],{show:this.props.show,containerClass:"destroy-account-success-modal",closeAction:c.hideDestroyAccountSuccessModal,title:"Destroy Account Success"},l["default"].createElement("p",null,this.props.auth.getIn(["ui","destroyAccountMessage"])))}}]),t}(l["default"].Component);t["default"]=(0,p.connect)(function(e){var t=e.auth;return{auth:t}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"email-sign-in-error-modal",closeAction:p.hideEmailSignInErrorModal,title:"Sign In Error",errorAddr:["emailSignIn","errors"]})}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(3),c=n(2),f=n(6),d=r(f),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(d["default"],{show:this.props.show,containerClass:"email-sign-in-success-modal",closeAction:c.hideEmailSignInSuccessModal,closeBtnLabel:"Close",title:"Welcome Back"},l["default"].createElement("p",null,"You are now signed in as ",this.props.auth.getIn(["user","attributes","email"]),"."))}}]),t}(l["default"].Component);t["default"]=(0,p.connect)(function(e){var t=e.auth;return{auth:t}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"email-sign-up-error-modal",title:"Sign Up Error",errorAddr:["emailSignUp","errors","full_messages"],closeAction:p.hideEmailSignUpErrorModal})}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(3),f=n(6),d=r(f),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(d["default"],{containerClass:"email-sign-up-success-modal",show:this.props.show,closeAction:p.hideEmailSignUpSuccessModal,title:"Sign Up Success"},l["default"].createElement("p",null,"A confirmation email was sent to your account at ",this.props.auth.getIn(["ui","emailSignUpAddress"]),". Follow the instructions in the email to complete registration."))}}]),t}(l["default"].Component);t["default"]=(0,c.connect)(function(e){var t=e.auth;return{auth:t}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"first-time-login-error-modal",closeAction:p.hideFirstTimeLoginErrorModal,title:"Confirmation Error"},l["default"].createElement("p",null,"There was a problem confirming your account. Please try again."))}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=n(3),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"first-time-login-success-modal",title:"Welcome "+this.props.auth.getIn(["user","attributes","email"])+"!",closeBtnLabel:"Close",closeAction:p.hideFirstTimeLoginSuccessModal},l["default"].createElement("p",null,"Your account has been confirmed."))}}]),t}(l["default"].Component);t["default"]=(0,d.connect)(function(e){var t=e.auth;return{auth:t}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(9),c=n(6),f=r(c),d=n(2),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"oauth-sign-in-error-modal",closeAction:d.hideOAuthSignInErrorModal,title:"OAuth Sign In Error"},l["default"].createElement("p",null,l["default"].createElement(p.Glyphicon,{glyph:"exclamation-sign"})," There was an error authenticating your account. Please try again."))}}]),t}(l["default"].Component);t["default"]=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(3),f=n(6),d=r(f),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(d["default"],{show:this.props.show,containerClass:"oauth-sign-in-success-modal",closeAction:p.hideOAuthSignInSuccessModal,title:"Welcome"},l["default"].createElement("p",null,"You are now signed in via ",this.props.auth.getIn(["user","attributes","provider"]),"."))}}]),t}(l["default"].Component);t["default"]=(0,c.connect)(function(e){var t=e.auth;return{auth:t}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),p=r(l),c=n(9),f=n(13),d=r(f),h=n(20),b=r(h),y=n(3),m=n(2),g=n(2),w=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),u(t,[{key:"getEndpoint",value:function(){return this.props.endpoint||this.props.auth.getIn(["configure","currentEndpointKey"])||this.props.auth.getIn(["configure","defaultEndpointKey"])}},{key:"handleInput",value:function(e,t){this.props.dispatch((0,g.updatePasswordModalFormUpdate)(this.getEndpoint(),e,t))}},{key:"handleSubmit",value:function(){var e=this.props.auth.getIn(["updatePasswordModal",this.getEndpoint(),"form"]).toJS();this.props.dispatch((0,g.updatePasswordModal)(e,this.getEndpoint()))}},{key:"close",value:function(){this.props.dispatch((0,m.hidePasswordResetSuccessModal)(this.getEndpoint()))}},{key:"render",value:function(){var e=this.props.auth.getIn(["updatePasswordModal",this.getEndpoint(),"loading"]),t=this.getEndpoint();return p["default"].createElement(c.Modal,{show:this.props.show,className:"password-reset-success-modal",onHide:this.close.bind(this)},p["default"].createElement(c.Modal.Header,{closeButton:!0},p["default"].createElement(c.Modal.Title,null,"Reset Your Password")),p["default"].createElement("form",null,p["default"].createElement(c.Modal.Body,null,p["default"].createElement(b["default"],a({type:"password",label:"Password",placeholder:"Password",disabled:e,groupClassName:"password-reset-success-modal-password",value:this.props.auth.getIn(["updatePasswordModal",t,"form","password"]),errors:this.props.auth.getIn(["updatePasswordModal",t,"errors","password"]),onChange:this.handleInput.bind(this,"password")},this.props.inputProps.password)),p["default"].createElement(b["default"],a({type:"password",label:"Password Confirmation",placeholder:"Password Confirmation",disabled:e,groupClassName:"password-reset-success-modal-password-confirmation",value:this.props.auth.getIn(["updatePasswordModal",t,"form","password_confirmation"]),errors:this.props.auth.getIn(["updatePasswordModal",t,"errors","password_confirmation"]),onChange:this.handleInput.bind(this,"password_confirmation")},this.props.inputProps.passwordConfirmation))),p["default"].createElement(c.Modal.Footer,null,p["default"].createElement(c.Button,a({className:"password-reset-success-modal-close",onClick:this.close.bind(this)},this.props.inputProps.cancel),"Cancel"),p["default"].createElement(d["default"],a({},this.props,{loading:e,type:"submit",className:"password-reset-success-modal-submit",icon:p["default"].createElement(c.Glyphicon,{glyph:"lock"}),onClick:this.handleSubmit.bind(this)},this.props.inputProps.submit)))))}}]),t}(p["default"].Component);w.propTypes={show:l.PropTypes.bool,inputProps:l.PropTypes.object},w.defaultProps={show:!1,inputProps:{}},t["default"]=(0,y.connect)(function(e){var t=e.auth;return{auth:t}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"request-password-reset-error-modal",closeAction:p.hidePasswordResetRequestErrorModal,title:"Error",errorAddr:["requestPasswordReset","errors"]})}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(3),c=n(2),f=n(6),d=r(f),h=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(d["default"],{show:this.props.show,containerClass:"request-password-reset-success-modal",title:"Password Reset Request Success",closeAction:c.hidePasswordResetRequestSuccessModal},l["default"].createElement("p",null,this.props.auth.getIn(["ui","requestPasswordResetSuccessMessage"])))}}]),t}(l["default"].Component);t["default"]=(0,p.connect)(function(e){var t=e.auth;return{auth:t}})(h)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"sign-out-error-modal",closeAction:p.hideSignOutErrorModal,title:"Sign Out Error"},l["default"].createElement("p",null,"The server encountered an error while trying to sign you out. Your account information has been wiped from this browser, but you may want to sign in and then sign back out again to resolve any issues."))}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"sign-out-success-modal",title:"Goodbye!",closeAction:p.hideSignOutSuccessModal},l["default"].createElement("p",null,"You have been successfully signed out."))}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"update-password-error-modal",title:"Error",closeAction:p.hideUpdatePasswordErrorModal,errorAddr:["updatePassword","errors","full_messages"]})}}]),t}(l["default"].Component);t["default"]=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),l=r(u),p=n(2),c=n(6),f=r(c),d=function(e){function t(){return o(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return l["default"].createElement(f["default"],{show:this.props.show,containerClass:"update-password-success-modal",closeAction:p.hideUpdatePasswordSuccessModal,title:"Success"},l["default"].createElement("p",null,"Your password has been successfully changed."))}}]),t}(l["default"].Component);t["default"]=d}]));