1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9358],{16674:(e,a,l)=>{"use strict";l.r(a),l.d(a,{__N_SSG:()=>g,default:()=>v});var i=l(37876),t=l(55286),s=l(89099),n=l(39831),c=l(14232),d=l(45151),r=l(69384),o=l(47266),u=l(69241),p=l(31987),m=l(57622),x=l(41438);let h=e=>{var a,l,d,h,g;let{t:v}=(0,t.Bd)(["common"]),b=(0,t.Bd)(["preferences"]).t,f=(0,s.useRouter)(),{userPreferences:j,selectedUserPreferencesType:N,setSelectedUserPreferencesType:w,loadingInitialUserPreferences:y,loadMore:_,noMoreData:k,isLoadingPreferences:B}=(0,m.yf)(),M=j||null;(0,c.useRef)(null);let{user:A,loadingUser:I}=(0,o.A)();return(0,c.useEffect)(()=>{var e;w(null!=(e=f.query.p)?e:"bookmark")},[w,f.query]),(0,i.jsx)("main",{children:(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"flex w-full",children:[(0,i.jsx)("div",{className:"flex-none pl-4 pr-4 h-full min-h-[400px] border-r-2 mt-0 md:mt-14 mb-0 md:mb-10 md:bg-white md:w-[20%] md:items-left transition-all duration-300",children:(0,i.jsx)(x.A,{title:null==(d=e.applicationMenuData)||null==(l=d.attributes)||null==(a=l.applicationMenuGroups)?void 0:a.data[0].attributes.title,pages:(0,n.ZY)(e.applicationMenuData,0)})}),(0,i.jsxs)("div",{className:"flex-grow w-[80%] mt-8 md:mt-14 md:mb-10 pl-4 lg:pl-10 md:pl-5 mr-4",children:[(0,i.jsx)("div",{className:"h-74 mb-3 w-12/12 grid grid-cols-1 items-left",children:(0,i.jsx)("h2",{className:"text-2xl font-semibold",children:b("title-".concat(N))})}),(0,i.jsx)("div",{className:"mb-7 w-12/12 grid grid-cols-1 items-left",children:b("subtitle-".concat(N))}),A&&y&&(0,i.jsx)("div",{className:"h-96 space-y-4",children:(0,i.jsx)("div",{children:b("loading-".concat(N))})}),!A&&(0,i.jsx)("div",{className:"h-96 space-y-4",children:(0,i.jsx)("div",{children:b("no-user")})}),(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:"grid w-full",children:[(null==(h=M[N])?void 0:h.length)>0&&(0,i.jsxs)("div",{className:"flex flex-col overflow-auto",children:[(0,i.jsx)("div",{className:"bg-baseBackgroundGray rounded-lg px-6 grid md:justify-items-center lg:grid-cols-3 sm:grid-cols-2 xs:grid-cols-1 lg:gap-[20px] gap-[10px]",children:null==(g=M[N])?void 0:g.map(e=>(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)("div",{className:"",children:(0,i.jsx)(r.A,{useTranslation:t.Bd,resultData:e.data,baseUrl:e.data.uri,contentName:e.data.title})},"plb-".concat(e.data.contentType,"-").concat(e.data.id))},"cc-".concat(e.data.contentType,"-").concat(e.data.id)))},"plb-cont-b"),(0,i.jsx)("div",{className:"flex justify-center p-2",children:(0,i.jsxs)("button",{id:"list-load-more",className:(0,u.A)(k?"invisible":"visible","rounded-full text-white text-sm font-normal bg-primaryBlue transition-all duration-200 hover:bg-blue-300 active:bg-basePalestGray active:text-primaryBlue py-2 px-4"),onClick:async()=>{_()},children:[B&&(0,i.jsx)(p.A,{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-white inline-block"}),v("Load More")]})})]},"plb-cont"),!y&&0==M.length&&(0,i.jsx)("div",{className:"h-96 space-y-4",children:(0,i.jsx)("div",{children:b("no-".concat(N))})})]})})]})]})})})};h.getLayout=function(e,a){var l;return(0,i.jsx)(d.A,{applicationData:a.applicationData,useTranslation:t.Bd,hideBreadcrumb:!0,seo:null==(l=a.applicationPage)?void 0:l.seo,applicationMenuId:a.applicationMenuId,applicationMenuGroupId:a.applicationMenuGroupId,applicationPageId:a.applicationPageId,tags:a.tags,children:(0,i.jsx)(m.Ay,{searchId:"contentPage:".concat((0,n.sc)("preferences")),children:e})})};var g=!0;let v=h},50619:(e,a,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/preferences",function(){return l(16674)}])}},e=>{var a=a=>e(e.s=a);e.O(0,[8805,692,9018,915,8507,5151,957,7809,683,636,6593,8792],()=>a(50619)),_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.