"use strict";(this.webpackChunk_msteams_react_web_client=this.webpackChunk_msteams_react_web_client||[]).push([[839142],{140341:(t,a,e)=>{e.r(a),e.d(a,{PostMeetingChatContainer:()=>Y});var n=e(957032),i=e(798238),r=e(401368),o=e(155762),s=e(513432),c=e(711748),l=e(95822),m=e(642097),g=e(619761);const h=(0,e(391567).O)({wrapper:{Bf4jedk:"f16o8ymn",sshi5w:"f3kj19e"},root:{mc9l5x:"ftuwxu6",Beiy3e4:"f1vx9l62",fsow6f:"f17mccla",a9b677:"fly5x3f",Bqenvij:"f1l02sjl",z8tnut:"fllyvcr",Byoj8tv:"f15jbqcs",Bmxbyg5:"f5zp4f",B68tc82:"f1oy3dpc"},goToMeetingChatBtn:{B6of3ja:"fz3a3bw",jrapky:"fv41itg"},rejoinCallContainer:{B6of3ja:"fqkvvk9",fsow6f:"f17mccla"},decorativeImage:{Bqenvij:"fbhg4qz",a9b677:"fqva8l3",st4lth:"f1kle4es"}});var d=e(889838),_=e(707212),p=e(632824),C=e(109019),v=e(613787),f=e(447863),k=e(214568);const u=({staticsPath:t,navigateToChat:a,rejoinCall:e})=>{const i=h(),r=s.useContext(g.I18nContext),o=r.stringTranslate("growth","post_meeting_comms_chat_pmv_header"),c=r.stringTranslate("growth","post_meeting_comms_chat_pmv_subtitle"),l=r.stringTranslate("growth","post_meeting_comms_chat_pmv_img_alt_text"),m=r.stringTranslate("growth","post_meeting_comms_chat_pmv_btn_to_chat_text"),u=r.stringTranslate("growth","post_meeting_comms_chat_pmv_rejoin_prompt"),w=r.stringTranslate("growth","post_meeting_comms_chat_pmv_rejoin_link");return(0,n.Y)("div",{className:i.wrapper,children:(0,n.Y)("div",{className:i.root,children:[(0,n.Y)("span",{children:(0,n.Y)(d.M,{as:"h1",children:o})}),(0,n.Y)("br",{}),(0,n.Y)("span",{children:(0,n.Y)(_.E,{children:c})}),(0,n.Y)("br",{}),(0,n.Y)("br",{}),(0,n.Y)("span",{children:(0,n.Y)(p._,{src:`${t}/evergreen-assets/growth/post_meeting_comms_chat_pmv.svg`,alt:l,block:!0,className:i.decorativeImage})}),(0,n.Y)("span",{className:i.goToMeetingChatBtn,children:(0,n.Y)(C.$,{appearance:"primary",icon:(0,n.Y)(f.o,{}),iconPosition:"before",onClick:a,"data-track-action-gesture":k.Od.click,"data-track-module-name":k.Sn.navigateToChatButtonFromPostMeetingChatPmv,"data-track-action-scenario-type":k.DB.postMeetingComms,"data-track-action-scenario":k.vB.navigateToChatFromPostMeetingChatPmv,"data-track-module-summary":m,children:m})}),(0,n.Y)("span",{className:i.rejoinCallContainer,children:[(0,n.Y)(_.E,{children:u}),(0,n.Y)("br",{}),(0,n.Y)("br",{}),(0,n.Y)(v.N,{onClick:e,"data-track":"true","data-track-action-gesture":k.Od.click,"data-track-module-name":k.Sn.rejoinCallLinkFromPostMeetingChatPmv,"data-track-action-scenario-type":k.DB.postMeetingComms,"data-track-action-scenario":k.vB.rejoinCallFromPostMeetingChatPmv,"data-track-module-summary":w,children:w})]})]})})};var w=e(879749),b=e(446154),y=e(164994);const Y=({conversationId:t})=>{const{staticsPath:a}=(0,i.w2)(r.w.Platform,["staticsPath"]),{preferMeetingCode:e}=(0,i.w2)(r.w.Calling,["preferMeetingCode"]),{entityCommanding:g,loggerFactory:{newLogger:h}}=(0,w.ur)(),[d,_]=(0,l.Y)(t??""),[p]=(0,o.n)(m.d),C=t??"",v=s.useCallback((()=>{const t={visibilityState:"show",stateTransition:"flush",correlation:{source:b.p.CallingEndScreenPostMeetingChat}};g.chat.chatById(C,{entityCommand:t})}),[C,g.chat]),f=s.useCallback((async()=>{const t=d?.me?.id??"",a=d?.meetingInformation?.meetingType,n=(0,c.F)(d,t,"Broadcast"===a,!!e),{data:i}=await p({variables:n});i?.fireCallingIntent?.id&&g.call.callById(i.fireCallingIntent.id,{stateTransition:"flush",visibilityState:"show",correlation:{source:b.p.CallingEndScreenPostMeetingChat}},d?.id)}),[d,e,g.call,p]);return(0,n.Y)(y.W,{panelRegion:k.rP.main,panelType:k.HP.PostMeetingChatPmvScreen,newLogger:h,threadId:C,disableWrapper:!0,children:(0,n.Y)(u,{conversationId:C,staticsPath:a??"",rejoinCall:f,navigateToChat:v})})}}}]);
//# sourceMappingURL=https://local.teams.office.com/sourcemaps/hashed-assets/components-post-meeting-comms-b8a4e058fe6e408b.js.map