"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7251],{27025:function(n,e,t){t.d(e,{$:function(){return j}});var r=t(85893),o=(t(67294),t(53640)),i=t(93866),a=t(55076),l=t(96672),s=t(59617),c=t(74121),d=t(70340),u=t(7297),h=t(46366),p=t(20475),f=t(92958),x=t(38030);function g(){var n=(0,u.Z)(["\n    border: 1px solid ",";\n    gap: 16px;\n    padding: 12px 16px;\n    border-radius: 8px;\n    background-color: ",";\n    width: 100%;\n    min-height: 78px;\n    cursor: pointer;\n  "]);return g=function(){return n},n}var m=(0,f.default)(i.F).withConfig({displayName:"BuilderCardMobile__StyledFlex",componentId:"sc-3be73d8-0"})((function(n){var e=n.theme,t=n.dark;return(0,f.css)(g(),e.colors["grey-3"],t?e.colors["grey-8"]:"white")})),v=function(n){var e=n.builder,t=n.onClick;return(0,r.jsx)(x.r,{href:"".concat(d.V.BASE_URL,"@").concat(e.username),shouldPassPropsToChildren:!0,isExternal:!0,children:(0,r.jsxs)(m,{as:"a",direction:"row",onClick:function(){return t?t(e):void 0},children:[(0,r.jsx)(i.F,{alignItems:"center",children:(0,r.jsx)(p.A,{src:e.profile_image,name:e.username,size:"small",round:!0})}),(0,r.jsx)(i.F,{direction:"column",width:"100%",gap:4,justifyContent:"center",children:(0,r.jsxs)(h.U,{size:20,weight:"bold",color:"grey-8",children:[e.first_name," ",e.last_name]})})]})})},b=function(n){var e,t,l,s,u,h,p,f,x,g,m,b,j=n.project,y=n.onLike;return(0,r.jsxs)(o.B,{paddingTop:4,children:[(0,r.jsx)(c.t,{name:null===j||void 0===j?void 0:j.name,slug:null===j||void 0===j?void 0:j.slug,tagline:null!==(f=null===j||void 0===j?void 0:j.tagline)&&void 0!==f?f:"",builtBy:null!==(g=(null===j||void 0===j?void 0:j.hackathon)&&"string"===typeof(null===j||void 0===j||null===(e=j.team)||void 0===e?void 0:e.name)?j.team.name:null!==(x=null===j||void 0===j||null===(t=j.members)||void 0===t||null===(l=t[0])||void 0===l?void 0:l.first_name)&&void 0!==x?x:null===j||void 0===j||null===(s=j.members)||void 0===s||null===(u=s[0])||void 0===u?void 0:u.username)&&void 0!==g?g:"",faviconURL:null===j||void 0===j?void 0:j.favicon,hackathon:(null===j||void 0===j?void 0:j.hackathon)?j.hackathon:void 0,prizes:j.hackathon?null===j||void 0===j?void 0:j.prizes:[],likesCount:null!==(m=null===j||void 0===j?void 0:j.likes)&&void 0!==m?m:0,hasLiked:null===(h=j.user_project_meta)||void 0===h?void 0:h.like,handleLikeClick:function(){var n;y(null===j||void 0===j?void 0:j.uuid,!(null===(n=j.user_project_meta)||void 0===n?void 0:n.like))},members:null===j||void 0===j?void 0:j.members,expoLocation:null===j||void 0===j?void 0:j.community_expo_location,expanded:!0}),(0,r.jsx)(i.F,{marginTop:"16px",gap:12,direction:"column",children:null===(p=j.members)||void 0===p?void 0:p.map((function(n){return(0,r.jsx)(v,{builder:n},n.uuid)}))}),(0,r.jsx)(a.B,{marginTop:"24px",appearance:"secondary",stretch:!0,size:"large",as:"a",href:"".concat(d.V.BASE_URL,"projects/").concat(null!==(b=j.slug)&&void 0!==b?b:""),shouldOpenInNewTab:!0,children:"View Project"})]})},j=function(n){var e=n.onClose,t=n.project,o=n.onLike,i=(0,s.M)();return(0,r.jsx)(l.b,{open:i&&!!t,onOpenChange:function(n){return!n&&e()},children:(0,r.jsxs)(l.f,{children:[(0,r.jsx)(l.g,{}),(0,r.jsxs)(l.h,{style:{height:"auto"},children:[(0,r.jsx)(l.j,{}),!!t&&(0,r.jsx)(b,{project:t,onLike:o})]})]})})}},15576:function(n,e,t){t.d(e,{gI:function(){return P},KI:function(){return y},ro:function(){return _},Jj:function(){return w},sj:function(){return k}});var r=t(26042),o=t(828),i=t(7297),a=t(85893),l=t(67294),s=t(84441),c=t(97635),d=t(60186),u=t(93866),h=t(92958);function p(){var n=(0,i.Z)(["\n  width: ",";\n  height: 12px;\n  border-radius: 8px;\n  list-style: none;\n  position: relative;\n  z-index: ",";\n  background-color: ",";\n"]);return p=function(){return n},n}function f(){var n=(0,i.Z)(["\n    box-sizing: border-box;\n    border: 0;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    margin: 0;\n    width: ",";\n    height: ",";\n    border: 2px solid transparent;\n    background-color: ",";\n    box-shadow: ",";\n    border-radius: ",";\n    cursor: pointer;\n    outline: none;\n    -webkit-tap-highlight-color: transparent;\n\n    &:hover,\n    &:focus {\n      border-color: ",";\n      box-shadow: ",";\n    }\n\n    &:active {\n      box-shadow: ",";\n      border-color: ",";\n    }\n  "]);return f=function(){return n},n}function x(){var n=(0,i.Z)(["\n  ","\n"]);return x=function(){return n},n}var g=h.default.li.withConfig({displayName:"PaginatedCarousel__PageIndicator",componentId:"sc-736575ff-0"})(p(),(function(n){return n.selected?"36px":"12px"}),(function(n){return n.selected?1:0}),(function(n){var e=n.selected,t=n.theme;return e?t.colors["blue-4"]:t.colors["blue-1"]})),m=(0,h.default)("button").withConfig({displayName:"PaginatedCarousel__CarouselButtonContainer",componentId:"sc-736575ff-1"})((function(n){var e=n.theme,t=n.size,r=n.isDefaultColor,o=void 0===r||r;return(0,h.css)(f(),"small"===t?"40px":"medium"===t?"50px":"64px","small"===t?"40px":"medium"===t?"50px":"64px",o?e.colors["grey-1"]:e.colors["blue-4"],e.shadows["blue-3"],e.radii.circle,e.colors["blue-4"],e.shadows["blue-4"],e.shadows["inner-3"],e.colors["blue-4"])})),v=(0,h.default)(d.I).withConfig({displayName:"PaginatedCarousel__CarouselIcon",componentId:"sc-736575ff-2"})(x(),(function(n){var e=n.type;return"large"===n.size?"\n    height: 38.4px;\n    width: 38.4px;\n\n    > svg {\n      height: 38.4px;\n      width: 38.4px;\n    }\n    transform: translateX(".concat("left"===e?"-2px":"2px",");\n  "):""})),b={enter:function(n){return{x:n>0?10:-10,opacity:0}},center:{x:0,opacity:1},exit:function(n){return{x:n<0?10:-10,opacity:0}}},j={enter:{opacity:0},center:{opacity:1},exit:{opacity:0}},y=function(n){var e=n.children,t=n.animation,o=void 0===t?"slide":t,i=n.motionDivStyle,d=void 0===i?{}:i,u=l.useContext(_),h=u.currentSelectedPage,p=u.direction;return(0,a.jsx)(s.M,{exitBeforeEnter:!0,initial:!1,custom:p,children:(0,a.jsx)(c.E.div,{custom:p,variants:"slide"===o?b:j,initial:"enter",animate:"center",exit:"exit",transition:{duration:.2},style:(0,r.Z)({height:"100%"},d),children:e},h)})},C=function(n){var e=n.pages,t=n.selectedPage;return(0,a.jsx)(u.F,{gap:8,as:c.E.ul,padding:0,marginTop:0,marginBottom:0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:Array(e).fill(0).map((function(n,e){return(0,a.jsx)(g,{as:c.E.li,layout:!0,selected:e===t},function(n){return t===n?0:t>n?n+1:n}(e))}))})},w=function(){var n=l.useContext(_),e=n.currentSelectedPage,t=n.totalPages;return(0,a.jsx)(s.M,{children:(0,a.jsx)(C,{pages:t,selectedPage:e})})},_=l.createContext({currentSelectedPage:0,direction:1,totalPages:0,goToNextPage:function(){throw new Error("goToNextPage not implemented")},goToPreviousPage:function(){throw new Error("goToPreviousPage not implemented")},setShowCarouselRightButton:function(n){throw new Error("setShowCarouselRightButton not implemented")},showCarouselRightButton:!0}),k=function(n){var e=n.children,t=n.totalPages,r=n.onPageChange,i=(0,o.Z)(l.useState([0,1]),2),s=(0,o.Z)(i[0],2),c=s[0],d=s[1],u=i[1],h=(0,o.Z)(l.useState(!0),2),p=h[0],f=h[1],x=function(){u([c+1,1]),null===r||void 0===r||r(c+1)},g=function(){u([c-1,-1]),null===r||void 0===r||r(c-1)};return(0,a.jsx)(_.Provider,{value:{currentSelectedPage:c,direction:d,goToNextPage:x,goToPreviousPage:g,totalPages:t,setShowCarouselRightButton:f,showCarouselRightButton:p},children:"function"===typeof e?e({currentSelectedPage:c,goToNextPage:x,goToPreviousPage:g,goToPage:function(n){u([n,n>c?1:-1]),null===r||void 0===r||r(n)},setShowCarouselRightButton:f,showCarouselRightButton:p}):e})},P=function(n){var e=n.type,t=n.handleClick,r=n.size,o=n.isDefaultColor,i=void 0===o||o;return(0,a.jsx)(m,{onClick:t,"aria-label":"left"===e?"Previous":"Next",size:r,isDefaultColor:i,children:(0,a.jsx)(v,{name:"left"===e?"chevron-left":"chevron-right",size:"small"===r?"medium":"large",color:i?"grey-8":"white",type:e})})}},90114:function(n,e,t){t.d(e,{gI:function(){return w},KI:function(){return p.KI},Ig:function(){return z},Qd:function(){return k},sj:function(){return p.sj},iJ:function(){return P},bW:function(){return _},F7:function(){return y},eH:function(){return Z},tl:function(){return p.Jj}});var r=t(26042),o=t(69396),i=t(99534),a=t(7297),l=t(85893),s=t(67294),c=t(93866),d=t(46366),u=t(92958),h=t(10056),p=t(15576);function f(){var n=(0,a.Z)(["\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: ",";\n  right: ",";\n  width: 100px;\n  height: 100%;\n  display: flex;\n  align-items: ",";\n  justify-content: center;\n  margin-top: ",";\n"]);return f=function(){return n},n}function x(){var n=(0,a.Z)(["\n  from { opacity: 0; }\n  to   { opacity: 0.8; }\n"]);return x=function(){return n},n}function g(){var n=(0,a.Z)(["\n  from { opacity: 0.8; }\n  to   { opacity: 0; }\n"]);return g=function(){return n},n}function m(){var n=(0,a.Z)(["\n  top: 0;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  background-color: ",";\n  opacity: 0.98;\n  position: fixed;\n  @media (prefers-reduced-motion: no-preference) {\n    will-change: opacity;\n\n    &[data-state='open'] {\n      animation: "," 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94);\n    }\n\n    &[data-state='closed'] {\n      animation: "," 80ms cubic-bezier(0.55, 0.055, 0.675, 0.19);\n    }\n  }\n"]);return m=function(){return n},n}function v(){var n=(0,a.Z)(["\n    --transition-open: 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94);\n    --transition-closed: 80ms cubic-bezier(0.55, 0.055, 0.675, 0.19);\n\n    --transform-open: translate(-50%, -50%) scale(1) rotateX(0);\n    --transform-closed: translate(-50%, -48%) scale(0.99) rotateX(-4deg);\n\n    position: fixed;\n    background-color: ",";\n    max-width: 1050px;\n    height: 590px;\n    width: 100%;\n    padding: 20px 40px 64px;\n    top: 50%;\n    left: 50%;\n    transform: var(--transform-open);\n    border-radius: 24px;\n\n    &:focus {\n      outline: none;\n    }\n\n    @media screen and (max-width: ",") {\n      width: 100vw;\n      height: 100vh;\n      max-height: 100vh;\n      max-width: 100vw;\n      border-radius: 0;\n      background-color: ",";\n      padding: 40px 24px 42px;\n      padding-bottom: 120px;\n    }\n\n    @media (prefers-reduced-motion: no-preference) {\n      will-change: transform, opacity;\n      perspective: 2400px;\n\n      &[data-state='open'] {\n        animation: "," var(--transition-open);\n      }\n\n      &[data-state='closed'] {\n        animation: "," var(--transition-closed);\n      }\n    }\n  "]);return v=function(){return n},n}function b(){var n=(0,a.Z)(["\n  from { opacity: 0; transform: var(--transform-closed) }\n  to   { opacity: 1; transform: var(--transform-open) }\n"]);return b=function(){return n},n}function j(){var n=(0,a.Z)(["\n  from { opacity: 1; transform: var(--transform-open) }\n  to   { opacity: 0; transform: var(--transform-closed) }\n"]);return j=function(){return n},n}var y=function(n){var e=n.children,t=(0,i.Z)(n,["children"]);return(0,l.jsx)(h.Vq,(0,o.Z)((0,r.Z)({},t),{children:(0,l.jsxs)(h.PK,{children:[(0,l.jsx)(I,{}),e]})}))},C=u.default.div.withConfig({displayName:"PaginatedOnboarding__CarouselEdge",componentId:"sc-bbb45a63-0"})(f(),(function(n){return"left"===n.type?"-48px":"auto"}),(function(n){return"right"===n.type?"-48px":"auto"}),(function(n){return"fixed"===n.position?"flex-start":"center"}),(function(n){return"fixed"===n.position?"180px":"0px"})),w=function(n){var e=n.type,t=n.handleClick,r=n.size,o=void 0===r?"large":r,i=n.position,a=void 0===i?"relative":i,s=n.isDefaultColor,c=void 0===s||s;return(0,l.jsx)(C,{type:e,position:a,children:(0,l.jsx)(p.gI,{handleClick:t,type:e,size:o,isDefaultColor:c})})},_=function(n){var e=n.title,t=n.children,r=n.maxWidth;return(0,l.jsxs)(c.F,{direction:"column",gap:8,maxWidth:null!==r&&void 0!==r?r:"730px",children:[(0,l.jsx)(d.R,{weight:"black",color:"grey-8",align:"center",responsiveTextTypes:{tablet:{size:36,type:"heading"},_:{size:26,type:"heading"}},children:e}),(0,l.jsx)(d.R,{weight:"regular",color:"grey-7",align:"center",responsiveTextTypes:{tablet:{size:18,type:"ui"},_:{size:15,type:"ui"}},children:t})]})},k=function(){var n=s.useContext(p.ro),e=n.goToPreviousPage;return 0===n.currentSelectedPage?null:(0,l.jsx)(w,{type:"left",handleClick:function(){return e()},"aria-label":"Previous"})},P=function(n){var e=n.isDefaultColor,t=void 0===e||e,r=s.useContext(p.ro),o=r.goToNextPage;return r.currentSelectedPage===r.totalPages-1?null:(0,l.jsx)(w,{type:"right",handleClick:function(){return o()},"aria-label":"Next",isDefaultColor:t})},z=function(n){var e=n.children,t=n.align,r=void 0===t?"center":t;n.style;return(0,l.jsx)(c.F,{position:"relative",width:"100%",height:"100%",direction:"column",align:r,gap:40,paddingBottom:{tablet:"0",_:"40px"},children:e})},B=(0,u.keyframes)(x()),L=(0,u.keyframes)(g()),I=(0,u.default)(h.t9).withConfig({displayName:"PaginatedOnboarding__StyledOverlay",componentId:"sc-bbb45a63-1"})(m(),(function(n){return n.theme.colors["grey-8"]}),B,L),Z=(0,u.default)(h.cZ).withConfig({displayName:"PaginatedOnboarding__StyledContent",componentId:"sc-bbb45a63-2"})((function(n){var e=n.theme;return(0,u.css)(v(),e.colors["grey-1"],e.breakpoints.tablet,e.colors.white,S,E)})),S=(0,u.keyframes)(b()),E=(0,u.keyframes)(j())},90095:function(n,e,t){t.d(e,{t:function(){return M},R:function(){return W}});var r=t(828),o=t(7297),i=t(85893),a=t(67294),l=t(92958),s=t(93866),c=t(46366),d=t(53640),u=t(40633),h=t(64597),p=t(60186),f=t(35315),x=t(60220),g=t(26482),m=t(83667),v=t(94829),b=t(38030),j=t(40450),y=t(27656),C=t(26042),w=t(96760),_=t(67475);function k(){var n=(0,o.Z)(["\n      border: 1px solid ",";\n      background-color: ",";\n\n      @media (hover: hover) and (pointer: fine) {\n        &:focus,\n        &:hover {\n          box-shadow: none;\n          background-color: ",";\n        }\n\n        &:active {\n          background-color: ",";\n          box-shadow: ",";\n        }\n      }\n    "]);return k=function(){return n},n}function P(){var n=(0,o.Z)(["\n    box-sizing: border-box;\n    width: 64px;\n    height: 66px;\n    padding: 12px 16px;\n    border: 1px solid ",";\n    border-radius: 8px;\n    background-color: ",";\n    box-shadow: 0px 1px 4px rgba(3, 0, 92, 0.1);\n    cursor: pointer;\n    outline: none;\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n\n    @media (hover: hover) and (pointer: fine) {\n      &:focus,\n      &:hover {\n        box-shadow: ",";\n      }\n\n      &:active {\n        background-color: ",";\n        box-shadow: ",";\n      }\n    }\n\n    ","\n\n    "," {\n      padding: 8px;\n      width: ",";\n      height: ",";\n      gap: 4px;\n      span {\n        font-size: 18px;\n        line-height: 1;\n      }\n\n      ","\n\n      ","\n\n      "," {\n        height: 16px;\n        margin-bottom: 2px;\n      }\n    }\n  "]);return P=function(){return n},n}var z=l.default.button.withConfig({displayName:"ProjectCardPreviewAction__StyledActionButton",componentId:"sc-5b1f52f6-0"})((function(n){var e=n.theme,t=n.active,r=n.smallMobileButton;return(0,l.css)(P(),e.colors["grey-3"],e.colors.white,e.shadows["blue-2"],e.colors["grey-1"],e.shadows["inner-3"],t&&(0,l.css)(k(),e.colors["teal-6"],e.colors["teal-5"],e.colors["teal-6"],e.colors["teal-6"],e.shadows["inner-3"]),e.mediaQueries.phone,r?"fit-content":"52px",r?"fit-content":"52px",r&&"\n        box-shadow: none;\n        border: none;\n        flex-direction: row;\n        gap: 4px;\n        align-items: center;\n      ",t&&r&&"\n        background-color: ".concat(e.colors.white,";\n\n        span {\n          color: ").concat(e.colors["teal-6"],";\n        }\n\n        svg {\n          path {\n            fill: ").concat(e.colors["teal-6"],";\n          }\n        }\n      "),d.B)})),B=function(n){var e=n.id,t=n.count,r=n.active,o=n.onClick,a=n.analyticsEvent,l=n.smallMobileButton,s=(0,_.useRegisterWall)({postAuthenticationAction:o,isAuthenticationRequired:!0,analyticsEvent:a}),u=s.registerWallProps,h=s.triggerAction;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(z,{id:e,onClick:function(n){n.stopPropagation(),h(n)},active:r,smallMobileButton:l,children:[(0,i.jsx)(d.B,{children:r?(0,i.jsx)(p.I,{name:"heart-fill",size:"extra-small",color:"white"}):(0,i.jsx)(p.I,{name:"heart",size:"extra-small",color:"grey-8"})}),(0,i.jsx)(c.U,{as:"span",size:18,weight:"bold",color:r?"white":"grey-8",children:(0,i.jsx)(w.A,{number:t})})]}),(0,i.jsx)(_.RegisterWall,(0,C.Z)({},u))]})},L=t(70340);function I(){var n=(0,o.Z)(["\n  a {\n    @media (hover: hover) and (pointer: fine) {\n      &:hover {\n        color: ",";\n      }\n    }\n  }\n"]);return I=function(){return n},n}function Z(){var n=(0,o.Z)(["\n  color: ",";\n\n  @media (hover: hover) and (pointer: fine) {\n    &:hover {\n      color: ",";\n      text-decoration: underline;\n      cursor: pointer;\n    }\n  }\n"]);return Z=function(){return n},n}function S(){var n=(0,o.Z)(["\n  &:hover {\n    background-color: #38474e;\n    cursor: pointer;\n  }\n\n  &:active {\n    background-color: ",";\n  }\n"]);return S=function(){return n},n}function E(){var n=(0,o.Z)(["\n    background: ",";\n    padding: 16px;\n    margin-top: 0;\n    border-radius: 0 0 12px 12px;\n    border-top: none;\n  "]);return E=function(){return n},n}function F(){var n=(0,o.Z)(["\n        border: 1px solid ",";\n        padding: 16px;\n      "]);return F=function(){return n},n}function N(){var n=(0,o.Z)(["\n    "," {\n      ","\n\n      ","\n      border-radius: ",";\n    }\n  "]);return N=function(){return n},n}var R=(0,l.default)(s.F).withConfig({displayName:"ProjectCard__AnchorContainer",componentId:"sc-ffb1cab2-0"})(I(),(function(n){return n.theme.colors["blue-4"]})),T=(0,l.default)(c.R).withConfig({displayName:"ProjectCard__BuilderText",componentId:"sc-ffb1cab2-1"})(Z(),(function(n){return n.theme.colors["grey-7"]}),(function(n){return n.theme.colors["grey-8"]})),A=(0,l.default)(s.F).withConfig({displayName:"ProjectCard__BuilderFlex",componentId:"sc-ffb1cab2-2"})(S(),(function(n){return n.theme.colors["grey-9"]})),D=(0,l.default)(s.F).withConfig({displayName:"ProjectCard__StyledPrizeBar",componentId:"sc-ffb1cab2-3"})((function(n){n.theme;return(0,l.css)(E(),(function(n){return n.theme.colors["grey-1"]}))})),U=(0,l.default)(s.F).withConfig({displayName:"ProjectCard__StyledFlex",componentId:"sc-ffb1cab2-4"})((function(n){var e=n.theme,t=n.expanded,r=n.isPrizebarVisible;return(0,l.css)(N(),e.mediaQueries.phone,!t&&(0,l.css)(F(),e.colors["grey-3"]),r&&"border-bottom: none;",!t&&r?"12px 12px 0 0":"12px")})),M=function(n){var e,t=n.name,o=n.slug,l=n.tagline,f=n.faviconURL,C=n.builtBy,w=n.hackathon,_=n.prizes,k=n.likesCount,P=n.hasLiked,z=n.handleLikeClick,I=n.members,Z=n.expoLocation,S=n.showBuiltAtHackathon,E=void 0===S||S,F=n.expanded,N=void 0!==F&&F,M=n.onClick,W=(0,v.Z)("(max-width: 480px)"),O=(0,r.Z)(a.useState(!1),2),V=O[0],H=O[1];return(0,i.jsxs)(s.F,{direction:"column",padding:{_:"0px",tablet:"32px"},borderRadius:{_:"8px",tablet:"16px"},gap:{_:0,tablet:24},boxShadow:{_:"none",tablet:"blue-1"},backgroundColor:"white",height:{_:"fit-content",tablet:"100%"},marginBottom:0,marginTop:{_:"0px",tablet:"0px"},width:"100%",onClick:M,children:[(0,i.jsxs)(U,{expanded:N,isPrizebarVisible:Array.isArray(_)&&(!!w||_.length>0),gap:{_:"16px",tablet:"24px"},direction:"column",height:{_:"fit-content",tablet:"100%"},children:[(0,i.jsxs)(s.F,{width:"100%",justify:"space-between",children:[(0,i.jsxs)(s.F,{gap:{_:"16px",tablet:"24px"},align:"center",flex:"85%",children:[(0,i.jsx)(y.q,{name:t,faviconURL:f,isWinner:Array.isArray(_)&&_.length>0}),(0,i.jsxs)(s.F,{direction:"column",gap:2,children:[(0,i.jsx)(d.B,{display:{tablet:"block",_:"none"},children:(0,i.jsx)(R,{children:(0,i.jsx)(b.r,{href:"".concat(L.V.BASE_URL,"projects/").concat(o),shouldPassPropsToChildren:!0,isExternal:!0,children:(0,i.jsx)(c.H,{as:"a",size:20,color:"grey-8",numberOfLines:1,weight:"bold",children:t})})})}),(0,i.jsx)(d.B,{display:{tablet:"none",_:"block"},children:(0,i.jsx)(c.H,{as:"a",size:18,color:"grey-8",numberOfLines:1,weight:"bold",children:t})}),(0,i.jsxs)(s.F,{children:[(0,i.jsx)(c.R,{responsiveTextTypes:{_:{type:"ui",size:16},tablet:{type:"body",size:16}},weight:"regular",color:"grey-7",children:"By\xa0"}),(0,i.jsxs)(x.fC,{openDelay:250,closeDelay:0,open:!W&&V,onOpenChange:function(){H(!V)},children:[(0,i.jsx)(x.xz,{children:(0,i.jsx)(T,{responsiveTextTypes:{_:{type:"ui",size:16},tablet:{type:"body",size:16}},color:"grey-7",children:C})}),(0,i.jsxs)(x.VY,{side:"right",children:[(0,i.jsx)(s.F,{direction:"column",minWidth:{tablet:"275px"},borderRadius:"12px",backgroundColor:"grey-8",padding:"16px",gap:4,children:null===I||void 0===I?void 0:I.map((function(n,t){return(0,i.jsx)(b.r,{href:"".concat(L.V.BASE_URL,"@").concat(n.username),isExternal:!0,children:(0,i.jsxs)(A,{gap:12,paddingY:"12px",paddingX:"16px",align:"center",borderRadius:"8px",children:[(0,i.jsx)(u.A,{src:(null===n||void 0===n?void 0:n.profile_image)&&"string"===typeof(null===n||void 0===n?void 0:n.profile_image)&&(null===n||void 0===n?void 0:n.profile_image.length)>0?null===n||void 0===n?void 0:n.profile_image:null}),n.first_name&&n.last_name?(0,i.jsxs)(s.F,{direction:"column",children:[(0,i.jsx)(c.U,{size:18,weight:"bold",color:"grey-2",children:n.first_name}),(0,i.jsx)(c.U,{size:16,color:"grey-5",children:n.last_name})]}):(0,i.jsx)(c.U,{size:18,weight:"bold",color:"grey-2",children:null!==(e=n.first_name)&&void 0!==e?e:n.username})]})},t)}))}),(0,i.jsx)(x.Eh,{})]})]})]})]})]}),(0,i.jsx)(B,{count:k,active:P,onClick:z,smallMobileButton:!0})]}),(0,i.jsx)(c.B,{size:18,color:"grey-7",numberOfLines:N?void 0:2,style:{flexGrow:1},children:l}),(0,i.jsx)(d.B,{display:{_:N?"block":"none",tablet:"block"},children:(0,i.jsxs)(s.F,{gap:8,wrap:"wrap",children:[E&&w&&(0,i.jsxs)(g.l,{as:"a",icon:"hackathon",href:(0,j.K6)(w.slug),isExternal:!0,shouldOpenInNewTab:!0,children:["Built at ",w.name]}),Array.isArray(_)&&_.length>0&&(0,i.jsx)(m.P,{maximumVisiblePrizes:0,hackathonSlug:null===w||void 0===w?void 0:w.slug,prizes:_}),"string"===typeof Z&&Array.isArray(_)&&0===_.length&&(0,i.jsx)(h.sr,{icon:"table",children:Z})]})})]}),!N&&w&&Array.isArray(_)&&(0,i.jsx)(d.B,{display:{tablet:"none",_:"block"},children:(0,i.jsxs)(D,{gap:24,children:[w&&(0,i.jsxs)(s.F,{gap:8,alignItems:"center",children:[(0,i.jsx)(p.I,{name:"hackathon",size:"small",color:"grey-7"}),(0,i.jsxs)(c.U,{size:16,color:"grey-7",numberOfLines:1,children:["Built at ",w.name]})]}),_.length>0&&(0,i.jsxs)(s.F,{gap:8,alignItems:"center",children:[(0,i.jsx)(p.I,{name:"prize",size:"small",color:"grey-7"}),(0,i.jsxs)(c.U,{size:16,color:"grey-7",children:["+",_.length," other prize",2===_.length?"":"s"]})]})]})})]})},W=function(){return(0,i.jsxs)(s.F,{direction:"column",padding:{_:"16px",tablet:"32px"},borderRadius:{_:"8px",tablet:"16px"},gap:{_:"16px",tablet:"24px"},boxShadow:{_:"none",tablet:"blue-1"},borderWidth:{_:"1px",tablet:"none"},borderStyle:{_:"solid",tablet:"none"},borderColor:"grey-3",backgroundColor:"white",height:"fit-content",children:[(0,i.jsxs)(s.F,{width:"100%",justify:"space-between",align:"center",children:[(0,i.jsx)(d.B,{display:{_:"none",tablet:"block"},children:(0,i.jsxs)(s.F,{gap:24,children:[(0,i.jsx)(f.S,{height:64,width:64}),(0,i.jsxs)(s.F,{direction:"column",gap:4,children:[(0,i.jsx)(f.S,{height:24,width:240}),(0,i.jsx)(f.S,{height:16,width:200})]})]})}),(0,i.jsx)(d.B,{display:{_:"block",tablet:"none"},children:(0,i.jsxs)(s.F,{gap:16,children:[(0,i.jsx)(f.S,{height:40,width:40}),(0,i.jsxs)(s.F,{direction:"column",gap:4,children:[(0,i.jsx)(f.S,{height:17,width:120}),(0,i.jsx)(f.S,{height:16,width:140})]})]})}),(0,i.jsx)(d.B,{display:{_:"none",tablet:"block"},children:(0,i.jsx)(f.S,{height:66,width:64})}),(0,i.jsx)(d.B,{display:{_:"block",tablet:"none"},children:(0,i.jsx)(f.S,{height:16,width:32})})]}),(0,i.jsx)(f.S,{height:48,width:240})]})}},74121:function(n,e,t){t.d(e,{t:function(){return r.t}});var r=t(90095)},62658:function(n,e,t){t.d(e,{L:function(){return p}});var r=t(7297),o=t(85893),i=(t(67294),t(46366)),a=t(92958),l=t(40450);function s(){var n=(0,r.Z)(["\n  opacity: 0.64;\n"]);return s=function(){return n},n}var c=["#22C5A8","#F4875D","#A7AA0D","#8097F2","#E8C754","#80EBB8","#B9CCF5"],d=["/pattern-1.svg","/pattern-2.svg","/pattern-3.svg","/pattern-4.svg"],u=a.default.div.withConfig({displayName:"ProjectPlaceholderIcon__Placeholder",componentId:"sc-c417ac85-0"})((function(n){var e=n.projectName;return"\n    height: 100%;\n    width: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    border-radius: 6px;\n    background-image: url(".concat((0,l.eZ)(e,d),");\n    background-color: ").concat((0,l.eZ)(e,c),";\n  ")})),h=(0,a.default)(i.T).withConfig({displayName:"ProjectPlaceholderIcon__InitialText",componentId:"sc-c417ac85-1"})(s()),p=function(n){var e,t,r=n.projectName,i=n.fontSize,a=void 0===i?36:i;return(0,o.jsx)(u,{projectName:r,children:(0,o.jsx)(h,{font:"secondary",size:a,weight:"bold",children:null!==(t=null===(e=null===r||void 0===r?void 0:r.charAt(0))||void 0===e?void 0:e.toUpperCase())&&void 0!==t?t:""})})}},27656:function(n,e,t){t.d(e,{q:function(){return f}});var r=t(7297),o=t(85893),i=(t(67294),t(25675)),a=t.n(i),l=t(92958),s=t(62658),c=t(54025);function d(){var n=(0,r.Z)(["\n  width: ",";\n  height: ",";\n  border-radius: ",";\n  flex-shrink: 0;\n  position: relative;\n  border-width: 1px;\n  border-color: ",";\n  "," {\n    width: 48px;\n    height: 48px;\n    border-radius: 5px;\n    p {\n      font-size: 20px;\n    }\n  }\n"]);return d=function(){return n},n}function u(){var n=(0,r.Z)(["\n  position: absolute;\n  top: -10px;\n  right: -10px;\n  height: 24px;\n  width: 24px;\n  "," {\n    top: -6px;\n    right: -6px;\n    height: 16px;\n    width: 16px;\n  }\n"]);return u=function(){return n},n}var h=l.default.div.withConfig({displayName:"ResponsiveProjectIcon__ProjectImageContainer",componentId:"sc-7a832b2a-0"})(d(),(function(n){return"large"===n.size?"64px":"48px"}),(function(n){return"large"===n.size?"64px":"48px"}),(function(n){return"large"===n.size?"8px":"6px"}),(function(n){return n.theme.colors["grey-3"]}),(function(n){return n.theme.mediaQueries.phone})),p=(0,l.default)(c.l).withConfig({displayName:"ResponsiveProjectIcon__WinnerIcon",componentId:"sc-7a832b2a-1"})(u(),(function(n){return n.theme.mediaQueries.phone})),f=function(n){var e=n.name,t=n.faviconURL,r=n.isWinner,i=n.size,l=void 0===i?"large":i;return(0,o.jsxs)(h,{size:l,children:[t?(0,o.jsx)(a(),{src:t,alt:"Project Image",height:"large"===l?64:48,width:"large"===l?64:48,style:{borderRadius:"".concat("large"===l?"8px":"6px")}}):(0,o.jsx)(s.L,{projectName:e,fontSize:30}),r&&(0,o.jsx)(p,{})]})}},54025:function(n,e,t){t.d(e,{l:function(){return s}});var r=t(26042),o=t(69396),i=t(85893),a=(t(67294),t(92958)),l=t(93866),s=((0,a.default)(l.F).withConfig({displayName:"ShimmerBadge__ShimmerBadgeWrapper",componentId:"sc-a09b967c-0"})((function(n){var e=n.theme;return"\n  ".concat(e.mediaQueries.phone,"{\n    svg {\n      height: 48px;\n      width: 48px;\n    }\n  }\n")})),function(n){return(0,i.jsxs)("svg",(0,o.Z)((0,r.Z)({width:"62",height:"64",viewBox:"0 0 62 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),{children:[(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{id:"myGradient",gradientTransform:"rotate(45)",children:[(0,i.jsx)("stop",{offset:"0%",stopColor:"#C99E54",children:(0,i.jsx)("animate",{attributeName:"stop-color",values:"#C99E54; #E9DBB9; #C99E54; #C99E54",dur:"3s",repeatCount:"indefinite"})}),(0,i.jsx)("stop",{offset:"50%",stopColor:"#C99E54",children:(0,i.jsx)("animate",{attributeName:"stop-color",values:"#C99E54; #C99E54; #E9DBB9; #C99E54",dur:"3s",repeatCount:"indefinite"})}),(0,i.jsx)("stop",{offset:"100%",stopColor:"#C99E54",children:(0,i.jsx)("animate",{attributeName:"stop-color",values:"#C99E54; #C99E54; #C99E54; #E9DBB9; #C99E54",dur:"3s",repeatCount:"indefinite"})})]})}),(0,i.jsx)("path",{d:"M36.2165 3.7961C33.0054 1.87051 28.9946 1.87052 25.7835 3.7961L23.6912 5.05082C22.8939 5.52889 21.9986 5.8198 21.0726 5.90164L18.6424 6.11641C14.9127 6.44601 11.668 8.80346 10.202 12.2487L9.2467 14.4937C8.88273 15.349 8.32939 16.1107 7.62836 16.7211L5.78846 18.3234C2.96485 20.7823 1.72546 24.5967 2.56452 28.2457L3.11126 30.6234C3.31957 31.5293 3.31957 32.4707 3.11126 33.3766L2.56452 35.7543C1.72546 39.4033 2.96485 43.2177 5.78847 45.6766L7.62836 47.2789C8.32939 47.8893 8.88273 48.651 9.2467 49.5063L10.202 51.7513C11.668 55.1965 14.9127 57.554 18.6424 57.8836L21.0726 58.0984C21.9986 58.1802 22.8939 58.4711 23.6912 58.9492L25.7835 60.2039C28.9946 62.1295 33.0054 62.1295 36.2165 60.2039L38.3088 58.9492C39.1061 58.4711 40.0014 58.1802 40.9274 58.0984L43.3576 57.8836C47.0873 57.554 50.332 55.1965 51.798 51.7513L52.7533 49.5063C53.1173 48.651 53.6706 47.8893 54.3716 47.2789L56.2115 45.6766C59.0351 43.2177 60.2745 39.4033 59.4355 35.7543L58.8887 33.3766C58.6804 32.4707 58.6804 31.5293 58.8887 30.6234L59.4355 28.2457C60.2745 24.5967 59.0351 20.7823 56.2115 18.3234L54.3716 16.7211C53.6706 16.1107 53.1173 15.349 52.7533 14.4937L51.798 12.2487C50.332 8.80346 47.0873 6.44601 43.3576 6.11641L40.9274 5.90164C40.0014 5.8198 39.1061 5.52889 38.3088 5.05082L36.2165 3.7961Z",fill:"url('#myGradient')",stroke:"#E9DBB9",strokeWidth:"4"}),(0,i.jsx)("path",{d:"M39.8935 20H21.4142L27.4142 26H34.3935L39.8935 20Z",fill:"white"}),(0,i.jsx)("path",{d:"M34.5364 28.8039C36.3526 29.5608 37.9106 30.8131 39.0417 32.3921L44.1945 26.8642C44.7121 26.3088 45 25.5778 45 24.8186V23C45 21.5342 43.9487 20.3139 42.5589 20.052L34.5364 28.8039Z",fill:"white"}),(0,i.jsx)("path",{d:"M17 23C17 21.7603 17.752 20.6962 18.8247 20.239L27.1362 28.5504C25.271 29.1808 23.6407 30.3209 22.411 31.8049L17.8055 26.8642C17.2879 26.3088 17 25.5778 17 24.8186V23Z",fill:"white"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.5 47C35.1944 47 39 43.1944 39 38.5C39 33.8056 35.1944 30 30.5 30C25.8056 30 22 33.8056 22 38.5C22 43.1944 25.8056 47 30.5 47ZM31.6242 36.6378C31.7277 36.973 32.0376 37.2016 32.3885 37.2016H33.635C34.4002 37.2016 34.7287 38.1728 34.1206 38.6374L33.0443 39.4596C32.7778 39.6631 32.6666 40.0112 32.7656 40.3315L33.1602 41.6087C33.3902 42.3528 32.5292 42.9534 31.9102 42.4806L30.9857 41.7743C30.6989 41.5552 30.3011 41.5552 30.0143 41.7743L29.0898 42.4806C28.4708 42.9534 27.6098 42.3528 27.8398 41.6087L28.2344 40.3315C28.3334 40.0112 28.2222 39.6631 27.9557 39.4596L26.8794 38.6373C26.2713 38.1728 26.5998 37.2016 27.365 37.2016H28.6115C28.9624 37.2016 29.2723 36.973 29.3758 36.6378L29.7357 35.4734C29.968 34.7217 31.032 34.7217 31.2643 35.4734L31.6242 36.6378Z",fill:"white"})]}))})}}]);