PageSourceSearch

https://hype4.academy/_next/static/chunks/pages/profile/[id]/challenge/[uiChallenge]-d6d079f24365acbf.js

js hype4.academy collected 2026-09-24 09:24:34 UTC 2,080 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9716],{98335:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return C}});var o=t(67294),i=t(41879),s=t(63523),l=t(25246),a=t(37485),r=t(31473),u=t(46902),c=t(59456),d=t(88767),m=t(89254),p=t(33299),h=t(59536),f=t(11163),g=t(85893),C=!0;n.default=e=>{var n,t,C,_,j;let{profile:v,challengeProjects:w,publicProjects:I,userId:b,uiChallengeId:N}=e,k=w[0],P=w[1],x=w.find(e=>e.points&&e.points.length>0),{0:Z,1:E}=(0,o.useState)(!0),{data:S}=(0,p.useSession)(),y=(0,f.useRouter)(),{data:B}=(0,d.useQuery)(["getProject",N],async()=>{let e={};null!=S&&S.accessToken&&(e={Authorization:"Bearer ".concat(null==S?void 0:S.accessToken)});let n=(0,l.ui)({url:i.AX.projects.public.getOneBeforeAfter,id:v.slug});return await s.Wf.get((0,l.ui)({url:n,id:N,toBeChanged:":uiChallengeId"}),{headers:e}).then(e=>e.data)},{initialData:w,enabled:!!x}),D=B&&B.find(e=>e.points&&e.points.length>0||e.uploadBotCommentary);return(0,g.jsxs)(r.Z,{transparentNav:"basicNav",children:[(0,g.jsx)(a.Z,{title:k.name,description:"by ".concat(v.name).concat(null!==(n=k.uiChallenge)&&void 0!==n&&n.shortDescription?" - ".concat(null===(t=k.uiChallenge)||void 0===t?void 0:t.shortDescription):k.description?" - ".concat(k.description):""),heroImage:P?null==P||null===(C=P.mainImage)||void 0===C?void 0:C.url:null==k||null===(_=k.mainImage)||void 0===_?void 0:_.url,url:y.asPath.replace(/^\/+/,"")}),B&&(0,g.jsx)(u.Z,{profile:v,projects:w,publicProjects:I,userId:b,feedbackImageComponent:D?(0,g.jsx)(c.Z,{projectData:B,showComments:Z}):null,showComments:D?(0,g.jsx)(m.Z,{showComments:Z,setShowComments:E}):null,asideComponent:(0,g.jsx)(h.Z,{comments:[...B[0].usersComments,...B[1]?B[1].usersComments:[]],projectId:null!==(j=B[1])&&void 0!==j&&j.id?B[1].id:B[0].id,creatorId:B[0].creatorId})})]})}},66522:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/[id]/challenge/[uiChallenge]",function(){return t(98335)}])}},function(e){e.O(0,[9332,1193,2758,526,2503,3225,2888,9774,179],function(){return e(e.s=66522)}),_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.