Loading
function(e,t,n){"use strict";n.d(t,{v:()=>N});var i=n(477900);n(582128);var r=n(646865),a=n(277344),s=n(47294),l=n(688810),o=n(429913),d=n(384059),c=n(235986),u=n(267102),_=n(447404),E=n(271195),A=n(128286),h=n(625180),f=n(262579),I=n(241696),p=n(746726),m=n(165610),T=n(652215),g=n(977747),S=n(967481);function N(e){let{frame:t,idle:N,onMouseDown:C,onMouseMove:O,onMouseLeave:R}=e,L=(0,o.h)(t.applicationId),y=(0,p.A)(t),D=(0,u.Us)()===T.BRT.POPOUT,{parentAnalyticsLocation:b}=(0,l.Ay)();function v(){y.isShownInCall&&null!=y.channelId&&null!=y.participantId&&(0,a.A)(y.channelId,y.participantId),h.A.updateFrameLayoutMode({frameId:t.id,layoutMode:m.y0.FOCUSED})}async function P(){if(t.intent!==m.sV.INLINE)return void v();let{returnToConjureFrameSurface:e}=await Promise.all([n.e("644013"),n.e("896691"),n.e("971156"),n.e("260009"),n.e("779367"),n.e("552653"),n.e("85427"),n.e("66149"),n.e("281342"),n.e("967850"),n.e("291329"),n.e("64769"),n.e("329172"),n.e("992956"),n.e("880150"),n.e("490743"),n.e("44141"),n.e("428643"),n.e("512831"),n.e("630290"),n.e("321735"),n.e("60002"),n.e("189423"),n.e("415695"),n.e("315771"),n.e("691398"),n.e("266201"),n.e("752704"),n.e("56606"),n.e("940298"),n.e("738015"),n.e("621820"),n.e("40791"),n.e("358404"),n.e("996907"),n.e("831130"),n.e("377989"),n.e("650376"),n.e("587618"),n.e("100309"),n.e("454048"),n.e("300699"),n.e("349619"),n.e("488694"),n.e("543039"),n.e("398125"),n.e("221825"),n.e("930758"),n.e("776195"),n.e("901555"),n.e("253729"),n.e("593600"),n.e("827708"),n.e("266900"),n.e("707826"),n.e("948804"),n.e("199999"),n.e("205596"),n.e("110116"),n.e("828111"),n.e("890027"),n.e("809915"),n.e("463095"),n.e("851130"),n.e("672727"),n.e("927211"),n.e("361626"),n.e("646506"),n.e("445124"),n.e("76428"),n.e("445421"),n.e("832823"),n.e("761935"),n.e("511527"),n.e("763070"),n.e("502018"),n.e("276863"),n.e("955184"),n.e("249366"),n.e("728633"),n.e("628439"),n.e("570506"),n.e("539620"),n.e("225990"),n.e("818771"),n.e("935715"),n.e("248329"),n.e("93939"),n.e("401590"),n.e("466354"),n.e("263765"),n.e("911521"),n.e("299086"),n.e("91739"),n.e("615569"),n.e("223599"),n.e("584605"),n.e("28047")]).then(n.bind(n,228946));e(t)||v()}return(0,i.jsxs)("div",{className:S._v,onMouseMove:O,onMouseDown:C,onMouseLeave:R,children:[(0,i.jsx)("div",{className:S.K1,children:(0,i.jsx)(E.X,{idle:N,title:L?.name??"",onJumpToChannel:P,preventIdleComponent:_.A})}),(0,i.jsx)("div",{className:S.q6,children:(0,i.jsxs)(c.A,{grow:1,shrink:1,justify:c.A.Justify.END,align:c.A.Align.CENTER,children:[D||(0,r.f)()?null:(0,i.jsx)(A.A,{className:g.BD,popoutOpen:!1,onOpenPopout:function(){(0,d.XJ)(b,d.OP.POPOUT,!0),(0,s.A)({onConfirm:()=>(0,I.A)(t.id)})},onClosePopout:T.FXj}),(0,i.jsx)(f.A,{frameId:t.id,className:g.BD})]})})]})}}