PageSourceSearch

https://www.allcollegeevent.com/_next/static/chunks/6ae56c80a28ee3f6.js?dpl=dpl_CxXQ23JBb4Y3WtUrn51rUnbchbPL

js allcollegeevent.com collected 2026-09-24 14:38:29 UTC 45,266 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,285012,e=>{"use strict";e.s(["BTN_CONTINUE",0,"Continue","BTN_EMAIL_VERIFY_FAILED",0,"Try Again","BTN_EMAIL_VERIFY_SUCCESS",0,"Go to Login","BTN_OTP_RESEND",0,"Resend Code","BTN_OTP_SEND",0,"Send Code","BTN_VERIFY_DOMAIN",0,"Verify Your Domain","CONDITION_OTP_SEND",0,"Sending...","IMAGE_ALT",0,"no image","INPUT_PASSWORD",0,"password","INPUT_TEXT",0,"text","LABEL_CONFIRM_PASSWORD",0,"Confirm Password","LABEL_EMAIL",0,"Email","LABEL_LOADING",0,"Loading...","LABEL_LOADING_CITIES",0,"Loading Cities...","LABEL_LOADING_STATES",0,"Loading States...","LABEL_NAME",0,"Name","LABEL_ORG_CITY",0,"City","LABEL_ORG_COUNTRY",0,"Country","LABEL_ORG_EMAIL",0,"Domain Mail ID","LABEL_ORG_NAME",0,"Organization Name","LABEL_ORG_SELECT_CITY",0,"Select City","LABEL_ORG_SELECT_COUNTRY",0,"Select Country","LABEL_ORG_SELECT_STATE",0,"Select State","LABEL_ORG_STATE",0,"State","LABEL_ORG_STEP_ACCOUNT",0,"Account Creation","LABEL_ORG_STEP_CATEGORY",0,"Organization Category","LABEL_ORG_STEP_DETAILS",0,"Organization Details","LABEL_PASSWORD",0,"Password","LABEL_SET_NEW_PASSWORD",0,"Set new password","MSG_EMAIL_VERIFY_FAILED",0,"failed","MSG_EMAIL_VERIFY_LOADING",0,"loading","MSG_EMAIL_VERIFY_SUCCESS",0,"success","MSG_ORG_SELECT_COUNTRY",0,"Select country","MSG_ORG_SELECT_STATE",0,"Select state","MSG_VERIFY_EMAIL_SENT",0,"Link has been sent to your xyz.com domain mail id.\nPlease click and verify your account.","NO_IMAGE_FOUND_IMAGE",0,"/images/no-image-found.png","PH_CONFIRM_PASSWORD",0,"Re-enter password","PH_NAME",0,"Enter your name","PH_ORG_EMAIL",0,"Enter your domain mail id","PH_ORG_ORGANIZATION_NAME",0,"Enter Organization Name","PH_PASSWORD",0,"Enter your password","PH_PASSWORD_SIGNUP",0,"Enter password","PH_USER_EMAIL",0,"Enter your email","ROLE_ORGANIZER",0,"org","ROLE_USER",0,"user","STORAGE_TOKEN",0,"token","SUBTITLE_ORG_DETAILS",0,"Provide your organization information","SUBTITLE_ORG_LOGIN",0,"Sign in as an organizer to host and manage events.","SUBTITLE_USER_LOGIN",0,"Sign in to your user account to continue.","SUBTITLE_USER_SIGNUP",0,"Join the community and discover amazing events!","SUB_TITLE_DOMAIN_MAIL_VERIFY",0,"Link has been sent to your domain mail. Please verify your account.","SUB_TITLE_EMAIL_VERIFY",0,"Please wait while we verify your email…","SUB_TITLE_EMAIL_VERIFY_FAILED",0,"The verification link is invalid or has expired. Please request a new verification email.","SUB_TITLE_EMAIL_VERIFY_SUCCESS",0,"Your account has been successfully verified. You can now login to continue.","SUB_TITLE_OTP_SEND",0,"No worries, we'll send you a code","SUB_TITLE_PASSWORD_UPDATE_SUCCESS",0,"Your password has been updated successfully","SUB_TITLE_SET_NEW_PASSWORD",0,"Must be at least 8 characters","TEXT_FORGOT_PASSWORD",0,"Forgot Password?","TEXT_NO_ACCOUNT",0,"Don't have an account?","TEXT_SIGNIN",0,"Sign In","TEXT_SIGNUP",0,"Sign Up","TITLE_ALREADY_HAVE_ACCOUNT",0,"Already have an Account!?","TITLE_EMAIL_VERIFY",0,"Verifying your account","TITLE_EMAIL_VERIFY_FAILED",0,"Verification Failed","TITLE_EMAIL_VERIFY_SUCCESS",0,"Account Verified","TITLE_ENTER_OTP",0,"OTP VERIFICATION","TITLE_ORGA_ACCOUNT_CREATION",0,"Account Creation","TITLE_ORG_ACCOUNT_CREATION",0,"Register as Organization","TITLE_ORG_LOGIN_MAIN",0,"Organizer Login","TITLE_SET_NEW_PASSWORD",0,"Set New Password","TITLE_USER_LOGIN",0,"User Login","TITLE_USER_SIGNUP",0,"Register as User","TITLE_VERIFY_ACCOUNT",0,"Verify your Account","TOAST_ERROR_ACTION_FAILED",0,"Action failed","TOAST_ERROR_AUTH_MISSING",0,"Auth missing","TOAST_ERROR_GENERIC",0,"Failed","TOAST_ERROR_MSG_BOOKED_EVENTS_LOAD_FAILED",0,"Failed to load booked events","TOAST_ERROR_MSG_CATEGORY_MISSING",0,"Choose an Organization","TOAST_ERROR_MSG_CONFIRM_PASSWORD_REQUIRED",0,"Confirm Password is required","TOAST_ERROR_MSG_DELETE_ACCOUNT_FAILED",0,"Failed to delete account","TOAST_ERROR_MSG_EVENTS_LOAD_ERROR",0,"Error loading events","TOAST_ERROR_MSG_EVENTS_LOAD_FAILED",0,"Failed to load events","TOAST_ERROR_MSG_EVENT_CREATION_FAILED",0,"Event creation failed","TOAST_ERROR_MSG_EVENT_LIKE_FAILED",0,"Failed to like event","TOAST_ERROR_MSG_EVENT_NOT_FOUND",0,"Event not found","TOAST_ERROR_MSG_EVENT_SAVE_FAILED",0,"Failed to save event","TOAST_ERROR_MSG_FILE_TOO_LARGE",0,"File size should not exceed 5MB","TOAST_ERROR_MSG_FILL_ALL_FIELDS",0,"Fill all fields","TOAST_ERROR_MSG_GENER
1IC_ERROR",0,"Something went wrong. Please try again!","TOAST_ERROR_MSG_GOOGLE_LOGIN_FAILED",0,"Google Login Failed","TOAST_ERROR_MSG_INVALID_CREDENTIALS",0,"Invalid credentials","TOAST_ERROR_MSG_INVALID_TICKET_DATA",0,"Invalid ticket data","TOAST_ERROR_MSG_LEADERBOARD_LOAD_FAILED",0,"Failed to load leaderboard","TOAST_ERROR_MSG_LIKE_UPDATE_FAILED",0,"Failed to update like","TOAST_ERROR_MSG_LOAD_FOLLOWERS_FAILED",0,"Failed to load followers","TOAST_ERROR_MSG_LOGIN_FAILED",0,"Login Failed","TOAST_ERROR_MSG_MAX_4_IMAGES_ALLOWED",0,"Maximum 4 images allowed","TOAST_ERROR_MSG_NEW_OTP_FAILED_TO_SEND",0,"Failed to resend","TOAST_ERROR_MSG_ONLY_JPG_JPEG_PNG_SUPPORTED",0,"Only JPG, JPEG, and PNG formats are supported","TOAST_ERROR_MSG_ONLY_ORGANIZERS_CAN_CREATE_EVENTS",0,"Only organizers can create events","TOAST_ERROR_MSG_ORGANIZATION_NOT_FOUND",0,"Organization not found","TOAST_ERROR_MSG_ORGANIZATION_PROFILE_LOAD_FAILED",0,"Failed load","TOAST_ERROR_MSG_OTP_INVALID",0,"Invalid code","TOAST_ERROR_MSG_OTP_SEND_EMAIL_ERROR",0,"Email not found","TOAST_ERROR_MSG_OVERVIEW_DASHBOARD_LOAD_FAILED",0,"Unable to load overview dashboard","TOAST_ERROR_MSG_PASSWORD_MISMATCH",0,"Passwords do not match","TOAST_ERROR_MSG_PASSWORD_UPDATED_FAILED",0,"Failed to update password","TOAST_ERROR_MSG_PROFILE_LOAD_FAILED",0,"Failed load","TOAST_ERROR_MSG_PROFILE_RELOAD_FAILED",0,"Failed to reload profile","TOAST_ERROR_MSG_PROFILE_UPDATE_FAILED",0,"Profile update failed","TOAST_ERROR_MSG_ROLE_SAVE_FAILED",0,"Role save failed","TOAST_ERROR_MSG_SAVED_EVENTS_LOAD_FAILED",0,"Failed to load saved events","TOAST_ERROR_MSG_SAVE_UPDATE_FAILED",0,"Failed to update save","TOAST_ERROR_MSG_SHARE_OPTION_NOT_CONFIGURED",0,"Share option not configured","TOAST_ERROR_MSG_SIGNUP_FAILED",0,"Signup failed","TOAST_ERROR_MSG_SOMETHING_WENT_WRONG",0,"Something went wrong","TOAST_ERROR_MSG_UPDATE_FAILED",0,"Update failed","TOAST_ERROR_UPDATE_FOLLOW_STATUS",0,"Failed to update follow status","TOAST_SUCCESS_ACCOUNT_DELETED",0,"Account deleted successfully","TOAST_SUCCESS_EVENT_CREATED",0,"Your event has been successfully created. It is currently pending approval. Once approved by the ACE admin, your event will be published on the ACE application.","TOAST_SUCCESS_EVENT_LINK_COPIED",0,"Event link copied","TOAST_SUCCESS_MSG_NEW_OTP_SEND",0,"New code sent!","TOAST_SUCCESS_MSG_OTP_SEND_EMAIL",0,"Code sent to your email","TOAST_SUCCESS_MSG_OTP_VERIFIED",0,"Code verified!","TOAST_SUCCESS_MSG_PASSWORD_UPDATED_SUCCESS",0,"Password updated successfully","TOAST_SUCCESS_MSG_SIGNUP_SUCCESS",0,"Your account has been successfully registered. A verification link has been sent to your email. Please verify your email to continue.","TOAST_SUCCESS_OPENING_FACEBOOK",0,"Opening Facebook share…","TOAST_SUCCESS_OPENING_INSTAGRAM",0,"Opening Instagram page…","TOAST_SUCCESS_OPENING_LINKEDIN",0,"Opening LinkedIn…","TOAST_SUCCESS_OPENING_WHATSAPP",0,"Opening WhatsApp…","TOAST_SUCCESS_OPENING_X_TWITTER",0,"Opening X (Twitter)…","TOAST_SUCCESS_ORGANIZATION_LINK_COPIED",0,"Organization link copied","TOAST_SUCCESS_PROFILE_UPDATED",0,"Profile updated successfully","TOAST_SUCCESS_REMOVE",0,"Removed successfully","TOAST_SUCCESS_UNFOLLOW",0,"Unfollowed successfully"])},498420,e=>{e.v({bottomBar:"Footer-module__pru1la__bottomBar",bottomContainer:"Footer-module__pru1la__bottomContainer",brand:"Footer-module__pru1la__brand",brandText:"Footer-module__pru1la__brandText",col:"Footer-module__pru1la__col",contactInfo:"Footer-module__pru1la__contactInfo",contactItem:"Footer-module__pru1la__contactItem",contactLink:"Footer-module__pru1la__contactLink",container:"Footer-module__pru1la__container",facebook:"Footer-module__pru1la__facebook",instagram:"Footer-module__pru1la__instagram",linkedin:"Footer-module__pru1la__linkedin",linksGrid:"Footer-module__pru1la__linksGrid",logo:"Footer-module__pru1la__logo",main:"Footer-module__pru1la__main",rightContent:"Footer-module__pru1la__rightContent",root:"Footer-module__pru1la__root",skyline:"Footer-module__pru1la__skyline",socialIcon:"Footer-module__pru1la__socialIcon",socials:"Footer-module__pru1la__socials",twitter:"Footer-module__pru1la__twitter",youtube:"Footer-module__pru1la__youtube"})},277344,e=>{"use strict";var t=e.i(843476),s=e.i(243560),a=e.i(498420),i=e.i(522016),n=e.i(618566),r=e.i(753070);function l(){return(0,n.useRouter)(),(0,t.jsxs)("footer",{className:a.default.root,children:[(0,t.jsx)("div",{className:a.default.skyline,children:(0,t.jsx)("img",{src:"/images/footer.png",alt:"Skyline"})}),(0,t.jsx)("div",{className:a.default.main,children:(0,t.jsxs)("div",{className:a.default.container,children:[(0,t.jsxs)("div",{className:a.default.brand,children:[(0,t.jsx)("img",{src:"/images/logo.png",alt:"ACE Logo",className:a.default.logo}),(0,t.jsxs)("p",{className:a.default.brandText,children:["Life Is Full Of Events. Don’t Let Them Pass Unnoticed. ",(0,t.jsx)("span",{children:" Attend. Connect. Explore."}),"  With ",(0,t.jsx)("span",{children:"ACE"}),", Your Ultimate College Event Companion, Where You Can Discover Opportunities, Connect With Your Community And Make Every College Moment Count."]}),(0,t.jsxs)("div",{className:a.default.socials,children:[(0,t.jsx)("a",{href:"https://www.instagram.com/allcollegeevent/",target:"_blank",rel:"noreferrer",className:`${a.default.socialIcon} ${a.default.instagram}`,children:s.FOOTER_INSTA}),(0,t.jsx)("a",{href:"https://www.linkedin.com/showcase/all-college-event/posts/",target:"_blank",rel:"noreferrer",className:`${a.default.socialIcon} ${a.default.linkedin}`,children:s.FOOTER_LINKEDIN}),(0,t.jsx)("a",{href:"https://www.facebook.com/friends/?profile_id=61590949746840&notif_id=1781937641306275&n
1otif_t=friend_confirmed&ref=notif",target:"_blank",rel:"noreferrer",className:`${a.default.socialIcon} ${a.default.facebook}`,children:s.FOOTER_FACEBOOK}),(0,t.jsx)("a",{href:"https://x.com/eclearnix_888",target:"_blank",rel:"noreferrer",className:`${a.default.socialIcon} ${a.default.twitter}`,children:s.FOOTER_X}),(0,t.jsx)("a",{href:"https://www.youtube.com/@ECLearnix",target:"_blank",rel:"noreferrer",className:`${a.default.socialIcon} ${a.default.youtube}`,children:s.FOOTER_YOUTUBE})]})]}),(0,t.jsxs)("div",{className:a.default.rightContent,children:[(0,t.jsxs)("div",{className:a.default.linksGrid,children:[(0,t.jsxs)("div",{className:a.default.col,children:[(0,t.jsx)("h4",{children:"Quick Links"}),(0,t.jsxs)("ul",{children:[(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/events?type=trending",children:"Trending Events"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/events?type=featured",children:"Upcoming events"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/explore-categories",children:"Event Types"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/leaderboard",children:"Leaderboard"})})]})]}),(0,t.jsxs)("div",{className:a.default.col,children:[(0,t.jsx)("h4",{children:"Support"}),(0,t.jsxs)("ul",{children:[(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/about",children:"About us"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/faq",children:"FAQ"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/contact",children:"Contact"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/feedback",children:"Feedback"})})]})]}),(0,t.jsxs)("div",{className:a.default.col,children:[(0,t.jsx)("h4",{children:"Legal"}),(0,t.jsxs)("ul",{children:[(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/privacy-policy",children:"Privacy Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/terms-and-conditions",children:"Terms & Conditions"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/cookies",children:"Cookie Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(i.default,{href:"/disclaimer",children:"Disclaimer"})})]})]})]}),(0,t.jsx)("div",{className:a.default.contactInfo,children:(0,t.jsx)("a",{href:"mailto:[email protected]",className:a.default.contactLink,children:(0,t.jsxs)("div",{className:a.default.contactItem,children:[(0,t.jsx)(r.LuMail,{size:20}),(0,t.jsx)("span",{children:"[email protected]"})]})})})]})]})}),(0,t.jsx)("div",{className:a.default.bottomBar,children:(0,t.jsx)("div",{className:a.default.bottomContainer,children:(0,t.jsxs)("p",{children:["© ",new Date().getFullYear()," ACE – All College Event. Powered by ECLearnix Technology Solution Private Limited."]})})})]})}e.s(["default",()=>l])},534316,e=>{"use strict";var t=e.i(250233),s=e.i(276004),a=e.i(908720);let i=async()=>{let e=await (0,a.handleApi)(t.default.get(s.API_ENDPOINTS.LOCATIONS.ALL_COUNTRIES));return e?.status?e.data:[]},n=async e=>{if(!e)return[];let i=await (0,a.handleApi)(t.default.get(s.API_ENDPOINTS.LOCATIONS.COUNTRIES_STATES(e)));return i?.status?i.data:[]},r=async e=>{if(!e)return[];let i=await (0,a.handleApi)(t.default.get(s.API_ENDPOINTS.LOCATIONS.STATES_CITIES(e)));return i?.status?i.data:[]},l=async()=>{let e=await (0,a.handleApi)(t.default.get(s.API_ENDPOINTS.ANALYTICS.LOCATION_COUNTS));return e?.status?e.data:null},c=async({countryId:e,cityId:i,page:n=1})=>{let r=`?page=${n}`;e&&(r+=`&country=${e}`),i&&(r+=`&city=${i}`);let l=await (0,a.handleApi)(t.default.get(`${s.API_ENDPOINTS.ANALYTICS.LOCATION_EVENTS}${r}`));return l?.status?l:null};e.s(["getCities",0,r,"getCountries",0,i,"getLocationCounts",0,l,"getLocationEvents",0,c,"getStates",0,n])},101461,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(618566),i=e.i(705766),n=e.i(502358),r=e.i(936013),l=e.i(244127),c=e.i(841218),o=e.i(174080),d=e.i(285012),u=e.i(243560),m=e.i(486857),h=e.i(892953);let _=e=>e&&"undefined"!==e&&"null"!==e?({INR:"₹",USD:"$",EUR:"€",GBP:"£"})[e]||e:"";function E({event:e,isLiked:a,isSaved:i,likeCount:n,onLike:r,onSave:l,onClick:c,variant:E="vertical",showMatchScore:S=!0}){var p;
1let N,g,[T,A]=(0,s.useState)(!1),O=e.calendars?.[0],v=(e=>{let t=e.tickets||[];if(t.length>0){let e=t.map(e=>e.isPaid?Number(e.price):0).filter(e=>!isNaN(e));if(e.length>0)return Math.min(...e)}if(void 0!==e.minPrice&&null!==e.minPrice)return Number(e.minPrice);if(void 0!==e.price&&null!==e.price)return Number(e.price);let s=e.paidEvent;if(s){if(void 0!==s.price&&null!==s.price)return Number(s.price);if(void 0!==s.minPrice&&null!==s.minPrice)return Number(s.minPrice);if(void 0!==s.amount&&null!==s.amount)return Number(s.amount)}return null})(e),f=(e=>{let t=e.tickets||[];if(t.length>0){let e=t.find(e=>e.isPaid&&e.currency);if(e)return _(e.currency)}if(e.currency)return _(e.currency);let s=e.paidEvent;return s&&s.currency?_(s.currency):""})(e),x=0===v||null===v,y=x?"Free":`${f}${v}`,I="horizontal"===E,R=(e=>{if(!e)return"online";switch(e.toUpperCase()){case"ONLINE":default:return"online";case"OFFLINE":return"offline";case"HYBRID":return"hybrid"}})(e.mode);(e.org?.organizationName||e.organizerName||"Organizer").charAt(0).toUpperCase();let j=e.category?.name||e.categoryName||e.category,L="string"==typeof j?j:"General",C=e.matchLabel||(e.matchScore>=90?"Excellent Match":e.matchScore>=75?"Great Match":e.matchScore>=60?"Good Match":e.matchScore>=40?"Partial Match":"Low Match"),b=e.matchScore>=90?"linear-gradient(135deg, #10b981, #059669)":e.matchScore>=75?"linear-gradient(135deg, #3b82f6, #1d4ed8)":e.matchScore>=60?"linear-gradient(135deg, #f59e0b, #d97706)":e.matchScore>=40?"linear-gradient(135deg, #8b5cf6, #6d28d9)":"linear-gradient(135deg, #f43f5e, #be123c)",F=e.matchScore>=75?"WHY THIS EVENT MATCHED":"WHY THIS EVENT WAS SUGGESTED",P=()=>{(0,h.trackActivity)("EVENT_CLICK",{eventIdentity:e.identity,eventTypeIdentity:e.eventTypeIdentity,categoryIdentity:e.categoryIdentity,tags:e.tags,certIdentity:e.certIdentity,perkIdentities:e.eventPerks?.map(e=>e.perkIdentity||e.identity),accommodationIdentities:e.eventAccommodations?.map(e=>e.accommodationIdentity||e.identity),isClicked:!0}),c&&c(e.slug)},k=[];if(Array.isArray(e.matchReasons)&&e.matchReasons.length>0)k.push(...e.matchReasons);else{k.push(`❤️ ${L} — matches one of your interests`),e.location?.city?k.push(`📍 ${e.location.city} — matches your preferred city`):k.push(`📍 Online — accessible from anywhere`);let t=e.mode?e.mode.charAt(0).toUpperCase()+e.mode.slice(1).toLowerCase():"Online";k.push(`💻 ${t} — matches your preferred mode`),k.push(`🎟️ Free entry — matches your preference`)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:`event-card ${I?"horizontal-card":""}`,onClick:P,children:[(0,t.jsxs)("div",{className:"event-img-wrapper",children:[(0,t.jsx)("img",{src:Array.isArray(e.bannerImages)&&e.bannerImages[0]||e.bannerImage||d.NO_IMAGE_FOUND_IMAGE,className:"event-img",alt:e.title,loading:"lazy",style:{objectFit:"cover"}}),(0,t.jsx)("div",{className:`ec-wishlist-btn ${a?"active":""}`,onClick:t=>{t.stopPropagation(),(0,h.trackActivity)("EVENT_LIKE",{eventIdentity:e.identity,eventTypeIdentity:e.eventTypeIdentity,categoryIdentity:e.categoryIdentity,tags:e.tags,certIdentity:e.certIdentity,perkIdentities:e.eventPerks?.map(e=>e.perkIdentity||e.identity),accommodationIdentities:e.eventAccommodations?.map(e=>e.accommodationIdentity||e.identity),isLiked:!a}),r(e)},children:(0,t.jsx)(u.HEART_ICON,{active:a})}),!1!==S&&"number"==typeof e.matchScore&&e.matchScore>0&&(0,t.jsxs)("div",{className:"ec-match-badge ec-match-badge-clickable",onClick:e=>{e.stopPropagation(),A(!0)},title:"Click to see why this event matched!",style:{background:b},children:["🎯 ",e.matchScore,"% Match",(0,t.jsx)("span",{className:"ec-match-info-dot",children:"ℹ️"})]}),!I&&(0,t.jsx)("span",{className:`ec-mode-badge ${R}`,children:e.mode||"Online"})]}),(0,t.jsxs)("div",{className:"card-body",children:[(0,t.jsxs)("div",{className:"ec-title-row",children:[(0,t.jsx)("h3",{className:"card-title",title:e.title,children:e.title}),(0,t.jsx)(m.default,{text:i?"Unsave":"Save",children:(0,t.jsx)("div",{className:`ec-save-btn ${i?"active":""}`,onClick:t=>{t.stopPropagation(),(0,h.trackActivity)("EVENT_SAVE",{eventIdentity:e.identity,eventTypeIdentity:e.eventTypeIdentity,categoryIdentity:e.categoryIdentity,tags:e.tags,certIdentity:e.certIdentity,perkIdentities:e.eventPerks?.map(e=>e.perkIdentity||e.identity),accommodationIdentities:e.eventAccommodations?.map(e=>e.accommodationIdentity||e.identity),isSaved:!i}),l(e)},children:(0,t.jsx)(u.SAVEICON,{active:i})})})]}),(0,t.jsxs)("div",{className:"ec-meta-grid",children:[(0,t.jsxs)("div",{className:"ec-info-left",children:[(0,t.jsx)("span",{className:"ec-icon color-red",children:u.LOCATION_ICON}),(0,t.jsx)("span",{className:"ec-text",title:e.mode?.toUpperCase()==="ONLINE"?"Online":e.location?.city||"Online",children:e.mode?.toUpperCase()==="ONLINE"?"Online":e.location?.city||"Online"})]}),(0,t.jsx)("div",{className:"ec-info-right",children:(N=parseInt(e.viewCount??e.views??0,10))<=0||isNaN(N)?null:(0,t.jsxs)("div",{className:"ec-v
1iew-count",children:[(0,t.jsx)("span",{className:"ec-icon",style:{fontSize:"14px"},children:u.VIEW_ICON}),(0,t.jsx)("span",{className:"ec-text",children:(e=>{if(null==e||isNaN(e))return"0";let t=parseInt(e,10);return t>=1e6?(t/1e6).toFixed(1).replace(/\.0$/,"")+"M":t>=1e3?(t/1e3).toFixed(1).replace(/\.0$/,"")+"K":t.toString()})(N)})]})}),(0,t.jsxs)("div",{className:"ec-info-left",children:[(0,t.jsx)("span",{className:"ec-icon color-green",children:u.DATEICON}),(0,t.jsx)("span",{className:"ec-text",children:(p=O?.startDate)?new Date(p).toLocaleDateString("en-IN",{day:"2-digit",month:"short",year:"numeric"}):""})]}),(0,t.jsx)("div",{className:"ec-info-right",children:(0,t.jsx)("div",{className:`ec-price-label ${x?"free":"paid"}`,children:y})})]}),(0,t.jsx)("div",{className:"ec-info-row ec-meta-row-bottom",children:(g=(e=>{if(!e||"string"!=typeof e)return"general";let t=e.toLowerCase();return t.includes("academic")||t.includes("education")||t.includes("workshop")?"purple":t.includes("community")||t.includes("social")?"green":t.includes("cultural")||t.includes("art")||t.includes("music")||t.includes("entertainment")?"orange":t.includes("tech")||t.includes("hackathon")||t.includes("coding")?"blue":t.includes("sports")||t.includes("fitness")?"red":t.includes("business")||t.includes("startup")||t.includes("finance")?"pink":"general"})(L),(0,t.jsx)("div",{className:`ec-category-badge cat-${g}`,children:L}))})]})]}),T&&(0,o.createPortal)((0,t.jsx)("div",{className:"ec-match-modal-backdrop",onClick:e=>{e.stopPropagation(),A(!1)},children:(0,t.jsxs)("div",{className:"ec-match-modal-content",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"ec-match-modal-header",children:[(0,t.jsxs)("div",{className:"ec-match-modal-title-box",children:[(0,t.jsx)("span",{className:"ec-match-modal-sparkle",children:"✨"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{children:"Why This Event Matched"}),(0,t.jsx)("p",{className:"ec-match-modal-subtitle",children:"AI Personalized Recommendation"})]})]}),(0,t.jsx)("button",{className:"ec-match-modal-close",onClick:e=>{e.stopPropagation(),A(!1)},children:"✕"})]}),(0,t.jsxs)("div",{className:"ec-match-modal-body",children:[(0,t.jsxs)("div",{className:"ec-match-event-preview",children:[(0,t.jsx)("img",{src:Array.isArray(e.bannerImages)&&e.bannerImages[0]||e.bannerImage||d.NO_IMAGE_FOUND_IMAGE,alt:e.title,className:"ec-match-event-thumb",onError:e=>{e.target.src=d.NO_IMAGE_FOUND_IMAGE}}),(0,t.jsxs)("div",{className:"ec-match-event-info",children:[(0,t.jsx)("h4",{className:"ec-match-event-title",children:e.title}),(0,t.jsxs)("span",{className:"ec-match-event-cat",children:[L," • ",e.mode||"Online"]})]})]}),(0,t.jsxs)("div",{className:"ec-match-score-card",children:[(0,t.jsxs)("div",{className:"ec-match-score-header",children:[(0,t.jsxs)("span",{className:"ec-match-score-badge-lg",style:{background:b},children:["🎯 ",e.matchScore,"% Match"]}),(0,t.jsx)("span",{className:"ec-match-score-tag",children:C})]}),(0,t.jsx)("div",{className:"ec-match-progress-bg",children:(0,t.jsx)("div",{className:"ec-match-progress-fill",style:{width:`${Math.min(100,Math.max(0,e.matchScore))}%`,background:b}})})]}),(0,t.jsxs)("div",{className:"ec-match-reasons-section",children:[(0,t.jsx)("h4",{className:"ec-match-section-title",children:F}),(0,t.jsx)("ul",{className:"ec-match-reasons-list",children:k.map((e,s)=>{let a=/^(?:[\u{1F300}-\u{1F9FF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}\u{1F600}-\u{1F64F}\u{1F680}-\u{1F6FF}\u{1F1E0}-\u{1F1FF}]|❤️|📍|💻|⚡|🎟️|📜|🏢)/u.test(e.trim());return(0,t.jsxs)("li",{className:"ec-match-reason-item",children:[!a&&(0,t.jsx)("span",{className:"ec-match-check-icon",children:"✓"}),(0,t.jsx)("span",{children:e.replace(/^✓\s*/,"")})]},s)})})]})]}),(0,t.jsxs)("div",{className:"ec-match-modal-footer",children:[(0,t.jsx)("button",{className:"ec-match-view-btn",onClick:e=>{e.stopPropagation(),A(!1),P()},children:"View Event Details"}),(0,t.jsx)("button",{className:"ec-match-close-btn",onClick:e=>{e.stopPropagation(),A(!1)},children:"Close"})]})]})}),document.body)]})}var S=e.i(369620);function p({isOpen:e,onClose:a,title:i,data:n=[],onLike:r,onSave:l,onClick:o,onReachEnd:d,likedCards:u={},savedCards:m={},likeCounts:h={},auth:_,totalCount:p,showMatchScore:N=!0}
1){let[g,T]=(0,s.useState)(""),[A,O]=(0,s.useState)(n),[v,f]=(0,s.useState)(!1),[x,y]=(0,s.useState)(!1),[I,R]=(0,s.useState)(null),[j,L]=(0,s.useState)(!1),C=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(L(!1),e&&!j&&(0===p||n.length<p)){let e=C.current;e&&e.scrollHeight<=e.clientHeight&&d&&(L(!0),d())}},[n,e]),(0,s.useEffect)(()=>{let e=[...n];g&&(e=e.filter(e=>e.title.toLowerCase().includes(g.toLowerCase())||e.location?.city?.toLowerCase().includes(g.toLowerCase()))),O(e)},[n,g]),(0,s.useEffect)(()=>{if(e){let e=window.innerWidth-document.documentElement.clientWidth,t=window.scrollY,s={overflow:document.body.style.overflow,paddingRight:document.body.style.paddingRight,position:document.body.style.position,top:document.body.style.top,width:document.body.style.width,overscrollBehavior:document.body.style.overscrollBehavior};return document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top=`-${t}px`,document.body.style.width="100%",e>0&&(document.body.style.paddingRight=`${e}px`),document.body.style.overscrollBehavior="none",document.documentElement.style.overscrollBehavior="none",document.documentElement.classList.add("panel-open-freeze"),()=>{document.body.style.overflow=s.overflow,document.body.style.paddingRight=s.paddingRight,document.body.style.position=s.position,document.body.style.top=s.top,document.body.style.width=s.width,document.body.style.overscrollBehavior=s.overscrollBehavior,document.documentElement.style.overscrollBehavior="",document.documentElement.classList.remove("panel-open-freeze"),window.scrollTo(0,t)}}},[e]);let b=async e=>{if(!_?.identity){R("like"),y(!0);return}r(e)},F=async e=>{if(!_?.identity){R("save"),y(!0);return}l(e)};return e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`see-all-overlay ${e?"active":""}`,onClick:a,children:(0,t.jsxs)("div",{className:"see-all-panel",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"panel-header",children:[(0,t.jsxs)("div",{className:"header-top",children:[(0,t.jsxs)("div",{className:"title-area",children:[(0,t.jsx)("h2",{children:i}),(0,t.jsx)("span",{className:"results-count",children:g?`${A.length} Event${1!==A.length?"s":""} found`:`${"number"==typeof p?p:n.length} Event${("number"==typeof p?p:n.length)!==1?"s":""}`})]}),(0,t.jsx)("button",{className:"close-btn",onClick:a,"aria-label":"Close panel",children:(0,t.jsx)(S.IoClose,{size:24})})]}),(0,t.jsx)("div",{className:"header-filters",children:(0,t.jsxs)("div",{className:"seeall-search-box",children:[(0,t.jsx)(S.IoSearchOutline,{className:"search-icon"}),(0,t.jsx)("input",{type:"text",placeholder:"Search by title or location...",value:g,onChange:e=>T(e.target.value)})]})})]}),(0,t.jsxs)("div",{className:"panel-content",onScroll:e=>{let{scrollTop:t,scrollHeight:s,clientHeight:a}=e.target;j||p>0&&n.length>=p||s-t<=a+100&&d&&(L(!0),d())},ref:C,children:[A.length>0?(0,t.jsx)("div",{className:"events-grid",children:A.map((e,s)=>(0,t.jsx)("div",{className:"grid-item-fade",style:{animationDelay:`${40*s}ms`},children:(0,t.jsx)(E,{event:e,isLiked:u[e.identity],isSaved:m[e.identity],likeCount:h[e.identity],onLike:b,onSave:F,onClick:o,showMatchScore:N})},e.identity))}):(0,t.jsx)("div",{className:"empty-state",children:(0,t.jsx)("p",{children:"No events found matching your search."})}),j&&(0,t.jsxs)("div",{className:"panel-loading-footer",children:[(0,t.jsx)("div",{className:"panel-mini-spinner"}),(0,t.jsx)("span",{children:"Loading more events..."})]})]})]})}),(0,t.jsx)(c.default,{open:x,onClose:()=>{y(!1),R(null)},defaultMode:"login"})]}):null}var N=e.i(114674);function g({title:e,data:o=[],des:d,loading:u=!1,onReachEnd:h,onSeeAll:_,totalCount:g,showMatchScore:T=!0}){let A=(0,a.useRouter)(),O=(0,s.useRef)(null),{setLoading:v}
1=(0,n.useLoading)(),[f,x]=(0,s.useState)(null),[y,I]=(0,s.useState)(!1),[R,j]=(0,s.useState)(!1),[L,C]=(0,s.useState)(null),[b,F]=(0,s.useState)(!0),[P,k]=(0,s.useState)(!1),[w,D]=(0,s.useState)(!1),[M,G]=(0,s.useState)(0),[U,B]=(0,s.useState)(!1),[V,$]=(0,s.useState)({}),[W,z]=(0,s.useState)({}),[Y,H]=(0,s.useState)({});(0,s.useEffect)(()=>{let e=(0,l.isUserLoggedIn)();I(e),e&&x((0,l.getAuthFromSession)())},[]),(0,s.useEffect)(()=>{requestAnimationFrame(()=>B(!0))},[]);let K=(0,s.useCallback)(()=>{let e=O.current;if(!e)return;let t=e.scrollLeft<=4,s=Math.ceil(e.scrollLeft+e.clientWidth)>=e.scrollWidth-4;F(t),k(s);let a=e.scrollWidth-e.clientWidth;G(a>0?e.scrollLeft/a*100:0)},[]);(0,s.useEffect)(()=>{let e=O.current;if(e)return e.addEventListener("scroll",K,{passive:!0}),K(),()=>e.removeEventListener("scroll",K)},[o,K]),(0,s.useEffect)(()=>{let e={},t={},s={};o.forEach(a=>{e[a.identity]=!!a.isLiked,t[a.identity]=!!a.isSaved,s[a.identity]=a.likeCount||0}),$(e),z(t),H(s)},[o]);let q=async e=>{if(!y||!f?.identity){C("like"),j(!0);return}let t=e.identity,s=V[t];$(e=>({...e,[t]:!s})),H(e=>({...e,[t]:s?(e[t]||1)-1:(e[t]||0)+1}));let a=await (0,r.likeEventApi)({eventIdentity:t,userIdentity:f.identity.identity});a?.status||($(e=>({...e,[t]:s})),H(e=>({...e,[t]:e[t]})),i.default.error("Failed to update like."))},Z=async e=>{if(!y||!f?.identity){C("save"),j(!0);return}let t=e.identity,s=W[t];z(e=>({...e,[t]:!s}));let a=await (0,r.saveEventApi)({eventIdentity:t,userIdentity:f.identity.identity});a?.status||(z(e=>({...e,[t]:s})),i.default.error("Failed to save event."))},X=e=>{e&&A.push(`/events/${e}`)};return!U||u?(0,t.jsxs)("section",{className:`event-slider-section ${U?"sl-mounted":""}`,children:[(0,t.jsx)("div",{className:"slider-header",children:(0,t.jsx)("div",{className:"slider-title-group",children:(0,t.jsx)("h2",{className:"land-title",children:e})})}),(0,t.jsx)("div",{style:{marginTop:16},children:(0,t.jsx)("div",{className:"slider-track",children:[void 0,void 0,void 0,void 0].map((e,s)=>(0,t.jsx)("div",{className:"skeleton-card",style:{animationDelay:`${.12*s}s`}},s))})})]}):U&&!u&&0===o.length?(0,t.jsxs)("section",{className:`event-slider-section ${U?"sl-mounted":""}`,children:[(0,t.jsx)("div",{className:"slider-header",children:(0,t.jsx)("div",{className:"slider-title-group",children:(0,t.jsx)("h2",{className:"land-title",children:e})})}),(0,t.jsx)("div",{style:{marginTop:16},className:"slider-track-wrap",children:(0,t.jsxs)("div",{className:"slider-state-empty",children:[(0,t.jsx)("div",{className:"sl-empty-icon",children:(0,t.jsx)(S.IoCalendarOutline,{})}),(0,t.jsx)("p",{style:{margin:0,fontWeight:700},children:"No events found"}),(0,t.jsx)("p",{style:{margin:0,fontSize:13,color:"var(--sl-muted2)"},children:"Check back later for upcoming events"})]})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("section",{className:`event-slider-section ${U?"sl-mounted":""}`,children:[(0,t.jsxs)("div",{className:"slider-header",children:[(0,t.jsxs)("div",{className:"slider-title-group",children:[(0,t.jsx)("h2",{className:"land-title",children:e}),(0,t.jsxs)("div",{className:"ec-header-meta",children:[(0,t.jsxs)("span",{className:"slider-count-chip",children:[(0,t.jsx)(S.IoCalendarOutline,{size:12}),"number"==typeof g?g:o.length," Event",("number"==typeof g?g:o.length)!==1?"s":""]}),d&&(0,t.jsx)("p",{className:"land-desc",children:d})]})]}),(0,t.jsx)(m.default,{text:"View all events",children:(0,t.jsxs)("button",{className:"see-all-btn",onClick:()=>{_?_():D(!0)},children:["See all ",(0,t.jsx)(N.HiOutlineArrowRight,{size:14})]})})]}),(0,t.jsxs)("div",{className:`slider-track-wrap ${b?"at-start":""} ${P?"at-end":""}`,children:[(0,t.jsx)("div",{className:"slider-track",ref:O,children:o.map((e,s)=>(0,t.jsx)("div",{style:{opacity:0,animation:`slCardIn 0.42s cubic-bezier(0.22,1,0.36,1) ${55*s}ms forwards`},children:(0,t.jsx)(E,{event:e,isLiked:V[e.identity],isSaved:W[e.identity],likeCount:Y[e.identity],onLike:q,onSave:Z,onClick:X,showMatchScore:T})},e.identity))}),(0,t.jsx)("button",{type:"button",className:"track-nav track-nav--left",onClick:()=>{let e=O.current;if(!e)return;let t=e.querySelector('[class*="event-card"]')?.clientWidth||300;e.scrollBy({left:-(t+16),behavior:"smooth"})}
1,disabled:b,"aria-label":"Previous",children:(0,t.jsx)(S.IoChevronBackOutline,{size:20})}),(0,t.jsx)("button",{type:"button",className:"track-nav track-nav--right",onClick:()=>{let e=O.current;if(!e)return;let t=e.querySelector('[class*="event-card"]')?.clientWidth||300;e.scrollBy({left:t+16,behavior:"smooth"}),setTimeout(()=>{Math.ceil(e.scrollLeft+e.clientWidth)>=e.scrollWidth-4&&h&&h()},420)},disabled:P,"aria-label":"Next",children:(0,t.jsx)(S.IoChevronForwardOutline,{size:20})})]})]}),(0,t.jsx)(c.default,{open:R,onClose:()=>{j(!1),C(null)},defaultMode:"login"}),(0,t.jsx)(p,{isOpen:w,onClose:()=>D(!1),title:e,data:o,onLike:q,onSave:Z,onClick:X,onReachEnd:h,likedCards:V,savedCards:W,likeCounts:Y,auth:f,totalCount:g,showMatchScore:T})]})}e.s(["default",()=>g],101461)},978004,898724,e=>{"use strict";var t=e.i(250233),s=e.i(553596),a=e.i(276004),i=e.i(908720),n=e.i(244127);let r=async({limit:e=10,offset:r=0}={})=>{let l=a.API_ENDPOINTS.AI.PERSONALIZED(e,r);return(0,n.isUserLoggedIn)()?(0,i.handleApi)(s.default.get(l)):(0,i.handleApi)(t.default.get(l))},l=async({query:e="",limit:r=10,offset:l=0}={})=>{let c=(0,n.isUserLoggedIn)()?s.default:t.default;return(0,i.handleApi)(c.post(a.API_ENDPOINTS.AI.SMART_SEARCH,{query:e,limit:r,offset:l}))};e.s(["getPersonalizedEventsApi",0,r,"smartSearchApi",0,l],978004);var c=e.i(843476),o=e.i(271645),d=e.i(114674),u=e.i(369620),m=e.i(705766);let h=[{label:"Intent Parsing",text:"Zuzu AI is understanding your search intent & query filters..."},{label:"Vector Search",text:"Searching semantic embeddings & event database..."},{label:"Ranking Events",text:"Selecting & ranking the highest quality matching events..."}],_=[{icon:"🔥",text:"Hackathons in Coimbatore",bg:"#fff7ed",color:"#c2410c",border:"#ffedd5"},{icon:"⚡",text:"Free Online Tech Workshops",bg:"#faf5ff",color:"#7e22ce",border:"#f3e8ff"},{icon:"🎵",text:"Cultural & Music Festivals",bg:"#eff6ff",color:"#1d4ed8",border:"#dbeafe"},{icon:"🤖",text:"Robotics Competitions",bg:"#f5f3ff",color:"#6d28d9",border:"#ede9fe"},{icon:"💼",text:"Startup & Finance Summits",bg:"#fffbe0",color:"#b45309",border:"#fef3c7"}];function E({initialQuery:e="",onSearchResults:t,onSearchStart:s,onClear:a,showPopularSearches:i=!0}){let[n,r]=(0,o.useState)(e||""),[E,S]=(0,o.useState)(!1),[p,N]=(0,o.useState)(!1),[g,T]=(0,o.useState)(0),[A,O]=(0,o.useState)(null),v=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e;return p?(T(0),e=setInterval(()=>{T(e=>(e+1)%h.length)},1200)):T(0),()=>clearInterval(e)},[p]),(0,o.useEffect)(()=>{void 0!==e&&e!==b.current&&r(e)},[e]);let[f,x]=(0,o.useState)(!1),[y,I]=(0,o.useState)("permission"),[R,j]=(0,o.useState)("other"),[L,C]=(0,o.useState)("localhost:3000");(0,o.useEffect)(()=>{let e,t,s;j((e=window.navigator,t=(e.userAgentData?.platform||e.platform||"").toLowerCase(),s=(e.userAgent||"").toLowerCase(),t.includes("win")||s.includes("windows")?"windows":t.includes("mac")||s.includes("macintosh")||s.includes("mac os")?"mac":"other")),C(window.location.host||"localhost:3000")},[]);let b=(0,o.useRef)(n);(0,o.useEffect)(()=>{b.current=n},[n]),(0,o.useEffect)(()=>{{let e=window.SpeechRecognition||window.webkitSpeechRecognition;if(e){let t=new e;t.continuous=!1,t.interimResults=!0,t.lang="en-US",t.onresult=e=>{r(Array.from(e.results).map(e=>e[0].transcript).join(""))},t.onerror=e=>{S(!1),m.default.dismiss("voice-toast"),"not-allowed"===e.error||"service-not-allowed"===e.error?(I("permission"),x(!0)):"no-speech"===e.error?(0,m.default)("No speech detected. Please try speaking again.",{icon:"🎙️"}):"audio-capture"===e.error?(I("not-found"),x(!0)):"aborted"!==e.error&&m.default.error("Voice search error. Please try typing your search.")},t.onend=()=>{S(!1),m.default.dismiss("voice-toast"),b.current&&b.current.trim().length>0&&P()},v.current=t}}},[]);let F=async()=>{if(!v.current)return void m.default.error("Voice search is not supported in your browser.");if(E){try{v.current.stop()}catch(e){}S(!1),m.default.dismiss("voice-toast");return}x(!1);try{if("undefined"!=typeof navigator&&navigator.mediaDevices?.getUserMedia){let e=await navigator.mediaDevices.getUserMedia({audio:!0});setTimeout(()=>
1{e.getTracks().forEach(e=>e.stop())},1e3)}r(""),v.current.start(),S(!0),m.default.success("Listening... Speak your search query now!",{icon:"🎙️",id:"voice-toast",duration:8e3})}catch(t){console.warn("[VoiceSearch] Microphone access error:",t?.name||t?.message||t),S(!1),m.default.dismiss("voice-toast");let e=t?.name||"";"NotFoundError"===e||"DevicesNotFoundError"===e?(I("not-found"),x(!0)):"SecurityError"===e?(I("security"),m.default.error("Microphone access requires a secure connection (HTTPS or localhost).")):"NotReadableError"===e||"TrackStartError"===e?(I("in-use"),m.default.error("Microphone is currently in use by another application (e.g. Zoom or Teams).")):(I("permission"),x(!0))}},P=async e=>{e&&e.preventDefault();let a=n.trim();if(a){N(!0),O(null),s&&s();try{let e=await l({query:a}),s=[],i=null;Array.isArray(e?.data)?(s=e.data,i=e?.meta?.parsedFilters||null):Array.isArray(e?.data?.events)?(s=e.data.events,i=e?.data?.aiParsedFilters||e?.meta?.parsedFilters||null):Array.isArray(e?.events)&&(s=e.events,i=e?.aiParsedFilters||null),O(i),t&&t(s,a,i),0===s.length&&m.default.error("No events found for this query.")}catch(e){console.error("[AISearchBar] Smart search error:",e),m.default.error("AI Search failed. Please try again.")}finally{N(!1)}}};return(0,c.jsxs)("div",{className:"ai-search-wrapper",children:[(0,c.jsxs)("form",{className:`ai-search-box ${p?"is-loading":""} ${E?"is-listening":""}`,onSubmit:P,children:[(0,c.jsx)("div",{className:"ai-sparkle-icon",children:(0,c.jsx)(d.HiSparkles,{className:"sparkle-anim"})}),(0,c.jsx)("input",{type:"text",value:n,onChange:e=>r(e.target.value),placeholder:E?"Listening to your voice...":"Search with AI... (e.g. Tech hackathons in Coimbatore next weekend)",className:"ai-search-input",maxLength:200}),n&&(0,c.jsxs)("span",{className:`ai-char-counter ${n.length>=200?"limit-reached":n.length>=170?"limit-warning":""}`,children:[n.length,"/200"]}),n&&(0,c.jsx)("button",{type:"button",className:"ai-clear-btn",onClick:()=>{r(""),O(null),a&&a()},title:"Clear search",children:(0,c.jsx)(u.IoCloseCircle,{size:18})}),(0,c.jsx)("div",{className:"ai-search-divider"}),(0,c.jsx)("button",{type:"button",className:`ai-mic-btn ${E?"active":""}`,onClick:F,title:E?"Stop Listening":"AI Voice Search",children:E?(0,c.jsx)(d.HiOutlineStop,{size:18}):(0,c.jsx)(d.HiMicrophone,{size:18})}),(0,c.jsx)("button",{type:"submit",className:"ai-submit-btn",disabled:p||!n.trim(),children:p?(0,c.jsx)("span",{className:"ai-spinner"}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(u.IoSearchOutline,{size:16}),(0,c.jsx)("span",{children:"Search"}),(0,c.jsx)(d.HiArrowRight,{size:16})]})})]}),i&&(0,c.jsxs)("div",{className:"popular-searches-bar",children:[(0,c.jsxs)("div",{className:"popular-title-chip",children:[(0,c.jsx)(d.HiOutlineArrowTrendingUp,{size:14}),(0,c.jsx)("span",{children:"Popular searches"})]}),(0,c.jsx)("div",{className:"popular-tags-list",children:_.map((e,a)=>(0,c.jsxs)("button",{type:"button",className:"popular-tag-btn",style:{backgroundColor:e.bg,borderColor:e.border},onClick:()=>{var a;r(a=e.text),N(!0),O(null),s&&s(),l({query:a}).then(e=>{let s=[],i=null;Array.isArray(e?.data)?(s=e.data,i=e?.meta?.parsedFilters||null):Array.isArray(e?.data?.events)?(s=e.data.events,i=e?.data?.aiParsedFilters||e?.meta?.parsedFilters||null):Array.isArray(e?.events)&&(s=e.events,i=e?.aiParsedFilters||null),O(i),t&&t(s,a,i)}).catch(e=>{console.error("[AISearchBar] Smart search error:",e),m.default.error("AI Search failed. Please try again.")}).finally(()=>{N(!1)})},children:[(0,c.jsx)("span",{className:"tag-emoji",children:e.icon}),(0,c.jsx)("span",{className:"tag-text",children:e.text})]},a))})]}),p&&(0,c.jsxs)("div",{className:"ai-loading-card",children:[(0,c.jsx)("div",{className:"ai-loading-shimmer-bar"}),(0,c.jsxs)("div",{className:"ai-loading-content",children:[(0,c.jsxs)("div",{className:"ai-loading-orb-container",children:[(0,c.jsx)("div",{className:"ai-loading-orb",children:(0,c.jsx)(d.HiSparkles,{className:"ai-loading-sparkle-icon"})}),(0,c.jsx)("div",{className:"ai-loading-pulse-ring"})]}),(0,c.jsxs)("div",{className:"ai-loading-info",children:[(0,c.jsxs)("div",{className:"ai-loading-top-row",children:[(0,c.jsx)("span",{className:"ai-loading-badge",children:"⚡ Zuzu AI Engine"}),(0,c.jsxs)("span",{className:"ai-loading-step-counter",children:["Stage ",g+1," of 3"]})]}),(0,c.jsx)("div",{className:"ai-loading-text-wrapper",children:(0,c.jsx)("p",{className:"ai-loading-status-text",children:h[g]?.text},g)})]})]}),(0,c.jsxs)("div",{className:"ai-loading-progress-track",children:[(0,c.jsx)("div",{className:`ai-loading-progress-segment ${g>=0?"active":""}`}),(0,c.jsx)("div",{className:`ai-loading-progress-segment ${g>=1?"active":""}`}),(0,c.jsx)("div",{className:`ai-loading-progress-segment ${g>=2?"active":""}`})]})]}),f&&(0,c.jsx)("div",{className:"mic-guide-modal-overlay",onClick:()=>x(!1),children:(0,c.jsxs)("div",{className:"mic-guide-modal-card",onClick:e=>e.stopPropagation(),children:[(0,c.jsxs)("div",{className:"mic-guide-header",children:[(0,c.jsx)("div",{className:"mic-guide-icon-badge",children:"🎙️"}),(0,c.jsx)("h3",{children:"not-found"===y?"Microphone Not Detected":"Enable Microphone Access"}),(0,c.jsx)("button",{className:"mic-guide-close",onClick:()=>x(!1),children:(0,c.jsx)(u.IoCloseCircle,{size:22})})]}),(0,c.jsx)("div",{className:"mic-guide-body",children:"not-found"===y?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:"No microphone hardware was detected on your system. Please connect a microphone to your device and try again."}),(0,c.jsxs)("div",{className:"mic-guide-steps",children:[(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"1"}),(0,c.jsx)("span",{children:"Plug in an internal or external microphone device."})]}),(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"2"}),(0,c.jsxs)("span",{children:["Click the ",(0,c.jsx)("strong",{children:"Try Again"})," button below once connected."]})]})]})]}):"windows"===R?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:"Microphone access is blocked. Please allow microphone access in Windows privacy settings and Chrome site settings."}),(0,c.jsxs)("div",{className:"mic-guide-steps",children:[(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"1"}),(0,c.jsxs)("span",{children:["Open ",(0,c.jsx)("strong",{children:"Windows Settings ➔ Privacy & security ➔ Microphone"}),"."]})]}),(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"2"}),(0,c.jsxs)("span",{children:["Turn ",(0,c.jsx)("strong",{children:"ON"})," ",(0,c.jsx)("em",{children:"Microphone access"})," and turn ",(0,c.jsx)("strong",{children:"ON"})," ",(0,c.jsx)("em",{children:"Let desktop apps access your microphone"})," (ensuring ",(0,c.jsx)("strong",{children:"Google Chrome"})," is enabled)."]})]}),(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"3"}),(0,c.jsxs)("span",{children:["Click the tune/lock icon 🔒 on the left side of Chrome's address bar next to ",(0,c.jsx)("code",{children:L})," (or open ",(0,c.jsx)("code",{children:"chrome://settings/content/microphone"}),") and set ",(0,c.jsx)("strong",{children:"Microphone"})," to ",(0,c.jsx)("strong",{children:"Allow"}),"."]})]})]})]}):"mac"===R?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:"Microphone access is blocked. Please allow microphone access in Mac privacy settings and Chrome site settings."}),(0,c.jsxs)("div",{className:"mic-guide-steps",children:[(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"1"}),(0,c.jsxs)("span",{children:["Open ",(0,c.jsx)("strong",{children:"Mac System Settings ➔ Privacy & Security ➔ Microphone"})," and make sure ",(0,c.jsx)("strong",{children:"Google Chrome"})," is turned ",(0,c.jsx)("strong",{children:"ON"}),"."]})]}),(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"2"}),(0,c.jsxs)("span",{children:["Click the tune/lock icon 🔒 on the left side of Chrome's address bar next to ",(0,c.jsx)("code",{children:L})," (or open ",(0,c.jsx)("code",{children:"chrome://settings/content/microphone"}),") and clear any blocked rules for ",(0,c.jsx)("code",{children:L}),"."]})]})]})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:"Microphone access is blocked by your operating system or browser settings."}),(0,c.jsxs)("div",{className:"mic-guide-steps",children:[(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"1"}),(0,c.jsx)("span",{children:"Ensure your operating system allows Google Chrome to access the microphone."})]}),(0,c.jsxs)("div",{className:"mic-step",children:[(0,c.jsx)("span",{className:"mic-step-num",children:"2"}),(0,c.jsxs)("span",{children:["Click the tune/lock icon 🔒 in Chrome's address bar next to ",(0,c.jsx)("code",{children:L})," (or open ",(0,c.jsx)("code",{children:"chrome://settings/content/microphone"}),") and set ",(0,c.jsx)("strong",{children:"Microphone"})," to ",(0,c.jsx)("strong",{children:"Allow"}),"."]})]})]})]})}),(0,c.jsx)("div",{className:"mic-guide-footer",children:(0,c.jsx)("button",{className:"mic-guide-action-btn",onClick:()=>{x(!1),F()},children:"I've Allowed Microphone — Try Again"})})]})})]})}e.s(["default",()=>E],898724)}]);

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.