https://syncai.ai/_next/static/chunks/17481-df32d6cb9982b3f2.js?dpl=dpl_3ZqYPPBCqtmc1ZDncBsD4JRaA4uj
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17481],{4474:(e,t,r)=>{r.d(t,{$:()=>o});var n=r(95155),a=r(12115),s=r(91337);let o=a.forwardRef(({className:e,variant:t="default",size:r="default",...a},o)=>(0,n.jsx)("button",{className:(0,s.cn)("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{"bg-primary text-primary-foreground hover:bg-primary/90":"default"===t,"bg-destructive text-destructive-foreground hover:bg-destructive/90":"destructive"===t,"border border-input bg-background hover:bg-accent hover:text-accent-foreground":"outline"===t,"bg-secondary text-secondary-foreground hover:bg-secondary/80":"secondary"===t,"hover:bg-accent hover:text-accent-foreground":"ghost"===t,"text-primary underline-offset-4 hover:underline":"link"===t},{"h-10 px-4 py-2":"default"===r,"h-9 rounded-md px-3":"sm"===r,"h-11 rounded-md px-8":"lg"===r,"h-10 w-10":"icon"===r},e),ref:o,...a}));o.displayName="Button"},20404:(e,t,r)=>{function n(e,t="/map"){return!e||!e.startsWith("/")||e.startsWith("//")||e.includes("\\")||/[\u0000-\u001f\u007f]/.test(e)?t:e}function a(e,t={}){let r=new URLSearchParams,s=t.email?.trim();s&&r.set("email",s),t.returnUrl&&r.set("returnUrl",n(t.returnUrl)),t.next&&r.set("next",n(t.next)),t.message&&r.set("message",t.message);let o=r.toString();return o?`${e}?${o}`:e}r.d(t,{Z:()=>n,i:()=>a})},20812:(e,t,r)=>{r.d(t,{LocationProvider:()=>c,z:()=>u});var n=r(95155),a=r(12115),s=r(88034),o=r(14769),i=r(810);let l=(0,a.createContext)({userLocation:null,permissionStatus:"prompt",isSharing:!1,sharingMode:"none",requestPermission:async()=>!1,toggleSharing:()=>{},setSharingMode:()=>{},sharingModeChangeCount:0,currentUser:null,currentEventId:null,setCurrentEventId:()=>{},deviceHeading:null,locationAccuracy:null,locationSpeed:null,updateLocationSettings:()=>{},locationUpdateInterval:1e4,lastLocationUpdate:null,forceLocationUpdate:async()=>{throw Error("LocationProvider is not mounted")}}),u=()=>{let e=(0,a.useContext)(l);if(!e)throw Error("useLocation must be used within a LocationProvider");return e},c=({children:e})=>{let[t,r]=(0,a.useState)(null),[u,c]=(0,a.useState)("prompt"),[d,g]=(0,a.useState)(!1),[p,m]=(0,a.useState)("none"),[h,S]=(0,a.useState)(0),[T,I]=(0,a.useState)(null),[x,f]=(0,a.useState)(null),[v,y]=(0,a.useState)(null),[_,E]=(0,a.useState)(null),[N,C]=(0,a.useState)(1e4),[O,R]=(0,a.useState)(null),[w,k]=(0,a.useState)(5),D=(0,a.useRef)(null),j=(0,a.useRef)(null),b=(0,a.useRef)(null),A=(0,a.useRef)(!1),{currentUser:P,user:U}=(0,o.A)();(0,a.useEffect)(()=>{A.current=d&&"none"!==p},[d,p]);let L=(0,a.useCallback)(async(e,t)=>{if(P){if(!U)return void await i.c.updateLocation(e,t);await (0,s.YT)(U.id,e,t)}},[U,P]),G=(0,a.useCallback)(async(e,t)=>{if(!P)return;if(!U)return void await i.c.setLocationSharing(e);let r={location_sharing_enabled:e,location_sharing_mode_v2:e?"event"===t?"event_only":"on_allowed":"off",updated_at:new Date().toISOString()},{data:n,error:a}=await s.ND.from("user_privacy_settings").update(r).eq("user_id",U.id).select("user_id");if(a)throw a;if(!n||0===n.length){let{error:e}=await s.ND.from("user_privacy_settings").insert({user_id:U.id,...r});if(e)throw e}if(e){let{error:e}=await s.ND.from("users").update({share_location:!0,sharing_mode:"event"===t?"event":"exact"}).eq("id",U.id);if(e)throw e}else{let e=await (0,s.ws)(U.id);if(!e.success)throw e.error;let{error:t}=await s.ND.from("users").update({sharing_mode:"none"}).eq("id",U.id);if(t)throw t}},[U,P]),M=(0,a.useCallback)(async()=>{if("function"==typeof DeviceOrientationEvent.requestPermission)try{await DeviceOrientationEvent.requestPermission()}catch(e){}if(!navigator.geolocation)return c("denied"),!1;try{if(navigator.permissions){let e=await navigator.permissions.query({name:"geolocation"});if("denied"===e.state)return c("denied"),!1}return new Promise(e=>{D.current=navigator.geolocation.watchPosition(async t=>{let n={lat:t.coords.latitude,lng:t.coords.longitude};if(r(n),y(t.coords.accuracy),E(t.coords.speed),c("granted"),P&&A.current)try{await L(n.lat,n.lng)}catch(e){}"granted"!==u&&e(!0)},t=>{t.code===t.PERMISSION_DENIED&&c("denied"),e(!1)},{enableHighAccuracy:w<=10,timeout:1e4,maximumAge:5e3*(w>20)})})}catch(e){return c("denied"),!1}},[P,u,L,w]),z=(0,a.useCallback)(async()=>
1{if(!P||U&&P.id!==U.id)return;let e=!0===P.share_location;e&&!d?await M()&&(g(!0),m("all")):!e&&d&&(g(!1),m("none"))},[U,P,d,M]);(0,a.useEffect)(()=>{P&&z()},[P,z]),(0,a.useEffect)(()=>{let e=e=>{null!==e.alpha&&f(e.webkitCompassHeading||e.alpha)};return window.DeviceOrientationEvent&&(j.current=e,window.addEventListener("deviceorientation",e)),()=>{j.current&&window.removeEventListener("deviceorientation",j.current)}},[]),(0,a.useEffect)(()=>{d||null===D.current||(navigator.geolocation.clearWatch(D.current),D.current=null)},[d]);let B=(0,a.useCallback)(async()=>{d?(g(!1),m("none"),r(null),null!==D.current&&(navigator.geolocation.clearWatch(D.current),D.current=null),await G(!1,"none")):await M()&&(g(!0),m("all"),await G(!0,"all"))},[d,M,G]),H=(0,a.useCallback)(async e=>{m(e),S(e=>e+1),"none"===e?(g(!1),r(null),null!==D.current&&(navigator.geolocation.clearWatch(D.current),D.current=null),await G(!1,"none")):"none"===p?await M()?(g(!0),await G(!0,e)):m("none"):await G(!0,e)},[p,M,G]),J=(0,a.useCallback)((e,t)=>{k(e),C(t),d&&null!==D.current&&(navigator.geolocation.clearWatch(D.current),M())},[d,M]),K=(0,a.useCallback)(async()=>new Promise((e,t)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(async t=>{let n={lat:t.coords.latitude,lng:t.coords.longitude};if(r(n),y(t.coords.accuracy),E(t.coords.speed),R(new Date),P&&A.current)try{await L(n.lat,n.lng)}catch(e){}e(n)},e=>{t(e)},{enableHighAccuracy:w<=10,timeout:1e4,maximumAge:0}):t(Error("Geolocation not supported"))}),[P,w,L]);return(0,a.useEffect)(()=>{t&&R(new Date)},[t]),(0,a.useEffect)(()=>()=>{null!==D.current&&navigator.geolocation.clearWatch(D.current),null!==b.current&&clearInterval(b.current)},[]),(0,n.jsx)(l.Provider,{value:{userLocation:t,permissionStatus:u,isSharing:d,sharingMode:p,requestPermission:M,toggleSharing:B,setSharingMode:H,sharingModeChangeCount:h,currentUser:P,currentEventId:T,setCurrentEventId:I,deviceHeading:x,locationAccuracy:v,locationSpeed:_,updateLocationSettings:J,locationUpdateInterval:N,lastLocationUpdate:O,forceLocationUpdate:K},children:e})}},22574:(e,t,r)=>{r.d(t,{D:()=>i,ThemeProvider:()=>o});var n=r(95155),a=r(12115);let s=(0,a.createContext)(void 0);function o({children:e}){let[t,r]=(0,a.useState)("system"),[i,l]=(0,a.useState)("light"),[u,c]=(0,a.useState)(!1);return(0,a.useEffect)(()=>
1{l(document.documentElement.classList.contains("dark")?"dark":"light");try{let e=localStorage.getItem("theme");e&&["light","dark","system"].includes(e)?r(e):r("system")}catch(e){r("system")}c(!0)},[]),(0,a.useEffect)(()=>{if(!u)return;let e=window.document.documentElement,r=t=>{let r=t?"dark":"light";e.classList.contains(r)||(e.classList.remove(t?"light":"dark"),e.classList.add(r)),l(r),e.style.colorScheme=r};if("system"===t){let e=window.matchMedia("(prefers-color-scheme: dark)");r(e.matches);let t=e=>{r(e.matches)};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}r("dark"===t);try{localStorage.setItem("theme",t)}catch(e){}},[t,u]),(0,a.useEffect)(()=>{window.document.documentElement.style.colorScheme=i},[i]),(0,n.jsx)(s.Provider,{value:{theme:t,setTheme:r,resolvedTheme:i},children:e})}function i(){let e=(0,a.useContext)(s);if(void 0===e)throw Error("useTheme must be used within a ThemeProvider");return e}},42356:(e,t,r)=>{r.d(t,{AY:()=>g,gm:()=>c});var n=r(95155),a=r(12115),s=r(73321),o=r(80156),i=r(49790),l=r(56945),u=r(41734);let c=(0,a.createContext)(null),d=5e3;function g({children:e}){let t=(0,s.usePathname)(),r="/chat"===t,a=t.includes("/events/")&&t.split("/").length>2,o=t.startsWith("/auth/");return r||a||o?(0,n.jsx)(c.Provider,{value:{tourState:{run:!1,stepIndex:0,steps:[],tourType:"nonSignedIn",isNavigating:!1},startTour:()=>{},stopTour:()=>{},resetTour:()=>{},nextStep:()=>{},prevStep:()=>{},goToStep:()=>{},shouldShowTourButton:!1,isTourActive:!1},children:e}):(0,n.jsx)(m,{children:e})}function p(){try{if(localStorage.getItem("tour_completed")||"true"===localStorage.getItem(l.EG.SIGNED_IN_TOUR_COMPLETED)||"true"===localStorage.getItem(l.EG.NON_SIGNED_IN_TOUR_COMPLETED)||"true"===localStorage.getItem(l.EG.ORGANIZER_TOUR_COMPLETED)||"true"===localStorage.getItem(l.EG.SIGNED_IN_TOUR_SKIPPED)||"true"===localStorage.getItem(l.EG.NON_SIGNED_IN_TOUR_SKIPPED)||"true"===localStorage.getItem(l.EG.ORGANIZER_TOUR_SKIPPED))return!0}catch{return!0}return!1}function m({children:e}){(0,s.useRouter)();let t=(0,s.usePathname)(),{user:r,loading:g}=(0,i.A)(),h=(0,a.useMemo)(()=>(0,u.createClient)(),[]),S=!!r,[T]=(0,a.useState)(()=>p()),[I,x]=(0,a.useState)(!1),[f,v]=(0,a.useState)(!1),[y,_]=(0,a.useState)(t),[E,N]=(0,a.useState)(null),C=(0,a.useRef)(null),O=(0,a.useRef)(null),R=(0,a.useRef)(null),w=(0,a.useRef)(null),k=(0,a.useRef)(null),D=(0,a.useRef)(!1),[j,b]=(0,a.useState)({run:!1,stepIndex:0,steps:l.wJ,tourType:"nonSignedIn",isNavigating:!1}),[A,P]=(0,a.useState)(!1),U=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(!S||!r){N(null),U.current=!1;return}U.current||(U.current=!0,h.from("user_preferences").select("user_type").eq("user_id",r.id).maybeSingle().then(({data:e})=>{N(e?.user_type||"individual")}).catch(()=>{N("individual")}))},[S,r,h]),(0,a.useEffect)(()=>{if(!g&&!I&&(null!==E||!S))try{let e,t,r;S?"organizer"===E?(e="organizer",t=l.nH):(e="signedIn",t=l.vE):(e="nonSignedIn",t=l.wJ);let n=l.A3.getSavedTourState();n&&n.tourType===e?r={run:!1,stepIndex:n.stepIndex,steps:t,tourType:e,isNavigating:!1}:(r={run:!1,stepIndex:0,steps:t,tourType:e,isNavigating:!1},n&&n.tourType!==e&&l.A3.clearTourState()),b(r),x(!0)}catch(e){b({run:!1,stepIndex:0,steps:l.wJ,tourType:"nonSignedIn",isNavigating:!1}),x(!0)}},[g,S,I,E]),(0,a.useEffect)(()=>{if(!T&&I&&!f&&!j.isNavigating){let e=localStorage.getItem("syncchain_onboarding_just_completed"),t=localStorage.getItem("syncchain_user_type");if("true"===e){localStorage.removeItem("syncchain_onboarding_just_completed"),localStorage.removeItem("syncchain_user_type");let e="signedIn";("organizer"===t||"organizer"===E)&&(e="organizer"),l.A3.clearTourState(),setTimeout(()=>{localStorage.setItem(`eventRadar_tourStarted_${e}`,"true"),b(t=>({...t,run:!0,stepIndex:0,tourType:e})),v(!0)},1500);return}}},[I,f,j.isNavigating,E]),(0,a.useEffect)(()=>{if(!T){if(I&&!f&&!j.isNavigating&&(null!==E||!S)){let e=l.A3.getSavedTourState();if(!S){let e="true"===localStorage.getItem("eventRadar_nonSignedInTourCompleted"),t="true"===localStorage.getItem("eventRadar_nonSignedInTourSkipped");if(e||t)return void v(!0)}if(e&&!l.A3.isTourCompleted(e.tourType)&&l.A3.shouldShowTourAgain(e.tourType)){let r;if(r=S?"organizer"===E?"organizer":"signedIn":"nonSignedIn",e.tourType===r&&!l.A3.isTourCompleted(r)){let n=j.steps[e.stepIndex];n&&(!n.path||t===n.path)?C.current=setTimeout(()=>{b(t=>({...t,run:!0,stepIndex:e.stepIndex,tourType:r})),v(!0),setTimeout(()=>{M()},1e3)},1e3):n&&n.path&&t!==n.path&&(C.current=setTimeout(()=>{b(t=>({...t,run:!0,stepIndex:e.stepIndex,tourType:r})),v(!0),setTimeout(()=>{M()},1e3)},1e3))}}}return()=>{C.current&&clearTimeout(C.current)}}},[I,f,j.isNavigating,S,E,j.steps,t]),(0,a.useEffect)(()=>{t!==y&&(_(t),j.isNavigating&&b(e=>({...e,isNavigating:!1})))},[t,y,j.isNavigating]),(0,a.useEffect)(()=>{},[j,y,I]),(0,a.useEffect)(()=>{let e,t;if(!I||S&&null===E)return;S?"organizer"===E?(e="organizer",t=l.nH):(e="signedIn",t=l.vE):(e="nonSignedIn",t=l.wJ);let n=k.current;if(null===n||n===S||D.current)e!==j.tourType&&b(r=>({...r,tourType:e,steps:t,stepIndex:0,run:!1}));else{l.A3.handleAuthenticationChange(n,S,r?.id);let a=l.A3.getSavedTourState(),s=0;a&&a.tourType===e&&(s=a.stepIndex),b(r=>({...r,tourType:e,steps:t,stepIndex:s,run:!1,isNavigating:!1})),S&&r?.id&&l.A3.shouldAutoStartSignedInTour(r.id)&&v(!1),D.current=!0}k.current=S,D.current&&setTimeout(()=>{D.current=!1},3e3),n!==S&&v(!1)},[S,r?.id,I,E]),(0,a.useEffect)(()=>
1{if(I&&j.run&&j.stepIndex>=0&&!l.A3.isTourCompleted(j.tourType)){let e;if(S)if("organizer"===E)e="organizer";else{if("individual"!==E)return;e="signedIn"}else e="nonSignedIn";j.tourType===e&&l.A3.saveTourState({stepIndex:j.stepIndex,tourType:j.tourType})}},[j.stepIndex,j.tourType,j.run,S,I,E]);let L=(0,a.useCallback)((e,t=d)=>new Promise(r=>{let n=Date.now(),a=()=>{if("body"===e)return void r(!0);try{let t=document.querySelectorAll(e);if(t.length>0&&Array.from(t).find(e=>{let t=e.getBoundingClientRect();return t.width>0&&t.height>0}))return void r(!0)}catch(e){}Date.now()-n<t?O.current=setTimeout(a,100):r(!1)};a()}),[]);(0,a.useCallback)(e=>new Promise(r=>{let n=0,a=()=>{t===e?r(!0):++n>=50?r(!1):setTimeout(a,100)};a()}),[t]);let G=(0,a.useCallback)(async e=>{if(t===e)return!0;b(e=>({...e,isNavigating:!0}));try{return l.A3.saveTourState({stepIndex:j.stepIndex,tourType:j.tourType}),window.location.href=e,!0}catch(e){return b(e=>({...e,isNavigating:!1})),!1}},[t,j.stepIndex,j.tourType]),M=(0,a.useCallback)(async()=>{let e=j.steps[j.stepIndex];if(e&&j.run){if(e.path&&t!==e.path)return void await G(e.path);if("body"!==e.target&&!1!==e.waitForTarget){P(!0);let t=await L(e.target);if(P(!1),!t&&j.run&&e.spotlightClicks){let e=j.stepIndex+1;e<j.steps.length&&(b(t=>({...t,stepIndex:e})),l.A3.saveTourState({stepIndex:e,tourType:j.tourType}),setTimeout(()=>M(),100));return}}}},[j.steps,j.stepIndex,j.run,j.tourType,t,G,L]),z=(0,a.useMemo)(()=>j.steps.map((e,t)=>{let r={target:e.target,content:e.content,placement:e.placement,disableBeacon:e.disableBeacon,spotlightClicks:e.spotlightClicks,...e.spotlightClicks&&{locale:{skip:"Skip",next:"Click the highlighted element to continue",back:"Back"}}};return e.spotlightClicks&&e.target&&setTimeout(()=>{document.querySelectorAll(e.target).forEach(e=>{let r=e=>{setTimeout(()=>{let e=t+1;e<j.steps.length&&(b(t=>({...t,stepIndex:e})),l.A3.saveTourState({stepIndex:e,tourType:j.tourType}))},1500)};e.removeEventListener("click",r),e.addEventListener("click",r,{once:!0})})},100),r}),[j.steps,j.tourType]),B=(0,a.useCallback)(async e=>{let{status:r,action:n,index:a,type:s}=e;if("error:target_not_found"!==s&&!("tooltip"===s&&n===o.kl.CLOSE&&j.steps[a]?.spotlightClicks)){if(n===o.kl.NEXT){let e=a+1;if(e>=j.steps.length){l.A3.markTourCompleted(j.tourType),l.A3.clearTourState(),b(e=>({...e,run:!1,stepIndex:0}));return}if(e<j.steps.length){b(t=>({...t,stepIndex:e})),l.A3.saveTourState({stepIndex:e,tourType:j.tourType});let r=j.steps[e];r.path&&t!==r.path?await G(r.path):setTimeout(()=>M(),100)}}else if(n===o.kl.PREV){let e=a-1;if(e>=0){b(t=>({...t,stepIndex:e})),l.A3.saveTourState({stepIndex:e,tourType:j.tourType});let r=j.steps[e];r.path&&t!==r.path&&await G(r.path)}}else if(n===o.kl.SKIP||n===o.kl.CLOSE){if("nonSignedIn"===j.tourType&&!S){let e=window.anonymousManager;e&&e.createUser(!1)}l.A3.incrementSkipCount(),l.A3.markTourSkipped(j.tourType),b(e=>({...e,run:!1})),l.A3.clearTourState()}if(r===o.XQ.FINISHED)l.A3.markTourCompleted(j.tourType),l.A3.clearTourState(),b(e=>({...e,run:!1,stepIndex:0}));else if(r===o.XQ.SKIPPED){if("nonSignedIn"===j.tourType&&!S){let e=window.anonymousManager;e&&e.createUser(!1)}l.A3.incrementSkipCount(),l.A3.markTourSkipped(j.tourType),b(e=>({...e,run:!1})),l.A3.clearTourState()}}},[t,j.steps,j.tourType,G,M,S]),H=(0,a.useCallback)(()=>{T||p()||l.A3.shouldShowTourAgain(j.tourType)&&(localStorage.setItem(`eventRadar_tourStarted_${j.tourType}`,"true"),l.A3.clearTourState(),b(e=>({...e,run:!0,stepIndex:0})),v(!0),setTimeout(()=>{M()},100))},[j.tourType,M]),J=(0,a.useCallback)(()=>{b(e=>({...e,run:!1})),l.A3.clearTourState()},[]),K=(0,a.useCallback)(()=>{l.A3.resetTour(j.tourType),b(e=>({...e,run:!1,stepIndex:0})),v(!1)},[j.tourType]),W=(0,a.useCallback)(()=>{j.stepIndex<j.steps.length-1&&b(e=>({...e,stepIndex:e.stepIndex+1}))},[j.stepIndex,j.steps.length]),F=(0,a.useCallback)(()=>{j.stepIndex>0&&b(e=>({...e,stepIndex:e.stepIndex-1}))},[j.stepIndex]),Z=(0,a.useCallback)(e=>{e>=0&&e<j.steps.length&&b(t=>({...t,stepIndex:e}))},[j.steps.length]);(0,a.useEffect)(()=>()=>{R.current&&clearTimeout(R.current),O.current&&clearTimeout(O.current),w.current&&clearTimeout(w.current),C.current&&clearTimeout(C.current)},[]);let q={tourState:j,startTour:H,stopTour:J,resetTour:K,nextStep:W,prevStep:F,goToStep:Z,isTourActive:j.run,shouldShowTourButton:(()=>{try{return!j.run&&l.A3.shouldShowTourAgain(j.tourType)}catch(e){return!1}})()};return(0,n.jsxs)(c.Provider,{value:q,children:[e,j.run&&!j.isNavigating&&!A&&(0,n.jsx)(o.LG,{steps:z,run:j.run,stepIndex:j.stepIndex,continuous:!0,showProgress:!0,showSkipButton:!0,scrollToFirstStep:!1,disableOverlay:!1,disableOverlayClose:!0,disableCloseOnEsc:!0,hideCloseButton:!1,spotlightClicks:!0,disableScrolling:!1,floaterProps:{},styles:{options:{primaryColor:"#3B82F6",zIndex:1e3,overlayColor:"rgba(0, 0, 0, 0.5)"},tooltip:{borderRadius:8,padding:"16px",maxWidth:"90vw"},tooltipContainer:{textAlign:"left"},tooltipContent:{padding:"0",maxHeight:"70vh",overflowY:"auto"},buttonNext:{backgroundColor:"#3B82F6",borderRadius:"6px",color:"#fff",fontSize:"14px",padding:"8px 16px"},buttonBack:{color:"#3B82F6",fontSize:"14px",marginRight:"10px"},buttonSkip:{color:"#6B7280",fontSize:"14px"},buttonClose:{color:"#6B7280"}
1,spotlight:{backgroundColor:"transparent",border:"2px solid #3B82F6",borderRadius:"8px"},overlay:{backgroundColor:"rgba(0, 0, 0, 0.5)",opacity:1}},locale:{back:"Back",close:"Close",last:"nonSignedIn"===j.tourType?"Get Started!":"organizer"===j.tourType?"Start to Empower Your Events!":"Finish Tour",next:"Next",skip:"Skip Tour"},callback:B,debug:!1})]})}},56945:(e,t,r)=>{r.d(t,{A3:()=>T,EG:()=>S,nH:()=>h,vE:()=>m,wJ:()=>p});var n=r(95155);r(12115);let a="space-y-3",s="text-lg font-bold text-gray-900 flex items-center gap-2",o="text-sm text-gray-700 leading-relaxed",i="space-y-2 mt-2",l="flex items-start gap-2 text-sm text-gray-700",u="text-primary mt-0.5",c="mt-3 p-3 bg-primary/10 rounded-lg text-sm",d="font-semibold text-primary mb-1",g="text-gray-700",p=[{target:"body",content:(0,n.jsxs)("div",{className:a,children:[(0,n.jsx)("h2",{className:s,children:"\uD83C\uDF89 Welcome to SyncChain!"}),(0,n.jsx)("p",{className:o,children:"Discover the ultimate professional networking and event discovery platform. Here's what you can do:"}),(0,n.jsxs)("ul",{className:i,children:[(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDDFAï¸"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Live Map:"})," See real-time events and attendees near you"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83E\uDD16"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"AI Assistant:"})," Get personalized recommendations and insights"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDC65"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Network:"})," Connect with professionals and discover talent"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDCC5"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Events:"})," Find and attend relevant events in your area"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDD0D"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Smart Search:"})," Use semantic search to find exactly what you need"]})]})]}),(0,n.jsxs)("div",{className:c,children:[(0,n.jsx)("p",{className:d,children:"\uD83D\uDCA1 Pro Tip"}),(0,n.jsx)("p",{className:g,children:"Sign in to unlock AI-powered features, direct messaging, and earn Sync Points!"})]})]}),placement:"center",path:"/map",disableBeacon:!0}],m=[{target:"body",content:(0,n.jsxs)("div",{className:a,children:[(0,n.jsx)("h2",{className:s,children:"\uD83C\uDF89 Welcome to SyncChain!"}),(0,n.jsx)("p",{className:o,children:"Thank you for joining! You now have full access to all premium features. Here's what you can do:"}),(0,n.jsxs)("ul",{className:i,children:[(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83C\uDFAF"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"AI Analysis:"})," Get personalized insights and compatibility scores"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDCAC"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Direct Messaging:"})," Connect instantly with other professionals"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDCCD"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Live Location:"})," Share your location and find people nearby"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83C\uDF9Fï¸"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Event Registration:"})," Register and network at exclusive events"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83E\uDD1D"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Smart Matching:"})," Discover relevant connections automatically"]})]})]}),(0,n.jsxs)("div",{className:c,children:[(0,n.jsx)("p",{className:d,children:"\uD83C\uDF81 Welcome Bonus"}),(0,n.jsx)("p",{className:g,children:"You've received Sync Points! Use them for AI analysis and premium features."})]})]}),placement:"center",path:"/map",disableBeacon:!0}],h=[{target:"body",content:(0,n.jsxs)("div",{className:a,children:[(0,n.jsx)("h2",{className:s,children:"\uD83C\uDF89 Welcome to SyncChain for Event Organizers!"}),(0,n.jsx)("p",{className:o,children:"Enhance your events with AI-powered networking tools. Here's what you can do:"}),(0,n.jsxs)("ul",{className:i,children:[(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDCC5"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Create Events:"})," Set up and manage professional events"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDD17"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Integrate:"})," Connect Eventbrite, Luma, and other platforms"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83E\uDD16"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"AI Networking:"})," Enable smart attendee matching"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDCCD"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Live Map:"})," Help attendees find each other in real-time"]})]}),(0,n.jsxs)("li",{className:l,children:[(0,n.jsx)("span",{className:u,children:"\uD83D\uDCCA"}),(0,n.jsxs)("span",{children:[(0,n.jsx)("strong",{children:"Analytics:"})," Track engagement and networking success"]})]})]}),(0,n.jsxs)("div",{className:c,children:[(0,n.jsx)("p",{className:d,children:"\uD83D\uDE80 Get Started"}),(0,n.jsx)("p",{className:g,children:"Create your first event or connect your existing platforms to unlock the power of AI-driven networking!"})]})]}),placement:"center",path:"/map",disableBeacon:!0}],S={TOUR_STATE:"eventRadar_tourState",SIGNED_IN_TOUR_COMPLETED:"eventRadar_signedInTourCompleted",NON_SIGNED_IN_TOUR_COMPLETED:"eventRadar_nonSignedInTourCompleted",ORGANIZER_TOUR_COMPLETED:"eventRadar_organizerTourCompleted",SIGNED_IN_TOUR_SKIPPED:"eventRadar_signedInTourSkipped",NON_SIGNED_IN_TOUR_SKIPPED:"eventRadar_nonSignedInTourSkipped",ORGANIZER_TOUR_SKIPPED:"eventRadar_organizerTourSkipped",TOUR_SKIP_COUNT:"eventRadar_tourSkipCount",LAST_TOUR_DATE:"eventRadar_lastTourDate",FIRST_SIGNIN_TOUR_SHOWN:"eventRadar_firstSigninTourShown",USER_SIGNIN_HISTORY:"eventRadar_userSigninHistory",DEVICE_ID:"eventRadar_deviceId",DEVICE_TOUR_COMPLETED:"eventRadar_deviceTourCompleted"},T={getDeviceId:()=>{let e=localStorage.getItem(S.DEVICE_ID);return e||(e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}),localStorage.setItem(S.DEVICE_ID,e)),e},isDeviceTourCompleted:()=>{let e=T.getDeviceId(),t=localStorage.getItem(S.DEVICE_TOUR_COMPLETED);if(!t)return!1;try{let r=JSON.parse(t);return!0===r[e]}catch{return!1}},markDeviceTourCompleted:()=>{let e=T.getDeviceId(),t=localStorage.getItem(S.DEVICE_TOUR_COMPLETED),r={};try{r=t?JSON.parse(t):{}}catch{r={}}r[e]=!0,localStorage.setItem(S.DEVICE_TOUR_COMPLETED,JSON.stringify(r))},getSavedTourState:()=>{let e=localStorage.getItem(S.TOUR_STATE);return e?JSON.parse(e):null},saveTourState:e=>{localStorage.setItem(S.TOUR_STATE,JSON.stringify(e))},clearTourState:()=>{localStorage.removeItem(S.TOUR_STATE)},markTourCompleted:e=>{let t="signedIn"===e?S.SIGNED_IN_TOUR_COMPLETED:"nonSignedIn"===e?S.NON_SIGNED_IN_TOUR_COMPLETED:S.ORGANIZER_TOUR_COMPLETED;localStorage.setItem(t,"true"),localStorage.setItem(S.LAST_TOUR_DATE,new Date().toISOString()),localStorage.removeItem(S.TOUR_STATE),"nonSignedIn"===e&&T.markDeviceTourCompleted()},markTourSkipped:e=>{T.markTourCompleted(e)},completeTourAndNavigate:(e,t)=>
1{T.markTourCompleted(e),setTimeout(()=>{t?window.location.href=t:window.location.reload()},100)},isTourCompleted:e=>{if("nonSignedIn"===e&&T.isDeviceTourCompleted())return!0;let t="signedIn"===e?S.SIGNED_IN_TOUR_COMPLETED:"nonSignedIn"===e?S.NON_SIGNED_IN_TOUR_COMPLETED:S.ORGANIZER_TOUR_COMPLETED;return"true"===localStorage.getItem(t)},isTourSkipped:e=>T.isTourCompleted(e),resetTour:e=>{let t="signedIn"===e?S.SIGNED_IN_TOUR_COMPLETED:"nonSignedIn"===e?S.NON_SIGNED_IN_TOUR_COMPLETED:S.ORGANIZER_TOUR_COMPLETED,r="signedIn"===e?S.SIGNED_IN_TOUR_SKIPPED:"nonSignedIn"===e?S.NON_SIGNED_IN_TOUR_SKIPPED:S.ORGANIZER_TOUR_SKIPPED;if(localStorage.removeItem(t),localStorage.removeItem(r),localStorage.removeItem(S.TOUR_SKIP_COUNT),T.clearTourState(),"nonSignedIn"===e){let e=T.getDeviceId(),t=localStorage.getItem(S.DEVICE_TOUR_COMPLETED);if(t)try{let r=JSON.parse(t);delete r[e],localStorage.setItem(S.DEVICE_TOUR_COMPLETED,JSON.stringify(r))}catch{}}},incrementSkipCount:()=>{parseInt(localStorage.getItem(S.TOUR_SKIP_COUNT)||"0")},getSkipCount:()=>0,shouldShowTourAgain:e=>{if(T.isTourCompleted(e))return!1;let t=localStorage.getItem(S.TOUR_STATE);if(t)try{if(JSON.parse(t).tourType===e)return!0}catch(e){}return"true"!==localStorage.getItem(`eventRadar_tourStarted_${e}`)},isFirstTimeSignedInUser:e=>{let t=localStorage.getItem(S.USER_SIGNIN_HISTORY);if(!t)return!0;try{return!JSON.parse(t)[e]}catch{return!0}},markUserSignedIn:e=>{let t=localStorage.getItem(S.USER_SIGNIN_HISTORY),r={};try{r=t?JSON.parse(t):{}}catch{r={}}r[e]={firstSignin:new Date().toISOString(),signInCount:(r[e]?.signInCount||0)+1},localStorage.setItem(S.USER_SIGNIN_HISTORY,JSON.stringify(r))},shouldAutoStartSignedInTour:e=>{if(T.isTourCompleted("signedIn"))return!1;let t=T.getSavedTourState();return!!t&&"signedIn"===t.tourType||T.isFirstTimeSignedInUser(e)},handleAuthenticationChange:(e,t,r)=>{if(!e&&t&&r){T.markUserSignedIn(r);let e=T.getSavedTourState();return(e?.tourType==="nonSignedIn"&&T.clearTourState(),e?.tourType,T.shouldAutoStartSignedInTour(r))?{shouldStartTour:!0,tourType:"signedIn"}:{shouldStartTour:!1,tourType:"signedIn"}}return e&&!t?(T.clearTourState(),{shouldStartTour:!1,tourType:"nonSignedIn"}):{shouldStartTour:!1,tourType:t?"signedIn":"nonSignedIn"}},resetAllTourData:()=>
1{Object.values(S).forEach(e=>{localStorage.removeItem(e)})},resetOrganizerTour:()=>{localStorage.removeItem(S.ORGANIZER_TOUR_COMPLETED),localStorage.removeItem(S.ORGANIZER_TOUR_SKIPPED),localStorage.removeItem(S.TOUR_STATE),T.clearTourState()}}},62499:(e,t,r)=>{r.d(t,{J:()=>s});var n=r(12115),a=r(42356);let s=()=>(0,n.useContext)(a.gm)}}]);
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.