1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6302],{31039:function(e,t,n){n.d(t,{Z:function(){return z}});var r=n(5447),i=n(99728),s=n(27427),o=n(8014),a=n(14131),l=n(56168),c=n(31340),u=n(43692),d=n(42299),x=n(2746),g=n(44453),h=n.n(g),m=n(34237),f=n(72263),p=n(42483),v=n(40137),j=n(63940),b=n(6801),C=n.n(b),y=n(71246),w=n(12048),Z=n(39266),k=n(63024),R=n.n(k),B=n(77567),M=n(90319),_=n(65090),D=n(15963),G=function(e){var t=e.image,n=e.config,s=e.imageBlob,a=e.fileName,d=void 0===a?"image":a,x=(0,c.A)(),g=x.images,f=x.entry,p=null===f||void 0===f?void 0:f.images[0].item.sizes.large,v=null===g||void 0===g?void 0:g[n.id],b=(0,l.useState)(),y=b[0],w=b[1],k=(0,l.useCallback)((0,u.Z)(h().mark((function e(){var t,r,i,o;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v&&p&&s&&!y){e.next=2;break}return e.abrupt("return");case 2:return(t=new FormData).append("config",JSON.stringify([n])),t.append("image",s),e.next=7,fetch(v);case 7:return e.next=9,e.sent.blob();case 9:return r=e.sent,i=new File([r],"".concat(n.id,".png"),{type:"image/png"}),t.append(n.id,i),e.next=14,R().post("/api/overlay",t,{headers:{"Content-Type":"multipart/form-data"}});case 14:(null===(o=e.sent.data)||void 0===o?void 0:o[0])&&w("data:image/jpeg;base64,".concat(o[0]));case 16:case"end":return e.stop()}}),e)}))),[v,n,p,s,y]);(0,l.useEffect)((function(){k()}),[k]);var _=function(){y&&C()(y,"".concat(d,".jpg"))};return(0,o.jsx)(m.kC,{position:"relative",role:"group",direction:"column",children:y?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{src:y,width:null===t||void 0===t?void 0:t.width,height:null===t||void 0===t?void 0:t.height,onClick:_}),(0,o.jsx)(H,{onClick:_})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(B.Z,{src:(0,M.Jn)(null===t||void 0===t?void 0:t.url),width:null===t||void 0===t?void 0:t.width,height:null===t||void 0===t?void 0:t.height}),(0,o.jsx)(j.Z,(0,i.Z)((0,r.Z)({},Z.PE),{bg:"rgba(42,42,42,0.8)",position:"absolute",align:"center",justify:"center"}))]})})},I=function(){var e=(0,c.A)().entry,t=(0,y.Z)().mobileUp,n=null===e||void 0===e?void 0:e.images[0].item.sizes.large,r=n&&(null===n||void 0===n?void 0:n.height)>(null===n||void 0===n?void 0:n.width),i=(0,l.useState)(),s=i[0],a=i[1],d=t?"20px":"10px",x=(0,l.useCallback)((0,u.Z)(h().mark((function e(){var t;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===n||void 0===n?void 0:n.url){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,fetch((0,M.Hq)(n.url));case 4:return e.next=6,e.sent.blob();case 6:t=e.sent,a(t);case 8:case"end":return e.stop()}}),e)}))),[null===n||void 0===n?void 0:n.url]);return(0,l.useEffect)((function(){x()}),[x]),(0,o.jsx)(m.xu,{p:{base:"20px",md:"40px"},children:(0,o.jsx)(p.Z,{breakpoints:{base:r?2:1,md:D.jI.length<5?2:3},gutter:d,children:D.jI.map((function(t,r){return(0,o.jsx)(G,{config:t,image:n,fileName:(0,_.hs)("".concat(null===e||void 0===e?void 0:e.award_config.name,"--").concat(null===e||void 0===e?void 0:e.title,"--").concat(t.id)),imageBlob:s},r)}))})})},S=n(69962),q=n(61329),E=Object.values(D.tB.dark).length+Object.values(D.tB.light).length,H=function(e){var t=e.children,n=void 0===t?"Download":t,r=e.onClick,i=e.light,s=e.hasContentAbove,a=void 0!==s&&s,l=i?"base.1":"base.6",c=i?"base.6":"base.1",u=(0,w.oe)(c,.8),d=(0,y.Z)().tabletUp;return(0,o.jsxs)(m.kC,{align:"center",justify:{base:"space-between",lg:"center"},direction:{base:"row-reverse",lg:"column"},bg:{base:c,lg:u},top:"0",left:"0",w:"100%",position:{base:"relative",lg:"absolute"},bottom:d&&a?"40px":0,cursor:"pointer",opacity:{base:"1",lg:"0"},transition:(0,Z.eR)("opacity"),_groupHover:{opacity:1},onClick:r,p:{base:"10px 10px",lg:0},children:[(0,o.jsx)(v.Z,{icon:"downloadicon",size:d?30:20,borderRadius:"100px",bg:c,pointerEvents:"none",fill:l,p:{base:"0",lg:"15px"}}),(0,o.jsx)(m.xv,{as:"div",color:l,variant:"numeralsXS",mt:{base:"0",lg:"10px"},children:n})]})},T=function(e){var t=e.id,n=e.light,s=e.name,a=(0,c.A)(),x=a.entry,g=a.contest,f=a.images,p=a.setData,v=null===f||void 0===f?void 0:f[t],b=(0,y.Z)().tabletUp,w=(0,l.useCallback)((0,u.Z)(h().mark((function e(){var n,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=document.getElementById(t)){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,(0,S.SE)(n);case 5:return e.next=7,(0,S.YM)(n);case 7:s=e.sent,p((function(e){return(0,i.Z)((0,r.Z)({},e),{images:(0,i.Z)((0,r.Z)({},e.images),(0,d.Z)({},t,s))})}));case 9:case"end":return e.stop()}}),e)}
1))),[t,p]);if((0,l.useEffect)((function(){setTimeout((function(){w()}),300)}),[w]),!x||!g)return null;var k=function(){if(v){var e=s.split("-").map((function(e){return e.trim().replace(/ /g,"_")})).join("-");C()(v,"".concat(x.award_config.name,"-").concat(e,".png"))}};return(0,o.jsxs)(m.kC,{align:"center",justify:"center",zIndex:2,position:"relative",role:"group",children:[(0,o.jsx)(m.xu,{position:"relative",w:"100%",children:v?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{onClick:k,src:v}),s?(0,o.jsx)(m.kC,{p:b?"5px 0":"5px 10px",borderLeftWidth:+!b,borderRightWidth:+!b,borderColor:n?"base.6":"base.1",color:n?"base.6":"base.1",minH:"40px",align:"center",children:(0,o.jsx)(m.xv,{variant:"overline",children:s})}):null,(0,o.jsx)(H,{onClick:k,light:n,hasContentAbove:!!s})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(j.Z,(0,i.Z)((0,r.Z)({},Z.PE),{align:"center",justify:"center"})),(0,o.jsx)(q.Z,{id:t,position:"relative",maxW:"100%",height:"auto",preview:!0,opacity:"0"})]})}),(0,o.jsx)(m.kC,{position:"relative",overflow:"hidden",children:(0,o.jsx)(q.Z,{id:t})})]})},A=function(e){var t=e.open,n=e.setOpen,s=(0,l.useRef)(!1),a=(0,c.A)(),u=a.entry,d=a.contest,g=a.images,h=(0,l.useState)(!1),v=h[0],b=h[1],C=(0,y.Z)().mobileUp?"20px":"10px";return(0,l.useEffect)((function(){var e=!(!g||!Object.values(g).every((function(e){return e.startsWith("data:image/png;base64")})));setTimeout((function(){s.current&&b(e)}),500)}),[g]),(0,l.useEffect)((function(){return s.current=!0,function(){s.current=!1}}),[]),u&&d?(0,o.jsxs)(f.u_,{isOpen:t,onClose:function(){return n(!1)},scrollBehavior:"inside",motionPreset:"none",children:[(0,o.jsx)(f.ZA,{}),(0,o.jsxs)(f.hz,{maxW:"".concat(90,"vw"),maxH:"".concat(90,"vh"),h:"100%",m:"auto 0",css:"\n iframe {\n width: 100%;\n height: 100%;\n box-shadow: none;\n }\n ",children:[(0,o.jsxs)(f.xB,{borderBottom:"1px",borderBottomColor:"support2.3",position:"relative",w:"100%",children:[(0,o.jsx)(m.xv,{fontWeight:500,children:"Download Badges"}),(0,o.jsx)(f.ol,{top:"15px"})]}),(0,o.jsx)(f.fe,{p:"0px",position:"relative",h:"100%",children:t&&(0,o.jsxs)(o.Fragment,{children:[!v&&(0,o.jsxs)(m.kC,(0,i.Z)((0,r.Z)({bg:"base.6",zIndex:20,p:{base:"20px",lg:"80px"},justify:"center",align:"center",direction:"column"},Z.PE),{children:[(0,o.jsx)(j.Z,{mb:"20px",display:{base:"none",lg:"flex"}}),(0,o.jsx)(m.xv,{variant:"numeralsS",textAlign:"center",children:"Generating Badges..."})]})),(0,o.jsxs)(m.kC,{direction:"column",position:"relative",children:[Object.entries(D.tB.dark).length?(0,o.jsx)(m.xu,{p:{base:"20px",md:"40px"},borderBottomWidth:+!Object.entries(D.tB.light).length,borderBottomColor:"support2.3",children:(0,o.jsx)(p.Z,{breakpoints:{base:E<2?1:2,md:4},gutter:C,children:Object.entries(D.tB.dark).map((function(e,t){var n=(0,x.Z)(e,2),r=n[0],i=n[1];return(0,o.jsx)(T,{id:r,name:i},t)}))})}):null,Object.entries(D.tB.light).length?(0,o.jsx)(m.xu,{p:{base:"20px",md:"40px"},bg:"base.1",children:(0,o.jsx)(p.Z,{breakpoints:{base:E<2?1:2,md:4},gutter:C,children:Object.entries(D.tB.light).map((function(e,t){var n=(0,x.Z)(e,2),r=n[0],i=n[1];return(0,o.jsx)(T,{id:r,name:i,light:!0},t)}
1))})}):null,v&&(0,o.jsx)(I,{})]})]})})]})]}):null},z=function(e){var t=e.entry,n=e.contest,u=(0,s.Z)(e,["entry","contest"]),d=(0,l.useState)(!1),x=d[0],g=d[1];return(0,o.jsxs)(c.z,{value:{contest:n,entry:t},children:[(0,o.jsx)(a.Z,(0,i.Z)((0,r.Z)({variant:"base.1.outline",size:"sm",onClick:function(){return g(!0)}},u),{children:"Download Badges"})),(0,o.jsx)(A,{open:x,setOpen:g})]})}},8946:function(e,t,n){var r=n(43692),i=n(5447),s=n(99728),o=n(27427),a=n(44453),l=n.n(a),c=n(8014),u=n(56168),d=n(72263),x=n(34237),g=n(83719),h=n(14131),m=n(6801),f=n(30917),p=n(40137),v=n(71246),j=function(e){var t=e.children,n=void 0===t?"Download Press Release":t,r=(0,o.Z)(e,["children"]);return(0,c.jsx)(h.Z,(0,s.Z)((0,i.Z)({size:"sm",borderRadius:"0",_hover:{bg:"accent1.2"}},r),{children:n}))};t.Z=function(e){var t=e.getData,n=e.file,a=e.fileName,h=e.flexProps,b=void 0===h?{}:h,C=(0,o.Z)(e,["getData","file","fileName","flexProps"]),y=(0,v.Z)().tabletUp,w=(0,u.useState)(!1),Z=w[0],k=w[1],R=(0,u.useState)(!1),B=R[0],M=R[1],_=(0,u.useState)(!1),D=_[0],G=_[1],I=(0,u.useState)(!1),S=I[0],q=I[1],E=(0,u.useState)(null),H=E[0],T=E[1],A=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e?M(t):k(t)};(0,u.useEffect)((function(){setTimeout((function(){return q(!0)}))}),[D]);var z=(0,u.useCallback)((0,r.Z)(l().mark((function e(){var r,i,s,o=arguments;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>0&&void 0!==o[0]&&o[0],A(r,!0),H){e.next=8;break}return e.next=5,t();case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0=H;case 9:if(i=e.t0,(0,f.z7)(),!r){e.next=15;break}G(!0),e.next=19;break;case 15:return e.next=17,(0,g.eA)(n(i)).toBlob();case 17:s=e.sent,(0,m.saveAs)(s,"".concat(a,".pdf"));case 19:A(r,!1),T(i);case 21:case"end":return e.stop()}}),e)}))),[H,n,a,t]),O=function(){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(d.ZA,{}),(0,c.jsx)(d.hz,{maxW:"".concat(90,"vw"),h:"".concat(90,"vh"),m:"".concat(5,"vh 0"),css:"\n iframe {\n width: 100%;\n height: 100%;\n box-shadow: none;\n }\n ",children:(0,c.jsx)(d.fe,{p:0,bg:"base.2",children:S&&(0,c.jsx)(g.Z$,{children:n(H)})})})]})},W=function(){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(j,(0,s.Z)((0,i.Z)({isLoading:B,onClick:function(){return z(!0)},opacity:0,_groupHover:{opacity:1},borderRadius:"0",position:"absolute",transform:"translateY(-100%)",left:"0",width:"100%",justifyContent:"space-between",rightIcon:(0,c.jsx)(p.Z,{icon:"expand",size:15,fill:"base.6"})},C),{children:(0,c.jsx)(x.xv,{as:"span",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",children:"Preview"})})),(0,f.z7)(),(0,c.jsx)(d.u_,{motionPreset:"none",isOpen:D,onClose:function(){return G(!1)},children:D&&(0,c.jsx)(O,{})})]})};return(0,c.jsxs)(x.kC,(0,s.Z)((0,i.Z)({direction:"column",position:"relative"},b),{role:"group",children:[H?(0,c.jsx)(g.WD,{document:n(H),fileName:"".concat(a,".pdf"),children:function(){return(0,c.jsx)(j,(0,i.Z)({},C))}}):(0,c.jsx)(j,(0,s.Z)((0,i.Z)({isLoading:Z},C),{onClick:function(){return z()}})),y&&(0,c.jsx)(W,{})]}))}},897:function(e,t,n){n.d(t,{Z:function(){return q},W:function(){return E}});var r=n(5447),i=n(99728),s=n(8014),o=n(83719),a=n(4822),l=n(56168),c=(0,l.createContext)(null);function u(){var e=(0,l.useContext)(c);if(void 0===e)throw new Error("usePRContext must be used within a PressReleaseContext.Provider");return e}var d=n(90319),x=n(54425),g=n.n(x),h=n(77627),m=n(30917),f=function(){var e=u().end_date;return(0,s.jsxs)(o.G7,{style:p.header,children:[(0,s.jsx)(o.G7,{style:p.headerColumn,children:(0,s.jsx)(o.xv,{style:m.Rq.subtitleSpacedOutL,children:"New York, NY"})}),(0,s.jsx)(o.G7,{children:(0,s.jsx)(h.Z,{})}),(0,s.jsx)(o.G7,{style:p.headerColumn,children:(0,s.jsx)(o.xv,{style:[m.Rq.subtitleSpacedOutL,{textAlign:"right"}],children:g()(e).format("MMMM DD, YYYY")})})]})},p=o.mM.create({header:{flexDirection:"row",borderBottom:"1px",height:40,alignItems:"flex-start",marginBottom:20},headerColumn:{flex:1},logo:(0,a.kW)().logo}),v=n(95228),j=515,b=function(e){return j/e-25*(e-1)/e},C=function(e){var t=e.label,n=e.text,r=e.large;return(0,s.jsxs)(o.G7,{style:{width:r?240:120},children:[(0,s.jsxs)(o.xv,{style:[{marginBottom:10,borderBottom:"1px",paddingBottom:10},m.Rq.description],children:[t,":"]}),"string"===typeof n?(0,s.jsx)(o.xv,{style:[m.Rq.numeralsXSmall,Z.text],children:n}):n]})},y=function(e){var t=e.images,n=t.length<=2?1:t.length<=6?2:3,r=Math.ceil(t.length/n),i=b(n),a=b(r);return(0,s.jsx)(o.G7,{style:Z.seriesImageContainer,children:(0,s.jsx)(o.G7,{style:Z.seriesImageContainerInner,children:t.map((function(e,r){var l=(0,d.Hq)((0,d.Jn)(e.item.sizes.large.url)),c=r%n===n-1?0:25,u=r>=t.length-n?0:25;return(0,s.jsx)(o.Ee,{src:l,style:[Z.seriesImage,{width:i,height:a,marginRight:c,marginBottom:u}]},r)}))})})},w=function(e){var t,n=e.award,r=(0,d.Hq)((0,d.Jn)(null===(t=n.images[0])||void 0===t?void 0:t.item.sizes.large.url)),i=n.award_config.color,a=n.title.length>45?n.title.slice(0,45)+"...":n.title;return(0,s.jsxs)(o.T3,{size:"A4",style:E.page,children:[(0,s.jsx)(f,{}),1===n.images.length?(0,s.jsx)(o.G7,{style:Z.singleImageContainer,children:(0,s.jsx)(o.Ee,{src:r,style:Z.image})}):(0,s.jsx)(y,{images:n.images}),(0,s.jsxs)(o.G7,{style:Z.footer,children:[(0,s.jsx)(C,{label:"Title",text:'"'.concat(a,'"'),large:n.overall}),n.overall?null:(0,s.jsx)(C,{label:"Category",text:n.category.name}),(0,s.jsx)(C,{label:"Award",large:n.overall,text:(0,s.jsxs)(o.G7,{style:Z.badgeContainer,children:[(0,s.jsx)(o.G7,{style:{marginRight:5},children:(0,s.jsx)(v.m,{color:i})}),(0,s.jsxs)(o.G7,{style:{alignItems:"flex-start"},children:[(0,s.jsx)(o.xv,{style:[m.Rq.numeralsXSmall,{color:i},n.overall?{}:Z.text],children:n.award_config.name}),n.overall?(0,s.jsx)(o.xv,{style:m.Rq.overline,children:"Overall Contest Winner"}):null]})]})})]})]})},Z=o.mM.create({singleImageContainer:{flex:1,alignItems:"center",justifyContent:"center"},seriesImageContainer:{flex:1,alignItems:"center",flexDirection:"row"},seriesImage:{objectFit:"contain"},seriesImageContainerInner:{width:j,height:j,flexDirection:"row",flexWrap:"wrap",justifyContent:"flex-start"},image:{maxWidth:j,maxHeight:j},footer:{flexDirection:"row",alignItems:"flex-start",justifyContent:"space-between",marginTop:40,paddingBottom:20},badgeContainer:{flexDirection:"row",alignItems:"flex-start"},text:{minHeight:26}}),k=(0,a.kW)(),R=function(){return(0,s.jsx)(o.ny,{width:"12",height:"13",viewBox:"0 0 12 13",children:(0,s.jsx)(o.y$,{d:"M6 12.5C9.28173 12.5 12 9.78173 12 6.5C12 3.21827 9.27554 0.5 5.99381 0.5C2.71827 0.5 0 3.21827 0 6.5C0 9.78173 2.71827 12.5 6 12.5ZM2.48916 2.74149C3.0774 2.19659 3.78947 1.77554 4.57585 1.54644C4.17337 1.95511 3.82043 2.54334 3.56037 3.25542C3.14551 3.12539 2.78638 2.95201 2.48916 2.74149ZM7.43034
11.55263C8.21672 1.78173 8.9226 2.19659 9.51084 2.74768C9.21362 2.95201 8.85449 3.12539 8.44582 3.25542C8.17957 2.54334 7.83282 1.9613 7.43034 1.55263ZM6.39628 1.70124C6.89164 1.93034 7.34365 2.56811 7.66563 3.45356C7.27554 3.52167 6.8483 3.57121 6.39628 3.58359V1.70124ZM4.34056 3.45356C4.66254 2.56811 5.11455 1.93034 5.60991 1.70124V3.58359C5.1517 3.57121 4.73065 3.52167 4.34056 3.45356ZM0.860681 6.10991C0.941176 5.06347 1.34365 4.09752 1.96285 3.31115C2.32198 3.58359 2.79257 3.81269 3.33127 3.99226C3.17028 4.63003 3.06502 5.34211 3.04025 6.10991H0.860681ZM8.96594 6.10991C8.93498 5.34211 8.83591 4.63003 8.66873 3.99226C9.21362 3.81269 9.67802 3.58978 10.0372 3.31734C10.6563 4.09752 11.0588 5.06347 11.1455 6.10991H8.96594ZM3.83901 6.10991C3.86997 5.4226 3.96285 4.77245 4.11146 4.1904C4.57585 4.28947 5.08359 4.35139 5.60991 4.36997V6.10991H3.83901ZM6.39628 6.10991V4.36997C6.9226 4.35139 7.42415 4.28947 7.89474 4.1904C8.03715 4.77245 8.13622 5.4226 8.16099 6.10991H6.39628ZM0.860681 6.89009H3.04025C3.06502 7.67028 3.17028 8.38854 3.33746 9.0387C2.79876 9.21207 2.33437 9.43498 1.98142 9.70124C1.34985 8.91486 0.941176 7.94272 0.860681 6.89009ZM3.83901 6.89009H5.60991V8.66099C5.08359 8.67957 4.58204 8.74149 4.11765 8.83437C3.96285 8.23994 3.86378 7.58359 3.83901 6.89009ZM6.39628 8.66099V6.89009H8.16718C8.13622 7.58359 8.03715 8.23994 7.88854 8.83437C7.41796 8.74149 6.91641 8.67957 6.39628 8.66099ZM8.66873 9.0387C8.83591 8.38854 8.94118 7.67028 8.96594 6.89009H11.1455C11.0588 7.94272 10.6563 8.91486 10.0248 9.70124C9.66563 9.43498 9.20124 9.21207 8.66873 9.0387ZM4.34675 9.5774C4.73684 9.5031 5.15789 9.45975 5.60991 9.44118V11.305C5.12074 11.0759 4.66873 10.4443 4.34675 9.5774ZM6.39628 9.44118C6.8483 9.45975 7.26935 9.5031 7.65325 9.5774C7.33127 10.4443 6.88545 11.0759 6.39628 11.305V9.44118ZM8.43963 9.76935C8.84211 9.89938 9.20124 10.0666 9.49226 10.2709C8.91022 10.8096 8.21053 11.2183 7.43653 11.4474C7.83282 11.0449 8.17957 10.469 8.43963 9.76935ZM2.50774 10.2709C2.80495 10.0666 3.15789 9.89938 3.56656 9.76935C3.82663 10.469 4.16718 11.0449 4.56966 11.4474C3.79567 11.2183 3.08978 10.8096 2.50774 10.2709Z",fill:k.colors.accent})})},B=function(){return(0,s.jsxs)(o.G7,{style:M.footer,children:[(0,s.jsxs)(o.G7,{style:M.row,children:[(0,s.jsxs)(o.xv,{style:[m.Rq.numeralsXSmall,{width:80}],children:["About the ",a.RS,":"]}),(0,s.jsx)(o.xv,{style:[M.footerDescription,m.Rq.description],children:k.text.footerNote})]}),(0,s.jsxs)(o.G7,{style:M.footerBottom,children:[(0,s.jsxs)(o.rU,{style:[M.row,{alignItems:"center"}],src:a._O,children:[(0,s.jsx)(R,{}),(0,s.jsx)(o.xv,{style:[m.Rq.description,M.linkText,{color:k.colors.accent}],children:a.px})]}),(0,s.jsx)(o.xv,{style:[m.Rq.footerNote,M.footerNote],children:k.text.tagline})]})]})},M=o.mM.create({row:{flexDirection:"row"},footer:{paddingTop:20,marginTop:30,borderTop:"1px"},footerBottom:{marginTop:20,flexDirection:"row"},linkText:{marginLeft:11,lineHeight:1},footerDescription:{flex:1,marginLeft:25},footerNote:{flex:1,marginLeft:20,textAlign:"right"}}),_=function(e,t){return e.replace(/{artist_name}/g,t.user_name).replace(/{contest_title}/g,t.name).replace(/{contest_year}/g,"".concat(t.year))},D=function(){var e=u(),t=e.name,n=e.year,r=e.press_release_left_column;return(0,s.jsxs)(o.G7,{style:S.leftColumn,children:[(0,s.jsxs)(o.xv,{style:m.Rq.titleMedium,children:["The ",a.RS," has announced the winners of its ",n," ",t,"."]}),(0,s.jsx)(o.xv,{style:[{marginTop:15},m.Rq.paragraph],children:_(r,e)})]})},G=function(){var e,t,n=u(),r=n.awards,i=n.name,a=n.user_name,l=n.year,c=null===(t=null===(e=r[0])||void 0===e?void 0:e.images[0])||void 0===t?void 0:t.item.sizes.large.url;return(0,s.jsxs)(o.G7,{style:S.rightColumn,children:[(0,s.jsx)(o.Ee,{style:S.image,src:(0,d.Hq)((0,d.Jn)(c))}),(0,s.jsxs)(o.G7,{style:{flex:1},children:[(0,s.jsxs)(o.xv,{style:m.Rq.titleMedium,children:["Please join us in congratulating ",a," for receiving the following honors at the ",l," ",i,":"]}),(0,s.jsxs)(o.G7,{style:S.awardsContainer,children:[r.slice(0,5).map((function(e,t){return(0,s.jsxs)(o.G7,{style:{marginTop:10},children:[(0,s.jsxs)(o.G7,{style:{flexDirection:"row",flexWrap:"wrap"},children:[(0,s.jsx)(o.xv,{style:[m.Rq.titleXSmall,{marginRight:4}],children:e.award_config.name}),(0,s.jsx)(o.xv,{style:m.Rq.paragraph,children:e.overall?i:e.category.name})]}),(0,s.jsx)(o.xv,{style:[m.Rq.overline,{marginTop:2}],children:'"'.concat(e.title,'"')})]},t)})),r.length>5&&(0,s.jsxs)(o.G7,{style:{marginTop:20,flexDirection:"row"},children:[(0,s.jsxs)(o.xv,{style:m.Rq.titleXSmall,children:["+ ",r.length-5," More Honors"]}),(0,s.jsx)(o.xv,{style:[m.Rq.paragraph,{marginLeft:4}],children:"Displayed in Following Pages"})]})]})]})]})},I=function(){var e=u(),t=e.name,n=e.year,r=e.user_name;return(0,s.jsxs)(o.G7,{style:S.content,children:[(0,s.jsxs)(o.G7,{children:[(0,s.jsx)(o.xv,{style:[S.pretitle,m.Rq.subtitleL],children:"FOR IMMEDIATE RELEASE"}),(0,s.jsxs)(o.xv,{style:[{textAlign:"center"},m.Rq.titleLarge],children:[a.RS," Honors ",r," in its ",n," ",t]})]}),(0,s.jsxs)(o.G7,{style:S.columnsContainer,children:[(0,s.jsx)(D,{}),(0,s.jsx)(G,{})]})]})},S=o.mM.create({content:{flex:1},pretitle:{textAlign:"center",marginBottom:5},columnsContainer:{flexDirection:"row",marginTop:30,flex:1},leftColumn:{flex:1,height:"100%"},image:{maxWidth:250,maxHeight:185,width:"auto",marginBottom:20,objectFit:"contain",objectPosition:"left"}
1,rightColumn:{width:250,marginLeft:64,height:"100%",justifyContent:"space-between",alignItems:"flex-start"},awardsContainer:{marginTop:10}}),q=function(e){var t=e.contest,n=t.awards.slice().filter((function(e){return e.award_config.press_release})),l=(0,i.Z)((0,r.Z)({},t),{awards:n});return(0,s.jsx)(c.Provider,{value:l,children:(0,s.jsxs)(o.BB,{title:"".concat(a.RS," Press Release"),children:[(0,s.jsxs)(o.T3,{size:"A4",style:E.page,children:[(0,s.jsx)(f,{}),(0,s.jsx)(I,{}),(0,s.jsx)(B,{})]}),l.awards.map((function(e,t){return(0,s.jsx)(w,{award:e},t)}))]})})},E=o.mM.create({page:{flexDirection:"column",backgroundColor:(0,a.kW)().colors.background,padding:"20px 40px"}})}}]);
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.