1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7346],{59166:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return P}});var o=r(59499),i=r(67294),l=r(18876),t=r(46508),a=r(3528),s=r(34579),c=r(89376);r(96854);var d=r(12903),u=r(45674),v=r(21857),m=r(27857);r(45041),r(11390),r(44122);var p=r(85893);r(19274),r(78184),r(45024),r(99850);var f=r(27481),h=r(15445),y=r(67542);r(60309);var g=r(17030),_=r(16911);r(50297),r(8782),r(44685);var b=r(44897);r(99870),r(57726);var j=r(63315),w=r(11163),x=r(98181),O=r(47584),Z=function(e){e.user,e.news,e.show_id,e.announce_results_till,e.year;var n,r=(0,i.useContext)(g.Tr),o=(r.loading,r.error,r.work,r.onSearch),l=(r.work_count,r.search);r.sortOptions,r.sortChange,r.sortValue,r.onShowMoreWork,r.count_title;var t=(0,w.useRouter)(),a=(0,b.Tf)({skip:0,value:t.query.slug||"immortals"}),s=null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.shows[0];s&&new Date(s.contest_at).getFullYear();var c=s?new Date(s.announce_results_at).getFullYear():0,d=(0,i.useState)(c),u=d[0],Z=d[1],k=Array.from({length:c-2018+1},function(e,n){return 2018+n});return(0,p.jsxs)(y.Z,{currentRoute:"/work",children:[(0,p.jsx)(v.Z,{children:(0,p.jsx)("div",{className:"pt-4",children:(0,p.jsx)(h.Z,{workActive:!0})})}),(0,p.jsx)(v.Z,{children:(0,p.jsxs)("div",{className:"flex pt-4",children:[(0,p.jsxs)("div",{className:"md:w-2/3 w-full md:pr-3 md:border-r md:border-light_grey mb-3",children:[(0,p.jsx)(m.Z,{white:!0,value:l,placeholder:"Search work",onChange:o}),(0,p.jsx)(v.Z,{children:(0,p.jsxs)("div",{className:"flex justify-between items-center",children:[(0,p.jsx)(_.Z,{current:"/work/immortal_winners"}),(0,p.jsx)(x.Z,{value:u,onChange:function(e){Z(e.value)},options:k.sort(function(e,n){return n-e}).map(function(e){return{value:e,label:e}})||[]})]})}),(0,p.jsx)("div",{children:(0,p.jsx)("div",{className:"space-y-1",children:(0,p.jsx)("div",{children:(0,p.jsx)("div",{className:"grid",children:(0,p.jsx)(j.Z,{announce_results_till:c,year:u,show_id:null==s?void 0:s.id})})})})})]}),(0,p.jsxs)("div",{className:" md:w-1/3 w-fit relative",children:[(0,p.jsx)(O.Z,{bgColor:"lbb_green",white:!0,isDisabled:!0}),(0,p.jsx)("div",{className:"mt-20",children:(0,p.jsx)(f.Z,{})})]})]})})]})};function k(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function N(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?k(Object(r),!0).forEach(function(n){(0,o.Z)(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var P=(0,s.h)((0,l.C)(function(e){return(0,p.jsx)(a.Kv,N(N({},e),{},{children:(0,p.jsx)(u.q9,{children:(0,p.jsx)(d.x,N(N({},e),{},{children:(0,p.jsxs)(c.Z,N(N({},e),{},{children:[(0,p.jsx)(t.Z,{meta:{},noindexprop:!0}),(0,p.jsx)(Z,N({},e))]}))}))})}))}))},63315:function(e,n,r){"use strict";var o=r(99870),i=r(44897),l=r(57726),t=r(85893);n.Z=function(e){var n,r=e.show_id,a=e.announce_results_till,s=e.year,c=(0,i.on)({show_id:r}),d=null==c?void 0:null===(n=c.data)||void 0===n?void 0:n.results;return a>=s?(0,t.jsxs)(t.Fragment,{children:[!d&&!c.loading&&(0,t.jsx)(o.Z,{children:"No data"}),d&&d.map(function(e){return(0,t.jsx)(l.Z,{section:e,dropdownSelectedYear:s},e.id)})]}):(0,t.jsx)(l.Z,{section:{name:"",award_id:r,min_score:null,max_score:null},dropdownSelectedYear:s})}},57726:function(e,n,r){"use strict";var o=r(27812),i=r(59499);r(67294);var l=r(44897),t=r(11163),a=r(99870),s=r(70952),c=r(50297),d=r(44122),u=r(85893);function v(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function m(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?v(Object(r),!0).forEach(function(n){(0,i.Z)(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEac
1h(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}n.Z=function(e){var n,r,i,v,p,f,h=e.section,y=e.dropdownSelectedYear,g=(null===(n=(0,t.useRouter)().query)||void 0===n?void 0:n.year)||y,_=(0,l.OJ)({skip:0,type:140,limit:8,group:!1,company:!1,entry:!0,country:!1,holding_company:!1,tags:null,search:null,medium:null,continents:null,countries:null,categories:null,company_types:null,order_by:{id:"desc"},year:g?Number(g):2024,show_id:h.award_id,score_min:h.min_score,score_max:h.max_score}),b=(0,l.OJ)({type:140,group:!1,company:!1,entry:!0,country:!1,holding_company:!1,tags:null,search:null,medium:null,continents:null,countries:null,categories:null,company_types:null,order_by:{id:"desc"},year:g?Number(g):2024,show_id:h.award_id,score_min:h.min_score,score_max:h.max_score},!0),j=_.loading||b.loading;return null!=_&&null!==(r=_.data)&&void 0!==r&&null!==(i=r.scores)&&void 0!==i&&i.length?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"my-5",children:(0,u.jsx)(a.Z,{children:h.name})}),b<=0&&(0,u.jsxs)("div",{children:[(0,u.jsx)(d.Z,{children:"No Entries yet."})," "]}),(0,u.jsx)("div",{className:"grid largeCard",children:_.data.scores&&_.data.scores.map(function(e){return(0,u.jsx)(s.Z,{item:e.entry},e.id)})}),(0,u.jsx)("div",{className:"pt-4",children:(0,u.jsx)(c.Z,{list:_.data.scores,count:null===(v=b.data)||void 0===v?void 0:null===(p=v.scores)||void 0===p?void 0:null===(f=p.aggregate)||void 0===f?void 0:f.count,onShowMore:function(){j||(j=!0,_.fetchMore({updateQuery:function(e,n){var r=n.fetchMoreResult;return(j=!1,r&&0!==r.scores.length)?m(m({},e),{},{scores:[].concat((0,o.Z)(e.scores),(0,o.Z)(r.scores))}):e},variables:{skip:_.data.scores.length}}))},loading:j})})]}):null}},45024:function(e,n,r){"use strict";var o=r(4730),i=r(74e3);r(40998),r(38166);var l=r(30120);r(98130);var t=r(28509),a=r(44122),s=r(19674),c=r(44108),d=r(44685);r(45041);var u=r(99850);r(67294);var v=r(82176),m=r(88341),p=r(11163);r(99870);var f=r(150),h=r(85893),y=["style","className","id","full_image","name","isImmortal","likes","noViews","noactionBar","hits","flagRequired","item","use_image","year","score","actionBar"];n.Z=function(e){e.style;var n,r,g,_,b,j,w,x,O,Z,k,N,P,S,C,D,A,E,J,R,F,M,z,B,T,I,q,V,Y,W,H,K,X,L,Q,G,U,$=e.className,ee=(e.id,e.full_image,e.name),en=e.isImmortal,er=(e.likes,e.noViews),eo=(e.noactionBar,e.hits,e.flagRequired),ei=e.item,el=e.use_image,et=e.year,ea=e.score,es=e.actionBar,ec=(0,o.Z)(e,y);(0,p.useRouter)();var ed=Boolean("immortalawards_awardentry"===ei.__typename)||en,eu=ei.thumbnail_url_dashboard||(ei.channel?(0,u.AJ)(ei.image,null,null,null,!0):(0,u.AJ)(ei.image_got||ei.image||(null===(n=ei.works)||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:null===(g=r.work)||void 0===g?void 0:g.image),ei.thumbnail_url||(null===(_=ei.works)||void 0===_?void 0:null===(b=_[0])||void 0===b?void 0:null===(j=b.work)||void 0===j?void 0:j.thumbnail_url),null,null,null,300)),ev=el||ei.thumbnail_url_dashboard||(ei.channel?(0,u.AJ)(ei.image):(0,u.AJ)(ei.image_got||ei.image||(null===(w=ei.works)||void 0===w?void 0:null===(x=w[0])||void 0===x?void 0:null===(O=x.work)||void 0===O?void 0:O.image),ei.thumbnail_url||(null===(Z=ei.works)||void 0===Z?void 0:null===(k=Z[0])||void 0===k?void 0:null===(N=k.work)||void 0===N?void 0:N.thumbnail_url))),em=ei.award_id||ei.award_show?"/awards/immortals/entry/"+ei.id:ei.channel||ei.category?"/news/"+ei.slug:"/work/"+ei.id,ep=null===(P=ei.channel)||void 0===P?void 0:P.title,ef=!ei.channel&&(ei.brand_or_client||ei.brand),eh=(null==ei?void 0:null===(S=ei.company)||void 0===S?void 0:S.moderation_status)==1?"/companies/".concat(null==ei?void 0:null===(C=ei.company)||void 0===C?void 0:C.slug):"/profile/".concat(null==ei?void 0:null===(D=ei.company)||void 0===D?void 0:D.slug),ey=ei.title||ei.brand_and_name||ei.brand_and_title||ee,eg=ei.start_date||ei.created_at,e_=ei.company,eb=ei.company?ei.company.is_freelancer?(0,u.AJ)(null===(A=ei.company.admins[0])||void 0===A?void 0:null===(E=A.user)||void 0===E?void 0:null===(J=E.profiles_profile)||void 0===J?void 0:J.image,null,300):(0,u.AJ)(ei.company.logo,null,300):"/no_image_company_jpg.webp",ej=ei.company?ei.company.is_freelancer?(0,u.AJ)(null===(R=ei.company.admins[0])||void 0===R?void 0:null===(F=R.user)||void 0===F?void 0:null===(M=F.profiles_profile)||void 0===M?void 0:M.image):(0,u.AJ)(ei.company.logo):"/no_image_company_jpg.webp",ew=ec.companylink||(ei.company?ei.company.is_freelancer?"/people/".concat((null===(z=ei.company.admins[0])||void 0===z?void 0:null===(B=z.user)||void 0===B?void 0:null===(T=B.credits_creditentities[0])||void 0===T?void 0:null===(I=T.profiles_comb
1inedprofiles[0])||void 0===I?void 0:I.slug)||(null===(q=ei.company.admins[0])||void 0===q?void 0:null===(V=q.user)||void 0===V?void 0:null===(Y=V.profiles_profile)||void 0===Y?void 0:null===(W=Y.profiles_combinedprofiles[0])||void 0===W?void 0:W.slug)):eh:"/"),ex=l.ou.fromISO(eg);l.ou.now().diff(ex,"days").toObject().days;var eO=null===(H=ei.ranked)||void 0===H?void 0:H[0],eZ=ea||(null==eO?void 0:null===(K=eO.immortalawards_awardentry)||void 0===K?void 0:null===(X=K.judging_awardscores)||void 0===X?void 0:null===(L=X[0])||void 0===L?void 0:L.score),ek=et||(null==eO?void 0:null===(Q=eO.immortalawards_awardentry)||void 0===Q?void 0:Q.year_of_participation);return(0,h.jsxs)("div",{className:"flex flex-col w-full bg-white ".concat($," h-full"),data_cy:"main_card",children:[(0,h.jsxs)("a",{href:em,className:"relative",data_cy:"main_card_image",children:[(0,h.jsx)("div",{className:"image-frame",children:(0,h.jsx)(s.Z,{width:300,original:eu||ev,webp:(0,f.yA)(ev)})}),eZ>=5e3&&(0,h.jsx)(c.Z,{score1:eZ,year1:ek}),eo&&(0,h.jsx)(m.Z,{position:"top-right",isImmortal:ed,text:ep?"NEWS":ed?"IMMORTAl":"WORK",bgcolor:ep?"bg-lbb_blue":ed?"bg-lbb_yellow":"bg-lbb_green"})]}),(0,h.jsxs)("div",{className:"flex flex-col justify-between flex-1 px-5 items-between",children:[(0,h.jsxs)("div",{className:"py-2 ",children:[ep&&(0,h.jsx)("div",{children:(0,h.jsx)(a.Z,{children:ep})}),(0,h.jsx)(t.Z,{href:em,active:!1,colorLine:!1,children:(0,h.jsx)(a.Z,{className:"group-hover:text-white underline-anime-full ".concat((0,d.p)(ey)," "),bold:!0,size:"text-size_24_26",children:ey})}),!ep&&(0,h.jsx)("div",{children:(0,h.jsx)(a.Z,{children:ef})}),(0,h.jsx)("div",{children:(0,h.jsx)(a.Z,{grey:!0,size:"text-size_16_19",children:l.ou.fromISO(eg).toFormat("dd/MM/yyyy")})})]}),(0,h.jsxs)("div",{children:[(0,h.jsxs)("div",{className:"flex items-center ",children:[e_&&(0,h.jsx)("div",{className:"pr-4",children:(0,h.jsx)("a",{href:ew,children:(0,h.jsx)("div",{className:"w-[50px]",children:(0,h.jsx)(s.Z,{width:300,original:eb,webp:(0,f.yA)(ej)})})})}),e_&&(0,h.jsx)(i.Z,{mainText:(null==e_?void 0:e_.name)||"lbbonline.com",subtext:(null==e_?void 0:e_.type)||(null==e_?void 0:null===(G=e_.companies_companytype)||void 0===G?void 0:G.title),caption:null==e_?void 0:null===(U=e_.location)||void 0===U?void 0:U.location,link:ew})]}),(void 0===es||es)&&(0,h.jsx)(v.Z,{item:ei,type:"work-card",contentType:"work",noViews:er})]})]})]})}},98181:function(e,n,r){"use strict";var o=r(59499),i=r(4730);r(67294);var l=r(61029),t=r(85893),a=["style","options","onChange","value"];function s(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function c(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?s(Object(r),!0).forEach(function(n){(0,o.Z)(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}n.Z=function(e){e.style;var n=e.options,r=e.onChange,o=e.value;return(0,i.Z)(e,a),(0,t.jsx)(l.ZP,{isSearchable:!1,styles:{control:function(e){return c(c({},e),{},{backgroundColor:"transparent",border:"none",color:"#333",boxShadow:"none",fontSize:18,lineHeight:"22px"})},option:function(e,n){var r=n.data,o=n.isDisabled,i=n.isFocused,l=n.isSelected;return c(c({},e),{},{fontFamily:"Barlow",fontSize:18,lineHeight:"22px",backgroundColor:o?void 0:l?"#333":i?"#666666":"#333",color:o?"#ccc":l?"white":"#ffffff",cursor:o?"not-allowed":"default",":active":c(c({},e[":active"]),{},{backgroundColor:o?void 0:l?r.color:"#ffffff"})})},menu:function(e){return c(c({},e),{},{backgroundColor:"#333",borderRadius:0,padding:0,minWidth:200})},input:function(e){return c({},e)},placeholder:function(e){return c(c({},e),{},{color:"#333",fontFamily:"Barlow",fontSize:18,lineHeight:"22px"})},singleValue:function(e,n){return n.data,c({},e)}},onChange:r,value:o?n.find(function(e){return e.value==o}):null,options:n})}},31192:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/work/immortal_winners",function(){return r(59166)}])}},function(e){e.O(0,[3662,2842,6115,6037,7614,2580,1664,3231,381,5470,3973,7542,9248,2176,7584,7721,8184,7437,9644,9774,2888,179],function(){return e(e.s=31192)}),_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.