1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9707],{18404:function(e,t,r){var a=r(26705),o=r(39311),i=r(29420);t.Z=e=>{let{className:t="",children:r,variant:s="primary",size:n="md",disabled:_,...u}=e;return(0,a.jsx)(i.A,{size:n,className:(0,o.cn)({lg:"px-6 py-3 text-md min-h-[48px] h-auto rounded-xl",md:"px-5 py-2 text-md min-h-[40px] h-auto rounded-xl",sm:"px-2 py-1 text-sm min-h-[32px] h-auto rounded-lg"}[n],{primary:"data-[hover=true]:opacity-100 bg-primary-500 text-background hover:bg-primary-700 disabled:bg-text-primary-50 disabled:text-background",secondary:"data-[hover=true]:opacity-100 bg-background text-primary-500 ring-1 ring-inset ring-primary-500 hover:ring-primary-700 disabled:ring-text-primary-50 disabled:text-text-primary-50",text:"data-[hover=true]:opacity-100 bg-transparent text-primary-500 hover:bg-primary-50 disabled:text-gray-400"}[s],"flex items-center gap-2","font-normal font-sans transition-colors",t),disabled:_,...u,children:r})}},8137:function(e,t,r){r.r(t);var a=r(26705),o=r(20467),i=r(38438),s=r(20955);t.default=e=>{let{src:t,alt:r,className:n,errorClassName:_,...u}=e,[c,l]=(0,s.useState)(!1);return(0,s.useEffect)(()=>
1{l(!1)},[t]),c||!t?(0,a.jsx)("div",{className:"flex items-center justify-center bg-default-100 ".concat(n," ").concat(null!=_?_:""),style:u.style,children:(0,a.jsx)(i.Z,{className:"text-default-400",size:24})}):(0,a.jsx)(o.J,{src:t,alt:r,className:n,onError:()=>l(!0),...u})}},29707:function(e,t,r){r.r(t),r.d(t,{PodcastPageGuestsModal:function(){return U}});var a=r(26705),o=r(25911),i=r(47421),s=r(58992),n=r(52679),_=r(37948),u=r(69571),c=r(62812),l=r(70782),d=r(8137),E=r(80344),m=r(65536),p=r(91522),P=r(24033),O=r(20955),h=r(18404),T=r(61396),R=r.n(T),g=r(81113),f=r(8857);let L=e=>{let{chipTitle:t,onTopicClick:r}=e;return(0,a.jsx)(R(),{href:(0,g.T)(f.iD.DISCUSSION_TOPICS,(0,g.A)(t)),onClick:()=>{null==r||r(t)},className:"inline-block duration-300 hover:scale-105 text-primary-700 text-sm px-3 font-sans bg-[#E8E8E8] rounded-sm",children:t})};var S=e=>{var t;let{profile:r,onContact:o,onViewProfile:i,onTopicClick:s}=e,n=null===(t=r.topics)||void 0===t?void 0:t.trim(),_=""===n?[]:null==n?void 0:n.split("\n"),u=(0,P.useRouter)();return(0,a.jsxs)("div",{className:"flex gap-6 p-6 rounded-2xl border-1 border-color-muted-100",children:[(0,a.jsx)(d.default,{src:r.avatar||"/image/avatar-placeholder.png",alt:"".concat(r.name,"'s avatar"),radius:"full",className:"w-24 min-w-24 rounded-full aspect-square object-cover",errorClassName:"border-2 border-default"}),(0,a.jsxs)("div",{className:"w-full flex justify-between gap-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h5",{className:"truncate font-inter text-h5 leading-tight text-color-muted-900 mb-2",children:r.name}),(0,a.jsx)("p",{className:"text-md text-default-600 leading-relaxed font-sans mb-3",children:r.companyName}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:null==_?void 0:_.map((e,t)=>(0,a.jsx)(L,{chipTitle:e,onTopicClick:s},t))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(h.Z,{size:"sm",onPress:()=>null==o?void 0:o(),className:"w-full",endContent:(0,a.jsx)(m.D,{className:"text-background",size:24}),children:"Contact"}),(0,a.jsx)(h.Z,{size:"sm",variant:"text",onPress:()=>{null==i||i(),u.push(E.$w.publicProfile.replace(":userId",r.username))},endContent:(0,a.jsx)(p.f,{className:"text-primary-500",size:24}),children:"View Profile"})]})]})]})},C=r(95518),y=r(60841),A=r(71424),I=r(26566),Y=r(84268),N=r(41500);let K=()=>(0,a.jsxs)("div",{className:"flex gap-6 rounded-2xl border-1 border-color-muted-100 p-6",children:[(0,a.jsx)(s.X,{className:"h-24 w-24 flex-shrink-0 rounded-full"}),(0,a.jsxs)("div",{className:"flex w-full justify-between gap-5",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)(s.X,{className:"mb-2 h-6 w-40 rounded-md"}),(0,a.jsx)(s.X,{className:"mb-3 h-5 w-32 rounded-md"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(s.X,{className:"h-6 w-16 rounded-sm"}),(0,a.jsx)(s.X,{className:"h-6 w-20 rounded-sm"}),(0,a.jsx)(s.X,{className:"h-6 w-24 rounded-sm"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(s.X,{className:"h-10 w-24 rounded-lg"}),(0,a.jsx)(s.X,{className:"h-10 w-24 rounded-lg"})]})]})]}),U=e=>{var t,r;let{podcastPageId:s,onClose:d,podcastSlug:m,...p}=e,{data:T,isLoading:R,fetchNextPage:g,hasNextPage:f,isFetchingNextPage:L}=l.S.podcastPage.getAllGuestsPaginated.useInfiniteQuery({podcastPageId:s,limit:20},{getNextPageParam:e=>e.nextCursor}),{activeProfile:U,isActiveProfileLoading:v}=(0,Y.c)(),w=e=>N.o.showModal({type:i.w.unauthorized,isOpen:!0,onClose:()=>{},redirectTo:E.$w.publicPodcastPage.replace(":podcastId",m),subtitle:"Use your account to contact to ".concat(e," â or create one in seconds if you're new."),title:"Log in to contact this guest"}),{createSimpleChatWithGuestId:x}=(0,C.R)(),M=(0,P.useRouter)(),{spendLimitOnly:b,limits:D}=(0,y.x)(),k=(0,O.useMemo)(()=>R||v,[R,v]),H=async(e,t,r)=>{if(!e||!t){if(!r){M.push(E.$w.register);return}w(r);return}try{if(e===t){A.Am.error("You cannot contact yourself");return}if(!D){A.Am.error("Failed to get limits");return}let r=D[I.m9.GUEST_REQUESTS].current,a=async()=>{let{chat:r}=await x({guestId:e,interviewerId:t});M.push("".concat(E.$w.chat,"/").concat(r.id))};await b(I.m9.GUEST_REQUESTS,a,{amount:r})}catch(e){var a;console.error("Error in handleContact:",e),e instanceof Error&&(null==e?void 0:null===(a=e.message)||void 0===a?void 0:a.includes("limit exceeded"))?A.Am.error("You've reached your limit of guest requests. Please upgrade your plan to continue."):A.Am.error("Failed to create chat. Please try again later.")}},G=null!==(t=null==T?void 0:T.pages.flatMap(e=>e.guests))&&void 0!==t?t:[],j=null!==(r=null==T?void 0:T.pages[0].total)&&void 0!==r?r:0;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(n.R,{onOpenChange:d,size:"5xl",scrollBehavior:"outside",closeButton:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(o.b,{onClick:d,className:"absolute right-1 top-1 cursor-pointer select-none appearance-none rounded-full fill-primary-500 p-2 outline-none tap-highlight-transparent hover:bg-default-100 active:bg-default-200 data-[focus-visible=true]:z-10 rtl:left-1 rtl:right-[unset]",size:32})}),...p,children:(0,a.jsx)(_.A,{className:"p-20",children:e=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u.I,{children:(0,a.jsxs)(c.o,{size:100,className:"max-h-[700px] space-y-4",hide
1ScrollBar:!0,children:[(0,a.jsx)("h3",{className:"mb-3 text-center font-inter text-h3 leading-tight text-text-primary-900",children:"Guests featured in this podcast"}),(0,a.jsx)("p",{className:"mb-8 text-center font-sans text-md font-medium leading-relaxed text-color-muted-900",children:"These guests are part of the Novacast network"}),!k&&0!==j&&(0,a.jsxs)("h4",{className:"mb-8 text-center font-sans text-h4 font-medium leading-tight text-color-muted-900",children:["+ ",j," ",1===j?"guest":"guests"," ","featured in this podcast"]}),k&&[,,,].fill("item").map((e,t)=>(0,a.jsx)(K,{},t)),!k&&(0,a.jsxs)(a.Fragment,{children:[G.map(t=>(0,a.jsx)(S,{onContact:()=>{e(),U?H(t.profileId,null==U?void 0:U.id,t.profile.name):w(t.profile.name)},onTopicClick:()=>{e()},onViewProfile:()=>{e()},profile:t.profile},t.id)),f&&(0,a.jsx)("div",{className:"flex justify-center pt-4",children:(0,a.jsx)(h.Z,{onPress:()=>g(),disabled:L,size:"md",children:L?"Loading...":"Load More"})})]})]})})})})})})}},81113:function(e,t,r){r.d(t,{A:function(){return o},T:function(){return i}});var a=r(80344);let o=e=>e.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,""),i=(e,t)=>a.$w.inProfileSearch.replace(":search-field",e).replace(":search-term",t)},26566:function(e,t,r){var a,o,i,s,n,_,u,c,l,d,E,m,p,P,O,h;r.d(t,{Iw:function(){return R},JS:function(){return f},Qe:function(){return n},SL:function(){return L},Yn:function(){return g},Zn:function(){return T},Zt:function(){return o},cO:function(){return i},fe:function(){return A},k9:function(){return c},lq:function(){return S},m9:function(){return u},mp:function(){return C},qe:function(){return y}}),(l=a||(a={})).MGM_PLUS="mgm-plus",l.JUMP_START_CALL="jump-start-call";let T={year:{startDate:new Date("2025-12-09T00:00:00Z"),endDate:new Date("2025-03-09T23:59:59Z"),discountPercentage:25,couponId:"subscription_yearly_discount"},month:{startDate:new Date("2025-12-09T00:00:00Z"),endDate:new Date("2025-03-09T23:59:59Z"),discountPercentage:15,couponId:"subscription_monthly_discount"}};function R(e){return e.replace(/[_-]/g," ").replace(/\b\w/g,e=>e.toUpperCase())}(d=o||(o={})).__DEPRECATED_YEARLY_LITE_PRICE_LOOKUP_KEY="ej_lite_ye_1",d.__DEPRECATED_MONTHLY_PRO_PRICE_LOOKUP_KEY="ej_pro_mo_1",d.__DEPRECATED_YEARLY_PRO_PRICE_LOOKUP_KEY="ej_pro_ye_1",d.__DEPRECATED_MONTHLY_PRO_PRICE_LOOKUP_KEY_2="ej_pro_mo_2",d.__DEPRECATED_YEARLY_PRO_PRICE_LOOKUP_KEY_2="ej_pro_ye_2",d.__DEPRECATED_YEARLY_LITE_PRICE_LOOKUP_KEY_2="ej_lite_ye_2",d.__DEPRECATED_MONTHLY_PRO_PRICE_LOOKUP_KEY_3="ej_pro_mo_3",d.__DEPRECATED_YEARLY_PRO_PRICE_LOOKUP_KEY_3="ej_pro_ye_3",d.__DEPRECATED_MONTHLY_LITE_PRICE_LOOKUP_KEY="ej_lite_mo_1",d.__DEPRECATED_YEARLY_LITE_PRICE_LOOKUP_KEY_3="ej_lite_ye_3",d.MONTHLY_LITE_PRICE_LOOKUP_KEY="ej_lite_mo_2",d.YEARLY_LITE_PRICE_LOOKUP_KEY="ej_lite_ye_4",d.MONTHLY_PRO_PRICE_LOOKUP_KEY="ej_pro_mo_4",d.YEARLY_PRO_PRICE_LOOKUP_KEY="ej_pro_ye_4",d.__DEPRECATED_MONTHLY_GUEST_STARTER_PRICE_LOOKUP_KEY="nova_guest_starter_mo",d.__DEPRECATED_MONTHLY_GUEST_PRO_PRICE_LOOKUP_KEY="nova_guest_pro_mo",d.__DEPRECATED_YEARLY_GUEST_STARTER_PRICE_LOOKUP_KEY="nova_guest_starter_ye",d.__DEPRECATED_YEARLY_GUEST_PRO_PRICE_LOOKUP_KEY="nova_guest_pro_ye",d.__DEPRECATED_MONTHLY_GUEST_STARTER_PRICE_LOOKUP_KEY_2="nova_guest_starter_mo_2",d.__DEPRECATED_MONTHLY_GUEST_STARTER_PRICE_LOOKUP_KEY_3="nova_guest_starter_mo_3",d.__DEPRECATED_MONTHLY_GUEST_PRO_PRICE_LOOKUP_KEY_2="nova_guest_pro_mo_2",d.MONTHLY_GUEST_STARTER_PRICE_LOOKUP_KEY="nova_guest_starter_mo_4",d.MONTHLY_GUEST_PRO_PRICE_LOOKUP_KEY="nova_guest_pro_mo_3",d.MONTHLY_HOST_STARTER_PRICE_LOOKUP_KEY="nova_host_starter_mo",d.MONTHLY_HOST_PRO_PRICE_LOOKUP_KEY="ej_pro_host_mo_1",d.MONTHLY_BOTH_STARTER_PRICE_LOOKUP_KEY="nova_both_starter_mo",d.MONTHLY_BOTH_PRO_PRICE_LOOKUP_KEY="nova_both_pro_mo",d.MONTHLY_AGENCY_PRICE_LOOKUP_KEY="ej_elite_mo_1",d.__DEPRECATED_YEARLY_GUEST_STARTER_PRICE_LOOKUP_KEY_2="nova_guest_starter_ye_2",d.__DEPRECATED_YEARLY_GUEST_PRO_PRICE_LOOKUP_KEY_2="nova_guest_pro_ye_2",d.YEARLY_GUEST_STARTER_PRICE_LOOKUP_KEY="nova_guest_starter_ye_3",d.YEARLY_GUEST_PRO_PRICE_LOOKUP_KEY="nova_guest_pro_ye_3",d.YEARLY_HOST_STARTER_PRICE_LOOKUP_KEY="nova_host_starter_mo",d.YEARLY_HOST_PRO_PRICE_LOOKUP_KEY="nova_host_pro_ye",d.YEARLY_BOTH_STARTER_PRICE_LOOKUP_KEY="nova_both_starter_ye",d.YEARLY_BOTH_PRO_PRICE_LOOKUP_KEY="nova_both_pro_ye",d.YEARLY_AGENCY_PRICE_LOOKUP_KEY="ej_elite_ye_1",(E=i||(i={})).MGM_PLUS_PRICE_LOOKUP_KEY="ej_mgm_plus_1",E.MONTHLY_MGM_PLUS_PRICE_LOOKUP_KEY="ej_mgm_plus_mo_1",E.MONTHLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY="ej_ext_supp_mo_1",E.MONTHLY_PREMIUM_FEATURES_PRICE_LOOKUP_KEY="ej_premium_features_mo_1",E.MONTHLY_PRO_PLUS_ACTIVATION_PRICE_LOOKUP_KEY="pro_plus_activation_mo",E.YEARLY_MGM_PLUS_PRICE_LOOKUP_KEY="ej_mgm_plus_ye_1",E.YEARLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY="ej_ext_supp_ye_1",E.YEARLY_PREMIUM_FEATURES_PRICE_LOOKUP_KEY="ej_premium_features_ye_1",E.YEARLY_PRO_PLUS_ACTIVATION_PRICE_LOOKUP_KEY="pro_plus_activation_ye",(m=s||(s={})).JUMP_START_CALL_PRICE_LOOKUP_KEY="ej_jump_start_call_1",m.CREDITS_PRICE_LOOKUP_KEY="ej_credits_1",m.CREDITS_LIMIT_OFFER_LOOKUP_KEY="ej_credits_limit_offer_1",(p=n||(n={})).FREE="free",p.LITE_GUEST="lite",p.LITE_HOST="lite_host",p.LITE_BOTH="lite_both",p.PRO_GUEST="pro",p.PRO_HOST="pro_host",p.PRO_BOTH="pro_both",p.AGENCY="elite",(P=_||(_={})).BASIC="basic",P.STANDARD="standard",P.PREMIUM="premium",_.BASIC;let g={[n.FREE]:200,[n.LITE_GUEST]:3e3,[n.LITE_HOST]:3e3,[n.LITE_BOTH]:3e3,[n.PRO_GUEST]:7500,[n.PRO_HOST]:7500,[n.PRO_BOTH]:7500,[n.AGENCY]:1e4},f={[_.BASIC]:{name:"Basic",quantity:1e3,price:20,lookupKey:s.CREDITS_PRICE_LOOKUP_KEY,isPreffered:!1},[_.STANDARD]:{name:"Standard",quantity:2500,price:50,lookupKey:s.CREDITS_PRICE_LOOKUP_KEY,isPreffered:!1},[_.PREMIUM]:{name:"Premium",quantity:1e4,price:200,lookupKey:s.CREDITS_PRICE_LOOKUP_KEY,isPreffered:!0}},L={lookupKey:s.CREDITS_LIMIT_OFFER_LOOKUP_KEY,quantity:5e3,price:100,discountPrice:70};(O=u||(u={})).PODCAST_CONTACT_UNLOCK="podcastContactUnlock",O.RESPONSE_GENERATIONS="responseGenerations",O.SEARCHES="searches",O.LISTS="lists",O.SMART_LISTS="smartLists",O.PROFILES="profiles",O.BIO_GENERATIONS="bioGenerations",O.MATCH_PODCAST_TO_SMART_LIST="matchPodcastToSmartList",O.MATCH_PODCAST_TO_GENIUS_LIST="matchPodcastToSmartListMegaMind",O.GUEST_REQUESTS="guestRequests",O.APPLICANT_CONNECTIONS="applicantConnections",O.EMAIL_VERIFICATION="emailVerification";let S={[u.PODCAST_CONTACT_UNLOCK]:50,[u.RESPONSE_GENERATIONS]:15,[u.SEARCHES]:20,[u.LISTS]:0,[u.SMART_LISTS]:0,[u.PROFILES]:50,[u.BIO_GENERATIONS]:50,[u.MATCH_PODCAST_TO_SMART_LIST]:3,[u.MATCH_PODCAST_TO_GENIUS_LIST]:50,[u.GUEST_REQUESTS]:0,[u.APPLICANT_CONNECTIONS]:0,[u.EMAIL_VERIFICATION]:5};u.PODCAST_CONTACT_UNLOCK,u.RESPONSE_GENERATIONS,u.SEARCHES,u.LISTS,u.SMART_LISTS,u.PROFILES,u.BIO_GENERATIONS,u.MATCH_PODCAST_TO_SMART_LIST,u.MATCH_PODCAST_TO_GENIUS_LIST,u.GUEST_REQUESTS,u.APPLICANT_CONNECTIONS,u.EMAIL_VERIFICATION,u.PODCAST_CONTACT_UNLOCK,u.RESPONSE_GENERATIONS,u.SEARCHES,u.BIO_GENERATIONS,u.GUEST_REQUESTS,u.APPLICANT_CONNECTIONS;let C={[u.PODCAST_CONTACT_UNLOCK]:"You have reached the limit of podcast contact unlocks this month",[u.RESPONSE_GENERATIONS]:"You have reached the limit of response generations this month",[u.SEARCHES]:"You have reached the limit of searches this month",[u.LISTS]:"You have reached the limit of lists",[u.SMART_LISTS]:"You're ran out of credits to create genius lists",[u.PROFILES]:"You have reached the limit of profiles",[u.BIO_GENERATIONS]:"You have reached the limit of bio generations this month",[u.MATCH_PODCAST_TO_SMART_LIST]:"You have reached the limit of matching podcasts to smart lists",[u.MATCH_PODCAST_TO_GENIUS_LIST]:"You have reached the limit of matching podcasts to mega mind lists",[u.GUEST_REQUESTS]:"You have reached the limit of guest requests this month",[u.APPLICANT_CONNECTIONS]:"You have reached the limit of applicant connections this month",[u.EMAIL_VERIFICATION]:"You don't have enough credits to verify this email"};(h=c||(c={})).FREE="Free",h.TRIAL="Trial",h.PAID="Paid";let y=[n.LITE_GUEST,n.LITE_HOST,n.LITE_BOTH,n.PRO_GUEST,n.PRO_HOST,n.PRO_BOTH,n.AGENCY];s.JUMP_START_CALL_PRICE_LOOKUP_KEY,a.JUMP_START_CALL,i.MGM_PLUS_PRICE_LOOKUP_KEY,a.MGM_PLUS;let A={[n.AGENCY]:{yearly:{price:1250,annually:15e3,features:["1 Agency License","Unlimited Pro Profiles","Unlimited Team Seats (EA / VA)","10,000 Credits / mo","Add as many credits as needed","Earn 35% referral fee for 1st year","Verified Profile included in Expert Network","Unlimited host guest requests per month","Unlimited Automated Podcast Matches per month*","Verified Pro Badge in Expert Network, priority booking","Unlimited DMs to podcast hosts per month","Get paid to podcast*","Enhanced show profile page featuring unlimited episodes","Enhanced customizable guest application survey","Customizable thank you page","Review exchange network with other creators","Automatic matching for review exchange","Full access to Creator + Expert Network"],addons:[{title:"Add Concierge Support(+$17)",features:["12h Response Priority Email","Priority Feature Request"],price:17,priceLookupKey:i.YEARLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],priceLookupKey:o.YEARLY_AGENCY_PRICE_LOOKUP_KEY},monthly:{price:1500,features:["1 Agency License","Unlimited Pro Profiles","Unlimited Team Seats (EA / VA)","10,000 Credits / mo","Add as many credits as needed","Earn 35% referral fee for 1st year","Verified Profile included in Expert Network","Unlimited host guest requests per month","Unlimited Automated Podcast Matches per month*","Verified Pro Badge in Expert Network, priority booking","Unlimited DMs to podcast hosts per month","Get paid to podcast*","Enhanced show profile page featuring unlimited episodes","Enhanced customizable guest application survey","Customizable thank you page","Review exchange network with other creators","Automatic matching for review exchange","Full access to Creator + Expert Network"],addons:[{title:"Add Concierge Support(+$20)",features:["12h Response Priority Email","Priority Feature Request"],price:20,priceLookupKey:i.MONTHLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],priceLookupKey:o.MONTHLY_AGENCY_PRICE_LOOKUP_KEY}},[n.PRO_GUEST]:{yearly:{price:58,annually:696,features:["Unlimited pitching","AI Agent Included","7500 credits / mo","50 email enrichments / mo","Priority customer support"],addons:[{title:"Add Concierge Support(+$17)",features:["12h Response Priority Email","Priority Feature Request"],price:17,priceLookupKey:i.YEARLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],standaloneAddons:[{title:"Pro+ Activation(+$16)",features:["Create dedicated login credentials for your account","Invite and add managers to your account","Assign manager-level access and permissions"],price:16,priceLookupKey:i.YEARLY_PRO_PLUS_ACTIVATION_PRICE_LOOKUP_KEY}],priceLookupKey:o.YEARLY_PRO_PRICE_LOOKUP_KEY},monthly:{price:67,features:["Unlimited pitching","AI Agent Included","7500 credits / mo","50 email enrichments / mo","Priority customer support"],addons:[{title:"Add Concierge Support(+$20)",features:["12h Response Priority Email","Priority Feature Request"],price:20,priceLookupKey:i.MONTHLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],standaloneAddons:[{title:"Pro+ Activation(+$20)",features:["Create dedicated login credentials for your account","Invite and add unlimited managers to your account"],price:20,priceLookupKey:i.MONTHLY_PRO_PLUS_ACTIVATION_PRICE_LOOKUP_KEY}],priceLookupKey:o.MONTHLY_PRO_PRICE_LOOKUP_KEY}},[n.LITE_GUEST]:{yearly:{price:27,annually:324,features:["Full +4.5M podcast data set and growing","Podcasts updated every 48h for relevancy","3000 credits / mo","Verified host emails","AI podcast discovery and matching","Natural language search","Pitch from your email","Unlimited follow-ups"],priceLookupKey:o.YEARLY_LITE_PRICE_LOOKUP_KEY},monthly:{price:37,features:["Full +4.5M podcast data set and growing","Podcasts updated every 48h for relevancy","3000 credits / mo","Verified host emails","AI podcast discovery and matching","Natural language search","Pitch from your email","Unlimited follow-ups"],priceLookupKey:o.MONTHLY_LITE_PRICE_LOOKUP_KEY}},[n.PRO_HOST]:{yearly:{price:58,annually:696,features:["Get paid to podcast*","Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizable thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange","15% affiliate commission on all Guest referrals"],addons:[{title:"Add Concierge Support(+$17)",features:["12h Response Priority Email","Priority Feature Request"],price:17,priceLookupKey:i.YEARLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],priceLookupKey:o.YEARLY_HOST_PRO_PRICE_LOOKUP_KEY},monthly:{price:67,features:["Get paid to podcast*","Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizable thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange","15% affiliate commission on all Guest referrals"],addons:[{title:"Add Concierge Support(+$20)",features:["12h Response Priority Email","Priority Feature Request"],price:20,priceLookupKey:i.MONTHLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],priceLookupKey:o.MONTHLY_HOST_PRO_PRICE_LOOKUP_KEY}},[n.LITE_HOST]:{yearly:{price:0,annually:0,features:["Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizable thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange","15% affiliate commission on all Guest referrals"],priceLookupKey:o.YEARLY_HOST_STARTER_PRICE_LOOKUP_KEY},monthly:{price:10,features:["Get paid to podcast*","Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizable thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange","15% affiliate commission on all Guest referrals"],priceLookupKey:o.MONTHLY_HOST_STARTER_PRICE_LOOKUP_KEY}},[n.PRO_BOTH]:{yearly:{price:58,annually:696,features:["1 Pro License","1 Pro Profile","1 Team Seat (EA / VA)","2,000 Credits / mo","Add as many credits as needed","Earn 35% referral fee for 1st year","Verified Profile included in Expert Network","Get paid to podcast*","Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizable thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange"],addons:[{title:"Add Concierge Support(+$17)",features:["12h Response Priority Email","Priority Feature Request"],price:17,priceLookupKey:i.YEARLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],priceLookupKey:o.YEARLY_BOTH_PRO_PRICE_LOOKUP_KEY},monthly:{price:67,features:["1 Pro License","1 Pro Profile","1 Team Seat (EA / VA)","2,000 Credits / mo","Add as many credits as needed","Earn 35% referral fee for 1st year","Verified Profile included in Expert Network","Get paid to podcast*","Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizable thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange"],addons:[{title:"Add Concierge Support(+$20)",features:["12h Response Priority Email","Priority Feature Request"],price:20,priceLookupKey:i.MONTHLY_EXTENDED_SUPPORT_PRICE_LOOKUP_KEY}],priceLookupKey:o.MONTHLY_BOTH_PRO_PRICE_LOOKUP_KEY}},[n.LITE_BOTH]:{yearly:{price:27,annually:324,features:["1 Starter License","1 Starter Profile","350 Credits / mo","Earn 15% referral fee for 1st year","Profile included in Expert Network","Get paid to podcast*","Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizabl
1e thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange"],priceLookupKey:o.YEARLY_BOTH_STARTER_PRICE_LOOKUP_KEY},monthly:{price:47,features:["1 Starter License","1 Starter Profile","350 Credits / mo","Earn 15% referral fee for 1st year","Profile included in Expert Network","Get paid to podcast*","Upgraded show profile page featuring up to 12 episodes","Guests can request to be on your show","Enhanced customizable guest application survey","Customizable thank you page","Manage unlimited guest requests each month","Review exchange network with other creators","Automatic matching for review exchange"],priceLookupKey:o.MONTHLY_BOTH_STARTER_PRICE_LOOKUP_KEY}}}},95518:function(e,t,r){r.d(t,{R:function(){return s}});var a=r(70782),o=r(20955),i=r(71424);let s=function(){let{filter:e,searchTerm:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=a.S.useUtils(),[s,n]=(0,o.useState)([]),_=(0,o.useCallback)(e=>{let t={...e,createdAt:new Date(e.createdAt)};n(e=>[...e,t])},[]),{data:u,isLoading:c,isFetching:l,isError:d,error:E}=a.S.chat.getChats.useQuery({filter:e,searchTerm:t},{keepPreviousData:!0,staleTime:0}),m=(0,o.useMemo)(()=>null==u?void 0:u.chats,[u,c,l]),p=(0,o.useMemo)(()=>null==u?void 0:u.statistics,[u,c,l]),P=a.S.chat.updateChatStatus.useMutation({onSuccess:async e=>{e&&await r.chat.getChats.invalidate()},onError:e=>{i.Am.error(e.message)}}),O=(0,o.useCallback)(()=>r.chat.getChats.invalidate(),[r]),h=(0,o.useCallback)(async(e,t,r)=>{try{await P.mutateAsync({chatId:e,status:t,action:r})}catch(e){throw console.error("Error updating chat status:",e),e}},[P]),T=(0,o.useCallback)(async(e,t)=>{try{let a=await r.chat.getChatMessages.fetch({chatId:e,cursor:t,limit:50});return t?n(e=>[...a.messages,...e]):n(a.messages||[]),a}catch(e){throw console.error("Error loading messages:",e),n([]),e}},[r]),R=a.S.chat.createChat.useMutation({onSuccess:()=>{r.chat.getChats.invalidate()},onError:e=>{i.Am.error(e.message)}}),g=a.S.chat.createSimpleChat.useMutation({onSuccess:()=>{r.chat.getChats.invalidate()},onError:e=>{i.Am.error(e.message)}}),f=a.S.chat.createSimpleChatWithGuestId.useMutation({onSuccess:()=>{r.chat.getChats.invalidate()},onError:e=>{i.Am.error(e.message)}});return{chats:m,messages:s,isLoading:c,isChatsFetching:l,isError:d,error:E,loadMessages:T,appendMessage:_,updateChatStatus:h,refetchChats:O,chatsStatistics:p,createChat:e=>R.mutateAsync(e),createSimpleChat:g.mutateAsync,createSimpleChatWithGuestId:e=>f.mutateAsync(e)}}},60841:function(e,t,r){r.d(t,{x:function(){return n}});var a=r(20955),o=r(26566),i=r(70782),s=r(71424);function n(){let e=i.S.useUtils(),{data:t,isLoading:r,error:n}=i.S.userLimits.getLimits.useQuery(),{data:_,isLoading:u}=i.S.userCredits.getCredits.useQuery(),c=i.S.userLimits.spendLimit.useMutation({onSuccess:async t=>{e.userLimits.getLimits.setData(void 0,t),await e.userCredits.getCredits.invalidate()}}),l=i.S.userLimits.spendLimitOnly.useMutation({onSuccess:async t=>{e.userLimits.getLimits.setData(void 0,t)}}),d=(0,a.useCallback)((e,r)=>{if(!t)return!1;let a=void 0!==_&&o.lq[e]*r<=_;return t[e].current+r<=t[e].max||!!a},[t,_]),E=(0,a.useCallback)((e,r)=>!!t&&t[e].current+r<=t[e].max,[t]),m=(0,a.useCallback)(async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.amount||1;if(!d(e,a)){s.Am.error(o.mp[e]);return}try{await c.mutateAsync({limitType:e,amount:a}),await t()}catch(e){console.error("Error spending limit:",e)}},[t,c,d]),p=(0,a.useCallback)(async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.amount||1;if(!E(e,a)){s.Am.error(o.mp[e]);return}try{await l.mutateAsync({limitType:e,amount:a}),await t()}catch(e){console.error("Error spending limit only:",e)}},[t,l,E]),P=(0,a.useMemo)(()=>t,[t]);return{limits:P,isLimitAvailable:d,isLimitOnlyAvailable:E,isLoading:r||c.isLoading||l.isLoading||u,error:n,spendLimit:m,spendLimitOnly:p}}},84268:function(e,t,r){r.d(t,{c:function(){return _}});var a=r(70782),o=r(24033),i=r(80344),s=r(61374),n=r(20955);let _=e=>{let t=(0,o.useRouter)(),r=a.S.useUtils(),_=(0,s.Kw)(e=>e.auth.profileToken),{data:u,isLoading:c}=a.S.workspace.getWorkspaces.useQuery(),{data:l,isLoading:d}=a.S.profile.getActiveProfile.useQuery(void 0,{enabled:!!_}),E=(0,n.useMemo)(()=>!!_&&d,[_,d]),m=e||(null==l?void 0:l.workspaceId),{data:p,isLoading:P}=a.S.workspace.getWorkspace.useQuery({workspaceId:m||""},{enabled:!!m}),O=(0,n.useMemo)(()=>p?p.workspace.members:void 0,[p]),h=(0,n.useMemo)(()=>p?p.workspace.profiles:void 0,[p]),T=(0,n.useMemo)(()=>p?p.pitchesCount:void 0,[p]),R=async e=>{if(e)try{let t=await r.workspace.getWorkspace.fetch({workspaceId:e});return t.workspace}catch(e){console.error("Error fetching workspace:",e);return}},g=async e=>{if(e)try{let t=await r.workspace.getWorkspaceProfiles.fetch({workspaceId:e});return t}catch(e){console.error("Error fetching workspace profiles:",e);return}};return{currentWorkspace:null==p?void 0:p.workspace,workspaces:u,profiles:h,activeProfile:l,workspaceGuests:O,profilesPitches:T,isLoading:P||c||E,isWorkspaceLoading:P,isProfilesLoading:P,isWorkspaceGuestsLoading:P,isWorkspacesLoading:c,isActiveProfileLoading:E,getWorkspaceById:R,getWorkspaceProfiles:g,navigateToWorkspace:e=>
1{r.me.invalidate(),r.workspace.getWorkspace.invalidate({workspaceId:e.id}),t.push(i.$w.workspaceProfiles.replace(":id",e.id))}}}},39311:function(e,t,r){r.d(t,{D:function(){return u},Gf:function(){return _},cn:function(){return n},p6:function(){return l},wv:function(){return c}});var a=r(57042),o=r(74769),i=r(2329),s=r(23346);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.m6)((0,a.W)(t))}let _=(e,t)=>{let r=(0,i.c)(t,e);return r<60?"just now":(0,s.Q)(e,{addSuffix:!0})},u=e=>{let t=Number(e||0);return new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:1}).format(t)},c=e=>e.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,""),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e instanceof Date?e:new Date(e),{showDay:a=!1,showTime:o=!1}=t;return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:a?"numeric":void 0,hour:o?"numeric":void 0,minute:o?"2-digit":void 0}).format(r)}},8857:function(e,t,r){r.d(t,{Gv:function(){return n},IO:function(){return _},Pl:function(){return l},iD:function(){return o},yg:function(){return u}});var a,o,i=r(14059),s=r(74578);(a=o||(o={})).SPEAKING_TOPICS="speaking-topics",a.EXPERTISE_TOPICS="expertise-topics",a.COMMUNICATION_STYLE="communication-style",a.PREFERRED_FORMATS="preffered-formats",a.PERSONALITY_TRAITS="personality-traits",a.TARGET_AUDIENCE="target-audience",a.DISCUSSION_TOPICS="discussion-topics",a.IDEAL_SHOW_TOPICS="ideal-show-topics",o.SPEAKING_TOPICS,o.EXPERTISE_TOPICS,o.COMMUNICATION_STYLE,o.PREFERRED_FORMATS,o.PERSONALITY_TRAITS,o.TARGET_AUDIENCE,o.DISCUSSION_TOPICS,o.IDEAL_SHOW_TOPICS,s.z.object({searchField:s.z.nativeEnum(o),searchTerm:s.z.string().min(1,"Search term is required"),cursor:s.z.number().min(1).default(1)});let n=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];i.InterviewFormat.PODCAST,i.InterviewFormat.VIDEO,i.InterviewFormat.PANEL,i.InterviewFormat.KEYNOTE,i.InterviewFormat.WEBINAR,i.InterviewFormat.WORKSHOP,i.InterviewFormat.CONFERENCE,i.InterviewFormat.RADIO,i.InterviewFormat.TV,i.InterviewFormat.LIVE_STREAM;let _=[{label:"1 Hour",value:1},{label:"2 Hours",value:2},{label:"4 Hours",value:4},{label:"8 Hours",value:8},{label:"12 Hours",value:12},{label:"24 Hours",value:24}],u={monday:[],tuesday:[],wednesday:[],thursday:[],friday:[],saturday:[],sunday:[]},c=s.z.object({start:s.z.string().regex(/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/,"Invalid time format (HH:mm)"),end:s.z.string().regex(/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/,"Invalid time format (HH:mm)")}).refine(e=>{let[t,r]=e.start.split(":").map(Number),[a,o]=e.end.split(":").map(Number);return 60*t+r<60*a+o},{message:"Start time must be before end time"}),l=s.z.object({monday:s.z.array(c).max(5),tuesday:s.z.array(c).max(5),wednesday:s.z.array(c).max(5),thursday:s.z.array(c).max(5),friday:s.z.array(c).max(5),saturday:s.z.array(c).max(5),sunday:s.z.array(c).max(5)}).refine(e=>{for(let t of Object.keys(e)){let r=e[t];if(r.length<2)continue;let a=[...r].sort((e,t)=>{let[r,a]=e.start.split(":").map(Number),[o,i]=t.start.split(":").map(Number);return 60*r+a-(60*o+i)});for(let e=0;e<a.length-1;e++){let[t,r]=a[e].end.split(":").map(Number),[o,i]=a[e+1].start.split(":").map(Number);if(60*t+r>60*o+i)return!1}}return!0},{message:"Time slots cannot overlap"})}}]);
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.