1"use strict";(self.webpackChunkreact_myrandstad=self.webpackChunkreact_myrandstad||[]).push([[513],{7852:function(e,a,t){var s=t(2791),n=t(3269),r=t(4316),i=t(4757),c=t(3414),o=t(937),d=t(3646),l=t(4569),h=t.n(l),m=t(7129),u=t(184);a.Z=(0,r.ZP)((function(e){var a=e.intl,t=e.staticContext,r=a.locale,l=(0,s.useContext)(d.ZP),g=l.formData,p=l.setFormData,f=l.currentStep,v=l.handleErrors,_=l.renderStep,x=l.setErrors,b=l.setLoading,j=l.handleChange,w=0===f?"ResetPassword.Page.Title":"ResetPassword.Verification.Page.Title",y=a.formatMessage({id:w}),Z=(0,m.Z)("login").url;return(0,i.Pe)(r,t),(0,s.useEffect)((function(){p([])}),[]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(n.q,{children:[(0,u.jsxs)("title",{children:[a.formatMessage({id:"ResetPassword.Title"})," | ",a.formatMessage({id:"Breadcrumb.Dashboard"})]}),(0,u.jsx)("header",{className:"header header--text bg-variant-brand-primary"})]}),(0,u.jsx)("div",{className:"header header--text bg-variant-brand-primary",children:(0,u.jsxs)("div",{className:"header__wrapper wrapper",children:[(0,u.jsx)(c.Z,{}),(0,u.jsx)("div",{className:"header__content header__content--l content-block header__content--full-width has-breadcrumbs",children:(0,u.jsx)("h1",{className:"content-block__title",children:(0,u.jsx)("span",{className:"content-block__title-top",children:y})})})]})}),(0,u.jsx)(o.Z,{name:"reset-password-2-step",handleChange:j,state:g[f],handleSubmit:function(e){var a,t;(e.preventDefault(),x(),b(!0),g[f]&&null!==(a=captcha)&&void 0!==a&&a.getToken("mrnd_captcha"))&&(g[f].captchaToken=null===(t=captcha)||void 0===t?void 0:t.getToken("mrnd_captcha"));if(0===f)h().post("".concat("/api/my-randstad","/forgot-password/"),g[f]).then((function(e){var a;e.status>=200&&e.status<300&&(_("next"),b(!1),null===(a=captcha)||void 0===a||a.reset("mrnd_captcha"))})).catch((function(e){var a;v(e.response.data),b(!1),null===(a=captcha)||void 0===a||a.reset("mrnd_captcha")}));else{var s=g[f];void 0!==g[f]&&(s=Object.assign(g[f],g[0])),h().post("".concat("/api/my-randstad","/confirm-forgot-password/"),s).then((function(e){e.status>=200&&e.status<300&&(window.location.href="".concat(Z,"?message=reset"),b(!1))})).catch((function(e){v(e.response.data),b(!1)}))}}})]})}))},9083:function(e,a,t){var s=t(885),n=t(2791),r=t(3269),i=t(4316),c=t(937),o=t(5117),d=t(4757),l=t(4569),h=t.n(l),m=t(3646),u=t(7129),g=t(3414),p=t(2450),f=t(1452),v=t(184);a.Z=(0,i.ZP)((function(e){var a,t=e.intl,i=e.staticContext,l=e.location,_=new URLSearchParams(l.search).get("message"),x=t.locale,b=(0,n.useContext)(m.ZP),j=b.formData,w=b.setFormData,y=b.handleErrors,Z=b.currentStep,N=b.showToast,k=b.setToastMessage,P=b.handleChange,T=b.setLoading,M=b.additionalData,D=(0,n.useState)(_),C=(0,s.Z)(D,2),S=C[0],R=C[1],L=(0,u.Z)("dashboard").url,E=(null===M||void 0===M||null===(a=M.cutoverSettings)||void 0===a?void 0:a.myrandstad_login)||{},F=t.formatMessage({id:"Login.Header.Title.Left"}),A=t.formatMessage({id:"Login.Header.Title.Right"});return(0,d.Pe)(x,i),(0,n.useEffect)((function(){"#toast=logged-out"===window.location.hash&&(k(t.formatMessage({id:"Login.LoggedOut.Text"})),N()),(0,o.Z)(),w([])}),[]),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(r.q,{children:[(0,v.jsxs)("title",{children:[t.formatMessage({id:"Login.Title"})," | ",t.formatMessage({id:"Breadcrumb.Dashboard"})]}),(0,v.jsx)("header",{className:"header header--text bg-variant-brand-primary"})]}),(0,v.jsx)("div",{className:"header header--text bg-variant-brand-primary",children:(0,v.jsxs)("div",{className:"header__wrapper wrapper",children:[(0,v.jsx)(g.Z,{}),(0,v.jsx)("div",{className:"header__content header__content--l content-block header__content--full-width has-breadcrumbs",children:(0,v.jsxs)("h1",{className:"content-block__title",children:[(0,v.jsx)("span",{className:"content-block__title-top",children:F}),(0,v.jsx)("span",{className:"content-block__title-bottom text--emphasis",children:A})]})})]})}),(0,v.jsx)(f.Z,{settings:E}),S?(0,v.jsx)("div",{className:"block notice-confirmed closable bg-brand--off-white notification-type-".concat(S),"data-rs-hours-confirmed-notification-1":"",children:(0,v.jsxs)("div",{className:"wrapper notice-confirmed__wrapper",children:[(0,v.jsx)("div",{className:"notice-confirmed__media","data-rs-closable-fadeout":"",children:"confirmed"===S&&(0,v.jsx)("img",{src:"/myrandstad-app/assets/image/icons/illustration-hand-1a.svg",alt:""})}),(0,v.jsxs)("div",{className:"notice-confirmed__content",children:[(0,v.jsxs)("div",{className:"notice-confirmed__text","data-rs-closable-fadeout":"",children:["confirmed"===S&&(0,v.jsx)("p",{children:t.formatMessage({id:"Login.Message.AccountWasVerified"})}),"reset"===S&&(0,v.jsx)("p",{children:t.formatMessage({id:"Login.Message.ResetPasswordSuccessful"})})]}),(0,v.jsx)("div",{className:"notice-confirmed__close",children:(0,v.jsx)("button",{className:"button--icon-only",onClick:function(){return R("")},"aria-label":t.formatMessage({id:"Close"}),children:(0,v.jsx)(p.Z,{type:"close",className:"icon icon--inline"})})})]})]})}):"",(0,v.jsx)(c.Z,{name:"login",handleChange:P,state:j[Z],handleSubmit:function(e){var a;e.preventDefault(),T(!0);var t,s=JSON.parse(localStorage.getItem("favJobs"));(s&&j[Z]&&(j[Z].savedJobs=s),null!==(a=captcha)&&void 0!==a&&a.getToken("mr
1nd_captcha"))&&(j[Z]||(j[Z]={}),j[Z].captchaToken=null===(t=captcha)||void 0===t?void 0:t.getToken("mrnd_captcha"));h().post("".concat("/api/my-randstad","/login"),j[Z]).then((function(e){var a;e.status>=200&&e.status<300&&((0,d.hz)("login"),window.location=L,T(!1),null===(a=captcha)||void 0===a||a.reset("mrnd_captcha"))})).catch((function(e){var a;y(e.response.data),T(!1),null===(a=captcha)||void 0===a||a.reset("mrnd_captcha")}))}})]})}))},3086:function(e,a,t){var s=t(1413),n=t(885),r=t(2791),i=t(3269),c=t(4316),o=t(937),d=t(5117),l=t(3646),h=t(4719),m=t(4569),u=t.n(m),g=t(4757),p=t(3414),f=t(381),v=t(1452),_=t(184);a.Z=(0,c.ZP)((function(e){var a,t=e.intl,c=(e.match,e.staticContext),m=t.formatMessage({id:"Register.Header.Title.Left"}),x=t.formatMessage({id:"Register.Header.Title.Right"}),b=(0,r.useContext)(l.ZP),j=b.setAdditionalData,w=b.formData,y=b.setFormData,Z=b.currentStep,N=b.setErrors,k=b.additionalData,P=(0,r.useState)(!1),T=(0,n.Z)(P,2),M=T[0],D=T[1],C=(0,f.Z)().handleRegisterSubmit,S=(null===k||void 0===k||null===(a=k.cutoverSettings)||void 0===a?void 0:a.myrandstad_register)||{},R=t.locale;(0,g.Pe)(R,c),(0,r.useEffect)((function(){window.__ROUTE_DATA__?delete window.__ROUTE_DATA__:Promise.all([u().get("".concat("/api/my-randstad","/job-categories-list")),u().get("".concat("/api/my-randstad","/branch-specialisms"))]).then((function(e){var a,t,s=(0,n.Z)(e,2),r=s[0],i=s[1];j({regions:null===r||void 0===r||null===(a=r.data)||void 0===a?void 0:a.regions,specialisms:null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.specialisms,branches:null===i||void 0===i?void 0:i.data})})),(0,d.Z)(),y([])}),[]);var L=function(){y((function(e){return e[Z]||(e[Z]={}),e[Z].accept_privacy_policy="yes",(0,s.Z)({},e)})),D(!1)},E=function(){y((function(e){return e[Z]||(e[Z]={}),e[Z].accept_privacy_policy="",(0,s.Z)({},e)})),D(!1)};return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(i.q,{children:[(0,_.jsxs)("title",{children:[t.formatMessage({id:"Register.Title"})," | ",t.formatMessage({id:"Breadcrumb.Dashboard"})]}),(0,_.jsx)("header",{className:"header header--text bg-variant-brand-primary"})]}),(0,_.jsx)("div",{className:"header header--text bg-variant-brand-primary",children:(0,_.jsxs)("div",{className:"header__wrapper wrapper",children:[(0,_.jsx)(p.Z,{}),(0,_.jsx)("div",{className:"header__content header__content--l content-block header__content--full-width has-breadcrumbs",children:(0,_.jsxs)("h1",{className:"content-block__title",children:[(0,_.jsx)("span",{className:"content-block__title-top",children:m}),(0,_.jsx)("span",{className:"content-block__title-bottom text--emphasis",children:x})]})})]})}),(0,_.jsx)(v.Z,{settings:S}),(0,_.jsx)(o.Z,{name:"register",handleChange:function(e){var a=e.target.name,t=e.target.value;if("checkbox"===e.target.type){var n=e.target.value;"string"===typeof n&&"true"===n&&(n=!0),t=e.target.checked?n:null}"accept_privacy_policy"===a&&t?D(!0):(y((function(e){return e[Z]||(e[Z]={}),e[Z][a]=t,(0,s.Z)({},e)})),N((function(e){return e&&e.hasOwnProperty(a)&&t&&delete e[a],(0,s.Z)({},e)})))},state:w[Z],handleSubmit:function(e){e.preventDefault(),C()},hideGeneralErrors:!0}),M?(0,_.jsx)(h.Z,{title:t.formatMessage({id:"Register.Section.PersonalDataProcessing.Checkbox.PrivacyPolicy.Modal.Title"}),onClose:E,footer:(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("button",{onClick:L,className:"button button--m button--filled button--full-width",children:t.formatMessage({id:"Register.Section.PersonalDataProcessing.Checkbox.PrivacyPolicy.Modal.Button"})})}),footerDivider:!1}):""]})}))}}]); 2//# sourceMappingURL=de-pages.e1da961f.js.map
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.