1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1767,66199,88580],{7246:(e,t,a)=>{"use strict";a.d(t,{m:()=>c,A:()=>h});var s,n=a(37876);a(14232);var i=a(93127);let r={"0%":{transform:"translateY(-100px)",opacity:1},"10%":{transform:"translateY(-140px)",opacity:1},"95%":{transform:"translateY(-140px)",opacity:1},"100%":{transform:"translateY(-140px)",opacity:0}},o=()=>(0,i.KN)({toastContainer:{position:"fixed",padding:"0 24px",boxSizing:"border-box",display:"flex",justifyContent:"center",bottom:"-100px",left:0,width:"100%",height:"50px",color:"white",zIndex:1e3,animationName:[r],animationDuration:"10s",animationIterationCount:"1"},toast:{borderRadius:"5px",borderBottom:"2px solid #00B2B0",maxWidth:"350px",height:"50px",width:"100%",display:"flex",background:"#1B243F",alignItems:"center"}});var l=a(55739),d=a(77597),c=((s={}).success="Changes successfully saved.",s.error="An error occured, Please try again.",s);let h=e=>{let{siteOptions:t,theme:a,classKey:s,ThemeContainer:r,SiteStyles:c,formStatus:h}=e,x=(0,i.xy)({},a||t?.theme||s,o);return(0,n.jsx)(r,{classKey:a||s,stylesheet:x,children:(0,n.jsx)(l.default,{...{siteOptions:t,theme:a,classKey:s,ThemeContainer:r,SiteStyles:c},children:(0,n.jsx)("div",{className:(0,i.AH)(x.toastContainer),children:(0,n.jsxs)("div",{className:(0,i.AH)(x.toast),children:[(0,n.jsx)("span",{style:{margin:"0 16px"},children:(0,n.jsx)(d.default,{size:"20px",color:"Changes successfully saved."===h?"#00B2B0":"var(--error)",name:"Changes successfully saved."===h?"green-tick":"exclamation-mark"})}),h]})})})})}},68797:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>m});var s=a(37876),n=a(14232),i=a(98175),r=a(19856),o=a(31067),l=a(93127);let d=()=>({authProfileContainer:{marginTop:"-110px"},loadingAuthProfile:{marginTop:"120px",justifyContent:"center",display:"flex",height:"400px",alignItems:"center"},additionalBlocksContainer:{display:"none"},show:{display:"block"}}),c=e=>l.vv.create(d()),h=e=>{let t=d();return(0,l.KN)(t,{...t})};var x=a(55739),u=a(7246),p=a(88580);let m=({form:e,additionalBlocks:t,theme:a,classKey:d,siteOptions:m,ThemeContainer:f,SiteStyles:g})=>{let y={siteOptions:m,theme:a,classKey:d,ThemeContainer:f,SiteStyles:g},{state:v,updateProfile:j}=(0,n.useContext)(i.AuthContext),[b,C]=(0,n.useState)(!1),[k,N]=(0,n.useState)(!1),A=(0,l.xy)({},a||m?.theme||d,c,[{themeName:l.Js.careers,theme:h}]),[S,w]=(0,n.useState)({}),B=async e=>{N(!1),j(e||S,v.jwtToken).then(e=>{e&&C(!0)}).catch(()=>{C(!0),N(!0)})};return(0,n.useEffect)(()=>{b&&setTimeout(()=>C(!1),1e4)},[b]),(0,s.jsxs)("div",{className:(0,l.AH)(A.authProfileContainer),children:[e&&e.length>0&&(0,s.jsx)(x.default,{children:v.userProfile?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.default,{...e[0],...y,onSubmitHandler:e=>{w(e),B(e)},additionalData:v.userProfile,isLoading:v.changeRequestStatus===r.rY.UpdatingProfile&&v.isLoading}),b&&(0,s.jsx)(u.A,{componentId:"toastSave",formStatus:k?u.m.error:u.m.success,...y,onClose:()=>C(!1)})]}):(0,s.jsx)("div",{className:(0,l.AH)(A.loadingAuthProfile),children:(0,s.jsx)(p.default,{...y})})}),t&&(0,s.jsx)("div",{className:(0,l.AH)(A.additionalBlocksContainer,v.changeRequestStatus===r.rY.Loading&&A.show),children:t})]})}},88580:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var s=a(37876);a(14232);var n=a(93127);let i=({size:e="64px",borderWidth:t="8px",theme:a,ThemeContainer:i,classKey:r,color:o="var(--blue-dark)"})=>{let l=(({color:e})=>n.vv.create({loadingSpinner:{display:"inline-block",position:"relative",width:"80px",height:"80px",justifyContent:"center",alignItems:"center",":nth-child(1n) div":{boxSizing:"border-box",display:"block",position:"absolute",width:"100%",height:"100%",border:"8px solid var(--blue-dark)",borderRadius:"50%",animationName:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},animationDuration:"1.4s",animationIterationCount:"infinite",borderColor:`${e} transparent transparent transparent`,":nth-child(1n)":{animationDelay:"-0.45s"},":nth-child(2n)":{animationDelay:"-0.3s"},":nth-child(3n)":{animationDelay:"-0.15s"}}}}))({color:o}),d=()=>(0,s.jsxs)("div",{className:(0,n.AH)(l.loadingSpinner),style:{width:e,height:e},children:[(0,s.jsx)("div",{style:{borderWidth:t}}),(0,s.jsx)("div",{style:{borderWidth:t}}),(0,s.jsx)("div",{style:{borderWidth:t}}),(0,s.jsx)("div",{style:{borderWidth:t}})]});return i?(0,s.jsx)(i,{classKey:a||r,stylesheet:l,children:(0,s.jsx)(d,{})}):(0,s.jsx)(d,{})}},89099:(e,t,a)=>{e.exports=a(8245)}}]);
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.