PageSourceSearch

https://kiku.listen.org/941.f1be97aeebdf9114.bundle.js

js listen.org collected 2026-10-02 06:39:02 UTC 48,658 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkclient"]=self["webpackChunkclient"]||[]).push([[941],{30941:function(e,t,i){i.r(t),i.d(t,{default:function(){return Ut}});var n=i(20641),s=i(90033),a=i(53751);const o={class:"event-app-networking"},r=["aria-label"],l={class:"event-app-networking__skeleton-sub-tabs"},c={class:"event-app-networking__skeleton-list"},d={class:"event-app-networking__skeleton-info"},h={key:0,class:"event-app-networking__sub-tabs"},u={key:0,class:"event-app-networking__badge"},p={key:1,class:"event-app-networking__panel px-2"},g={class:"event-app-networking__filters"},m={ref:"namePill",class:"list-filter-pill"},k={class:"pill-label"},y={class:"pill-value"},b={class:"pill-label"},v={class:"pill-dropdown"},f={class:"pill-dropdown-header"},_={class:"pill-dropdown-input-row"},C=["placeholder"],w={class:"pill-label"},$={key:1,class:"event-app-networking__badge"},L={key:0,class:"event-app-networking__skeleton-list"},P={class:"event-app-networking__skeleton-info"},M={key:1,class:"event-app-networking__empty"},S={key:2,class:"event-app-networking__list"},I={class:"event-app-networking__avatar"},E={class:"event-app-networking__info"},F={class:"event-app-networking__name-row"},X={class:"event-app-networking__name"},D={key:0,class:"event-app-networking__contact-icons event-app-networking__contact-icons--inline"},N=["href","aria-label","title"],K=["href","aria-label","title"],T=["href","aria-label"],A=["href","aria-label"],B={key:0,class:"event-app-networking__headline"},Q={key:1,class:"event-app-networking__country"},x={key:0,class:"event-app-networking__actions"},q={key:0,class:"event-app-networking__contact-icons event-app-networking__contact-icons--cluster"},W=["href","aria-label","title"],U=["href","aria-label","title"],H=["href","aria-label"],O=["href","aria-label"],R=["disabled","onClick"],V={key:1,class:"tag is-small is-rounded is-light"},Y={key:2,class:"tag is-small is-rounded is-light"},j={key:3,class:"tag is-small is-rounded is-success is-light"},G={class:"icon is-small"},J={key:4,class:"tag is-small is-rounded is-light",style:{opacity:"0.5"}},z=["onClick"],Z={class:"icon is-small"},ee=["onClick"],te={class:"icon is-small"},ie=["aria-expanded","onClick"],ne=["title","onClick"],se={class:"icon is-small"},ae={class:"event-app-networking__bio-inner"},oe={class:"event-app-networking__bio"},re={key:2,class:"event-app-networking__panel"},le={key:0,class:"event-app-networking__empty"},ce={key:0,class:"event-app-networking__day-tabs",role:"tablist"},de=["aria-selected"],he=["aria-selected","onClick"],ue={class:"event-app-networking__day-tab-num"},pe={class:"event-app-networking__day-tab-meta"},ge={class:"event-app-networking__day-tab-weekday"},me={class:"event-app-networking__day-tab-month"},ke={key:1,class:"event-app-networking__empty"},ye={key:2,class:"event-app-networking__section"},be={class:"event-app-networking__section-title"},ve={key:3,class:"event-app-networking__section"},fe={class:"event-app-networking__section-title"},_e={key:4,class:"event-app-networking__section"},Ce={class:"event-app-networking__section-title"},we={key:5,class:"event-app-networking__section"},$e={class:"event-app-networking__section-title"};function Le(e,t,i,Le,Pe,Me){const Se=(0,n.g2)("b-skeleton"),Ie=(0,n.g2)("font-awesome-icon"),Ee=(0,n.g2)("ListFilterPill"),Fe=(0,n.g2)("LogoThumbnail"),Xe=(0,n.g2)("b-tooltip"),De=(0,n.g2)("NetworkingMeetingCard"),Ne=(0,n.g2)("NetworkingBookingModal");return(0,n.uX)(),(0,n.CE)("div",o,[Pe.isLoading?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"event-app-networking__skeleton","aria-busy":"true","aria-label":e.$t("Loading")},[(0,n.Lk)("div",l,[(0,n.bF)(Se,{width:"48%",height:"36px",animated:""}),(0,n.bF)(Se,{width:"48%",height:"36px",animated:"",class:"mt-0"})]),(0,n.bF)(Se,{width:"100%",height:"44px",animated:"",class:"event-app-networking__skeleton-search"}),(0,n.Lk)("ul",c,[((0,n.uX)(),(0,n.CE)(n.FK,null,(0,n.pI)(6,e=>(0,n.Lk)("li",{key:"sk-p-"+e,class:"event-app-networking__skeleton-row"},[(0,n.bF)(Se,{circle:"",width:"44px",height:"44px",animated:""}),(0,n.Lk)("div",d,[(0,n.bF)(Se,{width:"60%",height:"14px",animated:""}),(0,n.bF)(Se,{width:"80%",height:"11px",animated:""}),(0,n.bF)(Se,{width:"40%",height:"11px",animated:""})]),(0,n.bF)(Se,{width:"84px",height:"32px",animated:"",class:"event-app-networking__skeleton-action"})])),64))])],8,r)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[Me.showSubTabs?((0,n.uX)(),(0,n.CE)("div",h,[(0,n.Lk)("button",{type:"button",class:(0,s.C4)(["event-app-networking__sub-tab",{"is-active":"participants"===Pe.activeSubTab}]),onClick:t[0]||(t[0]=e=>Me.setSubTab("participants"))},[(0,n.bF)(Ie,{icon:"fa-light fa-users",class:"event-app-networking__sub-tab-icon"}),(0,n.eW)(" "+(0,s.v_)(e.$t("Participants")),1)],2),Me.canBookMeetings?((0,n.uX)(),(0,n.CE)("button",{key:0,t
1ype:"button",class:(0,s.C4)(["event-app-networking__sub-tab",{"is-active":"meetings"===Pe.activeSubTab}]),onClick:t[1]||(t[1]=e=>Me.setSubTab("meetings"))},[(0,n.bF)(Ie,{icon:"fa-light fa-handshake",class:"event-app-networking__sub-tab-icon"}),(0,n.eW)(" "+(0,s.v_)(e.$t("My meetings"))+" ",1),Me.pendingIncomingCount>0?((0,n.uX)(),(0,n.CE)("span",u,(0,s.v_)(Me.pendingIncomingCount),1)):(0,n.Q3)("",!0)],2)):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),"participants"===Pe.activeSubTab?((0,n.uX)(),(0,n.CE)("div",p,[(0,n.Lk)("div",g,[(0,n.Lk)("div",m,[(0,n.Lk)("button",{class:(0,s.C4)(["pill-trigger",{"is-active":Pe.searchTerm}]),onClick:t[3]||(t[3]=(...e)=>Me.toggleNamePill&&Me.toggleNamePill(...e))},[Pe.searchTerm?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.Lk)("span",{class:"pill-clear",onClick:t[2]||(t[2]=(0,a.D$)((...e)=>Me.clearNamePill&&Me.clearNamePill(...e),["stop"]))},[(0,n.bF)(Ie,{icon:"fa-light fa-xmark"})]),(0,n.Lk)("span",k,(0,s.v_)(e.$t("Name")),1),t[18]||(t[18]=(0,n.Lk)("span",{class:"pill-divider"},null,-1)),(0,n.Lk)("span",y,(0,s.v_)(Pe.searchTerm),1)],64)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.bF)(Ie,{icon:"fa-light fa-plus",class:"pill-icon"}),(0,n.Lk)("span",b,(0,s.v_)(e.$t("Name")),1)],64))],2),(0,n.bo)((0,n.Lk)("div",v,[(0,n.Lk)("div",f,(0,s.v_)(e.$t("Search participants")),1),(0,n.Lk)("div",_,[(0,n.bo)((0,n.Lk)("input",{ref:"nameInput","onUpdate:modelValue":t[4]||(t[4]=e=>Pe.searchTerm=e),class:"input is-small",placeholder:e.$t("Search participants"),onClick:t[5]||(t[5]=(0,a.D$)(()=>{},["stop"]))},null,8,C),[[a.Jo,Pe.searchTerm]])])],512),[[a.aG,Pe.isNamePillOpen]])],512),Me.countryOptions.length>0?((0,n.uX)(),(0,n.Wv)(Ee,{key:0,label:e.$t("Country"),options:Me.countryOptions,"model-value":Pe.selectedCountry,"onUpdate:modelValue":t[6]||(t[6]=e=>Pe.selectedCountry=e)},null,8,["label","options","model-value"])):(0,n.Q3)("",!0),Me.hasSavedFilter?((0,n.uX)(),(0,n.CE)("button",{key:1,type:"button",class:(0,s.C4)(["pill-trigger event-app-networking__saved-filter",{"is-active":Pe.savedFilterActive}]),onClick:t[8]||(t[8]=(...e)=>Me.toggleSavedFilter&&Me.toggleSavedFilter(...e))},[Pe.savedFilterActive?((0,n.uX)(),(0,n.CE)("span",{key:0,class:"pill-clear",onClick:t[7]||(t[7]=(0,a.D$)(e=>Me.setSavedFilter(!1),["stop"]))},[(0,n.bF)(Ie,{icon:"fa-light fa-xmark"})])):(0,n.Q3)("",!0),(0,n.bF)(Ie,{icon:"fa-light fa-bookmark",class:"pill-icon"}),(0,n.Lk)("span",w,(0,s.v_)(e.$t("Saved")),1),Me.savedCount>0?((0,n.uX)(),(0,n.CE)("span",$,(0,s.v_)(Me.savedCount),1)):(0,n.Q3)("",!0)],2)):(0,n.Q3)("",!0)]),Pe.savedFilterActive&&Pe.savedLoading&&!Pe.savedLoaded?((0,n.uX)(),(0,n.CE)("div",L,[((0,n.uX)(),(0,n.CE)(n.FK,null,(0,n.pI)(4,e=>(0,n.Lk)("div",{key:"sk-s-"+e,class:"event-app-networking__skeleton-row"},[(0,n.bF)(Se,{circle:"",width:"44px",height:"44px",animated:""}),(0,n.Lk)("div",P,[(0,n.bF)(Se,{width:"60%",height:"14px",animated:""}),(0,n.bF)(Se,{width:"80%",height:"11px",animated:""})])])),64))])):Me.displayedList.length?((0,n.uX)(),(0,n.CE)("ul",S,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Me.displayedList,i=>((0,n.uX)(),(0,n.CE)("li",{key:Me.participantKey(i),class:"event-app-networking__row"},[(0,n.Lk)("div",I,[(0,n.bF)(Fe,{item:Me.logoThumbnailItem(i),"is-type":"roundMedium"},null,8,["item"])]),(0,n.Lk)("div",E,[(0,n.Lk)("div",F,[(0,n.Lk)("p",X,(0,s.v_)(e.$filters.personName(i)),1),i.phoneNumber||i.email||i.linkedinUrl||i.bskyHandle?((0,n.uX)(),(0,n.CE)("div",D,[i.phoneNumber?((0,n.uX)(),(0,n.CE)("a",{key:0,href:"tel:"+i.phoneNumber,target:"_blank",rel:"noopener noreferrer",class:"event-app-networking__social-btn","aria-label":i.phoneNumber,title:i.phoneNumber,onClick:t[9]||(t[9]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-light fa-phone"})],8,N)):(0,n.Q3)("",!0),i.email?((0,n.uX)(),(0,n.CE)("a",{key:1,href:"mailto:"+i.email,class:"event-app-networking__social-btn","aria-label":i.email,title:i.email,onClick:t[10]||(t[10]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-light fa-envelope"})],8,K)):(0,n.Q3)("",!0),i.linkedinUrl?((0,n.uX)(),(0,n.Wv)(Xe,{key:2,label:i.linkedinUrl,position:"is-top",type:"is-dark","append-to-body":""},{default:(0,n.k6)(()=>[(0,n.Lk)("a",{href:i.linkedinUrl,target:"_blank",rel:"noopener noreferrer",class:"event-app-networking__social-btn","aria-label":i.linkedinUrl,onClick:t[11]||(t[11]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-brands fa-linkedin"})],8,T)]),_:2},1032,["label"])):(0,n.Q3)("",!0),i.bskyHandle?((0,n.uX)(),(0,n.Wv)(Xe,{key:3,label:i.bskyHandle,position:"is-top",type:"is-dark","append-to-body":""},{default:(0,n.k6)(()=>[(0,n.Lk)("a",{href:Me.bskyProfileUrl(i.bskyHandle),target:"_blank",rel:"noopener noreferrer",class:"event-app-networking__social-btn","aria-label":i.bskyHandle,onClick:t[12]||(t[12]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-brands fa-bluesky"})],8,A)]),_:2},1032,["label"])):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0)]),i.headline?((0,n.uX)(),(0,n.CE)("p",B,(0,s.v_)(i.headline),1)):(0,n.Q3)("",!0),i.country?((0,n.uX)(),(0,n.CE)("p",Q,[(0,n.bF)(Ie,{icon:"fa-light fa-location-dot",class:"event-app-networking__country-icon"}),(0,n.eW)(" "+(0,s.v_)(i.country),1)])):(0,n.Q3)("",!0)]),Me.hasRowActions(i)?((0,n.uX)(),(0,n.CE)("div",x,[i.phoneNumber||i.email||i.linkedinUrl||i.bskyHandle?((0,n.uX)(),(0,n.CE)("div",q,[i.phoneNumber?((0,n.uX)(),(0,n.CE)("a",{key:0,href:"tel:"+i.phoneNumber,target:"_blank",rel:"noopener noreferrer",class:"event-app-networking__social-btn","aria-label":i.phoneNumber,title:i.phoneNumber,onClick:t[13]||(t[13]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-light fa-phone"})],8,W)):(0,n.Q3)("",!0),i.email?((0,n.uX)(),(0,n.CE)("a",{key:1,href:"mailto:"+i.email,class:"event-app-networking__social-btn","aria-label":i.email,title:i.email,onClick:t[14]||(t[14]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-light fa-envelope"})],8,U)):(0,n.Q3)("",!0),i.linkedinUrl?((0,n.uX)(),(0,n.Wv)(Xe,{key:2,label:i.linkedinUrl,position:"is-top",type:"is-dark","append-to-body":""},{default:(0,n.k6)(()=>[(0,n.Lk)("a",{href:i.linkedinUrl,target:"_blank",rel:"noopener noreferrer",class:"event-app-networking__social-btn","aria-label":i.linkedinUrl,onClick:t[15]||(t[15]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-brands fa-linkedin"})],8,H)]),_:2},1032,["label"])):(0,n.Q3)("",!0),i.bskyHandle?((0,n.uX)(),(0,n.Wv)(Xe,{key:3,label:i.bskyHandle,position:"is-top",type:"is-dark","append-to-body":""},{default:(0,n.k6)(()=>[(0,n.Lk)("a",{href:Me.bskyProfileUrl(i.bskyHandle),target:"_blank",rel:"noopener noreferrer",class:"event-app-networking__social-btn","aria-label":i.bskyHandle,onClick:t[16]||(t[16]=(0,a.D$)(()=>{},["stop"]))},[(0,n.bF)(Ie,{icon:"fa-brands fa-bluesky"})],8,O)]),_:2},1032,["label"])):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),Me.isContactViewer?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[i.isContact||"none"!==i.connectionStatus?"pending_sent"===i.connectionStatus?((0,n.uX)(),(0,n.CE)("span",V,(0,s.v_)(e.$t("Pending")),1)):"pending_received"===i.connectionStatus?((0,n.uX)(),(0,n.CE)("span",Y,(0,s.v_)(e.$t("Awaits you")),1)):"connected"===i.connectionStatus?((0,n.uX)(),(0,n.CE)("span",j,[(0,n.Lk)("span",G,[(0,n.bF)(Ie,{icon:"fa-light fa-check"})]),(0,n.Lk)("span",null,(0,s.v_)(e.$t("Connected")),1)])):"cooldown"===i.connectionStatus?((0,n.uX)(),(0,n.CE)("span",J,(0,s.v_)(e.$t("Connect")),1)):(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("button",{key:0,t
1ype:"button",class:"button is-small is-rounded is-primary is-light",disabled:Pe.connectLoading[i.userId],onClick:(0,a.D$)(e=>Me.onConnect(i),["stop"])},(0,s.v_)(e.$t("Connect")),9,R))],64)),Me.canBookMeetings?((0,n.uX)(),(0,n.CE)(n.FK,{key:2},[Me.activeMeetingWith(i)?((0,n.uX)(),(0,n.CE)("button",{key:0,type:"button",class:(0,s.C4)(["button is-small is-rounded",Me.ctaStatusClass(Me.activeMeetingWith(i))]),onClick:e=>Me.jumpToMeeting(Me.activeMeetingWith(i))},[(0,n.Lk)("span",Z,[(0,n.bF)(Ie,{icon:Me.ctaStatusIcon(Me.activeMeetingWith(i))},null,8,["icon"])]),(0,n.Lk)("span",null,(0,s.v_)(Me.ctaStatusLabel(Me.activeMeetingWith(i),i)),1)],10,z)):((0,n.uX)(),(0,n.CE)("button",{key:1,type:"button",class:"button is-small is-rounded is-light event-app-networking__book-btn",onClick:e=>Me.openBookingModal(i)},[(0,n.Lk)("span",te,[(0,n.bF)(Ie,{icon:"fa-light fa-handshake"})]),(0,n.Lk)("span",null,(0,s.v_)(e.$t("Book 1:1")),1)],8,ee))],64)):(0,n.Q3)("",!0),i.bio?((0,n.uX)(),(0,n.CE)("button",{key:3,type:"button",class:"button is-small is-rounded is-default event-app-networking__bio-toggle","aria-expanded":Me.isBioExpanded(i),onClick:(0,a.D$)(e=>Me.toggleBio(i),["stop"])},(0,s.v_)(Me.isBioExpanded(i)?e.$t("Hide bio"):e.$t("Show bio")),9,ie)):(0,n.Q3)("",!0),i.bookmarkId?((0,n.uX)(),(0,n.CE)("button",{key:4,type:"button",class:"button is-small is-rounded is-primary is-light",title:e.$t("Remove from Saved"),onClick:(0,a.D$)(e=>Me.onUnsave(i),["stop"])},[(0,n.Lk)("span",se,[(0,n.bF)(Ie,{icon:"fa-light fa-bookmark"})]),(0,n.Lk)("span",null,(0,s.v_)(e.$t("Saved")),1)],8,ne)):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),i.bio?((0,n.uX)(),(0,n.CE)("div",{key:1,class:(0,s.C4)(["event-app-networking__bio-wrap",{"is-expanded":Me.isBioExpanded(i)}])},[(0,n.Lk)("div",ae,[(0,n.Lk)("p",oe,(0,s.v_)(i.bio),1)])],2)):(0,n.Q3)("",!0)]))),128))])):((0,n.uX)(),(0,n.CE)("p",M,(0,s.v_)(Me.emptyMessage),1))])):"meetings"===Pe.activeSubTab?((0,n.uX)(),(0,n.CE)("div",re,[Pe.meetings.length?((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[Me.meetingDays.length>1?((0,n.uX)(),(0,n.CE)("div",ce,[(0,n.Lk)("button",{type:"button",role:"tab",class:(0,s.C4)(["event-app-networking__day-tab is-all",{"is-active":null===Pe.activeMeetingDayKey}]),"aria-selected":null===Pe.activeMeetingDayKey,onClick:t[17]||(t[17]=e=>Me.selectMeetingDay(null,e.currentTarget))},(0,s.v_)(e.$t("All days")),11,de),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Me.meetingDays,e=>((0,n.uX)(),(0,n.CE)("button",{key:e.key,type:"button",role:"tab",class:(0,s.C4)(["event-app-networking__day-tab",{"is-active":Pe.activeMeetingDayKey===e.key}]),"aria-selected":Pe.activeMeetingDayKey===e.key,onClick:t=>Me.selectMeetingDay(e.key,t.currentTarget)},[(0,n.Lk)("span",ue,(0,s.v_)(e.dayNum),1),(0,n.Lk)("span",pe,[(0,n.Lk)("span",ge,(0,s.v_)(e.weekday),1),(0,n.Lk)("span",me,(0,s.v_)(e.month),1)])],10,he))),128))])):(0,n.Q3)("",!0),0===Me.visiblePendingIncoming.length&&0===Me.visiblePendingOutgoing.length&&0===Me.visibleConfirmed.length&&0===Me.visibleHistory.length?((0,n.uX)(),(0,n.CE)("div",ke,(0,s.v_)(e.$t("No meetings on this day")),1)):(0,n.Q3)("",!0),Me.visiblePendingIncoming.length?((0,n.uX)(),(0,n.CE)("section",ye,[(0,n.Lk)("h3",be,(0,s.v_)(e.$t("Pending — incoming")),1),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Me.visiblePendingIncoming,e=>((0,n.uX)(),(0,n.Wv)(De,{key:e.id,ref_for:!0,ref:Me.setMeetingRef(e.uuid),meeting:e,"current-principal-key":Me.myPrincipalKey,highlighted:Pe.highlightedMeetingUuid===e.uuid,onRespond:Me.onRespond,onCancel:Me.onCancel},null,8,["meeting","current-principal-key","highlighted","onRespond","onCancel"]))),128))])):(0,n.Q3)("",!0),Me.visiblePendingOutgoing.length?((0,n.uX)(),(0,n.CE)("section",ve,[(0,n.Lk)("h3",fe,(0,s.v_)(e.$t("Pending — outgoing")),1),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Me.visiblePendingOutgoing,e=>((0,n.uX)(),(0,n.Wv)(De,{key:e.id,ref_for:!0,ref:Me.setMeetingRef(e.uuid),meeting:e,"current-principal-key":Me.myPrincipalKey,highlighted:Pe.highlightedMeetingUuid===e.uuid,onCancel:Me.onCancel},null,8,["meeting","current-principal-key","highlighted","onCancel"]))),128))])):(0,n.Q3)("",!0),Me.visibleConfirmed.length?((0,n.uX)(),(0,n.CE)("section",_e,[(0,n.Lk)("h3",Ce,(0,s.v_)(e.$t("Confirmed")),1),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Me.visibleConfirmed,e=>((0,n.uX)(),(0,n.Wv)(De,{key:e.id,ref_for:!0,ref:Me.setMeetingRef(e.uuid),meeting:e,"current-principal-key":Me.myPrincipalKey,highlighted:Pe.highlightedMeetingUuid===e.uuid,onCancel:Me.onCancel},null,8,["meeting","current-principal-key","highlighted","onCancel"]))),128))])):(0,n.Q3)("",!0),Me.visibleHistory.length?((0,n.uX)(),(0,n.CE)("section",we,[(0,n.Lk)("h3",$e,(0,s.v_)(e.$t("Past & canceled")),1),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(Me.visibleHistory,e=>((0,n.uX)(),(0,n.Wv)(De,{key:e.id,ref_for:!0,ref:Me.setMeetingRef(e.uuid),meeting:e,"current-principal-key":Me.myPrincipalKey,highlighted:Pe.highlightedMeetingUuid===e.uuid},null,8,["meeting","current-principal-key","highlighted"]))),128))])):(0,n.Q3)("",!0)],64)):((0,n.uX)(),(0,n.CE)("div",le,(0,s.v_)(e.$t("No 1:1 meetings 
1yet")),1))])):(0,n.Q3)("",!0)],64)),Pe.bookingModalOpen?((0,n.uX)(),(0,n.Wv)(Ne,{key:2,"event-id":Me.eventNumericId,recipient:Pe.bookingTarget,onClose:Me.closeBookingModal,onBooked:Me.onBooked},null,8,["event-id","recipient","onClose","onBooked"])):(0,n.Q3)("",!0)])}i(18111),i(22489),i(20116),i(61701),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);var Pe=i(40834),Me=i(31823),Se=i(43432);const Ie={class:"nbm__sheet",role:"dialog","aria-modal":"true"},Ee={class:"nbm__header"},Fe={class:"nbm__header-text"},Xe={class:"nbm__eyebrow"},De={class:"nbm__title"},Ne=["aria-label"],Ke={class:"nbm__body"},Te={key:0,class:"nbm__loading"},Ae={key:0,class:"nbm__legend"},Be={class:"nbm__legend-item"},Qe={key:0,class:"nbm__legend-item"},xe={key:1,class:"nbm__legend-item"},qe={key:1,class:"nbm__empty"},We={key:0,class:"nbm__day-tabs",role:"tablist"},Ue=["aria-selected","onClick"],He={class:"nbm__day-tab-num"},Oe={class:"nbm__day-tab-meta"},Re={class:"nbm__day-tab-weekday"},Ve={class:"nbm__day-tab-month"},Ye={key:1,class:"nbm__day-single-header"},je={class:"nbm__day-name"},Ge={class:"nbm__day-date"},Je={key:2,class:"nbm__day-grid"},ze=["disabled","onClick"],Ze={class:"nbm__slot-time"},et={class:"nbm__slot-end"},tt={key:0,class:"nbm__slot-marker is-warned","aria-hidden":"true"},it={key:1,class:"nbm__slot-marker is-full","aria-hidden":"true"},nt={key:3,class:"nbm__overlap-warning",role:"alert"},st={class:"nbm__overlap-warning-title"},at={class:"nbm__overlap-warning-body"},ot={class:"nbm__message-block"},rt={for:"nbm-message",class:"nbm__message-label"},lt={class:"nbm__optional"},ct=["placeholder"],dt={class:"nbm__footer"},ht={key:0,class:"nbm__selected-summary"},ut=["disabled"];function pt(e,t,i,o,r,l){const c=(0,n.g2)("font-awesome-icon"),d=(0,n.g2)("b-loading");return(0,n.uX)(),(0,n.CE)("div",{class:"nbm__backdrop",onClick:t[4]||(t[4]=(0,a.D$)(t=>e.$emit("close"),["self"]))},[(0,n.Lk)("div",Ie,[(0,n.Lk)("header",Ee,[(0,n.Lk)("div",Fe,[(0,n.Lk)("p",Xe,(0,s.v_)(e.$t("1:1 invitation")),1),(0,n.Lk)("h2",De,(0,s.v_)(l.recipientName),1)]),(0,n.Lk)("button",{type:"button",class:"nbm__close","aria-label":e.$t("Close"),onClick:t[0]||(t[0]=t=>e.$emit("close"))},[(0,n.bF)(c,{icon:"fa-light fa-xmark"})],8,Ne)]),(0,n.Lk)("div",Ke,[r.isLoading?((0,n.uX)(),(0,n.CE)("div",Te,[(0,n.bF)(d,{"is-full-page":!1,"model-value":!0})])):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[l.legendVisible?((0,n.uX)(),(0,n.CE)("div",Ae,[(0,n.Lk)("span",Be,[t[5]||(t[5]=(0,n.Lk)("span",{class:"nbm__legend-dot is-available"},null,-1)),(0,n.eW)(" "+(0,s.v_)(e.$t("Available")),1)]),l.hasWarnedSlot?((0,n.uX)(),(0,n.CE)("span",Qe,[t[6]||(t[6]=(0,n.Lk)("span",{class:"nbm__legend-dot is-warned"},null,-1)),(0,n.eW)(" "+(0,s.v_)(e.$t("Overlaps your schedule")),1)])):(0,n.Q3)("",!0),l.hasFullSlot?((0,n.uX)(),(0,n.CE)("span",xe,[t[7]||(t[7]=(0,n.Lk)("span",{class:"nbm__legend-dot is-full"},null,-1)),(0,n.eW)(" "+(0,s.v_)(e.$t("Full")),1)])):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0),l.displayedSlots.length?((0,n.uX)(),(0,n.CE)(n.FK,{key:2},[l.groupedDays.length>1?((0,n.uX)(),(0,n.CE)("div",We,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(l.groupedDays,e=>((0,n.uX)(),(0,n.CE)("button",{key:e.key,type:"button",role:"tab","aria-selected":r.activeDayKey===e.key,class:(0,s.C4)(["nbm__day-tab",{"is-active":r.activeDayKey===e.key}]),onClick:t=>l.selectDay(e.key,t.currentTarget)},[(0,n.Lk)("span",He,(0,s.v_)(e.dayNum),1),(0,n.Lk)("span",Oe,[(0,n.Lk)("span",Re,(0,s.v_)(e.weekday),1),(0,n.Lk)("span",Ve,(0,s.v_)(e.month),1)])],10,Ue))),128))])):l.activeDay?((0,n.uX)(),(0,n.CE)("header",Ye,[(0,n.Lk)("span",je,(0,s.v_)(l.activeDay.weekday),1),(0,n.Lk)("span",Ge,(0,s.v_)(l.activeDay.dateLong),1)])):(0,n.Q3)("",!0),l.activeDay?((0,n.uX)(),(0,n.CE)("div",Je,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(l.activeDay.slots,e=>((0,n.uX)(),(0,n.CE)("button",{key:e.start,type:"button",class:(0,s.C4)(["nbm__slot",["is-"+e.status,{"is-selected":r.selectedSlot===e.start}]]),disabled:"full"===e.status,onClick:t=>l.selectSlot(e)},[(0,n.Lk)("span",Ze,(0,s.v_)(l.formatTime(e.start)),1),(0,n.Lk)("span",et,(0,s.v_)(l.formatTime(e.end)),1),"warned"===e.status?((0,n.uX)(),(0,n.CE)("span",tt)):"full"===e.status?((0,n.uX)(),(0,n.CE)("span",it)):(0,n.Q3)("",!0)],10,ze))),128))])):(0,n.Q3)("",!0)],64)):((0,n.uX)(),(0,n.CE)("div",qe,[(0,n.bF)(c,{icon:"fa-light fa-calendar-xmark",size:"2x"}),(0,n.Lk)("p",null,(0,s.v_)(e.$t("No available time slots for this event.")),1)])),l.selectedSlotIsWarned?((0,n.uX)(),(0,n.CE)("div",nt,[(0,n.bF)(c,{icon:"fa-light fa-triangle-exclamation",class:"nbm__overlap-warning-icon"}),(0,n.Lk)("div",null,[(0,n.Lk)("p",st,(0,s.v_)(e.$t("This time conflicts with your schedule")),1),(0,n.Lk)("p",at,(0,s.v_)(e.$t("You already have a 1:1 booked or a session on your agenda at this time. You can still send the invitation, but you may want to resolve the conflict first.")),1)])])):(0,n.Q3)("",!0),(0,n.Lk)("div",ot,[(0,n.Lk)("label",rt,[(0,n.eW)((0,s.v_)(e.$t("Add a message"))+" ",1),(0,n.Lk)("span",lt,(0,s.v_)(e.$t("optional")),1)]),(0,n.bo)((0,n.Lk)("textarea",{id:"nbm-message","onUpdate:modelValue":t[1]||(t[1]=e=>r.message=e),class:"nbm__message-input",rows:"3",maxlength:"500",placeholder:e.$t("Hi! Would love to compare notes on…")},null,8,ct),[[a.Jo,r.message]])])],64))]),(0,n.Lk)("footer",dt,[l.selectedSlotMeta?((0,n.uX)(),(0,n.CE)("div",ht,[(0,n.bF)(c,{icon:"fa-light fa-clock",class:"nbm__selected-icon"}),(0,n.Lk)("span",null,(0,s.v_)(l.selectedSlotMeta),1)])):(0,n.Q3)("",!0),t[8]||(t[8]=(0,n.Lk)("div",{class:"nbm__footer-spacer"},null,-1)),(0,n.Lk)("button",{type:"button",class:"button is-rounded is-ghost",onClick:t[2]||(t[2]=t=>e.$emit("close"))},(0,s.v_)(e.$t("Cancel")),1),(0,n.Lk)("button",{type:"button",class:(0,s.C4)(["button is-rounded is-primary",{"is-loading":r.isSubmitting}]),disabled:!r.selectedSlot||r.isSubmitting,onClick:t[3]||(t[3]=(...e)=>l.submit&&l.submit(...e))},[(0,n.Lk)("span",null,(0,s.v_)(e.$t("Send invitation")),1)],10,ut)])])])}i(44114),i(7588),i(13579);var gt=i(95093),mt=i.n(gt),kt={name:"NetworkingBookingModal",props:{eventId:{type:Number,required:!0},recipient:{type:Object,required:!0}},emits:["close","booked"],data(){return{slots:[],selectedSlot:null,message:"",isLoading:!0,isSubmitting:!1,activeDayKey:null,nowMs:Date.now()}},computed:{recipientName(){return[this.recipient.firstName,this.recipient.lastName].filter(
1Boolean).join(" ")},displayedSlots(){return(this.slots||[]).filter(e=>{const t=Date.parse(e.start);return Number.isFinite(t)&&t>this.nowMs})},groupedDays(){const e=new Map;return this.displayedSlots.forEach(t=>{const i=(t.start||"").substring(0,10);i&&(e.has(i)||e.set(i,{key:i,dayNum:this.$filters.format(t.start,"D"),weekday:this.$filters.format(t.start,"ddd"),month:this.$filters.format(t.start,"MMM"),dateLong:this.$filters.format(t.start,"MMMM D"),slots:[]}),e.get(i).slots.push(t))}),Array.from(e.values())},activeDay(){return this.groupedDays.length?this.groupedDays.find(e=>e.key===this.activeDayKey)||this.groupedDays[0]:null},hasWarnedSlot(){return this.displayedSlots.some(e=>"warned"===e.status)},hasFullSlot(){return this.displayedSlots.some(e=>"full"===e.status)},legendVisible(){return this.displayedSlots.length>0},selectedSlotMeta(){if(!this.selectedSlot)return"";const e=(this.slots||[]).find(e=>e.start===this.selectedSlot);if(!e)return"";const t=this.$filters.format(e.start,"ddd, MMM D"),i=`${this.formatTime(e.start)} – ${this.formatTime(e.end)}`;return`${t} · ${i}`},selectedSlotIsWarned(){if(!this.selectedSlot)return!1;const e=(this.slots||[]).find(e=>e.start===this.selectedSlot);return!!e&&"warned"===e.status}},created(){this.fetchSlots()},mounted(){document.body.classList.add("has-nbm-open"),this.nowTickHandle=setInterval(()=>{this.nowMs=Date.now()},3e4)},beforeUnmount(){document.body.classList.remove("has-nbm-open"),this.nowTickHandle&&(clearInterval(this.nowTickHandle),this.nowTickHandle=null)},methods:{fetchSlots(){this.isLoading=!0,this.$http.plain.get("/networking-sessions/slots?event="+this.eventId).then(e=>{this.slots=Array.isArray(e.data)?e.data:[],this.pickDefaultDay()}).catch(e=>{console.log(e)}).finally(()=>{this.isLoading=!1})},pickDefaultDay(){const e=this.todayKeyForSlots(),t=e?this.groupedDays.find(t=>t.key===e&&t.slots.some(e=>"full"!==e.status)):null;if(t)return void(this.activeDayKey=t.key);const i=this.groupedDays.find(e=>e.slots.some(e=>"full"!==e.status));this.activeDayKey=(i||this.groupedDays[0]||{}).key||null},todayKeyForSlots(){const e=(this.slots||[])[0];if(!e)return mt()().format("YYYY-MM-DD");const t=mt().parseZone(e.start);return t.isValid()?mt()().utcOffset(t.utcOffset()).format("YYYY-MM-DD"):mt()().format("YYYY-MM-DD")},selectDay(e,t){this.activeDayKey=e,this.scrollDayTabIntoView(t),this.$nextTick(()=>this.scrollSlotGridToTop())},scrollDayTabIntoView(e){if(!e||"function"!==typeof e.scrollIntoView)return;const t=e.parentElement;!t||t.scrollWidth<=t.clientWidth||e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},scrollSlotGridToTop(){const e=this.$el&&this.$el.querySelector(".nbm__day-grid");if(!e)return;const t=this.findScrollableAncestor(e);if(!t)return;const i=this.$el.querySelector(".nbm__day-tabs"),n=i||e,s=n.offsetTop-t.offsetTop;t.scrollTo({top:s,behavior:"smooth"})},findScrollableAncestor(e){let t=e&&e.parentElement;while(t){const e=getComputedStyle(t).overflowY;if(("auto"===e||"scroll"===e)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return null},selectSlot(e){"full"!==e.status&&(this.selectedSlot=e.start)},formatTime(e){try{return this.$filters.format(e,"HH:mm")}catch{return e}},submit(){if(!this.selectedSlot||this.isSubmitting)return;this.isSubmitting=!0;const e={event:this.eventId,slotStart:this.selectedSlot,message:this.message||null};"contact"===this.recipient.kind?e.recipientContact=this.recipient.contactId:e.recipient=this.recipient.userId,this.$http.plain.post("/networking-sessions",e).then(e=>{this.$emit("booked",e.data)}).catch(e=>{console.log(e)}).finally(()=>{this.isSubmitting=!1})}}},yt=i(66262);const bt=(0,yt.A)(kt,[["render",pt],["__scopeId","data-v-612cf60a"]]);var vt=bt;const ft={class:"nmc__avatar"},_t={class:"nmc__body"},Ct=["title"],wt={class:"nmc__meta"},$t={class:"nmc__meta-chunk"},Lt={class:"nmc__meta-chunk"},Pt={class:"nmc__meta-text"},Mt={key:0,class:"nmc__message"},St=["href","aria-label","title"],It=["href","aria-label","title"],Et=["href","aria-label"],Ft=["href","aria-label"],Xt={key:0,class:"nmc__warning"},Dt={class:"icon is-small"},Nt=["aria-label"];function Kt(e,t,i,o,r,l){const c=(0,n.g2)("LogoThumbnail"),d=(0,n.g2)("font-awesome-icon"),h=(0,n.g2)("b-tooltip");return(0,n.uX)(),(0,n.CE)("article",{class:(0,s.C4)(["nmc",["is-"+i.meeting.status,{"is-highlighted":i.highlighted,"is-closed":l.isClosed}]])},[(0,n.Lk)("div",ft,[(0,n.bF)(c,{item:l.avatarItem,"is-type":"roundSmall"},null,8,["item"])]),(0,n.Lk)("div",_t,[(0,n.Lk)("h4",{class:"nmc__name",title:l.statusLabel},(0,s.v_)(l.otherPartyName),9,Ct),(0,n.Lk)("p",wt,[(0,n.Lk)("span",$t,[(0,n.bF)(d,{icon:"fa-light fa-clock",class:"nmc__meta-icon"}),(0,n.Lk)("span",null,(0,s.v_)(l.formatSlot(i.meeting.slotStart,i.meeting.slotEnd)),1)]),i.meeting.space?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[t[4]||(t[4]=(0,n.Lk)("span",{class:"nmc__meta-sep"},"·",-1)),(0,n.Lk)("span",Lt,[(0,n.bF)(d,{icon:"fa-light fa-location-dot",class:"nmc__meta-icon"}),(0,n.Lk)("span",Pt,(0,s.v_)(i.meeting.space.name),1)])],64)):(0,n.Q3)("",!0)]),i.meeting.message?((0,n.uX)(),(0,n.CE)("p",Mt,(0,s.v_)(i.meeting.message),1)):(0,n.Q3)("",!0),l.hasContactChannels?((0,n.uX)(),(0,n.CE)("div",{key:1,class:"nmc__contact-row",onClick:t[0]||(t[0]=(0,a.D$)(()=>{},["stop"]))},[l.otherPartyPhone?((0,n.uX)(),(0,n.CE)("a",{key:0,href:"tel:"+l.otherPartyPhone,target:"_blank",rel:"noopener noreferrer",class:"nmc__contact-btn","aria-label":l.otherPartyPhone,title:l.otherPartyPhone},[(0,n.bF)(d,{icon:"fa-light fa-phone"})],8,St)):(0,n.Q3)("",!0),l.otherPartyEmail?((0,n.uX)(),(0,n.CE)("a",{key:1,href:"mailto:"+l.otherPartyEmail,class:"nmc__contact-btn","aria-label":l.otherPartyEmail,title:l.otherPartyEmail},[(0,n.bF)(d,{icon:"fa-light fa-envelope"})],8,It)):(0,n.Q3)("",!0),l.otherPartyLinkedin?((0,n.uX)(),(0,n.Wv)(h,{key:2,label:l.otherPartyLinkedin,position:"is-top",type:"is-dark","append-to-body":""},{default:(0,n.k6)(()=>[(0,n.Lk)("a",{href:l.otherPartyLinkedin,target:"_blank",rel:"noopener noreferrer",class:"nmc__contact-btn","aria-label":l.otherPartyLinkedin},[(0,n.bF)(d,{icon:"fa-brands fa-linkedin"})],8,Et)]),_:1},8,["label"])):(0,n.Q3)("",!0),l.otherPartyBsky?((0,n.uX)(),(0,n.Wv)(h,{key:3,label:l.otherPartyBsky,position:"is-top",type:"is-dark","append-to-body":""},{default:(0,n.k6)(()=>[(0,n.Lk)("a",{href:l.bskyProfileUrl(l.otherPartyBsky),target:"_blank",rel:"noopener noreferrer",class:"nmc__contact-btn","aria-label":l.otherPartyBsky},[(0,n.bF)(d,{icon:"fa-brands fa-bluesky"})],8,Ft)]),_:1},8,["label"])):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0)]),l.showRecipientWarning?((0,n.uX)(),(0,n.CE)("div",Xt,[(0,n.bF)(d,{icon:"fa-light fa-triangle-exclamation",class:"nmc__warning-icon"}),(0,n.Lk)("span",null,(0,s.v_)(e.$t("Schedule conflict")),1)])):(0,n.Q3)("",!0),l.hasActions?((0,n.uX)(),(0,n.CE)("footer",{key:1,class:(0,s.C4)(["nmc__actions",{"is-multi":l.hasMultipleActions}])},["pending"===i.meeting.status&&l.isRecipient?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.Lk)("button",{type:"button",class:"button is-rounded is-primary is-small",onClick:t[1]||(t[1]=(...e)=>l.onAcceptClick&&l.onAcceptClick(...e))},[(0,n.Lk)("span",Dt,[(0,n.bF)(d,{icon:"fa-light fa-check"})]),(0,n.Lk)("span",null,(0,s.v_)(e.$t("Accept")),1)]),(0,n.Lk)("button",{type:"button",class:"button is-rounded is-small is-ghost",onClick:t[2]||(t[2]=t=>e.$emit("respond",{meetingId:i.meeting.id,action:"deny"}))},(0,s.v_)(e.$t("Decline")),1)],64)):(0,n.Q3)("",!0),l.canCancel?((0,n.uX)(),(0,n.CE)("button",{key:1,type:"button",class:"button is-rounded is-danger is-light is-small","aria-label":e.$t("Cancel"),onClick:t[3]||(t[3]=t=>e.$emit("cancel",i.meeting.id))},[(0,n.Lk)("span",null,(0,s.v_)(e.$t("Cancel")),1)],8,Nt)):(0,n.Q3)("",!0)],2)):(0,n.Q3)("",!0)],2)}var Tt={name:"NetworkingMeetingCard",components:{LogoThumbnail:Me.A},props:{meeting:{type:Object,required:!0},currentPrincipalKey:{type:String,required:!0},highlighted:{type:Boolean,default:!1}},emits:["respond","cancel"],computed:{requesterKey(){const e=this.meeting;return e.requester&&e.requester.id?"user:"+e.requester.id:e.requesterContact&&e.requesterContact.
1id?"contact:"+e.requesterContact.id:null},recipientKey(){const e=this.meeting;return e.recipient&&e.recipient.id?"user:"+e.recipient.id:e.recipientContact&&e.recipientContact.id?"contact:"+e.recipientContact.id:null},isRequester(){return this.requesterKey===this.currentPrincipalKey},isRecipient(){return this.recipientKey===this.currentPrincipalKey},otherParty(){return this.isRequester?this.meeting.recipient||this.meeting.recipientContact||null:this.meeting.requester||this.meeting.requesterContact||null},otherPartyName(){return this.otherParty?[this.otherParty.firstName,this.otherParty.lastName].filter(Boolean).join(" "):""},otherPartyHeadline(){return this.otherParty&&this.otherParty.headline?this.otherParty.headline:""},avatarItem(){if(!this.otherParty)return{firstName:"?",lastName:""};const e=this.isRequester?!!this.meeting.recipientContact:!!this.meeting.requesterContact;return{"@type":e?"Contact":"User",firstName:this.otherParty.firstName,lastName:this.otherParty.lastName,name:e?[this.otherParty.firstName,this.otherParty.lastName].filter(Boolean).join(" ")||"":void 0,logo:this.otherParty.logo}},roleLabel(){return this.isRequester?this.$t("With"):this.$t("From")},statusLabel(){switch(this.meeting.status){case"pending":return this.$t("Pending");case"confirmed":return this.$t("Confirmed");case"denied":return this.$t("Declined");case"canceled_by_requester":case"canceled_by_recipient":return this.$t("Canceled");default:return this.meeting.status}},showRecipientWarning(){return"pending"===this.meeting.status&&this.meeting.recipientWarnedAtBooking&&this.isRecipient},isPast(){const e=this.meeting.slotEnd??this.meeting.slotStart;return!!e&&new Date(e).getTime()<=Date.now()},canCancel(){return["pending","confirmed"].includes(this.meeting.status)&&!this.isPast},hasActions(){return this.canCancel},hasMultipleActions(){return"pending"===this.meeting.status&&this.isRecipient},isClosed(){return["denied","canceled_by_requester","canceled_by_recipient"].includes(this.meeting.status)},otherPartyPhone(){const e=this.otherParty;return e&&(e.phoneNumber||e.phone)||""},otherPartyEmail(){const e=this.otherParty;return e&&e.email||""},otherPartyLinkedin(){const e=this.otherParty;return e&&(e.profileLinkedin||e.linkedin)||""},otherPartyBsky(){const e=this.otherParty;return e&&(e.profileBsky||e.bsky)||""},hasContactChannels(){return!!(this.otherPartyPhone||this.otherPartyEmail||this.otherPartyLinkedin||this.otherPartyBsky)}},methods:{bskyProfileUrl(e){if(!e)return"#";const t=String(e).trim();if(/^https?:\/\//i.test(t))return t;const i=t.replace(/^@/,"").replace(/^\/+/,"");return"https://bsky.app/profile/"+i},formatSlot(e,t){if(!e)return"";try{const i=this.$filters.format(e,"ddd, MMM D"),n=this.$filters.format(e,"HH:mm"),s=t?this.$filters.format(t,"HH:mm"):"";return s?`${i} · ${n} – ${s}`:`${i} · ${n}`}catch{return e}},onAcceptClick(){const e=()=>this.$emit("respond",{meetingId:this.meeting.id,action:"accept"});this.meeting.recipientWarnedAtBooking?this.$buefy.dialog.confirm({title:this.$t("Schedule conflict"),message:this.$t("You already have a 1:1 booked or a session on your agenda at this time. Accept anyway?"),confirmText:this.$t("Accept"),cancelText:this.$t("Cancel"),type:"is-warning",hasIcon:!0,onConfirm:e}):e()}}};const At=(0,yt.A)(Tt,[["render",Kt],["__scopeId","data-v-140131f3"]]);var Bt=At,Qt=i(28782),xt={computed:{...(0,Pe.L8)(["user","tenant"])},mounted(){this.networkingMercureDiscovery()},beforeUnmount(){},methods:{networkingMercureDiscovery(){if("undefined"!==typeof Qt.uW&&!1===Qt.uW)return;if(!1===this.tenant?.settingFeatures?.realtime?.isActive)return;if(!this.user||!this.user.id)return;if("contact"===this.user.kind)return;const e="notification_"+this.user.id;this.$http.plain.get("/mercure-token/"+e).then(t=>{this.networkingMercureSubscribe(t.data,e)}).catch(e=>console.log(e))},networkingMercureSubscribe(e,t){this.$store.commit("resetEventSource"),this.$store.commit("initEventSource",{token:e.token,hubUrl:e.hubUrl,topic:t}),this.$store.state.currentMercureEvent.onmessage=e=>{this.handleNetworkingMercureMessage(e)}},handleNetworkingMercureMessage(e){let t;try{t=JSON.parse(e.data)}catch(n){return void console.log("Invalid networking Mercure message:",n)}if(!t||"object"!==typeof t)return;const i=t.notification||t;"function"===typeof this.handleNetworkingMercureEvent&&this.handleNetworkingMercureEvent(i)}}},qt={name:"EventAppNetworking",components:{LogoThumbnail:Me.A,ListFilterPill:Se.A,NetworkingBookingModal:vt,NetworkingMeetingCard:Bt},mixins:[xt],props:{event:{type:Object,default:null}},data(){return{isLoading:!0,participants:[],meetings:[],searchTerm:"",isNamePillOpen:!1,selectedCountry:null,activeSubTab:"participants",bookingModalOpen:!1,bookingTarget:null,highlightedMeetingUuid:null,meetingCardRefs:{},activeMeetingDayKey:null,connectLoading:{},expandedBios:{},savedItems:[],savedLoading:!1,savedLoaded:!1,savedFilterActive:!1}},computed:{...(0,Pe.L8)(["user","tenant"]),isContactViewer(){return this.user&&"contact"===this.user.kind},hasSavedFilter(){return!!this.event&&!this.event.canManageEventApp},showSubTabs(){return this.canBookMeetings},savedCount(){return this.savedItems.length},eventNumericId(){return this.event?this.event.id:null},canBookMeetings(){return!(!this.event||!this.event.hasNetworking)},myPrincipalKey(){if(!this.user||!this.user.id)return null;const e="contact"===this.user.kind?"contact":"user";return e+":"+this.user.id},filteredParticipants(){const e=(this.searchTerm||"").trim().toLowerCase(),t=this.selectedCountry,i=this.myPrincipalKey;return this.participants.filter(n=>{if(this.principalKeyFromParticipant(n)===i)return!1;if(t&&n.country!==t)return!1;
1if(e){const t=[n.firstName,n.lastName,n.headline].filter(Boolean).join(" ").toLowerCase();if(!t.includes(e))return!1}return!0})},savedAsParticipants(){const e=(this.searchTerm||"").trim().toLowerCase(),t=this.selectedCountry,i=this.myPrincipalKey,n=this.savedItems.map(e=>{const t="contact"===e.kind?"contact:"+e.contactId:"user:"+e.userId,i=this.participants.find(e=>this.principalKeyFromParticipant(e)===t);return i?{...i,bookmarkId:e.bookmarkId,eventAttendId:e.eventAttendId}:e});return n.filter(n=>{if(this.principalKeyFromParticipant(n)===i)return!1;if(t&&n.country!==t)return!1;if(e){const t=[n.firstName,n.lastName,n.headline].filter(Boolean).join(" ").toLowerCase();if(!t.includes(e))return!1}return!0})},displayedList(){return this.savedFilterActive?this.savedAsParticipants:this.filteredParticipants},emptyMessage(){return this.savedFilterActive&&!this.savedItems.length?this.$t("You haven't saved anyone yet. Scan a QR code to save someone you met."):this.savedFilterActive||this.searchTerm||this.selectedCountry?this.$t("No results found"):this.$t("No participants yet")},countryOptions(){const e=new Set;for(const t of this.participants)t.country&&e.add(t.country);return[...e].sort((e,t)=>e.localeCompare(t)).map(e=>({value:e,label:e}))},pendingIncoming(){return this.meetings.filter(e=>"pending"===e.status&&this.principalKeyFromMeeting(e,"recipient")===this.myPrincipalKey)},pendingOutgoing(){return this.meetings.filter(e=>"pending"===e.status&&this.principalKeyFromMeeting(e,"requester")===this.myPrincipalKey)},confirmed(){return this.meetings.filter(e=>"confirmed"===e.status&&!this.isPastMeeting(e))},historyMeetings(){const e=["denied","canceled_by_requester","canceled_by_recipient"];return this.meetings.filter(t=>e.includes(t.status)||"confirmed"===t.status&&this.isPastMeeting(t))},pendingIncomingCount(){return this.pendingIncoming.length},meetingDays(){const e=new Map;for(const t of this.meetings){if(!t.slotStart)continue;const i=new Date(t.slotStart),n=i.toISOString().slice(0,10);e.has(n)||e.set(n,{key:n,dayNum:this.$filters.format(t.slotStart,"D"),weekday:this.$filters.format(t.slotStart,"ddd"),month:this.$filters.format(t.slotStart,"MMM")})}return[...e.values()].sort((e,t)=>e.key.localeCompare(t.key))},visiblePendingIncoming(){return this.filterByActiveDay(this.pendingIncoming)},visiblePendingOutgoing(){return this.filterByActiveDay(this.pendingOutgoing)},visibleConfirmed(){return this.filterByActiveDay(this.confirmed)},visibleHistory(){return null!==this.activeMeetingDayKey?[]:this.filterByActiveDay(this.historyMeetings)}},created(){const e=this.$route.name||"",t=this.$route.query&&this.$route.query.tab,i=this.$route.query&&this.$route.query.invite;this.canBookMeetings&&("EventAppNetworkingMeetings"===e||"meetings"===t||i)&&(this.activeSubTab="meetings"),this.canBookMeetings&&i&&(this.highlightedMeetingUuid=i),this.fetchAll()},mounted(){document.addEventListener("click",this.onClickOutsideNamePill)},beforeUnmount(){document.removeEventListener("click",this.onClickOutsideNamePill)},methods:{toggleNamePill(){this.isNamePillOpen=!this.isNamePillOpen,this.isNamePillOpen&&this.$nextTick(()=>{this.$refs.nameInput&&this.$refs.nameInput.focus()})},clearNamePill(){this.searchTerm="",this.isNamePillOpen=!1},onClickOutsideNamePill(e){this.isNamePillOpen&&this.$refs.namePill&&!this.$refs.namePill.contains(e.target)&&(this.isNamePillOpen=!1)},bskyProfileUrl(e){if(!e)return"#";const t=String(e).trim();if(/^https?:\/\//i.test(t))return t;const i=t.replace(/^@/,"").replace(/^\/+/,"");return"https://bsky.app/profile/"+i},fetchAll(){this.isLoading=!0;const e=this.canBookMeetings?[this.fetchParticipants(),this.fetchMeetings()]:[this.fetchParticipants()];Promise.all(e).finally(()=>{this.isLoading=!1})},fetchParticipants(){return this.event&&this.event.uuid?this.$http.plain.get("/event-app/"+this.event.uuid+"/attendees").then(e=>{const t=e.data||{};this.participants=Array.isArray(t.items)?t.items:[]}).catch(e=>{console.log(e)}):Promise.resolve()},fetchMeetings(){return this.eventNumericId?this.$http.plain.get("/networking-sessions?event="+this.eventNumericId
1).then(e=>{const t=e.data["hydra:member"]||e.data||[];this.meetings=t,this.highlightedMeetingUuid&&this.$nextTick(()=>this.scrollToHighlighted())}).catch(e=>{console.log(e)}):Promise.resolve()},setMeetingRef(e){return t=>{t?this.meetingCardRefs[e]=t:delete this.meetingCardRefs[e]}},scrollToHighlighted(){const e=this.meetingCardRefs[this.highlightedMeetingUuid],t=e&&e.$el?e.$el:e;t&&"function"===typeof t.scrollIntoView&&t.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.highlightedMeetingUuid=null},3500)},setSubTab(e){this.activeSubTab=e},toggleSavedFilter(){this.setSavedFilter(!this.savedFilterActive)},setSavedFilter(e){this.savedFilterActive=e,e&&!this.savedLoaded&&this.fetchSaved()},fetchSaved(){return this.event&&this.event.uuid?(this.savedLoading=!0,this.$http.plain.get("/event-app/"+this.event.uuid+"/bookmarks").then(e=>{const t=e.data||{};this.savedItems=Array.isArray(t.items)?t.items:[],this.savedLoaded=!0}).catch(e=>{console.log(e)}).finally(()=>{this.savedLoading=!1})):Promise.resolve()},onUnsave(e){if(!e||!e.bookmarkId)return;const t=this.savedItems.findIndex(t=>t.bookmarkId===e.bookmarkId);if(-1===t)return;const i=this.savedItems[t];this.savedItems=this.savedItems.filter(t=>t.bookmarkId!==e.bookmarkId),this.$http.plain.delete("/event-app/"+this.event.uuid+"/bookmarks/"+e.bookmarkId).catch(e=>{console.log(e),this.savedItems=[...this.savedItems.slice(0,t),i,...this.savedItems.slice(t)],this.$buefy.toast.open({message:this.$t("Could not remove"),type:"is-danger"})}),this.$buefy.snackbar.open({message:this.$t("Removed from Saved"),actionText:this.$t("Undo"),type:"is-warning",position:"is-bottom",duration:5e3,onAction:()=>this.restoreSaved(i,t)})},restoreSaved(e,t){if(!e||!e.eventAttendId)return this.savedItems=[...this.savedItems.slice(0,t),e,...this.savedItems.slice(t)],void this.$buefy.toast.open({message:this.$t("Restored locally — re-scan to persist."),type:"is-warning",duration:2500});this.$http.plain.post("/event-app/"+this.event.uuid+"/bookmarks",{eventAttend:e.eventAttendId}).then(i=>{const n={...e,bookmarkId:i.data?.id||e.bookmarkId};this.savedItems=[...this.savedItems.slice(0,t),n,...this.savedItems.slice(t)]}).catch(e=>{console.log(e),this.$buefy.toast.open({message:this.$t("Could not restore"),type:"is-danger"})})},filterByActiveDay(e){return null===this.activeMeetingDayKey?e:e.filter(e=>!!e.slotStart&&new Date(e.slotStart).toISOString().slice(0,10)===this.activeMeetingDayKey)},logoThumbnailItem(e){const t="contact"===e.kind||!0===e.isContact;return{"@type":t?"Contact":"User",id:e.id,firstName:e.firstName,lastName:e.lastName,name:t?[e.firstName,e.lastName].filter(Boolean).join(" ")||e.firstName||"":void 0,logo:e.logo}},onConnect(e){if(this.isContactViewer)return;if(!this.user||!this.user["@id"])return;if(!e.userId||this.connectLoading[e.userId])return;this.connectLoading={...this.connectLoading,[e.userId]:!0};const t="/api/v1/users/"+e.userId;this.$http.plain.post("/user-connections",{recipient:t}).then(t=>{const i=t.data&&t.data.id?t.data.id:null;this.updateParticipant(e.userId,{connectionStatus:"pending_sent",connectionId:i}),this.$buefy.toast.open({message:this.$t("Connection request sent"),type:"is-success"})}).catch(e=>{console.log(e),this.$buefy.toast.open({message:this.$t("Could not send connection request"),type:"is-danger"})}).finally(()=>{this.connectLoading={...this.connectLoading,[e.userId]:!1}})},updateParticipant(e,t){this.participants=this.participants.map(i=>i.userId===e?{...i,...t}:i)},isBioExpanded(e){return!!this.expandedBios[this.participantKey(e)]},toggleBio(e){const t=this.participantKey(e);this.expandedBios={...this.expandedBios,[t]:!this.expandedBios[t]}},participantKey(e){return this.isContact(e)?"contact:"+(e.contactId||e.id):"user:"+e.userId},isContact(e){return!!e&&("contact"===e.kind||!0===e.isContact)},isPastMeeting(e){const t=e.slotEnd??e.slotStart;return!!t&&new Date(t).getTime()<=Date.now()},selectMeetingDay(e,t){if(this.activeMeetingDayKey=e,!t||"function"!==typeof t.scrollIntoView)return;const i=t.parentElement;!i||i.scrollWidth<=i.clientWidth||t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},principalKeyFromMeeting(e,t){return e?"requester"===t?e.requester&&e.requester.id?"user:"+e.requester.id:e.requesterContact&&e.requesterContact.
1id?"contact:"+e.requesterContact.id:null:e.recipient&&e.recipient.id?"user:"+e.recipient.id:e.recipientContact&&e.recipientContact.id?"contact:"+e.recipientContact.id:null:null},principalKeyFromParticipant(e){return e?"contact"===e.kind?e.contactId?"contact:"+e.contactId:null:e.userId?"user:"+e.userId:null:null},hasRowActions(e){return!!e&&(!!e.bio||(!!(e.phoneNumber||e.email||e.linkedinUrl||e.bskyHandle)||(!!e.bookmarkId||(!this.isContactViewer&&!e.isContact||!!this.canBookMeetings))))},activeMeetingWith(e){if(!e)return null;const t=this.myPrincipalKey,i=this.principalKeyFromParticipant(e);return t&&i&&this.meetings.find(e=>{if(!["pending","confirmed"].includes(e.status))return!1;if(this.isPastMeeting(e))return!1;const n=this.principalKeyFromMeeting(e,"requester"),s=this.principalKeyFromMeeting(e,"recipient");return n===t&&s===i||n===i&&s===t})||null},ctaStatusClass(e){return e?"confirmed"===e.status?"is-success is-light":this.principalKeyFromMeeting(e,"requester")===this.myPrincipalKey?"is-warning is-light":"is-primary is-light":""},ctaStatusIcon(e){return e?"confirmed"===e.status?"fa-light fa-circle-check":this.principalKeyFromMeeting(e,"requester")===this.myPrincipalKey?"fa-light fa-paper-plane":"fa-light fa-envelope":"fa-light fa-handshake"},ctaStatusLabel(e){return e?"confirmed"===e.status?this.$t("Confirmed"):this.principalKeyFromMeeting(e,"requester")===this.myPrincipalKey?this.$t("Invitation sent"):this.$t("Respond"):this.$t("Book 1:1")},jumpToMeeting(e){e&&(this.highlightedMeetingUuid=e.uuid,this.activeSubTab="meetings",this.$nextTick(()=>this.scrollToHighlighted()))},openBookingModal(e){this.bookingTarget=e,this.bookingModalOpen=!0},closeBookingModal(){this.bookingModalOpen=!1,this.bookingTarget=null},onBooked(){this.closeBookingModal(),this.activeSubTab="meetings",this.fetchMeetings()},onRespond({meetingId:e,action:t}){const i=this.meetings.find(t=>t.id===e);i&&this.$http.plain.patch("/networking-sessions/"+i.uuid+"/respond",{action:t}).then(e=>{this.patchMeeting(e.data)}).catch(e=>{console.log(e)})},onCancel(e){const t=this.meetings.find(t=>t.id===e);t&&this.$buefy.dialog.confirm({title:this.$t("Cancel meeting"),message:this.$t("Are you sure you want to cancel this meeting? The other person will be notified."),confirmText:this.$t("Cancel meeting"),cancelText:this.$t("Keep meeting"),type:"is-danger",hasIcon:!0,onConfirm:()=>this.performCancel(t)})},performCancel(e){this.$http.plain.patch("/networking-sessions/"+e.uuid+"/cancel",{}).then(e=>{this.patchMeeting(e.data)}).catch(e=>{console.log(e)})},patchMeeting(e){const t=this.meetings.findIndex(t=>t.id===e.id);t>=0&&this.meetings.splice(t,1,e)},handleNetworkingMercureEvent(e){e&&"networking_session"===e.type&&this.fetchMeetings()}}};const Wt=(0,yt.A)(qt,[["render",Le],["__scopeId","data-v-20ed04c4"]]);var Ut=Wt}}]);

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.