1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5044],{22636:(e,r,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/profile/error",function(){return a(59009)}])},38840:(e,r,a)=>{"use strict";a.d(r,{A:()=>g}),a(14232);var s=a(24480),o=a(40014),i=a(25508),t=a(99220),n=a(90458),p=a(31462),l=a(83963),d=a(37876);let c=(0,t.n9)()(e=>({container:{backgroundColor:e.palette.gray.F5F6F8,display:"flex",flexDirection:"column",alignItems:"center",padding:e.spacing(2,0),marginBottom:e.spacing(5),[e.breakpoints.up("sm")]:{padding:e.spacing(6,0)}},card:{backgroundColor:e.palette.common.white,border:`1px solid ${e.palette.gray.secondary}`,borderRadius:e.spacing(1.5),borderTop:`1px solid ${e.palette.gray.secondary}`,[e.breakpoints.up("lg")]:{width:490}},boxHeader:{display:"flex",flexDirection:"column",alignItems:"center",padding:e.spacing(3),backgroundColor:(0,i.X4)(e.palette.gray.D1D9E2,.15),[e.breakpoints.up("sm")]:{padding:e.spacing(5)}},heading:{color:e.palette.primary.main,fontSize:e.typography.body1.fontSize,[e.breakpoints.up("sm")]:{fontSize:e.typography.h2.fontSize}},subHeading:{color:e.palette.text.primary,marginTop:e.spacing(2)},divider:{backgroundColor:e.palette.gray.secondary},progressContainer:{margin:e.spacing(10)}})),g=e=>{let{title:r,message:a}=e,{classes:i}=c();return(0,d.jsx)(s.A,{className:i.container,"data-testid":"custom-progress-box",children:(0,d.jsxs)(n.A,{className:i.card,children:[(0,d.jsxs)(s.A,{className:i.boxHeader,children:[(0,d.jsx)(o.A,{variant:"h2",component:"h1",className:i.heading,role:"alert",children:r}),(0,d.jsx)(o.A,{variant:"h3",component:"h2",className:i.subHeading,children:a})]}),(0,d.jsx)(p.A,{className:i.divider}),(0,d.jsx)(s.A,{sx:{mb:25},className:i.progressContainer,children:(0,d.jsx)(l.A,{})})]})})}},59009:(e,r,a)=>{"use strict";a.r(r),a.d(r,{__N_SSG:()=>j,default:()=>k});var s=a(24480),o=a(31462),i=a(25508),t=a(99220),n=a(40014),p=a(59828),l=a(90458),d=a(77328),c=a.n(d),g=a(89099),u=a(14232),f=a(58794),m=a(85209),h=a(38840),b=a(17667),x=a(37876);let y=(0,t.n9)()(e=>({main:{backgroundColor:e.palette.gray.F5F6F8},section:{display:"flex",flexDirection:"row",justifyContent:"center",padding:e.spacing(5,0),[e.breakpoints.up("sm")]:{padding:e.spacing(14,0)}},card:{backgroundColor:e.palette.common.white,width:"100%",borderTop:`1px solid ${e.palette.gray.secondary}`,borderRadius:0,[e.breakpoints.up("lg")]:{border:`1px solid ${e.palette.gray.secondary}`,width:870,borderRadius:e.spacing(1.5)}},cardSection:{display:"flex",flexDirection:"column",alignItems:"center",padding:e.spacing(3),backgroundColor:(0,i.X4)(e.palette.gray.D1D9E2,.15),[e.breakpoints.up("sm")]:{padding:e.spacing(4)}},heading:{color:e.palette.error.main,fontSize:e.typography.body1.fontSize,[e.breakpoints.up("sm")]:{fontSize:e.typography.h2.fontSize}},subHeading:{color:e.palette.text.primary,marginTop:e.spacing(2.5)},divider:{backgroundColor:e.palette.gray.secondary},button:{marginTop:e.spacing(4),height:40,width:216}}));var j=!0;let k=()=>{let{classes:e}=y(),r=(0,f.tz)(),a=(0,g.useRouter)(),{isAuthenticated:i}=(0,m.x)(),{collectVirtualPageviewEvent:t}=(0,b.A)(),d=r.formatMessage({defaultMessage:"Profile Creation Error",id:"pages.user.profile.error.1880067311"});return(0,u.useEffect)(()=>{t({virtual_page:d}),a.beforePopState(()=>"/user/profile/error"!==a.pathname||(a.replace("/user/profile#preferences"),!1))},[]),(0,u.useEffect)(()=>{i||a.push("/")},[i]),i?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(c(),{children:(0,x.jsx)("title",{children:d})}),(0,x.jsx)(s.A,{className:e.main,children:(0,x.jsx)(s.A,{className:e.section,children:(0,x.jsxs)(l.A,{className:e.card,children:[(0,x.jsxs)(s.A,{className:e.cardSection,children:[(0,x.jsx)(n.A,{variant:"h2",className:e.heading,children:r.formatMessage({defaultMessage:"Profile creation failed",id:"pages.user.profile.error.2047297430",id:"pages.user.profile.error.2047297430",id:"pages.user.profile.error.2047297430",id:"pages.user.profile.error.2047297430",id:"pages.user.profile.error.2047297430",id:"pages.user.profile.error.2047297430",id:"pages.user.profile.error.2047297430"})}),(0,x.jsx)(n.A,{variant:"body1",className:e.subHeading,children:r.formatMessage({defaultMessage:"We were unable to create your profile due to a technical error. Please try again.",id:"pages.user.profile.error.203227360",id:"pages.user.profile.error.203227360",id:"pages.user.profile.error.203227360",id:"pages.user.profile.error.203227360",id:"pages.user.profile.error.203227360",id:"pages.user.profile.error.203227360",id:"pages.user.profile.error.203227360"})}),(0,x.jsx)(p.A,{color:"primary",variant:"contained",className:e.button,"data-testid":"create-profile-button",onClick:()=>{a.replace("/user/profile#preferences")},children:r.formatMessage({defaultMessage:"Create profile",id:"pages.user.profile.error.2069951216",id:"pages.user.profile.error.2069951216",id:"pages.user.profile.error.2069951216",id:"pages.user.profile.error.2069951216",id:"pages.user.profile.error.2069951216",id:"pages.user.profile.error.2069951216",id:"pages.user.profile.error.2069951216"})})]}),(0,x.jsx)(o.A,{className:e.divider}),(0,x.jsx)(s.A,{className:e.cardSection})]})})})]}):(0,x.jsx)(h.A,{title:r.formatMessage({defaultMessage:"We are signing you into WorldCat.org",id:"pages.user.profile.error.2172735635",id:"pages.user.profile.error.2172735635"}),message:r.formatMessage({defaultMessage:"Please wait, do not hit back or close the browser window",id:"pages.user.profile.error.2737324023",id:"pages.user.profile.error.2737324023"})})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=22636)),_N_E=e.O()}]);
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.