PageSourceSearch

https://events.pimcon.org/static/index-BRcC2pND.js

js pimcon.org collected 2026-09-28 23:44:47 UTC 110,907 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/index-M7kQB6UT.js","static/vendor-react-nj2ukvvY.js","static/vendor-apollo-AvuNUkOJ.js","static/vendor-moment-CqZOA61p.js","static/vendor-lodash-CuICpPff.js","static/index-CIcTnAfo.css","static/index-JbsxowmH.js","static/SSOLoginOptions-Cyt8n_Vg.js","static/oktaService-DuaxI3eN.js","static/UserAgentApplication-DTp1lhcY.js","static/SSOLoginOptions-DV9QCkJv.css","static/index-BLmbjyvj.js","static/index-BkQfohNq.css","static/Trans-DIWvcwgU.js","static/styled-components.browser.esm-Cowf4EDa.js","static/resetNewPassword-u9ETRpIM.js","static/Alert--B7zvpHv.js","static/AttendeeDropdown-IEDrRyr-.js","static/SessionSurveyForm-6BaINkOt.js","static/SurveyForm-BdF13LVk.js","static/index-BjGjyBSM.js","static/matrixHelper-XRm2DHD4.js","static/SurveyForm-DPErcQVP.css","static/VenueMapLocationPopup-CbGTgeOq.js","static/HotspotViewer-D1j18TH5.js","static/LocationDetailsPopover-BeIEdYA6.js","static/nestedSessions-DQ1ZieX3.js","static/index-Cta_1hsI.js","static/index-CKbzl7aQ.js","static/NewMeetWeb-Qw9-cxOt.js","static/Table-CKlNNDT-.js","static/index-B-R6DyUb.js","static/index-CvE4olKH.js","static/Table-Cwp_Z1lK.css","static/SessionFormatLabel-DV-GnLgO.js","static/index-tg1K6pdh.js","static/keen-slider.min-DBmVTzQB.js","static/keen-slider-DST-qPa6.css","static/slick-CzP6NKCb.css"])))=>i.map(i=>d[i]);
2import{R as t,r as M,w as Ts}from"./vendor-react-nj2ukvvY.js";import{h as Ye,m as yt}from"./vendor-moment-CqZOA61p.js";import{s as N,l as dt,i as Ae,j as xe,g as he,z as _t,m as go}from"./vendor-lodash-CuICpPff.js";import{bM as po,bN as fo,bO as So,bP as Eo,wD as ko,bS as vo,bQ as bo,bT as wo,bU as rt,c as Ue,rz as yo,dG as Je,T as ve,dH as je,rC as To,K as X,I as B,L as O,D as Cs,bY as lt,G as Se,g6 as Is,a0 as Ns,$ as De,fj as Ps,r as Ve,ry as Co,gi as Io,e6 as Rs,eQ as No,Z as mt,eR as ks,rk as Ms,Y as Tt,jj as $s,j1 as Po,jd as Ro,je as Mo,c7 as $o,dF as At,ab as _o,jg as Lo,jh as Uo,E as q,I9 as Bo,X as _s,dr as xo,at as Ao,a3 as Do,aY as ht,aG as gt,bZ as ut,ac as Ze,ad as Ls,ae as It,yi as Fo,rF as Wo,rH as Oo,rG as zo,ro as Vo,ff as jo,e3 as qo,Ia as Ho,r1 as Ko,Ib as Yo,Ic as Go,rq as Jo,Id as Zo,eI as Qo,j7 as Us,e5 as Xo,fz as Bs,dE as xs,q7 as As,rK as ea,ec as ue,sj as vs,rw as ta,dL as sa,gj as Ct,sh as oa,rL as aa,rM as na,sl as ia,J as te,Ie as vt,If as bt,Ig as Ds,m9 as ra,lC as la,rb as ca,rc as da,C as ma,P as ua,e7 as ha,jp as ga,lH as Le,jE as pa,jA as fa,tp as Sa,ts as Ea,tq as ka,dB as va,W as ba,pk as wa,pj as ya,tt as Ta,tA as Ca,j9 as Ia,c1 as Na,jF as Dt,tB as bs,aF as Pa,eS as ct,dN as ws,qC as Ra,qD as Ma,dU as $a}from"./index-M7kQB6UT.js";/* empty css              */import{S as _a}from"./SessionSurveyForm-6BaINkOt.js";import{V as La}from"./VenueMapLocationPopup-CbGTgeOq.js";import{s as Ua,b as Ba}from"./nestedSessions-DQ1ZieX3.js";import{S as Fs}from"./index-Cta_1hsI.js";import{N as xa}from"./NewMeetWeb-Qw9-cxOt.js";import{A as Aa}from"./Table-CKlNNDT-.js";import{S as Da}from"./SessionFormatLabel-DV-GnLgO.js";import{A as Fa}from"./index-tg1K6pdh.js";import{r as Wa}from"./keen-slider.min-DBmVTzQB.js";var Oa={src:rt.string,alt:rt.string,href:rt.string,onError:rt.func,onLoad:rt.func},Ws=(function(o){fo(l,o);function l(){return o.apply(this,arguments)||this}var e=l.prototype;return e.render=function(){var i=this.props,c=i.src,d=i.alt,n=i.onError,m=i.onLoad,g=i.className,E=i.children,f=So(i,["src","alt","onError","onLoad","className","children"]),S=Eo(f),y=S[0],k=S[1],T=k.href?ko:"div",b=vo(y);return t.createElement(T,bo({},k,{className:wo(g,b)}),t.createElement("img",{src:c,alt:d,onError:n,onLoad:m}),E&&t.createElement("div",{className:"caption"},E))},l})(t.Component);Ws.propTypes=Oa;const Os=po("thumbnail",Ws);var za=function(){var o=1,l=new WeakMap,e=function(a,i){return typeof a=="number"||typeof a=="string"?i?"idx-"+i:"val-"+a:l.has(a)?"uid"+l.get(a):(l.set(a,o++),e(a))};return e},Va=za();function Ft({session:o,renderChild:l,onExpandedChange:e,className:a,isFrom:i,ignoreInlineChildren:c,eventData:d,userSpecificSessionData:n,sessionSpeakerList:m,tagAndTrackData:g,...E}){var le,se,Z,_,J,j;const f=M.useContext(ve),{t:S}
2=je("agendaDetails"),[y,k]=M.useState(!1),[T,b]=M.useState(null),[u,p]=M.useState(!1),[P,$]=M.useState(!1),U=(o==null?void 0:o.childSessionCount)??(o==null?void 0:o.subSessionCount)??0,x=!c&&Array.isArray(o==null?void 0:o.childSessions)?o.childSessions:null,v=T!==null?T:x,R=v&&To(v,m,g,n),I=U||(R?N(R):0),F=()=>{const D=(d==null?void 0:d.eventURL)||(d==null?void 0:d.eventUrl);o!=null&&o.sessionId&&(p(!0),$(!1),Promise.resolve(E.getSubSessionsByParent(D,o.sessionId,Ua(i))).then(s=>b(Array.isArray(s)?s:(s==null?void 0:s.sessions)??[])).catch(()=>{b([]),$(!0)}).finally(()=>p(!1)))},G=D=>{D==null||D.stopPropagation(),D==null||D.preventDefault();const s=!y;k(s),e(s),s&&R===null&&!u&&F()};return I?t.createElement("div",{className:`session-subsessions ${y?"session-subsessions--expanded":""} ${a}`},t.createElement("div",{className:"session-subsessions__toggle",role:"button",tabIndex:"0",id:`subSessionsToggle${o.sessionId}`,onClick:G,onKeyPress:D=>{D.key==="Enter"&&G(D)}},t.createElement(X,{type:y?"fa fa-angle-down":"fa fa-angle-right",className:"session-subsessions__chevron",color:y?(le=B[f.theme])==null?void 0:le.neutral700:(se=B[f.theme])==null?void 0:se.primary1000}),t.createElement(O,{variant:"custom-captions",labelClass:"m-b-0 cursor",color:y?(Z=B[f.theme])==null?void 0:Z.neutral700:(_=B[f.theme])==null?void 0:_.primary1000,header:S("Sub-sessions ({{count}})",{count:I})})),y&&t.createElement("div",{className:"session-subsessions__list session_warp",onClick:D=>D.stopPropagation(),onKeyPress:D=>D.stopPropagation(),onKeyDown:D=>D.stopPropagation()},u?t.createElement("div",{className:"session-subsessions__loading"},t.createElement(Cs,{type:"SpinnerTiny"})):P?t.createElement(O,{variant:"custom-captions",labelClass:"m-b-0",color:(J=B[f.theme])==null?void 0:J.neutral700,header:S("Couldn't load sub-sessions. Please try again.")}):N(R)?R.map(l):t.createElement(O,{variant:"custom-captions",labelClass:"m-b-0",color:(j=B[f.theme])==null?void 0:j.neutral700,header:S("No sub-sessions.")}))):null}Ft.propTypes={session:lt.shape({}).isRequired,renderChild:lt.func.isRequired,onExpandedChange:lt.func,className:lt.string,ignoreInlineChildren:lt.bool};Ft.defaultProps={onExpandedChange:()=>{},className:"",ignoreInlineChildren:!1};const ja=o=>{var l,e,a;return{eventData:Je(o),userSpecificSessionData:(l=o==null?void 0:o.virtualEvent)==null?void 0:l.userSpecificSessionData,sessionSpeakerList:(e=o==null?void 0:o.virtualEvent)==null?void 0:e.sessionSpeakerList,tagAndTrackData:(a=o==null?void 0:o.virtualEvent)==null?void 0:a.tagAndTrackData}},qa=Ue(ja,{getSubSessionsByParent:yo})(Ft);function Ha(o){const{settings:l,exhibitorData:e,isMobile:a,isFromPopup:i}=o,{t:c}=je("common"),d="c_scale,dpr_auto,f_auto,h_63,w_125",n=m=>{const g=`${Ps}/${d}/${Ve}${m&&m.logo}`;return m&&m.logo?t.createElement(Os,{src:g,alt:m&&m.exhibitorName}):t.createElement("div",{className:"thumbnail empty-box-card"},c("ExhibitorLogoNotAdded"))};return M.useEffect(()=>{var m;(m=document.querySelector(".item-slider-speaker .slick-list .slick-track .slick-slide.slick-active.slick-current"))==null||m.removeAttribute("tabindex")},[]),dt.size(e)?t.createElement("div",{className:Se(a&&"mobile-sponsor-list")},t.createElement(Is.Helmet,null,t.createElement("link",{rel:"stylesheet",type:"text/css",href:"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"}),t.createElement("link",{rel:"stylesheet",type:"text/css",href:"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"})),t.createElement(Ns,null,t.createElement(De,{lg:12,md:12,sm:12},t.createElement(O,{header:c("Exhibitors"),variant:i?"heading4":"body1",className:`${i?"m-b-10":"m-t-10"}`}))),t.createElement("div",{className:"item-slider-speaker justify-content-center"},t.createElement(Fs,{...l},dt.map(e,(m,g)=>t.createElement("div",{className:"sessions-sponsor-details",key:`expo-${g}`},n(m)))))):t.createElement("div",null)}const Ka=Ue()(Ha);function Ya(o){const{settings:l,sponsorData:e,isMobile:a,isFromPopup:i}=o,{t:c}=je("common"),d="c_scale,dpr_auto,f_auto,h_63,w_125",n=m=>{const g=`${Ps}/${d}
2/${Ve}${m&&m.sponsorLogo}`;return m&&m.sponsorLogo?t.createElement(Os,{src:g,alt:`${m&&m.sponsorName} sponsor logo`}):t.createElement("div",{className:"thumbnail empty-box-card"},c("SponsorLogoNotUploaded"))};return M.useEffect(()=>{var m;(m=document.querySelector(".item-slider-speaker .slick-list .slick-track .slick-slide.slick-active.slick-current"))==null||m.removeAttribute("tabindex")},[]),N(e)?t.createElement("div",{className:Se(a&&"mobile-sponsor-list")},t.createElement(Is.Helmet,null,t.createElement("link",{rel:"stylesheet",type:"text/css",href:"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"}),t.createElement("link",{rel:"stylesheet",type:"text/css",href:"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"})),t.createElement(Ns,null,t.createElement(De,{lg:12,md:12,sm:12},t.createElement(O,{header:c("Sponsors"),variant:i?"heading4":"body1",className:`${i?"m-b-10":"m-t-10"}`}))),t.createElement("div",{className:"item-slider-speaker justify-content-center"},t.createElement(Fs,{...l},dt.map(e,(m,g)=>t.createElement("div",{className:"sessions-sponsor-details",key:`sponsor-${g}`},n(m)))))):null}const Ga={getAssignedSponsorExhibitor:Co},Ja=o=>({eventData:Je(o)}),Za=Ue(Ja,Ga)(Ya),Qa=o=>{const{data:l,eventDates:e,meetslider:a,eventData:i}=o||{},[c,d]=M.useState(!1);M.useEffect(()=>{a&&d(a)},[c]);const n=()=>{d(!c),o.closeMeetSlider(!c)},m=()=>{const{warnUserOnStateUpdate:g}=o||{},{meetingStateUpdated:E}=g||{};c&&E?o.storeWarnUserOnPageLeave({...g,showPopupForMeetingUpdate:!0}):n()};return t.createElement(xa,{openMeetingPopUp:m,toggle:c,people:l,eventData:i,eventDates:e,toggleMeetUpPopup:n})},Xa={storeWarnUserOnPageLeave:Io},en=o=>({eventData:Je(o)||Rs(o)}),tn=Ue(en,Xa)(Ts(Qa)),sn=o=>{const l=M.useContext(ve),{speaker:e,speakerIndex:a,isSlider:i,speakerList:c,numOfSession:d,isAllShow:n,eventData:m,isFrom:g}=o||{},E=N(c),{title:f,company:S,imageUrl:y,firstName:k,lastName:T,userId:b,email:u}=e||{},p=`${f||""} ${S&&f&&"at"||""} ${S||""}`.trim(),P=window.innerWidth<=783,$=M.useCallback(()=>{var v,R;return t.createElement("div",{key:`speaker-${a}`,className:Se("sesions-speaker-profile-container",{"m-r-0 width-100-percent max-width-100":N(c)===1,two_speaker_width:n&&N(c)===2,all_speaker_width:n&&N(c)>2,[`m-r-0 m-b-16 ${g==="checkout_registration"?"col-lg-4":"col-lg-3"} col-sm-12`]:d===1,"m-r-0 m-b-16 col-md-6 col-sm-12":d===2&&N(c)<=2,"m-b-16":P&&d===2&&N(c)<=2}),onClick:I=>{I==null||I.stopPropagation(),o.toggleSpeakerPopup(e)},onKeyPress:I=>{I==null||I.stopPropagation(),I.key==="Enter"&&o.toggleSpeakerPopup(e)},tabIndex:"0",role:"button","aria-label":`${k||""} ${T||""} ${f||""} ${S?`${`at ${S}`}`:""}`},t.createElement("div",null,t.createElement("div",{className:"speaker-image-holder"},t.createElement(No,{variant:"small",dpr:"auto",imageType:"avatar",crop:"scale",width:"100",height:"100",sizes:"100vw",loading:"eager",cloudName:mt,type:"fetch",fetchFormat:"auto",quality:"auto:eco",secure:!0,user:e,responsive:!0,publicId:y?`${Ve}${y}`:"",lableProps:{header:t.createElement("div",{className:"speaker-info clickable cursor"},t.createElement("div",{className:"w-fit-content"},t.createElement(O,{header:t.createElement(ks,{isEllipsisLine:1,toolTip:`${k&&`${k}`} ${T}`,toolTipProps:{overlayProps:{placement:"top"}}}),variant:i&&d!==2?"custom-captions":"subtitle2",color:(v=B[l.theme])==null?void 0:v.neutral1000,labelClass:"label-ellipsis line-2 m-b-0 cursor"}),t.createElement("span",{id:"badge-label"},t.createElement(Ms,{userId:b,email:u,eventUrl:(m==null?void 0:m.eventURL)||(m==null?void 0:m.eventUrl)}))),t.createElement("div",{className:"speaker-title-ellipsis w-fit-content"},t.createElement(O,{header:t.createElement(ks,{isEllipsisLine:1,toolTip:p,toolTipProps:{overlayProps:{placement:"top"}}}),variant:i&&d!==2?"footer1":"captions",color:(R=B[l.theme])==null?void 0:R.neutral700,labelClass:"label-ellipsis line-2 m-b-0 cursor"}))),variant:i&&d!==2?"custom-captions":"subtitle2",labelClass:"m-b-0 m-l-5 cursor"}}))))},[E,c,a]),U=M.useCallback(()=>t.createElement("div",{key:`speaker-${a}`,className:"speaker_photo_list",onClick:v=>{v==null||v.stopPropagation(),o.toggleSpeakerPopup(e)},onKeyPress:v=>{v==null||v.stopPropagation(),v.key==="Enter"&&o.toggleSpeakerPopup(e)},tabIndex:"0",role:"button","aria-label":`${k||""} ${T||""} ${f||""} ${S?`${`at ${S}`}`:""}`},t.createElement(Tt,{variant:"small",dpr:"auto",imageType:"avatar",crop:"scale",width:"100",height:"100",sizes:"100vw",loading:"eager",cloudName:mt,type:"fetch",fetchFormat:"auto",quality:"auto:eco",secure:!0,user:e,responsive:!0,publicId:y?`${Ve}${y}`:""})),[E,c,a]);return M.useMemo(()=>d===1?N(c)<=8:d===2?N(c)<=2:d>=3?N(c)===1:!1,[d,c])?$():U()},on=(o,l)=>!Ae(o,l),an=t.memo(sn,on),Ge=(o,l)=>!!(o!=null&&o.admin||l!=null&&l.admin),Lt=["4072010","4072012"],nn=o=>{var P,$;const{callStatus:l,loggedInUser:e,attendeeDetails:a,eventData:i}=o||{},{userId:c,firstName:d,lastName:n,userProfilePhoto:m}=e||{},g=($=(P=window==null?void 0:window.location)==null?void 0:P.href)==null?void 0:$.includes("meetingRoom"),{user:E,photo:f,firstName:S,lastName:y}=a||{},k=M.useContext(Mo()),T=$o(U=>At(U)),{secureLastNameOnHubSide:b}=T||{},{t:u}=je(["toasterMsg","common","meetingDetails"]),p=()=>
2{if(l&&l.videoCall&&l.userId){const{eventId:U}=i||{},x=`${c.toString()}_${U.toString()}`,v=k==null?void 0:k.getFeedClient(),R=v.feed("notification",`${l.userId.toString()}_${U.toString()}`),I=$s(v,"END_VIDEO_CALL_REQUEST",E.toString(),d,n,m,x);I.isCallRequestAccepted=!1,I.foreign_id=`foreign_${c}`,R.addActivity(I).then(F=>{F&&F.id&&o.storeCallDetail({videoCall:!1,userId:null,name:"",isCalling:!1})})}};return t.createElement(_o,{id:"mapPopup",showModal:l&&l.videoCall&&l.isCaller&&l.userId===E&&!g,headerText:t.createElement("p",null,u("common:Calling")),backdrop:"static",showCloseIcon:!0,custClassName:"modal-video-call large-video-call-popup",bsSize:"sm"},t.createElement("div",{className:"center-align"},t.createElement("div",{className:"d-none"},t.createElement(Lo,{isCustom:!0,time:60,onEnd:()=>{p()}})),t.createElement("span",{className:"profile-img"},t.createElement(Tt,{dpr:"auto",className:"call-profile-img call-animation",crop:"scale",width:"100",height:"100",zoom:"0.1",sizes:"100vw",fetchFormat:"auto",quality:"auto:eco",cloudName:mt,type:"fetch",user:a,secure:!0,responsive:!0,publicId:f?`${Ve}${f}`:"",variant:"ex-large",imageType:"avatar",animationClassName:"call-animation"})),t.createElement("div",{className:"password-reset reset-text center-align"},t.createElement("span",{className:"help-text"},u("common:You are calling")),t.createElement("br",null),t.createElement("b",{className:"fs18"},Uo(`${S} ${y}`,b)||"Unknown")),t.createElement("div",{className:"center-align"},t.createElement(q,{id:"endVideoBtn",variant:"danger",onClick:()=>{p()},label:u("common:End"),"aria-label":`End Video call with ${`${S} ${y}`||"Unknown"}`}))))},rn={storeCallDetail:Po,getActivityData:$s},ln=o=>({eventData:Je(o),callStatus:Ro(o)}),cn=Ue(ln,rn)(nn),dn=ht(()=>gt(()=>import("./index-M7kQB6UT.js").then(o=>o.Pb),__vite__mapDeps([0,1,2,3,4,5])));class mn extends M.Component{constructor(l){super(l),this.emailValidateHandler=e=>{const{value:a}=e==null?void 0:e.target,{t:i}=this.props;this.setState({emailFeedBack:!0,emailValue:a.trim()});const c=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;this.email.value&&this.email.value.trim()===""?this.setState({email:!1,errorMsgEmail:i("toasterMsg:Email is required.")}):xo(this.email.value.trim())?this.setState({email:!1,errorMsgEmail:`${i('toasterMsg:You typed ".con". Did you mean ".com"?')}`}):Ao(this.email.value.trim())?this.setState({email:!1,errorMsgEmail:i("toasterMsg:Unicode characters are not allowed")}):this.setState({email:c.test(this.email.value&&this.email.value.trim()),errorMsgEmail:i("toasterMsg:Invalid Email.")})},this.focusEmailLength=()=>{this.setState({displayEmailLength:!0,emailFeedBack:!0})},this.onClickSessionMagicLinkForm=e=>{e.preventDefault();const{eventData:a,showAlertMessage:i,openGetMegicLinkFormPopup:c,selectedSession:d}=this.props,{sessionId:n,isPastSession:m}=d,{eventUrl:g,eventURL:E,eventDesignDetailDto:f}=a||{},{emailValue:S}=this.state;this.setState({isEmailBtnLoading:!0,displayEmailLength:!1});const y=f==null?void 0:f.whiteLabelHostBaseUrl,k=`${window.location.protocol}//${window.location.hostname}${window.location.port?`:${window.location.port}`:""}`,T=m?`&pastSession=${m}`:"",b=`${y||k}/e/${g||E}?sessionId=${n}${T}`,u={email:S,redirectUrl:b,sessionId:n};this.props.sendSessionMagicLinkToUser(g||E,u).then(p=>{p&&(p!=null&&p.errorMessage)?this.setState({email:!1,errorMsgEmail:p==null?void 0:p.errorMessage,isEmailBtnLoading:!1}):this.setState({isEmailBtnLoading:!1,emailValue:""},()=>{c(!1),i(p==null?void 0:p.message)})})},this.handleClosePopup=()=>{const{openGetMegicLinkFormPopup:e}=this.props;this.setState({emailValue:"",email:!0,errorMsgEmail:""},()=>{e(!1)})},this.state={isEmailBtnLoading:!1,errorMsgEmail:"",emailValue:"",displayEmailLength:!1,emailFeedBack:!1}}render(){const{email:l,emailFeedBack:e,displayEmailLength:a,errorMsgEmail:i,emailValue:c,isEmailBtnLoading:d}=this.state,{showGetMegicLinkPopup:n}=this.props;return t.createElement(t.Fragment,null,t.createElement(dn,{id:"bookmarkRegisterpopup",modalClassName:"bookmarkRegisterpopup",custClassName:"audience-column-selection-
2popup",showModal:n,onCloseFunc:this.handleClosePopup},t.createElement("div",{className:"magic-link-register-form"},t.createElement("form",{className:"ajax-form  validated fv-form fv-form-bootstrap",onSubmit:this.onClickSessionMagicLinkForm,autoComplete:"off"},t.createElement(O,{className:"signin-with-magic option-message m-b-4 m-t-16",variant:"caption2"},"Please enter the email address you used to register for the event."),t.createElement(Do,{type:"text",name:"email",defaultValue:c,placeHolder:"Email",inputRef:m=>{this.email=m},onChange:this.emailValidateHandler,onBlur:this.emailValidateHandler,onFocus:this.focusEmailLength,valid:e&&l,feedBackText:e&&!l?i:`${c?dt.size(c):0}/75`,isFeedBackShow:a||e&&!l,size:"normal",isCounter:!0,maxLength:75}),t.createElement(q,{block:!0,loading:d,id:"btnLogInEnable",type:"submit",className:"m-t-20",disabled:!l,label:"Submit"})))))}}const un={sendSessionMagicLinkToUser:Bo},hn=Ue(null,un)(_s(["agendaDetails","toasterMsg","tooltipMsg","common"])(mn)),gn=ht(()=>gt(()=>import("./index-M7kQB6UT.js").then(o=>o.Pb),__vite__mapDeps([0,1,2,3,4,5]))),pn=({showExpoRegisterPopup:o,openShowExpoRegisterPopup:l,openGetMegicLinkFormPopup:e,handleRegisterProcess:a})=>{var i,c;return t.createElement(t.Fragment,null,t.createElement(gn,{id:"bookmarkRegisterpopup",modalClassName:"bookmarkRegisterpopup",showModal:o,onCloseFunc:()=>l(!1)},t.createElement("div",null,t.createElement("div",{className:"d-flex p-t-24 align-items-center"},t.createElement("span",null,ut("reg-approval-mail")),t.createElement("span",{className:"p-l-16"},t.createElement(O,{variant:"subtitle",header:"Are you registered for this event?",subHeader:t.createElement(t.Fragment,null,t.createElement("span",{className:"click-here-btn cursor m-l-2 m-r-2",onClick:()=>e(!0)},"Click here"),t.createElement("span",null," to sign in with a magic link and start building your personal agenda!")),color:(i=B[ve.theme])==null?void 0:i.neutral1000,labelClass:"sub-header",className:"option-message"}))),t.createElement("div",{className:"d-flex p-t-24 align-items-center"},t.createElement("span",null,ut("puzzle")),t.createElement("span",{className:"p-l-16"},t.createElement(O,{variant:"subtitle",header:"Not registered yet?",subHeader:t.createElement(t.Fragment,null,t.createElement("span",{className:"click-here-btn cursor m-l-2 m-r-2",onClick:a},"Click here")," ",t.createElement("span",null," to get started!")),color:(c=B[ve.theme])==null?void 0:c.neutral1000,labelClass:"sub-header",className:"option-message"}))))))};function Gn(o){return Ze.get(`${It}events/${o}/session-registration/config`).then(l=>
2(l==null?void 0:l.data)??l).catch(l=>{var e,a;return console.error("Failed to fetch session registration config:",((e=l==null?void 0:l.response)==null?void 0:e.data)||(l==null?void 0:l.message)),(a=l==null?void 0:l.response)==null?void 0:a.data})}function Jn(o,l){return Ze.get(`${It}events/${o}/session-registration/eligibility`,{params:{widgetInstanceId:l}}).then(e=>(e==null?void 0:e.data)??e).catch(e=>{var i,c;const a=((c=(i=e==null?void 0:e.response)==null?void 0:i.data)==null?void 0:c.message)||(e==null?void 0:e.message);return{ticketTypeEligibility:{},error:a}})}function Zn(o,l,e,a,i=!1){const c={orderId:l,selections:e,holders:a};return i&&(c.addToExistingOrder=!0),Ze.post(`${Ls}events/${o}/session-registration/selections`,c).then(d=>(d==null?void 0:d.data)??d).catch(d=>{var m,g,E,f;const n=((g=(m=d==null?void 0:d.response)==null?void 0:m.data)==null?void 0:g.errorMessage)||((f=(E=d==null?void 0:d.response)==null?void 0:E.data)==null?void 0:f.message)||(d==null?void 0:d.message);throw new Error(n||"Failed to save session selections")})}function fn(o,l,e,a){return Ze.post(`${It}events/${o}/session-registration/validate`,{sessionId:l,orderId:e,holderEmails:a}).then(i=>(i==null?void 0:i.data)??i).catch(i=>{var d,n;const c=((n=(d=i==null?void 0:i.response)==null?void 0:d.data)==null?void 0:n.message)||(i==null?void 0:i.message);throw new Error(c||"Failed to validate session registration")})}function Qn(o,l){return Ze.delete(`${Ls}events/${o}/session-registration/selections/${l}`).then(e=>(e==null?void 0:e.data)??e).catch(()=>{})}function Xn(o,l){return Ze.post(`${It}events/${o}/session-registration/registered-by-emails`,{emails:l}).then(e=>(e==null?void 0:e.data)??e).catch(e=>{var a;return console.error("Failed to fetch registered-by-emails:",((a=e==null?void 0:e.response)==null?void 0:a.data)||(e==null?void 0:e.message)),{registrations:[]}})}const Sn=ht(()=>gt(()=>import("./index-JbsxowmH.js"),__vite__mapDeps([6,1,0,2,3,4,5,7,8,9,10,11,12,13,14,15,16]))),wt=ht(()=>gt(()=>import("./index-M7kQB6UT.js").then(o=>o.Pb),__vite__mapDeps([0,1,2,3,4,5]))),En=ht(()=>gt(()=>import("./AttendeeDropdown-IEDrRyr-.js"),__vite__mapDeps([17,1,0,2,3,4,5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]))),ys="Attendance is required for this session",kn={isShowLoginModal:!1,successMessage:"",isLoading:!1,isError:!1,nowJoinShow:!1,nowViewRecordingShow:!1,isNotRegistered:!0,isBookmarkedSession:!1,showNetworkingMatchesPopup:!1,networkingMatchesUserList:[],currentUserRegisteredEventTicketId:[],showcallPopup:!1,AttendeeDetails:[],isRegisteringUnRegisteringInProgress:!1,isLoadingNetworkingMatchUserList:!1,isLoadingBtn:!1,showExpoRegisterPopup:!1,showGetMegicLinkPopup:!1,emailValue:"",showWaitlistModal:!1,showRecoridngPopup:!1,isOnWaitlist:!1,isLoadingWaitlistAction:!1,allRecording:[],showWaitlistConfictPopup:!1,showJoinWatilistButton:!1,showCheckoutDropdown:!1,singleHolderSaving:!1},Wt=class Wt extends t.Component{constructor(l){super(l),this.handleSessionRegisterOrNot=e=>{const{session:a}=this.props;a.sessionId===e.detail.session.sessionId&&this.setState({isNotRegistered:e.detail.session&&(!e.detail.session.currentUserRegisteredEventTicketId||e.detail.session.currentUserRegisteredEventTicketId.length===0),currentUserRegisteredEventTicketId:e.detail.session.currentUserRegisteredEventTicketId})},this.checkInterval=e=>{const{eventData:a}=this.props,{eventFormat:i,showSessionByTimezone:c}=a||{},d=a&&a.equivalentTimezone||"US/Eastern",n=i!==Le&&c,m=Ye(),g=ue(e.startTime,d,n).diff(m,"minute");return g<1?0:e.format==="MEET_UP"?(g-5)*60*1e3:e.format==="WORKSHOP"?(g-1)*60*1e3:(g-15)*60*1e3},this.hideLoginModal=()=>{this.setState({isShowLoginModal:!1})},this.showLoginModal=()=>{this.setState({isShowLoginModal:!0})},this.showSuccessMessage=e=>{this.props.showAlert({message:e,type:"success"}),this.setState({isLoading:!1,successMessage:e},()=>{this.clearMessage()})},this.showErrorMessage=e=>{this.props.showAlert({message:e,type:"error"}),this.setState({isLoading:!1,isError:!0,successMessage:e},()=>{this.clearMessage()})},this.clearMessage=()=>{setTimeout(()=>{this.setState({isError:!1,successMessage:""})},4e3)},this.checkSpeakerIsUser=(e,a)=>!!(a.speakerList?a.speakerList.filter(c=>c.userId===e.userId):[]).length,this.userSessionBookmarkPortal=(e,a=!1)=>{this.setState({isUpdatingBookmarkStatus:!0});const{eventData:i,latestUpcomingSession:c,t:d,getRegisteredSessionByEvent:n,userSpecificSessionData:m,registeredSessionIds:g,user:E}=this.props,{eventUrl:f,eventURL:S}=i||{},y=e&&e.sessionId,k={sessionId:y};return new Promise((T,b)=>{this.props.userSessionRegisterPortal(k,f||S,!1,!1,a).then(u=>{var p,P;u&&!u.errorMessage?(e!=null&&e.bookmarked||this.showSuccessMessage(d("toasterMsg:Session added to “My Session”.")),this.setState({isBookmarkedSession:!0}
2),(p=this.props)==null||p.storeUserSpecificSessionDetails({...m,bookmarkedSessions:xe([...(m==null?void 0:m.bookmarkedSessions)||[],y])}),g&&((P=this.props)==null||P.storeRegisteredSessionIds(xe([...g,y]))),this.handleRegisteredSessionsNumber(),(c==null?void 0:c.sessionId)===y&&(this.getUpcomingSessionData(),this.getSessionDataById(y)),typeof n=="function"&&n(e),this.handlePushDataToDynamoDB(E,i,e,vs),T(!0)):this.setState({isShowPopup:!0,errorMsg:(u==null?void 0:u.errorMessage)||(u==null?void 0:u.message)||d("toasterMsg:Something went wrong")},()=>{b(u&&u.errorMessage||d("toasterMsg:Something went wrong"))}),this.setState({isUpdatingBookmarkStatus:!1})}).catch(u=>{var P;const p=(P=u==null?void 0:u.response)==null?void 0:P.data;u&&p&&this.setState({errorHeader:p.errorCode==="4072002"?"Access Closed":"Error",isShowPopup:!0,errorMsg:p.errorMessage||u.message||d("toasterMsg:Something went wrong"),isUpdatingBookmarkStatus:!1}),b(u)})})},this.onUserSessionRegisterPortal=e=>{this.userSessionRegisterPortal(e).then(()=>{}).catch(()=>{})}
2,this.getSessionDataById=e=>{const{eventData:a}=this.props,{eventURL:i,eventUrl:c}=a||{};e&&this.props.getSessionDataByIdV2(i||c,e,"currentUserRegisteredEventTicketId").then(n=>{if(n&&!n.errorMessage){const m=n&&n.currentUserRegisteredEventTicketId;m&&this.setState({currentUserRegisteredEventTicketId:m})}else n&&n.errorCode&&(n.errorCode==="404800"||n.errorCode==="4042003")&&(this.setState({isLoading:!1,isError:!0}),this.setState({isShowPopup:!0,errorMsg:n.errorMessage}))})},this.getUpcomingSessionData=()=>{const{eventData:e}=this.props,{eventUrl:a,eventURL:i}=e||{};this.props.getUpcomingSessionData(a||i)},this.handleRegisteredSessionsNumber=()=>{const{eventData:e}=this.props,{eventUrl:a,eventURL:i}=e||{};this.props.getRegisteredSessions(a||i)},this.userSessionRegisterPortal=(e,a=!1,i=!1,c="")=>{this.setState({isRegisteringUnRegisteringInProgress:!0});const{currentUserRegisteredEventTicketId:d}=this.state,{eventData:n,latestUpcomingSession:m,t:g,user:E,getRegisteredSessionByEvent:f,userSpecificSessionData:S,registeredSessionIds:y,userRoleDetails:k}=this.props,T=Ge(k,E),{eventUrl:b,eventURL:u}=n||{},p=e&&e.sessionId,P={sessionId:p},$=document.querySelector(`.attending-${p}`);return $&&($.disabled=!0),new Promise((U,x)=>{this.props.userSessionRegisterPortal(P,b||u,a,i).then(v=>{var R,I;if(v&&!v.errorMessage)(!d||!e.currentUserRegisteredEventTicketId||N(e.currentUserRegisteredEventTicketId)===0)&&this.showSuccessMessage(g("toasterMsg:You are now registered for this session.")),(R=this.props)==null||R.storeUserSpecificSessionDetails({...S,registeredSessions:xe([...(S==null?void 0:S.registeredSessions)||[],e.sessionId])}),y&&((I=this.props)==null||I.storeRegisteredSessionIds(xe([...y,e.sessionId]))),this.handleRegisteredSessionsNumber(),m&&m.sessionId===p&&(this.getUpcomingSessionData(),this.get
2SessionDataById(p)),typeof f=="function"&&f(e),this.setState({isNotRegistered:!1},()=>{$&&($.disabled=!1)}),c!=="goToSession"&&this.handlePushDataToDynamoDB(E,n,e,ta),U(!0);else{const F=T&&Lt.includes(v==null?void 0:v.errorCode);this.setState({isShowPopup:!F,errorMsg:F?"":v&&(v.errorMessage||v.message)||g("toasterMsg:Something went wrong")},()=>{$&&($.disabled=!1),x(v&&v.errorMessage||g("toasterMsg:Something went wrong"))})}this.setState({isRegisteringUnRegisteringInProgress:!1})}).catch(v=>{var I;const R=(I=v==null?void 0:v.response)==null?void 0:I.data;if(v&&R){const F=T&&Lt.includes(R.errorCode);this.setState({errorHeader:R.errorCode==="4072002"?"Access Closed":"Error",isShowPopup:!F,errorMsg:F?"":R.errorMessage||v.message||g("toasterMsg:Something went wrong"),isRegisteringUnRegisteringInProgress:!1})}$&&($.disabled=!1),x(v)})})},this.handlePushDataToDynamoDB=async(e,a,i,c,d="")=>{const{userRoleDetails:n}=this.props,{userId:m}=e||{},{eventId:g,name:E}=a||{},{title:f,startTime:S,endTime:y,format:k,sessionId:T}=i||{};if(!m||!g)return;const b=this.checkSpeakerIsUser(e,i)?"speaker":n!=null&&n.admin?"admin":n!=null&&n.staff?"staff":"attendee",u={userId:m,timestamp:Ye.utc().valueOf(),eventId:g,actionType:c,description:{eventName:E||"",sessionId:T||"",sessionType:k||"",sessionName:f||"",sessionTime:`${S} - ${y}`,userRole:b,link:d||window.location.href}};await sa(u)},this.closePopup=()=>{this.setState({isShowPopup:!1})},this.getMatchesUserDuringNetworking=e=>{this.setState({isLoadingNetworkingMatchUserList:!0},()=>{const{eventData:a,t:i}=this.props,{eventUrl:c,eventURL:d}=a||{};this.props.getMatchesUserDuringNetworking(c||d,e).then(n=>{n&&n.errorCode==="4068910"||n.errorCode==="4042005"||n.errorCode==="4068937"?this.setState({isShowPopup:!0,showNetworkingMatchesPopup:!1,errorMsg:n.errorMessage,errorHeader:i("toasterMsg:Error")}):this.setState({networkingMatchesUserList:n&&n.data,showNetworkingMatchesPopup:!0})}).finally(()=>{this.setState({isLoadingNetworkingMatchUserList:!1})})})},this.toggleNetworkingMatchesPopup=(e,a=!1)=>{const{showNetworkingMatchesPopup:i}=this.state;a&&this.setState({showNetworkingMatchesPopup:!1}),this.setState({isLoadingNetworkingMatchUserList:!1},()=>{i||(this.datatimeout&&(clearTimeout(this.datatimeout),this.datatimeout=null),this.datatimeout=setTimeout(()=>{const c=document.querySelector(".networking-matches-user-section"),d=c==null?void 0:c.querySelectorAll(".networking-matches-user-section .react-bs-table-container .react-bs-container-body table td");d==null||d.forEach(n=>{n==null||n.removeAttribute("tabindex")})},3e3))}),e&&e.sessionId&&this.getMatchesUserDuringNetworking(e.sessionId)},this.showMessage=(e,a)=>{this.props.showAlert({message:e,type:a?"error":"success"})},this.isJoinButtonShow=e=>{const{eventData:a,virtualEventSettings:i,sessionCapacityTracksLimit:c,user:d,userRoleDetails:n}=this.props,{eventFormat:m,showSessionByTimezone:g}=a||{},E=a&&a.equivalentTimezone||"US/Eastern",f=m!==Le&&g,S=i==null?void 0:i.enableSessionWaitlistCapacityReached,k=!Ge(n,d)&&((i==null?void 0:i.allowSessionBookmarkCapacity)&&(e==null?void 0:e.sessionBookmarkCapacityReached)||(c==null?void 0:c.limitReached)&&!this.checkSpeakerIsUser(d,e));if(e&&e.startTime&&e.endTime){const T=Ye(),b=ue(e.startTime,E,f).diff(T,"seconds"),u=ue(e.endTime,E,f);let p,P;S&&k&&(P=!(b<=0)),e.format==="MEET_UP"?p=b<=300:e.format==="WORKSHOP"?p=b<=60:p=b<=900,this.setState({nowJoinShow:p,showJoinWatilistButton:P,nowViewRecordingShow:u<=T},()=>{p&&clearInterval(this.dataInterVal)})}},this.goToSessionFromSpecker=e=>Ct(e.format),this.closeAlertPopup=()=>{this.setState({confirmationMessage:"",confirmationPopup:!1})},this.allowToJoin=async()=>{await this.props.isPipMode({isChimeMeetingPipMode:!1,showPipModeVideo:!1});const{pipSession:e,isJoin:a,pastJoinSession:i}=this.state;this.closeAlertPopup(),this.goToThisSession(e,a,i)},this.sendEventBasedOnSessionStatus=(e,a,i,c,d,n)=>{d&&this.handlePushDataToDynamoDB(e,a,i,oa,n)},this.doGetPlaybacksForAttendees=()=>{const{eventData:e,session:a}=this.props,{eventURL:i}=e||{};this.setState({isLoading:!0}),this.props.getPlaybacksForAttendees(i,a==null?void 0:a.sessionId).then(c=>{const d=(c||[]).filter(n=>n==null?void 0:n.playBackId);this.setState({isLoading:!1}
2),d&&(d.length>1?this.setState({showRecoridngPopup:!0}):this.goToThisSession(a,!1,!0,d[0]),this.setState({allRecording:d}))})},this.joinWaitlistOnPortal=(e,a,i)=>{var b;const{eventData:c,user:d,userSpecificSessionData:n,getRegisteredSessionByEvent:m,registeredSessionIds:g,t:E,userRoleDetails:f}=this.props,S=Ge(f,d),{eventURL:y}=c||{},k=(b=n==null?void 0:n.waitlistedSessions)==null?void 0:b.includes(e.sessionId),T={sessionId:e==null?void 0:e.sessionId,userId:d==null?void 0:d.userId};this.setState({isLoadingWaitlistAction:!0}),k?this.props.removeUserFromWaitlist(y,!0,T).then(u=>{var p,P,$;if((u==null?void 0:u.status)===200||((p=u==null?void 0:u.data)==null?void 0:p.status)===200){this.setState({isOnWaitlist:!1}),i==="display"?this.showSuccessMessage(`You have left the waitlist for “${e.title}” session.`):this.showMessage(`You have left the waitlist for “${e.title}” session.`),this.handlePushDataToDynamoDB(d,c,e,na),!a&&(e!=null&&e.sessionId)&&this.getSessionDataById(e.sessionId);const U=((n==null?void 0:n.waitlistedSessions)||[]).filter(I=>I!==e.sessionId),x=(n==null?void 0:n.bookmarkedSessions)||[],v=(n==null?void 0:n.registeredSessions)||[],R=xe([...v,...U,...x]);(P=this.props)==null||P.storeUserSpecificSessionDetails({...n,waitlistedSessions:U}),($=this.props)==null||$.storeRegisteredSessionIds(R),typeof m=="function"&&m(e),this.handleRegisteredSessionsNumber()}}).catch(u=>{this.showMessage((u==null?void 0:u.errorMessage)||(u==null?void 0:u.message)||"Something went wrong",!0),console.error(u)}).finally(()=>{this.setState({isLoadingWaitlistAction:!1})}):this.props.userSessionRegisterPortal({sessionId:e==null?void 0:e.sessionId},y,!1,!1,!1,!0).then(u=>{var p,P;if(u&&!u.errorMessage){this.setState({isOnWaitlist:!0}),i==="display"?this.showSuccessMessage(`You have joined the waitlist for the "${e.title}" session.`):this.showMessage(`You have joined the waitlist for the "${e.title}" session.`),this.handlePushDataToDynamoDB(d,c,e,aa),!a&&e&&e.sessionId&&this.getSessionDataById(e.sessionId);const $=xe([...(n==null?void 0:n.waitlistedSessions)||[],e.sessionId]);(p=this.props)==null||p.storeUserSpecificSessionDetails({...n,waitlistedSessions:$}),g&&((P=this.props)==null||P.storeRegisteredSessionIds(xe([...g,e.sessionId]))),typeof m=="function"&&m(e),this.handleRegisteredSessionsNumber()}else u!=null&&u.errorMessage&&(u==null?void 0:u.errorCode)==="4072012"?S||this.setState({showWaitlistConfictPopup:!0,selectedSession:e}):S&&Lt.includes(u==null?void 0:u.errorCode)||this.showErrorMessage((u==null?void 0:u.errorMessage)||E("toasterMsg:Something went wrong"))}).catch(u=>{this.showMessage((u==null?void 0:u.errorMessage)||(u==null?void 0:u.message)||"Something went wrong",!0),console.error(u)}).finally(()=>{this.setState({isLoadingWaitlistAction:!1})})},this.goToThisSession=(e,a=!1,i=!1,c={})=>{var P;const{eventData:d,isFrom:n,user:m,showSpeakerDetail:g,t:E,pipModeVideo:f,virtualEventSettings:S}=this.props,{nowViewRecordingShow:y}=this.state,{eventUrl:k,eventURL:T}=d||{};let b="";e&&(n==="portal"||n==="exhibitor-portal"||n==="display"||n==="myTalk")?b=Ct(e.format):window.location.pathname.indexOf("stage")>-1?b=this.goToSessionFromSpecker(e):window.location.pathname.indexOf("schedule")>-1?b=this.goToSessionFromSpecker(e):window.location.pathname.indexOf("networking")>-1?b=this.goToSessionFromSpecker(e):window.location.pathname.indexOf("workshops")>-1&&(b=this.goToSessionFromSpecker(e));const u=`/e/${k||T}/portal/${b}/${e&&e.sessionId}`,{showPipModeVideo:p}=f||{};if(p){this.setState({confirmationMessage:E("chime:Joining this session will close your Picture in Picture window."),confirmationPopup:!0,pipSession:e,isJoin:a,pastJoinSession:i});return}if(y&&e.format==="MEET_UP")this.sendEventBasedOnSessionStatus(m,d,e,a,i),this.toggleNetworkingMatchesPopup(e);else if(i){const{eventData:$}=this.props,{eventUrl:U,eventURL:x}=$||{},R={sessionId:e&&e.sessionId};this.props,this.userSessionRegisterPortal(R,U||x,!(S!=null&&S.enableSessionWaitlistCapacityReached),i,!1,S==null?void 0:S.enableSessionWaitlistCapacityReached).then(()=>{this.sendEventBasedOnSessionStatus(m,$,e,a,i,u),this.props.history.push({pathname:u,state:{isFromRegisterAndJoinButton:!0,playbackData:c}})}).catch(I=>{var G;const F=(G=I==null?void 0:I.response)==null?void 0:G.data;F&&this.setState({errorHeader:F.errorCode==="4072003"?"Access Closed":"Error",isShowPopup:!0,errorMsg:F.errorMessage||E("toasterMsg:Something went wrong")})})}else g&&((P=this.props)==null||P.toggleSpeakerPopup()),this.userSessionRegisterPortal(e,a,i,"goToSession").then(()=>{y&&e.format==="MEET_UP"?this.toggleNetworkingMatchesPopup(e):(this.sendEventBasedOnSessionStatus(m,d,e,a,i,u),e.streamProvider==="ZOOM_REDIRECT"?e.streamUrl?window.open(e==null?void 0:e.streamUrl,"_blank"):this.showErrorMessage(E("agendaDetails:configurationMissing")):this.props.history.push({pathname:u,state:{isFromRegisterAndJoinButton:!0,playbackData:c}}))}).catch(()=>{})},this.networkingMatchesUserItem=e=>{const{eventData:a}=this.props,{eventFormat:i,showSessionByTimezone:c}=a||{},d=a&&a.equivalentTimezone||"US/Eastern",n=i!==Le&&c,m=ue(e.matTimeDate,d,n);return t.createElement("tr",null,t.createElement("td",null,t.createElement("div",{className:"user-profile-image"},t.createElement(Tt,{dpr:"auto",className:"round",crop:"scale",height:"60",sizes:"100vw",cloudName:mt,type:"fetch",fetchFormat:"auto",quality:"auto:eco",secure:!0,responsive:!0,publicId:`${Ve}${e.profileImage?e.profileImage:"images/user-icon-placeholder.png"}`,variant:"small",imageType:"avatar"}))),t.createElement("td",null,t.createElement("span",null,e.fullName)),t.createElement("td",null,t.createElement("span",null,e.company?e.company:"-")),t.createElement("td",null,t.createElement("span",null,e.title?e.title:"-")),t.createElement("td",null,t.createElement("span",null,m.format("MMMM D, YYYY h:mm A"))))},this.renderNetworkingMatchesUser=()=>{const{networkingMatchesUserList:e,isLoadingNetworkingMatchUserList:a}=this.state,{eventData:i,t:c,isFrom:d}=this.props,{eventFormat:n,showSessionByTimezone:m}=i||{},g=n!==Le&&m;function E(u,p){return t.createElement("div",{className:"user-profile-image"},t.createElement(Tt,{dpr:"auto",className:"round",crop:"scale",height:"60",sizes:"100vw",cloudName:mt,type:"fetch",fetchFormat:"auto",quality:"auto:eco",secure:!0,responsive:!0,user:{firstName:p.fullName},publicId:u?`${Ve}${u}`:"",variant:"small",imageType:"avatar",alt:`Profile picture of ${p.fullName}`}))}function f(u,p,P,$){return t.createElement("div",{className:"d-flex align-items-center justify-content-start name-badge-wrapper",id:`tabdata${$}`},t.createElement("span",{className:Se("namecolumn",d==="display"?"":"pointer"),title:u},u||"-"),t.createElement(Ms,{className:"user-label",userId:p==null?void 0:p.userIdOfMatch,email:p==null?void 0:p.email,eventUrl:i==null?void 0:i.eventURL}))}function S(u){return u||"-"}function y(u){const p=i&&i.equivalentTimezone||"US/Eastern",P=ue(u,p,g);return P?Ye(P).format("MMMM D, YYYY h:mm A"):"-"}function k(u,p){return{textAlign:u,minWidth:p}}const T=[{name:"#",isKey:!0,dataField:"id",hidden:!0},{name:c("Profile"),width:"15%",dataFormat:E,dataSort:!0,dataField:"profileImage",tdStyle:k("left","100px"),thStyle:k("left","100px"),isKey:!1},{name:c("Name"),width:"25%",dataFormat:f,dataSort:!0,dataField:"fullName",tdStyle:k("left","151px"),thStyle:k("left","151px"),isKey:!1},{name:c("Company"),width:"20%",dataAlign:"left",dataSort:!0,dataField:"company",dataFormat:S,tdStyle:k("left","151px"),thStyle:k("left","151px"),isKey:!1},{name:c("Title"),width:"20%",dataAlign:"left",dataSort:!0,dataField:"title",dataFormat:S,tdStyle:k("left","151px"),thStyle:k("left","151px"),isKey:!1},{name:c("Match Date & Time"),width:"20%",dataAlign:"left",dataFormat:y,dataSort:!0,dataField:"matTimeDate",tdStyle:k("left","151px"),thStyle:k("left","151px"),isKey:!1}],b={onRowClick:(u,p,P)=>{const $=document.getElementById(`tabdata${P}`),U=this.meetup,x=this.onCall,v=this.togglePopup,R=this.networkClosePo
2pup;pa("showNetworkuserDetailsPopup:click",{proFileName:$,e:u,isFrom:"viewMatchPeople",row:p,meetup:U,onCall:x,networkClosePopup:R,togglePopup:v})}};return t.createElement("div",{className:"networking-matches-user-section"},a?t.createElement("div",{className:"text-center spinner-loader"},t.createElement(Cs,{type:"SpinnerTiny"})):N(e)?t.createElement(Aa,{data:e,hover:!0,striped:!0,search:!1,options:b,remote:!0,bordered:!1,trClassName:"trClassFormat",tableBodyClass:"spacingBorder",tableContainerClass:"tableContainer table-responsive",tableHeaderClass:"tableHeader",column:T}):t.createElement("div",{className:"no-data-wrapper"},t.createElement("div",{className:"no-details-available"},c("toasterMsg:You do not have any matches"))))},this.unBookmarkedUserFromSession=(e,a,i=!1)=>{const{user:c,t:d,eventData:n,latestUpcomingSession:m,getRegisteredSessionByEvent:g,userSpecificSessionData:E}=this.props;!e&&a&&a.sessionId&&this.getSessionDataById(a.sessionId);const{eventURL:f,eventUrl:S}=n||{},y={eventId:n==null?void 0:n.eventId,sessionId:a==null?void 0:a.sessionId,userId:c==null?void 0:c.userId};return a?(this.setState({isUpdatingBookmarkStatus:!0}),new Promise((k,T)=>{this.props.unRegisteredUserToSession(e||0,y,S||f,i).then(b=>{var u,p,P;if(b&&!b.errorMessage){this.setState({isBookmarkedSession:!1}),a!=null&&a.bookmarked&&this.showSuccessMessage(d("toasterMsg:Session removed from “My Session”."));const $=((u=E==null?void 0:E.bookmarkedSessions)==null?void 0:u.filter(R=>R!==a.sessionId))||[],U=(E==null?void 0:E.waitlistedSessions)||[],x=(E==null?void 0:E.registeredSessions)||[],v=xe([...x,...U,...$]);(p=this.props)==null||p.storeUserSpecificSessionDetails({...E,bookmarkedSessions:$}),(P=this.props)==null||P.storeRegisteredSessionIds(v),this.handleRegisteredSessionsNumber(),typeof g=="function"&&g(a),m&&m.sessionId===a.sessionId&&this.getUpcomingSessionData(),this.handlePushDataToDynamoDB(c,n,a,vs),k(!0)}else this.showErrorMessage(b&&b.errorMessage||d("toasterMsg:Something went wrong")),T(b&&b.errorMessage||d("toasterMsg:Something went wrong"));this.setState({isUpdatingBookmarkStatus:!1})}).catch(b=>{this.setState({isUpdatingBookmarkStatus:!1}),this.showErrorMessage(d("toasterMsg:Something went wrong")),T(b)})})):null},this.onUnRegisteredUserFromSession=(e,a)=>{!e&&a&&a.sessionId&&this.getSessionDataById(a.sessionId),this.unRegisteredUserFromSession(e,a)},this.unRegisteredUserFromSession=(e,a)=>{const{user:i,eventData:c,latestUpcomingSession:d,t:n,getRegisteredSessionByEvent:m,userSpecificSessionData:g,registeredSessionIds:E}=this.props,{eventURL:f,eventUrl:S}=c||{},y={eventId:c&&c.eventId,sessionId:a&&a.sessionId,userId:i&&i.userId};if(a){this.setState({isRegisteringUnRegisteringInProgress:!0});const k=document.querySelector(`.register-${a.sessionId}`);return k&&(k.disabled=!0),new Promise((T,b)=>{this.props.unRegisteredUserToSession(e||0,y,S||f).then(u=>{var p,P,$,U;if(u&&!u.errorMessage){this.showSuccessMessage(n("toasterMsg:You are now unregistered for this session.")),this.handleRegisteredSessionsNumber();const x=(p=g==null?void 0:g.registeredSessions)==null?void 0:p.filter(v=>v!==a.sessionId);if((P=this.props)==null||P.storeUserSpecificSessionDetails({...g,registeredSessions:x}),E){const v=($=g==null?void 0:g.bookmarkedSessions)!=null&&$.includes(a.sessionId)?[...E]:E==null?void 0:E.filter(R=>R!==a.sessionId);(U=this.props)==null||U.storeRegisteredSessionIds(v)}this.setState({isNotRegistered:!0},()=>{k&&(k.disabled=!1),typeof m=="function"&&m(a),d&&d.sessionId===a.sessionId&&this.getUpcomingSessionData()}),this.handlePushDataToDynamoDB(i,c,a,ia),T(!0)}else k&&(k.disabled=!1),this.showErrorMessage(u&&u.errorMessage||n("toasterMsg:Something went wrong")),b(u&&u.errorMessage||n("toasterMsg:Something went wrong"));this.setState({isRegisteringUnRegisteringInProgress:!1})}).catch(u=>{k&&(k.disabled=!1),this.setState({isRegisteringUnRegisteringInProgress:!1}),this.showErrorMessage(n("toasterMsg:Something went wrong")),b(u)})})}return null},this.handleRegisterForNonLoggedInUser=()=>{var R,I,F,G,le,se,Z;const{nowJoinShow:e}=this.props,{virtualEventSettings:a,eventLevelSetting:i,t:c,btnSize:d,session:n,isFrom:m,showSessionDetail:g,embed:E,sessionCapacityTracksLimit:f,user:S}=this.props,{sessionRegisterButton:y,showSaveASeatButton:k,sessionCapacityReachedButton:T}=i||{},b=!!(n!=null&&n.capacitySet),u=T||"Unavailable",p=b?y||"Save a seat":"Add to My Schedule ",P=a&&a.bookMarkButtonColor,$=he(a,"buttonTextColorConfiguration.bookMarkButtonTextColor"),U=he(a,"showBookmarkButton"),x=(a==null?void 0:a.allowSessionBookmarkCapacity)&&(n==null?void 0:n.sessionBookmarkCapacityReached)||(f==null?void 0:f.limitReached)&&!this.checkSpeakerIsUser(S,n),v=P?{backgroundColor:P,color:$}:{backgroundColor:(I=B[(R=this.context)==null?void 0:R.theme])==null?void 0:I.neutral850,color:(G=B[(F=this.context)==null?void 0:F.theme])==null?void 0:G.neutral0};if(!k)return null;if(a!=null&&a.enableSessionWaitlistCapacityReached&&(n!=null&&n.sessionBookmarkCapacityReached)&&((Z=(se=(le=this.props)==null?void 0:le.userSpecificSessionData)==null?void 0:se.registeredSessions)==null?void 0:Z.length)===0&&!e){const{isOnWaitlist:_,isLoadingWaitlistAction:J}=this.state,j=t.createElement(q,{onClick:()=>E?this.showLoginModal():this.openShowExpoRegisterPopup(!0,n),loading:J,disabled:J,variant:_?"secondary":"primary",id:`waitlist-${n.sessionId}`,className:"d-flex align-items-center",label:_?t.createElement(t.Fragment,null,t.createElement(X,{svgIcon:"calender-a
2dd",className:"m-r-8",width:16,height:16,viewBox:"0 0 16 16"}),c("common:On Waitlist")):c("common:Join Waitlist")});return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),U?this.handleBookmarkButton():null,_?t.createElement(te,{tooltip:"Click to leave the waitlist",overlayProps:{placement:"top"}},j):t.createElement(te,{tooltip:"Join Waitlist is only available for signed in and registered users.Continue to login and/or register to join waitlist sessions",overlayProps:{placement:g?"bottom":"top"}},j))}return t.createElement(te,{tooltip:x?"This session is currently full, check back later.":c(`${p} ${c("tooltipMsg:Bookmark_tooltip")}`),tooltipProps:{id:`register-non-login${n.title}`},overlayProps:{placement:g?"bottom":"top"},trigger:"hover"},t.createElement(q,{className:"register-session-btn m-r-5",onClick:()=>E?this.showLoginModal():this.openShowExpoRegisterPopup(!0,n),label:x?u:p,id:`bookMarkSession${n.title}`,disabled:m==="Widget"||x,style:v,variant:P?"primary":"secondary","aria-label":`${p}: ${p} is only available for logged in and registered users. Continue to login and/or register to bookmark sessions`,size:d}))},this.isSessionRequiredForUser=e=>{if((e==null?void 0:e.required)??(e==null?void 0:e.isRequired))return!0;const a=e==null?void 0:e.requiredTicketTypeIds;if(!Array.isArray(a)||!a.length)return!1;const i=(this.props.userTicketTypeIds||[]).map(String);return a.some(c=>i.includes(String(c)))},this.handleRegisterButtonForDisplayPage=()=>{var me,Y,V,Ce,ye,Ie,Me,qe;const{session:e,sessionTime:a,sessionStartDate:i,virtualEventSettings:c,eventLevelSetting:d,t:n,eventTicketData:m,btnSize:g,embed:E,isFrom:f,allowCheckInWithUnpaidTicket:S,sessionCapacityTracksLimit:y,user:k,userSpecificSessionData:T,userRoleDetails:b}=this.props,{eventFormat:u}=m||{},p=_t(e.format,"_"," "),{nowViewRecordingShow:P,isNotRegistered:$,currentUserRegisteredEventTicketId:U,nowJoinShow:x,isRegisteringUnRegisteringInProgress:v,isOnWaitlist:R,isLoadingWaitlistAction:I,showJoinWatilistButton:F}=this.state,{sessionCapacityReachedButton:G,sessionRegisterButton:le,sessionRegisteredButton:se,showSaveASeatButton:Z}=d||{},_=e.streamProvider==="ZOOM"||e.streamProvider==="ZOOM_REDIRECT",J=!!(e!=null&&e.capacitySet),j=Ge(b,k),D=this.isSessionRequiredForUser(e),s=G||"Unavailable",oe=J?le||"Save a seat":"Add to My Schedule ",C=J?se||"Seat Saved":"Interested",H=he(c,"buttonTextColorConfiguration.joinSessionColor"),ae=he(c,"buttonTextColorConfiguration.joinSessionButtonTextColor"),ce=c&&c.bookMarkButtonColor,W=he(c,"buttonTextColorConfiguration.bookMarkButtonTextColor"),de=he(c,"showBookmarkButton"),we=(me=T==null?void 0:T.registeredSessions)==null?void 0:me.includes(e.sessionId),z=ce?{backgroundColor:ce,color:W}:{backgroundColor:(V=B[(Y=this.context)==null?void 0:Y.theme])==null?void 0:V.neutral850,color:(ye=B[(Ce=this.context)==null?void 0:Ce.theme])==null?void 0:ye.neutral0},ee=!j&&((c==null?void 0:c.allowSessionBookmarkCapacity)&&(e==null?void 0:e.sessionBookmarkCapacityReached)||(y==null?void 0:y.limitReached)&&!this.checkSpeakerIsUser(k,e)),ge=c==null?void 0:c.enableSessionWaitlistCapacityReached,K=(Ie=T==null?void 0:T.waitlistedSessions)==null?void 0:Ie.includes(e.sessionId);if(P&&_)return this.props.handleShowLeftSide&&this.props.handleShowLeftSide(),"";const Re=e.streamProvider==="ACCELEVENTS"&&e.sessionStartStatus==="STARTED";if(!Re&&P&&!_)return t.createElement(t.Fragment,null,e&&(e.format==="MEET_UP"||vt(e))&&u!=="IN_PERSON"&&(e==null?void 0:e.sessionTypeFormat)!=="IN_PERSON"&&!E&&f!=="Widget"&&t.createElement(q,{className:"pull-right",onClick:()=>{e.format==="MEET_UP"?this.goToThisSession(e,!1,!0):this.doGetPlaybacksForAttendees()},id:e.format==="MEET_UP"?`view-matches-${e.id}`:`view-recording-${e.title}`,"aria-label":`${e.format==="MEET_UP"?"View Matches":"View Recording"}: ${e.title} Type ${p} Start at ${i} ${a}`,disabled:v||!S,style:z,size:g},e.format==="MEET_UP"?n("View Matches"):t.createElement(t.Fragment,null,t.createElement(X,{svgIcon:"recording_icon",className:"m-r-8",viewBox:"0 0 16 16",width:16,height:16,color:W}),n("View Recording"))));if(x&&!bt(e)&&!vt(e))return null;if(x&&bt(e)&&(!P||Re)&&(F&&!$&&!K||!F))return t.createElement(t.Fragment,null,!E&&f!=="Widget"&&(e==null?void 0:e.sessionTypeFormat)!=="IN_PERSON"&&this.props.handleAddToCalendar&&this.props.handleAddToCalendar(
2),u!=="IN_PERSON"&&(e==null?void 0:e.sessionTypeFormat)!=="IN_PERSON"&&!E&&f!=="Widget"&&t.createElement(q,{className:"pull-right",onClick:()=>this.goToThisSession(e,!0),"aria-label":`Join: ${e.title} Type ${p} Start at ${i} ${a}`,disabled:v||!S,isPrevIcon:!0,icon:"virtual-icon-stage-outlined",id:`joinSession${e.title}`,label:n("common:Join"),style:{color:ae||((qe=B[(Me=this.context)==null?void 0:Me.theme])==null?void 0:qe.neutral0),backgroundColor:H,borderColor:H},size:g}));if(!$&&!R&&we)return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),de?this.handleBookmarkButton():null,Z?t.createElement(te,{tooltip:D?ys:"Unregister for this session.",overlayProps:{placement:"top"},className:D?"required-session-tooltip required-session-tooltip--pinned":void 0},t.createElement(q,{className:`pull-right secondary-seat-saved-button attending-${e&&e.sessionId}`,onClick:()=>this.onUnRegisteredUserFromSession(U&&U[0],e),isPrevIcon:!0,svgIcon:"calaendar-check-Icon","aria-label":`${C}: ${e.title} Type ${p} Start at ${i} ${a}`,disabled:v||f==="Widget"||!S||D,label:C,id:`attending-session-${e.id}`,style:z,size:g})):null);if(!ee&&!R)return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),de?this.handleBookmarkButton():null,Z?t.createElement(q,{className:`pull-right register-${e&&e.sessionId}`,variant:ce?"primary":"secondary",onClick:()=>this.onUserSessionRegisterPortal(e),"aria-label":`${oe}: ${e.title} Type ${p} Start at ${i} ${a}`,disabled:v||f==="Widget"||!S,id:`bookMarkSession${e.title}`,style:z,size:g},oe):null);if(ee&&!ge&&!K)return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),de?this.handleBookmarkButton():null,Z?t.createElement(te,{tooltip:"Session has reached capacity",overlayProps:{placement:"top"}},t.createElement(q,{className:`pull-right register-${e&&e.sessionId} secondary-seat-saved-button`,variant:ce?"primary":"secondary",disabled:!0,id:`unavailableSession${e.title}`,style:z,size:g},s,t.createElement(X,{svgIcon:"information-icon",viewBox:"0 0 16 16",className:"m-l-5 m-r-0 save-seat-info-icon"}))):null);if(R||ee&&ge){const Fe=t.createElement(q,{onClick:()=>this.joinWaitlistOnPortal(e,U&&U[0],"display"),loading:I,disabled:I,id:`waitlist-${e.sessionId}`,variant:R?"secondary":"primary",className:"d-flex align-items-center",label:R?t.createElement(t.Fragment,null,t.createElement(X,{svgIcon:"calender-add",className:"m-r-8",width:16,height:16,viewBox:"0 0 16 16"}),n("common:On Waitlist")):n("common:Join Waitlist")});return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),de?this.handleBookmarkButton():null,R?t.createElement(te,{tooltip:"Click to leave the waitlist",overlayProps:{placement:"top"}},Fe):t.createElement(te,{tooltip:"Session has reached capacity",overlayProps:{placement:"top"}},Fe))}return null},this.togglePopup=()=>{this.props.showSessionDetail&&this.props.togglePopup()},this.meetup=(e,a)=>{this.setState({showNetworkingMatchesPopup:!1}),this.props.opneMeetSlider(e,a)},this.onCall=(e,a)=>{this.setState({loggedInUser:e,attendeeDetails:a,showcallPopup:!0,showNetworkingMatchesPopup:!1})},this.networkClosePopup=()=>{this.setState({showNetworkingMatchesPopup:!1})},this.handleBookmarkButton=()=>{const{session:e,sessionStartDate:a,sessionTime:i}=this.props||{},{currentUserRegisteredEventTicketId:c,isUpdatingBookmarkStatus:d,isBookmarkedSession:n}=this.state,m=_t(e.format,"_"," ");return t.createElement(te,{tooltip:n?"Remove bookmark":"Bookmark this session",overlayProps:{placement:"top"}},t.createElement(q,{onClick:()=>n?this.unBookmarkedUserFromSession(c&&c[0],e,!0):this.userSessionBookmarkPortal(e,!0),disabled:d,"aria-label":`Join: ${e.title} Type ${m} Start at ${a} ${i}`,id:`bookMark-session-${e.id}`,className:Se("specific-bookmark-button",{bookmarked:n}),variant:"secondary"},ut("bookmark-icon")))},this.getTracksLimitCapacityTooltip=(e,a)=>{const i=`You've reached your sessions registration limit (${e==null?void 0:e.totalEventLimits}) for your ticket.`;return t.createElement(te,{tooltip:i,overlayProps:{placement:"top"},tooltipProps:{id:"tooltip-reg-limit",className:"light-tooltip session-reg-limit-tooltip"},svgIcon:t.createElement(X,{svgIcon:"registration-unavailable-Warning",className:"m-r-8",width:"20",height:"20",viewBox:"0 0 74 65"}),trigger:["click","hover"]},a)}
2,this.handleRegisterButtonForPortalPage=()=>{var K,Re,me,Y,V,Ce,ye,Ie;const{session:e,isFrom:a,user:i,sessionTime:c,sessionStartDate:d,virtualEventSettings:n,eventLevelSetting:m,userRoleDetails:g,latestUpcomingSession:E,btnSize:f,t:S,embed:y,sessionCapacityTracksLimit:k,userSpecificSessionData:T}=this.props,b=_t(e.format,"_"," "),u=e.format==="MEET_UP",{nowJoinShow:p,nowViewRecordingShow:P,isNotRegistered:$,currentUserRegisteredEventTicketId:U,isRegisteringUnRegisteringInProgress:x,isLoadingWaitlistAction:v,showJoinWatilistButton:R}=this.state,{sessionCapacityReachedButton:I,sessionRegisterButton:F,sessionRegisteredButton:G,showSaveASeatButton:le}=m||{},se=e.streamProvider==="ZOOM"||e.streamProvider==="ZOOM_REDIRECT",Z=!!(e!=null&&e.capacitySet),_=this.isSessionRequiredForUser(e),J=I||"Unavailable",j=Z?F||"Save a seat":"Add to My Schedule ",D=Z?G||"Seat Saved":"Interested",s=Ge(g,i),oe=he(n,"buttonTextColorConfiguration.joinSessionColor"),C=he(n,"buttonTextColorConfiguration.joinSessionButtonTextColor"),H=n&&n.bookMarkButtonColor,ae=he(n,"buttonTextColorConfiguration.bookMarkButtonTextColor"),ce=he(n,"showBookmarkButton"),W=(K=T==null?void 0:T.registeredSessions)==null?void 0:K.includes(e.sessionId),de=H?{backgroundColor:H,color:ae}:{backgroundColor:(me=B[(Re=this.context)==null?void 0:Re.theme])==null?void 0:me.neutral850,color:(V=B[(Y=this.context)==null?void 0:Y.theme])==null?void 0:V.neutral0},we=!s&&((n==null?void 0:n.allowSessionBookmarkCapacity)&&(e==null?void 0:e.sessionBookmarkCapacityReached)||(k==null?void 0:k.limitReached)&&!this.checkSpeakerIsUser(i,e)),z=n==null?void 0:n.enableSessionWaitlistCapacityReached,ee=(Ce=T==null?void 0:T.waitlistedSessions)==null?void 0:Ce.includes(e.sessionId);if(a==="stage"&&he(E,"sessionId")===he(e,"sessionId")&&(s||this.checkSpeakerIsUser(i,e)||N(he(E,"currentUserRegisteredEventTicketId"))))return this.props.handleShowLeftSide&&this.props.handleShowLeftSide(),this.handleBookmarkButton();if(P&&se)return this.props.handleShowLeftSide&&this.props.handleShowLeftSide(),"";const ge=e.streamProvider==="ACCELEVENTS"&&e.sessionStartStatus==="STARTED";if(!ge&&P&&!se)return t.createElement(t.Fragment,null,e&&(u||vt(e))&&!y&&a!=="Widget"&&(e==null?void 0:e.sessionTypeFormat)!=="IN_PERSON"&&t.createElement(q,{className:"pull-right",onClick:()=>{u?this.goToThisSession(e,!1,!0):this.doGetPlaybacksForAttendees()},"aria-label":`${u?"View Matches":"View Recording"}: ${e.title} Type ${b} Start at ${d} ${c}`,disabled:x,id:u?`viewMatches${e.title}`:`viewRecording${e.title}`,style:de,size:f,loading:this.state.isLoading},u?S("View Matches"):t.createElement(t.Fragment,null,t.createElement(X,{svgIcon:"recording_icon",className:"m-r-8",viewBox:"0 0 16 16",width:16,height:16,color:ae}),S("View Recording"))));if(p&&!bt(e)&&!vt(e))return null;if(bt(e)&&(p&&R&&!$&&!ee||p&&!R||p&&ge))return t.createElement(t.Fragment,null,!y&&a!=="Widget"&&(e==null?void 0:e.sessionTypeFormat)!=="IN_PERSON"&&this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),!y&&a!=="Widget"&&(e==null?void 0:e.sessionTypeFormat)!=="IN_PERSON"&&t.createElement(q,{className:"pull-right",onClick:()=>this.goToThisSession(e,!0),"aria-label":`Join: ${e.title} Type ${b} Start at ${d} ${c}`,disabled:x,isPrevIcon:!0,icon:"virtual-icon-stage-outlined",id:`joinSession${e.title}`,style:{color:C||((Ie=B[(ye=this.context)==null?void 0:ye.theme])==null?void 0:Ie.neutral0),backgroundColor:oe,borderColor:oe},label:S("common:Join"),size:f}));if(!$&&i&&!ee&&W)return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),ce?this.handleBookmarkButton():null,le?t.createElement(te,{tooltip:_?ys:"Unregister for this session.",overlayProps:{placement:"top"},className:_?"required-session-tooltip required-session-tooltip--pinned":void 0},t.createElement(q,{className:`btn-session-attending secondary-seat-saved-button pull-right attending-${e&&e.sessionId}`,onClick:()=>this.onUnRegisteredUserFromSession(U&&U[0],e),isPrevIcon:!0,svgIcon:"calaendar-check-Icon","aria-label":`${D}: ${e.title} Type ${b} Start at ${d} ${c}`,disabled:x||a==="Widget"||_,label:D,id:`attendingSession${e.title}`,style:de,size:f})):null);if(!we&&!ee)return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(
2),ce?this.handleBookmarkButton():null,le?t.createElement(q,{className:`pull-right register-${e&&e.sessionId}`,variant:H?"primary":"secondary",onClick:()=>this.onUserSessionRegisterPortal(e),"aria-label":`${j}: ${e.title} Type ${b} Start at ${d} ${c}`,disabled:x||a==="Widget",id:`bookMarkSession${e.title}`,style:de,size:f},j):null);if(we&&!z&&!ee)return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),ce?this.handleBookmarkButton():null,le?t.createElement(te,{tooltip:"Session has reached capacity",overlayProps:{placement:"top"}},t.createElement(q,{className:`pull-right register-${e&&e.sessionId} secondary-seat-saved-button`,variant:H?"primary":"secondary",disabled:!0,id:`unavailableSession${e.title}`,style:de,size:f},J,t.createElement(X,{svgIcon:"information-icon",viewBox:"0 0 16 16",className:"m-l-5 m-r-0 save-seat-info-icon"}))):null);if(ee||we&&z){const Me=t.createElement(q,{onClick:()=>this.joinWaitlistOnPortal(e,U&&U[0],"portal"),loading:v,disabled:v,id:`waitlist-${e.sessionId}`,variant:ee?"secondary":"primary",className:"d-flex align-items-center",label:ee?t.createElement(t.Fragment,null,t.createElement(X,{svgIcon:"calender-add",className:"m-r-8",width:16,height:16,viewBox:"0 0 16 16"}),S("common:On Waitlist")):S("common:Join Waitlist")});return t.createElement(t.Fragment,null,this.props.handleAddToCalendar&&this.props.handleAddToCalendar(),ce?this.handleBookmarkButton():null,ee?t.createElement(te,{tooltip:"Click to leave the waitlist",overlayProps:{placement:"top"}},Me):t.createElement(te,{tooltip:"Session has reached capacity",overlayProps:{placement:"top"}},Me))}return null},this.openShowExpoRegisterPopup=(e,a)=>{const{eventData:i}=this.props,{equivalentTimezone:c}=i||{},d=Ds(a==null?void 0:a.endTime,c);this.setState({showExpoRegisterPopup:e,selectedSession:{sessionId:a==null?void 0:a.sessionId,isPastSession:d}})},this.openGetMegicLinkFormPopup=e=>{this.setState({showGetMegicLinkPopup:e,showExpoRegisterPopup:!1},()=>{!e&&this.setState({selectedSession:{}})})},this.handleRegisterProcess=()=>{const{eventData:e,history:a}=this.props,{eventUrl:i,eventURL:c}=e||{};this.setState({showExpoRegisterPopup:!1,selectedSession:{}}
2,()=>{const d=`/e/u/checkout/${i||c}/tickets/order`;a.push(d)})},this.toggleCheckoutDropdown=()=>{const{showCheckoutDropdown:e}=this.state;this.setState({showCheckoutDropdown:!e})},this.handleSingleHolderSave=async(e,a,i)=>{var f;const{checkoutProps:c,t:d,showAlert:n}=this.props,{eventUrl:m,orderId:g,onSaveASeat:E}=c||{};if(a){if(m&&g){this.setState({singleHolderSaving:!0});try{const S=await fn(m,e,g,[a]),y=Array.isArray(S==null?void 0:S.errors)?S.errors.filter(Boolean).join(" "):"";if((S==null?void 0:S.success)==="conflict"&&((f=S==null?void 0:S.conflicts)==null?void 0:f.length)>0){n==null||n({message:y||d("common:This user already registered in this session"),type:"error"});return}if((S==null?void 0:S.success)==="capacity_reached"){n==null||n({message:y||d("common:This session is fully booked. No seats are available."),type:"error"});return}}catch{return}finally{this.setState({singleHolderSaving:!1})}}E==null||E(e,[a],i)}},this.renderCheckoutButton=()=>{var et,St,We,tt,st,fe,Ne,ot;const{session:e,t:a,checkoutProps:i,isFrom:c,virtualEventSettings:d,eventLevelSetting:n,sessionCapacityTracksLimit:m,user:g,userRoleDetails:E,btnSize:f,isInsideModal:S,showAlert:y}=this.props,{showCheckoutDropdown:k,nowViewRecordingShow:T}=this.state,b=c==="checkout_Widget";if((!i||!e)&&!b)return null;const{attendees:u=[],selections:p,eligibilityMap:P,alreadyRegisteredMap:$,onSaveASeat:U,maxSessionsPerAttendee:x}=i||{},v=(e==null?void 0:e.sessionId)||(e==null?void 0:e.id),{singleHolderSaving:R}=this.state,I=u.length===1,F=I?u[0]:null,G=(F==null?void 0:F.email)||"",le=(et=F==null?void 0:F.ticketTypeIds)==null?void 0:et.some(ne=>{var ie,Ee,He;return(He=(Ee=(ie=P==null?void 0:P.ticketTypeEligibility)==null?void 0:ie[ne])==null?void 0:Ee.includes)==null?void 0:He.call(Ee,v)}),se=!I||le,Z=I&&!!((tt=(We=(St=$==null?void 0:$.get)==null?void 0:St.call($,G==null?void 0:G.toLowerCase()))==null?void 0:We.has)!=null&&tt.call(We,v)),_=!!T,j=!Ge(E,g)&&((d==null?void 0:d.allowSessionBookmarkCapacity)&&(e==null?void 0:e.sessionBookmarkCapacityReached)||(m==null?void 0:m.limitReached)&&!this.checkSpeakerIsUser(g,e)),D=d==null?void 0:d.enableSessionWaitlistCapacityReached,s=(j||(e==null?void 0:e.availableSeats)===0)&&!D,{sessionRegisterButton:oe,sessionCapacityReachedButton:C,sessionRegisteredButton:H,showSaveASeatButton:ae}=n||{},ce=!!(e!=null&&e.capacitySet),W=ce?oe||a("common:Save a Seat"):a("common:Add to My Schedule"),de=ce?H||a("common:Seat Saved"):a("common:Interested"),we=C||a("common:Unavailable"),z=p==null?void 0:p.get(v),ee=(z==null?void 0:z.emails)||z,ge=(p==null?void 0:p.has(v))&&((ee==null?void 0:ee.size)||0)>0,K=ge&&!b&&!s,Re=s?we:K?de:W,me=d==null?void 0:d.bookMarkButtonColor,Y=he(d,"buttonTextColorConfiguration.bookMarkButtonTextColor"),V=me?{backgroundColor:me,color:Y}:{backgroundColor:(fe=B[(st=this.context)==null?void 0:st.theme])==null?void 0:fe.neutral850,color:(ot=B[(Ne=this.context)==null?void 0:Ne.theme])==null?void 0:ot.neutral0},Ce=(ee==null?void 0:ee.size)||0,{minSessionsPerAttendee:ye,eventUrl:Ie,orderId:Me}=i||{},qe=ge?t.createElement(t.Fragment,null,t.createElement(X,{svgIcon:"calender-add",width:16,height:16,className:"m-r-0",viewBox:"0 0 16 16"}),a("common:On Waitlist"),K&&t.createElement("span",{className:"checkout-save-seat-btn__count"},"(",Ce,")")):a("common:Join Waitlist");let Fe=0;I&&p&&p.forEach(ne=>{var Ee;const ie=(ne==null?void 0:ne.emails)||ne;(Ee=ie==null?void 0:ie.has)!=null&&Ee.call(ie,G)&&(Fe+=1)});const Qe=I&&!!x&&!ge&&Fe>=x,pt=ne=>{if(ge){U==null||U(v,[]);return}if(Qe){y==null||y({message:a("common:You've selected the maximum of {{max}} sessions.",{max:x}),type:"error"});return}this.handleSingleHolderSave(v,G,ne)},Nt=I&&(!se||R||Z)?"cr-not-allowed":"",ft=t.createElement(q,{onClick:()=>I?pt(!0):this.toggleCheckoutDropdown(),id:`waitlist-${e.sessionId}`,variant:ge?"secondary":"primary",className:"d-flex align-items-center gap-4",disabled:b||I&&R,loading:I&&R},qe),Pt=Z?t.createElement(q,{className:`pull-right register-${e&&e.sessionId} d-flex align-items-center gap-4 secondary-seat-saved-button cr-not-allowed`,variant:"secondary",disabled:!0,id:`single-holder-registered-${v}`,size:f,style:V},t.createElement(X,{svgIcon:"calaendar-check-Icon",strokeColor:Y,color:"transparent",className:"h-20 m-r-0",viewBox:"0 0 20 20"}),de):_&&!ge?t.createElement(q,{className:`pull-right register-${e&&e.sessionId} secondary-seat-saved-button cursor-default`,variant:"secondary",disabled:!0,id:`endedSession${e.title}`,size:f}
2,a("common:Session Ended"),t.createElement(X,{svgIcon:"information-icon",viewBox:"0 0 16 16",className:"m-l-5 m-r-0 save-seat-info-icon"})):j&&D&&!_?ft:s?t.createElement(q,{className:`pull-right register-${e&&e.sessionId} secondary-seat-saved-button cursor-default`,variant:me?"primary":"secondary",disabled:!0,id:`unavailableSession${e.title}`,style:V,size:f},we,t.createElement(X,{svgIcon:"information-icon",viewBox:"0 0 16 16",className:"m-l-5 m-r-0 save-seat-info-icon"})):t.createElement(q,{className:Se("register-session-btn checkout-save-seat-btn d-flex align-items-center gap-4"),onClick:()=>{s||I&&!se||(I?pt(!1):this.toggleCheckoutDropdown())},id:`checkout-save-seat-${v}`,disabled:s||b||I&&(!se||R),loading:I&&R,variant:"primary",size:f||"small",style:V},K&&t.createElement(X,{svgIcon:"calaendar-check-Icon",strokeColor:Y,color:"transparent",className:"h-20 m-r-0",viewBox:"0 0 20 20"}),Re,K&&!I&&t.createElement("span",{className:"checkout-save-seat-btn__count",style:{color:V==null?void 0:V.color}},"(",Ce,")")),$e=!I&&k&&(!s||j&&D)&&!(_&&!ge)?t.createElement(En,{attendees:u,sessionId:v,eligibilityMap:P,alreadyRegisteredMap:$,selections:p,minSessionsPerAttendee:ye,maxSessionsPerAttendee:x,eventUrl:Ie,orderId:Me,isWaitlistSession:j&&D,onConfirm:(ne,ie)=>{const Ee=j&&D;U==null||U(ne,ie,Ee),this.setState({showCheckoutDropdown:!1})},key:v,onCancel:()=>this.setState({showCheckoutDropdown:!1}),triggerRef:this.checkoutWrapperRef,isInsideModal:S}):null,Xe=Z?a("common:This user already registered in this session"):_&&!ge?a("common:This session has ended and is no longer available for registration."):s?"Session has reached capacity":"";return ae?t.createElement(ra,{condition:Z||_&&!ge||s,wrapper:ne=>t.createElement(te,{tooltip:Xe,overlayProps:{placement:"left"},className:"cr-not-allowed"},ne)},t.createElement("div",{ref:this.checkoutWrapperRef,className:Nt},Pt,$e)):null},this.state=kn,this.checkoutWrapperRef=t.createRef()}componentDidMount(){var m;const{session:l,i18n:e,userSpecificSessionData:a}=this.props;la(e.language);const i=l&&(!l.currentUserRegisteredEventTicketId||l.currentUserRegisteredEventTicketId.length===0),c=l&&l.currentUserRegisteredEventTicketId,d=l==null?void 0:l.bookmarked,n=(m=a==null?void 0:a.waitlistedSessions)==null?void 0:m.includes(l.sessionId);this.setState({isNotRegistered:i,currentUserRegisteredEventTicketId:c,isBookmarkedSession:d,isOnWaitlist:n}),this.dataInterVal=setInterval(()=>{this.isJoinButtonShow(l)},this.checkInterval(l)),ca("sessionRegisterOnUnregister:click",g=>{this.handleSessionRegisterOrNot(g)}),setTimeout(()=>{this.setState({isLoadingBtn:!0})},0)}componentWillUnmount(){clearInterval(this.dataInterVal),this.datatimeout&&(clearTimeout(this.datatimeout),this.datatimeout=null),da("sessionRegisterOnUnregister:click")}UNSAFE_componentWillReceiveProps(l){var i,c,d,n;const{session:e,authenticated:a}=this.props;if(l.authenticated&&!a){const{eventData:m}=l||{},g=(m==null?void 0:m.eventUrl)||(m==null?void 0:m.eventURL);g&&this.props.userAllowedCheckInWithUnpaidTicket(g)}!Ae(e,l.session)&&!Ae(l.session.currentUserRegisteredEventTicketId,e.currentUserRegisteredEventTicketId)&&this.setState({isNotRegistered:l.session&&(!l.session.currentUserRegisteredEventTicketId||l.session.currentUserRegisteredEventTicketId.length===0),currentUserRegisteredEventTicketId:l.session&&l.session.currentUserRegisteredEventTicketId}),!Ae(e,l.session)&&!Ae((i=l.session)==null?void 0:i.bookmarked,e.bookmarked)&&this.setState({isBookmarkedSession:(c=l.session)==null?void 0:c.bookmarked}),!Ae(e,l.session)&&!Ae((d=l.session)==null?void 0:d.waitlisted,e.waitlisted)&&this.setState({isOnWaitlist:(n=l.session)==null?void 0:n.waitlisted}),e!==l.session&&this.isJoinButtonShow(l.session)}render(){var _,J,j,D;const{session:l,authenticated:e,isFrom:a,eventData:i,t:c,embed:d,showAlertMessage:n}=this.props,{successMessage:m,isLoading:g,isError:E,isShowLoginModal:f,isShowPopup:S,errorMsg:y,showNetworkingMatchesPopup:k,confirmationMessage:T,confirmationPopup:b,showcallPopup:u,loggedInUser:p,attendeeDetails:P,isLoadingBtn:$,showExpoRegisterPopup:U,showGetMegicLinkPopup:x,selectedSession:v,showRecoridngPopup:R,allRecording:I,showWaitlistConfictPopup:F}=this.state,{eventUrl:G,eventURL:le}=i||{};function se(s){const oe=Ye.duration(s,"seconds"),C=oe.hours().toString().padStart(2,"0"),H=oe.minutes().toString().padStart(2,"0"),ae=oe.seconds().toString().padStart(2,"0");return C==="00"&&H==="00"?`${ae}s`:C==="00"?`${H}m:${ae}s`:`${C}h:${H}m:${ae}s`}function Z(s){return Ye(s).format("MMM, DD YYYY [at] hh:mm A")}return["checkout_Widget","checkout_registration"].includes(a)?t.createElement("div",{className:"register-dropdown-container hello d-flex column-gap-10px"}
2,t.createElement(De,{className:"sesstion-details-right-container checkout-save-seat-wrapper d-flex gap-12 text-nowrap"},this.renderCheckoutButton())):t.createElement("div",{className:"register-dropdown-container d-flex column-gap-10px"},m&&(a==="Widget"||a==="display")&&t.createElement(ma,{message:m,loading:g,isError:E}),f&&t.createElement(De,{md:12},t.createElement(Sn,{showModal:f,onCloseFunc:this.hideLoginModal,params:{params:G||le},isFrom:"agenda",embed:d})),e?t.createElement(t.Fragment,null,l&&$&&t.createElement(De,{className:"sesstion-details-right-container d-flex gap-12 text-nowrap flex-wrap"},a==="display"?this.handleRegisterButtonForDisplayPage():this.handleRegisterButtonForPortalPage())):t.createElement(De,{className:"sesstion-details-right-container d-flex gap-12 text-nowrap flex-wrap"},this.handleRegisterForNonLoggedInUser()),t.createElement(wt,{id:"confirmationPopup",showModal:S,headerClass:"m-b-30",onCloseFunc:()=>this.closePopup(),headerText:t.createElement("p",null," ",c(this.state.errorHeader||"")),modelFooter:t.createElement("div",null,t.createElement(q,{variant:"danger",onClick:this.closePopup,label:"Close",id:"close"}))},y&&t.createElement("p",{className:"text-center"},`${y}`)),t.createElement(pn,{openShowExpoRegisterPopup:s=>this.openShowExpoRegisterPopup(s),openGetMegicLinkFormPopup:s=>this.openGetMegicLinkFormPopup(s),handleRegisterProcess:this.handleRegisterProcess,showExpoRegisterPopup:U}),t.createElement(hn,{eventData:i,showGetMegicLinkPopup:x,openGetMegicLinkFormPopup:s=>this.openGetMegicLinkFormPopup(s),selectedSession:v,showAlertMessage:n}),t.createElement(wt,{id:"networkingMatchesPopup",headerText:c("Matched People List"),headerClass:"m-b-30",showModal:k,onCloseFunc:()=>this.toggleNetworkingMatchesPopup("",!0)},this.renderNetworkingMatchesUser()),t.createElement(wt,{onCloseFunc:()=>this.closeAlertPopup(),id:"confirmationPopup",headerClass:"m-b-30",showModal:b,headerText:t.createElement("p",null,c("common:Confirm")),modelFooter:t.createElement("div",null,t.createElement(q,{className:"m-r-5",onClick:()=>{this.allowToJoin()},id:"joinAnyway",onKeyDown:s=>{s.key==="Enter"&&this.allowToJoin()},"aria-label":`${T}`},c("common:Join Anyway")),t.createElement(q,{variant:"danger",onClick:()=>{this.closeAlertPopup()},onKeyDown:s=>{s.key==="Enter"&&this.closeAlertPopup()},id:"cancel","aria-label":`${T}`},c("common:Cancel")))},t.createElement("div",{className:"center-align"},t.createElement("p",{className:"text-center"},T))),u&&t.createElement(cn,{showcallPopup:u,loggedInUser:p,attendeeDetails:P}),t.createElement(ua,{id:"show-recordings",bsSize:"md",showModal:R,onCloseFunc:()=>{this.setState({showRecoridngPopup:!1})},headerText:t.createElement("div",null,t.createElement("div",{className:"main-header"},"Select Recording"),t.createElement("div",{className:"header-details"},"Session: ",l==null?void 0:l.title)),modalClassName:"show-recordings-modal"},t.createElement("div",{className:"recording-video-container"},N(I)>0&&dt.map(I,(s,oe)=>{var C,H,ae,ce,W,de;return t.createElement("div",{className:"card cursor content-hover",key:oe,onClick:()=>{this.goToThisSession(l,!1,!0,s)}},t.createElement("div",{className:"recording-video-img"},t.createElement("div",null,t.createElement("div",{className:"recording-video-play-icon"},t.createElement(q,{className:"delete-lounge-video hover_focus_effect_1",variant:"secondary",size:"exsmall",tabIndex:"0","aria-label":"Click to video",id:"play"},t.createElement(X,{svgIcon:"videoPlayIcon",width:48,height:48,viewBox:"0 0 48 48"}))),t.createElement("div",{className:"recording-video-duration"},t.createElement(O,{header:se(s==null?void 0:s.duration),labelClass:"recording-duration m-b-0",color:(H=B[(C=ve)==null?void 0:C.theme])==null?void 0:H.neutral1000,variant:"body4"})),t.createElement(ha,{className:"recording-video-player",url:s!=null&&s.s3KeyURL?ga(s==null?void 0:s.s3KeyURL):`https://stream.cast.accelevents.com/${s.playBackId}.m3u8${s!=null&&s.playBackRestrictionToken?`?token=${s.playBackRestrictionToken}`:""}`,width:"100%",playing:!1,volume:1,controls:!1}
2))),t.createElement("div",{className:"recoridng-video-details"},t.createElement(O,{header:(s==null?void 0:s.title)||Z(s==null?void 0:s.createdAt),labelClass:"recording-name overflow-ellipsis m-b-5",color:(ce=B[(ae=ve)==null?void 0:ae.theme])==null?void 0:ce.neutral1000,variant:"body4"}),t.createElement(O,{className:"m-b-2p",labelClass:"overflow-ellipsis recording-desc m-b-0",header:s==null?void 0:s.description,color:(de=B[(W=ve)==null?void 0:W.theme])==null?void 0:de.neutral1000,variant:"body4"})))}))),F&&t.createElement(wt,{id:"waitlist-confict-popup",showModal:F,onCloseFunc:()=>this.setState({showWaitlistConfictPopup:!1,selectedSession:{}})},t.createElement("div",{className:"d-flex flex-column gap-10px align-items-center justify-content-center"},ut("calendar-circle-exclamation"),t.createElement(O,{variant:"heading3",className:"text-center m-t-20 m-b-5",color:(J=B[(_=ve)==null?void 0:_.theme])==null?void 0:J.neutral1000},"You are already registered for a session during this time slot"),t.createElement(O,{variant:"body2",className:"text-center",color:(D=B[(j=ve)==null?void 0:j.theme])==null?void 0:D.neutral850},'To join the waitlist for "',v==null?void 0:v.title,'" session, please unregister from any conflicting sessions in your registered sessions list.'),t.createElement("div",{className:"d-flex gap-10 justify-content-center"},t.createElement(q,{variant:"secondary",className:"btn-waitlist-confict",onClick:()=>this.setState({showWaitlistConfictPopup:!1,selectedSession:{}})},"Close"),t.createElement(q,{variant:"primary",className:"btn-waitlist-confict",onClick:()=>{var de;const{eventData:s,history:oe,togglePopup:C,tabChange:H}=this.props,{eventUrl:ae,eventURL:ce}=s||{},W=ae||ce;typeof H=="function"?(H("my-sessions"),typeof C=="function"&&C(),setTimeout(()=>{this.setState({showWaitlistConfictPopup:!1,selectedSession:{}}),C==null||C()},100)):(sessionStorage.setItem("activeTab","my-sessions"),((de=location==null?void 0:location.pathname)==null?void 0:de.includes("/portal"))?oe.push(`/e/${W}/portal#agenda`):oe.push(`/e/${W}#agenda`),this.setState({showWaitlistConfictPopup:!1,selectedSession:{}}),C==null||C())}},"Go to My Agenda")))))}};Wt.contextType=ve;let xt=Wt;const vn={unRegisteredUserToSession:Zo,userSessionRegisterPortal:Jo,getUpcomingSessionData:Go,getMatchesUserDuringNetworking:Yo,getSessionDataByIdV2:Ko,getRegisteredSessions:Ho,isPipMode:qo,showAlert:jo,getPlaybacksForAttendees:Vo,storeUserSpecificSessionDetails:zo,removeUserFromWaitlist:Oo,storeRegisteredSessionIds:Wo,userAllowedCheckInWithUnpaidTicket:Fo},bn=o=>{var l,e,a,i,c,d;return{eventData:Je(o)||Rs(o),user:o.session.user,currencySymbol:((e=(l=o==null?void 0:o.event)==null?void 0:l.data)==null?void 0:e.currencySymbol)||"$",authenticated:o.session.authenticated,latestUpcomingSession:ea(o),virtualEventSettings:At(o)||As(o),userRoleDetails:xs(o),languageCodeLabels:Bs(o),pipModeVideo:Xo(o),allowCheckInWithUnpaidTicket:(a=o==null?void 0:o.event)==null?void 0:a.allow_to_checkIn,userSpecificSessionData:(i=o==null?void 0:o.virtualEvent)==null?void 0:i.userSpecificSessionData,eventLevelSetting:Us(o),registeredSessionIds:(c=o==null?void 0:o.virtualEvent)==null?void 0:c.registeredSessionIds,sessionCapacityTracksLimit:(d=o==null?void 0:o.virtualEvent)==null?void 0:d.sessionCapacityTracksLimit,userTicketTypeIds:Qo(o)}},wn=Ue(bn,vn)(Ts(_s(["agendaDetails","toasterMsg","tooltipMsg","common"])(xt)));let Ut,Bt=window.innerWidth<=1081;const yn=o=>{const[l,e]=M.useState(null);return M.useEffect(()=>{const a=o.current,i=new Dt.ResizeObserver(c=>{c.forEach(d=>{e(d.contentRect.height)})});return a&&i.observe(a),()=>{a&&i.unobserve(a)}},[o]),l};function Tn(o){var os,as,ns,is,rs,ls,cs,ds,ms,us,hs,gs,ps,fs,Ss;const l=M.useContext(ve),[e,a]=M.useState(""),[i,c]=M.useState(!1),[d,n]=M.useState(!1),[m,g]=M.useState(),[E,f]=M.useState(!0),[S,y]=M.useState(),[k,T]=M.useState(!1),[b,u]=M.useState(),{t:p}=je(["myTalk","exhibitor","common"]),P=M.useRef(),$=yn(P),U=M.useRef(null),x=M.useRef(null),[v,R]=M.useState(!1),[I,F]=M.useState(!1),[G,le]=M.useState(!1),[se,Z]=M.useState(null),[_,J]=M.useState(!1),j=(os=o.eventLevelSettings)!=null&&os.allowToEditSessions?p("Edit Session"):p("Session editing is currently disabled by the event organizer"),D=((ns=(as=o==null?void 0:o.userRoleDetails)==null?void 0:as.roles)==null?void 0:ns.indexOf("leadretriever"))>-1,{session:s,getRegisteredSessionByEvent:oe,isFrom:C,embed:H,noActionController:ae,openSessionDetail:ce,eventData:W,noInterestController:de,virtualEventTabs:we,isSlider:z,eventTicketData:ee,languageCodeLabel:ge,isMytalk:K,handleMyTalksButton:Re,numOfSession:me,isSpeakerModal:Y,isLiveSession:V,isFromHostSpeaker:Ce,SessionList:ye,buttonTextColorConfiguration:Ie,isLive:Me,showAlertMessage:qe,tabChange:Fe,pinnedLocations:Qe,venueLocationList:pt,venueBoothList:Nt,isSubSession:ft}=o||{},Pt=r=>{const h=U.current?U:x;if(!(h!=null&&h.current)||!r){F(!1),R(!0);return}try{const w=h.current;if(!w)return;const L=w.getBoundingClientRect().width,A=40,Q=0,be=L-0,Pe=Math.floor((be+Q)/(A+Q)),ke=r>Math.max(1,Pe);F(ke),R(!0)}catch(w){console.error("Overflow calculation error:",w),F(!1),R(!0)}};M.useEffect(()=>{const{isFrom:r}=o,h=r==="speaker"?46:40;$>h&&!d?c(!0):$<=h&&(c(!1),n(!1))},[$]);const Rt=Ie&&Ie.hubSessionNameColor||"#31415",$e=window.innerWidth<=783,Xe=window.innerWidth<=1230,{sponsorList:et,format:St,startTime:We,endTime:tt,exhibitorList:st,location:fe,locationSourceUrl:Ne}=s||{},ot=Ba({eventData:W,isFrom:C,isSubSession:ft,isSpeakerModal:Y,isMytalk:K}),ne=(W==null?void 0:W.eventFormat)!==Le&&(W==null?void 0:W.showSessionByTimezone),ie=W&&W.equivalentTimezone||"US/Eastern",Ee=We&&ue(We,ie,ne),He=tt&&ue(tt,ie,ne),Vs=Ee==null?void 0:Ee.toDate(),js=He==null?void 0:He.toDate(),qs=M.useMemo(()=>(r,h)=>`${yt(h).diff(yt(r),"minute")} ${p("Minutes")}`),Ot={className:"slider variable-width myCustome",dots:!1,slidesToShow:1,infinite:!1,initialSlide:0,slidesToScroll:1,variableWidth:!0,nextArrow:t.createElement(Hs,null),prevArrow:t.createElement(Ks,null),responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,infinite:!1}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:0}},{breakpoint:480,settings:{slidesToShow:1,variableWidth:!1,slidesToScroll:1}},{breakpoint:360,settings:{slidesToShow:1,variableWidth:!1,slidesToScroll:1}}]},zt=M.useMemo(()=>()=>{var re;const r=(re=document.querySelector(".widget-preview"))==null?void 0:re.offsetWidth,h=(C==="Widget"?r:window.innerWidth)>1441,w=(C==="Widget"?r:window.innerWidth)<=1376;Bt=(C==="Widget"?r:window.innerWidth)<=1081;const L=(C==="Widget"?r:window.innerWidth)<=900,A=(C==="Widget"?r:window.innerWidth)>=671&&(C==="Widget"?r:window.innerWidth)<=768,Q=(C==="Widget"?r:window.innerWidth)>=1024&&(C==="Widget"?r:window.innerWidth)<=1080;g(h?z?me===2?4:3:5:L?A?4:3:Bt?C!=="display"?4:z&&Q?3:4:w?z?3:4:z?3:5)},[me]);M.useEffect(()=>{zt()},[]),M.useEffect(()=>{const r=Na(0,()=>{zt()});Ut=new Dt.ResizeObserver(r);const h=document.querySelector("#portal-content-wrapper"),w=document.querySelector("#fixedHeader .agenda-tab .session-display.display-agenda");h&&Ut.observe(h),w&&Ut.observe(w)},[]);function Hs(r){const{className:h,style:w,onClick:L}=r;return t.createElement("button",{type:"button",className:`${h} arrowButton hover_focus_effect_2`,style:{...w},onClick:A=>{A==null||A.stopPropagation(),typeof L=="function"&&L()},id:"angleRightBtn",onKeyPress:A=>{A.key==="Enter"&&typeof L=="function"&&(A==null||A.stopPropagation(),L())},"aria-label":"Carousel Next"},t.createElement(X,{type:"fa fa-angle-right",id:"angleRight"}))}function Ks(r){const{className:h,style:w,onClick:L}=r;return t.createElement("button",{type:"button",className:`${h} arrowButton hover_focus_effect_2`,style:{...w},id:"angleLeftBtn",onClick:A=>{A==null||A.stopPropagation(),typeof L=="function"&&L()},onKeyPress:A=>{A.key==="Enter"&&typeof L=="function"&&(A==null||A.stopPropagation(),L())},"aria-label":"Carousel Previous"},t.createElement(X,{type:"fa fa-angle-left",id:"angleLeft"}))}const Vt=(r,h)=>{var Pe,ke;h==null||h.preventDefault();const{location:w,history:L}=o||{},A=Ds(r.endTime,ie),Q=A?`&pastSession=${A}`:"",re=((Pe=w==null?void 0:w.pathname)==null?void 0:Pe.split("/")[3])==="portal",be=(ke=w==null?void 0:w.pathname)==null?void 0:ke.includes("/u/checkout/");if(!re&&!be){const _e=`${w.pathname}?sessionId=${r==null?void 0:r.sessionId}${Q}${w.hash}`;L.push(_e)}ce&&ce(r)},Ys=M.useMemo(()=>r=>{let h="";if(r&&r.endTime){const w=ue(r.startTime,ie,ne),L=ue(r.endTime,ie,ne),A=yt();A>=w&&A<=L?h="Now":(A>L,h=w.format("h:mm A"))}return h}),jt=r=>{var w;const h=(w=window==null?void 0:window.location)==null?void 0:w.pathname;return h.indexOf(`/portal/stage/${r==null?void 0:r.sessionId}`)>-1||h.indexOf(`/portal/schedule/${r==null?void 0:r.sessionId}`)>-1||h.indexOf(`/portal/workshops/${r==null?void 0:r.sessionId}`)>-1};M.useEffect(()=>{f(!ae&&s&&!jt(s)&&s)},[]);const Gs=()=>{f(!1)},Js=M.useMemo(()=>(r,h,w)=>{const L=Ct(h)||"stage";let A;return r?W&&(A=`${window.origin}/e/${W.eventURL}/portal/${L}/${w} ${r} `):r||W&&(A=`${window.origin}/e/${W.eventURL}/portal/${L}/${w}`),A},[s]),Zs=M.useMemo(()=>()=>t.createElement("a",{className:`calendar_dropdown ${E?"show_left_side":"show_right_side"}`,onClick:r=>r==null?void 0:r.stopPropagation(),onKeyPress:r=>(r==null?void 0:r.key)==="Enter"&&(r==null?void 0:r.stopPropagation())},(W&&ee&&ee.eventFormat!=="IN_PERSON"&&(s==null?void 0:s.sessionTypeFormat)!=="IN_PERSON"||H)&&t.createElement(Fa,{event:{title:s.title,startTime:s!=null&&s.startTime?new Date(s.startTime):Vs,endTime:s!=null&&s.endTime?new Date(s.endTime):js,description:Js(s.description,s.format,s.sessionId),location:(s==null?void 0:s.location)||"",equivalentTimezone:ie},isOnlyIcon:!0,isFrom:C,sessionBlockId:o.sessionBlockId})),[s]),Qs=(r,h)=>{T(!0),y(r),u(h)},Xs=r=>{T(r)},qt=M.useCallback(()=>K?Re():!ae&&s&&!jt(s)&&s&&t.createElement("span",{onClick:r=>r==null?void 0:r.stopPropagation(),onKeyPress:r=>r==null?void 0:r.stopPropagation()},t.createElement(wn,{session:{...s},getRegisteredSessionByEvent:oe,noInterestController:de,isFrom:C,opneMeetSlider:Qs,sessionTime:Ys(s),sessionStartDate:s.startTime&&ue(s.startTime,ie,ne).format("dddd D MMM"),showAlertMessage:qe,handleShowLeftSide:Gs,btnSize:Y?"normal":"small",isSlider:z,handleAddToCalendar:C!=="checkout_registration"&&!Y&&Zs,eventTicketData:ee,embed:H,key:s==null?void 0:s.sessionId,playbackData:o==null?void 0:o.playbackData,tabChange:Fe,togglePopup:o.togglePopup,
2checkoutProps:o==null?void 0:o.checkoutProps,isLastSession:o==null?void 0:o.isLastSession})),[s,o==null?void 0:o.checkoutProps,o==null?void 0:o.isLastSession]),Ht=r=>{if(C==="checkout_registration")return null;const{postSessionSurveyData:h,setLiveSessionData:w}=o||{},L=h==null?void 0:h.find(re=>re.sessionId===r.sessionId&&!re.surveyCompleted),A=h==null?void 0:h.find(re=>re.sessionId===r.sessionId),Q={...r,surveyId:A==null?void 0:A.surveyId,surveyEnabled:!0};return L?t.createElement(q,{className:"session-complete-survey m-l-12",onClick:re=>{re.stopPropagation(),w(Q,"completeSurvey")}},"Complete Survey"):null},Kt=r=>N(r)?r.substring(0,50):"",Yt=(r,h=!1)=>{const{breakoutSessionColor:w,mainStageSessionColor:L,meetUpSessionColor:A,workshopSessionColor:Q,othersSessionColor:re,breakSessionColor:be,expoSessionColor:Pe,mainStageTextColor:ke,breakOutSessionTextColor:_e,meetupSessionTextColor:Be,workshopSessionTextColor:Ke,expoSessionTextColor:nt,breakSessionTextColor:it,otherSessionTextColor:kt}=o.buttonTextColorConfiguration||{};switch(r){case"BREAKOUT_SESSION":return h?_e:w;case"MAIN_STAGE":return h?ke:L;case"MEET_UP":return h?Be:A;case"WORKSHOP":return h?Ke:Q;case"EXPO":return h?nt:Pe;case"BREAK":return h?it:be;default:return h?kt:re}},pe=r=>r?r.filter(h=>h.showModerator):[],Oe=r=>r?"cursor":"",eo=(r=[],h)=>h!=null&&h.locationId?r.filter(w=>w.entityType==="LOCATION"&&w.entityId===h.locationId):[],Gt=(r,h,w)=>{const{eventFormat:L}=W||{};if(r.stopPropagation(),h&&L!=="VIRTUAL"){Z(w),le(!0);return}Ne!=null&&Ne.trim()&&window.open(Ne,"_blank","noopener,noreferrer")},to=(r,h,w)=>{r.key==="Enter"&&Gt(r,h,w)},Mt=M.useRef(!1),so=r=>{r==null||r.preventDefault(),r==null||r.stopPropagation();const{history:h}=o||{},w=s==null?void 0:s.parentSessionId,L=(W==null?void 0:W.eventURL)||(W==null?void 0:W.eventUrl);if(!w||!L||Mt.current)return;const A=Q=>{const re=Ct(Q)||"schedule";h.push(`/e/${L}/portal/${re}/${w}`)};Mt.current=!0,Promise.resolve(o.getSessionById(L,w,"")).then(Q=>A(Q!=null&&Q.errorMessage?"":Q==null?void 0:Q.format)).catch(()=>A("")).finally(()=>{Mt.current=!1})},oo=()=>!o.isSessionsTab||!(s!=null&&s.parentSessionId)||!(s!=null&&s.parentSessionTitle)?null:t.createElement("div",{className:"session-parent-of"},t.createElement(X,{svgIcon:"parent-session-indicator",className:"session-parent-of__glyph","aria-hidden":"true"}),t.createElement("span",{className:"session-parent-of__label"},p("agendaDetails:Sub-session of")),t.createElement(te,{tooltip:"View Session",overlayProps:{placement:"top"},tooltipProps:{id:`parentSessionTooltip${s.parentSessionId}`},className:"session-parent-of__tip"},t.createElement("button",{type:"button",className:"session-parent-of__link",id:`parentSessionLink${s.parentSessionId}`,onClick:so},t.createElement("span",{className:"session-parent-of__name"},s.parentSessionTitle),t.createElement(X,{type:"fa fa-angle-right",className:"session-parent-of__chevron"}))));M.useEffect(()=>{const{eventURL:r,eventFormat:h,eventId:w}=W||{};r&&h!=="VIRTUAL"&&(!Qe&&o.getEventVenueMapPins(r),!pt.length&&o.doGetLocationData(r),!Nt.length&&w&&o.doGetExhibitorDataList(w))},[]);const ao=(r,h)=>{var kt,Es;const w=ue(r,ie,ne).format("h:mm A"),L=ue(h,ie,ne).format("h:mm A"),A=ft&&r?ue(r,ie,ne).format("dddd, MMM D"):"",Q=`${w} - ${L}`,re=A?`${A} · ${Q}`:Q,{eventDesignDetails:be}=W||{},ke=((be==null?void 0:be.configureTabsAsJson)||[]).find(Te=>(Te==null?void 0:Te.key)==="Venue Map"||(Te==null?void 0:Te.value)==="Venue Map"),_e=eo(Qe,s),Be=(_e==null?void 0:_e.length)>0&&!(ke!=null&&ke.hide),Ke=!!(Ne!=null&&Ne.trim()),{eventFormat:nt}=W||{},it=nt===Ra||nt===Le?nt:s==null?void 0:s.sessionTypeFormat;return t.createElement(t.Fragment,null,t.createElement(O,{variant:Y?"subtitle2":"custom-captions",labelClass:`m-b-0 ${Oe(!(Y||V||K))}`,color:(kt=B[l.theme])==null?void 0:kt.neutral700,header:t.createElement("div",{className:"d-flex align-items-center session_time row-gap-15 column-gap-10px flex-wrap-wrap"},t.createElement("span",{className:"d-flex session_duration align-items-center white-space-nowrap"},t.createElement(X,{type:K?"virtual-icon-schedule":"virtual-icon-time",color:(Es=B[l.theme])==null?void 0:Es.neutral400}),t.createElement("span",null,re)),fe&&it!==Le&&t.createElement("div",{className:"d-flex flex-md-row gap-4"},t.createElement(te,{tooltip:fe&&fe.includes("<")?t.createElement("div",{dangerouslySetInnerHTML:{__html:fe}}):fe,tooltipProps:{id:`session-title-${fe?fe.replace(/\s+/g,"-"):"loc"}`,html:!0},className:"view-location"},t.createElement("div",{className:`session_view_location ${Be||Ke?"has-link":""}`,onClick:Te=>
2{(Be||Ke)&&Gt(Te,Be,_e)},onKeyDown:Te=>{(Be||Ke)&&Te.key==="Enter"&&to(Te,Be,_e)},role:Be||Ke?"button":void 0},t.createElement(X,{className:"marker-pin-icon m-r-4 display-flex",svgIcon:"marker-pin"}),fe?typeof fe=="string"&&fe.includes("<")?t.createElement("span",{className:"overflow-ellipsis-400w",dangerouslySetInnerHTML:{__html:fe}}):t.createElement("span",{className:"overflow-ellipsis-400w"},fe):null))),(it===Le||it===Ma)&&t.createElement("span",{className:"d-flex align-items-center white-space-nowrap session-mode-virtual"},t.createElement(X,{className:"m-r-4 display-flex",svgIcon:"virtual-monitor"}),t.createElement("span",null,p("Virtual"))))}),oo())},no=r=>{let h="bottom";const w=document.getElementById(r);w&&(w&&w.getBoundingClientRect().top)>250&&(h="top"),a(h)};M.useEffect(()=>()=>{},[]);const Jt=r=>{var h;return N(r)>=12?(h=r.substring(0,12))==null?void 0:h.concat("..."):r||""},ze=r=>{var h;return r!=null&&r.parentIdNameDTo?`${(h=r==null?void 0:r.parentIdNameDTo)==null?void 0:h.name}: ${r==null?void 0:r.name}`:r==null?void 0:r.name},Zt=()=>N(pe(s.speakerList))===0&&N(st)===0&&N(et)===0,io=(r,h)=>{var L,A,Q,re,be,Pe,ke;const w={background:(h==null?void 0:h.backgroundColor)||((L=h==null?void 0:h.color)==null?void 0:L.concat("14"))||((A=B[l.theme])==null?void 0:A.neutral50),color:h.color||((Q=B[l.theme])==null?void 0:Q.primary1000)};return(Xe||z)&&!H?t.createElement(ct,{className:"normal m-0",variant:"success",size:"normal",style:w,"aria-label":`${ze(h)} track`,id:`${h==null?void 0:h.name}_${r==null?void 0:r.sessionId}track`},h.description?t.createElement(te,{tooltip:h.description,tooltipProps:{id:"tracks-name"},overlayProps:{placement:"top"}},t.createElement(O,{variant:"footer1",labelClass:`badge_font m-b-0 ${Oe(!(Y||V||K))}`,header:Jt(ze(h)),color:h.color||((re=B[l.theme])==null?void 0:re.primary1000)})):t.createElement(te,{tooltip:ze(h),tooltipProps:{id:"tracks-name"},overlayProps:{placement:"top"}},t.createElement(O,{variant:"footer1",labelClass:`badge_font m-b-0 ${Oe(!(Y||V||K))}`,header:Jt(ze(h)),color:h.color||((be=B[l.theme])==null?void 0:be.primary1000)}))):t.createElement(ct,{className:"normal m-0",variant:"success",size:"normal",style:w,"aria-label":`${ze(h)} track`,id:`${h==null?void 0:h.name}_${r==null?void 0:r.sessionId}track`},h.description?t.createElement(te,{tooltip:h.description,tooltipProps:{id:"tracks-name"},overlayProps:{placement:"top"}},t.createElement(O,{variant:"footer1",labelClass:`badge_font m-b-0 ${Oe(!(Y||V||K))}`,header:Kt(ze(h)),color:h.color||((Pe=B[l.theme])==null?void 0:Pe.primary1000)})):t.createElement(O,{variant:"footer1",labelClass:`badge_font m-b-0 ${Oe(!(Y||V||K))}`,header:Kt(ze(h)),color:h.color||((ke=B[l.theme])==null?void 0:ke.primary1000)}))},Qt=()=>{var r;return(s.description||s.shortDescriptionOfSession)&&((V||o.isLiveSessionTab)&&s.description?t.createElement("div",{className:`${o.isLiveSessionTab&&"desc_padding_bottom"} fr-view`},t.createElement("span",{onClick:h=>h.stopPropagation(),dangerouslySetInnerHTML:{__html:s.description}})):t.createElement(t.Fragment,null,t.createElement("div",{className:`${d||V?"p-b-0":""} ${s.shortDescriptionOfSession?"desc_padding_bottom":""} ${!d&&!V&&z&&!Bt?"slider_read_more_desc":""} ${Y||Zt()?"m-b-0":""} ${i?"shortDescMoreheight":""} ${!N(s.speakerList)>0?"p-b-0":""}`},t.createElement("div",{ref:P,className:"label-ellipsis "},C==="networking"||C==="workshop"||C==="sessions"||C==="portal"||C==="display"||C==="Widget"||C==="speaker"||C==="stage"||Me==="live session"?t.createElement("span",null,s.shortDescriptionOfSession):t.createElement("span",{onClick:h=>h.stopPropagation(),dangerouslySetInnerHTML:{__html:s.description}}))),(i||d)&&t.createElement(O,{header:d?"Read less":"Read more",className:`read_more display-inline-block ${d?"read_less":""} `,labelClass:` cursor ${N(s.speakerList)?"m-b-16":"m-b-0"}`,color:(r=B[l.theme])==null?void 0:r.neutral1000,variant:"custom-captions",onClick:h=>{h==null||h.stopPropagation(),n(!d),c(!i)}})))},ro=r=>{const{eventUrl:h,eventURL:w}=W||{};if((h||w)&&(s!=null&&s.sessionId)&&(s!=null&&s.title)){const L={action:ws.ACTION.AGENDA,subAction:ws.SUB_ACTION.VIEWED_SPEAKER_DETAILS,sessionId:s==null?void 0:s.sessionId,sessionName:s==null?void 0:s.title,speakerName:`${r==null?void 0:r.firstName} ${r==null?void 0:r.lastName}`};o.doTrackAttendeeBehavior(h||w,L)}},Xt=pe(s.speakerList);M.useEffect(()=>{Pt(N(Xt))},[Xt]);const Et=v&&I,lo=M.useMemo(()=>()=>N(pe(s.speakerList))&&t.createElement(t.Fragment,null,t.createElement("div",{className:"ae-image small imageType_avatar more_speaker"},t.createElement("div",{className:"latterProfilePic light"},t.createElement("span",{className:"d-flex justify-content-center align-items-center"},t.createElement(O,{header:`${N(pe(s.speakerList))}`,variant:"custom-captions",labelClass:"m-b-0"}
2)))),t.createElement(O,{header:"Speakers",variant:"custom-captions",labelClass:"more-speakers-label m-b-0"})),[m,Et,s==null?void 0:s.speakerList,v,I]),es=M.useCallback(r=>t.createElement(t.Fragment,null,s&&!Et&&pe(s.speakerList).filter((h,w)=>w<V?N(pe(s.speakerList)):m).map((h,w)=>t.createElement(an,{speakerListWithoutHiddenSpeakers:N(pe(s.speakerList)),numOfSession:me,key:Va(h),embed:H,speaker:h,selectedSpeakerSize:V?"":m,speakerIndex:w,isFrom:C,SessionList:ye,isAllShow:V,speakerList:pe(s.speakerList),toggleSpeakerPopup:L=>{o.toggleSpeakerPopup(L),ro(L)},...r,sessionId:s.sessionId,eventData:W})),Et&&lo()),[m,Et,ye,s==null?void 0:s.speakerList,me,z,v,I]),co=M.useCallback(()=>!Y&&s&&C!=="networking"&&N(s.speakerList)>0&&bs(s)?t.createElement("div",{ref:x,role:"region","aria-label":"Carousel",className:Se({"session-speaker-item":z||$e,"item-slider-speaker only_three_speaker":!(z||$e)&&N(pe(s.speakerList))===3,"item-slider-speaker":!(z||$e)&&N(pe(s.speakerList))!==3,"row d-block":me===1&&N(pe(s.speakerList))<=8,speaker_wrap:V})},!z&&!$e?es():t.createElement("div",{ref:U,className:Se("item-slider-speaker","speaker_wrap",{two_session_speaker:me===2||N(pe(s.speakerList))===2,speaker_wrap:V,"d-block":me===1&&N(pe(s.speakerList))<=8||me===2&&N(pe(s.speakerList))<=2})},es({isSlider:z,numOfSession:me}))):null,[m,s,ye,me,$e,z,v,I]);if(Ce)return Qt();const mo=Rt.toLowerCase()==="#ffffff"&&(C==="display"||C==="Widget")?B[l.theme].neutral1000:Rt,ts=C==="speakerHub"?(r=>{const{sessionTasks:h}=o,w=h==null?void 0:h.filter(L=>(L==null?void 0:L.sessionId)===(r==null?void 0:r.sessionId)&&(L==null?void 0:L.workflowStatus)==="PENDING");return w==null?void 0:w.length})(s):0,ss=((is=o==null?void 0:o.checkoutProps)==null?void 0:is.attendees)||[],$t=(rs=o==null?void 0:o.checkoutProps)==null?void 0:rs.eligibilityMap,at=ss.length===1?ss[0]:null,uo=(ls=at==null?void 0:at.ticketTypeIds)==null?void 0:ls.some(r=>{var h,w,L;return(L=(w=(h=$t==null?void 0:$t.ticketTypeEligibility)==null?void 0:h[r])==null?void 0:w.includes)==null?void 0:L.call(w,(s==null?void 0:s.sessionId)||(s==null?void 0:s.id))}),ho=C==="checkout_registration"&&!!at&&!uo;return t.createElement(t.Fragment,null,t.createElement("div",null,ho&&t.createElement("div",{className:"checkout-session-ineligible-banner"},t.createElement("span",{className:"ineligible-banner-icon info-banner-icon"},ut("alert-triangle-background")),t.createElement(O,{variant:"footer2",color:(cs=B[l.theme])==null?void 0:cs.warningBold,header:p("common:This session is not available for {{ticketType}} ticket.",{ticketType:at.ticketTypeNames}),labelClass:"m-b-0 lh-19 ineligible-banner-text"})),t.createElement("a",{className:Se("session-details-section-agenda","ae_widget_agenda_session_details",{slider_session_details:z,"session-details-section-agenda--subsessions-expanded":ot&&_,"cursor-default":Y||V||K,cursor:!(Y||V||K)}),style:{border:["display","Widget","checkout_registration","checkout_Widget"].includes(C)?`1px solid ${(ds=B[l.theme])==null?void 0:ds.neutral100}`:"1px solid transparent"},id:`session_title${s.sessionId}`,onMouseEnter:()=>no(`session_title${s.sessionId}`),onClick:r=>Vt(s,r),onKeyPress:r=>r.key==="Enter"&&Vt(s,r),tabIndex:Y?"-1":"0",role:"link"},t.createElement("div",{className:Se("session-details-container",C==="checkout_registration"&&"checkout-registration-session-details-container")},t.createElement("div",null,s&&t.createElement("div",null,t.createElement(De,{className:Se("session-details-container",C==="checkout_registration"&&"checkout-registration-session-details-container")},ts>0?t.createElement("div",{className:"pending-tasks-info"},t.createElement("div",{className:"status-message-container"},t.createElement("div",{className:"d-flex align-items-center"},t.createElement(X,{className:"m-r-5 status-pending-icon",svgIcon:"lounges-pending-info"}),t.createElement(O,{header:`${ts} tasks are pending`,variant:"custom-captions",labelClass:"banner-title line-height-22 m-b-0"})),t.createElement(Pa,{onClick:o.navigateToMyTaskTab},"View Tasks"))):null,t.createElement("div",{className:`session-info-section ${K?"my_talk_session_info":""}`},t.createElement("div",null,t.createElement("a",{className:"color-1 outline_offset_2",id:"sessionInfoSection",tabIndex:"0",role:"link"},t.createElement("h2",{className:"ae-heading4 session_title m-0 label-ellipsis line-3 w-fit-content",id:"sessionTitle"},t.createElement(te,{tooltip:s.title,tooltipProps:{id:`sessionTitle${s.title}`},overlayProps:{placement:e}},t.createElement("div",{className:"w-fit-content",style:{color:mo}},s.title)))),ao(s.startTime,s.endTime)),t.createElement(De,{className:`${z?"d-none":""} session-regi-unregi-btn`},C!=="exhibitor-portal"?qt():null,C==="exhibitor-portal"&&!D&&o.onEditSession?t.createElement(te,{tooltip:j,overlayProps:{placement:"left"}},t.createElement(q,{variant:"secondary",svgIcon:"new-edit-icon",isPrevIcon:!0,label:"Edit Session",onClick:r=>{r==null||r.stopPropagation(),o.onEditSession(s)},className:"edit-session-btn-exhibitor m-l-8 b-rad-8",size:"small",disabled:!((ms=o.eventLevelSettings)!=null&&ms.allowToEditSessions)})):null,["exhibitor-portal","display","Widget"].includes(C)?null:Ht(s))),t.createElement("div",{className:"session-label"}
2,t.createElement("ul",{className:"session-durtion-details",tabIndex:"0",id:"sessionDuration"},t.createElement("li",{tabIndex:"0",className:"session_type"},t.createElement(ct,{variant:"success",className:"m-0",size:"normal",style:{backgroundColor:Yt(s.format,!1)}},t.createElement(O,{variant:"footer1",labelClass:`badge_font m-b-0 ${Oe(!(Y||V||K))}`,color:Yt(s.format,!0),header:t.createElement(Da,{virtualEventTabs:we,format:St,languageCodeLabel:ge})}))),t.createElement("li",{tabIndex:"0",className:"session_type"},t.createElement(ct,{size:"normal",className:"m-0",variant:"secondary",type:"style2"},t.createElement(O,{variant:"footer1",labelClass:`badge_font m-b-0 ${Oe(!(Y||V||K))}`,header:K?`${(us=s==null?void 0:s.sessionStats)==null?void 0:us.registeredUserCount} ${p("Registered")}`:qs(s.startTime,s.endTime),color:(hs=B[l.theme])==null?void 0:hs.neutral700}))),t.createElement(t.Fragment,null,N(s.tracks)>0&&he(s,"tracks").filter((r,h)=>h<((z||Xe)&&!H?1:N(s.tracks))).map(r=>t.createElement("li",{tabIndex:"0",className:`session_type ${z?"m-r-5":""}`},io(s,r))),N(s.tracks)>1&&(z||Xe)&&!H&&t.createElement("li",{tabIndex:"0",className:"session_type m-r-0"},t.createElement(ct,{className:"normal m-0",variant:"success",size:"normal",style:{background:(gs=B[l.theme])==null?void 0:gs.neutral20,color:(ps=B[l.theme])==null?void 0:ps.neutral700},"aria-label":`more ${N(s.tracks)-1} tracks`},t.createElement(O,{variant:"footer1",labelClass:"badge_font m-b-0",header:`+${N(s.tracks)-1} track${N(s.tracks)-1>=2?"s":""}`,color:(fs=B[l.theme])==null?void 0:fs.neutral700})))))))),!Y&&(N(s.speakerList)>0||s!=null&&s.description)&&K&&N(pe(s.speakerList))===0?null:N(pe(s.speakerList))>0&&bs(s)||s!=null&&s.shortDescriptionOfSession||s!=null&&s.description&&(o.isLiveSessionTab||o.isSessionsTab)?t.createElement("hr",{className:`session_desc_hr
3              ${!(s!=null&&s.shortDescriptionOfSession)&&V||!s.description&&V?"p-b-0":""}`}):"",!K&&Qt(),co()),t.createElement("div",null,!Y&&!K&&(C==="networking"||(s==null?void 0:s.format)==="EXPO"||(s==null?void 0:s.format)==="BREAK"||(s==null?void 0:s.format)==="OTHER")?t.createElement(t.Fragment,null,t.createElement(Za,{settings:Ot,sessionId:s==null?void 0:s.sessionId,isMobile:$e,sponsorData:et}),t.createElement(Ka,{settings:Ot,sessionId:s==null?void 0:s.sessionId,isMobile:$e,exhibitorData:st})):null,!V&&t.createElement("div",{className:`${z?"":"d-none"} ${Zt()?"session_no_speaker_expo_sponsor":""} session-regi-unregi-btn-small ${K?"unset_my_talks_button_height":""}`},C!=="exhibitor-portal"&&qt(),C==="exhibitor-portal"&&o.onEditSession&&t.createElement(te,{tooltip:j,overlayProps:{placement:"left"}},t.createElement(q,{variant:"secondary",svgIcon:"new-edit-icon",isPrevIcon:!0,label:"Edit Session",onClick:r=>{r==null||r.stopPropagation(),o.onEditSession(s)},className:"edit-session-btn-exhibitor b-rad-8",size:"small",disabled:!((Ss=o.eventLevelSettings)!=null&&Ss.allowToEditSessions)})),C!=="exhibitor-portal"&&C!=="display"&&C!=="Widget"&&Ht(s)))),ot&&t.createElement(qa,{session:s,isFrom:C,onExpandedChange:J,renderChild:r=>t.createElement(zs,{...o,key:r.sessionId||r.id,session:r,isSubSession:!0})}))),k&&t.createElement(tn,{data:S,eventDates:b,meetslider:k,closeMeetSlider:Xs}),G&&t.createElement(La,{isOpen:G,onClose:()=>{le(!1),Z(null)},highlightedPinData:se,eventData:W,pinnedLocations:Qe}))}const Cn={doTrackAttendeeBehavior:va,getEventVenueMapPins:ka,doGetLocationData:Ea,doGetExhibitorDataList:Sa,getSessionById:fa},In=o=>({eventData:Je(o)||he(o,"host.eventDetails"),eventTicketData:Ia(o)||he(o,"event.ticket_data"),languageCodeLabel:Bs(o),sessionTasks:he(o==null?void 0:o.virtualEvent,"sessionTasks"),postSessionSurveyData:Ca(o),pinnedLocations:Ta(o),eventLevelSettings:Us(o),userRoleDetails:xs(o),venueLocationList:ya(o),venueBoothList:wa(o)}),Nn=(o,l)=>Ae(o,l),zs=Ue(In,Cn)(t.memo(ba(_a(Tn)),Nn)),Pn=o=>{const l=new Dt.ResizeObserver(()=>{o.update()});o.on("created",()=>{l.observe(o.container)}),o.on("destroyed",()=>{l.unobserve(o.container)})},Rn=o=>{const{session:l,getSession:e,isFrom:a}=o||{},[i,c]=M.useState(!1),d=`session_slider_${l[0].sessionId}`,n=a==="checkout_registration",m=a==="checkout_Widget",g=m?1:N(l)===2||n?2:3,[E,f]=Wa.useKeenSlider({loop:!0,mode:"free-snap",breakpoints:{"(max-width: 1701px)":{slides:{perView:m?1:2},showButton:m?N(l)>1:N(l)>
32,drag:m?N(l)>1:N(l)>2},"(max-width: 1361px)":{slides:{perView:a!=="display"||m?1:2},showButton:a!=="display"||m?N(l)>1:N(l)>2,drag:a!=="display"||m?N(l)>1:N(l)>2},"(max-width: 1023px)":{slides:{perView:1},showButton:N(l)>1,drag:N(l)>1}},slides:{perView:g,showButton:g,drag:g},showButton:m?N(l)>1:n?N(l)>2:N(l)>3,drag:m?N(l)>1:n?N(l)>2:N(l)>3,created(){c(!0)}},[k=>{Pn(k)}]);M.useEffect(()=>{var k;N(l)>0&&((k=f==null?void 0:f.current)==null||k.update())},[l]);const S=M.useCallback(()=>{var k,T;return i&&((T=(k=f==null?void 0:f.current)==null?void 0:k.options)==null?void 0:T.showButton)&&t.createElement("div",{className:"controls justify-content-between",role:"region","aria-label":"Carousel controls","aria-live":"polite"},t.createElement("div",{className:"prev hover_focus_effect_2",onClick:()=>{var b;(b=f.current)==null||b.prev()},onKeyDown:b=>{var u;b.key==="Enter"&&((u=f.current)==null||u.prev())},tabIndex:"0",role:"button","aria-label":"Click to slide Prev"},t.createElement(X,{type:"fa fa-angle-left",size:"medium"})),t.createElement("div",{className:"next hover_focus_effect_2",onClick:()=>{var b;(b=f.current)==null||b.next()},onKeyDown:b=>{var u;b.key==="Enter"&&((u=f.current)==null||u.next())},tabIndex:"0",role:"button","aria-label":"Click to slide Next"},t.createElement(X,{type:"fa fa-angle-right",size:"medium"})))},[f.current,i]),y=M.useCallback(()=>t.createElement("div",{ref:E,className:"keen-slider"},go(l,k=>t.createElement("div",{className:"keen-slider__slide lazy__slide"},e(k,!0,N(l),d)))),[l,f==null?void 0:f.current]);return t.createElement("div",{className:"d-block session_slider_block",id:d},S(),y())},Mn=(o,l,e)=>`(${$a(o,l,e)})`,$n=({day:o,date:l,time:e,isNow:a,sessionTimeTextColor:i,badgeBgColor:c,isFromHost:d,isShowSessionByTimezone:n=!1,equivalentTimezone:m,isFromCheckout:g=!1})=>{var S,y,k,T;const{t:E}=je(["common"]),f=M.useContext(ve);return a?t.createElement("div",{className:"session-date-section now_session_date_section",style:{"--timeBadge_bg_color":c}},t.createElement("div",{className:"session_date_time_widget ae_widget_agenda_session_date_time"},t.createElement(O,{header:E("common:Live"),variant:"subtitle2",color:(T=B[f.theme])==null?void 0:T.primary1000,labelClass:"m-b-0",className:"justify-content-center"}),t.createElement("hr",{className:"horizontal-line"}),t.createElement(O,{header:e,variant:"subtitle2",labelClass:"m-b-0",color:i,className:"justify-content-center"}))):t.createElement("div",{className:"session-date-section",style:{"--timeBadge_bg_color":`${c}`}},t.createElement("div",{tabIndex:"0",className:"session_date_time_widget  ae_widget_agenda_session_date_time",role:"contentinfo"},t.createElement("div",{className:"session-date-box"},t.createElement(O,{className:"justify-content-center",labelClass:"mar_b_2",variant:"captions",color:(S=B[f.theme])==null?void 0:S.neutral700,header:o}),t.createElement(O,{className:"justify-content-center",labelClass:"m-b-0",variant:"subtitle2",color:(y=B[f.theme])==null?void 0:y.neutral1000,header:l})),t.createElement("hr",{className:Se("horizontal-line",{"m-l-r-auto":g})}),t.createElement("div",{className:"session-date-box"},t.createElement(O,{className:"justify-content-center",labelClass:`m-b-0 ${d&&"host-speaker-agenda"}`,variant:"subtitle2",color:i,header:e}),t.createElement(O,{className:"justify-content-center",variant:"footer1",labelClass:"m-b-0 session_time_zone",color:(k=B[f.theme])==null?void 0:k.neutral400,header:Mn(n,m,d)}))))};function _n(o){var Z;const l=M.useContext(ve),{t:e}=je(["agendaDetails","calenderDetails","common"]),{getRegisteredSessionByEvent:a,isFrom:i,showAlertMessage:c,openSessionDetail:d,eventData:n,index:m,session:g,isSession:E,noActionController:f,virtualEventData:S,isMytalk:y,handleMyTalksButton:k,isSpeakerModal:T,isLiveSession:b,embed:u,tabChange:p}=o,{buttonTextColorConfiguration:P,virtualEventTabs:$}=S||{},{sessionTimeTextColor:U}=P||{},x=n&&n.equivalentTimezone||"US/Eastern",{eventFormat:v}=n||{},R=v!==Le&&(n==null?void 0:n.showSessionByTimezone),I=_=>{let J="";if(_&&_.endTime){const j=ue(_.startTime,x,R),D=ue(_.endTime,x,R),s=yt();s>=j&&s<=D?J="Now":(s>D,J=j.format("h:mm A"))}return J},F=M.useMemo(()=>(_={},J=!1,j=1,D="")=>t.createElement(zs,{session:_,SessionList:g,sessionBlockId:D,getRegisteredSessionByEvent:a,isFrom:i,toggleSpeakerPopup:o.toggleSpeakerPopup,openSessionDetail:d,showAlertMessage:c,isSlider:J,numOfSession:j,noActionController:f,isMytalk:y,handleMyTalksButton:k,isSpeakerModal:T,isLiveSession:b,buttonTextColorConfiguration:P,virtualEventTabs:$,embed:u,isLive:"live session",isLiveSessionTab:o.isLiveSessionTab,isSessionsTab:o.isSe
3ssionDetailsTab,playbackData:o==null?void 0:o.playbackData,navigateToMyTaskTab:()=>{o.navigateToMyTaskTab()},tabChange:p,togglePopup:o.togglePopup,onEditSession:o.onEditSession,checkoutProps:o==null?void 0:o.checkoutProps,isLastSession:o==null?void 0:o.isLastSession}),[g,(Z=o==null?void 0:o.checkoutProps)==null?void 0:Z.selections]),G=_=>{var j,D,s,oe,C,H,ae;const J=!(o!=null&&o.simultaneousSessionScroll)||E==="singleSession"?I(_):I(_[0]);return _&&t.createElement($n,{day:!(o!=null&&o.simultaneousSessionScroll)||E==="singleSession"?(_==null?void 0:_.startTime)&&ue(_==null?void 0:_.startTime,x,R).format("dddd"):((j=_[0])==null?void 0:j.startTime)&&ue((D=_[0])==null?void 0:D.startTime,x,R).format("dddd"),date:!(o!=null&&o.simultaneousSessionScroll)||E==="singleSession"?(_==null?void 0:_.startTime)&&ue(_==null?void 0:_.startTime,x,R).format("MMM D"):((s=_[0])==null?void 0:s.startTime)&&ue((oe=_[0])==null?void 0:oe.startTime,x,R).format("MMM D"),time:I(_[0])==="Now"?e(`common:${J}`):J,isNow:(!o.simultaneousSessionScroll||E==="singleSession"?I(_):I(_[0]))==="Now",sessionTimeTextColor:U||((C=B[l.theme])==null?void 0:C.primary1000),badgeBgColor:T||b||["display","Widget","checkout_registration","checkout_Widget"].includes(i)?(H=B[l.theme])==null?void 0:H.neutral20:(ae=B[l.theme])==null?void 0:ae.white,isShowSessionByTimezone:R,equivalentTimezone:x,isFromCheckout:i==="checkout_registration"})},le=M.useMemo(()=>()=>t.createElement(Rn,{session:g,isFrom:i,rowId:m,getSession:F,embed:u}),[g,m,F]),se=M.useMemo(()=>_=>t.createElement("div",{className:`${_}`},t.createElement("ul",{className:"timeline"},t.createElement("li",{className:"timeline-item",tabIndex:T?"0":"-1"},g&&G(g),F(g)))),[g,F]);return E==="singleSession"?se():o.simultaneousSessionScroll?N(g)>1?t.createElement("ul",{className:Se("timeline",i==="checkout_registration"&&"checkout-registration-timeline")},t.createElement("li",{className:"timeline-item session-item-in-slider"},g&&G(g),le())):t.createElement("ul",{className:Se("timeline",i==="checkout_registration"&&"checkout-registration-timeline")},t.createElement("li",{className:"timeline-item"},g&&G(g),N(g)===1&&F(g[0]))):se("stage-workshop-networking-session-height")}const Ln=o=>({virtualEventData:As(o)||At(o)}),ei=Ue(Ln,null)(t.memo(_n));export{Lt as A,zs as C,ei as N,wn as R,qa as S,$n as T,tn as a,Za as b,Ka as c,Gn as d,Jn as e,Xn as f,Ge as i,Qn as r,Zn as s,Va as u,fn as v};

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.