1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[35],{51776:(e,t,r)=>{r.d(t,{f:()=>a});var s=r(38839),o=r(37950);let a=e=>{let{input:t,meta:r,validate:a,...i}=e,n=r.touched&&r.error||null;return(0,s.tZ)(o.n,{...t,...i,error:n,helperText:n,variant:"outlined"})}},37493:(e,t,r)=>{r.r(t),r.d(t,{TestResetPasswordPage:()=>H,default:()=>W});var s=r(47622),o=r(55251),a=r(88842);let i=e=>({headerData:{title:e.formatMessage({id:"meta.forgotPassword.title"}),description:e.formatMessage({id:"meta.forgotPassword.description"})}});var n=r(31088),d=r(38839),l=r(3450),c=r(85439),p=r(71546),h=r(65423),u=r(95753),m=r(14911),g=r(54706),w=r(10989),k=r(91020),Z=r(11951),f=r(16668),P=r(21317),v=r(89517),b=r(32735),y=r(10853),C=r(39970),x=r(86363),_=r(51776);let S=y.z.passwordStrengthValidator,z=y.z.passwordEqualWith("retypePassword"),D=y.z.passwordEqualWith("password");class M extends b.Component{render(){let{resetInProgress:e,resetFailed:t,invalid:r,submitting:s,intl:o}=this.props,a=this.state.buttonClicked&&!e&&t;return(0,d.BX)("form",{method:"POST",onSubmit:this.handleSubmit,children:[(0,d.tZ)("div",{children:a&&(0,d.tZ)(u.Z,{variant:"body1",color:"error",children:(0,d.tZ)(w._H,{id:"authentication.resetPassword.error.resetFailed"})})}),(0,d.tZ)(C.Z,{name:"password",component:_.f,validate:[y.z.required,S,z],id:"password",type:"password",icon:"lock",hint:o.formatMessage({id:"authentication.resetPassword.password",defaultMessage:"Password",description:"ResetPassword form password field label"}),required:!0,fullWidth:!0,variant:"outlined",mb:2}),(0,d.tZ)(C.Z,{name:"retypePassword",component:_.f,validate:[y.z.required,S,D],id:"retypePassword",type:"password",icon:"lock",hint:o.formatMessage({id:"authentication.resetPassword.retypePassword"}),required:!0,fullWidth:!0,variant:"outlined",mb:2}),(0,d.BX)(f.zx,{variant:"contained",color:"primary",disabled:r||s,type:"submit",mb:4,children:[this.state.buttonClicked&&e?(0,d.tZ)(v.Z,{loaded:!1}):null,o.formatMessage({id:"authentication.resetPassword.changePassword"})]})]})}constructor(...e){super(...e),this.state={buttonClicked:!1},this.handleSubmit=e=>{e.preventDefault(),this.setState({buttonClicked:!0}),this.props.handleSubmit()}}}let T=(0,w.XN)((0,x.Z)({form:"resetPassword"})(M)),L=(0,l.ZP)(p.W2,{target:"e1tzwvpy0"})("background-color:",(0,g.Fz)("red"),";height:100%;position:fixed;overflow:auto;"),F=(0,l.ZP)(p.W2,{target:"e1tzwvpy1"})("position:relative;text-align:center;",g.AV.up("sm"),"{text-align:left;}"),A=(0,l.ZP)(P.X,{target:"e1tzwvpy2"})("max-width:850px;margin:0 auto;"),B=(0,l.ZP)(f.zx,{target:"e1tzwvpy3"})("position:absolute;right:24px;top:16px;");class E extends b.Component{componentDidMount(){this.props.token?this.props.startTokenCheck(this.props.token):this.props.noToken()}render(){let{intl:e,tokenCheckInProgress:t,tokenCheckFailed:r,resetInProgress:s,resetFailed:o}=this.props;return t||r?(0,d.tZ)(v.Z,{loaded:!1}):(0,d.tZ)(L,{style:{justifyContent:"center"},alignItems:"center",direction:"row",children:(0,d.tZ)(p.ck,{xs:12,sm:10,md:8,lg:6,children:(0,d.tZ)(A,{children:(0,d.BX)(F,{justifyContent:"center",children:[(0,d.tZ)(B,{href:(0,k.gC)(Z.NG,e.locale),variant:"text",color:"primary",endIcon:(0,d.tZ)(h.T,{}),children:(0,d.tZ)(w._H,{id:"general.close",defaultMessage:"Close",description:"Link to close page"})}),(0,d.BX)(p.ck,{xs:12,md:8,p:[2,4],mt:[5,0,0],children:[(0,d.tZ)(u.Z,{variant:"h3",mb:2,children:(0,d.tZ)(w._H,{id:"authentication.resetPassword.header",defaultMessage:"Etuovi.com - Vaihda Salasana",description:"Header for page"})}),(0,d.tZ)(T,{resetInProgress:s,resetFailed:o,onSubmit:this.handleSubmit}),(0,d.tZ)("div",{children:(0,d.tZ)(m.Link,{to:(0,k.gC)(Z.NG,e.locale),children:(0,d.tZ)(w._H,{id:"authentication.resetPassword.cancelAndBackToFrontPageLink",defaultMessage:"Peruuta ja siirry palvelun etusivulle",description:"Cancel link"})})})]})]})})})})}constructor(...e){super(...e),this.handleSubmit=e=>{this.props.onSubmit({...e,token:this.props.token,openLoginModal:this.context.login})}}}E.contextType=c.Fo;let I={tokenCheckInProgress:n.E_,tokenCheckFailed:n.WO,resetInProgress:n.q6,resetFailed:n.IB,token:(e,t)=>t.token?t.token:t.location&&(0,o.d)(t.location).token},q={startTokenCheck:a.Tl,noToken:a.aX,onSubmit:a.vP},H=(0,s.dZ)(E,{pageID:"reset-password",selectors:I,actionCreators:q,metadataFormatter:i}),W=(0,s.o9)(E,{pageID:"reset-password",selectors:I,actionCreators:q,metadataFormatter:i})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.