1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4603],{33225:(e,n,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/settings",function(){return i(61382)}])},61382:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var s=i(37876),t=i(77328),l=i.n(t),o=i(14232),r=i(2171),a=i(57994),c=i(38614),d=i(47553),u=i(5357),m=i(21639),x=i(82669),f=i(16495),h=i(83872);let j=(0,o.memo)(()=>{var e,n;let{primaryUserData:i}=(0,r.useSelector)(e=>e.PrimaryUserData),t=[{label:"profile",key:"profile",url:f.APP_PATHS.profileSettings,event:"settings-profile-tab",description:"Edit your profile information like name, profile picture, skills"},{label:"inbox",key:"inbox",url:f.APP_PATHS.inboxSettings,event:"settings-inbox-tab",description:"Edit shorthands and control who can send you messages on Peerlist"},{label:"account",key:"account",url:f.APP_PATHS.accountSettings,event:"settings-account-tab",description:"Change your password anytime."},{label:"notifications",key:"notifications",url:f.APP_PATHS.notificationSettings,event:"notifications-account-tab",description:"Select the kinds of notifications you get about your activities, interests, and recommendations."},{label:"job preferences",key:"jobPreferences",url:f.APP_PATHS.jobPreferenceSettings,event:"settings-jobPreferences-tab",description:"You can see & set your job preferences",badge:(null==i||null==(e=i.jobPreferences)?void 0:e.status)!==f.JOB_PREFERENCES_CONST.STATUS_INACTIVE?(0,s.jsx)(u.A.Green,{className:"ml-2",children:"Open"}):null},{label:"custom domain",key:"customDomain",url:f.APP_PATHS.customDomainSettings,event:"settings-customDomain-tab",description:"Use your profile as a portfolio on your domain",badge:(null==i||null==(n=i.customDomain)?void 0:n.domainName)?(0,s.jsx)(u.A.Green,{className:"ml-2",children:"Connected"}):(0,s.jsx)(u.A.Red,{className:"ml-2",children:"Not Connected"})}];return(0,s.jsx)("ul",{children:t.map(e=>"notifications"!==e.key||(null==i?void 0:i.published)?(0,s.jsx)("li",{className:"w-full",children:(0,s.jsx)(c.A,{page:e,children:(0,s.jsx)("p",{className:"text-xs block lg:hidden",children:e.description})})},e.url):null)})}),p=(0,d.A)(e=>{let{children:n,pageHeading:i="Settings",title:t=null,loading:r=!1,centerTopChildren:c=null}=e,[d,u]=(0,o.useState)(!1);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l(),{children:(0,s.jsx)("title",{children:"Peerlist Settings | ".concat(t||i)})}),(0,s.jsxs)(a.A.Center,{children:[(0,s.jsxs)(a.A.CenterTop,{internalPage:!0,children:[(0,s.jsxs)("div",{className:"flex justify-between items-center w-full",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(a.A.BackButton,{}),(0,s.jsx)(a.A.PageHeading,{children:i})]}),c]}),(0,s.jsx)(m.Ay.CarbonOutline,{circular:!0,onClick:()=>u(e=>!e),className:"lg:hidden flex",children:d?(0,s.jsx)(h.CloseXIcon,{size:18}):(0,s.jsx)(h.MenuIcon,{size:16})})]}),(0,s.jsx)("main",{children:r?(0,s.jsx)("div",{className:"flex items-center justify-center vertical-center-loader w-full",children:(0,s.jsx)(x.A,{})}):(0,s.jsx)("div",{children:n})})]}),(0,s.jsx)(a.A.Right,{showSidePanel:d,paddingX:"px-0",children:(0,s.jsx)(j,{})})]})})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=33225)),_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.