1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5159],{38840:(e,s,a)=>{"use strict";a.d(s,{A:()=>g}),a(14232);var i=a(24480),r=a(40014),t=a(25508),o=a(99220),n=a(90458),c=a(31462),d=a(83963),p=a(37876);let l=(0,o.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,t.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:s,message:a}=e,{classes:t}=l();return(0,p.jsx)(i.A,{className:t.container,"data-testid":"custom-progress-box",children:(0,p.jsxs)(n.A,{className:t.card,children:[(0,p.jsxs)(i.A,{className:t.boxHeader,children:[(0,p.jsx)(r.A,{variant:"h2",component:"h1",className:t.heading,role:"alert",children:s}),(0,p.jsx)(r.A,{variant:"h3",component:"h2",className:t.subHeading,children:a})]}),(0,p.jsx)(c.A,{className:t.divider}),(0,p.jsx)(i.A,{sx:{mb:25},className:t.progressContainer,children:(0,p.jsx)(d.A,{})})]})})}},55692:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/profile/success",function(){return a(58724)}])},58724:(e,s,a)=>{"use strict";a.r(s),a.d(s,{__N_SSG:()=>M,default:()=>O});var i=a(24480),r=a(31462),t=a(25508),o=a(99220),n=a(40014),c=a(59828),d=a(90458),p=a(77328),l=a.n(p),g=a(89099),u=a(14232),f=a(58794),m=a(85209),h=a(38840),b=a(60371),x=a(58325),y=a(77302),j=a(39175),w=a(19708),k=a(56142),A=a(82788),C=a(17667),v=a(37876);let N=(0,o.n9)()(e=>({main:{backgroundColor:e.palette.gray.F5F6F8},section:{display:"flex",flexDirection:"row",justifyContent:"center",[e.breakpoints.up("lg")]:{width:870,borderRadius:e.spacing(1.5)},margin:"auto",[e.breakpoints.up("sm")]:{padding:e.spacing(14,0)}},defaultCard:{backgroundColor:e.palette.common.white,width:"100%",borderTop:`1px solid ${e.palette.gray.secondary}`,borderRadius:12},cardSection:{display:"flex",flexDirection:"column",alignItems:"center",padding:e.spacing(3),backgroundColor:(0,t.X4)(e.palette.gray.D1D9E2,.15),[e.breakpoints.up("sm")]:{padding:e.spacing(4)}},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.5)},divider:{backgroundColor:e.palette.gray.secondary},button:{marginTop:e.spacing(4),height:40,width:216},cardsSection:{width:"100%",paddingLeft:e.spacing(6),paddingRight:e.spacing(6),[e.breakpoints.down(e.breakpoints.values.md)]:{padding:0}},cardsContainer:{display:"grid",maxWidth:1440,marginLeft:"auto",marginRight:"auto",gridTemplateColumns:"1fr 1fr",justifyContent:"center",[e.breakpoints.down(e.breakpoints.values.md)]:{gridTemplateColumns:"1fr",paddingBottom:e.spacing(4),margin:e.spacing(1,2)}},cards:{display:"flex",flexDirection:"column",gap:e.spacing(3),marginTop:e.spacing(3),marginBottom:e.spacing(4),padding:e.spacing(2),justifyContent:"center",maxHeight:600,[e.breakpoints.down(e.breakpoints.values.md)]:{width:"100%",margin:0,gap:e.spacing(0),justifyContent:"space-between",paddingTop:e.spacing(1.25),paddingBottom:e.spacing(1.25),paddingLeft:e.spacing(2),paddingRight:e.spacing(2)}},card:{boxShadow:e.shadows[2]},cardsContent:{height:280,overflow:"hidden",marginTop:e.spacing(.5),[e.breakpoints.down(e.breakpoints.values.md)]:{height:"auto"}},cardTitle:{lineClamp:3,paddingBottom:e.spacing(1)},cardContent:{lineClamp:7,height:200,[e.breakpoints.down(e.breakpoints.values.md)]:{paddingBottom:0,width:"100%"}},readMore:{padding:e.spacing(1),lineClamp:1},ellipsize:{visibility:"visible",overflow:"hidden",textOverflow:"ellipsis",height:"fit-content",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitBoxPack:"end"},textCentered:{textAlign:"center"}}));var M=!0;let O=e=>{let{topicsLandingPage:s}=e,{classes:a,cx:t}=N(),{isMobile:o}=(0,w.A)(),p=(0,f.tz)(),M=(0,g.useRouter)(),{fetchProfile:O,isAuthenticated:S}=(0,m.x)(),{collectVirtualPageviewEvent:T}=(0,C.A)(),_=p.formatMessage({defaultMessage:"Profile Created",id:"pages.user.profile.success.9
111474369"});return(0,u.useEffect)(()=>{O(),T({virtual_page:_}),M.beforePopState(()=>"/user/profile/success"!==M.pathname||(M.replace("/user/profile#preferences"),!1))},[]),(0,u.useEffect)(()=>{S||M.push("/")},[S]),S?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l(),{children:(0,v.jsx)("title",{children:_})}),(0,v.jsx)(i.A,{className:a.main,children:(0,v.jsx)(i.A,{className:a.section,children:(0,v.jsxs)(d.A,{className:a.defaultCard,children:[(0,v.jsxs)(i.A,{className:a.cardSection,children:[(0,v.jsx)(n.A,{variant:"h2",className:a.heading,children:p.formatMessage({defaultMessage:"Profile creation successful",id:"pages.user.profile.success.3562953497",id:"pages.user.profile.success.3562953497",id:"pages.user.profile.success.3562953497",id:"pages.user.profile.success.3562953497",id:"pages.user.profile.success.3562953497",id:"pages.user.profile.success.3562953497",id:"pages.user.profile.success.3562953497"})}),(0,v.jsx)(n.A,{variant:"body1",className:a.subHeading,children:p.formatMessage({defaultMessage:"Your profile creation was successful. You can start using WorldCat.org right away.",id:"pages.user.profile.success.4126690452",id:"pages.user.profile.success.4126690452",id:"pages.user.profile.success.4126690452",id:"pages.user.profile.success.4126690452",id:"pages.user.profile.success.4126690452",id:"pages.user.profile.success.4126690452",id:"pages.user.profile.success.4126690452"})}),(0,v.jsx)(c.A,{color:"primary",variant:"contained",className:a.button,"data-testid":"worldcat-login-to-button",onClick:()=>{M.push({pathname:"/"})},children:p.formatMessage({defaultMessage:"Continue to WorldCat.org",id:"pages.user.profile.success.3742574675",id:"pages.user.profile.success.3742574675",id:"pages.user.profile.success.3742574675",id:"pages.user.profile.success.3742574675",id:"pages.user.profile.success.3742574675",id:"pages.user.profile.success.3742574675",id:"pages.user.profile.success.3742574675"})})]}),(0,v.jsx)(r.A,{className:a.divider}),(0,v.jsxs)(i.A,{className:a.cardsSection,children:[(0,v.jsx)(i.A,{className:a.textCentered,children:(0,v.jsx)(n.A,{variant:"body1",className:a.subHeading,children:p.formatMessage({defaultMessage:"Learn more about using WorldCat.org here:",id:"pages.user.profile.success.2757113489",id:"pages.user.profile.success.2757113489",id:"pages.user.profile.success.2757113489",id:"pages.user.profile.success.2757113489",id:"pages.user.profile.success.2757113489",id:"pages.user.profile.success.2757113489",id:"pages.user.profile.success.2757113489",id:"pages.user.profile.success.2757113489"})})}),(0,v.jsx)(A.A,{"data-testid":"about-main",className:a.cardsContainer,children:s.featuredTopic.map(e=>(0,v.jsx)(i.A,{className:a.cards,children:(0,v.jsxs)(b.A,{className:a.card,"data-testid":`card-${e.id}`,component:"article",children:[(0,v.jsx)(j.A,{component:"img",height:"200",image:e.thumbnail.url,title:e.title,"data-testid":`image-${e.id}`,"aria-label":e.title}),(0,v.jsxs)(y.A,{className:a.cardsContent,children:[(0,v.jsx)(n.A,{id:`topic-${e.id}`,gutterBottom:!0,variant:o?"body1":"subtitle1",component:k.A,href:`/topics/${e.slug}`,className:t(a.cardTitle,a.ellipsize),"data-testid":`title-${e.id}`,children:e.topicTitle}),(0,v.jsx)(n.A,{variant:"body1",color:"textSecondary",className:t(a.cardContent,a.ellipsize),"data-testid":`description-${e.id}`,children:e.topicDescription})]}),(0,v.jsx)(r.A,{className:a.divider}),(0,v.jsx)(x.A,{children:(0,v.jsx)(n.A,{id:`read-more-${e.id}`,variant:"body2",component:k.A,href:`/topics/${e.slug}`,className:a.readMore,"data-testid":`read-more-${e.id}`,"aria-labelledby":`read-more-${e.id} topic-${e.id}`,children:p.formatMessage({defaultMessage:"Read more",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682",id:"pages.user.profile.success.3342910682"})})})]})},e.id))})]})]})})})]}):(0,v.jsx)(h.A,{title:p.formatMessage({defaultMessage:"We are signing you into WorldCat.org",id:"pages.user.profile.success.2172735635",id:"pages.user.profile.success.2172735635"}),message:p.formatMessage({defaultMessage:"Please wait, do not hit back or close the browser window",id:"pages.user.profile.success.2737324023",id:"pages.user.profile.success.2737324023"})})}},82788:(e,s,a)=>{"use strict";a.d(s,{A:()=>l});var i=a(47175),r=a(1433);a(14232);var t=a(43256),o=a(58794),n=a(37876);let c=["className","children"];function d(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);s&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,i)}return a}function p(e){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};
1s%2?d(Object(a),!0).forEach(function(s){(0,i.A)(e,s,a[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(a,s))})}return e}let l=e=>{let{className:s,children:a}=e,i=(0,r.A)(e,c),d=(0,o.tz)(),l=(0,t.F)("main-content-skip",d.formatMessage({defaultMessage:"Skip to main content",id:"components.design-system.atoms.MainLayout.319895201"}));return(0,n.jsx)("main",p(p({className:s,ref:l,tabIndex:-1},i),{},{children:a}))}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=55692)),_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.