1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7634,528],{66242:function(e,n,t){t.d(n,{Z:function(){return g}});var r=t(87462),i=t(63366),a=t(67294),s=t(90512),o=t(94780),l=t(90948),d=t(28628),c=t(55113),h=t(1588),p=t(34867);function u(e){return(0,p.ZP)("MuiCard",e)}(0,h.Z)("MuiCard",["root"]);var x=t(85893);const m=["className","raised"],f=(0,l.ZP)(c.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,n)=>n.root})((()=>({overflow:"hidden"})));var g=a.forwardRef((function(e,n){const t=(0,d.i)({props:e,name:"MuiCard"}),{className:a,raised:l=!1}=t,c=(0,i.Z)(t,m),h=(0,r.Z)({},t,{raised:l}),p=(e=>{const{classes:n}=e;return(0,o.Z)({root:["root"]},u,n)})(h);return(0,x.jsx)(f,(0,r.Z)({className:(0,s.Z)(p.root,a),elevation:l?8:void 0,ref:n,ownerState:h},c))}))},44267:function(e,n,t){t.d(n,{Z:function(){return f}});var r=t(87462),i=t(63366),a=t(67294),s=t(90512),o=t(94780),l=t(90948),d=t(28628),c=t(1588),h=t(34867);function p(e){return(0,h.ZP)("MuiCardContent",e)}(0,c.Z)("MuiCardContent",["root"]);var u=t(85893);const x=["className","component"],m=(0,l.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,n)=>n.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}})));var f=a.forwardRef((function(e,n){const t=(0,d.i)({props:e,name:"MuiCardContent"}),{className:a,component:l="div"}=t,c=(0,i.Z)(t,x),h=(0,r.Z)({},t,{component:l}),f=(e=>{const{classes:n}=e;return(0,o.Z)({root:["root"]},p,n)})(h);return(0,u.jsx)(m,(0,r.Z)({as:l,className:(0,s.Z)(f.root,a),ownerState:h,ref:n},c))}))},8379:function(e,n,t){var r=t(10253),i=t(85893),a=t(67294),s=t(87109),o=t(50135),l=t(14313),d=t(55999),c=t(33850),h=t(75025);n.Z=function(e){var n=e.onChange,t=e.placeholder,p=(0,h.y)().classes,u=(0,a.useRef)(!0),x=(0,a.useState)(""),m=x[0],f=x[1],g=(0,r.Z)((0,d.N)(m),1)[0];return(0,a.useEffect)((function(){u.current?u.current=!1:n&&n(g)}),[g]),(0,i.jsx)(o.Z,{value:m,onChange:function(e){var n=e.target.value;f(n)},placeholder:t,label:g.length?"Search":void 0,className:"".concat(p.input," dark simple"),InputProps:{startAdornment:(0,i.jsx)(s.Z,{position:"start",children:(0,i.jsx)(l.A,{icon:"search",size:"xl",color:c.Il.PRM_500})})}})}},75025:function(e,n,t){t.d(n,{y:function(){return s}});var r=t(14924),i=t(1169),a=t(33850),s=(0,i.ZL)()((function(e){var n;return{root:{width:"100%",overflow:"hidden",padding:"8px 0","&.light":{color:a.Il.WHITE},"&.dark":{color:a.Il.NTR_400}},label:{color:"inherit"},input:{width:"100%",alignSelf:"stretch",backgroundColor:"#FFFFFF26","&.simple":{alignSelf:"auto"},"& .MuiInputAdornment-root":{margin:"0 2rem"},"& .MuiOutlinedInput-root":{paddingLeft:0,paddingRight:0,height:"100%"},"&.simple .MuiOutlinedInput-notchedOutline":{borderWidth:"1px"},"& .MuiOutlinedInput-notchedOutline":{borderRadius:25,borderWidth:"2px",borderColor:"currentColor"},"&.dark .MuiOutlinedInput-notchedOutline":{borderColor:"#B5B5B5"},"&.light .MuiOutlinedInput-notchedOutline":{borderColor:a.Il.WHITE},"&.light:hover .MuiOutlinedInput-notchedOutline":{borderColor:a.Il.WHITE},"&.dark:hover .MuiOutlinedInput-notchedOutline":{borderColor:a.Il.NTR_400},"& input":{fontSize:"1.6rem"},"&.light input":{color:a.Il.WHITE},"&.dark input":{color:a.Il.NTR_400,paddingLeft:0}},fBtn:(0,r.Z)({fontWeight:700},e.breakpoints.down("sm"),{fontSize:13,padding:"0 4px"}),hBtn:(n={width:26,height:26,backgroundColor:a.Il.PRM_400,marginRight:16,"&:hover":{backgroundColor:a.Il.PRM_400}},(0,r.Z)(n,e.breakpoints.down("sm"),{width:20,height:20}),(0,r.Z)(n,"& svg",{color:a.Il.WHITE}),n),searchContainer:{position:"relative",flex:1,"&.mx-auto":(0,r.Z)({margin:"16px auto 0",width:"50%"},e.breakpoints.down("sm"),{width:"90%"}),"&.left:not(.mz)":{marginLeft:20}},dropdown:{position:"absolute",zIndex:100,bottom:-3,left:0,right:0,transform:"translateY(100%)",minHeight:60,maxHeight:"30rem",overflowY:"auto",backgroundColor:a.Il.WHITE,boxShadow:"0 8px 16px 0 rgb(0 15 115 / 4%)",borderRadius:4,border:"1px solid #e7e7e7"},item:{display:"flex","&.bb":{borderBottom:"1px solid ".concat(a.Il.NTR_600)},"&:hover":{backgroundColor:a.Il.NTR_50},"& .MuiListItemText-primary":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:500},"& .MuiListItemText-secondary":{fontSize:14}},adornmentBtn:{height:"6rem",width:"15rem"},filters:(0,r.Z)({flexBasis:"100%",alignSelf:"flex-start",marginTop:"2rem"},e.breakpoints.down("sm"),{overflow:"hidden"})}}))},37634:function(e,n,t){t.r(n);var r=t(10253),i=t(85893),a=t(41664),s=t.n(a),o=t(51233),l=t(15861),d=t(66242),c=t(44267),h=t(7906),p=t(53184),u=t(295),x=t(68509),m=t(53252),f=t(72882),g=t(24253),Z=t(27197),j=t(14313),v=t(88469),w=t(63316),b=t(70489),I=t(8379),C=t(5239),N=t(57125);n.default=function(){var e=(0,v.y)().classes,n=(0,r.Z)((0,Z.U)({sort:"-updatedAt"}),2),t=n[0],a=n[1],k=(0,r.Z)((0,N._h)(t),2),M=k[0],R=M.awards,y=M.count,T=k[1],W=(0,r.Z)((0,g.Oy)(),2),O=W[0],S=W[1];return(0,i.jsxs)(o.Z,{gap:{xs:"16px",md:"32px"},className:"padding ".concat(e.producers),id:"tabs",children:[(0,i.jsxs)(o.Z,{flexWrap:"wrap",gap:{xs:"24px",md:"40px"},sx:{"& > div:nth-of-type(2)":{xs:{maxWidth:"100%",width:"100%"},md:{maxWidth:"55%"}}},direction:"row",children:[O,(0,i.jsx)(o.Z,{order:{xs:1,md:0},mb:{xs:2,md:0},children:(0,i.jsx)(I.Z,{placeholder:"what award or festival do you want to find?",onChange:function(e){a({search:e,fields:"name"})}})}),(0,i.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center"},ml:"auto",children:[(0,i.jsx)(j.A,{icon:"trophy"}),(0,i.jsxs)("span",{children:["\xa0\xa0",(0,C.Ho)("award",y)]})]})]}),(0,i.jsx)(w.Z,{isLoading:T,withPagination:!0,paginationProps:{page:t.page,rowsPerPage:t.limit,onChange:a,c
1ount:y},children:S===g.Tt.CARD?(0,i.jsx)("div",{className:"podcast-grid",children:R.map((function(e){var n=e._id,t=e.slug,r=e.name,a=e.image,h=e.updatedAt,p=e.subtitle,u=e.podcasts,x=e.isFestival;return(0,i.jsxs)(d.Z,{className:"card",children:[(0,i.jsx)("figure",{children:(0,i.jsx)(s(),{href:"/awards/".concat(t),passHref:!0,children:(0,i.jsx)("a",{children:(0,i.jsx)(b.Z,{src:a,alt:r,layout:"fill"})})})}),(0,i.jsxs)(c.Z,{sx:{px:0},children:[(0,i.jsx)(s(),{href:"/awards/".concat(t),passHref:!0,children:(0,i.jsx)(l.Z,{mb:"6px",className:"ellipsis medium",variant:"h6",component:"a",display:"block",children:r})}),(0,i.jsx)(l.Z,{component:"span",className:"ellipsis",variant:"subtitle1",children:p}),(0,i.jsxs)(o.Z,{direction:"row",alignItems:"center",gap:"12px",children:[(0,i.jsxs)(l.Z,{alignItems:"center",gap:"4px",variant:"subtitle1",display:"flex",children:[(0,i.jsx)(j.A,{icon:x?"tent":"trophy"}),(0,i.jsx)("span",{children:u.length})]}),(0,i.jsxs)(l.Z,{ml:"auto",alignItems:"center",gap:"4px",component:"span",variant:"subtitle1",display:"flex",whiteSpace:"nowrap",children:[(0,i.jsx)(j.A,{icon:"calendar"}),(0,i.jsx)("span",{children:(0,C.p6)(h,{shortDate:!0})})]})]})]})]},n)}))}):(0,i.jsx)(f.Z,{children:(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(p.Z,{sx:{opacity:R.length?1:0},children:(0,i.jsxs)(x.Z,{children:[(0,i.jsx)(m.Z,{}),(0,i.jsx)(m.Z,{children:"Award"}),(0,i.jsx)(m.Z,{className:"hide-mobile",align:"center",children:"Podcasts"}),(0,i.jsx)(m.Z,{className:"hide-mobile",align:"center",children:"Last Update"})]})}),(0,i.jsx)(u.Z,{children:R.map((function(e){var n=e._id,t=e.slug,r=e.name,a=e.image,d=e.updatedAt,c=e.podcasts,h=e.subtitle;return(0,i.jsxs)(x.Z,{className:"row-hover",children:[(0,i.jsx)(m.Z,{sx:{minWidth:"86px",width:"76px",paddingRight:0},children:(0,i.jsx)(s(),{href:"/awards/".concat(t),passHref:!0,children:(0,i.jsx)("a",{children:(0,i.jsx)(b.Z,{src:a,alt:r,width:76,height:76})})})}),(0,i.jsx)(m.Z,{sx:{maxWidth:{xs:"165px",md:"300px"}},children:(0,i.jsxs)(o.Z,{gap:"10px",children:[(0,i.jsx)(s(),{href:"/awards/".concat(t),passHref:!0,children:(0,i.jsx)(l.Z,{variant:"h6",className:"ellipsis medium sm",component:"a",children:r})}),(0,i.jsxs)(o.Z,{direction:"row",gap:"10px",alignItems:"center",children:[h&&(0,i.jsx)(l.Z,{component:"span",variant:"subtitle1",children:h}),(0,i.jsxs)(l.Z,{alignItems:"center",gap:"4px",variant:"subtitle1",display:"flex",className:"hide-desktop",sx:{ml:"auto"},children:[(0,i.jsx)(j.A,{icon:"rss"}),(0,i.jsx)("span",{children:c.length})]}),(0,i.jsxs)(l.Z,{alignItems:"center",gap:"4px",component:"span",variant:"subtitle1",display:"flex",whiteSpace:"nowrap",className:"hide-desktop",children:[(0,i.jsx)(j.A,{icon:"calendar"}),(0,i.jsx)("span",{children:(0,C.p6)(d,{shortDate:!0})})]})]})]})}),(0,i.jsx)(m.Z,{align:"center",className:"hide-mobile",children:(0,i.jsx)(l.Z,{variant:"subtitle1",children:c.length})}),(0,i.jsx)(m.Z,{align:"center",className:"hide-mobile",children:(0,i.jsx)(l.Z,{variant:"subtitle1",children:(0,C.p6)(d,{fullWeek:!0,shortDate:!0})})})]},n)}))})]})})})]})}},55999:function(e,n,t){t.d(n,{N:function(){return i}});var r=t(67294),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,t=(0,r.useState)(e),i=t[0],a=t[1];return(0,r.useEffect)((function(){var t=setTimeout((function(){a(e)}),n);return function(){clearTimeout(t)}}),[e,n]),[i]}}}]);
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.