1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5bf013f0-6ce9-4727-ae34-25734bf0d880",e._sentryDebugIdIdentifier="sentry-dbid-5bf013f0-6ce9-4727-ae34-25734bf0d880")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4420],{2682:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3"}},24411:(e,t,s)=>{Promise.resolve().then(s.bind(s,76223)),Promise.resolve().then(s.bind(s,62775)),Promise.resolve().then(s.bind(s,38067)),Promise.resolve().then(s.bind(s,50174)),Promise.resolve().then(s.bind(s,68361)),Promise.resolve().then(s.t.bind(s,14186,23)),Promise.resolve().then(s.bind(s,85102)),Promise.resolve().then(s.bind(s,24284)),Promise.resolve().then(s.bind(s,9656)),Promise.resolve().then(s.bind(s,76238)),Promise.resolve().then(s.bind(s,14041)),Promise.resolve().then(s.bind(s,56669)),Promise.resolve().then(s.bind(s,42e3)),Promise.resolve().then(s.bind(s,62668)),Promise.resolve().then(s.t.bind(s,3077,23)),Promise.resolve().then(s.t.bind(s,59642,23)),Promise.resolve().then(s.bind(s,73275)),Promise.resolve().then(s.bind(s,2438)),Promise.resolve().then(s.t.bind(s,2682,23)),Promise.resolve().then(s.bind(s,78864)),Promise.resolve().then(s.bind(s,50563)),Promise.resolve().then(s.bind(s,42751)),Promise.resolve().then(s.bind(s,2406)),Promise.resolve().then(s.bind(s,99983)),Promise.resolve().then(s.bind(s,40377)),Promise.resolve().then(s.bind(s,14576)),Promise.resolve().then(s.bind(s,21497)),Promise.resolve().then(s.bind(s,82698)),Promise.resolve().then(s.bind(s,17349)),Promise.resolve().then(s.bind(s,77850)),Promise.resolve().then(s.bind(s,1584)),Promise.resolve().then(s.bind(s,3924)),Promise.resolve().then(s.bind(s,11218)),Promise.resolve().then(s.bind(s,43918)),Promise.resolve().then(s.bind(s,3e4)),Promise.resolve().then(s.bind(s,42145)),Promise.resolve().then(s.bind(s,79945)),Promise.resolve().then(s.bind(s,33100)),Promise.resolve().then(s.bind(s,20306)),Promise.resolve().then(s.bind(s,77516)),Promise.resolve().then(s.bind(s,42192)),Promise.resolve().then(s.bind(s,51689)),Promise.resolve().then(s.bind(s,62110)),Promise.resolve().then(s.bind(s,95344)),Promise.resolve().then(s.bind(s,10819)),Promise.resolve().then(s.bind(s,46253)),Promise.resolve().then(s.bind(s,95418)),Promise.resolve().then(s.bind(s,63742)),Promise.resolve().then(s.bind(s,12692)),Promise.resolve().then(s.bind(s,42837)),Promise.resolve().then(s.bind(s,72078)),Promise.resolve().then(s.bind(s,35645)),Promise.resolve().then(s.bind(s,85404)),Promise.resolve().then(s.bind(s,89239)),Promise.resolve().then(s.bind(s,3465)),Promise.resolve().then(s.bind(s,14875)),Promise.resolve().then(s.bind(s,94046)),Promise.resolve().then(s.bind(s,17073)),Promise.resolve().then(s.bind(s,50548)),Promise.resolve().then(s.bind(s,78903)),Promise.resolve().then(s.bind(s,32286)),Promise.resolve().then(s.bind(s,77112)),Promise.resolve().then(s.bind(s,49055)),Promise.resolve().then(s.bind(s,27940)),Promise.resolve().then(s.bind(s,87717)),Promise.resolve().then(s.bind(s,56827)),Promise.resolve().then(s.bind(s,81220)),Promise.resolve().then(s.bind(s,33123)),Promise.resolve().then(s.bind(s,14589)),Promise.resolve().then(s.bind(s,7554)),Promise.resolve().then(s.bind(s,70649)),Promise.resolve().then(s.bind(s,45527)),Promise.resolve().then(s.bind(s,47072)),Promise.resolve().then(s.bind(s,77653)),Promise.resolve().then(s.bind(s,58505)),Promise.resolve().then(s.bind(s,20336)),Promise.resolve().then(s.bind(s,56824)),Promise.resolve().then(s.bind(s,47570)),Promise.resolve().then(s.bind(s,30332)),Promise.resolve().then(s.bind(s,96318))},38067:(e,t,s)=>{"use strict";s.d(t,{default:()=>b});var n=s(95155),a=s(12115),r=s(60773),i=s(39318),o=s(76223),l=s(50174),d=s(75137),c=s(85451),m=s(37520);let h={name:"log-out",size:24,node:[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]};h.node;let u=(0,m.A)(h);var x=s(5012),g=s(39748),p=s(19582),f=s(43891),v=s(62054);function b({}){let{setLogoutModalConfig:e}=(0,o.n)(),{data:t,status:s}
1=(0,f.wV)(),{setSpeakerInCreateProfileMode:m,setInboxMode:h}=(0,l.v)(),y=(0,i.useRouter)(),w=[{name:"Sign out",href:"#",icon:(0,n.jsx)(u,{className:"w-4 h-4 text-purple-600"}),onClick:()=>{e({open:!0})}}];return t?.user?.speakerNetworkSpeaker?.slug?w.unshift({name:"Edit Speaker Profile",href:"#",icon:(0,n.jsx)(x.A,{className:"w-4 h-4 text-purple-600"}),onClick:()=>{y.push(`/speakers/${t.user.speakerNetworkSpeaker?.slug}?edit=1`)}}):t&&w.unshift({name:"Create Speaker Profile",href:"#",icon:(0,n.jsx)(g.A,{className:"w-4 h-4 text-purple-600"}),onClick:()=>{m(!0)}}),t&&w.unshift({name:"Inbox",href:"#",icon:(0,n.jsx)(p.A,{className:"w-4 h-4 text-purple-600"}),onClick:()=>{h(!0)}}),(0,n.jsx)(n.Fragment,{children:t&&(0,n.jsxs)(d.W1,{as:"div",className:"relative flex-shrink-0",children:[(0,n.jsx)("div",{children:(0,n.jsxs)(d.W1.Button,{className:"relative flex rounded-full bg-white focus:outline-none focus:ring-0",children:[(0,n.jsx)("span",{className:"absolute -inset-1.5"}),(0,n.jsx)("span",{className:"sr-only",children:"Open user menu"}),t.user.image&&(0,v.AY)(t.user.image)?(0,n.jsx)(r.default,{className:"h-8 w-8 rounded-full",src:t.user.image,width:50,height:50,alt:"Account Avatar"}):(0,n.jsx)(r.default,{className:"h-8 w-8 rounded-full",src:"https://s3.amazonaws.com/heysummit-production/media/defaults/user_default_image.png",width:50,height:50,alt:"Account Avatar"})]})}),(0,n.jsx)(c.e,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(d.W1.Items,{className:"absolute right-0 z-10 mt-2 w-52 origin-top-right overflow-hidden rounded-2xl bg-white shadow-2xl p-2 focus:outline-none",children:w.map(e=>(0,n.jsx)(d.W1.Item,{children:({active:t})=>(0,n.jsxs)("a",{href:e.href,className:"group h-9 w-full flex gap-2 items-center justify-start rounded-xl px-2 py-2 text-gray-800 text-sm font-medium transition-colors hover:bg-purple-50/30 hover:text-purple-600 focus:bg-purple-50/30 focus:text-purple-600 focus:outline-none disabled:pointer-events-none disabled:opacity-50",onClick:t=>{e?.onClick&&e.onClick()},children:[e.icon,e.name]})},e.name))})})]})})}},42e3:(e,t,s)=>{"use strict";s.d(t,{default:()=>c});var n=s(95155),a=s(12115),r=s(39431),i=s(3077),o=s.n(i),l=s(62054);let d=(0,r.default)(()=>s.e(4713).then(s.bind(s,54713)),{loadableGenerated:{webpack:()=>[54713]}}),c=({submenuItems:e,callsToAction:t})=>(0,n.jsxs)("div",{className:`px-6 py-4 ${!e.columns||1===e.columns.length?"md:w-[300px]":2===e.columns.length?"md:w-[400px] lg:w-[600px]":3===e.columns.length?"md:w-[400px] lg:w-[850px]":""}`,"data-sentry-component":"NavPopoverMenu","data-sentry-source-file":"popoverMenu.tsx",children:[(0,n.jsx)("div",{className:(0,l.xW)(`relative bg-white ${e.columns?"flex gap-8 w-full":"max-w-xs px-8 py-6 gap-2"}`),children:e.columns?e.columns.map((e,t)=>(0,n.jsxs)("div",{className:(0,l.xW)(`${e.maxWidthClass?e.maxWidthClass:"max-w-xs"} w-full`),children:[e.name&&(0,n.jsx)("h2",{className:"text-purple-700 text-sm font-semibold leading-tight mt-2 mb-4",children:e.name}),(0,n.jsx)("div",{className:"flex flex-col gap-1 h-full",children:e.items.map(t=>(0,n.jsx)(d,{item:t,backgroundColorClass:e.backgroundColorClass},t.name))})]},t)):e.items&&e.items.map(e=>(0,n.jsx)(d,{item:e},e.name))}),t&&(0,n.jsxs)("div",{className:"relative grid grid-cols-2 divide-x divide-gray-900/5 bg-gray-50",children:["sss",t.map(e=>(0,n.jsxs)(o(),{href:e.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm font-semibold leading-6 text-gray-900 hover:bg-gray-100",prefetch:!1,children:[a.cloneElement(e.icon,{className:"h-5 w-5 flex-none text-gray-400 fill-current","aria-hidden":"true"}),e.name]},e.name))]})]})},56669:(e,t,s)=>{"use strict";s.d(t,{NavigationMenu:()=>d,NavigationMenuContent:()=>x,NavigationMenuIndicator:()=>f,NavigationMenuItem:()=>m,NavigationMenuList:()=>c,NavigationMenuTrigger:()=>u,Ws:()=>g});var n=s(95155),a=s(12115),r=s(31363),i=s(6959),o=s(62054),l=s(39318);let d=a.forwardRef(({className:e,children:t,...s},i)=>{let[d,c]=a.useState(""),m=(0,l.usePathname)();return a.useEffect(()=>{c("")},[m]),(0,n.jsxs)(r.bL,{ref:i,value:d,onValueChange:c,className:(0,o.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...s,children:[t,(0,n.jsx)(p,{})]})});d.displayName=r.bL.displayName;let c=a.forwardRef(({className:e,...t},s)=>(0,n.jsx)(r.B8,{ref:s,className:(0,o.cn)("group flex flex-1 list-none items-center justify-center space-x-1",e),...t}));c.displayName=r.B8.displayName;let m=r.q7,h=(0,i.F)("group inline-flex h-9 w-max items-center justify-center rounded-xl px-2.5 py-2 text-gray-800 text-base font-semibold transition-colors hover:bg-purple-50/30 hover:text-purple-600 focus:bg-purple-50/30 focus:text-purple-600 focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-purple-50/30 data-[state=open]:bg-purple-50/30"),u=a.forwardRef(({className:e,children:t,...s},i)=>{let l=a.useMemo(()=>{let e,t=/iPad|Android|webOS|iPhone|iPod|Blackberry/i.test(window.navigator.userAgent)&&"ontouchstart"in window;return{onClick:s=>{!t&&e&&s.preventDefault()},onPointerEnter:()=>{t||(clearTimeout(e),e=setTimeout(()=>e=!1,1e3))}}},[]);return(0,n.jsxs)(r.l9,{ref:i,className:(0,o.cn)(h(),"group",e),...s,...l,children:[t," ",(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"#000000",viewBox:"0 0 256 256",className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180 fill-current","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"})})]})});u.displayName=r.l9.displayName;let x=a.forwardRef(({className:e,...t},s)=>(0,n.jsx)(r.UC,{ref:s,className:(0,o.cn)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...t}));x.displayName=r.UC.displayName;let g=r.N_,p=a.forwardRef(({className:e,...t},s)=>(0,n.jsx)("div",{className:(0,o.cn)("absolute top-full flex justify-center transition duration-300"),children:(0,n.jsx)(r.LM,{className:(0,o.cn)("z-10 origin-top-center relative mt-2.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-3xl bg-white shadow-2xl data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:s,...t})}));p.displayName=r.LM.displayName;let f=a.forwardRef(({className:e,...t},s)=>(0,n.jsx)(r.C1,{ref:s,className:(0,o.cn)("bottom-[-10px] z-50 flex h-1.5 items-end justify-center overflow-hidden transition duration-300 data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:(0,n.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-white opacity-100 shadow-md"})}));f.displayName=r.C1.displayName},62775:(e,t,s)=>{"use strict";s.d(t,{default:()=>l});var n=s(95155),a=s(12115),r=s(39431),i=s(76223);let o=(0,r.default)(()=>s.e(5746).then(s.bind(s,5746)),{loadableGenerated:{webpack:()=>[5746]}});function l({subMenu:e}){let{mobileMenuOpen:t}=(0,i.n)(),[s,r]=(0,a.useState)((0,n.jsx)("div",{}));return(0,a.useEffect)(()=>{t&&e&&r((0,n.jsx)(o,{subMenu:e}))},[t,e]),(0,n.jsx)(n.Fragment,{children:s})}},68361:(e,t,s)=>{"use strict";s.d(t,{ToolsProvider:()=>C});var n=s(95155),a=s(12115),r=s(60773),i=s(39318),o=s(76223),l=s(37520);let d={name:"lock",size:24,node:[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]};d.node;let c=(0,l.A)(d);var m=s(49664),h=s(43891),u=s(85451),x=s(70229);function g({children:e,title:t,icon:s,isOpen:r,showCancelButton:i=!0,onClose:o}){return(0,n.jsx)(u.e,{appear:!0,show:r,as:a.Fragment,"data-sentry-element":"Transition","data-sentry-component":"Modal","data-sentry-source-file":"modal.tsx",children:(0,n.jsxs)(x.lG,{as:"div",className:"relative z-50",onClose:function(){r=!1,o()},"data-sentry-element":"Dialog","data-sentry-source-file":"modal.tsx",children:[(0,n.jsx)(u.e.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0","data-sentry-element":"Transition.Child","data-sentry-source-file":"modal.tsx",children:(0,n.jsx)("div",{className:"fixed inset-0 bg-black/25"})}),(0,n.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,n.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,n.jsx)(u.e.Child,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95","data-sentry-element":"Transition.Child","data-sentry-source-file":"modal.tsx",children:(0,n.jsx)(x.lG.Panel,{className:"relative transform overflow-hidden rounded-2xl bg-white p-8 text-left shadow-xl transition-all sm:w-full sm:max-w-sm","data-sentry-element":"Dialog.Panel","data-sentry-source-file":"modal.tsx",children:(0,n.jsxs)("div",{className:"grid gap-4",children:[(0,n.jsxs)("div",{className:"text-center",children:[s&&a.cloneElement(s,{}),t&&(0,n.jsx)(x.lG.Title,{as:"h3",className:`text-base font-semibold leading-6 text-gray-900 ${s?"mt-3":""}`,children:t})]}),(0,n.jsx)("div",{className:"text-center",children:e}),i&&(0,n.jsx)("div",{className:"",children:(0,n.jsx)("button",{type:"button",className:"btn size-sm style-muted-gray w-full justify-center",onClick:()=>o(),children:"Cancel"})})]})})})})})]})})}var p=s(46873);function f({}){let{loginModalConfig:e,setLoginModalConfig:t}=(0,o.n)(),[s,l]=(0,a.useState)("login"),[d,u]=(0,a.useState)(""),[x,v]=(0,a.useState)(""),[b,y]=(0,a.useState)(!1),[w,j]=(0,a.useState)(!1),[N,P]=(0,a.useState)(""),k=(0,i.useRouter)(),C=async(e,n)=>{y(!0),P("");let a=new URL(window.location.href);a.searchParams.set("toolsLoginCallbackContext","SpeakerNetwork");let r=a.toString();try{let a=await (0,h.Jv)(e,{callbackUrl:r,...n,redirect:!1});!a||a.error?"email-password-credentials"===e?P("signup"===s?"Check your email for a verification link to finish creating your account.":"Login details not recognised. If your email has not been verified yet, check your inbox for a verification link."):P("Login details not recognised. Please try again."):a.url&&(k.push(a.url),t({open:!1})),y(!1)}catch(e){console.error("Error in handleSignIn",e),P("An error occurred while logging in. Please try again."),y(!1)}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(g,{isOpen:e.open,title:"Login Required",icon:(0,n.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-red-100/20",children:(0,n.jsx)(c,{className:"w-6 h-6 text-red-600"})}),showCancelButton:!1,onClose:()=>t({open:!1}),"data-sentry-element":"Modal","data-sentry-source-file":"loginModal.tsx",children:(0,n.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,n.jsx)("div",{className:"",children:(0,n.jsx)("p",{className:"text-sm text-gray-500",children:e.description?e.description:(0,n.jsx)(n.Fragment,{children:"You need to be logged in to perform this action. Creating an account is 100% free."})})}),w?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"bg-gray-50/50 rounded-xl p-2 text-xs text-gray-500",children:["Login with your HeySummit subscription. Or login with an"," ",(0,n.jsx)("a",{href:"#",onClick:()=>j(!1),className:"underline",children:"alternative method"}
1)," ","if you don't have one."]}),N&&(0,n.jsx)("div",{className:"bg-red-100/20 rounded-xl p-2 text-xs text-red-600",children:(0,n.jsx)("p",{children:N})}),(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault(),C("heysummit-credentials",{email:d,password:x})},className:"grid grid-cols-1 gap-2",children:[(0,n.jsx)(p.A,{id:"heysummit_email",label:"",type:"email",placeholder:"Email",value:d,required:!0,onChange:e=>u(e.target.value)}),(0,n.jsx)(p.A,{id:"heysummit_password",label:"",type:"password",placeholder:"Password",value:x,required:!0,onChange:e=>v(e.target.value)}),(0,n.jsx)("button",{type:"submit",className:"btn size-sm",children:b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.A,{className:"h-4 w-4 animate-spin text-white"}),"Signing In..."]}):(0,n.jsx)(n.Fragment,{children:"Sign In"})})]})]}):(0,n.jsxs)(n.Fragment,{children:["login"===s?(0,n.jsxs)("div",{className:"bg-gray-50/50 rounded-xl p-2 text-xs text-gray-500",children:["Don't have an account?"," ",(0,n.jsx)("a",{href:"#",onClick:()=>l("signup"),className:"underline",children:"Sign up here"}),"."]}):(0,n.jsxs)("div",{className:"bg-gray-50/50 rounded-xl p-2 text-xs text-gray-500",children:["Already have an account?"," ",(0,n.jsx)("a",{href:"#",onClick:()=>l("login"),className:"underline",children:"Sign in here"}),"."]}),N&&(0,n.jsx)("div",{className:"bg-red-100/20 rounded-xl p-2 text-xs text-red-600",children:(0,n.jsx)("p",{children:N})}),(0,n.jsxs)("div",{className:"grid gap-3",children:[(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault(),C("email-password-credentials",{email:d,password:x,signupMode:"signup"===s})},className:"grid grid-cols-1 gap-2",children:[(0,n.jsx)(p.A,{id:"email",label:"",type:"email",placeholder:"Email",value:d,required:!0,onChange:e=>u(e.target.value)}),(0,n.jsx)(p.A,{id:"password",label:"",type:"password",placeholder:"Password",value:x,required:!0,maxLength:128,onChange:e=>v(e.target.value)}),(0,n.jsx)("button",{type:"submit",className:"btn size-sm",children:"login"===s?b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.A,{className:"h-4 w-4 animate-spin text-white"}),"Signing In..."]}):(0,n.jsx)(n.Fragment,{children:"Sign In"}):b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.A,{className:"h-4 w-4 animate-spin text-white"}),"Signing Up..."]}):(0,n.jsx)(n.Fragment,{children:"Sign Up"})})]}),(0,n.jsxs)("div",{className:"relative mt-4",children:[(0,n.jsx)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true",children:(0,n.jsx)("div",{className:"w-full border-t border-1 border-gray-100"})}),(0,n.jsx)("div",{className:"relative flex justify-center",children:(0,n.jsxs)("span",{className:"bg-white px-2 text-sm text-gray-300",children:["Or ","login"===s?(0,n.jsx)(n.Fragment,{children:"login"}):(0,n.jsx)(n.Fragment,{children:"sign up"})," with an existing account"]})})]}),"login"===s&&(0,n.jsxs)("button",{onClick:()=>j(!0),className:"flex gap-3 items-center py-3 px-3 bg-white shadow rounded-xl transition-colors duration-300 hover:bg-gray-50/30",children:[(0,n.jsx)(r.default,{src:"/images/heysummit-logo-icon.png",width:20,height:20,alt:"HeySummit Logo"}),(0,n.jsx)("span",{className:"text-sm text-gray-800 font-semibold",children:"Continue with HeySummit"})]}),(0,n.jsxs)("button",{onClick:()=>C("google"),className:"flex gap-3 items-center py-3 px-3 bg-white shadow rounded-xl transition-colors duration-300 hover:bg-gray-50/30",children:[(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"100",height:"100",viewBox:"0 0 48 48",className:"h-5 w-5",children:[(0,n.jsx)("path",{fill:"#FFC107",d:"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"}),(0,n.jsx)("path",{fill:"#FF3D00",d:"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"}),(0,n.jsx)("path",{fill:"#4CAF50",d:"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"}),(0,n.jsx)("path",{fill:"#1976D2",d:"M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.5
171c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"})]}),(0,n.jsx)("span",{className:"text-sm text-gray-800 font-semibold",children:"Continue with Google"})]})]})]})]})})})}let v={name:"lock-open",size:24,node:[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]],aliases:["unlock"]};v.node;let b=(0,l.A)(v);var y=s(8606),w=s(81230);function j({}){let{logoutModalConfig:e,setLogoutModalConfig:t,closeLogoutModal:s}=(0,o.n)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(g,{isOpen:e.open,title:"Logout",icon:(0,n.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-red-100/20",children:(0,n.jsx)(b,{className:"w-6 h-6 text-red-600"})}),showCancelButton:!1,onClose:()=>t({open:!1}),"data-sentry-element":"Modal","data-sentry-source-file":"logoutModal.tsx",children:(0,n.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,n.jsx)("div",{className:"",children:(0,n.jsx)("p",{className:"text-sm text-gray-500",children:e.description?e.description:(0,n.jsx)(n.Fragment,{children:"Are you sure you want to logout?"})})}),(0,n.jsxs)("div",{className:"grid grid-cols-2 gap-3 w-full",children:[(0,n.jsxs)("button",{onClick:()=>{window.Intercom&&window.Intercom("shutdown"),(0,h.CI)()},className:"flex-auto flex gap-2 items-center justify-center py-3 px-3 bg-red-600 shadow rounded-xl transition-colors duration-300 hover:bg-red-700",children:[(0,n.jsx)(y.A,{className:"w-4 h-4 text-white","data-sentry-element":"Check","data-sentry-source-file":"logoutModal.tsx"}),(0,n.jsx)("span",{className:"text-sm text-white font-semibold",children:"Logout"})]}),(0,n.jsxs)("button",{onClick:s,className:"flex-none flex gap-2 items-center justify-center py-3 px-3 bg-white shadow rounded-xl transition-colors duration-300 hover:bg-gray-50/30",children:[(0,n.jsx)(w.A,{className:"w-4 h-4 text-gray-600","data-sentry-element":"XIcon","data-sentry-source-file":"logoutModal.tsx"}),(0,n.jsx)("span",{className:"text-sm text-gray-800 font-semibold",children:"Cancel"})]})]})]})})})}var N=s(78321);function P({}){let[e,t]=(0,a.useState)(!1),[s,r]=(0,a.useState)(!1),o=(0,i.useSearchParams)(),{data:l,status:d}=(0,h.wV)(),c=(0,a.useCallback)(async n=>{if(n&&!s&&!e&&l&&l.user){let e=await (0,N.k2)(o),s=[n];l.user.speakerNetworkSpeaker&&s.push("SpeakerNetworkSpeaker");let a={email:l.user.email,lead_tags:s.join(","),...e};t(!0),fetch("https://app.heysummit.com/api/lead-user/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}).then(e=>e.json()).then(()=>r(!0)).catch(e=>{console.error("Error:",e)})}},[s,e,l,o]);return(0,a.useEffect)(()=>
1{let t=o?.get("toolsLoginCallbackContext");t&&!s&&!e&&l&&l.user&&c(t)},[l,o,s,e,c]),(0,n.jsx)(n.Fragment,{})}let k=(0,a.createContext)(void 0),C=({children:e})=>{let[t,s]=(0,a.useState)(!1);return(0,n.jsxs)(k.Provider,{value:{toolsContextLoaded:t,setToolsContextLoaded:s},"data-sentry-element":"ToolsContext.Provider","data-sentry-component":"ToolsProvider","data-sentry-source-file":"ToolsProvider.tsx",children:[e,(0,n.jsx)(f,{"data-sentry-element":"LoginModal","data-sentry-source-file":"ToolsProvider.tsx"}),(0,n.jsx)(j,{"data-sentry-element":"LogoutModal","data-sentry-source-file":"ToolsProvider.tsx"}),(0,n.jsx)(a.Suspense,{fallback:null,"data-sentry-element":"Suspense","data-sentry-source-file":"ToolsProvider.tsx",children:(0,n.jsx)(P,{"data-sentry-element":"HandleLogLead","data-sentry-source-file":"ToolsProvider.tsx"})})]})}},85102:(e,t,s)=>{"use strict";s.d(t,{default:()=>x});var n=s(95155),a=s(12115),r=s(39318),i=s(47962),o=s(24546),l=s(81230);let d="event-growth-revenue-playbook",c="event-growth-revenue-playbook-email-v1";var m=s(62659),h=s(87769);let u={captureKey:d,captureType:"lead_magnet",offerKey:c,ctaLocation:"floating_banner"};function x({excludePaths:e=[]}){let[t,s]=(0,a.useState)(!1),[g,p]=(0,a.useState)(!1),[f,v]=(0,a.useState)(5),b=(0,r.usePathname)(),y=(0,a.useRef)(!1),w=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(b&&e.includes(b))return;let t=localStorage.getItem("ctaBannerInteraction");if(!(t&&Date.now()-parseInt(t)<2592e6)){let e=setTimeout(()=>{s(!0)},3e3);return()=>clearTimeout(e)}},[b,e]),(0,a.useEffect)(()=>{t&&!y.current&&(y.current=!0,(0,m.Je)({...u,sourcePath:b??void 0}))},[t,b]),(0,a.useEffect)(()=>{let e;return g&&f>0?e=setInterval(()=>{v(e=>e-1)},1e3):0===f&&s(!1),()=>clearInterval(e)},[g,f]);let j=async()=>{localStorage.setItem("ctaBannerInteraction",Date.now().toString()),p(!0)},N=()=>{w.current||(w.current=!0,(0,m.iS)({...u,sourcePath:b??void 0}))};return(0,n.jsx)(i.N,{"data-sentry-element":"AnimatePresence","data-sentry-component":"CtaBanner","data-sentry-source-file":"ctaBanner.tsx",children:t&&(0,n.jsxs)(o.P.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{type:"spring",damping:10,stiffness:100,bounce:.3},className:"fixed z-[9999999999] bottom-0 left-0 right-0 bg-white rounded-2xl rounded-b-none shadow-xl outline outline-1 outline-gray-50 p-6 w-full sm:max-w-sm sm:rounded-b-2xl sm:bottom-4 sm:left-4 sm:right-auto",children:[(0,n.jsx)("button",{onClick:()=>{localStorage.setItem("ctaBannerInteraction",Date.now().toString()),(0,m.E5)({...u,sourcePath:b??void 0}),s(!1)},className:"absolute top-2 right-2 text-gray-500 bg-gray-100 rounded-full p-1 opacity-50 hover:text-gray-700 hover:opacity-100",children:(0,n.jsx)(l.A,{className:"h-4 w-4"})}),(0,n.jsxs)("div",{className:"space-y-4",onClickCapture:N,onFocusCapture:N,children:[(0,n.jsx)("h3",{className:"text-xl font-semibold text-gray-900",children:"Get the event growth playbook"}),(0,n.jsx)("p",{className:"text-gray-600",children:"Get the playbook plus three practical emails on improving registrations, growing event revenue, and making success repeatable."}),g?(0,n.jsx)("div",{className:"text-center",children:(0,n.jsxs)("div",{className:"bg-green-50 text-sm text-green-600 p-2 rounded-lg text-left flex items-center justify-between gap-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("b",{children:"You're in!"}),(0,n.jsx)("br",{}),"Check email for the download link"]}),(0,n.jsxs)("div",{className:"",children:[(0,n.jsx)("div",{className:"text-green-900/20 text-[11px] text-right w-full mb-0",children:"Closing in"}),(0,n.jsxs)("div",{className:"flex justify-center items-center gap-0.5",children:[(0,n.jsx)(o.P.div,{initial:{scale:1.1},animate:{scale:1},className:"bg-green-800/10 rounded-md h-6 w-6 flex items-center justify-center",children:(0,n.jsx)("span",{className:"text-green-900 font-mono text-xs",children:String(Math.floor(f/60)).padStart(2,"0")})},`min-${Math.floor(f/60)}`),(0,n.jsx)("span",{className:"text-gray-400",children:":"}),(0,n.jsx)(o.P.div,{initial:{scale:1.1},animate:{scale:1},className:"bg-green-800/10 rounded-md h-6 w-6 flex items-center justify-center",children:(0,n.jsx)("span",{className:"text-green-900 font-mono text-xs",children:String(f%60).padStart(2,"0")})},`sec-${f%60}`)]})]})]})}):(0,n.jsx)(h.default,{placeholder:"Enter your email for the PDF",successMessage:"You're in! Check your email for the download link.",showSuccessMessageAsPlaceholder:!1,leadTags:["EventGrowthRevenuePlaybook"],redirectUrl:"/youre-in",defaultMarketingAttribution:{ref:"heysummit.com"},buttonPosition:"detached-bottom",buttonText:"Send me the playbook + series",validationPosition:"top",onSuccess:j,captureKey:d,captureType:"lead_magnet",offerKey:c,offerTitle:"The Event Growth and Revenue Playbook",ctaLocation:"floating_banner",pageCategory:"marketing",triggerLeadMagnetFollowUp:!0})]})]})})}}},e=>{e.O(0,[7889,7048,4935,1772,3891,6640,9642,4546,4903,3432,9191,7248,5697,229,9938,842,1713,5137,9725,5850,6844,7769,8230,6093,174,5449,9793,8441,8865,7358],()=>e(e.s=24411)),_N_E=e.O()}]);
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.