!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="16284a77-151b-47a0-994f-a0d582e2153f",e._sentryDebugIdIdentifier="sentry-dbid-16284a77-151b-47a0-994f-a0d582e2153f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{53200:function(e,t,o){"use strict";o.d(t,{J:function(){return a}});var r=o(75271),n=o(8547);let a=e=>{let[t,o]=(0,r.useState)(!!(null==e?void 0:e.bookmarked));(0,r.useEffect)(()=>{o(!!(null==e?void 0:e.bookmarked))},[null==e?void 0:e.bookmarked]);let[a]=(0,n.VUe)(),[l]=(0,n.jIu)(),i=(0,r.useCallback)(async()=>{if(!e)return;let r=t?l:a;o(!t);try{await r({variables:{bookmarkUserId:e.userId},update:o=>{try{o.modify({id:o.identify({__typename:"LVTenantUser",id:e.id}),fields:{bookmarked:()=>!t},broadcast:!1})}catch(e){console.error("failed to update user bookmark in cache",e.message)}}})}catch(e){console.error("failed to toggle user bookmark",e.message)}},[a,l,t,e]);return[t,i]}},70136:function(e,t,o){"use strict";o.d(t,{B:function(){return l}});var r=o(75271),n=o(57601),a=o(8547);let l=e=>{let{tenant:{id:t}}=(0,r.useContext)(n.o),{data:o}=(0,a.Kjk)({variables:{otherUserId:e,tenantId:t},skip:!e,fetchPolicy:"network-only"});return{existsBlockedRecord:null==o?void 0:o.existsBlockedAndBeingBlockedUserRecord}}},26871:function(e,t,o){"use strict";o.d(t,{o:function(){return w}});var r=o(13785),n=o(62594),a=o.n(n),l=o(75271),i=o(61326),c=o(1064),d=o(69669),s=o(35683),u=o(96674),g=o(61158),p=o(67448),h=o(27397),x=o(1852),f=o(57601),m=o(23965),b=o(41026),k=o(20040),Z=o(27357),y=o(63645),C=o(70136),S=o(14058),B=o(99281),M=o(40211),I=o(89702);let w=e=>{let{profile:{pictureUrl:t,displayName:o,headline:n,linkedInUrl:g,userId:h,label:w,isOnline:U=!1,positionSummary:O,sponsorBadgeClaims:E},tenantUser:X,meetup:W,inPopup:G=!1,onMessageButtonClicked:Q,onReportFinished:P,onBlockUserFinished:H,withMessageButton:Y=!0,buttonGroups:_,children:V}=e,[q,J]=(0,l.useState)(!1),{loginUser:K}=(0,b.lq)(),{tenant:{setting:$}}=(0,l.useContext)(f.o),{isMe:ee}=(0,S.Z)(X),{linkedInUrlSetting:et}=(0,m.S)(),{shouldOpenInSharedMessageTab:eo,openPrivateChat:er}=(0,x.i)(),{existsBlockedRecord:en}=(0,C.B)(h),{hasTenantFeature:ea}=(0,p.yN)(),el=!1,ei=ea(p.hQ.Messages);el=W?(0,u.iK)(W.eventType)?ei&&(null==$?void 0:$.allowDirectMessagingCommunity):null==$?void 0:$.allowDirectMessagingEvent:ei&&(null==$?void 0:$.allowDirectMessagingCommunity);let ec=Y&&!!h&&h!==(null==K?void 0:K.id)&&!en,ed=(0,l.useMemo)(()=>G||i.tq?"80":"144",[G]),es=(0,l.useMemo)(()=>G||i.tq?20:24,[G]);return(0,r.BX)(k.Z.FlexColumnBox,{gap:"gap6x",children:[(0,r.BX)(L,{children:[(0,r.tZ)(N,{width:{default:G?"100px":"200px"},children:(0,r.BX)(k.Z.FlexColumnBox,{alignItems:"center",gap:"gap2x",children:[(0,r.tZ)(c.s,{avatarSrc:t,avatarSize:ed,statusSignSize:es,isOnline:U,isBlocked:q}),w&&(0,r.tZ)(k.Z.Box,{children:w})]})}),(0,r.BX)(D,{justifyContent:"space-between",gap:"gap2x",flex:1,paddingBottom:w?"gap8x":void 0,children:[(0,r.BX)(A,{gap:"gap3x",width:"100%",children:[(0,r.BX)(R,{width:"100%",children:[(0,r.BX)(T,{gap:"gap2x",flex:1,children:[(0,r.BX)(k.Z.FlexRowBox,{alignItems:"center",gap:"gap2x",children:[(0,r.tZ)(j,{name:"large/LG-2-B",children:o}),!et.isHidden()&&g&&(0,r.tZ)(d.j,{linkedInUrl:g,iconOnly:!0,size:"24px"})]}),(0,r.tZ)(z,{name:"small/SM-1-L",children:n})]}),(0,r.tZ)(y.z,{minWidth:769,children:!ee&&X&&(0,r.tZ)(M.d,{tenantUser:X,onReportFinished:P,onLoad:J,onBlockUserFinished:e=>{J(e),H&&H()}})})]}),(0,r.tZ)(s.R,{tenantUser:X,triggerItemStyles:{size:40},max:7,containerStyles:{justifyContent:{default:"flex-start",xs:"center"}}}),ec&&el&&!q&&(0,r.tZ)(F,{appearance:"primary",size:"md",onClick:()=>{if(eo){er({userId:h});return}W?a().push({pathname:"/events/".concat(W.slug,"/chat"),query:{userId:h,displayName:o}}).catch(e=>Z.x7.notify(e)):a().push({pathname:"/home/messages",query:{userId:h}}).catch(e=>Z.x7.notify(e)),Q&&Q()},children:"Message"}),ee&&(0,r.tZ)(B.e,{width:"200px",buttonSize:"md",onClick:()=>{if(W){let{query:e}=a();e.editing="true",a().push({pathname:"/events/".concat(W.slug,"/profile"),query:e}).catch(e=>{Z.x7.notify(e)});return}a().push({pathname:"/home/profile",query:{editing:!0}}).catch(e=>{Z.x7.notify(e)})}})]}),(0,r.tZ)(y.z,{maxWidth:768,children:!ee&&X&&(0,r.tZ)(M.d,{tenantUser:X,onReportFinished:P,onLoad:J,onBlockUserFinished:e=>{J(e),H&&H()}})}),_]})]}),(0,r.tZ)(v,{}),V,(0,r.tZ)(I.J,{bio:O,size:"sm"})]})},L=(0,h.default)(k.Z.FlexBox,{target:"e11s5mae0",label:"BaseInfoContainer"})("flex-shrink:0;align-items:flex-start;justify-content:space-between;flex-direction:row;gap:",e=>e.theme.token.gap6x,";@media (max-width:576px){flex-direction:column;width:100%;align-items:center;}"),j=(0,h.default)(k.Z.StyledText,{target:"e11s5mae1",label:"StyledDisplayName"})("color:",e=>e.theme.token.colorInfo,";",g.J),z=(0,h.default)(k.Z.StyledText,{target:"e11s5mae2",label:"StyledHeadline"})("color:",e=>e.theme.token.colorInfoSecondary,";",g.J),v=(0,h.default)(k.Z.FlexBox,{target:"e11s5mae3",label:"Line"})("width:100%;height:1px;background:",e=>e.theme.token.colorBorder,";"),N=(0,h.default)(k.Z.FlexRowBox,{target:"e11s5mae4",label:"UserAvatarContainer"})("justify-content:flex-start;@media (max-width:576px){justify-content:center;}"),D=(0,h.default)(k.Z.FlexBox,{target:"e11s5mae5",label:"UserInfoContainer"})("width:100%;flex-direction:row;align-items:flex-start;margin:auto 0;@media (max-width:576px){flex-direction:column;align-items:center;}"),A=(0,h.default)(k.Z.FlexColumnBox,{target:"e11s5mae6",label:"UserInfoWrapper"})("align-items:flex-start;@media (max-width:576px){align-items:center;}"),R=(0,h.default)(k.Z.FlexRowBox,{target:"e11s5mae7",label:"UserBasicInfoContainer"})("justify-content:space-between;align-items:flex-start;@media (max-width:576px){justify-content:center;}"),T=(0,h.default)(k.Z.FlexColumnBox,{target:"e11s5mae8",label:"UserBasicInfo"})("align-items:flex-start;@media (max-width:576px){align-items:center;}"),F=(0,h.default)(k.Z.Button,{target:"e11s5mae9",label:"StyledMessageButton"})("width:200px;@media (max-width:576px){width:-webkit-fill-available;margin:0 ",e=>e.theme.token.gap8x,";}")},40211:function(e,t,o){"use strict";o.d(t,{d:function(){return U}});var r=o(13785),n=o(66292),a=o.n(n),l=o(75271),i=o(97814),c=o(79039),d=o(27397),s=o(20040),u=o(53200),g=o(67644),p=o(99165),h=o(81276),x=o(27357),f=o(57601),m=o(8547),b=o(38435);let k=e=>{let{tenantUser:t,blocked:o,onClose:n}=e,[a,i]=l.useState(!1),{tenant:c}=(0,l.useContext)(f.o),[d]=(0,l.useState)(o),[u]=(0,m._1d)(),[g]=(0,m.zTV)(),{meetup:p}=(0,b.rL)(),h=async()=>{i(!0);try{d?await g({variables:{blockedId:t.userId,tenantId:c.id},refetchQueries:[m.h3D]}):await u({variables:{blockedId:t.userId,tenantId:c.id,meetupId:null==p?void 0:p.id},refetchQueries:[m.h3D]})}catch(e){console.log("failed to block the user",e.name,e.message),x.x7.notify(e)}n(!0,!d),i(!1)};return(0,r.tZ)(Z,{children:(0,r.BX)(s.Z.FlexColumnBox,{width:"100%",alignItems:"center",justifyContent:"center",gap:"gap4x",children:[(0,r.BX)(s.Z.FlexColumnBox,{gap:"gap1x",style:{textAlign:"center"},children:[(0,r.BX)(s.Z.StyledText,{name:"large/LG-2-B",color:"colorInfo",wordBreak:"break-word",children:[d?"Unblock":"Block"," ",t.firstName,"?"]}),(0,r.tZ)(s.Z.StyledText,{name:"large/LG-1-L",color:"colorInfoSecondary",children:d?"You will be able to message each other again":"You won’t be able to message each other."})]}),(0,r.tZ)(s.Z.Box,{width:"100%",children:(0,r.BX)(s.Z.FlexRowBox,{justifyContent:"center",alignItems:"center",gap:"gap4x",children:[(0,r.tZ)(s.Z.Button,{appearance:"default",size:"lg",block:!0,onClick:()=>n(!1),children:"Cancel"}),(0,r.tZ)(s.Z.Button,{appearance:"primary",size:"lg",block:!0,onClick:async e=>{e.preventDefault(),e.stopPropagation(),a||await h()},children:"Yes"})]})})]})})},Z=(0,d.default)(s.Z.FlexColumnBox,{target:"e100ghsp0",label:"Container"})("background:",e=>e.theme.token.colorBgElevated,";padding:",e=>e.theme.token.gap6x," ",e=>e.theme.token.gap4x,";border-radius:8px;max-height:calc(100vh - 140px);",h.p);var y=o(45903);let C=e=>{let{firstName:t,blocking:o}=e;return(0,r.BX)(s.Z.FlexRowBox,{alignItems:"flex-start",justifyContent:"center",maxWidth:"250px",gap:"gap2x",children:[(0,r.tZ)(s.Z.Box,{position:"relative",top:"1px",children:(0,r.tZ)(s.Z.Icon,{src:(0,r.tZ)(s.Z.Icons.Symbol.CheckRoundFill,{}),color:"colorSuccess",size:22})}),(0,r.tZ)(s.Z.StyledText,{name:"small/SM-1-L",wordBreak:"break-word",children:"".concat(t," has been ").concat(o?"blocked":"unblocked",".")})]})},S=e=>{let{firstName:t,blocking:o}=e;return(0,y.m)((0,r.tZ)(C,{firstName:t,blocking:o}),{closeButton:!0,containerId:"notification",position:"top-right"})},B=e=>{let{onClose:t,onActionFinished:o,isShow:n,tenantUser:a,blocked:i}=e,[c,d]=(0,l.useState)(!1);return(0,l.useEffect)(()=>d(n),[n]),(0,r.tZ)(p.u_,{isShow:c,closable:!1,maskClosable:!1,destroyOnClose:!0,maskStyle:{zIndex:1e3},wrapStyle:{zIndex:1e3},children:(0,r.tZ)(M,{children:(0,r.tZ)(k,{onClose:(e,r)=>{e&&o&&(o(!!r),S({firstName:a.firstName,blocking:!!r})),t()},tenantUser:a,blocked:i})})})},M=(0,d.default)(s.Z.FlexColumnBox,{target:"e1l6yuy20",label:"InnerContainer"})("width:480px;max-width:100%;@media(max-width:576px){width:100%;}"),I=e=>{let{onActionFinished:t,onLoad:o,tenantUser:n,render:a,clickable:i=!0}=e,[c,d]=(0,g.Z)(!1),[s,u]=(0,g.Z)(!1),{tenant:p}=(0,l.useContext)(f.o);return((0,m.Beh)({variables:{blockedId:n.userId,tenantId:p.id},onCompleted:e=>{e?(o&&o(!!e.existsBlockedUserRecord),u(e.existsBlockedUserRecord)):console.log("Blocking data not fetched")},fetchPolicy:"cache-and-network"}),a)?i?(0,r.BX)(r.HY,{children:[(0,r.tZ)(w,{onClick:()=>d(!0),children:a(s)}),(0,r.tZ)(B,{tenantUser:n,blocked:s,isShow:c,onActionFinished:e=>{u(e=>!e),t&&t(e)},onClose:()=>d(!1)})]}):a(s):null},w=(0,d.default)(s.Z.FlexColumnBox,{target:"e1t6dww20",label:"ButtonWrapper"})("cursor:pointer;justify-content:center;"),L=()=>(0,r.BX)(j,{maxWidth:"250px",gap:"gap2x",children:[(0,r.tZ)(s.Z.Box,{position:"relative",top:"1px",children:(0,r.tZ)(s.Z.Icon,{src:(0,r.tZ)(s.Z.Icons.Symbol.CheckRoundFill,{}),color:"colorSuccess",size:22})}),(0,r.tZ)(s.Z.StyledText,{name:"small/SM-1-L",wordBreak:"break-word",children:"Thanks for letting us know. We'll take action as needed."})]}),j=(0,d.default)(s.Z.FlexRowBox,{target:"e1a4abic0",label:"StyledReportUserNotificationContainer"})("justify-content:center;align-items:flex-start;"),z=()=>(0,y.m)((0,r.tZ)(L,{}),{closeButton:!0,containerId:"notification",position:"top-right"}),v=e=>{let{meetupId:t,tenantUser:o,onClose:n}=e,a=(0,c.a)(),[i,d]=l.useState(""),[u,g]=l.useState(!1),[p,h]=l.useState(!0),[b,k]=l.useState(!1),{tenant:Z}=(0,l.useContext)(f.o),[y]=(0,m.HOo)(),C=async()=>{try{await y({variables:{reportedId:o.userId,reportContent:i,tenantId:Z.id,meetupId:t}})}catch(e){console.error("failed to report the user",e.name,e.message),x.x7.notify(e)}n(!0)};return(0,r.tZ)(N,{children:(0,r.BX)(s.Z.FlexColumnBox,{width:"100%",alignItems:"center",justifyContent:"center",paddingTop:"gap2x",children:[(0,r.BX)(s.Z.StyledText,{name:"large/LG-2-B",color:"colorInfo",wordBreak:"break-word",style:{marginBottom:a.token.gap3x},children:["Report"," ",o.firstName,"?"]}),(0,r.BX)(s.Z.FlexColumnBox,{gap:"gap4x",children:[(0,r.BX)(s.Z.StyledText,{name:"base/BASE-L",color:"colorInfoSecondary",children:["We take reports of harm and abuse seriously. Report this member for violation of our community’s"," ",(0,r.tZ)(A,{target:"_blank",rel:"noopener noreferrer",href:Z.codeOfConduct,children:"Code of Conduct"})," or the platform’s ",(0,r.tZ)(A,{target:"_blank",rel:"noopener noreferrer",href:x.tW,children:"Terms of Service"}),"."]}),(0,r.tZ)(s.Z.StyledText,{name:"base/BASE-L",color:"colorInfoSecondary",children:"Please share the reason for reporting this member:"})]}),(0,r.BX)(s.Z.FlexColumnBox,{width:"100%",gap:"gap2x",marginTop:"gap3x",children:[(0,r.tZ)(s.Z.FlexColumnBox,{children:(0,r.tZ)(D,{name:"bio",rows:6,value:i||void 0,placeholder:"Enter your reasons *",onChange:e=>{let{target:{value:t}}=e;k(!1),d(t),g(t.length>500),h(t.length<14||t.length>500)},notesWarning:u})}),(0,r.tZ)(s.Z.FlexColumnBox,{alignItems:"flex-end",width:"100%",children:(0,r.BX)(s.Z.StyledText,{name:"small/SM-2",color:u?"colorError":"colorInfoQuaternary",children:[(null==i?void 0:i.length)?i.length:0," ","/ 500 (Enter at least 15 characters)"]})})]}),(0,r.BX)(s.Z.FlexRowBox,{marginTop:"gap4x",alignItems:"center",justifyContent:"center",gap:"gap4x",children:[(0,r.tZ)(s.Z.Button,{appearance:"default",size:"lg",onClick:()=>n(!1),children:"Cancel"}),(0,r.tZ)(s.Z.Button,{appearance:"primary",size:"lg",onClick:async()=>{k(!0),p||await C()},disabled:p||b,children:"Submit"})]})]})})},N=(0,d.default)(s.Z.FlexColumnBox,{target:"e13ygp3v0",label:"Container"})("background:",e=>e.theme.token.colorBgElevated,";padding:",e=>e.theme.token.gap6x," ",e=>e.theme.token.gap4x,";border-radius:",e=>e.theme.token.borderRadiusXL,";max-height:calc(100vh - 140px);",h.p),D=(0,d.default)("textarea",{target:"e13ygp3v1",label:"StyledInput"})("width:100%;font-size:",e=>e.theme.token.fontSize,";box-sizing:border-box;padding:",e=>e.theme.token.gap3x,";color:",e=>e.theme.token.colorInfo,";background:",e=>e.theme.token.colorBgBox,";border-radius:",e=>e.theme.token.borderRadiusMD,";outline:none;border:",e=>e.notesWarning?"1px solid ".concat(e.theme.token.colorError):"none",";"),A=(0,d.default)("a",{target:"e13ygp3v2",label:"PolicyLink"})("color:",e=>e.theme.token.colorPrimary,";text-decoration:underline;"),R=e=>{let{onClose:t,onReportFinished:o,isShow:n,tenantUser:a,meetupId:i}=e,[c,d]=(0,l.useState)(!1);return(0,l.useEffect)(()=>d(n),[n]),(0,r.tZ)(p.u_,{isShow:c,closable:!1,maskClosable:!1,destroyOnClose:!0,maskStyle:{zIndex:1e3},wrapStyle:{zIndex:1e3},children:(0,r.tZ)(T,{children:(0,r.tZ)(v,{onClose:e=>{e&&(z(),o&&o()),t()},tenantUser:a,meetupId:i})})})},T=(0,d.default)(s.Z.FlexColumnBox,{target:"e1tvlwer0",label:"InnerContainer"})("width:640px;max-width:100%;@media(max-width:576px){width:100%;}"),F=e=>{let{onClose:t,isShow:o,tenantUser:n,meetupId:a,onReportFinished:l}=e;return(0,r.tZ)(R,{meetupId:a,tenantUser:n,isShow:o,onClose:t,onReportFinished:l})},U=e=>{let{tenantUser:t,onLoad:o,onBlockUserFinished:n,onReportFinished:d}=e,g=(0,c.a)(),[p,h]=(0,l.useState)(!1),[x,f]=(0,l.useState)(!1),[m,b]=(0,u.J)(t),k=(0,l.useRef)(null);(0,i.Z)(k,()=>{x&&f(!1)});let Z=a()((0,l.useCallback)(b,[b,m]),500,{leading:!0});return(0,r.BX)(X,{alignItems:"center",gap:"gap2x",children:[(0,r.BX)(O,{ref:k,id:"more-actions",children:[(0,r.tZ)(W,{onClick:()=>f(!x),children:(0,r.tZ)(s.Z.Icons.Action.More,{width:18,height:18,color:"colorInfoSecondary"})}),(0,r.BX)(E,{className:x?"active":"normal",children:[(0,r.tZ)(s.Z.FlexColumnBox,{justifyContent:"center",width:"100%",children:(0,r.tZ)(I,{onLoad:o,tenantUser:t,onActionFinished:n,render:e=>(0,r.tZ)(G,{children:(0,r.BX)(s.Z.FlexRowBox,{alignItems:"center",children:[(0,r.tZ)(s.Z.Box,{style:{padding:"12px"},children:e?(0,r.tZ)(s.Z.Icons.Action.Unblock,{width:16,height:16,color:g.token.colorInfoSecondary}):(0,r.tZ)(s.Z.Icons.Action.Block,{width:16,height:16,color:g.token.colorInfoSecondary})}),(0,r.tZ)(Q,{name:"small/SM-1",children:e?"Unblock":"Block"})]})})})}),(0,r.tZ)(s.Z.FlexColumnBox,{justifyContent:"center",children:(0,r.tZ)(G,{onClick:()=>h(!0),children:(0,r.BX)(s.Z.FlexRowBox,{alignItems:"center",children:[(0,r.tZ)(s.Z.Box,{style:{padding:"12px"},children:(0,r.tZ)(s.Z.Icons.Action.Report,{width:16,height:16,color:g.token.colorInfoSecondary})}),(0,r.tZ)(Q,{name:"small/SM-1",children:"Report"})]})})})]})]}),(0,r.tZ)(s.Z.FlexColumnBox,{justifyContent:"center",children:(0,r.tZ)(s.Z.Tooltip,{content:"Bookmark",children:(0,r.tZ)(W,{onClick:Z,children:m?(0,r.tZ)(s.Z.Icons.Action.BookmarkFill,{width:18,height:18,color:"colorInfoSecondary"}):(0,r.tZ)(s.Z.Icons.Action.BookmarkOutline,{width:18,height:18,color:"colorInfoSecondary"})})})}),(0,r.tZ)(F,{tenantUser:t,isShow:p,onClose:()=>h(!1),onReportFinished:d})]})},O=(0,d.default)(s.Z.FlexBox,{target:"e1qlvy3f0",label:"Container"})("position:relative;"),E=(0,d.default)(s.Z.FlexColumnBox,{target:"e1qlvy3f1",label:"DropdownContainer"})("display:none;padding:",e=>e.theme.token.gap1x," 0;box-shadow:0px 0px 0px 1px rgba(0,0,0,0.00),0px 0px 0px 1px rgba(0,0,0,0.00),0px 241px 96px 0px rgba(0,0,0,0.02),0px 136px 81px 0px rgba(0,0,0,0.06),0px 60px 60px 0px rgba(0,0,0,0.10),0px 15px 33px 0px rgba(0,0,0,0.12);border-radius:5px;&.active{display:flex;background:",e=>e.theme.token.colorBgElevated,";backdrop-filter:blur(5px);display:flex;position:absolute;top:55px;right:-50px;bottom:0;width:200px;height:fit-content;z-index:30;@media (max-width:768px){right:-60px;width:160px;}}"),X=(0,d.default)(s.Z.FlexRowBox,{target:"e1qlvy3f2",label:"ButtonsGroup"})("width:92px;justify-content:center;flex:none;@media (min-width:576px) and (max-width:1024px){justify-content:flex-start;}"),W=(0,d.default)(s.Z.FlexRowBox,{target:"e1qlvy3f3",label:"IconContainer"})("width:40px;height:40px;border-radius:",e=>e.theme.token.borderRadiusRound,";align-items:center;justify-content:center;background:",e=>e.theme.token.colorBgBox,";&:hover{background:",e=>e.theme.token.colorFillHover,";}"),G=(0,d.default)(s.Z.FlexRowBox,{target:"e1qlvy3f4",label:"DropdownButton"})("padding:0 ",e=>e.theme.token.gap1x,";&:hover{background-color:",e=>e.theme.token.colorFillHover,";}"),Q=(0,d.default)(s.Z.StyledText,{target:"e1qlvy3f5",label:"StyledText"})("color:",e=>e.theme.token.colorInfo,";")},50010:function(e,t,o){"use strict";o.d(t,{ER:function(){return N},M8:function(){return A},RQ:function(){return R},RU:function(){return z},S1:function(){return b},VZ:function(){return Z},Yq:function(){return j},__:function(){return f},fC:function(){return I},od:function(){return D},vP:function(){return C}});var r=o(14489),n=o(13785);o(75271);var a=o(33476),l=o.n(a),i=o(96674),c=o(79718),d=o(79039),s=o(27397),u=o(70793),g=o(8547),p=o(20040);function h(){let e=(0,r._)(["\n    padding: "," ",";\n  "]);return h=function(){return e},e}function x(){let e=(0,r._)(["\n    border-radius: ",";\n    font-size: ",";\n  "]);return x=function(){return e},e}let f=e=>{let{color:t,children:o,uppercase:r,borderRadius:a="8px",fontSize:l="9px",fontWeight:i,lineHeight:c,padding:d,backgroundColor:s,whiteSpace:u,textAlign:g}=e;return(0,n.tZ)(m,{color:t,uppercase:r,borderRadius:a,fontSize:l,backgroundColor:s,fontWeight:i,lineHeight:c,padding:d,whiteSpace:u,textAlign:g,suppressHydrationWarning:!0,children:o})},m=(0,s.default)("span",{target:"e11argrf0",label:"StyledLabelContainer"})("display:inline-block;padding:",e=>e.padding||"".concat(e.theme.token.gap1x," ").concat(e.theme.token.gap2x),";border-radius:",e=>e.borderRadius||e.theme.token.borderRadiusLG,";font-family:",e=>e.theme.fontFamily,";font-size:",e=>e.fontSize||e.theme.token.fontSizeSM2,";font-weight:",e=>e.fontWeight||e.theme.token.fontWeightBold,";line-height:",e=>e.lineHeight,";color:",e=>e.color||e.theme.colors.font.primary,";text-transform:",e=>e.uppercase?"uppercase":"inherit",";white-space:",e=>e.whiteSpace||"nowrap",";text-align:",e=>e.textAlign||"center",";letter-spacing:2%;background:",e=>e.backgroundColor?e.backgroundColor:(l()(e.color)||e.theme.colors.font.primary).setAlpha(.1).toRgbString(),";"),b=e=>{let{backgroundColor:t,children:o}=e;return(0,n.tZ)(k,{justifyContent:"center",alignItems:"center",backgroundColor:t,children:(0,n.tZ)(p.Z.StyledText,{name:"small/SM-4-B",color:"colorInfoWhite",children:o})})},k=(0,s.default)(p.Z.FlexRowBox,{target:"e11argrf1",label:"LiveLabelContainer"})(e=>{let{theme:t}=e;return(0,c.css)("padding:",t.token.gap1x," ",t.token.gap2x,";","LiveLabelContainer")},"  \n  background:var(--colorHighlight,linear-gradient(95deg,#F3A32B 3.36%,#F35B2B 97.98%));border-radius:",e=>{let{theme:t}=e;return t.token.borderRadiusLG},";justify-content:center;align-items:center;"),Z=e=>{let{children:t}=e;return(0,n.BX)(y,{children:[(0,n.tZ)(p.Z.Icon,{src:(0,n.tZ)(p.Z.Icons.Live.EventMark,{}),size:10,color:"colorInfoWhite"}),(0,n.tZ)(p.Z.StyledText,{name:"small/SM-4-B",color:"colorInfoWhite",children:t})]})},y=(0,s.default)(p.Z.FlexRowBox,{target:"e11argrf2",label:"LiveAgendaLabelContainer"})(e=>{let{theme:t}=e;return(0,c.css)("padding:",t.token.gap1x,";border-radius:",t.token.borderRadiusRound,";border:1px solid ",t.token.colorInfoWhite,";background:var(--colorHighlight,linear-gradient(95deg,#F3A32B 3.36%,#F35B2B 97.98%));","LiveAgendaLabelContainer")},"  gap:2px;"),C=e=>{let{uppercase:t=!1,backgroundColor:o,padding:r}=e,a=(0,d.a)();return(0,n.tZ)(m,{color:a.colors.font.orange,backgroundColor:o||a.colors.background.paleOrange,uppercase:t,borderRadius:a.token.borderRadiusLG,fontSize:a.token.fontSizeSM2,padding:r,children:"Speaker"})},S=e=>{let{type:t,backgroundColor:o,padding:r}=e,a=(0,d.a)();return(0,n.tZ)(m,{color:a.colors.font.primary,backgroundColor:o||a.colors.background.deepGray,borderRadius:a.token.borderRadiusLG,fontSize:a.token.fontSizeSM2,padding:r,children:(0,u.u)(t)})},B=e=>{let{uppercase:t=!1,backgroundColor:o,padding:r}=e,a=(0,d.a)();return(0,n.tZ)(m,{color:a.colors.font.blue,backgroundColor:o||a.colors.background.deepGray,uppercase:t,borderRadius:a.token.borderRadiusLG,padding:r,children:"Attendee"})},M=e=>{let{uppercase:t=!1,backgroundColor:o,padding:r}=e,a=(0,d.a)();return(0,n.tZ)(m,{color:a.colors.font.purple,backgroundColor:o||a.colors.background.transparentPurple,uppercase:t,padding:r,children:"Staff"})},I=e=>{let{uppercase:t=!1,backgroundColor:o,padding:r}=e,a=(0,d.a)();return(0,n.tZ)(m,{color:a.colors.font.purple,backgroundColor:o||a.colors.background.transparentPurple,uppercase:t,padding:r,children:"Host"})},w=e=>{let{uppercase:t=!1,backgroundColor:o,padding:r}=e,a=(0,d.a)();return(0,n.tZ)(m,{color:a.token.colorRed01,backgroundColor:o||"rgba(".concat(a.token.colorRed01Rgb,", 0.1)"),uppercase:t,padding:r,children:"Press"})},L=(0,s.default)("span",{target:"e11argrf3",label:"MeLabelContainer"})("display:inline-block;",e=>{let{theme:{token:t}}=e;return(0,c.css)(h(),t.gap1x,t.gap2x)},"  text-align:center;border-radius:",e=>e.borderRadius||e.theme.token.borderRadiusLG,";font-size:",e=>e.fontSize||e.theme.token.fontSizeSM4,";letter-spacing:0.5px;font-weight:",e=>e.theme.token.fontWeightBold,";line-height:",e=>e.theme.token.lineHeight,";color:",e=>e.color||e.theme.colors.font.primary,";text-transform:",e=>e.uppercase?"uppercase":"inherit",";white-space:nowrap;background:",e=>e.backgroundColor?e.backgroundColor:l()(e.color||e.theme.colors.font.primary).setAlpha(.1).toRgbString(),";"),j=e=>{let{uppercase:t=!1,backgroundColor:o}=e,r=(0,d.a)();return(0,n.tZ)(L,{color:r.colors.font.primaryGreen,fontSize:r.token.fontSizeSM2,backgroundColor:o||l()(r.colors.background.lightGreen).setAlpha(.2).toRgbString(),uppercase:t,children:"Me"})},z=e=>{let{attendeeType:t,uppercase:o,backgroundColor:r}=e,a=(0,d.a)();switch(t){case g.sx7.Press:return(0,n.tZ)(w,{uppercase:o,backgroundColor:r});case g.sx7.Speaker:return(0,n.tZ)(C,{uppercase:o,backgroundColor:r});case g.sx7.User:return(0,n.tZ)(B,{uppercase:o,backgroundColor:r});case g.sx7.Staff:return(0,n.tZ)(M,{uppercase:o,backgroundColor:r});case g.sx7.Host:return(0,n.tZ)(I,{uppercase:o,backgroundColor:r});case g.sx7.PartnerSponsor:return(0,n.tZ)(m,{color:a.colors.font.partnerSponsorLabelColor,backgroundColor:r||a.colors.background.partnerSponsorLabel,uppercase:o,children:"Partner"});case g.sx7.DiamondSponsor:return(0,n.tZ)(m,{color:a.colors.font.diamondSponsorLabelColor,backgroundColor:r||a.colors.background.diamondSponsorLabel,uppercase:o,children:"Diamond Sponsor"});case g.sx7.GoldSponsor:return(0,n.tZ)(m,{color:a.colors.font.goldSponsorLabelColor,backgroundColor:r||a.colors.background.goldSponsorLabel,uppercase:o,children:"Gold Sponsor"});case g.sx7.SilverSponsor:return(0,n.tZ)(m,{color:a.colors.font.silverSponsorLabelColor,backgroundColor:r||a.colors.background.silverSponsorLabel,uppercase:o,children:"Silver Sponsor"});case g.sx7.Sponsor:return(0,n.tZ)(m,{color:a.colors.font.diamondSponsorLabelColor,backgroundColor:r||a.colors.background.diamondSponsorLabel,uppercase:o,children:"Sponsor"});case g.CA7.Host:return(0,n.tZ)(I,{uppercase:o,backgroundColor:r});case g.CA7.Moderator:return(0,n.tZ)(m,{color:a.colors.font.primaryGreen,backgroundColor:r||a.colors.background.deepGray,uppercase:o,children:"Moderator"});default:return t?(0,n.tZ)(S,{type:t,backgroundColor:r}):null}},v=(0,s.default)("span",{target:"e11argrf4",label:"MessageCountLabelContainer"})("display:inline-block;padding:1.5px 6px;text-align:center;",e=>{let{theme:{token:t}}=e;return(0,c.css)(x(),t.borderRadiusLG,t.fontSizeSM4)},"  letter-spacing:0.5px;font-weight:bold;color:",e=>e.color||e.theme.colors.font.primary,";text-transform:",e=>e.uppercase?"uppercase":"inherit",";background:",e=>e.backgroundColor?e.backgroundColor:(l()(e.color)||e.theme.colors.font.primary).setAlpha(.1).toRgbString(),";"),N=e=>{let{count:t}=e,o=(0,d.a)();return(0,n.tZ)(v,{color:o.colors.font.white,backgroundColor:o.colors.background.red,children:t})},D=e=>{let{uppercase:t=!1}=e,o=(0,d.a)();return(0,n.tZ)(m,{color:o.colors.font.orange,backgroundColor:o.colors.background.paleOrange,uppercase:t,children:"Private channel"})},A=(0,s.default)(p.Z.FlexRowBox,{target:"e11argrf5",label:"ChannelLabel"})("justify-content:center;align-items:center;width:24px;height:24px;border-radius:",e=>{let{theme:t}=e;return t.token.borderRadiusMD},";",e=>{let{isPrivate:t,bgColor:r,theme:n}=e;return t?(0,c.css)("background:url(",o(20094),");","ChannelLabel"):(0,c.css)("background:",r||n.token.colorPrimary,";","ChannelLabel")},"  background-position:center;background-repeat:no-repeat;background-size:cover;position:relative;"),R=e=>{let{event:t,containerStyle:o}=e,r=(0,d.a)(),{displayEventType:a,isOnline:l,supportInPerson:c}=null!=t?t:{};if(!a)return null;let{bgColor:s,bgOpacity:u,...g}=o||{bgColor:r.token.colorPrimary,bgOpacity:.2};return(0,n.tZ)(p.Z.FlexBoxWithBackground,{className:"event-display-label",width:"fit-content",height:"25px",alignItems:"center",paddingLeft:"gap2x",paddingRight:"gap2x",borderRadius:r.token.borderRadiusSM,bgColor:s,bgOpacity:u,style:{fontSize:r.token.fontSizeSM1,fontWeight:r.token.fontWeightBold,color:r.token.colorPrimary,...g},children:(0,n.BX)(p.Z.FlexRowBox,{gap:"gap2x",children:[(0,n.BX)(p.Z.FlexRowBox,{alignItems:"center",style:{gap:"2px"},children:[c&&(0,n.tZ)(p.Z.Icons.Misc.Location,{width:14,height:14}),(0,i.i7)({displayEventType:a})&&(0,n.tZ)("span",{children:"/"}),l&&(0,n.tZ)(p.Z.Icons.Misc.LivestreamOnline,{width:14,height:14})]}),(0,n.tZ)("span",{children:a.toUpperCase()})]})})}},20094:function(e){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxOCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00Ljc2ODggNi43MTM4N0gxMy4yMzEyQzE1LjU4ODYgNi43MTM4NyAxNy41IDguNTgzMDcgMTcuNSAxMC44ODg1VjE1LjgyNTRDMTcuNSAxOC4xMzA4IDE1LjU4ODYgMjAgMTMuMjMxMiAyMEg0Ljc2ODhDMi40MTEzNiAyMCAwLjUgMTguMTMwOCAwLjUgMTUuODI1NFYxMC44ODg1QzAuNSA4LjU4MzA3IDIuNDExMzYgNi43MTM4NyA0Ljc2ODggNi43MTM4N1pNOC45OTQ5MiAxNS4zMjk1QzkuNDkyODMgMTUuMzI5NSA5Ljg4OTEyIDE0Ljk0MTkgOS44ODkxMiAxNC40NTVWMTIuMjQ4OUM5Ljg4OTEyIDExLjc3MiA5LjQ5MjgzIDExLjM4NDQgOC45OTQ5MiAxMS4zODQ0QzguNTA3MTcgMTEuMzg0NCA4LjExMDg4IDExLjc3MiA4LjExMDg4IDEyLjI0ODlWMTQuNDU1QzguMTEwODggMTQuOTQxOSA4LjUwNzE3IDE1LjMyOTUgOC45OTQ5MiAxNS4zMjk1WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggb3BhY2l0eT0iMC40IiBkPSJNMTQuNTIyNyA1LjM5NTk1VjYuODY2NjdDMTQuMTY3MSA2Ljc2NzMgMTMuNzkxMSA2LjcxNzYxIDEzLjQwNSA2LjcxNzYxSDEyLjc0NDVWNS4zOTU5NUMxMi43NDQ1IDMuMzc4NjggMTEuMDY3OSAxLjczOTAzIDkuMDA1MDkgMS43MzkwM0M2Ljk0MjMzIDEuNzM5MDMgNS4yNjU3IDMuMzY4NzQgNS4yNTU1NCA1LjM3NjA4VjYuNzE3NjFINC42MDUyMUM0LjIwODkxIDYuNzE3NjEgMy44MzI5NCA2Ljc2NzMgMy40NzcyOSA2Ljg3NjYxVjUuMzk1OTVDMy40ODc0NiAyLjQxNDc2IDUuOTU2NjcgMCA4Ljk4NDc3IDBDMTIuMDUzNSAwIDE0LjUyMjcgMi40MTQ3NiAxNC41MjI3IDUuMzk1OTVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"}}]);
//# sourceMappingURL=2571-e039c4beaa623ac8.js.map