(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{Bnag:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},EbDI:function(t,e){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},Ijbi:function(t,e){t.exports=function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}},RIqP:function(t,e,r){var n=r("Ijbi"),o=r("EbDI"),a=r("Bnag");t.exports=function(t){return n(t)||o(t)||a()}},rWHY:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/users/account",function(){return r("v0Xr")}])},v0Xr:function(t,e,r){"use strict";r.r(e);var n=r("Ff2n"),o=r("q1tI"),a=r.n(o),c=r("GGqY"),s=r("nOHt"),u=r("yE/o"),i=r("3mGJ"),p=r("gaPq"),b=r("rePB"),l=r("hePV"),w=r.n(l),f=r("gmoh"),d=r.n(f),O=r("fjVX"),j=r.n(O),y=r("oB+O"),P=r.n(y),m=r("0dmp"),g=r("eHHv"),h=r("G403"),v=r("7zkD"),E=r("PaXs"),S=a.a.createElement;function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var I=Object(g.a)(m.b,Object(v.a)({oldPassword:{type:String,label:"Current password"},newPassword:{type:String,label:"New password"}}),Object(g.f)({onSubmit:function(t){var e=t.client;return function(t){var r=t.oldPassword,n=t.newPassword;return Object(h.a)({oldPassword:r,newPassword:n},e)}}}),E.a,Object(g.d)((function(t){t.client;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach((function(e){Object(b.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},Object(n.a)(t,["client"]))})),g.e)((function(t){return S(P.a,t,S(w.a,{name:"oldPassword",type:"password"}),S(w.a,{name:"newPassword",type:"password"}),S(j.a,null),S(d.a,{value:"Change password",className:"primary"}))})),A=r("w4Tr"),N=r("PZVx"),X=a.a.createElement,_=function(t){return function(){Object(c.b)("Account updated",{type:c.b.TYPE.SUCCESS}),t.push({pathname:"/users/account"})}};e.default=Object(N.a)(Object(s.withRouter)((function(t){var e=t.router,r=Object(n.a)(t,["router"]);return X(p.a,r,X(u.a,null,X(i.a,null,X("h3",{className:"title"},"Change password"),X(I,{onSubmitSuccess:_(e)})),X(i.a,null,X("h3",{className:"title"},"Edit E-Mail addresses"),X(A.a,{onSubmitSuccess:_(e)}))))})))}},[["rWHY",0,2,5,1,3,4,6,12]]]);