PageSourceSearch

https://refocus-awards.com/_next/static/chunks/pages/dashboard/staff/contests-f6923d80e47f67ad.js

js refocus-awards.com collected 2026-10-02 07:00:08 UTC 3,035 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3985],{70524:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/staff/contests",function(){return e(33435)}])},88688:function(t,n,e){"use strict";e.d(n,{Z:function(){return E}});var i=e(8014),r=e(47011),s=e(56168),o=e(80174),a=e(8115),u=e(88315),c=e(34237),l=e(90373),d=e(51123),f=e(40137),x=e(75657),p=e.n(x),v=e(98421),h=e(95667),_=e(51881),j=e(71246),m=e(9211),w=e(8711),b=e(90319),C=function(t){var n=t.contest,e=t.fadeDelay,r=void 0===e?0:e,s=(0,j.Z)().tabletDown,a=n.name,u=n.status===o.Lo.UPCOMING?"Starts in ".concat((0,h.Z)((0,_.Z)(new Date(n.start_date)),"MMMM")):"Entry Closed",l=(0,w.nN)(n),x=l.mediumImage,C=l.caption,g=l.alt;return(0,i.jsx)(d.Z,{delay:r,mt:"40px",children:(0,i.jsx)(p(),{href:"".concat(v.Kb.CONTESTS,"/").concat(n.slug),passHref:!0,children:(0,i.jsxs)(c.kC,{direction:"column",as:"a",align:"flex-start",borderBottom:"1px",borderBottomColor:"base_2.3",children:[(0,i.jsx)(c.Ct,{variant:"outline.black",children:u}),(0,i.jsx)(c.xv,{variant:"numeralsM",m:"10px 0 30px",children:a}),x&&(0,i.jsx)(c.xu,{w:"100%",h:{base:"auto",lg:"350px"},position:"relative",borderRadius:"4px",overflow:"hidden",children:(0,i.jsx)(m.Z,{src:(0,b.Jn)(null===x||void 0===x?void 0:x.url),alt:g,caption:C,objectFit:s?"fill":"cover",layout:s?"responsive":"fill",width:s?x.width:void 0,height:s?x.height:void 0})}),(0,i.jsxs)(c.kC,{flex:1,minW:{lg:"160px"},justify:"space-between",align:"center",p:"30px 0 20px",w:"100%",position:"relative",children:[(0,i.jsx)(c.xv,{variant:"ctaSecondary",children:"View Contest Page"}),(0,i.jsx)(f.Z,{icon:"linkarrowicon",fill:"base.1"})]})]})})})},g=function(t){var n=t.contests;return(0,i.jsx)(l.Z,{mb:"40px",children:(0,i.jsx)(c.MI,{columns:{base:1,lg:2},gap:"40px",children:n.map((function(t,n){return(0,i.jsx)(C,{contest:t,fadeDelay:n%2*.15},n)}))})})},E=function(t){var n=t.stats,e=(0,r.L)(),c=e.contests,l=e.user,d=(l.profile.assigned_contests||[]).map((function(t){return t.id})),f=(0,s.useMemo)((function(){switch(null===l||void 0===l?void 0:l.type){case a.F.ARTIST:return(c||[]).filter((function(t){return o.X.includes(t.status)}));case a.F.JUDGE:return(c||[]).filter((function(t){return[o.Lo.JUDGE_VOTING,o.Lo.PEOPLES_CHOICE_AWARDS_VOTING].includes(t.status)&&d.includes(t.id)}));case a.F.STAFF:return(c||[]).filter((function(t){return t.status===o.Lo.ADMIN_VOTING}));default:return[]}}),[d,c,null===l||void 0===l?void 0:l.type]),x=(0,s.useMemo)((function(){var t=f.map((function(t){return t.id}));return(c||[]).filter((function(n){return!t.includes(n.id)}))}),[f,c]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.Z,{activeContests:f,stats:n}),(null===l||void 0===l?void 0:l.type)===a.F.ARTIST&&(0,i.jsx)(g,{contests:x})]})}},33435:function(t,n,e){"use strict";e.r(n);var i=e(8014),r=e(88688),s=e(62985);n.default=(0,s.Z)((function(){return(0,i.jsx)(r.Z,{})}),{title:"Contests"})}},function(t){t.O(0,[2783,6531,5274,1413,9774,2888,179],(function(){return n=70524,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

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.