PageSourceSearch

https://hack2skill.com/assets/index-0b03f868.js

js hack2skill.com collected 2026-10-01 14:43:42 UTC 94,916 bytes, 18 lines download raw bytes

1import{i as e,a9 as Je,j as s,c3 as Ve,c4 as De,F as R,k as ee,ag as Ke,I as A,$ as G,B as Y,c5 as Qe,b3 as $,aa as Xe,ao as Ze,c6 as Pe,aw as ne,a0 as et,a1 as tt,z as Q,c7 as it,c8 as at,c2 as ye,c1 as Re,w as nt,c9 as Le,aL as st,M as ke,ca as rt,cb as ot,cc as lt,cd as se,ce as ct,ay as dt,E as ht,n as mt,cf as ut}from"./index-81971edb.js";import{b as Ge,r as S}from"./vendor-4adab861.js";import{S as Ce}from"./index-695c340e.js";import{b as j,u as pt,a as Ie,L as X}from"./router-805badc2.js";import{P as gt}from"./pillsV1-1795495f.js";import{a as ft,u as He}from"./redux-cd3a9116.js";import{s as vt,g as be}from"./getColorShades-557041e2.js";import{A as _e}from"./index-a96498bb.js";const T={EVENT_DETAILS_FONT:"FONT",EVENT_DETAILS_BACKGROUND:"BACKGROUND",EVENT_DETAILS_THEME:"THEME",EVENT_SECTION_EVENT_SETTINGS:"EVENT_SETTINGS",EVENT_SECTION_MANAGE_SECTIONS:"MANAGE_SECTIONS",EVENT_SECTION_CONTACT_US:"CONTACT_US",EVENT_SECTION_OVERVIEW:"OVERVIEW",EVENT_SECTION_ABOUT:"ABOUT",EVENT_SECTION_CHALLANGES:"CHALLANGES",EVENT_SECTION_JURY:"JURY",EVENT_SECTION_STEPS:"STEPS",EVENT_SECTION_TIMELINE:"TIMELINE",EVENT_SECTION_PRIZES:"PRIZES",EVENT_SECTION_PARTNERS:"PARTNERS",EVENT_SECTION_FAQS:"FAQS",EVENT_SECTION_LOCATION:"LOCATION",EVENT_SECTION_JOIN_US:"JOIN_US",EVENT_SECTION_CUSTOM:"CUSTOM",EVENT_SECTION_REGISTRATION_ACKNOWLEDGEMENT:"ACKNOWLEDGEMENT"},Z={EVENT_CONTACT_US_EMAIL:"EMAIL_PHONE",EVENT_CONTACT_US_SOCIAL_MEDIA:"SOCIAL_MEDIA",EVENT_OVERVIEW_BANNER:"BANNER",EVENT_OVERVIEW_HASHTAG:"HASHTAG",EVENT_OVERVIEW_TITLE:"TITLE",EVENT_OVERVIEW_TAGS:"TAGS",EVENT_OVERVIEW_ELIGIBILTY:"ELIGIBILTY",EVENT_OVERVIEW_NOTICE_TEXT:"NOTICE_TEXT",EVENT_OVERVIEW_CTA:"CTA",EVENT_OVERVIEW_QUICK_LINKS:"QUICK_LINKS",EVENT_OVERVIEW_COMMUNITY_LOGO:"COMMUNITY_LOGO",EVENT_SECTION_DEFAULT:"",EVENT_SECTION_CUSTOM:"CUSTOM"},he=[{headingColor:"#ED1C24",isHiddenBottomBar:!0,eventId:"kotakbizlabs-blr",isHiddenTnC:!0,isHiddenBgSVG:!1,isHiddenTicketType:!1,isFullBannerView:!1},{headingColor:"#051846",isHiddenBottomBar:!0,eventId:"metlifehack4job2025",isHiddenBgSVG:!0,isHiddenTnC:!0,isHiddenTicketType:!0,isFullBannerView:!0},{headingColor:"#051846",isHiddenBottomBar:!0,eventId:"metlifehack4job",isHiddenBgSVG:!0,isHiddenTnC:!0,isHiddenTicketType:!0,isFullBannerView:!0},{eventId:"isro-prayog-hack2025",isMonthTimeline:!0},{eventId:"intelaihackathon",isHiddenTicketType:!0,isHiddenTnC:!0},{eventId:"intelaihtexpeditionackathon",isHiddenTicketType:!0},{eventId:"texpedition",isHiddenTicketType:!0,isFullBannerView:!0},{eventId:"equitech2025",isFullBannerView:!0},{eventId:"samsung-digithon-2025",isFullBannerView:!0,isHiddenTicketType:!0,isHiddenBgSVG:!0,isHiddenTimerLeft:!0},{eventId:"imobilothon-5",isHiddenBgSVG:!0},{eventId:"codeforcommunities",isFullBannerView:!0,isHiddenBgSVG:!0},{eventId:"codeforcommunities2",isFullBannerView:!0,isHiddenBgSVG:!0}],xt=[{_id:"About",title:"ABOUT",active:!0},{_id:"challenges",title:"Challenges"},{_id:"steps-to-follow",title:"Steps to follow"},{_id:"jury",title:"Jury"},{_id:"mentor",title:"Mentor"},{_id:"schedule",title:"Schedule"},{_id:"prizes",title:"Prizes"},{_id:"partners",title:"Partners"},{_id:"faqs",title:"Faq"},{_id:"join-us",title:"Join us"},{_id:"recommended-events",title:"recommended initiatives"}];function we(t,i){if(!t||!i||!Array.isArray(i))return[];const n=i.find(c=>c?.type===t);if(!n||!Array.isArray(n?.category))return[];const r=n.category.filter(c=>!c?.isHidden&&!c?.isDeleted);return r.length===0?[]:n.isCategoryEdited?r:[r?.[0]]}function yt(t=[]){return!t||!Array.isArray(t)?[]:t.map(i=>({title:i?.title,content:e("div",{dangerouslySetInnerHTML:{__html:i?.description}})}))}const de={MOBILE:780,TABLET:1080,DESKTOP:1440},ce={maxWidth:1200,aspectRatio:"3/1",blurAmount:"16px",brightness:.5},bt=t=>t>de.DESKTOP?800:t<de.TABLET?1300:t<de.MOBILE?1e3:1700,wt={infinite:!0,slidesToShow:1,slidesToScroll:1,arrows:!1,dots:!1,autoplay:!0,fade:!0,speed:1e3,autoplaySpeed:3e3,responsive:[{breakpoint:1025,settings:{slidesToShow:1}},{breakpoint:768,settings:{slidesToShow:1}},{breakpoint:640,settings:{slidesToShow:1}},{breakpoint:480,settings:{slidesToShow:1}},{breakpoint:426,settings:{slidesToShow:1}}]},Et=({imageUrl:t=[],useAsComponent:i,eventData:n})=>{const r=Je(),{id:c}=j(),a=j(),d=S.useMemo(()=>bt(r),[r]),g=r>=de.TABLET?{aspectRatio:ce.aspectRatio}:void 0,N=he?.find(y=>y?.eventId?.toLowerCase()===c?.toLowerCase()||y?.eventId?.toLowerCase()===a?.eventId?.toLowerCase()),l=N?N?.isHiddenBgSVG:"",b=N?N?.isFullBannerView:"",x=S.useMemo(()=>{const y=r<de.MOBILE?1.3:2;return`0 0 1440 ${d/y}`},[r,d]),h=()=>s("div",{className:`absolute top-0 max-lg:hidden xl:w-full  ${i?"":"-z-[1]"}`,children:[e("svg",{className:"w-full",style:{height:`${d/2+20}
1px`},xmlns:"http://www.w3.org/2000/svg",viewBox:x,fill:"none",children:e("path",{className:"animate-wave",d:"M1521.31 -102.047C1556.63 -169.559 1451.75 -243.522 1292.21 -189.037C1132.67 -134.552 990.67 -147.713 792.588 -202.946C440.163 -301.237 290.492 -271.972 67.804 -190.187C2.423 -166.731 -132.058 -99.8707 -147.186 -20.099C-166.042 79.592 150.334 69.9201 -4.71201 198.963C-159.757 328.005 -121.278 519.277 687.628 300.168C791.215 272.11 961.58 259.304 1111.68 348.863C1261.78 438.422 1401.16 411.353 1454.55 345.384C1568.96 203.989 1461.92 11.379 1521.31 -102.047Z",fill:"var(--h2sEventPage-50)",style:{transform:"translate3d(0, 0, 0)",animation:"wave 3s ease-in-out infinite alternate"}})}),e("style",{children:`
2        @keyframes wave {
3          0% {
4            transform: translate3d(20, 0, 40) scale(1) rotate(0deg);
5          }
6          50% {
7            transform: translate3d(-15px, 15px, 0) scale(1.02) rotate(1deg) );
8          }
9          100% {
10            transform: translate3d(15px, -15px, 0) scale(0.98) rotate(-1deg);
11          }
12        }
13      `})]}),v=n?.sections?.find(y=>y?.type===T?.EVENT_SECTION_OVERVIEW)?.category?.find(y=>y?.type===Z?.EVENT_OVERVIEW_COMMUNITY_LOGO)?.data?.[0]?.image,o=n?.type==="PROMPT_WARS",f=o&&n?.title||"",k=o?v:"",H=()=>{const y=t?.filter(L=>L?.isHidden===!1);if(y?.length>1)return e("div",{className:"relative w-full h-full max-w-screen-1200  top-6  max-lg:top-0 max-lg:rounded-none rounded-2xl mx-auto overflow-hidden",children:e(Ce,{...wt,children:y?.map((L,w)=>s("div",{className:"relative w-full h-full md:min-h-[260px] max-w-screen-1200  top-6  max-lg:top-0 max-lg:rounded-none rounded-2xl mx-auto overflow-hidden",style:g,children:[e("div",{className:"absolute w-full inset-0 bg-cover rounded-2xl",style:{filter:`blur(${ce.blurAmount}) brightness(${ce.brightness})`,backgroundImage:`url('${L?.value}')`}}),e("div",{className:"relative max-w-[1080px]  md:min-h-[260px] max-lg:px-[1rem] mx-auto z-10 w-full h-full flex items-center justify-center",children:e("img",{src:L?.value,alt:"Event banner",className:"h-full mx-auto ",style:g,loading:"eager"})})]},L+w+Math.random()))})});const P=f.split(" x "),D=P[0],B=P.slice(1).join(" x ");return s("div",{className:"relative w-full max-h-[360px] h-full max-w-screen-xl top-6 max-lg:top-0 max-lg:rounded-none rounded-2xl mx-auto overflow-hidden",style:g,children:[e("div",{className:"absolute inset-0 bg-cover rounded-2xl",style:{filter:`blur(${ce.blurAmount}) brightness(${ce.brightness})`,backgroundImage:`url('${y?.[0]?.value}')`}}),e("div",{className:`${b?"max-w-full px-0":"max-w-[1080px] max-lg:px-[1rem]  h-full"} relative mx-auto w-full flex items-center justify-center
14          `,children:s("div",{className:"relative h-full inline-flex",style:g,children:[e("img",{src:y?.[0]?.value,alt:"Event banner",className:"h-full w-auto",style:{...g,zIndex:100},loading:"eager"}),f&&s("div",{className:"absolute left-[5.5%] top-[31%] sm:top-[33%] flex items-center gap-[0.3em] font-openSans",style:{zIndex:102},children:[e("span",{className:"text-white leading-none drop-shadow-md font-bold",style:{fontSize:"clamp(0.4rem, 6vw, 4rem)"},children:D}),B&&s(R,{children:[e("span",{className:"text-white font-medium leading-none drop-shadow-md mx-[0.2rem] lg:mx-[1rem]",style:{fontSize:"clamp(0.5rem, 6.5vw, 4rem)"},children:"x"}),e("span",{className:"text-white leading-none drop-shadow-md font-medium mt-1 max-w-[450px] lg:max-w-[500px]",style:{fontSize:"clamp(0.5rem, 3.7vw, 2.3rem)"},children:B})]})]}),k&&e("div",{className:"absolute bottom-[7%] right-[0%] w-[30%] min-w-[60px] max-w-[283px] max-h-[91px]",style:{zIndex:101,clipPath:"inset(0 0 0 0 round 9999px 0 0 9999px)"},children:e("img",{src:k,alt:"Community logo",className:"w-full h-auto object-contain pointer-events-none"})})]})})]})};return s("div",{className:"bannerImageContainer",children:[e("div",{className:"relative ",children:l?null:e(h,{})}),n?.sections?.find(y=>y?.type===T?.EVENT_SECTION_CONTACT_US)?.category?.[0]?.data?.length>0&&e("div",{className:"w-full max-w-screen-1200 mx-auto -mb-4  max-lg:hidden py-2 px-4  rounded-lg",children:e("div",{className:"flex gap-2 mt-1",children:n?.sections?.find(y=>
14y?.type===T?.EVENT_SECTION_CONTACT_US)?.category?.[0]?.data?.filter(y=>!y.isHidden&&!y.isDeleted&&y.value)?.map((y,P)=>e("div",{className:"text-body2v1 text-black cursor-default flex ",children:y?.icon==="PHONE"?s("p",{className:"text-title2v1 flex gap-2 items-center",children:[e(Ve,{fontSize:"14"}),"+"+y?.value," "]}):s("p",{className:"text-title2v1 text-black flex gap-2 items-center",children:[e(De,{fontSize:"14"}),y?.value," "]})},`${P}-${y?.link}-${Math.random()}`))})}),e(H,{})]})},Nt=Ge.memo(Et),Tt={Impressions:"impressions","Team Size":"teamSize","Ticketing Type":"ticket",Mode:"mode",Registrations:"registrations","Finale Mode":"finale",Age:"age",Technology:"technology",Region:"region"},St=({t,tagsFieldsWithSequence:i=[],tagsValues:n})=>{const r={};return i?.forEach(c=>{const a=Tt?.[c?.title],d=n?.[a]?.isHidden,u=kt({t})?.[a];!d&&u&&(r[a]=u)}),r},kt=({t})=>({mode:{icon:"wpf:online",text:i=>t(i?.value?.replace(/_/g," ").capitalizeString())},ticket:{icon:"mingcute:ticket-fill",text:i=>t(i?.value?.replace(/_/g," ").capitalizeString())},teamSize:{icon:"fluent:people-16-filled",text:i=>`Team Size: ${i?.min===1&&i?.max===1?"Solo":i?.min===i?.max?`${i?.min}`:`${i?.min}-${i?.max}`}`},impressions:{icon:"gridicons:line-graph",text:i=>`Impressions: ${i?.value??"0"}`},registrations:{icon:"material-symbols:app-registration",text:i=>`Registrations: ${i?.value??"0"}`},age:{icon:"fluent:person-add-24-filled",text:i=>`Age: ${i?.min}-${i?.max}`},finale:{icon:"ic:round-event",text:i=>`Finale : ${t(i?.value?.replace(/_/g," ").capitalizeString())}`},technology:{icon:"basil:stack-solid",text:i=>i&&Array.isArray(i)?i?.join(", "):"-"},region:{icon:"majesticons:map-marker-area-line",text:i=>i&&Array.isArray(i)?i?.join(", "):"-"}});function Ct({eventData:t}){const i=ee();function n(){return t?(t?.sections?.length>0?t?.sections?.find(a=>a?.type===T?.EVENT_SECTION_OVERVIEW)?.category?.find(a=>a?.type===Z?.EVENT_OVERVIEW_HASHTAG):[])?.data?.[0]?.tags||[]:void 0}return{tagsData:S.useMemo(()=>{const c=t?.sections?.find(d=>d?.type==="OVERVIEW")?.category?.find(d=>d?.type==="TAGS")?.data;return St({t:i,tagsFieldsWithSequence:c,tagsValues:t?.tags})},[t]),getHashTagsData:n}}function It({eventData:t={},registerationStatus:i,handleShare:n}){const r=ee(),{id:c}=j(),{tagsData:a,getHashTagsData:d}=Ct({eventData:t});function u(b){const x=G(b??null),h=G();return!!(x.isValid()&&x.isBefore(h))}const g=u(t?.registrationStart)||t?.isRegistrationOverride,l=(()=>{const b=i?.registrationOverride||t?.isRegistrationOverride;if(!b&&!i?.isRegistrationOpen)return{text:i?.regButtonText||r("cRegister"),onClick:i?.handleGetNotify,to:"#",disabled:!1};if(!b&&!i?.isDashboardEnabled&&i?.isUserRegistered)return{text:r("cAlreadyRegistered"),onClick:i?.handleEventRegisterTrack,to:"#",disabled:!1,className:"!cursor-not-allowed"};const x=i?.isUserRegistered,h=i?.isRegistrationClosed,v=i?.useAsComponent;let o;x?o=r(c==="ai-for-good"?"cDashboard":"cTeamDashboard"):!b&&h?o=r("cRegistrationClosed"):o=i?.regButtonText||r("cRegisterNow");let f="#";return v||(x?t?.type===Qe?f=`/event/${c}/dashboard/submissions`:f=`/event/${c}/dashboard/roadmap`:(b||i?.isRegistrationOpen&&!h)&&(f=i?.regLink||i?.validateUser())),{text:o,onClick:i?.handleEventRegisterTrack,to:f,disabled:!x&&!b&&h}})();return e(R,{children:s("div",{className:"flex justify-between max-md:flex-col gap-4",children:[s("div",{className:"flex gap-4 max-w-[900px]  max-md:flex-col max-md:max-w-full",children:[s("div",{className:"max-md:flex max-md:w-full justify-between",children:[e("div",{className:"shadow-soft-sm max-lg:shadow-none max-lg:border rounded-lg w-fit  p-2",children:e("img",{className:"min-w-44 w-44 max-md:min-w-20 max-md:w-20 aspect-square object-contain",src:t?.logo?t?.logo:Ke})}),e("div",{className:"flex flex-col  justify-center md:hidden gap-3",children:e("div",{className:"flex justify-end gap-4",children:e("div",{onClick:()=>n(),className:"cursor-pointer",children:e(A,{className:"text-h2sGrey-700 ",width:24,height:24,icon:"fluent:copy-16-regular"})})})})]}),s("div",{className:"flex flex-col gap-3  overflow-hidden",children:[e("div",{className:"flex flex-wrap gap-3",children:d()?.map((b,x)=>e(gt,{bgClass:"text-h2sEventPage-900 !text-subtitle3v1",borderClass:"!px-0 !py-0",title:`#${b}`},x+b+Math.random()))}),e("div",{className:"max-w-[600px] w-full",children:e("p",{className:"text-h2 ellipsis-two-lines text-h2sGrey-900 -mt-1  max-md:text-h4 !font-bold",children:t?.title??" -"})}),e("div",{className:"flex flex-wrap gap-3 mt-1",children:t?.tags&&e(R,{children:Object.entries(a)?.map(([b,x],h)=>{const{icon:v,text:o}=x??{},f=t?.tags[b],k=f?.value!==void 0||b==="teamSize"||b==="age";if(!f?.isHidden&&f&&k){const H=typeof o=="function"?o(f):o;return s("div",{className:"flex justify-center text-h2sGrey-600 items-center gap-3 bg-white border border-h2sGrey-100 !text-subtitle3v1 px-4 py-1 w-fit roun
14ded-lg",children:[e(A,{icon:v}),e("p",{children:H})]},h)}return null})})})]})]}),s("div",{className:"flex flex-col  items-end gap-4 max-md:hidden ",children:[e("div",{className:"flex justify-end gap-4 mt-4",children:e("div",{onClick:()=>n(),className:"cursor-pointer flex-1",children:e(A,{className:"text-h2sGrey-700 ",width:24,height:24,icon:"fluent:copy-16-regular"})})}),s("div",{className:"flex gap-4 border border-h2sEventPage-900 rounded-lg p-3 ",children:[e("div",{className:"w-10 h-10 rounded-lg p-2 flex justify-center items-center",children:e(A,{className:"text-h2sEventPage-900",fontSize:20,icon:"solar:calendar-linear"})}),s("div",{children:[e("p",{className:"text-subtitle3v1 text-h2sGrey-600 uppercase",children:g?c?.id=="isro-prayog-hack2025"?"Last Date for Submission":r("cLastDatetoRegister"):r("cRegistrationStartsOn")}),e("p",{className:"text-subtitle2v1 text-h2sGrey-900 font-semibold",children:G(new Date(g?t?.registrationEnd:t?.registrationStart??"-"))?.format("ddd DD MMM YYYY")})]})]}),e("div",{className:"flex flex-col gap-4 mt-1 w-full ",children:e(Y,{color:l.disabled?"disabled":"primary",disabled:l.disabled,onClick:l.onClick,to:l.to,customClass:`!text-captionv1 !text-nowrap text-center !px-14 !bg-h2sEventPage-900 !border-h2sEventPage-900 hover:scale-[1.01] !transition-scale !delay-200  ease-in-out !text-xs ${l?.className}`,children:l.text})})]})]})})}const _t=[{_id:"6617b2514f16c16bf5723e39",title:"ABOUT",active:!0},{_id:"challenges",title:"Challenges"},{_id:"steps-to-follow",title:"Steps to follow"},{_id:"jury",title:"Jury"},{_id:"mentor",title:"Mentor"},{_id:"schedule",title:"Schedule"},{_id:"prizes",title:"Prizes"},{_id:"partners",title:"Partners"},{_id:"faqs",title:"FAQs"},{_id:"join-us",title:"Join us"},{_id:"recommended-events",title:"recommended initiatives"}],Ot=({data:t=_t,useAsComponent:i})=>{const[n,r]=S.useState(new URLSearchParams(window.location.search)),c=n.get("sectionid"),[a,d]=S.useState(c||"About"),[u,g]=S.useState(!1),[N]=S.useState(!1),[l,b]=S.useState(!1),[x,h]=S.useState(!1),v=S.useRef(null),o=S.useRef({}),f=j(),k=f?.id||f?.eventId||"",H=t?.filter(w=>w?.isEditable&&!w.isHidden),y=()=>{const w=v.current;if(w){const{scrollLeft:_,scrollWidth:C,clientWidth:z}=w;b(_>0),h(_<C-z-1)}},P=()=>{const w=v.current;w&&(g(!0),w.scrollBy({left:-200,behavior:"smooth"}),setTimeout(()=>g(!1),500))},D=()=>{const w=v.current;w&&(g(!0),w.scrollBy({left:200,behavior:"smooth"}),setTimeout(()=>g(!1),500))},B=w=>{const _=document.getElementById(w);if(_){g(!0),_.scrollIntoView({behavior:"smooth",block:"center"}),d(w);const C=new URL(window.location.href);C.searchParams.set("sectionid",w),window.history.replaceState({},"",C),L(w),setTimeout(()=>g(!1),800)}};S.useEffect(()=>{setTimeout(()=>{c&&B(c)},1e3)},[c]),S.useEffect(()=>{const w=()=>{r(new URLSearchParams(window.location.search))};return window.addEventListener("popstate",w),()=>{window.removeEventListener("popstate",w)}},[]),S.useEffect(()=>{const w=v.current;if(w){y();const _=()=>{y()},C=()=>{setTimeout(y,100)};return w.addEventListener("scroll",_),window.addEventListener("resize",C),()=>{w.removeEventListener("scroll",_),window.removeEventListener("resize",C)}}},[H]);const L=w=>{const _=o.current[w],C=v.current;if(_&&C){const z=C.getBoundingClientRect(),U=_.getBoundingClientRect(),re=_.offsetLeft-z.width/2+U.width/2;C.scrollTo({left:re,behavior:"smooth"})}};return S.useEffect(()=>{const w=new IntersectionObserver(_=>{_.forEach(C=>{if(C.isIntersecting&&!u&&C.target.id!==a){d(C.target.id);const z=C.target.id,U=new URL(window.location.href);U.searchParams.set("sectionid",z),window.history.replaceState({},"",U),L(C.target.id)}})},{rootMargin:"-50% 0px -50% 0px",threshold:0});return H.forEach(_=>{const C=document.getElementById(_._id);C&&w.observe(C)}),()=>{w.disconnect()}},[H,u]),e(R,{children:e("div",{className:`max-w-screen-1200 mx-auto text-h2sGrey-600 py-4 w-full z-[2] transition-all ${i?"":"sticky top-[0rem]"} ${N?"border-t border-[var(--event-secondary-color)]":""}`,id:"secondaryNavbar",children:s("div",{className:"flex items-center w-full",children:[l&&e("button",{onClick:P,disabled:!l,className:`flex-shrink-0 mr-2 p-1.5 bg-white shadow-sm rounded-full transition-all duration-200 ${l?"text-h2sEventPage-900 border-h2sEventPage-900 hover:bg-gray-100 cursor-pointer":"text-gray-300 cursor-not-allowed"}`,"aria-label":"Scroll left",children:e(A,{icon:"ep:arrow-up-bold",className:"-rotate-90",fontSize:14})}),e("div",{ref:v,className:"max-w-fit flex text items-center overflow-x-scroll gap-6 flex-1 secondaryNavDiv scroll-smooth",children:H?.map((w,_)=>e(Ge.Fragment,{children:k==="metlifehack4job"||k==="metlifehack4job2025"&&(w?.title?.includes("Employer of Choice")||w?.title?.includes("."))?e(R,{}):e("button",{ref:C=>o.current[w._id]=C,onClick:()=>B(w?._id),className:`transition-colors max-w-[170px] max-sm:max-w-[120px] flex-shrink-0 ease-linear duration-300 truncate whitespace-nowrap ${a===w?._id?"text-h2sEventPage-900 font-bold":"text-h2sGrey-600 font-medium"}`,children:k==="metlifehack4job"&&k==="metlifehack4job2025"&&w?.title?.includes("Employer of Choice")||w?.title?.includes(".")?"":w?.title??"-"})},_+Math.random()))}),x&&e("button",{onClick:D,disabled:!x,className:`flex-shrink-0 ml-2 p-1.5 bg-white shadow-sm rounded-full transition-all duration-200 ${x?"text-h2sEventPage-900 border-h2sEventPage-900 hover:bg-gray-100 cursor-pointer":"text-gray-300 cursor-not-allowed"}`,"aria-label":"Scroll right",children:e(A,{icon:"ep:arrow-up-bold",className:"rotate-90",fontSize:14})})]})})})};function Pt(t){switch(t){case"SUCCESS":return"bg-h2sSuccess-50";case"WARNING":return"bg-h2sWarning-50";case"DANGER":return"bg-h2sError-50";case"INFO":return"bg-h2sActive-50";default:return"bg-h2sActive-50"}}function Rt(t){switch(t){case"SUCCESS":return" border-h2sSuccess-600";case"WARNING":return"border-h2sWarning-600";case"DANGER":return"border-h2sError-600";case"INFO":return"border-h2sActive-600";default:return"border-h2sActive-600"}}function Ht({heading:t,description:i,status:n,t:r}){return s("div",{className:`${Pt(n)} rounded-lg p-4  mt-6 `,children:[e("div",{children:e("p",{className:`border-l-2 ${Rt(n)} pl-3 text-title1v1`,children:t||"-"})}),e("div",{className:'"pl-4 mt-2 text-body2v1 text-h2sGrey-600',dangerouslySetInnerHTML:{__html:i||r("cThisIsaSampleNoticeText")}})]})}async function Mt(t){try{return(await $.get(`/event/${t}/admin/live-edit/event`)).data}catch{return null}}async function hi(t,i){try{return(await $.post(`/event/${t}/admin/live-edit/section/list`,i)).data}catch{return null}}async function mi(t){try{return(await $.get(`/event/${t}/admin/live-edit/settings`)).data}catch{return null}}async function ui(t,i){try{return(await $.post(`/event/${t}/admin/live-edit/settings`,i)).data}catch{return null}}async function pi(t,i){try{return(await $.get(`/event/${t}/admin/live-edit/section?section=${i}`)).data}catch{return null}}async function gi(t,i){try{return(await $.post(`/event/${t}/admin/live-edit/section-category`,i)).data}catch{return null}}async function fi(t,i){try{return(await $.post(`/event/${t}/admin/live-edit/section-category/list`,i)).data}catch{return null}}async function vi(t,i,n){try{return(await $.post(`/event/${t}/admin/live-edit/${i}`,n)).data}catch{return null}}async function xi(t,i){try{return(await $.post(`/event/${t}/admin/live-edit/status`,i)).data}catch{return null}}async function yi(t,i){try{return(await $.delete(`/event/${t}/admin/live-edit/section`,{data:i})).data}catch{return null}}async function bi(t,i){try{return(await $.delete(`/event/${t}/admin/live-edit/section-category`,{data:i})).data}catch{return null}}async function wi(t){try{return(await $.get(`/event/${t}/admin/setup-checklist/live-edit`)).data}catch{return null}}const At="bitsom-pitchfest2026",Ee="GTM-WKMVCCJ",Vt=({useAsComponent:t=!1,componentType:i=!1,eventData:n,isPublic:r,eventId:c})=>{const{id:a}=j(),d=pt(),u=Ie(),g=ft(),{t:N}=Xe(),[l,b]=S.useState(n),[x,h]=S.useState({}),{accessToken:v}=He(m=>m.user)||"",{isGetNotify:o}=He(m=>m?.eventDetail)||"",[f,k]=S.useState(!1),H=G(new Date)>G(new Date(l?.registrationEnd)),y=G(new Date)>G(new Date(l?.registrationStart)),P=x?.status==="VERIFIED",D=l?.sections?l?.sections[1]:{},B=D?.category?.[6]?.data?.[0],L=D?.category?.[6]?.data?.[0]?.link,w=D?.category?.[6]?.data?.[0]?.title,_=V(l),C=l?.isRegistrationOverride,z=l?.isDashboardEnabled,[U,re]=S.useState(!1),[me,te]=S.useState(!1),ge=l?.sections?.find(m=>m?.type===T?.EVENT_SECTION_OVERVIEW)?.category?.find(m=>
14m?.type===Z?.EVENT_OVERVIEW_QUICK_LINKS)?.data?.filter(m=>!m?.isHidden&&!m?.isDeleted),ie=we(T.EVENT_SECTION_CHALLANGES,l?.sections),fe=we(T.EVENT_SECTION_PRIZES,l?.sections),ue=we(T.EVENT_SECTION_PARTNERS,l?.sections),ve=l?.sections?.find(m=>m?.type===T?.EVENT_SECTION_OVERVIEW)?.category?.find(m=>m?.type===Z?.EVENT_OVERVIEW_ELIGIBILTY)?.data?.filter(m=>!m?.isHidden&&!m?.isDeleted);function xe(){if(!l)return;const m=l?.sections?.length>0?l?.sections?.find(I=>I?.type===T?.EVENT_SECTION_OVERVIEW)?.category?.find(I=>I?.type===Z?.EVENT_OVERVIEW_BANNER):{DESKTOP:[],MOBILE:[]};return{DESKTOP:m?.data?.find(I=>I?.title==="DESKTOP")?.content||[],MOBILE:m?.data?.find(I=>I?.title==="MOBILE")?.content}}function pe(){if(!l)return;const m=l?.sections?.length>0?l?.sections?.find(I=>I?.type===T?.EVENT_SECTION_OVERVIEW)?.category?.find(I=>I?.type===Z?.EVENT_OVERVIEW_NOTICE_TEXT):[];return{theme:m?.data?.[0]?.theme,isHidden:!!(m?.data?.[0]?.isHidden||m?.data?.length==0),description:m?.data?.[0]?.description}}const Oe=async()=>{if(g(ne(!0)),t){const m=await be(n.theme?.pallet?.[0]?.color,3)||{};await document.documentElement.style.setProperty("--h2sEventPage-50",m[2]),await document.documentElement.style.setProperty("--h2sEventPage-900",n.theme?.pallet?.[0]?.color),g(ne(!1)),b(n)}if(!t)if(r){const m=await et(a);if(m?.success===!0){const I=await be(m.data?.theme?.pallet?.[0]?.color,3)||{};await document.documentElement.style.setProperty("--h2sEventPage-50",I[2]),await document.documentElement.style.setProperty("--h2sEventPage-900",m.data?.theme?.pallet?.[0]?.color),g(ne(!1)),b(m?.data)}else te(!0),g(ne(!1))}else{const m=await Mt(a);if(m?.success===!0){const I=await be(m.data?.theme?.pallet?.[0]?.color,3)||{};await document.documentElement.style.setProperty("--h2sEventPage-50",I[2]),await document.documentElement.style.setProperty("--h2sEventPage-900",m.data?.theme?.pallet?.[0]?.color),g(ne(!1)),b(m.data)}else te(!0),g(ne(!1))}};async function W(){if(!v)return;const m=await tt(a||c);h(m??{}),g(Pe(m?.isOrganizer))}S.useEffect(()=>{if(a==="ai-for-bharat"&&v&&localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),a==="india_runs"&&(localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),window.location.href=`${window.location.origin}/event/india_runs${u.search}`),a==="redrob-hackathon"&&(localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),window.location.href=`${window.location.origin}/event/redrob-hackathon${u.search}`),a==="cortexcodeclihack"&&(localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),window.location.href=`${window.location.origin}/event/cortexcodeclihack${u.search}`),a==="cococlihack"&&(localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),window.location.href=`${window.location.origin}/event/cococlihack${u.search}`),a==="cococlihack-gccedition"&&(localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),window.location.href=`${window.location.origin}/event/cococlihack-gccedition${u.search}`),a==="sampurna-food"&&(localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),window.location.href=`${window.location.origin}/event/sampurna-food${u.search}`),a==="googleplayxunity"&&(window.location="https://rsvp.withgoogle.com/events/googleplay-unity-in-2025"),a==="pwvirtual1"&&(window.location="https://promptwars.in/promptwarsVirtual.html"),a==="aibuildercup2026"&&(window.location="https://aibuildercup.com/"),a==="aiforfoundationallearning"){const m=u.search||"";window.location=`https://${window.location.hostname}/event/aiforfoundationallearning${m}`}if(a==="builderpopup"){const m=u.search||"";window.location=`https://${window.location.hostname}/event/builderpopup${m}`}if(a==="bah2026"){const m=u.search||"";window.location.replace(`https://hack2skill.com/event/bah2026/${m}`)}Oe(),W(),g(Ze(a||""))},[n]),S.useEffect(()=>(v||sessionStorage.setItem("userRegStatus",!0),()=>{vt()}),[]);function E(){return v?`/event/${a}/registration`:(sessionStorage.setItem("userRegStatus",!0),sessionStorage.setItem("eventId",a),localStorage.setItem("lastPath",`/event/${a}
14/registration`+u.search),a==="ai-for-bharat"&&!v?"#":"/login")}function V(m){if(!m||!m?.sections)return{};const I=m?.sections?.find(le=>le.type==="TIMELINE");return(I?I?.category?.[0]?.data?.find(le=>le?.type==="REGISTRATION"):{})??{}}async function J(){if(!t){if(!v){Q.error("Please login to like the event");return}await it(a),W()}}async function ae(){if(!t){if(!v){Q.error("Please login to bookmark the event");return}await at(a),W()}}function oe(){t||navigator.clipboard.writeText(window.location.origin+window.location.pathname).then(()=>{Q.success("URL copied to clipboard")}).catch(m=>{Q.error("Failed to copy URL: ",m)})}async function Ue(){t||(await localStorage.setItem("lastPath",`/event/${a}/`+u.search),k(!0))}async function We(){if(!v)g(ye(!0)),setTimeout(()=>{d("/login")},200);else if(x?.isInterested){Q.success("You have already been notified about this event"),k(!1);return}else(await Re(a))?.data?.success&&(setTimeout(()=>{g(ye(!1))},200),Q.success("You will be notified"),k(!1))}async function Fe(){if(!v)return;(await Re(a))?.data?.success&&(setTimeout(()=>{g(ye(!1))},200),Q.success("You will be notified"),k(!1))}function Ye(){re(!0)}async function qe(){if(x?.status==="VERIFIED")return;const m={event_name:D?.category?.[2]?.data?.[0]?.title,event_id:a,event_url:window.location.href,start_date:new Date(n?.registrationStart||l?.registrationStart)||"",end_date:new Date(n?.registrationEnd||l?.registrationEnd)||""};a==="ai-for-bharat"&&!v&&(await Ye(),sessionStorage.setItem("userRegStatus",!0),sessionStorage.setItem("eventId",a),localStorage.setItem("lastPath",`/event/${a}/registration`+u.search),window.location.href="https://hack2skill.com/api/v1/auth/aws-saml/login"),nt?.eventRegisterNow(m)}return S.useEffect(()=>{if(o&&v)Fe();else{k(!1);return}},[o]),S.useEffect(()=>()=>{g(Pe(!1))},[]),S.useEffect(()=>{if(a!==At)return;const m=document.createElement("script");m.id="bitsom-pitchfest-gtm",m.innerHTML=`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
15new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
16j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
17'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
18})(window,document,'script','dataLayer','${Ee}');`,document.head.appendChild(m);const I=document.createElement("noscript");I.id="bitsom-pitchfest-gtm-noscript";const K=document.createElement("iframe");return K.src=`https://www.googletagmanager.com/ns.html?id=${Ee}`,K.height=0,K.width=0,K.style.display="none",K.style.visibility="hidden",I.appendChild(K),document.body.insertBefore(I,document.body.firstChild),()=>{m.remove(),I.remove(),document.querySelectorAll(`script[src*="gtm.js?id=${Ee}"]`).forEach(le=>le.remove())}},[a]),S.useEffect(()=>{if(a?.toLowerCase()==="cloudailab"){const I=`/event/genaiexchange?tab=cloudAiLab&${window.location.search?window.location.search.slice(1):""}`;window.location.href=I,d(I),console.log("asdsad")}},[a,window.location]),{t:N,isAccessPrivatePage:me,setIsAccessPrivatePage:te,info:D,getNoticeText:pe,finalEventData:l,validateUser:E,registrationData:_,userEventDetails:x,id:a,getBannerImages:xe,handleEventRegisterTrack:qe,filteredChallengesCategoryData:ie,filteredPrizesCategoryData:fe,filteredPartnersData:ue,quickLinks:ge,eligibilityData:ve,accessToken:v,isRegistrationClosed:H,isRegistrationOpen:y,isUserRegistered:P,regLink:L,regButtonText:w,registrationOverride:C,regData:B,handleLike:J,handleBookmark:ae,handleShare:oe,handleGetNotify:Ue,setNotifyModal:k,handleConfirmNotify:We,notifyModal:f,isDashboardEnabled:z,redirectingAws:U,navigate:d}},Dt=({customClass:t,customWidth:i,customHeight:n,animationColor:r,dotColor:c})=>e(R,{children:s("span",{className:`relative flex ${i??"w-3"}  ${n??"h-3"} ${t}`,children:[e("span",{className:`animate-ping absolute inline-flex h-full w-full rounded-full ${r??"bg-red-500"} opacity-75`}),e("span",{className:`relative inline-flex rounded-full  ${c??"bg-red-600"} ${i??"w-3"}  ${n??"h-3"}`})]})}),Lt=({rejectionReason:t=""})=>{const i=ee(),n=[{title:s("div",{className:"text-[1.125rem] text-error font-semibold flex items-center gap-3",children:[e(Dt,{}),i("REJECTED")]}),content:s("div",{className:"transition-all border-t border-error pt-4",children:[s("p",{className:"text-grey3",children:[" ",s("span",{className:"font-medium",children:[" ",i("Note:")," "]})," ",e("i",{children:i("You need to check for the availability of your Initiative URL again before re-applying to publish this page.")})]}),s("div",{className:"py-2",children:[e("h6",{className:"text-grey3 font-bold text-[1rem] my-2",children:i("Rejection Reason")}),e("div",{dangerouslySetInnerHTML:{__html:i(t??"-")}})]})]})}];return e(R,{children:e("div",{className:"relative transition duration-700 ease-in-out live-edit-rejection-accordian bg-white pb-5 ",children:e(_e,{items:n,customClass:"px-1 py-1 bg-errorLight border border-error rounded-md",accordianItemCustomClass:""})})})};function Be({heading:t="",data:i=""}){const n=ee();return s("div",{children:[e("p",{className:"text-title1v1 text-h2sGrey-900",children:t??"-"}),e("div",{className:"flex flex-wrap text-h2sGrey-600 text-subtitle2v1 gap-x-4 mt-3",children:i?.length>0?i:e("p",{className:"text-[var(--grey1)] font-medium text-xs md:text-sm   dark:text-[var(--darkTheme2)] text-grey5 dark:text-darkTheme1",children:n("cNoDataFoundText")})})]})}const Gt={FACEBOOK:"ri:facebook-fill",INSTAGRAM:"mdi:instagram",TWITTER:"ri:twitter-x-fill",LINKEDIN:"ri:linkedin-fill",DISCORD:"ic:baseline-discord",YOUTUBE:"mdi:youtube",GITHUB:"ri:github-fill"};function Bt(t){switch(t){case"FREE":return"mingcute:announcement-fill";case"PAID":return"tdesign:money-filled";case"HYBRID":return"carbon:hybrid-networking"}}function zt({eventData:t,t:i,whoCanParticipate:n,registerationStatus:r}){const c=t?.sections?.find(o=>o?.type===T?.EVENT_SECTION_CONTACT_US),{id:a}=j(),d=j(),u=he?.find(o=>o?.eventId?.toLowerCase()===a?.toLowerCase()||o?.eventId?.toLowerCase()===d?.eventId?.toLowerCase());function g(o){const f=G(o??null),k=G();return!!(f.isValid()&&f.isBefore(k))}const N=g(t?.registrationStart)||t?.isRegistrationOverride,l=u?u?.isHiddenTicketType:"",b=u?u?.isHiddenTimerLeft:"",x=t?.sections?.find(o=>o?.type===T?.EVENT_SECTION_OVERVIEW)?.category?.find(o=>
18o?.type===Z?.EVENT_OVERVIEW_QUICK_LINKS)?.data?.filter(o=>!o?.isHidden&&!o?.isDeleted),v=(()=>{const o=r?.registrationOverride||t?.isRegistrationOverride;if(!o&&!r?.isRegistrationOpen)return{text:r?.regButtonText||i("cRegister"),onClick:r?.handleGetNotify,to:"#",disabled:!1};if(!o&&!r?.isDashboardEnabled&&r?.isUserRegistered)return{text:i("cAlreadyRegistered"),onClick:r?.handleEventRegisterTrack,to:"#",disabled:!1,className:"!cursor-not-allowed"};const f=r?.isUserRegistered,k=r?.isRegistrationClosed,H=r?.useAsComponent;let y;f?y=i(a==="ai-for-good"?"cDashboard":"cTeamDashboard"):!o&&k?y=i("cRegistrationClosed"):y=r?.regButtonText||i("cRegisterNow");let P="#";return H||(f?P=`/event/${a}/dashboard/roadmap`:(o||r?.isRegistrationOpen&&!k)&&(P=r?.regLink||r?.validateUser())),{text:y,onClick:r?.handleEventRegisterTrack,to:P,disabled:!f&&!o&&k}})();return s("div",{children:[s("div",{className:"rounded-2xl p-4 shadow-soft-xl w-full flex flex-col gap-4",children:[e("div",{className:"flex gap-2",children:c?.category?.[1]?.data?.filter(o=>!o.isHidden&&!o.isDeleted&&o.value)?.map((o,f)=>e("a",{target:"_blank",rel:"noreferrer",href:o?.value,title:o?.id,className:"border-h2sEventPage-900 border cursor-pointer w-10 h-10 rounded-full p-2 flex justify-center items-center",children:e(A,{className:"text-h2sEventPage-900",fontSize:16,icon:Gt[o?.icon]})},f+o?.id+o?.icon+Math.random()))}),e("p",{className:"text-h6 ellipsis-two-lines text-h2sGrey-900  !font-semibold",children:t?.title??" -"}),s("div",{className:"flex gap-4",children:[e("div",{className:"border-h2sEventPage-900 border w-10 h-10 rounded-lg p-2 flex justify-center items-center",children:e(A,{className:"text-h2sEventPage-900",fontSize:20,icon:"solar:calendar-linear"})}),s("div",{children:[e("p",{className:"text-subtitle3v1 text-h2sGrey-600 uppercase",children:N?d?.id=="isro-prayog-hack2025"?"Last Date for Submission":i("cLastDatetoRegister"):i("cRegistrationStartsOn")}),e("p",{className:"text-subtitle2v1 text-h2sGrey-900 font-semibold",children:G(new Date(N?t?.registrationEnd:t?.registrationStart??"-"))?.format("ddd DD MMM YYYY")})]})]}),b?null:s("div",{className:"  rounded-lg  ",children:[e("p",{className:"text-subtitle3v1 text-h2sGrey-600 uppercase",children:i(N?"cRegistrationClosedIn":"cRegistrationStartsIn")}),e("p",{className:"text-subtitle1v1 text-h2sEventPage-900 font-bold",children:Le((N?t?.registrationEnd:t?.registrationStart)??"-")})]}),l?null:s("div",{className:"w-full border border-h2sEventPage-900 flex items-center gap-2 text-h2sGrey-900 rounded-lg px-4 py-2 text-title2v1",children:[st(t?.tags?.ticket?.value)??"-",e(A,{className:"text-h2sEventPage-900 ",icon:Bt(t?.tags?.ticket?.value||"")})]}),e(Y,{color:v.disabled?"disabled":"primary",disabled:v.disabled,onClick:v.onClick,to:v.to,customClass:`!text-captionv1 text-center !px-14 !bg-h2sEventPage-900 !border-h2sEventPage-900 hover:scale-[1.01] !transition-scale !delay-200  ease-in-out !text-xs ${v?.className}`,children:v.text})]}),n?.length>0&&e("div",{className:"rounded-2xl p-4 shadow-soft-xl w-full flex flex-col gap-4",children:e(Be,{heading:i("cApacStringWhoCanParticipate"),data:n})}),x?.length>0&&s("div",{className:"rounded-2xl p-4 shadow-soft-xl w-full flex flex-col gap-4 my-4",children:[e("p",{className:"text-h6 text-h2sGrey-900 !font-semibold",children:i("cQuickLinks")}),e("div",{className:"flex flex-col gap-2 px-4",children:x?.map((o,f)=>e("li",{className:"text-body2v1 text-h2sGrey-600",children:e("a",{href:o?.link,target:"_blank",rel:"noreferrer",className:"text-body2v1 text-h2sEventPage-900 cursor-pointer max-w-[300px] break-words block",children:o?.title})},f+o?.link+Math.random()))})]})]})}function Ne({data:t}){const[i,n]=S.useState(!1);return s(R,{children:[e(ke,{isOpen:i,modalTitle:t?.title??"-",onClose:()=>{n(!1)},closeOnOverlayClick:!0,customClass:"modal-border !py-5 !px-10",customWidth:"max-w-3xl",headingClass:"!font-bold  w-full !overflow-hidden !line-clamp-2 text-wrap ",showTitleTooltip:!0,children:e("div",{className:"max-h-[500px] overflow-auto",dangerouslySetInnerHTML:{__html:t?.description??""}})}),s("div",{className:"mr-4",children:[e("img",{className:"rounded-t-xl rounded-b-md",src:t?.image}),s("div",{className:"p-4",children:[e("p",{className:"text-h2sGrey-900 text-title1v1 ellipsis-two-lines ",children:t?.title}),e("div",{className:"flex flex-wrap gap-x-3",children:t?.tags?.length>0&&t?.tags?.map((r,c)=>e("p",{className:"w-fit mt-2 text-xs rounded-lg  text-h2sSlate-400 !text-subtitle3v1 !px-0 !py-0",children:"#"+r},c+r+Math.random()))}),s("div",{onClick:()=>n(!0),className:"cursor-pointer flex items-center mt-2 hover:gap-1 transition-all duration-300 ease-in-out group",children:[e("p",{className:"text-h2sEventPage-900 text-title3v1",children:"View More"}),e(A,{className:"ml-1 text-h2sEventPage-900 transform transition-transform duration-100 ease-in-out group-hover:translate-x-1",icon:"flowbite:arrow-right-outline"})]})]})]})]})}function Te({settings:t,children:i,showDotsArrow:n=!0,className:r=""}){const c=S.useRef(null),[a,d]=S.useState(0),[u,g]=S.useState(0);S.useEffect(()=>{const o=()=>{const f=window.innerWidth;let k=t.slidesToShow;t.responsive?.forEach(({breakpoint:y,settings:P})=>{f<=y&&(k=P.slidesToShow)}),k=Math.floor(k);const H=Math.ceil(i?.length-k+1);g(H)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[i?.length,t]);const N=()=>{c.current?.slickNext()},l=()=>{c.current?.slickPrev()},b=(o,f)=>{d(f)};function x(o){const f=o%1>.5?Math.ceil(o):Math.floor(o);return f>=u?f%u:f<0?u-1:f}const h=()=>u<=1?null:s("div",{className:"flex justify-center items-center text-center left-[50%] w-full -mt-1 space-x-2 mt-2",children:[e("button",{disabled:a===0,className:`flex items-center justify-center border border-h2sGrey-400 transition-all duration-300 hover:border-h2sGrey-600 rounded-full w-6 h-6 ${a===0?"cursor-not-allowed":""}`,onClick:l,children:e(A,{className:"text-h2sGrey-400 hover:text-h2sGrey-600 w-2",icon:"ep:arrow-left-bold"})}),Array.from({length:u}).map((o,f)=>e("button",{className:`rounded-full transition-all duration-200 ${x(a)===f?"bg-h2sEventPage-900 w-2 h-1":"bg-h2sGrey-400 w-1 h-1"} hover:bg-h2sGrey-600`,onClick:()=>c.current?.slickGoTo(f)},f)),e("button",{disabled:a===u-1,className:`flex items-center justify-center border border-h2sGrey-400 transition-all duration-300 hover:border-h2sGrey-600 rounded-full w-6 h-6 ${a===u-1?"cursor-not-allowed":""}`,onClick:N,children:e(A,{className:"text-h2sGrey-400 w-2 hover:text-h2sGrey-600",icon:"ep:arrow-right-bold"})})]}),v={...t,beforeChange:b};return s(R,{children:[e(Ce,{className:r,ref:c,...v,children:i}),n&&h()]})}function ze({data:t}){return s("div",{className:"max-w-[201px] min-w-[200px] min-h-[300px] w-full mr-4 max-sm:max-w-full border border-gray-100 rounded-2xl hover:border-h2sEventPage-900 transition-all ease-in-out",children:[e("div",{className:"py-3 px-3 pb-0",children:e("img",{className:"rounded-lg w-full max-h-[150px] object-cover",src:t?.image||"https://static.vecteezy.com/system/resources/previews/027/951/137/non_2x/stylish-spectacles-guy-3d-avatar-character-illustrations-png.png"})}),s("div",{className:"p-4 flex flex-col justify-between",children:[s("div",{children:[e("p",{title:t?.name??"",className:"text-h2sGrey-900 text-title1v1 ellipsis-one-lines",children:t?.name??""}),t?.designation&&e("p",{title:t?.designation??"",className:"text-h2sGrey-400 text-subtitle2v1 ellipsis-one-lines mt-1",children:t?.designation??""}),e("p",{title:t?.organization??"",className:"text-h2sEventPage-900 text-subtitle2v1 ellipsis-one-lines mt-1",children:t?.organization??""})]}),e("div",{className:"mt-4 flex flex-col gap-3",children:e("div",{className:"flex gap-3",children:t?.content?.map((i,n)=>i?.value&&e("a",{href:i?.value??"#",rel:"noreferrer",target:"_blank",className:"cursor-pointer",children:e(A,{className:"w-5 h-4 text-gray-500 hover:text-h2sEventPage-900 transition-all ease-in-out",icon:`ri:${i?.icon?.toLowerCase()}-fill`})},n+Math.random()))})})]})]})}function $e({items:t,index:i}){return e("div",{children:s("div",{className:"border  hover:shadow-soft-2xl transition-shadow ease-in-out max-w-[260px] gap-5 border-h2sGrey-100 rounded-2xl p-6 flex items-center justify-center",children:[e("div",{className:"rounded max-w-[60px] min-w-[60px] w-[60px] h-[60px]",children:e("img",{className:"rounded aspect-square",src:t?.image??""})}),s("div",{children:[e("p",{className:"text-body2v1 text-h2sGrey-900",children:t?.title??"-"}),e("p",{className:"text-h4 font-semibold text-wrap break-all ellipsis-one-line text-h2sGrey-900 ",children:t?.amount?t?.currency+" "+rt(t?.amount):""}),e("p",{title:t?.prizeBy,className:"text-subtitle2v1 ellipsis-one-line text-h2sGrey-400",children:t?.prizeBy?ot(t?.prizeBy,15):""})]})]})},i)}const $t={infinite:!1,speed:500,arrows:!1,slidesToShow:3,dots:!1,responsive:[{breakpoint:1350,settings:{slidesToShow:3.2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2.2,slidesToScroll:1}},{breakpoint:440,settings:{slidesToShow:1.3,slidesToScroll:1}}]};function F({heading:t="",children:i,useAsComponent:n=!1,type:r="",id:c=""}){const a=ee(),d=j(),u=d?.id||d?.eventId||"",g=he.find(l=>l.eventId===u),N=g?g?.headingColor:"";if(n&&(Array.isArray(i)&&i.length===0||typeof i=="object"&&Object.keys(i).length===0))switch(r){case T?.EVENT_SECTION_ABOUT:return s("div",{id:c,children:[e("div",{style:{color:N},className:"text-h2sSlate-900 text-h4 mb-4",children:t??"-"}),e("div",{className:"text-sm text-h2sSlate-400 ",children:a("cLoremIpsumText")??"-"}),i]});case T?.EVENT_SECTION_CHALLANGES:return s("div",{id:c,children:[e("div",{style:{color:N},className:"text-h2sSlate-900 text-h4 mb-4",children:t??"-"}),e("div",{className:"relative max-w-[860px] sliderWidthEvent max-lg:max-w-[90vw] max-md:w-[90vw] max-sm:w-[85vw]",children:e(Te,{settings:$t,className:"relative",children:e(Ne,{data:{description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",image:"https://h2svision.github.io/publicAssets/vision/challengesDefault.png",tags:["tag1","tag2","tag3"],title:"Challenge 1"}},Math.random())})})]});case T?.EVENT_SECTION_JURY:return s("div",{id:c,children:[e("div",{style:{color:N},className:"text-h2sSlate-900 text-h4 mb-4",children:t??"-"}),e(ze,{data:{name:"Lorem ipsum.",image:"",organization:"xyz.",content:[{value:"#",icon:"facebook"},{value:"#",icon:"twitter"}]}},Math.random())]});case T?.EVENT_SECTION_STEPS:return s("div",{id:c,children:[e("div",{style:{color:N},className:"text-h2sSlate-900 text-h4 mb-4",children:t??"-"}),s("div",{className:"p-3 flex flex-col gap-3 break-words md:w-[190px]",children:[e("p",{className:"text-h2sEventPage-900 text-h2",children:1}),s("div",{children:[e("div",{className:"break-words overflow-wrap-anywhere text-title1v1",children:"1000"}),e("a",{href:"#",className:"break-words overflow-wrap-anywhere ",children:e("p",{className:"mt-2 text-body2v1 text-gray-600 hover:text-h2sEventPage-900",children:"-"})})]})]},Math.random())]});case T?.EVENT_SECTION_PRIZES:return e("div",{children:e($e,{items:{amount:1e3,currency:"USD",image:"https://h2svision.github.io/publicAssets/vision/prize1.png",prizeBy:"xyz",title:"Prize 1"},index:1},Math.random())});case T?.EVENT_SECTION_FAQS:return s("div",{id:c,children:[e("div",{style:{color:N},className:"text-h2sSlate-900 text-h4 mb-4",children:t??"-"}),e(_e,{accordianItemCustomClass:"text-subtitle2v1 text-h2sGrey-900 ",childContainerItem:"!pl-0",accordionBodyClass:"bg-transparent text-h2sGrey-600",items:[{title:"FAQ 1",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}]})]})}return s("div",{children:[e("div",{style:{color:N},className:"text-h2sSlate-900 text-h4 mb-4",children:u==="metlifehack4job"||u==="metlifehack4job2025"&&t?.includes("Employer of Choice")||t&&t?.length===1&&t?.includes(".")?"":t??"-"}),!i||Array.isArray(i)&&i.length===0||typeof i=="object"&&Object.keys(i).length===0?s("div",{className:"text-center",children:[e("h5",{className:"text-h6 text-h2sSlate-600  my-3",children:a("cTobeAnnounced")}),e("p",{className:"text-sm text-h2sSlate-400 ",children:a("cTableNoRecordDescription")}),e(lt,{className:"w-[12rem] mx-auto"})]}):i]})}function jt(t,i,n){const r=i.isBetween(t,n,null,"[]"),c=i.isAfter(n),a=i.isBefore(t);return{bg:r?"bg-h2sSuccess-50":c?"bg-h2sError-50":"bg-h2sSlate-50",border:r?"border-h2sSuccess-600":c?"border-h2sOrange-600":"border-h2sSlate-600"}}function Ut({items:t}){const i=se.tz.guess(),n=se.tz(t?.start,i),r=se.tz(t?.end,i),c=se.tz(new Date,i),{id:a}=j(),d=j(),u=he?.find(h=>h.eventId===a||h.eventId===d?.eventId),g=u?u?.isMonthTimeline:"",N=t?.title=="Execution of Selected Codes",l=t?.title=="Announcement of Final Results",{bg:b,border:x}=jt(n,c,r);return s("div",{className:"flex sm:items-center max-sm:flex-col py-4 max-sm:gap-3 sm:gap-9 w-full",children:[t?.isTimelineMasked?s("div",{className:"sm:w-[60px] w-full  border border-h2sBrand-600 rounded-md flex-shrink-0",children:[e("p",{className:"bg-[#EEF3FF]  flex items-center justify-center",children:"..."}),e("div",{className:"text-h2sGrey-900 py-1 flex justify-center",children:e(A,{icon:"eos-icons:hourglass"})})]}):e("div",{children:s("div",{className:"sm:w-[60px] w-fit border border-h2sBrand-600 rounded-md max-sm:flex max-sm:flex-row",children:[e("div",{className:"bg-[#EEF3FF] p-1 max-sm:px-2 flex items-center justify-center",children:e("p",{className:"text-subtitle3v1 text-h2sGrey-900 text-sm max-sm:text-sm font-bold",children:t?.start?se.tz(t?.start,i).format(g&&(N||l)?"MMM":"DD MMM"):"-"})}),l?e(R,{}):e("div",{className:"flex bg-gray-50 max-sm:px-2 items-center justify-center",children:e("p",{className:"text-subtitle3v1 text-h2sSlate-700",children:t?.end?se.tz(t?.end,i).format(g&&(N||l)?"MMM":"DD MMM"):"-"})})]})}),e("div",{className:"w-full",children:e("div",{className:`${b} p-4 rounded-lg w-full hover:shadow-soft-xl transition-all`,children:s("div",{className:`border-l-2 ${x} pl-6`,children:[t?.isTimelineMasked?e("p",{className:"text-title2v1 text-h2sSlate-400",children:"To Be Announced"}):e("div",{className:"text-title2v1 text-h2sSlate-400",children:`${n.format(g&&(N||l)?"MMM YYYY":"DD MMM YY, hh:mm A z")} ${l?"":"-"} ${l?"":r.format(g?"MMM YYYY":"DD MMM YY, hh:mm A z")}`}),e("p",{className:"text-h6 font-semibold mt-1",children:t?.title??"-"}),t?.description&&s("div",{children:[e("div",{className:"border my-2 mb-4"}),e("p",{className:"text-slate-600 text-subtitle2v1",children:e("div",{dangerouslySetInnerHTML:{__html:t?.description}})})]})]})})})]})}const Wt={infinite:!0,slidesToShow:5,slidesToScroll:1,dots:!0,autoplay:!0,speed:1e3,arrows:!1,autoplaySpeed:2e3,responsive:[{breakpoint:1350,settings:{slidesToShow:4,slidesToScroll:4,infinite:!1,dots:!0}},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:420,settings:{slidesToShow:1,slidesToScroll:1}}]};function Ft({data:t,useAsComponent:i}){const[n,r]=S.useState(window.innerWidth);S.useEffect(()=>{const d=()=>{r(window.innerWidth)};return window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}},[]);let c;return n<420?c=1:n<768?c=2:(n<=1350,c=4),{customSectionCards:(()=>{const d=t?.type==="CARD"&&i?Me:[];return t&&t?.content?.length?t?.content?.filter(u=>Object.values(u).some(g=>typeof g=="string"&&g.trim()!=="")):d})()??Me,slidesToShow:c}}const Me=[{picture:"https://h2svision.github.io/publicAssets/vision/basil--user-outline%201.svg",description:"Custom section card",ctaLabel:"CTA Label",ctaLink:"#"}];function Ae({item:t}){return s("div",{className:"max-w-[201px] min-w-[200px] border border-gray-100 rounded-2xl hover:shadow-soft-2xl transition-shadow ease-in-out",children:[e("div",{className:"py-3 px-3 pb-0",children:e("img",{className:"rounded-lg w-full max-h-[150px] object-cover",src:t?.image??"https://h2svision.github.io/publicAssets/vision/basil--user-outline%201.svg",alt:"Custom Section Card"})}),s("div",{className:"p-4 flex flex-col justify-between",children:[s("div",{children:[e("p",{title:t?.description??"",className:"text-h2sGrey-900 text-title1v1 ellipsis-two-lines",children:t?.description??"_"}),t?.designation&&e("p",{title:t?.designation??"",className:"text-h2sGrey-400 text-subtitle2v1 ellipsis-two-lines mt-1",children:t?.designation??""}),e("p",{title:t?.organization??"",className:"text-h2sEventPage-900 text-subtitle2v1 
18ellipsis-two-lines mt-1",children:t?.organization??""})]}),s("div",{className:"mt-4 flex flex-col ",children:[e("div",{className:"flex gap-3",children:t?.content?.map((i,n)=>e("a",{href:i?.value??"#",rel:"noreferrer",target:"_blank",className:"cursor-pointer",children:e(A,{className:"w-5 h-4 text-gray-500 hover:text-h2sEventPage-900 transition-all ease-in-out",icon:`ri:${i?.icon?.toLowerCase()}-fill`})},n))}),e(Y,{customClass:"!text-captionv1 !w-full text-center  !bg-h2sEventPage-900 !border-h2sEventPage-900 hover:scale-[1.01] !transition-scale !delay-1000  ease-in-out !text-xs ",target:"_blank",to:t?.ctaLink,children:t?.ctaLabel})]})]})]})}const Yt=({type:t,color:i,description:n})=>{const r=ee();return s("div",{className:"text-center",children:[e("div",{className:"mx-auto mb-4",children:t==="tobe-announced"?e(R,{}):e("h3",{className:"text-[var(--event-primary-color)] text-xl  sm:text-2xl font-semibold uppercase",children:r("cTobeAnnounced")})}),e("p",{className:"text-size-14px text-grey4",children:n??r("cToBeAnnouncedDescriptionText")})]})},qt=({data:t={type:"CARD"},useAsComponent:i})=>{const{customSectionCards:n,slidesToShow:r}=Ft({data:t,useAsComponent:i});return t&&t?.type!=="CARD"?e("div",{className:"text-h2sGrey-600",dangerouslySetInnerHTML:{__html:t?.description?t?.description:""}}):e("div",{className:"w-full customSection-container",children:n?.length?e(R,{children:n?.length>r?e("div",{className:"max-w-[100vw] max-sm:max-w-[70vw]",children:e(Ce,{...Wt,children:n?.filter(c=>!c.isDeleted&&!c.isHidden).map((c,a)=>e(Ae,{useAsComponent:i,item:c,index:a,margin:!0},a+Math.random()+c))})}):e("div",{className:`grid grid-cols-${r} gap-4 sm:gap-8 md:gap-[1.5rem]`,children:n?.filter(c=>!c.isDeleted&&!c.isHidden).map((c,a)=>e(Ae,{useAsComponent:i,item:c,index:a,margin:!0},a+Math.random()+c))})}):e(R,{children:e(Yt,{color:"var(--event-primary-color)"})})})},M=({items:t,className:i="list-decimal pl-6 space-y-4"})=>e("ol",{className:i,children:t?.map((n,r)=>e("li",{children:n},r))}),q=({items:t,className:i="list-disc pl-6 space-y-4"})=>e("ul",{className:i,children:t?.map((n,r)=>e("li",{children:n},r))}),O=({title:t,children:i})=>s(R,{children:[t?e("h2",{className:"text-lg sm:text-xl font-bold mt-8 mb-4",children:t}):null,i]}),Jt=({title:t="Event",tags:i,setIsTermsOpen:n,termsAndCondition:r={p}})=>{const c=Ie().pathname||"",a=S.useRef(),d=c.includes("priority-h
18ackfest2024");ct(a,()=>n(!1));const{isHidden:u=!0,data:g=[]}=r??{};return d?s("div",{className:"w-full p-2 sm:p-4",ref:a,children:[e(O,{title:"",children:e(q,{items:["These Terms and Conditions (“Terms and Conditions”) shall govern Priority HackFest 2024 which is organized by Hack2skill (“Organizer”).","By registering for the Hackathon, the participants (“Participants”) agree to abide by all the Terms and Conditions.","The Organiser reserves the right to cancel, postpone, or change the date, venue, and time of the Hackathon. There will be no refund of any personal expenses incurred by Participants if the Hackathon is canceled due to unforeseen circumstances. The Organiser reserves the right to amend the Terms and Conditions without prior notification, and you agree to be bound by such Terms and Conditions."]})}),e(O,{title:"Hackathon Mechanism",children:e(q,{items:["Participants are to submit their registration via the microsite only. The Organiser is not responsible for:","Each team must consist of max 3 and Min 1 team members only. Each individual is only permitted to register in one team.","Participants are to pre-select their team names at the time of registration. The team leader will be responsible for submitting his/her team members' names’ and participation details.","All team members must appear at the relevant hackathon venue (online/ offline) as per the hackathon requirements via various checkpoints and must actively respond to predefined Communication platforms like Slack, Discord, Telegram, or WhatsApp. Failure to do so may result in disqualification for the entire team.","By Signing up, you will be agreeing to receive emails and messages for the registered events on Hack2skill."]})}),e(O,{title:"Team Prizes",children:e(q,{items:["Exciting prizes – Check the Hackathon Website.","Prizes are non-transferable by the Team winners. If the Participant accepts a prize, they will be solely responsible for all applicable taxes related to accepting such a prize.","The Organiser reserves the right to change the prizes at any time without prior notice."]})}),e(O,{title:"Winner Selection/Judging Criteria",children:e(M,{items:["The winners will be selected by a panel of judges (“Judges”). By submitting any Hackathon entry, entrants release the Organiser, its sponsors, their respective subsidiaries, affiliates, directors, officers, employees, representatives, agents, and advisors from any liability for any claims, costs, injuries, losses, or damages of any kind arising out of or in connection with the decisions of the Judges.","The Organiser reserves the right to suspend, amend, or modify any of these rules, terms, and conditions, or judging criteria with or without prior notice to Participants. Other modifications will be announced via the Hackathon microsite and emails. The Organiser will have the final decision when it comes to all matters of dispute arising from the Hackathon or the Prizes.","Teams will be judged based on the following criteria, including but not limited to:",e(q,{className:"list-disc pl-6 space-y-2 mt-2",items:["Impact: How would the project benef
18it the target audience?","Creativity: Ingenious solutions and original ideas, no matter how big or small.","Design: A well-thought-out blueprint and crash-proof, front-end layout, and UI/UX.","Execution: The solution should have a clear timeline and effective results from start to finish."]},"Priority_Hack_Winner_Selection_List")]})}),e(O,{title:"Rules of Conduct",children:e(M,{items:["Participants must comply with these Terms and Conditions at all times during the Hackathon, comply with all legal requirements, and refrain from creating content that is unlawful or otherwise objectionable, or any content that may be construed as such.","Participants must not use any content protected under third-party rights or subject to confidentiality obligations to third parties and must permit the Organiser to use the content for the intended purposes.","Participants agree that all Organiser's decisions will be final and binding on all matters related to the Hackathon.","Participants agree that all Judge's decisions will be final and binding on all matters related to the Hackathon.","Participants are not permitted to leave the online communication platform and Hackathon Dashboard once the Hackathon officially begins. The Organiser may disqualify teams if Participants do not comply."]})}),e(O,{title:"Awards",children:e(M,{items:["Prizes are non-transferable by the winner. Accepting a prize makes a prize recipient solely responsible for all applicable taxes related to accepting such a prize.","The cash rewards will be paid within 30 days of the date of the hackathon. The cash rewards will see a deduction of TDS as per the government rules and regulations.","All shortlisted participants selected for the finale will receive assured gifts on the day of the event."]})}),e(O,{title:"Photographic and Video Recordings",children:e(M,{items:["The Participants agree that any photo or video containing his/her likeness or voice, as may be shot or filmed, or recorded during the Hackathon, may be published by the Organiser, in part or in full, with or without stating the Participant's name, on any media, including but not limited to the Organiser's website and social media channels, at the Organiser's sole discretion. This authorization will be given for 10 years and shall be valid worldwide."]})}),e(O,{title:"Code of Conduct",children:e(M,{items:["We fully support appropriate behavior by all participants at the Hackathon, including during any and all official and unofficial activities. We expect all attendees, sponsors, partners, volunteers, and staff to help us make the Hackathon a place that welcomes and respects all Participants, regardless of race, gender, age, sexual orientation, disability, physical appearance, national origin, ethnicity, or religion. We will not tolerate harassment of Participants in person, online, or in any other form.","Examples of harassment include offensive comments, verbal threats or demands, overly sexualized images in public spaces, intimidation, stalking, harassing photography or recording, sustained disruption of sessions or Hackathons, and unwelcome physical contact or sexual attention.","We expect all Participants - attendees, speakers, sponsors, and volunteers - to follow the Code of Conduct during the Hackathon. This includes conference-related social Hackathons at off-site locations, and in related online communities and social media. Participants asked to stop any harassing behavior are expected to comply immediately.","We thank our participants for your help in keeping the Hackathon welcoming, respectful, and friendly to all Participants."]})}),e(O,{title:"Anti-Harassment",children:e(M,{items:["The Organiser is dedicated to providing a harassment-free experience for everyone. Harassment includes offensive verbal comments related to gender, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, nationality, religion, sexual images in public spaces, deliberate intimidation, stalking, following, photography or audio/video recording against reasonable consent, sustained disruption of talks or other Hackathons, inappropriate physical contact, and unwelcome sexual attention.","Overly sexual language and imagery are not appropriate at the venue, including hacks, talks, workshops, parties, social media, and other online media.","Photography is encouraged, but other participants must be given a reasonable chance to refuse to be photographed. If they object to being photographed, comply with their request. It is inappropriate to take photographs in contexts where people have a reasonable expectation of privacy, e.g., in bathrooms or where participants are sleeping.","Hacks created at our Hackathon are equally subject to the anti-harassment policy.","Participants who are asked to stop any harassing behavior are expected to comply immediately. If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact a member of the organizing committee immediately.","The Organiser will happily help participants contact any local security or law enforcement or otherwise assist those experiencing harassment to feel safe for the duration of the Hackathon"]})})]}):u?s("div",{className:"w-full p-2 sm:p-4",ref:a,children:[e(O,{title:"",children:e(q,{items:[`These Terms and Conditions (“Terms and Conditions”) shall govern ${t} that is organized by Hack2skill (“Organizer”).`,"By registering for the Hackathon, the participants (“Participants”) agree to abide by all the Terms and Conditions.","The Organiser reserves the right to cancel, postpone, or change the date, venue, and time of the Hackathon. There will be no refund of any personal expenses incurred by Participants if the Hackathon is canceled due to unforeseen circumstances. The Organiser reserves the right to amend the Terms and Conditions without prior notification, and 
18you agree to be bound by such Terms and Conditions."]})}),e(O,{title:"Hackathon Mechanism",children:e(q,{items:["Participants are to submit their registration via the microsite only. The Organiser is not responsible for:","Each team must consist of max "+i?.teamSize?.max+" and Min "+i?.teamSize?.min+" team members only. Each individual is only permitted to register in one team.","Participants are to pre-select their team names at the time of registration. The team leader will be responsible for submitting his/her team members' names’ participation details.","All team members must appear at the relevant hackathon venue (online/ offline) as per the hackathon requirements via various checkpoints and must actively respond to predefined Communication platforms like Slack, Discord, Telegram, or Whatsapp. Failure to do so may result in disqualification for the entire team.","By Signing up, you will be agreeing to receive email and messages for the registered events on Hack2skill."]})}),e(O,{title:"Team Prizes",children:e(q,{items:["Exciting prizes – Check Hackathon Website.","Prizes are non-transferable by the winners. If the Participant accepts a prize, they will be solely responsible for all applicable taxes related to accepting such a prize.","The Organiser reserves the right to change the prizes at any time without prior notice."]})}),e(O,{title:"Winner Selection/Judging Criteria",children:e(M,{items:["The winners will be selected by a panel of judges (“Judges”). By submitting any Hackathon entry, entrants release the Organiser, its sponsors, their respective subsidiaries, affiliates, directors, officers, employees, representatives, agents, and advisors from any and all liability for any claims, costs, injuries, losses, or damages of any kind arising out of or in connection with the decisions of the Judges.","The Organiser reserves the right to suspend, amend, or modify any of these rules, terms, and conditions, judging criteria with or without prior notice to Participants. Other modifications will be announced via the Hackathon microsite and emails. The Organiser will have the final decision when it comes to all matters of dispute arising from the Hackathon or the Prizes.","Teams will be judged based on the following criteria, including but not limited to:",e(q,{className:"list-disc pl-6 space-y-2 mt-2",items:["Impact: How would the project benef
18it the target audience?","Creativity: Ingenious solutions and original ideas, no matter how big or small.","Design: A well-thought-out blueprint and crash-proof, front-end layout, and UI/UX.","Execution: The solution should have a clear timeline and effective results from start to finish."]},"Winner_Selection_List")]})}),e(O,{title:"Rules of Conduct",children:e(M,{items:["Participants must comply with these Terms and Conditions at all times during the Hackathon, comply with all legal requirements and refrain from creating content that is unlawful or otherwise objectionable, or any content that may be construed as such.","Participants must not use any content protected under third party rights or subject to confidentiality obligations to third parties and must permit the Organiser to use the content for the intended purposes.","Participants agree that all Organiser's decisions will be final and binding on all matters related to the Hackathon.","Participants agree that all Judge's decisions will be final and binding on all matters related to the Hackathon.","Participants are not permitted to leave the online communication platform and Hackathon Dashboard once the Hackathon officially begins. The Organiser may disqualify teams if Participants do not comply."]})}),e(O,{title:"Awards",children:e(M,{items:["Prizes are non-transferable by the winner. Accepting a prize makes a prize recipient solely responsible for all applicable taxes related to accepting such a prize.","The cash rewards will be paid within 60 days of the date of the hackathon. The cash rewards will see a deduction of TDS as per the government rules and regulations."]})}),e(O,{title:"Photographic and Video Recordings",children:e(M,{items:["The Participants agree that any photo or video containing his/her likeness or voice, as may be shot or filmed or recorded during the Hackathon, may be published by the Organiser, in part or in full, with or without stating the Participant's name, on any media, including but not limited to the Organiser's website and social media channels, at the Organiser's sole discretion. This authorization will be given for 10 years and shall be valid worldwide."]})}),e(O,{title:"Code of Conduct",children:e(M,{items:["We fully support appropriate behavior by all participants at the Hackathon, including during any and all official and unofficial activities. We expect all attendees, sponsors, partners, volunteers, and staff to help us make the Hackathon a place that welcomes and respects all Participants, regardless of race, gender, age, sexual orientation, disability, physical appearance, national origin, ethnicity, or religion. We will not tolerate harassment of Participants in person, online, or in any other form.","Examples of harassment include offensive comments, verbal threats or demands, overly sexualized images in public spaces, intimidation, stalking, harassing photography or recording, sustained disruption of sessions or Hackathons, and unwelcome physical contact or sexual attention.","We expect all Participants - attendees, speakers, sponsors, and volunteers - to follow the Code of Conduct during the Hackathon. This includes conference-related social Hackathons at off-site locations, and in related online communities and social media. Participants asked to stop any harassing behavior are expected to comply immediately.","We thank our participants for your help in keeping the Hackathon welcoming, respectful, and friendly to all Participants."]})}),s(O,{title:"Anti-Harassment",children:[e(M,{items:["The Organiser is dedicated to providing a harassment-free experience for everyone. Harassment includes offensive verbal comments related to gender, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, nationality, religion, sexual images in public spaces, deliberate intimidation, stalking, following, photography or audio/video recording against reasonable consent, sustained disruption of talks or other Hackathons, inappropriate physical contact, and unwelcome sexual attention.","Overly sexual language and imagery are not appropriate at the venue, including hacks, talks, workshops, parties, social media, and other online media.","Photography is encouraged, but other participants must be given a reasonable chance to refuse being photographed. If they object to being photographed, comply with their request. It is inappropriate to take photographs in contexts where people have a reasonable expectation of privacy, e.g., in bathrooms or where participants are sleeping.","Hacks created at our Hackathon are equally subject to the anti-harassment policy.","Participants who are asked to stop any harassing behavior are expected to comply immediately. If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact a member of the organizing committee immediately.","The Organiser will happily help participants contact any local security or law enforcement or otherwise assist those experiencing harassment to feel safe for the duration of the Hackathon.","Participants violating these rules may be sanctioned or expelled from the Hackathon at the discretion of the Organiser. If a participant engages in harassing behavior, the Organiser may take any action they deem appropriate, including warning the offender or expulsion from the venue.","Please report any incidents or concerns to the Hackathon organizing committee."]}),e(O,{title:"Intellectual Property Rights",children:e(M,{items:["For the avoidance of doubt, a Participant will grant the Organiser a right of first refusal for the acquisition of any exclusive license for all materials including software, source code, documentation, data, and concepts (whether created or developed independently by a Participant or jointly with others
18) (‘Materials’) submitted to the Organiser during the Hackathon, for a period of 6 months following the conclusion of the Hackathon. During this period, the Participant may not sell, transfer, or license exclusively their intellectual property rights to a third party, without first offering the Organiser the opportunity to acquire or license the Materials on the same terms and conditions offered by the third party, whereby the Organiser will have 30 days to accept the Participant’s offer. If the Organiser does not accept the Participant’s offer within 30 days, the Participant will have the right to accept the third party’s offer.","The Participants expressly authorize the Organiser, to publish, communicate, expose and disclose, divulge and represent the submitted ideas verbally, graphically or in writing, in any medium worldwide and without restrictions in time, and by any means, either present or future, free of charge, in relation to this Hackathon.","The results shall, in no Hackathon, infringe in any manner or induce infringement of any third party intellectual property rights. Should the right from identified third party right owners not be commercially available, the result may not be qualified to win the prize. The Participant undertakes to indemnify the Organiser against all claims asserted by third parties against the Organiser due to any actual or alleged infringement of rights resulting from the use of the result, as well as against all litigation costs (including reasonable attorney fees) required to defend the Organiser against such claims unless the Organiser itself is responsible for the infringement of rights by its gross negligence or wilful misconduct."]})}),s(O,{title:"Protection of Intellectual Property",children:[e(M,{items:["By submitting an entry or accepting any prize, Participants represent and warrant the following:","Participants will not submit content that is copyrighted, protected by trade secret, or otherwise subject to third-party intellectual property rights or other proprietary rights, including privacy and publicity rights unless the participant is the owner of such rights or has permission from the rightful owner to post the content and to grant the Hackathon all of the rights granted herein.","The participant will not publish falsehoods or misrepresentations that could damage the Organiser, its sponsors, or any third party.","The participant will not submit content that is unlawful, obscene, defamatory, libelous, threatening, pornographic, harassing, hateful, racially or ethnically offensive, encourages criminal activity, gives rise to civil liability, or is otherwise inappropriate or destructive to the Organiser’s or sponsors’ brand image or goodwill.","The participant will not post advertisements or solicitations of business.","The Organiser will not be obligated to pay any compensation to, or permit any participation by, any third party in connection with the use, reproduction, modification, publication, display, or other exploitation of any of the content that the Participant submits.","The content the participant submits does not contain any viruses, Trojan horses, worms, or other disabling devices or harmful code.","By posting or submitting an entry to the Hackathon (regardless of the form or medium of such content), the participant hereby grants the Hackathon and its sponsors, their respective affiliates, their affiliates’ agents, and third-party contractors a worldwide, perpetual, irrevocable, non-exclusive right and license, with the right to sublicense, discuss, publicize, market, and otherwise display content derived from or relating to the Hackathon entry (‘Marketing Content’), and to distribute and use such Marketing Content for promotional and marketing purposes either in the form submitted or in the form of a derivative or adapted work. The participant understands that he or she will not receive any compensation or credit for use of their Hackathon entry, other than what is described in these Official Hackathon Rules."]}),e(O,{title:"Copyright",children:e(M,{items:["Participant represents and warrants that he or she is the sole author and copyright owner of the Submission, and that the Submission is an original work of the Participant, or if the Submission is a work based on an existing application, that the Participant has acquired sufficient rights to use and to authorize others; and that the Submission does not infringe upon any copyright or upon any other third party rights of which the Participant is aware, and that the Submission is free of malware."]})}),e(O,{title:"General Eligibility",children:e(M,{items:["The Organiser will have the right at their sole discretion to determine whether an entrant is eligible for the Hackathon. The Organiser may disqualify entries that:","1) are in violation of third-party rights, law, or regulation,","2) use inappropriate or explicit language or images, or","3) display content that the Organiser or its sponsors otherwise find objectionable or inconsistent with the Hackathon or its sponsors’ brand image or goodwill.","The Organiser will accept only those entries that are completed and submitted as described above and that conform to any technical requirements specified as part of the entry process. Entries that do not comply with the provisions of these rules will be deemed ineligible and will not be considered.","The Organiser will accept entr
18ies from those who are below the age of 18 (minimum age of 14) provided they are accompanied by a parent or guardian, or have completed the following ‘Minor Release and Waiver of Liability and Indemnity Form’ which will be sent via their registered e-mail.","The Hackathon is open to all eligible Participants, whereby shortlisted Participants will be chosen by the Organiser."]})})]})]}),e("p",{className:"mt-8",children:"Data Security will be as per rules & regulations mentioned under IT Act 2008."}),e("p",{className:"mt-4",children:"The Terms and Conditions herein shall prevail over any inconsistent terms, conditions, provisions or representations contained in any other promotional or advertising materials for the Hackathon."})]}):e(R,{children:e("div",{children:g?.filter(N=>N?.isHidden===!1)?.map((N,l)=>{const{_id:b,title:x,link:h}=N;return s("p",{title:x,className:"text-subtitle2v1 text-h2sSlate-700",children:[x," ",e(X,{to:h??"#",target:"_blank",className:"inline whitespace-nowrap text-h2sBrand-900 hover:underline",children:"click here"})]},b??`EVENT_PAGE_CUSTOM_T&C_${l}`)})})})},je=({h2sLinkText:t,h2sLinkUrl:i,eventLinkText:n,eventLinkUrl:r,useAsComponent:c,onClick:a})=>{const u=(Ie().pathname||"").includes("informatica2025");return e("div",{className:"max-[500px]:w-fit w-full text-[var(--text2)] dark:text-[var(--darkTheme2)]",children:u?e(X,{className:"block w-fit text-[var(--text2)] dark:text-[var(--darkTheme2)]  text-[0.625rem] underline underline-offset-2 hover:text-[var(--blue)]",to:"https://docs.google.com/document/d/e/2PACX-1vSNw2GkBQswhprwmy_sg_FfsML_zLsjQJGeY-xIgH1oGbSjJU64wRsieA21rASDdadn5q2sWajxyB-v/pub",children:n}):e("button",{className:"block w-fit text-[var(--text2)] dark:text-[var(--darkTheme2)]  text-[0.625rem] underline underline-offset-2 hover:text-[var(--blue)]",onClick:c?()=>{}:a,children:n})})};je.defaultProps={eventLinkText:"*Initiative Terms & Conditions",eventLinkUrl:"#"};const Se=({heading:t,btnLink:i,btnText:n,rightSideImage:r,useAsComponent:c})=>{const a=ee();return s("div",{className:"  p-6 rounded-2xl max-[640px]:text-center flex justify-between flex-col sm:flex-row md:flex-row xl:flex-row 2xl:flex-row gap-2 items-center bg-[#f8f7fa]",children:[e("div",{className:" min-w-[50%]",children:e("p",{className:"pb-2 text-h6 font-semibold   text-h2sGrey-900",children:a(t)})}),c?e(Y,{customClass:"!text-captionv1  !w-fit !bg-h2sEventPage-900 !border-h2sEventPage-900 hover:scale-[1.01] !transition-scale !delay-1000  ease-in-out !text-xs ",onClick:d=>d.preventDefault(),children:a(n)}):e(Y,{customClass:"!text-captionv1 !w-fit text-center  !bg-h2sEventPage-900 !border-h2sEventPage-900 hover:scale-[1.01] !transition-scale !delay-1000  ease-in-out !text-xs ",target:"_blank",to:"https://hello.hack2skill.com",children:a(n)})]})};Se.defaultProps={heading:"cWantToHostHeadingText",btnLink:"/organizer-request",btnText:"cStartCreatingYourInitiatives",rightSideImage:dt};const Kt={infinite:!1,speed:500,arrows:!1,slidesToShow:3,dots:!1,responsive:[{breakpoint:1350,settings:{slidesToShow:3.2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2.2,slidesToScroll:1}},{breakpoint:440,settings:{slidesToShow:1.3,slidesToScroll:1}}]},Qt={infinite:!1,speed:500,arrows:!1,slidesToShow:4,dots:!1,responsive:[{breakpoint:1350,settings:{slidesToShow:3.2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:3.2,slidesToScroll:1}},{breakpoint:440,settings:{slidesToShow:1.3,slidesToScroll:1}}]};function Xt({useAsComponent:t,eventData:i,filteredChallengesCategoryData:n,filteredPrizesCategoryData:r,filteredPartnersData:c}){const[a,d]=S.useState(!1),u=j(),g=u?.id||u?.eventId||"",N=he.find(l=>l.eventId===g);return s(R,{children:[i?.sections?.filter(l=>!l.isDeleted&&!l.isHidden)?.map((l,b)=>{const x=l?.category?.[0]?.data?.filter(h=>!h.isDeleted&&!h.isHidden);switch(l.type){case T?.EVENT_SECTION_ABOUT:return e(F,{useAsComponent:t,type:T?.EVENT_SECTION_ABOUT,heading:l?.title??"-",children:x?.[0]?.description&&e("div",{className:"mt-4",id:l?._id,children:e("div",{className:"text-h2sGrey-600 live-edit-event-page-about-section",dangerouslySetInnerHTML:{__html:x?.[0]?.description}})},b+Math.random()+l?.title)});case T?.EVENT_SECTION_STEPS:return e("div",{id:l?._id,children:e(F,{useAsComponent:t,type:T?.EVENT_SECTION_STEPS,heading:l?.title??"-",children:x?.length>0&&e("div",{className:"flex flex-wrap gap-6 max-sm:gap-2 ",children:x?.length>0&&x?.map((h,v)=>s("div",{className:"p-3 flex flex-col gap-3 break-words md:w-[190px]",children:[e("p",{className:"text-h2sEventPage-900 text-h2",children:v+1}),s("div",{children:[e("div",{className:"break-words overflow-wrap-anywhere text-title1v1",children:h?.title??"-"}),e("a",{href:h?.link??"#",className:"break-words overflow-wrap-anywhere ",children:e("p",{className:"mt-2 text-body2v1 text-gray-600 hover:text-h2sEventPage-900 line-clamp-2 break-words overflow-wrap-anywhere",children:h?.link??"-"})})]})]},v+Math.random()+h?.title))})})},b+Math.random()+l?._id);case T?.EVENT_SECTION_TIMELINE:return e("div",{id:l?._id,children:e(F,{heading:l?.title??"-",children:x?.length>0&&x?.map((h,v)=>e(Ut,{items:h,status:""},v+Math.random()))})},b+Math.random()+l?._id);case T?.EVENT_SECTION_CHALLANGES:return e("div",{id:l?._id,children:e(F,{useAsComponent:t,type:T?.EVENT_SECTION_CHALLANGES,heading:l?.title??"-",children:n?.length>0&&n?.filter(h=>h?.data?.length>0)?.map((h,v)=>s("div",{className:"mb-4",children:[e("p",{className:"text-title1v1 font-semibold    text-h2sSlate-400 mb-4",children:h?.title??"-"}),g==="metlifehack4job"||g==="metlifehack4job2025"||g==="intelaihackathon"?e("div",{className:"relative max-w-[860px] sliderWidthEvent grid grid-cols-3 max-lg:grid-cols-3 max-md:grid-cols-3 max-sm:grid-cols-2 gap-4",children:h?.data?.map((o,f)=>e("div",{children:e(Ne,{data:o},f+Math.random()+o?.title)},f+Math.random()+o?.title))}):e("div",{className:"relative max-w-[860px] sliderWidthEvent max-lg:max-w-[90vw] max-md:w-[90vw] max-sm:w-[85vw]",children:e(Te,{settings:Kt,className:"relative",children:h?.data?.map((o,f)=>e("div",{children:e(Ne,{data:o},f+Math.random()+o?.title)},f+Math.random()+o?.title))})})]},v+Math.random()+h?.title))})},b+l?._id+Math.random());case T?.EVENT_SECTION_JURY:return e("div",{id:l?._id,children:e(F,{t
18ype:T?.EVENT_SECTION_JURY,useAsComponent:t,heading:l?.title??"-",children:x?.length>0&&e("div",{className:"relative max-w-[860px] sliderWidthEvent max-lg:max-w-[90vw] max-md:w-[90vw] max-sm:w-[85vw]",children:e(Te,{settings:Qt,className:"relative",children:x?.length>0&&x?.filter(h=>!h.isDeleted&&!h.isHidden)?.map(h=>{const v=h?.content&&h?.content?.length>0?h?.content?.filter(o=>!o.isDeleted&&!o.isHidden):[];return e(ze,{data:{...h,content:v}},b+Math.random())})})})})},l?._id+b+Math.random());case T?.EVENT_SECTION_PRIZES:return e("div",{id:l?._id,children:e(F,{useAsComponent:t,type:T?.EVENT_SECTION_PRIZES,heading:l?.title??"-",children:r?.length>0&&r?.filter(h=>h?.data?.length>0)?.map((h,v)=>s("div",{className:"mb-4",children:[e("p",{className:"text-h6 font-semibold    text-h2sGrey-600 mb-4",children:h?.title??"-"}),e("div",{className:"max-sm:flex flex gap-5 flex-wrap max-sm:items-center max-sm:justify-center",children:h?.data?.length>0&&h?.data?.map((o,f)=>o?.type==="CARD"?e($e,{items:o,index:f+1},o+f+Math.random()):s("div",{children:[e("p",{children:o?.title}),e("div",{dangerouslySetInnerHTML:{__html:o?.description}})]},f+Math.random()+o?.title))})]},v+Math.random()+h?.title))})},l?._id+b+Math.random());case T?.EVENT_SECTION_PARTNERS:return e("div",{id:l?._id,children:e(F,{heading:l?.title??"-",children:c?.length>0&&c?.filter(h=>h?.data?.length>0)?.map((h,v)=>s("div",{className:"mb-4",children:[e("p",{className:"text-h6 font-semibold    text-h2sGrey-600 mb-4",children:h?.title??"-"}),e("div",{className:"flex flex-wrap  gap-4",children:h?.data?.length>0&&h?.data?.map((o,f)=>e("div",{className:"max-w-56 max-h-56 max-sm:max-w-36 max-sm:max-h-36 items-center flex justify-center",children:e(X,{className:"w-full",to:o?.link??"#",target:"_blank",children:e("img",{className:"rounded-lg w-full object-cover aspect-square",src:o?.image??""})})},o+f+o?.link+Math.random()))})]},v+Math.random()+h?.title))})},l?._id+b+Math.random());case T.EVENT_SECTION_FAQS:return e("div",{id:l?._id,children:e(F,{useAsComponent:t,type:T.EVENT_SECTION_FAQS,heading:l?.title??"-",children:x?.length>0&&e(_e,{accordianItemCustomClass:"text-subtitle2v1 text-h2sGrey-900 ",childContainerItem:"!pl-0",accordionBodyClass:"bg-transparent text-h2sGrey-600",items:yt(x||[])})})},b+Math.random()+l?._id);case T.EVENT_SECTION_CUSTOM:return e("div",{id:l?._id,children:e(F,{heading:l?.title??"-",children:e(qt,{data:x?.length>0?x[0]:void 0,useAsComponent:!1})})},b+Math.random()+l?._id);default:return null}}),g==="metlifehack4job"||g==="metlifehack4job2025"?!N?.isHiddenBottomBar&&e(Se,{bt
18nText:"Start Creating Your Initiative"}):i?.isCreateEventBannerHidden&&e(Se,{btnText:"Start Creating Your Initiative"}),g==="zuora-prompt-a-thon-2025"?e(X,{to:"https://docs.google.com/document/d/e/2PACX-1vQIgMC02D7h8uif359Ora-HD3KJp95i3fk7BZblhDeQBbgx8GFiAFqOcT5qS3OhF8PsGXsBAVnIk9Gc/pub",target:"_blank",children:e("div",{className:"max-[500px]:w-fit text-[0.625rem] underline w-full text-[var(--text2)] dark:text-[var(--darkTheme2)]",children:"*Initiative Terms & Conditions"})}):g==="gcc-dev-premier-league-2025"?e(X,{to:"https://docs.google.com/document/d/1CSGXeufbgUVmjnMXCxfHCOkpyKz7Gobv/edit",target:"_blank",children:e("div",{className:"max-[500px]:w-fit text-[0.625rem] underline w-full text-[var(--text2)] dark:text-[var(--darkTheme2)]",children:"*Initiative Terms & Conditions"})}):g==="promptwars2"?e(X,{to:"https://docs.google.com/document/d/e/2PACX-1vR2mr_EWJJOc0oeNs282S-6fd9JPJ7ThjrkV2vgGFGZ7b5563v8DfZHOoBYwyznGCDFymeW_kaTWJSs/pub",target:"_blank",children:e("div",{className:"max-[500px]:w-fit text-[0.625rem] underline w-full text-[var(--text2)] dark:text-[var(--darkTheme2)]",children:"*Initiative Terms & Conditions"})}):g==="promptwars3"?e(X,{to:"https://docs.google.com/document/d/e/2PACX-1vTKsZBwcCADt9JdtVlX6q2gapKWnM8jjBN2SbNi_MO-82j9atZ45XVWZ3QdqKzm-PlN3L2izWwXGxX-/pub",target:"_blank",children:e("div",{className:"max-[500px]:w-fit text-[0.625rem] underline w-full text-[var(--text2)] dark:text-[var(--darkTheme2)]",children:"*Initiative Terms & Conditions"})}):!N?.isHiddenTnC&&e("div",{className:"flex max-[500px]:flex-col gap-3 max-[500px]:flex-wrap max-[500px]:justify-start justify-between my-7",children:e(je,{onClick:()=>d(!0)})}),a?s(ke,{isOpen:a,onClose:()=>d(!1),closeOnOverlayClick:!0,customClass:"max-h-[30rem] overflow-scroll !pb-5 !pt-0 !px-10",customWidth:"max-w-3xl",headingClass:"!font-bold  w-full",children:[s("div",{className:"pt-4 bg-white sticky rounded-t-lg top-0 left-0 right-0 flex justify-between items-center mb-3",children:[e("h3",{"aria-label":"Modal Title",className:"text-lg font-semibold text-h2sSlate-700 truncate",children:"Terms and Conditions"}),e("div",{onClick:()=>d(!1),className:"cursor-pointer bg-h2sGrey-600 text-h2sGrey-900 mt-3 hover:text-h2sSlate-800 rounded-full",children:e(A,{icon:"charm:cross",className:"text-h2sGrey-100",fontSize:25})})]}),e("div",{children:e(Jt,{...i,setIsTermsOpen:d})})]}):null]})}const Zt={solutionschallenge2025:{title:"This initiative no longer exists",message:"The initiative you're looking for is no longer available or may have been removed. Please explore other available initiatives or return to the homepage."}},ei=t=>Zt[t]??null,ti=({t,confirmationModalOpen:i,setConfirmationModalOpen:n,navigate:r,eventId:c})=>{const a=ei(c);return e(R,{children:i&&e("div",{className:"fixed inset-0 z-[999] flex items-center font-openSans justify-center bg-black bg-opacity-50 backdrop-blur-2xl",onClick:u=>{u.stopPropagation()},children:s("div",{className:"bg-white min-w-[600px] py-[50px] rounded-lg shadow-2xl max-w-md mx-4 p-6 relative animate-fade-in",children:[e("div",{className:"flex justify-center mb-4",children:e("img",{src:"https://h2svision.github.io/publicAssets/vision/privateEvent.png",className:"w-[200px]"})}),e("h2",{className:"text-xl text-h6 text-h2sSlate-800 text-center mb-3 mt-6",children:a?.title?a.title:t?t("private_event_title"):"Oops! This Initiative Isn’t Live Yet"}),(!a||a.message)&&e("p",{className:"text-h2sSlate-600 text-subtitle2v1 text-center mb-6",children:a?.message?a.message:t?t("private_event_message"):"The initiative may be unpublished or temporarily unavailable. Please check back later."}),e("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:e(Y,{customClass:"max-w-[200px] w-full",onClick:()=>{r("/")},children:t?t("cEventListingHeading"):"Go to Homepage"})})]})})})};function ii({useAsComponent:t=!1,componentType:i,eventData:n,isPublic:r,eventId:c}){const{finalEventData:a,t:d,navigate:u,id:g,getBannerImages:N,getNoticeText:l,filteredChallengesCategoryData:b,filteredPrizesCategoryData:x,filteredPartnersData:h,eligibilityData:v,handleEventRegisterTrack:o,quickLinks:f,validateUser:k,isRegistrationClosed:H,isRegistrationOpen:y,isUserRegistered:P,regLink:D,regButtonText:B,registrationOverride:L,handleLike:w,handleBookmark:_,handleShare:C,regData:z,handleGetNotify:U,userEventDetails:re,setNotifyModal:me,notifyModal:te,handleConfirmNotify:ge,isDashboardEnabled:ie,redirectingAws:fe,isAccessPrivatePage:ue,setIsAccessPrivatePage:ve}=Vt({useAsComponent:t,componentType:i,eventData:n,isPublic:r,eventId:c});function xe(E){const V=G(E??null),J=G();return!!(V.isValid()&&V.isBefore(J))}const pe=xe(a?.registrationStart)||a?.isRegistrationOverride,W=(()=>{const E=a?.isRegistrationOverride||n?.isRegistrationOverride;if(!E&&!y)return{text:B||d("cRegister"),onClick:U,to:"#",disabled:!1};if(!E&&!ie&&P)return{text:d("cAlreadyRegistered"),onClick:o,to:"#",disabled:!1,className:"!cursor-not-allowed"};const V=P,J=H;let ae;V?ae=d(c==="ai-for-good"?"cDashboard":"cTeamDashboard"):!E&&J?ae=d("cRegistrationClosed"):ae=B||d("cRegisterNow");let oe="#";return t||(V?oe=`/event/${g}/dashboard/roadmap`:(E||y&&!J)&&(oe=D||k())),{text:ae,onClick:o,to:oe,disabled:!V&&!E&&J}})();return s("div",{className:"mx-auto font-openSans ",children:[fe&&e(ut,{}),ue&&e(ti,{navigate:u,eventId:g,confirmationModalOpen:ue,setConfirmationModalOpen:ve}),e(ht,{metaData:t?"":{title:a?.title??"-",favicon:a?.logo,siteName:a?.logo,ogImage:a?.logo}}),t&&n?.status==="REJECTED"&&e(Lt,{rejectionReason:n?.reason}),te?s(ke,{isOpen:te,modalTitle:d("cRegistrationsStartingSoon"),onClose:()=>{me(!1)},customClass:"modal-border",children:[e("div",{className:"flex flex-wrap text-h2sGrey-600 text-subtitle2v1 gap-x-4 mt-3",children:d("cRegistrationforthisInitiativewillstarton")+` ${G(ne
18w Date(a?.registrationStart??"-")).format("ddd DD MMM YYYY")}. `+d("cPleasecheckbacklaterorclickonthebuttonbelowtogetnotified")}),s("div",{className:"flex justify-center gap-5 my-5",children:[e(Y,{variant:"outlined",onClick:()=>{me(!1)},className:"bg-grey5 py-2 rounded-lg text-nowrap px-6 text-white uppercase text-xs",children:d("Cancel")}),e(Y,{onClick:ge,className:"bg-h2sEventPage-900 py-2 rounded-lg text-nowrap px-6 text-white uppercase text-xs",children:"Get Notified"})]})]}):e(R,{}),e("div",{className:` max-lg:mb-6 ${N()?.DESKTOP?.length>1?"mb-6":"mb-12"}`,children:N()?.DESKTOP?.length>0&&!a?.isCreateEventBannerHidden&&e(Nt,{eventData:a,useAsComponent:t,imageUrl:N()?.DESKTOP||[]})}),s("div",{className:"max-w-screen-1200 mx-auto  mb-6 max-1200:mx-[2rem]",children:[e("div",{children:e(It,{registerationStatus:{isRegistrationClosed:H,validateUser:k,isDashboardEnabled:ie,isRegistrationOpen:y,isUserRegistered:P,regLink:D,handleEventRegisterTrack:o,regButtonText:B,registrationOverride:L,useAsComponent:t,regData:z,handleGetNotify:U},handleLike:w,handleBookmark:_,handleShare:C,eventData:a,userEventDetails:re})}),!l()?.isHidden&&e(Ht,{t:d,heading:a?.title??"-",status:l()?.theme,description:l()?.description}),!v?.[0]?.isHidden&&v?.[0]?.eligibility?.length>0&&e("div",{className:"py-3 px-4 my-6 border border-h2sSlate-100 lg:hidden rounded-2xl",children:e(Be,{heading:d("cApacStringWhoCanParticipate"),data:!v?.[0]?.isHidden&&v?.[0]?.eligibility})})]}),e("div",{className:`${t?"":"sticky top-[64px]"}  bg-white z-10`,children:e("div",{className:"mt-6 max-1200:px-[2rem] max-sm:overflow-x-auto bg-white mb-6 border-t border-b border-[1px solid rgba(0, 0, 0, 0.05)]",children:e(Ot,{data:a?.sections||xt,useAsComponent:t})})}),e("div",{className:"max-w-screen-1200 mx-auto  mb-6 max-1200:mx-[2rem]",children:s("div",{className:"grid gap-4 lg:grid-cols-[2.5fr_1fr]",children:[s("div",{className:"flex flex-col gap-8 ",children:[!ie&&P?e("div",{className:"flex w-full justify-center",children:s("div",{className:" p-4 pr-8 border-h2sEventPage-600 bg-h2sGrey-50  justify-center my-4 flex gap-4  w-fit  rounded-lg  ",children:[e("div",{children:e(mt,{fontSize:36,className:"text-h2sEventPage-900 ",icon:"pepicons-print:checkmark-outlined"})}),s("div",{children:[e("p",{className:"text-title1v1 text-h2sGrey-900",children:"Thank You for registering in this initiative"}),e("p",{className:"text-h2sGrey-600 text-sm mt-2",children:"More Information will be shared soon. Stay Tuned!"})]})]})}):e(R,{}),e(Xt,{useAsComponent:t,filteredPartnersData:h,filteredPrizesCategoryData:x,filteredChallengesCategoryData:b,eventData:a,t:d})]}),e("div",{className:"flex flex-col max-lg:hidden  gap-4",children:e("div",{className:"sticky top-[140px]",children:e(zt,{registerationStatus:{isRegistrationClosed:H,handleGetNotify:U,validateUser:k,isRegistrationOpen:y,isUserRegistered:P,isDashboardEnabled:ie,regLink:D,regButtonText:B,handleEventRegisterTrack:o,registrationOverride:L,useAsComponent:t,regData:z},whoCanParticipate:!v?.[0]?.isHidden&&v?.[0]?.eligibility,t:d,eventData:a,eventId:g})})}),a?.sections?.find(E=>E?.type===T?.EVENT_SECTION_CONTACT_US)?.category?.[0]?.data?.length>0&&e("div",{className:"w-full  lg:hidden py-2   rounded-lg",children:e("div",{className:"flex gap-2 max-sm:flex-col mt-1",children:a?.sections?.find(E=>E?.type===T?.EVENT_SECTION_CONTACT_US)?.category?.[0]?.data?.filter(E=>!E.isHidden&&!E.isDeleted&&E.value)?.map((E,V)=>e("div",{className:"text-body2v1 text-h2sGrey-600 cursor-default flex ",children:E?.icon==="PHONE"?s("p",{className:"text-body2v1 flex gap-2 items-center",children:[e(Ve,{fontSize:"14"}),"+"+E?.value," "]}):s("p",{className:"text-body2v1 flex gap-2 items-center",children:[e(De,{fontSize:"14"}),E?.value," "]})},`${V}-${E?.link}-${Math.random()}`))})}),f?.length>0&&s("div",{className:" md:hidden rounded-2xl p-4 border w-full flex flex-col gap-4",children:[e("p",{className:"text-h6 text-h2sGrey-900 !font-semibold",children:d("cQuickLinks")}),e("div",{className:"flex flex-col gap-2",children:f?.map((E,V)=>e("li",{className:"text-body2v1 text-h2sGrey-600",children:e("a",{href:E?.link,target:"_blank",rel:"noreferrer",className:"text-body2v1 text-h2sEventPage-900 cursor-pointer ",children:E?.title})},V+E+Math.random()))})]}),a?.sections?.find(E=>E?.type===T?.EVENT_SECTION_CONTACT_US)?.category?.[0]?.data?.length>0&&s("div",{className:" py-3   lg:hidden gap-2 mb-2 rounded-2xl",children:[e("p",{className:"text-title1v1 text-h2sGrey-900 mb-1",children:d("cContactUs")}),e("div",{className:"flex justify-between max-sm:flex-col gap-2 mt-4",children:a?.sections?.find(E=>
18E?.type===T?.EVENT_SECTION_CONTACT_US)?.category?.[0]?.data?.filter(E=>!E.isHidden&&!E.isDeleted&&E.value)?.map((E,V)=>e("li",{className:"text-body2v1 text-h2sGrey-600 cursor-default flex",children:E?.icon==="PHONE"?s("p",{className:"text-body2v1 ",children:["Phone - +"+E?.value," "]}):s("p",{className:"text-body2v1 ",children:["Email - "+E?.value," "]})},`${V}-${E?.link}-${Math.random()}`))})]})]})}),e("div",{className:"md:hidden  bg-white sticky bottom-0 z-50 py-2 px-5",children:s("div",{className:"flex justify-between items-center gap-4",children:[s("div",{className:"  rounded-lg p-3 min-w-[60%]",children:[e("p",{className:"text-subtitle3v1 text-h2sGrey-600 uppercase",children:d(pe?"cRegistrationClosedIn":"cRegistrationStartsIn")}),e("p",{className:"text-subtitle1v1 text-h2sEventPage-900 font-bold ",children:Le(pe?a?.registrationEnd:a?.registrationStart??"-")})]}),z&&!z?.isHidden?e(Y,{customClass:`!text-captionv1 !w-fit min-w-[150px] text-center !px-6 !bg-h2sEventPage-900 !border-h2sEventPage-900 hover:scale-[1.01] !transition-scale !delay-200  ease-in-out !text-xs ${W?.className}`,color:W.disabled?"disabled":"primary",disabled:W.disabled,onClick:W.onClick,to:W.to,children:W.text}):null]})})]})}const Ei=Object.freeze(Object.defineProperty({__proto__:null,default:ii},Symbol.toStringTag,{value:"Module"}));export{ii as E,wi as a,mi as b,ui as c,hi as d,yi as e,vi as f,Mt as g,bi as h,fi as i,pi as j,Ei as k,xi as s,gi as u};

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.