1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8143],{95557:function(e,r,n){var t=n(75187),i=n(85893);r.Z=function(e){var r=e.clicked,n=e.type,l=e.className,s=e.direction,a=e.children,d=e.currentType,o=e.justSorting;return(0,i.jsxs)("div",{className:"flex relative cursor-pointer ".concat(l),onClick:function(){r&&r(n)},children:[(0,i.jsx)("div",{className:" pr-8",children:a}),(0,i.jsxs)("div",{className:"absolute right-2",children:[o&&n==d&&0!=s&&(0,i.jsx)(t.Z,{size:15,color:"#fff"}),!o&&n==d&&0!=s&&(0,i.jsx)("div",{className:"text-white ".concat(1==s?"icon-s_arrow_dw":"icon-s_arrow_up"),style:{fontSize:28}})]})]})}},50297:function(e,r,n){var t=n(4730),i=n(44122),l=n(60309),s=n(75187),a=n(85893),d=["list","count","onShowMore","simple","loading","moretext","nomessage"];r.Z=function(e){var r=e.list,n=e.count,o=e.onShowMore,c=e.simple,_=e.loading,u=e.moretext,h=e.nomessage;return((0,t.Z)(e,d),r&&0==r.length&&!_)?(0,a.jsx)("div",{children:!h&&(0,a.jsx)(i.Z,{children:"No results found"})}):r&&r.length<n?(0,a.jsx)("div",{className:"pt-4",children:(0,a.jsx)(l.Z,{simple:c,onClick:o,loading:_,moretext:u})}):r&&r.length==n?(0,a.jsx)("div",{className:"pt-4"}):(0,a.jsx)("div",{className:"pt-4",children:(0,a.jsx)(s.Z,{})})}},30279:function(e,r,n){var t=n(59499),i=n(4730);n(67294);var l=n(44122),s=n(61029),a=n(5152),d=n.n(a),o=n(85893),c=["label","type","endIcon","menuPlacement","isIconClicked","onIconClick","name","multiselect","dynamicData","options","tooltip","nomargin","isSearchable","value","isDisabled","placeholder","onBlur","onChange","touched","error"];function _(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,t)}return n}function u(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?_(Object(n),!0).forEach(function(r){(0,t.Z)(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var h=d()(function(){return Promise.all([n.e(4434),n.e(1299),n.e(8891)]).then(n.bind(n,48613)).then(function(e){return e.Tooltip})},{ssr:!1,loadableGenerated:{webpack:function(){return[48613]}}});r.Z=function(e){var r=e.label,n=(e.type,e.endIcon,e.menuPlacement),t=(e.isIconClicked,e.onIconClick,e.name,e.multiselect),a=e.dynamicData,d=e.options,_=e.tooltip,m=e.nomargin,x=e.isSearchable,p=e.value,y=e.isDisabled,g=e.placeholder,j=e.onBlur,v=e.onChange,b=(e.touched,e.error),f=(0,i.Z)(e,c),w=null==d?void 0:d.map(function(e){var r;return u(u({},e),{},{label:null==(r=e.label)?void 0:r.replace(/\b(\w)/g,function(e){return e.toUpperCase()})})});return(0,o.jsxs)("div",{className:"relative ".concat(m?"":"mb-3"," "),children:[r&&(0,o.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,o.jsx)("div",{className:"h-[29px] capitalize",children:(0,o.jsx)(l.Z,{children:r})}),_&&(0,o.jsx)(h,{content:_,className:" max-w-2xl",children:(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,className:"h-5 w-5 cursor-pointer text-blue-gray-500",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})})})]}),(0,o.jsx)("div",{className:"flex items-center",children:(0,o.jsx)(s.ZP,{menuPlacement:void 0===n?"auto":n,isSearchable:void 0!==x&&x,options:w,onMenuScrollToBottom:a,isMulti:t,classNamePrefix:"filter",classNames:{control:function(e){return e.isFocused?"border-red-600":"border-grey-300"},container:function(){return"bg-white text-gray-900 text-sm rounded-md w-full border ".concat(b?"border-alert_red":"border-light_grey"," ")}},value:w&&w.filter(function(e){return!!(Array.isArray(p)&&p.includes(e.value))||e.value==p}),onChange:v,onBlur:j,isDisabled:y,placeholder:g})}),b?(0,o.jsx)("div",{className:"relative",children:(0,o.jsx)(l.Z,{alarm:!0,size:"small",children:b})}):null,f.children]})}},90300:function(e,r,n){var t=n(4730);n(67294);var i=n(85893),l=["disabled","className","children","white","style"];r.Z=function(e){e.disabled;var r=e.className,n=e.children,s=e.white,a=e.style;return(0,t.Z)(e,l),(0,i.jsx)("span",{className:"font-juana text-size_32_30 ".concat(void 0!==s&&s?"text-white":""," md:text-size_40_38 transition-all duration-300 ").concat(void 0===r?"":r),style:a,children:n||"H1 Element"})}},98130:function(e,r,n){var t=n(4730);n(67294);var i=n(85893),l=["children","className","white","light","color","style","large","small","underline","dotted","dashed","xlarge","rankFont","underlinesolid","onClick","yellow","underlineYellow","Smedium","Xmedium","grey","light_grey"];r.Z=function(e){var r=e.children,n=e.className,s=e.white,a=e.light,d=e.color,o=e.style,c=e.large,_=e.small,u=e.underline,h=e.dotted,m=e.dashed,x=e.xlarge,p=e.rankFont,y=e.underlinesolid,g=e.onClick,j=e.yellow,v=e.underlineYellow,b=e.Smedium,f=e.Xmedium,w=e.grey,N=e.light_grey;(0,t.Z)(e,l);var k=m?" border-dashed border-b":h?"border-dotted border-b":u?"border-dashed border-b border-black":y?"border-solid border-b":v?"border-b-2 border-lbb_yellow ":"";return(0,i.jsx)("span",{className:"".concat(void 0===n?"":n," ").concat(k," transition-all duration-500 font-barlowc uppercase tracking-wider ").concat(c?"text-size_32_30 ":x?"text-size_50_60":p?"text-size_45_40":_?"text-size_16_16":b?"text-size_16_19":f?"text-size_24_24":"md:text-size_21_21 text-size_19_19"," ").concat(a?"font-normal":"font-bold"," ").concat(d||(s?"text-white":w?"text-caption_grey":j?"text-[#D6A43D]":N?"text-light_grey":"text-black")," ").concat(k),style:o,onClick:g,children:r})}},21857:function(e,r,n){n(67294);var t=n(85893);r.Z=function(e){var r=e.children,n=e.className;return(0,t.jsx)("div",{className:"container max-w-[1200px] mx-auto px-3 flex flex-col ".concat(n),children:r})}},44122:function(e,r,n){var t=n(59499),i=n(4730);n(67294);var l=n(85893),s=["bg_white","disabled","children","size","bold","thin","alarm","white","grey","medium","light_grey","green","yellow","black","style","dashed","className","underline","uppercase","underlinesolid","underlineYellow","dotted","barlowc"];function a(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,t)}return n}function d(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};
1r%2?a(Object(n),!0).forEach(function(r){(0,t.Z)(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}r.Z=function(e){e.bg_white,e.disabled;var r=e.children,n=e.size,t=e.bold,a=e.thin,o=e.alarm,c=e.white,_=e.grey,u=e.medium,h=e.light_grey,m=e.green,x=e.yellow,p=e.black,y=e.style,g=e.dashed,j=e.className,v=e.underline,b=e.uppercase,f=e.underlinesolid,w=e.underlineYellow,N=e.dotted,k=e.barlowc,Z=(0,i.Z)(e,s);return(0,l.jsx)("span",d(d({className:" ".concat(void 0===j?"":j," transition-all duration-500 ").concat(k&&"font-barlowc"||"font-barlow"," inline ").concat(t?"font-bold":a?"font-thin":""," ").concat(c?"text-white":_?"text-caption_grey":h?"text-light_grey":p?"text-black":m?"text-alert_green":x?"text-[#D6A43D]":o?"text-alert_red":"text-lbb_black"," ").concat(n||u&&"text-size_32_30"||"text-size_18_22"," ").concat(g?" border-dashed border-b":N?"border-dotted border-b ":v?"border-dashed border-b "+(c?"border-white":h?"border-light_grey":"border-black"):f?"border-solid border-b "+(c?"border-white":"border-black"):w?"border border-b border-[#3F3F3F] ":""," ").concat((void 0===b?"":b)?"uppercase":""),style:y},Z),{},{children:r}))}},75187:function(e,r,n){var t=n(4730);n(67294);var i=n(85893),l=["count"];r.Z=function(e){return e.count,(0,t.Z)(e,l),(0,i.jsxs)("div",{role:"status",children:[(0,i.jsxs)("svg",{"aria-hidden":"true",className:"inline w-6 h-6 mr-2 text-lbb_black animate-spin fill-light_grey ",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,i.jsx)("span",{className:"sr-only",children:"Loading..."})]})}},8143:function(e,r,n){n.d(r,{Z:function(){return T}});var t=n(21857);n(54692),n(5083);var i=n(17030),l=n(67294),s=n(44122),a=n(75187),d=n(14589),o=n(98130),c=n(3528),_=n(11163),u=n.n(_),h=n(11752),m=n.n(h),x=n(95557),p=n(30279),y=n(99850),g=n(50297),j=n(59499),v=n(4730),b=n(85893),f=["entries","handleEnrtyClick","currentId","prevpage","nextpage","lastPage","judging_done_cnt","entries_count","scrollPrevEntry","scrollNextEntry"];function w(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,t)}return n}function N(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?w(Object(n),!0).forEach(function(r){(0,j.Z)(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var k=function(){return(0,b.jsx)("div",{className:"w-full",children:(0,b.jsx)(s.Z,{children:"loading .."})})},Z=function(e){var r=e.entries,n=e.handleEnrtyClick,t=e.currentId,i=e.prevpage,a=e.nextpage,d=e.lastPage,c=e.judging_done_cnt,_=e.entries_count,u=e.scrollPrevEntry,h=e.scrollNextEntry;(0,v.Z)(e,f);var m=(0,l.useState)({prescrolled:!1,nextSCrolled:!1}),x=m[0],p=m[1];return(0,l.useEffect)(function(){setTimeout(function(){p(function(e){return N(N({},e),{},{prescrolled:!1,nextSCrolled:!1})})},2e3)},[x.prescrolled,x.nextSCrolled]),(0,b.jsxs)("div",{className:"w-full pl-2 border-l border-l-light_grey sm:w-[350px]",children:[(0,b.jsxs)("div",{className:"py-4 px-2",children:[(0,b.jsx)(s.Z,{bold:!0,children:c}),(0,b.jsx)(s.Z,{children:" / "}),(0,b.jsx)(s.Z,{bold:!0,children:_}),(0,b.jsx)(s.Z,{children:" are done."})]}),(0,b.jsxs)("div",{className:"w-full pl-2 sm:w-[350px] h-[600px] overflow-auto",onScroll:function(e){var r=e.target.scrollHeight-e.target.scrollTop===e.target.clientHeight,n=0==e.target.scrollTop;r&&a<d&&(p(function(e){return N(N({},e),{},{nextSCrolled:!0})}),h()),n&&i>1&&(p(function(e){return N(N({},e),{},{prescrolled:!0})}),u())},children:[x.prescrolled&&(0,b.jsx)(k,{}),null==r?void 0:r.map(function(e){var r,i,l;return(0,b.jsxs)("div",{className:"flex py-2 border-b hover:bg-light_grey curs
1or-pointer ".concat(t==(null==e?void 0:e.id)?"bg-back_darker":"bg-white"," "),onClick:function(){return n(null==e?void 0:e.id)},children:[(0,b.jsx)("div",{className:"w-36",children:e.image||e.works&&null!==(r=e.works[0])&&void 0!==r&&r.work.image||e.works&&null!==(i=e.works[0])&&void 0!==i&&i.work.thumbnail_url?(0,b.jsx)("img",{src:e.image?(0,y.AJ)(e.image):(0,y.AJ)(e.works&&e.works[0].work.image,e.works&&e.works[0].work.thumbnail_url),alt:"thumbnail"}):(0,b.jsx)(s.Z,{children:"No Image"})}),(0,b.jsxs)("div",{className:"pl-2 flex flex-col gap-2 flex-1",children:[(0,b.jsx)(o.Z,{light:!0,children:null==e?void 0:e.name}),(0,b.jsxs)(s.Z,{children:["Score: ",(null===(l=e.judging_entries[0])||void 0===l?void 0:l.score)||"Not visited"]})]})]})}),x.nextSCrolled&&(0,b.jsx)(k,{})]})]})},O=n(90300),C=n(27812),P=n(30120),S=n(16835),E=n(45868),z=["style","item","jury_id","jury_name","user_id","created_at"],q=function(e){e.style;var r,n,t,i,_=e.item,u=(e.jury_id,e.jury_name,e.user_id),h=e.created_at;(0,v.Z)(e,z);var m=h?P.ou.fromISO(h).year:-1,x=(0,l.useContext)(c.ko).user,p=(0,E.Ip)({entry_type:_.entry_type,year_of_participation:m,start_id:_.start_id,end_id:_.end_id,setstart_id:_.setstart_id,setend_id:_.setend_id,awardscategory:_.award_category_id,medium_type:_.award_medium_id,entry_region:_.region_id,country_for_jury:_.country_for_jury_id,user_id:u||8768785656});return p.loading?(0,b.jsx)("tr",{children:(0,b.jsx)(a.Z,{})}):(0,b.jsxs)("tr",{className:"py-4 ","data-cy":"data-row-1",children:[(0,b.jsx)("td",{className:"px-2 py-4 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:_.medium_title})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:_.category_title})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:_.country_name?"".concat(_.region_title,"-").concat(_.country_name):_.region_title})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:"single"===_.entry_type?"Single Entry":"Campaign"})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:((null==p?void 0:null===(r=p.data)||void 0===r?void 0:null===(n=r.judgements)||void 0===n?void 0:n.aggregate.count)||0)+"/"+_.entry_count})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:_.entry_count==(null==p?void 0:null===(t=p.data)||void 0===t?void 0:null===(i=t.judgements)||void 0===i?void 0:i.aggregate.count)?"Complete":"Incomplete"})}),(0,b.jsx)("td",{className:"px-2",children:(0,b.jsx)(d.Z,{onClick:function(){var e="single"===_.entry_type?"single":"campaign"===_.entry_type?"campaign":1===_.entry_type?"single":2===_.entry_type?"campaign":_.entry_type,r=new URLSearchParams;Object.entries({entry_type:e,year_of_participation:m,start_id:_.start_id,end_id:_.end_id,setstart_id:_.setstart_id,setend_id:_.setend_id,awardscategory:_.award_category_id,medium_type:_.award_medium_id,entry_region:_.region_id,country_for_jury:_.country_for_jury_id}).forEach(function(e){var n=(0,S.Z)(e,2),t=n[0],i=n[1];null!=i&&""!==i&&r.set(t,i.toString())}),window.location.href="/judging-home/entry-list?".concat(r.toString())},className:"child_text_size_responsive",children:(0,b.jsx)(o.Z,{className:"group-hover:text-white transition-all",light:!0,children:u!=(null==x?void 0:x.id)?"View":"Judge"})})})]})},D=["jury"],I=function(e){var r,n,t=e.jury;(0,v.Z)(e,D);var i=null!=t&&t.created_at?P.ou.fromISO(null==t?void 0:t.created_at).year:-1,l=(null==t?void 0:null===(r=t.list)||void 0===r?void 0:r.map(function(e){var r,n,t;return{award_category_id:e.cat_set.award_category.id,award_medium_id:null!==(r=e.cat_set.award_medium.parent_id)&&void 0!==r?r:e.cat_set.award_medium.id,region_id:null===(n=e.cat_set.continent)||void 0===n?void 0:n.id,country_for_jury_id:null===(t=e.cat_set.country_for_judging)||void 0===t?void 0:t.id,from_entry_id:e.cat_set.from_entry_id,to_entry_id:e.cat_set.to_entry_id,award_medium_from_entry_id:e.cat_set.award_medium.from_entry_id,award_medium_to_entry_id:e.cat_set.award_medium.to_entry_id}}))||[],s=(0,C.Z)(new Set(["single","campaign"])),d=(0,C.Z)(new Set(l.map(function(e){return e.from_entry_id}).filter(function(e){return null!=e&&void 0!=e}))),o=(0,C.Z)(new Set(l.map(function(e){return e.to_entry_id}).filter(function(e){return null!=e&&void 0!=e}))),c=(0,E.jo)({year_of_participation:i,entry_type:s,setstart_id:d.length>0?d:null,setend_id:o.length>0?o:null,jury_configurations:l,is_staff:null==t?void 0:t.is_admin_user});return c.loading?(0,b.jsx)("tr",{children:(0,b.jsx)(a.Z,{})}):(0,b.jsx)(b.Fragment,{children:null==c?void 0:null===(n=c.data)||void 0===n?void 0:n.entries.map(function(e,r){return(0,b.jsx)(q,{item:e,jury_id:t.id,jury_name:t.name,user_id:t.user_id,created_at:t.created_at},r)})})},$=m()().publicRuntimeConfig.mylbbUrl,T=function(){var e,r,n,_,h,m,j,v,f,w,N=(0,l.useContext)(i.Tr),k=N.entries,C=N.entry,P=N.currentId,S=N.message,E=N.firstEntry,z=N.lastEntry,q=N.submitScore,D=N.data_summary,T=(N.data_campaign,N.isUpdating),M=N.isLoading,U=N.judging_done_cnt,R=N.entries_count,J=N.scoreValues,A=N.score,F=(N.completed_status,N.jury_info),G=N.prevpage,L=N.nextpage,B=N.lastPage,Y=N.prevEntry,V=N.nextEntry,H=N.scrollPrevEntry,W=N.scrollNextEntry,Q=N.handleScoreChange,X=N.onShowMoreEntries,K=N.handleEnrtyClick,ee=N.entrieslist,er=N.entriesdetails,en=(0,l.useContext)(i.O4),et=en.jury,ei=en.user;
1en.isEntryList,en.isDetails;var el=(0,l.useContext)(c.ko),es=el.not_logged,ea=el.asPath,ed=(0,l.useState)(!0),eo=ed[0],ec=ed[1];if(es){u().push($+"/auth/login?next="+ea);return}return(0,b.jsxs)("div",{className:"w-full min-h-screen",style:{background:"#f4f3ee"},children:[(0,b.jsx)(t.Z,{children:(0,b.jsx)("div",{className:"flex w-full py-8"})}),(0,b.jsx)(t.Z,{children:(0,b.jsx)("div",{className:"py-4",children:et&&ei?(0,b.jsxs)("div",{className:"space-y-2 bg-white rounded-lg shadow-sm p-6",children:[(0,b.jsxs)("div",{className:"flex gap-3 justify-between",children:[(ee||er)&&(0,b.jsx)(d.Z,{href:"/judging-home",className:"mt-2 child_text_size_responsive",children:(0,b.jsx)(o.Z,{className:"group-hover:text-white transition-all",light:!0,children:"Return to Dashboard"})}),er&&(0,b.jsxs)("div",{className:"flex gap-3 mt-2",children:[(0,b.jsx)(d.Z,{className:"h-[30px] child_text_size_responsive",onClick:Y,disabled:E,children:(0,b.jsx)(o.Z,{className:"group-hover:text-white transition-all",light:!0,children:"Previous"})}),(0,b.jsx)(d.Z,{className:"h-[30px] child_text_size_responsive",onClick:V,disabled:z,children:(0,b.jsx)(o.Z,{className:"group-hover:text-white transition-all",light:!0,children:"Next"})})]})]}),ee?(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"bg-lbb_black py-2 px-2 my-2",children:(0,b.jsxs)(s.Z,{white:!0,children:[null!=F&&F.jury_name?F.jury_name+" > ":"",(null==F?void 0:F.entry_type_title)||"All Entries"]})}),(0,b.jsxs)("table",{className:"w-full",children:[(0,b.jsxs)("tr",{className:" py-4 bg-lbb_black ",children:[(0,b.jsx)("th",{className:"px-2 py-2 text-left border-r border-black font-light",children:(0,b.jsx)(s.Z,{white:!0,children:"Entry Id"})}),(0,b.jsx)("th",{className:"px-2 border-r border-black font-light",children:(0,b.jsx)(x.Z,{className:"title",type:"title",children:(0,b.jsx)(s.Z,{white:!0,children:"Thumbnail"})})}),(0,b.jsx)("th",{className:"px-2 border-r border-black font-light",children:(0,b.jsx)(x.Z,{className:"created_at",type:"created_at",children:(0,b.jsx)(s.Z,{white:!0,children:"Title"})})}),(0,b.jsx)("th",{className:"px-2 border-r border-black font-light",children:(0,b.jsx)(x.Z,{className:"company",type:"company_name",children:(0,b.jsx)(s.Z,{white:!0,children:"Score"})})}),(0,b.jsxs)("th",{className:"px-2 border-r border-black font-light",children:[" ",(0,b.jsx)(x.Z,{className:"channel",type:"channel",children:(0,b.jsx)(s.Z,{white:!0,children:"View Entry"})})]})]}),(0,b.jsx)("tbody",{className:"[&>*:nth-child(odd)]:bg-white",children:null==k?void 0:k.map(function(e,r){var n,t,i;return(0,b.jsxs)("tr",{className:"py-4 ","data-cy":"data-row-1",children:[(0,b.jsx)("td",{className:"px-2 py-4 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:e.id})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive w-[100px] md:w-[300px] text-center",children:e.image||e.works&&null!==(n=e.works[0])&&void 0!==n&&n.work.image||e.works&&null!==(t=e.works[0])&&void 0!==t&&t.work.thumbnail_url?(0,b.jsx)("img",{src:e.image?(0,y.AJ)(e.image):(0,y.AJ)(e.works&&e.works[0].work.image,e.works&&e.works[0].work.thumbnail_url),alt:"thumbnail"}):(0,b.jsx)(s.Z,{children:"No Image"})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive w-[100px] md:w-[350px]",children:(0,b.jsx)(s.Z,{className:"w-full",children:e.name})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive",children:(0,b.jsx)(s.Z,{children:(null===(i=e.judging_entries[0])||void 0===i?void 0:i.score)||"Not visited"})}),(0,b.jsx)("td",{className:"px-2 child_text_size_responsive",children:(0,b.jsx)(d.Z,{onClick:function(){K(e.id,r)},className:"h-[30px] text-center child_text_size_responsive",children:(0,b.jsx)(o.Z,{className:"group-hover:text-white transition-all",light:!0,children:"View Entry"})})})]},e.id)})}),(0,b.jsx)("tr",{children:(0,b.jsx)(g.Z,{list:k,count:R,onShowMore:X,loading:M})})]})]}):er?C?(0,b.jsxs)("div",{className:"flex flex-wrap gap-5 child_text_size_responsive",children:[(0,b.jsxs)("div",{className:"flex-1 space-y-5 child_text_size_responsive",children:[(0,b.jsx)("div",{className:"w-full border-b border-b-light_grey pb-2 my-5 child_text_size_responsive",children:(0,b.jsx)(O.Z,{children:null==C?void 0:C.name})}),(0,b.jsxs)(s.Z,{bold:!0,children:["Categories:",null==C?void 0:null===(e=C.categories)||void 0===e?void 0:e.map(function(e){return e.category.name}).join(", ")," "]}),(0,b.jsx)("div",{children:(null==C?void 0:null===(r=C.works)||void 0===r?void 0:r.length)==0?(0,b.jsx)("div",{className:"image-frame",children:(0,b.jsx)(s.Z,{children:" No Work"})}):(0,b.jsx)("div",{className:"w-full",children:null==C?void 0:C.works.map(function(e){return(0,b.jsx)("div",{className:"my-2",children:(0,b.jsx)("div",{className:"video-block no-margin",children:(0,b.jsx)("div",{className:"work-frame",children:(0,b.jsx)("iframe",{style:{background:"#000"},className:"embed-responsive-item",src:(0,y.N6)(e.work.encoding_ticket.notube_id),scrolling:"no",allowFullScreen:!0})})})})})})}),(0,b.jsxs)("div",{children:[S&&(0,b.jsx)("div",{className:"w-full p-4 bg-lbb_green my-4",children:(0,b.jsx)(s.Z,{white:!0,children:S})}),et&&ei&&!ei.is_staff&&(0,b.jsxs)("div",{className:"flex gap-5 items-center child_text_size_responsive",children:[(0,b.jsx)("label",{className:"flex gap-5",children:"Score:"}),(0,b.jsx)("div",{className:"flex-1",children:(0,b.jsx)(p.Z,{nomargin:!0,multiSelect:!1,options:J,value:A,onChange:Q})}),(0,b.jsx)(d.Z,{onClick:q,disabled:T,className:"child_text_size_responsive",children:(0,b.jsx)(o.Z,{className:"group-hover:text-white transition-all",light:!0,children:"Save"})})]})]}),((null==C?void 0:C.support)&&(null==C?void 0:null===(n=C.support)||void 0===n?void 0:n.length)>0||(null==C?void 0:C.case_study_description)&&(null==C?void 0:null===(_=C.case_study_description)||void 0===_?void 0:_.length)>0||(null==C?void 0:C.description)&&(null==C?void 0:null===(h=C.description)||void 0===h?void 0:h.length)>0)&&(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{className:"my-4 py-4 mt-6 border-t border-t-light_grey flex justify-between cursor-pointer",onClick:function(){ec(!eo)},children:[(0,b.jsx)(s.Z,{bold:!0,children:"Additional info"}),(0,b.jsx)("div",{className:"text-size_32_30 ".concat(eo?"icon-s_arrow_up":"icon-s_arrow_dw")})]}),(0,b.jsxs)("div",{className:"transition-[height] overflow-hidden duration-500 md:duration-1000 ".concat(eo?"":"h-[0px]"),children:[(null==C?void 0:C.support)&&(null==C?void 0:null===(m=C.support)||void 0===m?void 0:m.length)>0&&(0,b.jsx)("div",{children:(0,b.jsx)("div",{className:"w-full",children:null==C?void 0:null===(j=C.support)||void 0===j?void 0:j.map(function(e,r){return(0,b.jsx)("div",{className:"my-2",children:(0,b.jsx)("div",{className:"video-block no-margin",children:(0,b.jsx)("div",{className:"work-frame",children:(0,b.jsx)("iframe",{style:{background:"#000"},className:"embed-responsive-item",src:(0,y.N6)(e.work.encoding_ticket.notube_id),scrolling:"no",allowFullScreen:!0})})})},r)})})}),(null==C?void 0:C.case_study_description)&&(null==C?void 0:null===(v=C.case_study_description)||void 0===v?void 0:v.length)>0&&(0,b.jsx)("div",{children:(0,b.jsx)("div",{className:"new-content",dangerouslySetInnerHTML:{__html:null==C?void 0:C.case_study_description}})}),(null==C?void 0:C.description)&&(null==C?void 0:null===(f=C.description)||void 0===f?void 0:f.length)>0&&(0,b.jsxs)("div",{children:[(0,b.jsx)("div",{className:"my-4",children:(0,b.jsx)(s.Z,{bold:!0,children:"Why is this immortal"})}),(0,b.jsx)("div",{className:"new-content",dangerouslySetInnerHTML:{__html:null==C?void 0:C.description}})]})]})]})]}),(0,b.jsx)(Z,{judging_done_cnt:U,entries_count:R,prevpage:G,nextpage:L,lastPage:B,entries:k,handleEnrtyClick:K,currentId:P,scrollPrevEntry:H,scrollNextEntry:W})]}):(0,b.jsxs)("div",{className:"text-center",children:[(0,b.jsx)(s.Z,{children:"Loading entry details..."}),(0,b.jsx)(a.Z,{})]}):(0,b.jsx)(b.Fragment,{children:null==D?void 0:null===(w=D.filter(function(e){var r;return null==e?void 0:null===(r=e.list)||void 0===r?void 0:r.length}))||void 0===w?void 0:w.map(function(e,r){return(0,b.jsxs)("div",{className:"py-2",children:[(0,b.jsx)("div",{className:"bg-lbb_black py-2 px-2 my-2",children:(0,b.jsx)(s.Z,{white:!0,children:null==e?void 0:e.name})}),(0,b.jsxs)("table",{className:"w-full",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{className:" py-4 bg-lbb_black ",children:[(0,b.jsx)("th",{className:"px-2 py-2 text-left border-r border-black font-light",children:(0,b.jsx)(s.Z,{white:!0,children:"Medium"})}),(0,b.jsx)("th",{className:"px-2 border-r border-black font-light",children:(0,b.jsx)(x.Z,{className:"title",type:"title",children:(0,b.jsx)(s.Z,{white:!0,children:"Category"})})}),(0,b.jsx)("th",{className:"px-2 border-r border-black font-light",children:(0,b.jsx)(x.Z,{className:"created_at",type:"created_at",children:(0,b.jsx)(s.Z,{white:!0,children:"Region - Country"})})}),(0,b.jsx)("th",{className:"px-2 border-r border-black font-light",children:(0,b.jsx)(x.Z,{className:"company",type:"company_name",children:(0,b.jsx)(s.Z,{white:!0,children:"Entrant Type"})})}),(0,b.jsxs)("th",{className:"px-2 border-r border-black font-light",children:[" ",(0,b.jsx)(x.Z,{className:"channel",type:"channel",children:(0,b.jsx)(s.Z,{white:!0,children:"Entries"})})]}),(0,b.jsxs)("th",{className:"px-2 border-r border-black font-light",children:[" ",(0,b.jsx)(x.Z,{className:"count",type:"articles",children:(0,b.jsx)(s.Z,{white:!0,children:"Status"})})]}),(0,b.jsx)("th",{className:"px-2 font-light",children:(0,b.jsx)(x.Z,{className:"count",type:"views",children:(0,b.jsx)(s.Z,{white:!0,children:"View"})})})]})}),M?(0,b.jsxs)("tr",{className:"flex",children:["Loading ",(0,b.jsx)(a.Z,{})]}):(0,b.jsx)("tbody",{className:"[&>*:nth-child(odd)]:bg-white",children:(0,b.jsx)(I,{jury:e})})]},r)]})})})]}):(0,b.jsxs)("div",{className:"text-center mt-10 bg-white rounded-lg shadow-sm p-8",children:[(0,b.jsx)(s.Z,{children:"Loading jury information..."}),(0,b.jsx)(a.Z,{})]})})})]})}},45868:function(e,r,n){n.d(r,{Ip:function(){return g},JV:function(){return S},Yz:function(){return k},jo:function(){return b},lp:function(){return C}});var t,i,l,s,a,d,o=n(71383),c=n(59499),_=n(22865),u=n(71641),h=n(99850);function m(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,t)}return n}function x(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};
1r%2?m(Object(n),!0).forEach(function(r){(0,c.Z)(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var p=function(e){var r=e.entry_type,n=e.awardscategory,t=e.start_id,i=e.end_id,l=e.medium_type,s=e.year_of_participation,a=e.entry_region,d=e.country_for_jury,o=e.user_id;return{award_entry:x(x(x({deleted_at:{_is_null:!0}},t&&i?{id:{_gte:t,_lte:i}}:{}),{},{year:{_eq:s},moderation_state:{_eq:h.dB},state:{_eq:"submitted"},award_id:{_eq:1},company_office:{moderation_state:{_eq:h.dB},subscription_id:{_is_null:!1},is_hidden:{_eq:!1},is_freelancer:{_eq:!1}},type:{_eq:r},award_category_id:{_eq:n},award_medium_id:{_eq:l}},a?{continent_id:{_eq:a}}:{}),d?{country_for_judging_id:{_eq:d}}:{country_for_judging_id:{_is_null:!0}}),award_jury:{deleted_at:{_is_null:!0},user_id:{_eq:o}},score:{_is_null:!1}}},y=(0,_.Ps)(t||(t=(0,o.Z)(["\n query JUDGING_DONE_ENTRY_COUNT($where: judging_entries_bool_exp) {\n judgements: judging_entries_aggregate(where: $where) {\n aggregate {\n count\n }\n }\n }\n"]))),g=function(e){return(0,u.a)(y,{variables:{where:p(e)}})},j=function(e){var r=e.entry_type,n=e.setstart_id,t=e.setend_id,i=e.year_of_participation,l=e.jury_configurations;return x(x({},n&&t?{setstart_id:{_in:n},setend_id:{_in:t}}:{}),{},{year:{_eq:i},award_id:{_eq:1},entry_type:{_in:r},_or:l.map(function(e){return x(x({award_category_id:{_eq:e.award_category_id},award_medium_id:{_eq:e.award_medium_id}},e.region_id?{region_id:{_eq:e.region_id}}:{}),e.country_for_jury_id?{country_for_jury_id:{_eq:e.country_for_jury_id}}:{})})})},v=(0,_.Ps)(i||(i=(0,o.Z)(["\n query JUDGING_ENTRY_COUNT($where: jurysummary_materilized_bool_exp) {\n entries: jurysummary_materilized(where: $where) {\n entry_count\n year\n award_id\n award_medium_id\n award_category_id\n category_title\n medium_title\n region_id\n country_name\n region_title\n country_for_jury_id\n entry_type\n setstart_id\n setend_id\n entry_count\n }\n }\n"]))),b=function(e){return(0,u.a)(v,{notifyOnNetworkStatusChange:!0,variables:{where:j(e)}})},f=function(e){var r=e.entry_type,n=e.awardscategory,t=e.start_id,i=e.end_id,l=e.medium_type,s=e.year_of_participation,a=e.entry_region,d=e.country_for_jury;return x(x(x({deleted_at:{_is_null:!0}},t&&i?{id:{_gte:t,_lte:i}}:{}),{},{year:{_eq:s},award_id:{_eq:1},moderation_state:{_eq:h.dB},state:{_eq:"submitted"},company_office:{deleted_at:{_is_null:!0},moderation_state:{_eq:h.dB},subscription_id:{_is_null:!1},is_hidden:{_eq:!1},is_freelancer:{_eq:!1}},type:{_eq:r},award_category_id:{_eq:n},award_medium_id:{_eq:l}},a?{continent_id:{_eq:a}}:{}),d?{country_for_judging_id:{_eq:d}}:{country_for_judging_id:{_is_null:!0}})},w=(0,_.Ps)(l||(l=(0,o.Z)(["\n query JUDGING_ENTRIES_QUERY(\n $skip: Int!\n $limit: Int = 20\n $jury_id: bigint\n $extrainfo: Int\n $where: award_entries_bool_exp\n $order_by: [award_entries_order_by!]\n ) {\n entries: award_entries(\n limit: $limit\n order_by: $order_by\n offset: $skip\n where: $where\n ) {\n id\n name\n image\n works: award_entry_works(limit: 1) {\n work {\n id\n encoding_ticket {\n notube_id\n }\n thumbnail_url\n image\n }\n }\n judging_entries(where: { award_jury_id: { _eq: $jury_id } }) {\n score\n }\n }\n }\n"]))),N=(0,_.Ps)(s||(s=(0,o.Z)(["\n query JUDGING_ENTRIES_COUNT_QUERY($where: award_entries_bool_exp) {\n entries: award_entries_aggregate(where: $where) {\n aggregate {\n count\n }\n }\n }\n"]))),k=function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r?(0,u.a)(N,{variables:{where:f(e)}}):(0,u.a)(w,{notifyOnNetworkStatusChange:!0,variables:{skip:e.skip,limit:e.limit,extrainfo:e.extrainfo,jury_id:e.jury_id,order_by:e.order_by,where:f(e)}})},Z=function(e){var r=e.user_id,n=e.year;return x(x({deleted_at:{_is_null:!0},award_id:{_eq:e.show_id||1}},r?{user_id:{_eq:r}}:{}),n?{created_at:{_gte:n+"-01-01",_lte:n+"-12-31"}}:{})},O=(0,_.Ps)(a||(a=(0,o.Z)(["\n query JUDGINGSUMMARY(\n $skip: Int!\n $limit: Int = 1\n $where: award_juries_bool_exp\n $order_by: [award_juries_order_by!]\n ) {\n summary: award_juries(\n limit: $limit\n order_by: $order_by\n offset: $skip\n where: $where\n ) {\n id\n name\n created_at\n is_admin_user\n user_id\n list: award_jury_jury_configurations(\n where: { jury_configuration: { deleted_at: { _is_null: true } } }\n ) {\n id\n cat_set: jury_configuration {\n id\n from_entry_id\n to_entry_id\n award_category {\n id\n name\n }\n continent {\n id\n name\n }\n country_for_judging {\n id\n name\n }\n award_medium {\n id\n name\n parent_id\n parent: award_medium {\n id\n name\n }\n }\n }\n }\n }\n }\n"]))),C=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],(0,u.a)(O,{notifyOnNetworkStatusChange:!0,variables:{skip:e.ski
1p,limit:e.limit,order_by:e.order_by,where:Z(e)}})},P=(0,_.Ps)(d||(d=(0,o.Z)(["\n query JUROR($where: award_juries_bool_exp) {\n juror: award_juries(where: $where) {\n id\n user_id\n image\n name\n job_title\n created_at\n }\n }\n"]))),S=function(e){return(0,u.a)(P,{variables:{where:{deleted_at:{_is_null:!0},award_id:{_eq:1},user_id:{_eq:e.id}}}})}}}]);
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.