1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4dae233f-26e0-4472-9edb-eebaff95ed73",e._sentryDebugIdIdentifier="sentry-dbid-4dae233f-26e0-4472-9edb-eebaff95ed73")}catch(e1){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3689],{89032:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tasks",function(){return __webpack_require__(17561)}])},17561:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__N_SSP:function(){return __N_SSP},default:function(){return TasksPage}});var jsx_runtime=__webpack_require__(85893),next_router=__webpack_require__(11163),next_seo_module=__webpack_require__(2962),react=__webpack_require__(67294),lib=__webpack_require__(54490),useIntl=__webpack_require__(86896),message=__webpack_require__(44012),ListRequestForm=__webpack_require__(74555),ListRequestParam
1s=__webpack_require__(98847),Container=__webpack_require__(64175),Empty=__webpack_require__(47603),ContentWithSidebar=__webpack_require__(37494),PageHeader=__webpack_require__(58211),MainContent=__webpack_require__(78827),Sidebar=__webpack_require__(71324),MainMenu=__webpack_require__(61887),Header=__webpack_require__(80170),usePaging=__webpack_require__(92394),style=__webpack_require__(51857),style_default=__webpack_require__.n(style),LoadNextContainer=__webpack_require__(80620),next_link=__webpack_require__(41664),link_default=__webpack_require__.n(next_link),Card=__webpack_require__(21730),Figure=__webpack_require__(77763),Footer=__webpack_require__(78942),Card_Header=__webpack_require__(33730),Reactions=__webpack_require__(71136),Icon=__webpack_require__(95569),CardDate=__webpack_require__(80399),Mode=__webpack_require__(48755);let TaskCard=param=>{let{task}=param,{image,image_rectangle,id,slug,color,title,reactions,reactions_count,dates,visibility_mode}=task;return(0,jsx_runtime.jsx)(link_default(),{legacyBehavior:!0,href:"/tasks/".concat(slug||id),passHref:!0,children:(0,jsx_runtime.jsxs)("a",{className:"jsx-9ecd5225e7a88e02 "+style_default().dynamic([["1f8cb7e634aa5de5",[color||"var(--color-action-text)"]]]),children:[(0,jsx_runtime.jsxs)(Card.Z,{visibility:visibility_mode,noPadding:!0,children:[(0,jsx_runtime.jsx)("div",{className:"jsx-9ecd5225e7a88e02 "+style_default().dynamic([["1f8cb7e634aa5de5",[color||"var(--color-action-text)"]]])+" line"}),(0,jsx_runtime.jsxs)("div",{className:"jsx-9ecd5225e7a88e02 "+style_default().dynamic([["1f8cb7e634aa5de5",[color||"var(--color-action-text)"]]])+" inner",children:[(0,jsx_runtime.jsxs)("div",{className:"jsx-9ecd5225e7a88e02 "+style_default().dynamic([["1f8cb7e634aa5de5",[color||"var(--color-action-text)"]]])+" image",children:[(0,jsx_runtime.jsx)(Figure.jA,{src:image_rectangle||image,alt:title,visibility:visibility_mode}),(0,jsx_runtime.jsx)(Icon.B,{visibility:visibility_mode})]}),(0,jsx_runtime.jsxs)("div",{className:"jsx-9ecd5225e7a88e02 "+style_default().dynamic([["1f8cb7e634aa5de5",[color||"var(--color-action-text)"]]])+" content",children:[(0,jsx_runtime.jsx)(Card_Header.O,{children:title}),dates?(0,jsx_runtime.jsx)(CardDate.Z,{dates:dates}):null,(0,jsx_runtime.jsx)(Footer.e,{children:(0,jsx_runtime.jsx)(Reactions.N,{reactions:reactions,reactions_count:reactions_count,size:"small"})}),(0,jsx_runtime.jsx)(Mode.W,{visibility:visibility_mode})]})]})]}),(0,jsx_runtime.jsx)(style_default(),{id:"9ecd5225e7a88e02",children:"a.jsx-9ecd5225e7a88e02{-webkit-box-align:stretch;-webkit-align-items:stretch;-moz-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;color:inherit;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-decoration:inherit}.line.jsx-9ecd5225e7a88e02{position:absolute;top:0;left:0;width:4px;height:100%}.inner.jsx-9ecd5225e7a88e02{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:1.5rem}.image.jsx-9ecd5225e7a88e02{aspect-ratio:1;height:10rem;overflow:hidden;position:relative}.content.jsx-9ecd5225e7a88e02{margin-top:-1.4rem;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding-left:1.5rem;width:23rem}.statistic.jsx-9ecd5225e7a88e02{margin-top:1rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin-left:-1rem}"}),(0,jsx_runtime.jsx)(style_default(),{id:"1f8cb7e634aa5de5",dynamic:[color||"var(--color-action-text)"],children:".line.__jsx-style-dynamic-selector{background:".concat(color||"var(--color-action-text)","}")})]})})},TasksGrid=param=>{let{items,...rest}=param;return(0,jsx_runtime.jsx)(LoadNextContainer.z,{...rest,children:(null==items?void 0:items.length)?(0,jsx_runtime.jsxs)("div",{className:"jsx-9dcd6d04f4fe6dc5 list",children:[items.map((task,index)=>(0,jsx_runtime.jsx)("div",{className:"jsx-9dcd6d04f4fe6dc5 item",children:(0,jsx_runtime.jsx)(TaskCard,{task:task})},"".concat(task.id,"-").concat(index))),(0,jsx_runtime.jsx)(style_default(),{id:"9dcd6d04f4fe6dc5",children:".list.jsx-9dcd6d04f4fe6dc5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin:-webkit-calc(var(--layout-gutter-half-width)*-1)0;margin:-moz-calc(var(--layout-gutter-half-width)*-1)0;margin:calc(var(--layout-gutter-half-width)*-1)0;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;--list-padding:calc(\n (var(--layout-content-width) - var(--layout-max-width)) / 2 +\n var(--layout-gutter-half-width)\n );padding:0 var(--layout-gutter-half-width)0 max(var(--list-padding),var(--layout-gutter-half-width))}.item.jsx-9dcd6d04f4fe6dc5{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;min-width:0;margin:var(--layout-gutter-half-width)}"})]}):null})},extractItems=data=>data.competitions,TasksListGrid=param=>{let{title,initialData,url="/competitions/list/",params,renderEmpty}=param,getRequestConfig=(0,react.useCallback)(param=>{let{offset}=param;return{url,params:{...params,offset}}},[params,url]),{items,loading,error,loadNext}=(0,usePaging.C)({getRequestConfig,data:initialData,extractItems});return loading||error||items.length?(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[title?(0,jsx_runtime.jsx)(Header.h4,{size:2,children:title}):null,(0,jsx_runtime.jsx)(TasksGrid,{items:items,loading:loading,error:error,loadNext:loadNext})]}):(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[title?(0,jsx_runtime.jsx)(Header.h4,{size:2,children:title}):null,null==renderEmpty?void 0:renderEmpty()]})||null},messages=(0,lib.vU)({title:{defaultMessage:"Hacks & Tasks",id:"GK7Flo",description:"[title] Hacks & Tasks page"}});var __N_SSP=!0;function TasksPage(param){let{activeParams,pastParams,activePageData,pastPageData,page,page2}=param,intl=(0,useIntl.Z)(),router=(0,next_router.useRouter)(),handleParams=(0,react.useCallback)(params=>router.replace({pathname:router.pathname,query:(0,ListRequestParam
1s.JO)(params,router.query)},void 0,{scroll:!1}),[router]),renderEmpty=(0,react.useCallback)(()=>(0,jsx_runtime.jsx)(Empty.H,{textAlign:"left"}),[]);return(0,jsx_runtime.jsxs)(ContentWithSidebar.uX,{children:[(0,jsx_runtime.jsx)(next_seo_module.PB,{title:intl.formatMessage(messages.title)}),(0,jsx_runtime.jsx)(ContentWithSidebar._G,{children:(0,jsx_runtime.jsx)(Sidebar.Y,{children:(0,jsx_runtime.jsx)(MainMenu.l,{expand:"tasks"})})}),(0,jsx_runtime.jsxs)(ContentWithSidebar.OO,{wide:!0,children:[page?(0,jsx_runtime.jsx)(Container.W,{children:(0,jsx_runtime.jsx)(MainContent.M,{page:page})}):(0,jsx_runtime.jsx)(Container.W,{children:(0,jsx_runtime.jsx)(PageHeader.m,{children:(0,jsx_runtime.jsx)(message.Z,{...messages.title})})}),(0,jsx_runtime.jsx)(ListRequestForm.Z,{onChange:handleParams,params:activeParams}),(0,jsx_runtime.jsx)(TasksListGrid,{initialData:activePageData,renderEmpty:renderEmpty,url:"/competitions/list/",title:(0,jsx_runtime.jsx)(message.Z,{defaultMessage:"Ongoing activities",id:"SmYuKw",description:"[header] Hacks & Tasks Page"}),params:activeParams}),page2?(0,jsx_runtime.jsx)(Container.W,{children:(0,jsx_runtime.jsx)(MainContent.M,{page:page2,ignoreSEOTitle:!0})}):null,(0,jsx_runtime.jsx)(TasksListGrid,{initialData:pastPageData,renderEmpty:renderEmpty,url:"/competitions/list/",title:(0,jsx_runtime.jsx)(message.Z,{defaultMessage:"Past activities",id:"WGJDYk",description:"[header] Hacks & Tasks Page"}),params:pastParams})]})]})}}},function(__webpack_require__){__webpack_require__.O(0,[1153,5551,1601,6337,3245,4302,4978,4232,4469,1456,9046,4894,9774,2888,179],function(){return __webpack_require__(__webpack_require__.s=89032)}),_N_E=__webpack_require__.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.