1"use strict";(self.webpackChunkvirtual_guide=self.webpackChunkvirtual_guide||[]).push([[1253],{659:(e,t,n)=>{n.d(t,{A:()=>c});var o,i=n(31274),r=n(7737),a=n(8869);const s=(0,i.Ay)(a.u)(o||(o=(0,r.A)(["\n margin-right: 10px;\n border: 1px solid ",";\n background-color: ",";\n color: ",";\n\n &:hover {\n border: 1px solid ",";\n background-color: ",";\n color: ",";\n }\n"])),e=>{var t;return null===(t=e.theme.secondaryButton)||void 0===t?void 0:t.secondaryButtonBorderColor},e=>{var t;return null===(t=e.theme.secondaryButton)||void 0===t?void 0:t.secondaryButtonBackgroundColor},e=>{var t;return null===(t=e.theme.secondaryButton)||void 0===t?void 0:t.secondaryButtonTextColor},e=>{var t;return null===(t=e.theme.secondaryButton)||void 0===t?void 0:t.secondaryButtonBorderHoverColor},e=>{var t;return null===(t=e.theme.secondaryButton)||void 0===t?void 0:t.secondaryButtonBackgroundHoverColor},e=>{var t;return null===(t=e.theme.secondaryButton)||void 0===t?void 0:t.secondaryButtonTextHoverColor});var l=n(68433),d=n(96081);const c=function(e){return(0,d.jsx)(i.NP,{theme:{secondaryButton:(0,l.a)(e.theme)},children:(0,d.jsx)(s,{onClick:e.onClickHandler,children:e.text})})}},5226:(e,t,n)=>{n.d(t,{B3:()=>E,CU:()=>O,Ch:()=>B,FY:()=>L,Oe:()=>N,Qs:()=>w,d6:()=>V,dk:()=>U,e1:()=>P,fu:()=>D,ls:()=>k,og:()=>C,om:()=>R,rk:()=>j,zM:()=>M});var o,i,r,a,s,l,d,c,u,g,p,h,m,f,v,x,A,y=n(7737),b=n(31274),T=n(47564),I=n(48153),S=n(85599);const w=b.Ay.div(o||(o=(0,y.A)(["\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n background-color: #fff;\n overflow: hidden;\n"]))),C=b.Ay.div(i||(i=(0,y.A)(["\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n overflow-x: hidden;\n background-color: ",";\n container-type: inline-size;\n"])),null!==(r=T.Ay.contentBgColorForEachPage)&&void 0!==r?r:"#fff"),k=b.Ay.div(a||(a=(0,y.A)(["\n container-type: inline-size;\n padding: ",";\n"])),e=>{var t;return null!==(t=e.$padding)&&void 0!==t?t:"25px"}),E=b.Ay.div(s||(s=(0,y.A)(["\n display: flex;\n width: 100%;\n min-height: 38px;\n column-gap: 10px;\n\n .dropdown-toggle::after {\n display: none;\n }\n\n .headerRoot {\n width: 100%;\n }\n"]))),j=b.Ay.div(l||(l=(0,y.A)(["\n width: 100%;\n bottom: 30px;\n display: flex;\n justify-content: center;
1\n align-items: center;\n z-index: 10;\n"]))),O=b.Ay.div(d||(d=(0,y.A)(["\n display: flex;\n align-items: flex-start;\n gap: 10px;\n flex-wrap: wrap;\n\n @media "," {\n padding-left: 20px;\n padding-right: 15px;\n gap: 17px;\n }\n"])),S.Td.mobile),M=b.Ay.div(c||(c=(0,y.A)(["\n position: relative;\n z-index: 10;\n padding: 25px;\n background-color: ",";\n box-shadow: ",";\n display: ",";\n width: 100%;\n\n @media "," {\n display: inline-flex;\n padding: 15px 0px 0px 10px;\n padding-left: 18px;\n width: inherit;\n\n &.categorysearch {\n padding: 15px 0px 10px 15px;\n }\n }\n"])),null!==(u=T.Ay.contentBgColorForEachPage)&&void 0!==u?u:"#fff",e=>e.$showShadow?T.Ay.primaryScrollDarkShadowTTB:"initial",e=>e.$visible?"block":"none !important",S.Td.mobile),N=(0,b.Ay)(I.A)(g||(g=(0,y.A)(["\n height: 120px;\n"]))),L=b.Ay.div(p||(p=(0,y.A)(["\n width: 100%;\n"]))),P=b.Ay.div(h||(h=(0,y.A)(["\n display: flex;\n flex-wrap: wrap;\n column-gap: 10px;\n row-gap: 10px;\n max-width: 92%;\n padding-bottom: ",";\n"])),e=>e.$isMobile?"15px":"0"),R=b.Ay.div(m||(m=(0,y.A)(["\n display: ",";\n width: ",";\n position: relative;\n"])),e=>e.$isMobile?"inline-flex":"block",e=>e.$freeHeight?"calc(100% - 10px)":"100%"),B=b.Ay.div(f||(f=(0,y.A)(["\n position: absolute;\n top: 0;\n right: 0;\n margin-right: 12px;\n margin-top: ",";\n z-index: 20;\n"])),e=>e.$filterVisible?"10px":"0px"),D=b.Ay.div(v||(v=(0,y.A)(["\n height: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n padding-top: ",";\n"])),e=>{var t;return null!==(t=e.$paddingTop)&&void 0!==t?t:"0"}),U=b.Ay.div(x||(x=(0,y.A)(["\n font-family: ",";\n color: ",";\n font-style: normal;\n font-weight: 700;\n font-size: 16px;\n margin-top: 15%;\n text-align: center;\n"])),T.Ay.font1,T.Ay.exhibitorsPageContent.noSearchResultsTextColor),V=b.Ay.div(A||(A=(0,y.A)(["\n font-size: 12px;\n font-family: ",";\n color: ",";\n @media "," {\n flex: 0 200px;\n }\n @media "," {\n flex: 0 250px;\n }\n @media "," {\n flex: 0 45%;\n }\n"])),T.Ay.font1,T.Ay.mainInfoColor,S.Td.tablet,S.Td.laptop,S.Td.mobile)},8869:(e,t,n)=>{n.d(t,{f:()=>d,u:()=>l});var o,i,r=n(7737),a=n(31274),s=n(47564);const l=a.Ay.div(o||(o=(0,r.A)(["\n font-family: ",";\n border-radius: 3px;\n cursor: pointer;\n font-size: 12px;\n font-weight: normal;\n padding: 8px 30px;\n transition: 0.3s;\n"])),s.Ay.font1),d=(0,a.Ay)(l)(i||(i=(0,r.A)(["\n border: 1px solid ",";\n background-color: ",";\n color: ",";\n\n &:hover {\n border: 1px solid ",";\n background-color: ",";\n color: ",";\n }\n"])),e=>{var t;return null===(t=e.theme.primaryButton)||void 0===t?void 0:t.primaryButtonBorderColor},e=>{var t;return null===(t=e.theme.primaryButton)||void 0===t?void 0:t.primaryButtonBackgroundColor},e=>{var t;return null===(t=e.theme.primaryButton)||void 0===t?void 0:t.primaryButtonTextColor},e=>{var t;return null===(t=e.theme.primaryButton)||void 0===t?void 0:t.primaryButtonBorderHoverColor},e=>{var t;return null===(t=e.theme.primaryButton)||void 0===t?void 0:t.primaryButtonBackgroundHoverColor},e=>{var t;return null===(t=e.theme.primaryButton)||void 0===t?void 0:t.primaryButtonTextHoverColor})},12196:(e,t,n)=>{n.d(t,{A:()=>E,v:()=>k});var o=n(35725),i=n(32640),r=n.n(i),a=n(15669),s=n(76838),l=n(89524),d=n(47564),c=n(15805),u=n(2910),g=n(72792),p=n(37772),h=n(7781),m=n(89519),f=n(12936),v=n(84828);const x=()=>{const[e,t]=(0,a.useState)(null),[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(null);(0,a.useEffect)(()=>function(){r()},[]);const r=()=>{null!==i.current&&(window.clearInterval(i.current),i.current=null,o(!1))},s=(e=>{if(null===e)return null;const t=Math.floor(e/1e3),n=Math.floor(t/3600),o=Math.floor(t%3600/60),i=t%60,r=[];return n>0&&r.push(n.toString().padStart(2,"0")),r.push(o.toString().padStart(2,"0")),r.push(i.toString().padStart(2,"0")),r.j
1oin(":")})(e);return{timeLeft:e,isRunning:n,start:e=>{null===i.current&&(t(e),o(!0),i.current=window.setInterval(()=>{t(e=>{const t=null!==e?e-1e3:null;return 0===t&&r(),t})},1e3))},stop:r,reset:()=>{r(),t(null)},formattedDuration:s}};var A,y,b=n(54265),T=n(7737),I=n(31274);const S=I.Ay.div(A||(A=(0,T.A)(["\n width: 200px;\n height: 100%;\n justify-content: center;\n align-items: center;\n padding: 35px 20px 20px 20px;\n font-size: 14px;\n"]))),w=I.Ay.div(y||(y=(0,T.A)(["\n color: #fff;\n text-align: center;\n"])));var C=n(96081);const k="REC: ",E=e=>{const t=(0,u.RD)().getStrings(),n=(0,o.GYC)(),i=(0,m.F)(),A=(0,b.A)(i.getCallDuration()||0),y=x(),T=(0,o.dqp)(),[I,E]=(0,a.useState)(!1),{roster:j}=(0,o.Abl)(),[O,M]=(0,a.useState)(Object.values(j)),[N,L]=(0,a.useState)(0),[P,R]=(0,a.useState)(!1),B=(0,s.W6)(),[D,U]=(0,a.useState)(null),V=i.getMeetingKind(),F=i.getMeetingTimeLeft();function _(e){var t;if("roundtable"!==V)return;if(i.leaveMeeting(!0),!e)return;const n=null===(t=i.getExternalMeetingId())||void 0===t?void 0:t.split("rt_")[1];setTimeout(()=>{B.push("/eventdate/"+e.name+"--"+n)},1e3)}return(0,a.useEffect)(()=>{var e;let t,n;const o=()=>{clearTimeout(t),clearTimeout(n)};if("roundtable"!==V)return i.getCallDuration()?R(!0):t=setTimeout(()=>{R(!0)},2e3),o;const a={id:null===(e=i.getExternalMeetingId())||void 0===e?void 0:e.split("rt_")[1]};return(0,l.jE)(a).then(e=>{const t=e.content;U(t);const o=r()(t.startdatetime).diff(r()((0,p.Yq)(new Date)),"seconds")-60*d.Ay.configuration.roundTableOpenBeforeMinutes;A.reset(-1*o);const i=r()(t.enddatetime).diff(r()((0,p.Yq)(new Date)),"seconds"),a=1e3*i+60*d.Ay.configuration.roundTableOpenAfterMinutes*1e3;if(a<0)_(t);else{if(i>0)n=setTimeout(()=>{0===d.Ay.configuration.roundTableOpenAfterMinutes?_(t):y.start(6e4*d.Ay.configuration.roundTableOpenAfterMinutes)},1e3*i);else{if(a<=0)return;y.start(a)}R(!0)}}),o},[]),(0,a.useEffect)(()=>{const e=setTimeout(()=>{M(Object.values(j))},1e3);return()=>{clearTimeout(e)}},[j]),(0,a.useEffect)(()=>{L(O.filter(e=>"moderator"===e.role).length)},[O]),(0,a.useEffect)(()=>{"breakout"===V?N<1?y.start(d.Ay.breakoutTimeoutDuration):y.reset():"call"===V?y.start(F||null):"conferenceroom"===V?N<1?y.start(1e3*d.Ay.configuration.conferenceRoomNoModRemainingDuration):y.reset():"calenderEntry"===V&&(N<1?y.start(F):y.reset())},[F,O,V,N]),(0,a.useEffect)(()=>{let e;return y.timeLeft&&y.timeLeft<=1e4&&!I&&(T({type:o.X2v.ADD,payload:{severity:o.AI$.WARNING,message:t.conferenceTexts.callEndsSoon,autoCloseDelay:1e4}}),E(!0)),"00:00"===y.formattedDuration&&("roundtable"===V?_(D):(i.setEGMeetingStatus(v.E.TimeUp),e=setTimeout(()=>{i.leaveMeeting()},1e3))),()=>{clearTimeout(e)}},[y.timeLeft,N]),(0,a.useEffect)(()=>(n.meetingStatus===o.e0s.Succeeded&&"roundtable"!==V&&A.start(),n.meetingStatus!==o.e0s.Left&&n.meetingStatus!==o.e0s.Ended||A.stop(),()=>{A.stop()}),[n.meetingStatus]),(0,a.useEffect)(()=>{var e;null===(e=n.audioVideo)||void 0===e||e.realtimeSubscribeToReceiveDataMessage((0,c.I)(i.getExternalMeetingId()),e=>{const t=e.json().type;if(t&&t===f.a.TIMELIMITCHANGED)y.reset()})},[n.audioVideo]),(0,a.useEffect)(()=>()=>{i.setCallDuration(A.duration)},[A.duration]),(0,C.jsx)(C.Fragment,{children:P?(0,C.jsxs)(S,{children:[null===y.timeLeft&&(0,C.jsxs)(w,{children:[e.isRecording&&(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(g.uK_,{fill:"#F61C0D",width:"8",height:"8",customStyle:"margin: 0 5px 2px 5px;"}),k]}),A.formattedDuration()]}),null!==y.timeLeft&&(0,C.jsx)(w,{children:(0,h.GV)(t.conferenceTexts.roomClosingSoon,{time:null!==y.formattedDuration?y.formattedDuration.toString():""})})]}):(0,C.jsx)(S,{})})}},12936:(e,t,n)=>{n.d(t,{a:()=>o});let o=function(e){return e[e.KICK=1]="KICK",e[e.BAN=2]="BAN",e[e.MUTE=3]="MUTE",e[e.RAISEHAND=4]="RAISEHAND",e[e.CHANNEL_STATUS=5]="CHANNEL_STATUS",e[e.TIMELIMITCHANGED=6]="TIMELIMITCHANGED",e[e.STOP_SCREENSHARE=7]="STOP_SCREENSHARE",e[e.CALL_ENDED_FOR_ALL=8]="CALL_ENDED_FOR_ALL",e[e.GREENROOM_STATUS=9]="GREENROOM_STATUS",e}({})},15805:(e,t,n)=>{function o(e){return e?null===e||void 0===e?void 0:e.slice(0,10):""}n.d(t,{I:()=>o})},16221:(e,t,n)=>{n.d(t,{A:()=>l,f:()=>s});var o,i,r=n(7737),a=n(31274);const s=a.Ay.div(o||(o=(0,r.A)(["\n width: 100%;\n height: 100%;\n position: relative;\n color: #fff;\n video {\n object-fit: contain !important;\n }\n"]))),l=a.Ay.div(i||(i=(0,r.A)(["\n background-color: rgba(0, 0, 0, 0.7);\n border-radius: 2px;\n position: absolute;\n width: 30px;\n height: 30px;\n right: 10px;\n z-index: 20;\n text-align: center;\n cursor: pointer;\n bottom: ",";\n right: 20px;\n opacity: 0.5;\n transition: 0.3s;\n display: flex;\n flex-direction: column;\n justify-content: center;
1\n align-items: center;\n\n &:hover {\n opacity: 1;\n }\n"])),e=>e.isLocalTileVisible?"230px":"105px")},17642:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(89524),i=n(3760),r=n(22269),a=n(47564),s=n(22086),l=n(44464),d=n(73810);async function c(e,t,n,c,u,g){(async function(e,t,n){let c=[];const u=function(e){if(!e)return"";let t="virtualCafe";switch(e.slice(0,e.indexOf("_"))){case"cl":t="call";break;case"sr":t="showroom";break;case"vc":t="virtualCafe";break;case"ce":t="calenderEntry";break;case"gr":t="greenroom";break;case"rt":t="roundtable";break;case"br":t="breakout";break;case"cr":t="conferenceroom"}return t}(e),g=(0,d.pT)();if("virtualCafe"===u){e:for(const o of a.Ay.meetingRoomGroups)for(const t of o.meetingRooms)if(t.id===e.slice(3)){g[0]=l.J.meetings.root,g[1]="/".concat(l.J.meetings.root,"/").concat(o.id),c=[{to:g[0],name:a.Ay.sideIconBar.virtualcafeMenuText},{to:"/meetings/".concat(o.id),name:o.title},{to:g[2],name:t.title}];break e}}else if("showroom"===u){const t=e.slice(3),n=await(0,i.DK)({organizationid:t,hideNewsdata:!0});c=n.content?[{to:"/",name:a.Ay.conferenceTexts.showroomTitle+" - "+n.content.name}]:[{to:"/",name:a.Ay.conferenceTexts.showroomTitle+" - "+a.Ay.conferenceTexts.showroomUnknownCompanyText}]}else if("greenroom"===u)c=[{to:"#",name:a.Ay.conferenceTexts.masterclassTitle,onClick:()=>window.history.back()},{to:"/",name:a.Ay.conferenceTexts.greenRoomTitle}];else if("roundtable"===u)c=[{to:"/",name:a.Ay.conferenceTexts.roundtableTitle}];else if("conferenceroom"===u)c=[{to:"/",name:a.Ay.conferenceTexts.conferenceRoomTitle}];else if("breakout"===u){const t={id:e.slice(3),rootCategories:a.Ay.eventDateDetailPageContent.rootCategories,showCategoryHierarchy:a.Ay.eventDateDetailPageContent.showCategoryHierarchy||!1},n=await(0,o.jE)(t);c=n.content?[{to:"/",name:a.Ay.conferenceTexts.breakoutTitle},{to:(0,s.qn)(n.content.id,n.content.name,"eventdate"),name:n.content.name}]:[{to:"/",name:a.Ay.conferenceTexts.breakoutTitle}]}else if("call"===u){let e=a.Ay.conferenceTexts.callWithText+" ";const o=t&&t.filter(e=>(null===e||void 0===e?void 0:e.id)!==n);o?e+=o.map(e=>e.name).join(", "):e="",c=[{to:"/",name:e}]}else if("calenderEntry"===u){const t=await(0,r.Qn)(e.slice(3));c=t?[{to:"/",name:t.title}]:[{to:"/",name:"Meeting"}]}return c})(t,c,u).then(t=>{if(t&&t.length){g&&g(t);let o=0;switch(n){case"virtualCafe":o=2;break;case"breakout":case"greenroom":o=1;break;default:o=0}e.setMeetingTitle(t.map(e=>e.name)[o])}})}},19519:(e,t,n)=>{n.r(t),n.d(t,{ViewMode:()=>z,default:()=>De});var o=n(89510),i=n(7737),r=n(74420),a=n(15669),s=n(18852),l=n(21780),d=n(76838),c=n(14544),u=n.n(c),g=n(31274),p=n(47564),h=n(35572),m=n(89519),f=n(93025),v=n(72140),x=n(92971),A=n(3165),y=n(44464),b=n(43683),T=n(20058),I=n(73810),S=n(48153),w=n(72792),C=n(58866),k=n(88007),E=n(10472),j=n(80141),O=n(96081);const M=()=>(0,O.jsx)(j.default,{isSponsorsPage:!1,isMediaPartnerPage:!1,isStartupPage:!0});var N,L,P,R,B,D,U,V,F,_=n(41458),G=n(62287);let z=function(e){return e[e.LIST=0]="LIST",e[e.TILES=1]="TILES",e}({});const J=(0,g.Ay)(s.A)(N||(N=(0,i.A)(["\n .modal-content {\n border-radius: 5px;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);\n }\n\n .modal-header {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n border: none;\n padding: 20px 0 20px 0;\n }\n\n .modal-body {\n font-family: ",";\n font-weight: 400;\n font-size: 12px;\n line-height: 17px;\n display: flex;\n padding: 10px 20px;\n white-space: pre-line;\n word-break: break-word;\n }\n\n .modal-footer {\n justify-content: space-between;\n border: none;\n }\n\n .close {\n outline: 0;\n position: absolute;\n right: 20px;\n top: 15px;\n font-size: 26px;\n font-weight: 10;\n line-height: 1.66666667;\n color: #000;\n width: 30px;\n padding: 0 4px;\n background: none;\n border-style: none;\n margin-right: 0px;\n margin-top: 3px;\n }\n\n .btn-primary {\n /* width: 40%; */\n display: inline-block;\n border: none;\n /* border-radius: 20px; */\n font-family: ",";\n &:focus {\n outline: none;\n cursor: pointer;\n }\n }\n\n .btn-secondary {\n display: inline-block;\n border: none;\n font-family: ",";\n &:focus {\n outline: none;\n cursor: pointer;\n }\n }\n"])),p.Ay.font1,p.Ay.font1,p.Ay.font1),H=g.Ay.div(L||(L=(0,i.A)(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n z-index: 9999;\n background: ",";\n"])),null!==(P=p.Ay.suggestBoxContent.suggestBoxGreyedOverlayColor)&&void 0!==P?P:"rgba(0, 0, 0, .5)"),K=g.Ay.div(R||
1(R=(0,i.A)(["\n position: relative;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n min-width: 0;\n height: 100%;\n overflow: auto;\n z-index: 0;\n padding-left: 60px;\n overflow: hidden;\n background: white;\n\n & > * {\n flex-shrink: 0;\n }\n"]))),q=g.Ay.div(B||(B=(0,i.A)(["\n width: auto;\n height: 20px;\n margin-left: 20px;\n margin-top: 15px;\n font-family: ",";\n font-style: normal;\n font-weight: bold;\n font-size: 18px;\n line-height: 20px;\n"])),p.Ay.font1),$=g.Ay.div(D||(D=(0,i.A)(["\n display: block;\n width: 28%;\n height: 30px;\n color: "," !important;\n background-color: "," !important;\n border: 1px solid "," !important;\n border-radius: 5px;\n font-size: 12px;\n line-height: 17px;\n font-family: ",";\n margin-right: 15px;\n\n &:hover {\n color: "," !important;\n background-color: "," !important;\n border: 1px solid "," !important;\n }\n\n &:focus {\n cursor: pointer;\n outline: none;\n border: none;\n }\n"])),p.Ay.style.secondaryButton.color,p.Ay.style.secondaryButton.backgroundColor,p.Ay.style.secondaryButton.borderColor,p.Ay.font1,p.Ay.style.secondaryButton.hoverColor,p.Ay.style.secondaryButton.hoverBackgroundColor,p.Ay.style.secondaryButton.hoverBorderColor),W=(0,g.Ay)(l.A)(U||(U=(0,i.A)(["\n display: block;\n width: 28%;\n height: 30px;\n color: "," !important;\n background-color: "," !important;\n border: 1px solid "," !important;\n border-radius: 5px;\n font-size: 12px;\n line-height: 17px;\n font-family: ",";\n\n &:hover {\n color: "," !important;\n background-color: "," !important;\n border: 1px solid "," !important;\n }\n"])),p.Ay.style.primaryButton.color,p.Ay.style.primaryButton.backgroundColor,p.Ay.style.primaryButton.borderColor,p.Ay.font1,p.Ay.style.primaryButton.hoverColor,p.Ay.style.primaryButton.hoverBackgroundColor,p.Ay.style.primaryButton.hoverBorderColor),Q=g.Ay.div(V||(V=(0,i.A)(["\n position: absolute;\n right: 30px;\n top: 30px;\n cursor: pointer;\n svg {\n color: ",";\n }\n"])),p.Ay.mainInfoColor),Y=g.Ay.div(F||(F=(0,i.A)(["\n width: 100%;\n justify-content: flex-end;\n display: inline-flex;\n margin-bottom: 20px;\n"]))),X=a.lazy(()=>Promise.all([n.e(9659),n.e(8340)]).then(n.bind(n,48340))),Z=a.lazy(()=>Promise.resolve().then(n.bind(n,75596))),ee=a.lazy(()=>Promise.all([n.e(5566),n.e(9677),n.e(3443)]).then(n.bind(n,83443))),te=a.lazy(()=>n.e(9561).then(n.bind(n,99561))),ne=a.lazy(()=>n.e(3877).then(n.bind(n,93877))),oe=a.lazy(()=>n.e(3067).then(n.bind(n,53067))),ie=a.lazy(()=>Promise.all([n.e(9149),n.e(2823)]).then(n.bind(n,12823))),re=a.lazy(()=>Promise.all([n.e(9149),n.e(3926),n.e(2493)]).then(n.bind(n,42493))),ae=a.lazy(()=>n.e(3904).then(n.bind(n,83904))),se=a.lazy(()=>n.e(4770).then(n.bind(n,24770))),le=a.lazy(()=>n.e(8696).then(n.bind(n,98696))),de=a.lazy(()=>Promise.resolve().then(n.bind(n,36942))),ce=a.lazy(()=>n.e(8784).then(n.bind(n,8784))),ue=a.lazy(()=>Promise.resolve().then(n.bind(n,95125))),ge=a.lazy(()=>n.e(5428).then(n.bind(n,95428))),pe=a.lazy(()=>Promise.all([n.e(3814),n.e(7315),n.e(661),n.e(1776)]).then(n.bind(n,71776))),he=a.lazy(()=>Promise.resolve().then(n.bind(n,80141))),me=a.lazy(()=>Promise.resolve().then(n.bind(n,66008))),fe=a.lazy(()=>n.e(23).then(n.bind(n,30023))),ve=a.lazy(()=>Promise.all([n.e(9659),n.e(5904)]).then(n.bind(n,25904))),xe=a.lazy(()=>Promise.all([n.e(5566),n.e(9677),n.e(7849)]).then(n.bind(n,57849))),Ae=a.lazy(()=>n.e(1227).then(n.bind(n,41227))),ye=a.lazy(()=>n.e(3349).then(n.bind(n,83349))),be=a.lazy(()=>Promise.all([n.e(9149),n.e(3926)]).then(n.bind(n,72053))),Te=a.lazy(()=>Promise.resolve().then(n.bind(n,75477))),Ie=a.lazy(()=>n.e(1085).then(n.bind(n,1085))),Se=a.lazy(()=>Promise.all([n.e(5566),n.e(9677),n.e(3614)]).then(n.bind(n,13614))),we=a.lazy(()=>Promise.resolve().then(n.bind(n,78803))),Ce=a.lazy(()=>n.e(3814).then(n.bind(n,43814))),ke=a.lazy(()=>n.e(2435).then(n.bind(n,72435))),Ee=a.lazy(()=>Promise.all([n.e(3814),n.e(7315),n.e(4356)]).then(n.bind(n,54356))),je=a.lazy(()=>n.e(4922).then(n.bind(n,32541))),Oe=a.lazy(()=>n.e(5702).then(n.bind(n,65702))),Me=a.lazy(()=>n.e(2659).then(n.bind(n,92659))),Ne=a.lazy(()=>n.e(4884).then(n.bind(n,34884))),Le=a.lazy(()=>n.e(9844).then(n.bind(n,19844))),Pe=a.lazy(()=>n.e(3189).then(n.bind(n,73189))),Re=a.lazy(()=>n.e(5118).then(n.bind(n,65118))),Be=a.lazy(()=>n.e(4628).then(n.bind(n,22247))),De=e=>{const t=(0,f.A1)().getReceptionPageTab(),n=e.trigger,{isMobile:i}=(0,C.A)(),l=(0,x.Es)().user(),c=(0,m.F)();(0,a.useEffect)(()=>{localStorage.getItem("routeBeforeCall")||localStorage.setItem("routeBeforeCall","/")},[window.location.pathname]);const g=r.parse(window.location.search),j=(0,a.useMemo)(()=>({paddingLeft:i?"0":"80px"}),[i]);return(0,O.jsxs)(K,{style:j,children:[e.isOverlayVisible&&(0,O.jsx)(H,{}),i&&(0,O.jsx)(_.Ay,{}),(0,O.jsxs)(a.Suspense,{fallback:(0,O.jsx)(S.A,{children:p.Ay.globalTexts.loadingMessage}),children:[e.profileId&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(I.Ay,{profileId:e.profileId,countryCode:null===l||void 0===l?void 0:l.countrycode,userType:null===l||void 0===l?void 0:l.type}),(0,O.jsx)(I.jA,{profileId:e.profileId,countryCode:null===l||void 0===l?void 0:l.countrycode,userType:null===l||void 0===l?void 0:l.type}),(0,O.jsx)(I.FJ,{profileId:e.profileId,countryCode:null===l||void 0===l?void 0:l.countrycode,userType:null===l||void 0===l?void 0:l.type})]}),(0,O.jsxs)(d.dO,{children:[(0,O.jsx)(d.qh,{path:y.J.home,exact:!0,render:e=>(0,O.jsx)(X,(0,o.A)((0,o.A)({},e),{},{receptionRoute:t,trigger:n}))}),(0,O.jsx)(A.A,{path:y.J.myProfile.root,component:Z}),(0,O.jsx)(d.qh,{path:y.J.help,component:ee}),(0,O.jsx)(d.qh,{path:y.J.rules,component:te}),(0,O.jsx)(d.qh,{path:y.J.termsOfUse,component:ne}),(0,O.jsx)(d.qh,{path:y.J.press,component:Ie}),(0,O.jsx)(A.A,{path:y.J.businessArea.root,component:Se}),(0,O.jsx)(d.qh,{path:y.J.searchResults,component:Ce}),(0,O.jsx)(d.qh,{path:y.J.collections.detail,component:Ee}),(0,O.jsx)(d.qh,{path:y.J.customCollections.detail,component:Ee}),(0,O.jsx)(d.qh,{path:y.J.collections.root,component:ke}),(0,O.jsx)(d.qh,{path:y.J.customCollections.root,component:je}),(0,O.jsx)(d.qh,{path:y.J.hallplan.detail,component:pe}),(0,O.jsx)(d.qh,{path:y.J.hallplan.overview,component:pe}),(0,O.jsx)(A.A,{path:y.J.organization.backoffice,component:we}),(0,O.jsx)(d.qh,{path:y.J.organization.detail,component:oe}),(0,O.jsx)(d.qh,{path:y.J.person.detailPerson,component:ie}),(0,O.jsx)(A.A,{path:y.J.person.detailUser,component:ie}),(0,O.jsx)(d.qh,{path:y.J.eventDate.detail,component:re}),(0,O.jsx)(d.qh,{path:y.J.event.detail,component:E.A}),(0,O.jsx)(d.qh,{path:y.J.product.detail,component:ae}),(0,O.jsx)(d.qh,{path:y.J.news.detail,component:se}),(0,O.jsx)(d.qh,{path:y.J.trademark.detail,component:le}),(0,O.jsx)(d.qh,{path:y.J.joboffer.detail,component:de}),(0,O.jsx)(d.qh,{path:y.J.mediaLibrary.detail,component:ce}),(0,O.jsx)(b.A,{path:y.J.meetings.meeting,component:ue}),(0,O.jsx)(A.A,{path:y.J.meetings.ended,component:ge}),(0,O.jsx)(A.A,{path:y.J.meetings.group,component:h.A}),(0,O.jsx)(A.A,{path:y.J.meetings.root,component:h.A}),(0,O.jsx)(d.qh,{path:y.J.showfloor.root,component:he}),(0,O.jsx)(d.qh,{path:y.J.jobOffers,component:me}),(0,O.jsx)(d.qh,{path:y.J.mediaLibrary.root,component:fe}),(0,O.jsx)(d.qh,{path:y.J.news.root,component:ve}),(0,O.jsx)(d.qh,{path:y.J.coupons,component:xe}),(0,O.jsx)(d.qh,{path:y.J.sponsors,component:Ae}),(0,O.jsx)(d.qh,{path:y.J.mediaPartners,component:ye}),(0,O.jsx)(d.qh,{path:y.J.startups,component:M}),(k.ex||k.ed&&"streamonboarding"===(0,v.c)(g))&&(0,O.jsx)(A.A,{path:y.J.channel.detail,render:()=>(0,O.jsx)(be,(0,o.A)((0,o.A)({},e),{},{forceUpdateScheduleList:e.forceUpdateScheduleList,forceUpdateScheduleListCallback:e.forceUpdateScheduleListCallback}))}),(0,O.jsx)(d.qh,{path:y.J.program.root,render:()=>
1(0,O.jsx)(Te,{forceUpdateScheduleList:e.forceUpdateScheduleList,forceUpdateScheduleListCallback:e.forceUpdateScheduleListCallback})}),(0,O.jsx)(d.qh,{path:y.J.bookmarks.speakers,component:Oe}),(0,O.jsx)(d.qh,{path:y.J.bookmarks.exhibitors,component:Me}),(0,O.jsx)(d.qh,{path:y.J.bookmarks.products,component:Ne}),(0,O.jsx)(d.qh,{path:y.J.bookmarks.trademarks,component:Le}),(0,O.jsx)(d.qh,{path:y.J.bookmarks.news,component:Pe}),(0,O.jsx)(d.qh,{path:y.J.bookmarks.joboffers,component:Re}),(0,O.jsx)(d.qh,{path:y.J.bookmarks.mediaLibrary,component:Be}),(0,O.jsx)(d.qh,{path:y.J.mySchedule,render:()=>(0,O.jsx)(G.A,{forceUpdateScheduleList:e.forceUpdateScheduleList,forceUpdateScheduleListCallback:e.forceUpdateScheduleListCallback})}),(0,O.jsx)(d.qh,{component:T.A})]}),(0,O.jsx)(u(),{when:(e,t)=>{if(!t)return!1;const n=(0,d.B6)(t.pathname,y.J.meetings.meeting);return c.getIsMeetingActive()&&null!==n&&n.params.roomName!==c.getExternalMeetingId()&&!c.getIsMeetingChangeAccepted()},children:e=>{var t;let{onConfirm:n,onCancel:o}=e;return(0,O.jsxs)(J,{show:!0,onHide:o,centered:!0,animation:!1,children:[(0,O.jsxs)(s.A.Header,{children:[(0,O.jsx)(s.A.Title,{className:"d-inline-flex",children:(0,O.jsx)(q,{children:p.Ay.conferenceTexts.changingRoomConfirmationTitle})}),(0,O.jsx)(Q,{onClick:o,children:(0,w.gzW)({fill:p.Ay.recommendModal.closeIconColor,width:"15",height:"15"})})]}),(0,O.jsx)(s.A.Body,{children:p.Ay.conferenceTexts.changingRoomConfirmation}),(0,O.jsx)(s.A.Footer,{children:(0,O.jsxs)(Y,{children:[(0,O.jsx)($,{onClick:o,className:"d-flex align-items-center justify-content-center",children:p.Ay.globalTexts.cancel}),(0,O.jsx)(W,{type:"submit",onClick:()=>{c.setIsMeetingChangeAccepted(!1),n()},className:"d-flex align-items-center justify-content-center",children:null!==(t=p.Ay.conferenceTexts.changingRoomConfirmationAccept)&&void 0!==t?t:p.Ay.globalTexts.confirm})]})})]})}})]})]})}},20482:(e,t,n)=>{n.d(t,{CS:()=>v,Dq:()=>f,GG:()=>T,GI:()=>x,NH:()=>y,PX:()=>g,SF:()=>u,Ti:()=>h,WH:()=>l,Wr:()=>s,en:()=>b,lM:()=>p,nr:()=>d,pw:()=>c,wB:()=>m,wZ:()=>A,yb:()=>I});var o=n(89510),i=n(47564),r=n(44464),a=n(7781);function s(e){if(e)switch(e){case"organization":return i.Ay.exhibitorsPageContent.navigationSearchPlaceholderCompanies;case"trademark":return i.Ay.trademarksPageContent.navigationSearchPlaceholderTrademarks;case"product":return i.Ay.productsPageContent.navigationSearchPlaceholderProducts;case"joboffer":return i.Ay.businessAreaPageContent.navigationSearchPlaceholderJobs;case"news":return i.Ay.newsPageContent.navigationSearchPlaceholderNews;default:return i.Ay.sideIconBar.searchBarPlaceholder}}const l=e=>Object.values(e).some(e=>e&&e.hasMoreData),d=(e,t,n,o)=>{const i=e;i.contentScrollHeight&&(i.contentScrollHeight>i.clientHeight?t(i.scrollTop>0):t(!0),n(i.scrollTop),window.sessionStorage.setItem(o,i.scrollTop.toString()))},c=(e,t,n,o,i)=>[e,JSON.stringify(t.filter(e=>null!==e.alias)),n,o,i].filter(Boolean).join(","),u=(e,t,n,i,r,a,s,l)=>{const d=n.filter(e=>{let{dropdownId:n}=e;return n!==t.id});let c;if(c=null===e?d:Array.isArray(e)?[...d,...e.map(e=>({dropdownId:t.id,alias:e,type:t.type}))]:[...d,{dropdownId:t.id,alias:e,type:t.type}],i(c),r.replace(a,(0,o.A)((0,o.A)({},r.location.state),{},{dropdownFilterParams:c})),s(),!l)return;let u="";c.forEach(e=>{e.alias&&(u+=(e.alias||"_")+"##")}),l(u)},g=(e,t,n,i,r,a)=>{e!==t&&(n(e),i.replace(a,(0,o.A)((0,o.A)({},i.location.state),{},{alpha:e})),r())};function p(e){if(!e)return;const t=i.Ay.exhibitorsPageContent.productTypeTabs.find(t=>{var n;return(null===(n=t.value)||void 0===n?void 0:n.toLowerCase())===e.toLowerCase()});return t?{value:t.value.toLowerCase(),label:t.label,productType:t.productType}:void 0}const h=(e,t)=>{if(!t)return r.J.showfloor.root;if(t.isSponsorsPage)return r.J.sponsors;if(t.isStartupPage)return r.J.startups;if(t.isMediaPartnerPage)return r.J.mediaPartners;if(t.showOnlyBookmarks)switch(t.onlyBookmarksType){case"product":return r.J.bookmarks.products;case"trademark":return r.J.bookmarks.trademarks;case"organization":default:return r.J.bookmarks.exhibitors;case"news":return r.J.bookmarks.news;case"joboffer":return r.J.bookmarks.joboffers}else switch(e){case"product":return r.J.showfloor.products;case"trademark":return r.J.showfloor.trademarks;case"category":return r.J.showfloor.categories;case"customcategory":return r.J.showfloor.customCategories;case"organization":return r.J.showfloor.exhibitors;case"news":return r.J.showfloor.exhibitorNews;case"joboffer":return r.J.showfloor.joboffers;default:const t=p(e);return t?"".concat(r.J.showfloor.root,"/").concat(t.value):r.J.showfloor.root}};function m(e,t,n){const o=[{to:"/",name:i.Ay.sideIconBar.lobbyMenuText,onClick:()=>{null===e||void 0===e||e.setReceptionPageTab("LOBBY")}},{to:"/",name:i.Ay.receptionPage.receptionPageMyHeaderTitle,onClick:()=>{null===e||void 0===e||e.setReceptionPageTab("MY_FAIR")}}];return n&&t&&("organization"===t?o.push({to:"/",name:i.Ay.exhibitorsPageContent.bookmarkedExhibitorsTitle}):"product"===t?o.push({to:"/",name:i.Ay.exhibitorsPageContent.bookmarkedProductsTitle}):"trademark"===t?o.push({to:"/",name:i.Ay.exhibitorsPageContent.bookmarkedTrademarksTitle}):"news"===t?o.push({to:"/",name:i.Ay.exhibitorsPageContent.bookmarkedNewsTitle}):"joboffer"===t&&o.push({to:"/",name:i.Ay.exhibitorsPageContent.bookmarkedJoboffersTitle})),o}function f(e,t,n,i,r,s,l,d,c){if(!c)return;const u=e.get(n).split(",").map(e=>e.replace((0,a.Bw)(n),"")),g=(0,o.A)({},i);for(const a of l){var p;const e=i[a];if(!e)continue;const t=(null===(p=e.entities)||void 0===p?void 0:p.filter(e=>u.includes(e.id)))||[];g[a]=(0,o.A)((0,o.A)({},e),{},{count:t.length,entities:t})}s(!0),r(g),t.replace(d,(0,o.A)((0,o.A)({},t.location.state),{},{results:g}))}
1const v=(e,t,n)=>{var o;const i=t.showOnlyBookmarks||null!==window.location.pathname[1]?x(e,t,n):null!==(o=e.lastVisitedTab)&&void 0!==o?o:x(e,t,n),r=t.isSponsorsPage||t.isMediaPartnerPage||t.isStartupPage?"organization":i;return{entityTypes:[A(r)],entityTypeTemp:r}};function x(e,t,n){let o=i.Ay.exhibitorsPageContent.initialTab;if(!t.isSponsorsPage&&!t.isStartupPage&&!t.isMediaPartnerPage)if(window.location.pathname.endsWith(r.J.showfloor.root)||"organizations"===e.lastVisitedTab)o="organization";else if(window.location.pathname.endsWith(r.J.showfloor.products)||"products"===e.lastVisitedTab)o="product";else if(window.location.pathname.endsWith(r.J.showfloor.trademarks)||"trademarks"===e.lastVisitedTab)o="trademark";else if(window.location.pathname.endsWith(r.J.showfloor.exhibitorNews)||"news"===e.lastVisitedTab)o="news";else if(window.location.pathname.endsWith(i.Ay.exhibitorsPageContent.customCategoriesUrl)||"customcategory"===e.lastVisitedTab)o="customcategory";else if(window.location.pathname.endsWith(r.J.showfloor.categories)||"categories"===e.lastVisitedTab)o="category";else if(window.location.pathname.endsWith(r.J.showfloor.joboffers)||"joboffers"===e.lastVisitedTab)o="joboffer";else{const e=p(window.location.pathname.split("/")[1]);e&&(o=e.value),n&&(o=n)}return t.showOnlyBookmarks&&t.onlyBookmarksType&&("organization"===t.onlyBookmarksType?o="organization":"product"===t.onlyBookmarksType?o="product":"trademark"===t.onlyBookmarksType?o="trademark":"news"===t.onlyBookmarksType?o="news":"joboffer"===t.onlyBookmarksType&&(o="joboffer")),o}function A(e){return p(e)?"product":e}function y(e){return{id:e.id,type:e.type,msc:0}}function b(e){const t=(0,o.A)({},e.jsonData);return!t.entityType||"country"!==t.entityType&&"category"!==t.entityType||delete t.entityType,t.catIds&&!t.catIds.length&&delete t.catIds,t.catId&&""!==t.catId||delete t.catId,t}function T(e){if(e.showOnlyBookmarks&&e.onlyBookmarksType){if("organization"===e.onlyBookmarksType)return i.Ay.receptionPage.noBookmarkedExhibitors;if("product"===e.onlyBookmarksType)return i.Ay.receptionPage.noBookmarkedProducts;if("trademark"===e.onlyBookmarksType)return i.Ay.receptionPage.noBookmarkedTrademarks;if("news"===e.onlyBookmarksType)return i.Ay.receptionPage.noBookmarkedNews;if("joboffer"===e.onlyBookmarksType)return i.Ay.receptionPage.noBookmarkedJoboffers}return i.Ay.receptionPage.noBookmarkedExhibitors}function I(e){if(e.showOnlyBookmarks&&e.onlyBookmarksType){if("organization"===e.onlyBookmarksType)return r.J.showfloor.exhibitors;if("product"===e.onlyBookmarksType)return r.J.showfloor.products;if("trademark"===e.onlyBookmarksType)return r.J.showfloor.trademarks;if("news"===e.onlyBookmarksType)return r.J.showfloor.exhibitorNews;if("joboffer"===e.onlyBookmarksType)return r.J.showfloor.joboffers}return r.J.showfloor.root}},21719:(e,t,n)=>{n.d(t,{e:()=>i});var o=n(44464);function i(e){if(e.location.pathname.includes(o.J.meetings.baseV2)){const t=e.location.pathname.replace(o.J.meetings.baseV2,o.J.meetings.base);e.replace(t)}}},21845:(e,t,n)=>{n.d(t,{$:()=>o});let o=function(e){return e[e.LOCKED=1]="LOCKED",e[e.UNLOCKED=2]="UNLOCKED",e}({})},22023:(e,t,n)=>{n.d(t,{i:()=>i});var o=n(1513);function i(e,t){switch(e){case"call":return"cl_".concat(t||(0,o.A)());case"showroom":return"sr_".concat(t);case"virtualCafe":return"vc_".concat(t);case"calenderEntry":return"ce_".concat(t);case"greenroom":return"gr_".concat(t);case"roundtable":return"rt_".concat(t);case"breakout":return"br_".concat(t);case"conferenceroom":return"cr_".concat(t);default:return""}}},25547:(e,t,n)=>{n.d(t,{gd:()=>c,vH:()=>p,tR:()=>A});var o=n(29015),i=n(64329),r=n(93025),a=n(91953);const s=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:440,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.1;const r=new(window.AudioContext||window.webkitAudioContext),s=r.createGain();s.gain.value=0;const l=r.createOscillator();l.frequency.value=t,l.connect(s);const d=r.createMediaStreamDestination();s.connect(d);const{currentTime:c}=r,u=c+.1;s.gain.linearRampToValueAtTime(0,u),s.gain.linearRampToValueAtTime(i,u
1+o),s.gain.linearRampToValueAtTime(i,u+o+n),s.gain.linearRampToValueAtTime(0,u+2*o+n),l.start();const g=new a.DefaultAudioMixController;(async()=>{if("setSinkId"in HTMLAudioElement.prototype)try{await g.bindAudioDevice({deviceId:e})}catch(t){console.error("Failed to bind audio device",t)}try{await g.bindAudioElement(new Audio)}catch(t){console.error("Failed to bind audio element",t)}})(),g.bindAudioStream(d.stream),new a.TimeoutScheduler(1e3*(2*o+n+1)).start(()=>{r.close()})}},l="virtualGuide-audioInput",d="virtualGuide-audioOutput",c="virtualGuide-videoInput",u="virtualGuide-audioInputs",g="virtualGuide-audioOutputs",p="virtualGuide-videoInputs",h=(0,i.detect)(),m=h&&"browser"===h.type&&"firefox"===h.name;let f=!1,v=!1;const x=(0,o.hH)({videoInputDevices:[],audioInputDevices:[],audioOutputDevices:[],currentVideoInputDevice:null,currentAudioInputDevice:null,currentAudioOutputDevice:null}),A=()=>(e=>({currentAudioInputDevice:()=>e.get().currentAudioInputDevice,currentAudioOutputDevice:()=>e.get().currentAudioOutputDevice,currentVideoInputDevice:()=>e.get().currentVideoInputDevice,audioInputDevices:()=>e.get().audioInputDevices,audioOutputDevices:()=>e.get().audioOutputDevices,videoInputDevices:()=>e.get().videoInputDevices,setAudioInputDevice:(t,n)=>{localStorage.setItem(l,t),e.set(e=>(e.currentAudioInputDevice={value:t,label:n},e))},setAudioOutputDevice:(t,n)=>{localStorage.setItem(d,t),e.set(e=>(e.currentAudioOutputDevice={value:t,label:n},e))},setVideoInputDevice:(t,n)=>{localStorage.setItem(c,t),e.set(e=>(e.currentVideoInputDevice={value:t,label:n},e))},ensureDevices:async()=>{if(f||v)return;v=!0;const t=[],n=[],o=[];let i=null,r=null,a=null,s=!1;try{(await navigator.mediaDevices.getUserMedia({video:!0,audio:!0})).getTracks().length||(s=!0)}catch(x){localStorage.removeItem(p),s=!0,y(x)}try{const e=(await navigator.mediaDevices.enumerateDevices()).filter(e=>""!==e.label);if(e.length){t.push(...e.filter(e=>"videoinput"===e.kind)),localStorage.setItem(p,JSON.stringify(t));const i=[];i.push(...e.filter(e=>"audioinput"===e.kind)),0===i.length?localStorage.removeItem(u):(n.push(...e.filter(e=>"audioinput"===e.kind)),localStorage.setItem(u,JSON.stringify(n)));const r=[];r.push(...e.filter(e=>"audiooutput"===e.kind)),0===r.length?localStorage.removeItem(g):(o.push(...e.filter(e=>"audiooutput"===e.kind)),localStorage.setItem(g,JSON.stringify(o)))}else localStorage.removeItem(p),localStorage.removeItem(u),localStorage.removeItem(g)}catch(x){y(x)}if(n.length){const e=localStorage.getItem(l),t=n.findIndex(t=>t.deviceId===e&&"audioinput"===t.kind),o=-1===t?0:t;n[o]&&(r={value:n[o].deviceId,label:n[o].label})}if(t.length&&!s){var h;const e=localStorage.getItem(c),n=t.findIndex(t=>t.deviceId===e&&"videoinput"===t.kind),o=-1===n?0:n;t[o]&&(i={value:t[o].deviceId,label:t[o].label}),localStorage.setItem(c,null===(h=i)||void 0===h?void 0:h.value)}if(!m&&o.length){const e=localStorage.getItem(d),t=o.findIndex(t=>t.deviceId===e&&"audiooutput"===t.kind),n=-1===t?0:t;o[n]&&(a={value:o[n].deviceId,label:o[n].label})}e.set({videoInputDevices:t,audioInputDevices:n,audioOutputDevices:o,currentVideoInputDevice:i,currentAudioInputDevice:r,currentAudioOutputDevice:a}),f=!0},testCurrentAudioOutputDevice:()=>{var t;new s((null===(t=e.value.currentAudioOutputDevice)||void 0===t?void 0:t.value)||"",440,2)},hasAudioInputPermission:()=>e.value.audioInputDevices.length>0,hasVideoInputPermission:()=>e.value.videoInputDevices.length>0}))((0,o.mO)(x));function y(e){console.error(e),r.Um.error({message:"ChimeSdkWrapper "+e.name,errorMessage:e.message,errorStack:e.stack})}},33779:(e,t,n)=>{n.d(t,{S:()=>l});var o=n(47564),i=n(82225),r=n(72792),a=n(16221),s=n(96081);function l(e){const t=e.isLocalTileVisible?o.Ay.conferenceTexts.hideLocalTileLabel:o.Ay.conferenceTexts.showLocalTileLabel;return(0,s.jsx)(i.A,{id:"people-tooltip",placement:"top",title:t,children:(0,s.jsx)(a.A,{onClick:e.handleClick,isLocalTileVisible:e.isLocalTileVisible,children:e.isLocalTileVisible?(0,s.jsx)(r.AGO,{fill:"#fff",width:"12px",height:"12px"}):(0,s.jsx)(r.LIv,{fill:"#fff",width:"12px",height:"12px"})})})}},34185:(e,t,n)=>{n.d(t,{S:()=>i});var o=n(47564);const i=e=>({primaryButtonBorderColor:o.Ay.conferenceRoomTheme[e].primaryButtonBorderColor,primaryButtonBorderHoverColor:o.Ay.conferenceRoomTheme[e].primaryButtonBorderHoverColor,primaryButtonBackgroun
1dColor:o.Ay.conferenceRoomTheme[e].primaryButtonBackgroundColor,primaryButtonBackgroundHoverColor:o.Ay.conferenceRoomTheme[e].primaryButtonBackgroundHoverColor,primaryButtonTextColor:o.Ay.conferenceRoomTheme[e].primaryButtonTextColor,primaryButtonTextHoverColor:o.Ay.conferenceRoomTheme[e].primaryButtonTextHoverColor})},35103:(e,t,n)=>{n.d(t,{fy:()=>v,j0:()=>m,nf:()=>f,sC:()=>h});var o,i,r,a,s,l,d,c,u,g=n(7737),p=n(31274);const h=p.Ay.div(o||(o=(0,g.A)(["\n background-color: #37383a;\n height: 100%;\n width: 100%;\n position: relative;\n margin: 0;\n\n /* Raised hand border */\n ","\n\n /* Speaking border */\n ","\n"])),e=>e.isHandRaised&&(0,p.AH)(i||(i=(0,g.A)(["\n -webkit-box-shadow: inset 0px 0px 0px 3px rgba(238, 203, 17, 1);\n -moz-box-shadow: inset 0px 0px 0px 3px rgba(238, 203, 17, 1);\n box-shadow: inset 0px 0px 0px 3px rgba(238, 203, 17, 1);\n "]))),e=>e.isSpeaking&&!e.isHandRaised&&(0,p.AH)(r||(r=(0,g.A)(["\n -webkit-box-shadow: inset 0px 0px 0px 3px rgba(93, 177, 48, 1);\n -moz-box-shadow: inset 0px 0px 0px 3px rgba(93, 177, 48, 1);\n box-shadow: inset 0px 0px 0px 3px rgba(93, 177, 48, 1);\n transition: opacity 0.3s ease-in-out;\n "])))),m=(p.Ay.div(a||(a=(0,g.A)([""]))),p.Ay.div(s||(s=(0,g.A)(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n\n // Currently not in use\n /* Raised hand border */\n ","\n\n /* Speaking border */\n ","\n"])),e=>e.isHandRaised&&e.showAvatarBorderAnimations&&(0,p.AH)(l||(l=(0,g.A)(["\n border: 3px solid #eecb11;\n box-shadow: 0px -1px 42px 0px rgba(238, 203, 17, 0.5);\n -webkit-box-shadow: 0px -1px 42px 0px rgba(238, 203, 17, 0.5);\n -moz-box-shadow: 0px -1px 42px 0px rgba(238, 203, 17, 0.5);\n "]))),e=>e.showAvatarBorderAnimations&&e.isSpeaking&&!e.isHandRaised&&(0,p.AH)(d||(d=(0,g.A)(["\n border: 3px solid #5db130;\n box-shadow: 0px -1px 42px 0px rgba(93, 177, 48, 0.5);\n -webkit-box-shadow: 0px -1px 42px 0px rgba(93, 177, 48, 0.5);\n -moz-box-shadow: 0px -1px 42px 0px rgba(93, 177, 48, 0.5);\n "]))))),f=p.Ay.div(c||(c=(0,g.A)(["\n color: #fff;\n position: absolute;\n left: 10px;\n bottom: 10px;\n border-radius: 5px;\n background-color: #202428;\n font-size: 14px;\n line-height: 17px;\n padding: 3px 3px 3px 6px;\n display: flex;\n flex-direction: row;\n align-items: center;\n\n /* Not used anymore, but was used for MicrophoneActivity\n icon which is now replaced in the Attendees list */\n .activity {\n width: 23px;\n display: inline-block;\n\n .ch-bg-volume-wrapper {\n width: 23%;\n left: 36%;\n }\n .ch-bg-volume-fill {\n background-color: #5db130;\n }\n }\n\n .hand {\n fill: #eecb11;\n\n path {\n fill: #eecb11;\n }\n }\n"]))),v=p.Ay.div(u||(u=(0,g.A)(["\n margin-left: 3px;\n"])))},35750:(e,t,n)=>{n.d(t,{u:()=>o});let o=function(e){return e[e.PREPARING=1]="PREPARING",e[e.ON_AIR=2]="ON_AIR",e[e.OFF_AIR=3]="OFF_AIR",e}({})},37038:(e,t,n)=>{n.d(t,{$:()=>i});var o=n(44464);function i(){return window.location.pathname.includes(o.J.meetings.base)}},39648:(e,t,n)=>{n.d(t,{A:()=>k});var o,i,r,a,s,l=n(35725),d=n(15669),c=n(47564),u=n(92971),g=n(95040),p=n(72792),h=n(95125),m=n(7737),f=n(31274);const v=f.Ay.div(o||(o=(0,m.A)(["\n background-color: #37383a;\n display: flex;\n justify-content: center;
1\n align-items: center;\n"]))),x=f.Ay.div(i||(i=(0,m.A)(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n border-radius: 50%;\n\n /* Raised hand border */\n ","\n\n /* Speaking border */\n ","\n"])),e=>e.isHandRaised&&(0,f.AH)(r||(r=(0,m.A)(["\n border: 3px solid #eecb11;\n box-shadow: 0px -1px 42px 0px rgba(238, 203, 17, 0.5);\n -webkit-box-shadow: 0px -1px 42px 0px rgba(238, 203, 17, 0.5);\n -moz-box-shadow: 0px -1px 42px 0px rgba(238, 203, 17, 0.5);\n "]))),e=>e.isSpeaking&&!e.isHandRaised&&(0,f.AH)(a||(a=(0,m.A)(["\n border: 3px solid #5db130;\n box-shadow: 0px -1px 42px 0px rgba(93, 177, 48, 0.5);\n -webkit-box-shadow: 0px -1px 42px 0px rgba(93, 177, 48, 0.5);\n -moz-box-shadow: 0px -1px 42px 0px rgba(93, 177, 48, 0.5);\n "])))),A=f.Ay.div(s||(s=(0,m.A)(["\n color: #fff;\n position: absolute;\n left: 10px;\n bottom: 10px;\n border-radius: 5px;\n background-color: #202428;\n font-size: 14px;\n line-height: 17px;\n padding: 3px 3px 3px 6px;\n\n .activity {\n width: 23px;\n display: inline-block;\n\n .ch-bg-volume-wrapper {\n width: 23%;\n left: 36%;\n }\n .ch-bg-volume-fill {\n background-color: #5db130;\n }\n }\n\n .hand {\n fill: #eecb11;\n\n path {\n fill: #eecb11;\n }\n }\n\n svg {\n margin-right: 3px;\n }\n"])));var y=n(96081);const b=function(){var e,t,n,o,i,r,a,s;const m=(0,u.Es)(),{firstName:f,lastName:b}=m.user(),T=null===(e=(0,u.Es)())||void 0===e||null===(t=e.user())||void 0===t?void 0:t.logoUrl,I=(0,l.GYC)(),S=(0,d.useContext)(h.RaisedHandContext),[w,C]=(0,d.useState)(null===(n=I.meetingSession)||void 0===n||null===(o=n.configuration.credentials)||void 0===o?void 0:o.attendeeId);return(0,d.useEffect)(()=>{var e,t;C(null===(e=I.meetingSession)||void 0===e||null===(t=e.configuration.credentials)||void 0===t?void 0:t.attendeeId)},[null===(i=I.meetingSession)||void 0===i||null===(r=i.configuration.credentials)||void 0===r?void 0:r.attendeeId]),(0,y.jsxs)(v,{children:[(0,y.jsx)(x,{isHandRaised:!1,isSpeaking:!1,children:(0,y.jsx)(g.v9,{size:50,badgesize:500,alt:(0,u.IM)(f,b),src:T,backgroundSize:"cover",type:"person"})}),(0,y.jsxs)(A,{children:[S&&S.includes((null===(a=I.meetingSession)||void 0===a||null===(s=a.configuration.credentials)||void 0===s?void 0:s.externalUserId)||"")&&(0,y.jsx)(p.Nac,{height:"18px",width:"18px"}),c.Ay.conferenceTexts.localVideoLabel,w&&(0,y.jsx)(l.glU,{className:"activity",attendeeId:w})]})]})};var T=n(16221),I=n(82198);const S=function(){var e,t,n,o;const i=(0,l.GYC)(),[r]=(0,d.useState)(null===(e=i.meetingSession)||void 0===e||null===(t=e.configuration.credentials)||void 0===t?void 0:t.attendeeId),a=(0,d.useContext)(h.RaisedHandContext),[s,u]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{(0,I.F)();const e=setTimeout(()=>{u(!0)},1e3);return function(){clearTimeout(e)}},[]),i.meetingStatus!==l.e0s.Succeeded?null:(0,y.jsxs)(T.f,{children:[s&&(0,y.jsx)(l.fIy,{}),(0,y.jsxs)(A,{children:[a&&a.includes((null===(n=i.meetingSession)||void 0===n||null===(o=n.configuration.credentials)||void 0===o?void 0:o.externalUserId)||"")&&(0,y.jsx)(p.Nac,{height:"18px",width:"18px"}),c.Ay.conferenceTexts.localVideoLabel,(0,y.jsx)(l.glU,{className:"activity",attendeeId:r||""})]})]})};var w;const C=f.Ay.div(w||(w=(0,m.A)(["\n font-family: ",";\n width: 200px;\n height: ",";\n position: absolute;\n right: 15px;\n bottom: 115px;\n background-color: #37383a;\n border: ",";\n z-index: 10;\n overflow: hidden;\n"])),c.Ay.font1,e=>e.isLocalTileVisibleToUser?"150px":"0px",e=>e.isLocalTileVisibleToUser?"1px solid #000":"none");const k=function(e){const{isVideoEnabled:t}=(0,l.oCg)();return(0,y.jsx)(C,{isLocalTileVisibleToUser:e.isLocalTileVisibleToUser,children:t?(0,y.jsx)(S,{}):(0,y.jsx)(b,{})})}},42848:(e,t,n)=>{n.d(t,{Ay:()=>Ne});var o,i,r,a,s=n(27623),l=n(35725),d=n(15669),c=n(47564),u=n(92971),g=n(72792),p=n(95125),h=n(35103),m=n(7737),f=n(31274);const v=f.Ay.div(o||(o=(0,m.A)(["\n display: flex;\n flex-direction: column;\n position: relative;\n padding: 3px;\n video {\n object-fit: contain !important;\n }\n width: 100%;\n height: 100%;\n\n /* implement this with outline */\n"]))),x=f.Ay.div(i||(i=(0,m.A)(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10;\n\n /* Raised hand border */\n ","\n\n /* Speaking border */\n ","\n"])),e=>e.isHandRaised&&(0,f.AH)(r||(r=(0,m.A)(["\n outline: 3px solid #eecb11;\n "]))),e=>e.isSpeaking&&!e.isHandRaised&&(0,f.AH)(a||(a=(0,m.A)(["\n outline: 3px solid #5db130;\n "]))));var A=n(82198),y=n(96081);const b=function(e){const{attendee:t}=e,n=(0,d.useContext)(p.RaisedHandContext),{muted:o}=(0,l.Y$K)(t.chimeAttendeeId),i=(0,l.b7G)();return(0,d.useEffect)(()=>{(0,A.F)()},[]),(0,y.jsx)(v,{children:(0,y.jsxs)(x,{isHandRaised:n&&n.includes(t.id),isSpeaking:!o&&i&&i.indexOf(t.chimeAttendeeId)>-1||!1,children:[(0,y.jsx)(l.AWB,{tileId:e.tileId},e.tileId),(0,y.jsxs)(h.nf,{children:[n&&n.includes(t.id)&&(0,y.jsx)(g.Nac,{height:"18px",width:"18px"}),(0,y.jsx)(h.fy,{children:t.name}),(0,y.jsx)(l.glU,{className:"activity",attendeeId:t.chimeAttendeeId})]})]})})};var T,I;const S=f.Ay.div(T||(T=(0,m.A)(["\n height: 100%;\n width: 100%;\n position: relative;\n"]))),w=f.Ay.div(I||(I=(0,m.A)(["\n width: 200px;\n height: 150px;\n background-color: green;\n position: absolute;\n bottom: 5px;\n left: 15px;\n z-index: 10;\n"])));function C(e){const{tileId:t,attendee:n}=e;return(0,y.jsx)(w,{children:n&&(0,y.jsx)(b,{attendee:n,tileId:t})})}const k=function(){const{tiles:e,attendeeIdToTileId:t}=(0,l.CHz)(),{sharingAttendeeId:n}=(0,l.TDp)(),{roster:o}=(0,l.Abl)(),[i,r]=(0,d.useState)(Object.values(o)),[a,s]=(0,d.useState)(i.filter(e=>e.chimeAttendeeId===(null===n||void 0===n?void 0:n.replace("#content","")))[0]);return(0,d.useEffect)(()=>{r(Object.values(o))},[o]),(0,d.useEffect)(()=>{s(i.filter(e=>e.chimeAttendeeId===(null===n||void 0===n?void 0:n.replace("#content","")))[0])},[i,n,o,t,e]),(0,y.jsxs)(S,{children:[(0,y.jsx)(l.Pdl,{}),e.map(e=>e===t[(null===n||void 0===n?void 0:n.replace("#content",""))||""]&&(0,y.jsx)(C,{attendee:a,tileId:e}))]})};var E=n(95040);const j=function(e){var t,n,o,i,r,a;const{attendee:s}=e,{muted:c}=(0,l.Y$K)(null!==(t=s.chimeAttendeeId)&&void 0!==t?t:""),m=(0,l.b7G)(),f=(0,d.useContext)(p.RaisedHandContext);return(0,y.jsxs)(h.sC,{isHandRaised:f&&f.includes(null!==(n=s.id)&&void 0!==n?n:""),isSpeaking:!c&&m&&m.indexOf(null!==(o=s.chimeAttendeeId)&&void 0!==o?o:"")>-1||!1,children:[(0,y.jsx)(h.j0,{isHandRaised:f&&f.includes(null!==(i=s.id)&&void 0!==i?i:""),isSpeaking:!c&&m&&m.indexOf(null!==(r=s.chimeAttendeeId)&&void 0!==r?r:"")>-1||!1,children:(0,y.jsx)(E.v9,{size:80,badgesize:80,alt:(0,u.IM)(s.name),src:s.avatarUrl,backgroundSize:"cover",type:"person"})}),(0,y.jsxs)(h.nf,{children:[f&&f.includes(null!==(a=s.id)&&void 0!==a?a:"")&&(0,y.jsx)(g.Nac,{height:"18px",width:"18px"}),(0,y.jsx)(h.fy,{children:s.name}),(0,y.jsx)(l.tmR,{muted:c,width:"25px",height:"25px"})]})]})};var O;const M=f.Ay.div(O||(O=(0,m.A)(["\n color: #fff;\n height: 100%;\n width: 100%;\n"])));
1const N=function(e){const{attendee:t,tileId:n,isVideoTile:o}=e;return(0,y.jsx)(M,{children:o?(0,y.jsx)(b,{attendee:t,tileId:n}):(0,y.jsx)(j,{attendee:t,tileId:n})},n)};var L,P,R,B,D,U=n(89510),V=n(14792);const F={error:"#B5321A",success:"#067000",info:"#727272",warning:"#FFDD55"},_=f.Ay.div(L||(L=(0,m.A)(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 50;\n left: 0;\n z-index: 20;\n font-family: ",";\n"])),c.Ay.font1),G=f.Ay.div(P||(P=(0,m.A)(["\n width: 100%;\n background-color: ",";\n color: ",";\n height: 60px;\n text-align: center;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px;\n position: relative;\n margin-bottom: 3px;\n font-size: 12px;\n line-height: 16px;\n"])),e=>e.severity?F[e.severity]:F.warning,e=>"warning"===e.severity?"#000":"#fff"),z=f.Ay.div(R||(R=(0,m.A)(["\n display: flex;\n"]))),J=f.Ay.div(B||(B=(0,m.A)(["\n cursor: pointer;\n position: absolute;\n right: 15px;\n margin-top: auto;\n width: 20px;\n"]))),H=f.Ay.div(D||(D=(0,m.A)(["\n margin-right: 15px;\n display: inline;\n"])));const K=function(e){var t;const n=(0,l.dqp)(),{notifications:o}=(0,l.IBV)(),[i,r]=(0,d.useState)(null!==(t=c.Ay.greenroomGoLiveFollowupDelaySec)&&void 0!==t?t:10);let a=e.message;"CHANNEL_GOING_ON_AIR"===e.type&&(a+=" "+i),(0,d.useEffect)(()=>{e.autoCloseDelay&&setTimeout(()=>{n({type:l.X2v.REMOVE,payload:e.id})},e.autoCloseDelay),e.replaceAll&&o.forEach(t=>{t.id!==e.id&&n({type:l.X2v.REMOVE,payload:t.id})})},[e.autoCloseDelay]),(0,d.useEffect)(()=>{if("CHANNEL_GOING_ON_AIR"!==e.type)return;const t=setInterval(()=>{i<=0?clearInterval(t):r(e=>e-1)},1e3);return()=>{clearInterval(t)}},[]);const s=(0,y.jsx)(g.uK_,{fill:"#F61C0D",width:"10",height:"10",customStyle:"margin-bottom: 2px;"});return(0,y.jsxs)(G,{severity:e.severity,children:[(0,y.jsxs)(z,{children:[(0,y.jsx)(H,{children:"RECORDING_STARTED"===e.type?s:e.icon}),a,e.button]}),e.isClosable?(0,y.jsx)(J,{onClick:()=>{n({type:l.X2v.REMOVE,payload:e.id}),e.onClose&&e.onClose()},children:(0,y.jsx)(g.Cyx,{fill:"#fff",width:"15px",height:"15px"})}):null]})},q=["id","message","severity","autoCloseDelay","replaceAll","type"],$=()=>{const e=[...new Set((0,l.IBV)().notifications)].map(e=>{let{id:t,message:n,severity:o,autoCloseDelay:i,replaceAll:r,type:a}=e,s=(0,V.A)(e,q);return(0,y.jsx)(K,(0,U.A)({id:t,message:n,severity:o,autoCloseDelay:i,replaceAll:r,type:a},s),t)});return(0,y.jsx)(y.Fragment,{children:e})},W=()=>(0,y.jsx)(_,{children:(0,y.jsx)($,{})});var Q,Y,X,Z,ee,te,ne;const oe=f.Ay.div(Q||(Q=(0,m.A)(["\n color: #fff;\n height: 100%;\n width: 100%;\n position: relative;\n font-family: ",";\n"])),c.Ay.font1),ie=f.Ay.div(Y||(Y=(0,m.A)(["\n height: calc(100vh - 212px); // 100vh - (Controlls height 150px + Breadcrumb height 62px)\n display: grid;\n grid-gap: 5px;\n grid-row-gap: 5px;\n padding: 5px 5px 15px 5px;\n\n &.videos-1 {\n grid-template-columns: 1fr;\n grid-template-rows: repeat(1, 100%);\n }\n &.videos-2 {\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(1, 100%);\n }\n &.videos-3 {\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 50%);\n & > :nth-child(1) {\n grid-column: 1 / span 2;\n }\n }\n &.videos-4 {\n grid-template-columns: repeat(2, 1fr);\n grid-template-rows: repeat(2, 50%);\n }\n &.videos-5 {\n grid-template-columns: repeat(6, 1fr);\n grid-template-rows: repeat(2, 50%);\n & > :nth-child(1) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(2) {\n grid-column: 4 / span 3;\n }\n & > :nth-child(3) {\n grid-column: 1 / span 2;\n }\n & > :nth-child(4) {\n grid-column: 3 / span 2;\n }\n & > :nth-child(5) {\n grid-column: 5 / span 2;\n }\n }\n &.videos-6 {\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(2, 50%);\n }\n &.videos-7 {\n grid-template-columns: repeat(6, 1fr);\n grid-template-rows: repeat(3, 33.33%);\n & > :nth-child(1),\n & > :nth-child(3) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(2),\n & > :nth-child(4) {\n grid-column: 4 / span 3;\n }\n & > :nth-child(5) {\n grid-column: 1 / span 2;\n }\n & > :nth-child(6) {\n grid-column: 3 / span 2;\n }\n & >
1 :nth-child(7) {\n grid-column: 5 / span 2;\n }\n }\n &.videos-8 {\n grid-template-columns: repeat(6, 1fr);\n grid-template-rows: repeat(3, 33.33%);\n & > :nth-child(1),\n & > :nth-child(6) {\n grid-column: 1 / span 2;\n }\n & > :nth-child(2),\n & > :nth-child(7) {\n grid-column: 3 / span 2;\n }\n & > :nth-child(3),\n & > :nth-child(8) {\n grid-column: 5 / span 2;\n }\n & > :nth-child(4) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(5) {\n grid-column: 4 / span 3;\n }\n }\n &.videos-9 {\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(3, 33.33%);\n }\n &.videos-10 {\n grid-template-columns: repeat(12, 1fr);\n grid-template-rows: repeat(3, 33.33%);\n & > :nth-child(1),\n & > :nth-child(4) {\n grid-column: 1 / span 4;\n }\n & > :nth-child(2),\n & > :nth-child(5) {\n grid-column: 5 / span 4;\n }\n & > :nth-child(3),\n & > :nth-child(6) {\n grid-column: 9 / span 4;\n }\n & > :nth-child(7) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(8) {\n grid-column: 4 / span 3;\n }\n & > :nth-child(9) {\n grid-column: 7 / span 3;\n }\n & > :nth-child(10) {\n grid-column: 10 / span 3;\n }\n }\n &.videos-11 {\n grid-template-columns: repeat(12, 1fr);\n grid-template-rows: repeat(3, 33.33%);\n & > :nth-child(1) {\n grid-column: 1 / span 4;\n }\n & > :nth-child(2) {\n grid-column: 5 / span 4;\n }\n & > :nth-child(3) {\n grid-column: 9 / span 4;\n }\n & > :nth-child(4),\n & > :nth-child(8) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(5),\n & > :nth-child(9) {\n grid-column: 4 / span 3;\n }\n & > :nth-child(6),\n & > :nth-child(10) {\n grid-column: 7 / span 3;\n }\n & > :nth-child(7),\n & > :nth-child(11) {\n grid-column: 10 / span 3;\n }\n }\n &.videos-12 {\n grid-template-columns: repeat(4, 1fr);\n grid-template-rows: repeat(3, 33.33%);\n }\n &.videos-13 {\n grid-template-columns: repeat(12, 1fr);\n grid-template-rows: repeat(4, 25%);\n & > :nth-child(1) {\n grid-column: 1 / span 6;\n }\n & > :nth-child(2) {\n grid-column: 7 / span 6;\n }\n & > :nth-child(3) {\n grid-column: 1 / span 4;\n }\n & > :nth-child(4) {\n grid-column: 5 / span 4;\n }\n & > :nth-child(5) {\n grid-column: 9 / span 4;\n }\n & > :nth-child(6),\n & > :nth-child(10) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(7),\n & > :nth-child(11) {\n grid-column: 4 / span 3;\n }\n & > :nth-child(8),\n & > :nth-child(12) {\n grid-column: 7 / span 3;\n }\n & > :nth-child(9),\n & > :nth-child(13) {\n grid-column: 10 / span 3;\n }\n }\n &.videos-14 {\n grid-template-columns: repeat(12, 1fr);\n grid-template-rows: repeat(4, 25%);\n & > :nth-child(1),\n & > :nth-child(4) {\n grid-column: 1 / span 4;\n }\n & > :nth-child(2),\n & > :nth-child(5) {\n grid-column: 5 / span 4;\n }\n & > :nth-child(3),\n & > :nth-child(6) {\n grid-column: 9 / span 4;\n }\n & > :nth-child(7),\n & > :nth-child(11) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(8),\n & > :nth-child(12) {\n grid-column: 4 / span 3;\n }\n & > :nth-child(9),\n & > :nth-child(13) {\n grid-column: 7 / span 3;\n }\n & > :nth-child(10),\n & > :nth-child(14) {\n grid-column: 10 / span 3;\n }\n }\n &.videos-15 {\n grid-template-columns: repeat(12, 1fr);\n grid-template-rows: repeat(4, 25%);\n & >
1 :nth-child(1) {\n grid-column: 1 / span 4;\n }\n & > :nth-child(2) {\n grid-column: 5 / span 4;\n }\n & > :nth-child(3) {\n grid-column: 9 / span 4;\n }\n & > :nth-child(4),\n & > :nth-child(8),\n & > :nth-child(12) {\n grid-column: 1 / span 3;\n }\n & > :nth-child(5),\n & > :nth-child(9),\n & > :nth-child(13) {\n grid-column: 4 / span 3;\n }\n & > :nth-child(6),\n & > :nth-child(10),\n & > :nth-child(14) {\n grid-column: 7 / span 3;\n }\n & > :nth-child(7),\n & > :nth-child(11),\n & > :nth-child(15) {\n grid-column: 10 / span 3;\n }\n }\n &.videos-16 {\n grid-template-columns: repeat(4, 1fr);\n grid-template-rows: repeat(4, 25%);\n }\n"]))),re=f.Ay.div(X||(X=(0,m.A)(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n"]))),ae=f.Ay.div(Z||(Z=(0,m.A)(["\n width: 100%;\n position: absolute;\n z-index: 20;\n background-color: #202428;\n height: 25px;\n text-align: center;\n display: flex;\n justify-content: center;
1\n align-items: center;\n"]))),se=f.Ay.div(ee||(ee=(0,m.A)(["\n display: flex;\n justify-content: center;\n align-items: space-around;\n"]))),le=f.Ay.div(te||(te=(0,m.A)(["\n cursor: pointer;\n color: ",";\n"])),e=>e.disabled?"grey":"#fff"),de=f.Ay.div(ne||(ne=(0,m.A)(["\n font-size: 16px;\n margin: 0 8px 0 8px;\n"])));var ce,ue=n(35750),ge=n(15805),pe=n(94603),he=n(89519),me=n(12936);const fe=f.Ay.div(ce||(ce=(0,m.A)(["\n background-color: ",";\n border-radius: 3px;\n color: ",";\n padding: 3px;\n text-align: center;\n width: auto;\n max-width: 150px;\n height: 30px;\n font-size: 16px;\n line-height: 23px;\n"])),e=>e.isLive?"rgba(255, 255, 255, 0.5)":"rgba(114, 114, 114, 0.5)",e=>e.isLive?"#000":"#fff");var ve,xe;const Ae=f.Ay.div(ve||(ve=(0,m.A)(["\n display: inline-block;\n\n .animatePoint {\n animation: fadeInFadeOut 2s infinite linear;\n }\n\n @keyframes fadeInFadeOut {\n 0% {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n }\n"]))),ye=f.Ay.div(xe||(xe=(0,m.A)(["\n border-radius: 50%;\n width: 10px;\n height: 10px;\n background-color: #e30613;\n margin-left: 5px;\n"])));const be=function(){return(0,y.jsx)(Ae,{children:(0,y.jsx)(ye,{className:"animatePoint"})})};const Te=function(){const e=(0,pe.N)(),t=(0,he.F)(),n=e.channelStatus,[o,i]=(0,d.useState)(n===ue.u.ON_AIR),r=(0,l.GYC)();return(0,s.Dl)(n,()=>{i(n===ue.u.ON_AIR)}),(0,d.useEffect)(()=>{var e;null===(e=r.audioVideo)||void 0===e||e.realtimeSubscribeToReceiveDataMessage((0,ge.I)(t.getExternalMeetingId()),e=>{const t=e.json(),n=t.type;n&&n===me.a.CHANNEL_STATUS&&i(t.data===ue.u.ON_AIR)})},[r.audioVideo]),"greenroom"!==t.getMeetingKind()?null:(0,y.jsx)(y.Fragment,{children:o?(0,y.jsxs)(fe,{isLive:!0,children:[c.Ay.conferenceTexts.onAirMessage," ",(0,y.jsx)(be,{})]}):(0,y.jsx)(fe,{isLive:!0,children:c.Ay.conferenceTexts.currentlyNotLiveMessage})})};var Ie;const Se=f.Ay.div(Ie||(Ie=(0,m.A)(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 12;\n background-color: transparent;\n padding: 25px;\n pointer-events: none;\n"])));function we(){return(0,y.jsx)(Se,{children:(0,y.jsx)(Te,{})})}const Ce=16;const ke=(e,t,n)=>{const o=[...e];return o.forEach(e=>{e.score=Ee(e,t,n)}),o},Ee=(e,t,n)=>{let o=0;return e.chimeAttendeeId&&n.includes(e.chimeAttendeeId)&&(o+=2),e.chimeAttendeeId&&t.includes(e.chimeAttendeeId)&&(o+=1),o},je=(e,t,n)=>n.filter(e=>!t.includes(e)).map(t=>e.findIndex(e=>e.chimeAttendeeId===t)).some(e=>e>=Ce),Oe=(e,t)=>e.length>Ce?"videos-".concat(e.slice((t-1)*Ce,t*Ce).length.toString()):"videos-".concat(e.length.toString()),Me=(e,t)=>Object.values(e).filter(e=>!(0,p.isRecorder)(e)&&e.externalUserId&&!t.isLoggedInUser(e.externalUserId)),Ne=function(){const{roster:e}=(0,l.Abl)(),t=(0,u.Es)(),n=Me(e,t),o=n.map(e=>{var t;return(null!==(t=e.chimeAttendeeId)&&void 0!==t?t:"")+e.name}),[i,r]=(0,d.useState)(n),[a,p]=(0,d.useState)(!1),[h,m]=(0,d.useState)(1),[f,v]=(0,d.useState)(Math.ceil(i.length/Ce)),{sharingAttendeeId:x}=(0,l.TDp)(),A=Oe(i,h),{attendeeIdToTileId:b}=(0,l.CHz)(),T=Object.keys(b),I=(0,l.b7G)(),[S,w]=(0,d.useState)({attendees:n.length,cameras:T.length,mics:I});return(0,s.Dl)(JSON.stringify(o)+JSON.stringify(T)+JSON.stringify(I),()=>{const e=!n.some(e=>!e.name);p(e);const t=je(i,S.mics,I);S.attendees===n.length&&S.cameras===T.length&&!t&&a||!e||(w({attendees:n.length,cameras:T.length,mics:I}),r(ke(n,I,T).sort((e,t)=>t.score-e.score)))}),(0,d.useEffect)(()=>{(()=>{v(Math.ceil(i.length/Ce));const e=i.length%Ce===0;m(e&&h>1&&h<f?e=>e-1:1)})()},[i]),(0,y.jsxs)(oe,{children:[(0,y.jsx)(W,{}),(0,y.jsx)(we,{}),!x&&i.length>=1&&(0,y.jsx)(ie,{className:A,children:i.slice((h-1)*Ce,h*Ce).map((e,t)=>{var n,o,i;return(0,y.jsx)(N,{attendee:e,isVideoTile:T.includes(null!==(n=e.chimeAttendeeId)&&void 0!==n?n:""),tileId:null!==(o=b[null!==(i=e.chimeAttendeeId)&&void 0!==i?i:""])&&void 0!==o?o:e.chimeAttendeeId},e.chimeAttendeeId?e.chimeAttendeeId:t)})}),x&&(0,y.jsx)(k,{}),!x&&i.length<1&&(0,y.jsx)(re,{children:c.Ay.conferenceTexts.noAttendees}),i.length>Ce&&!x&&(0,y.jsx)(ae,{children:(0,y.jsxs)(se,{children:[(0,y.jsx)(le,{disabled:1===h,onClick:()=>
1{1!==h&&m(h-1)},children:(0,y.jsx)(g.Fen,{width:"10",height:"10"})}),(0,y.jsx)(de,{children:"".concat(h," / ").concat(f)}),(0,y.jsx)(le,{disabled:h===f,onClick:()=>{h!==f&&m(h+1)},children:(0,y.jsx)(g.Y_s,{width:"10",height:"10"})})]})})]})}},45193:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(15669),i=n(96081);function r(e){const t=(0,o.useRef)(null);var n,r;return n=t,r=e.onClickOutside,(0,o.useEffect)(()=>{function e(e){n.current&&!n.current.contains(e.target)&&r()}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[n,r]),(0,i.jsx)("div",{ref:t,children:e.children})}},47468:(e,t,n)=>{n.d(t,{G:()=>A});var o=n(29015),i=n(9900),r=n(22269),a=n(47564),s=n(93025),l=n(92971),d=n(19622),c=n(83590),u=n(71739),g=n(22035),p=n(81860),h=n(22023);const m=[];let f,v;const x=(0,o.hH)({outgoingInvites:[],incomingInvites:[],participationHistory:[],invitationType:null,acceptanceType:null,isLoadingParticipationHistory:!0}),A=()=>(e=>{const t=(0,l.Es)(),{joinMeetingWithFullPath:n}=(0,g.S)(),o=(0,s.A1)(),A=(0,l.Es)(),y=e=>{x.participationHistory.set(t=>(t.push(e),t))};function b(e){const t=m.indexOf(e);t>-1&&m.splice(t,1)}return{subscribeToCalls:async t=>{if(A.isLoggedIn){x.merge({isLoadingParticipationHistory:!0}),v&&v.unsubscribe(),v=i.n.graphql((0,r.JS)(u.j_,{inviteeId:t})).subscribe({next:a=>{const s=a.value.data.onMeetingInviteReceived,l=s.invitationType===c.Q.NOTIFY;if(s.inviterId===t||!l&&p.xH.getMyPresence()===r.eO.DONOTDISTURB)return;m.push(s.inviter),e.incomingInvites.set(e=>(e.push(s),e));const u=i.n.graphql((0,r.JS)(d.aw,{id:s.id})).subscribe({next:t=>{const i=t.value.data.onMeetingInviteChanged;switch(i.status){case c.so.ACCEPTED:window.sessionStorage.getItem("currentTabCall")&&n(i.meeting.id);break;case c.so.CANCELED:case c.so.TIMEOUT:window.sessionStorage.removeItem("currentTabCall"),setTimeout(()=>{o.setMissedCallNotification(!0,i.inviter.id,i.inviter.name)},2e3);break;default:window.sessionStorage.removeItem("currentTabCall")}e.set(e=>{const t=e.incomingInvites.findIndex(e=>e.id===i.id);return t>-1&&e.incomingInvites.splice(t,1),e}),b(i.id),u.unsubscribe(),y(i)}})}});try{const e=await(0,r.Ss)(t);e&&x.participationHistory.set(e)}catch(a){console.error("Failed to load participation history",a)}finally{x.merge({isLoadingParticipationHistory:!1})}}},unsubscribeFromCalls:()=>{v&&(v.unsubscribe(),v=void 0)},acceptInvite:async(e,t)=>{t&&t===c.Q.VIDEO?x.merge({invitationType:c.Q.VIDEO,acceptanceType:c.Q.VIDEO}):x.merge({invitationType:c.Q.AUDIO,acceptanceType:c.Q.AUDIO}),(0,r.YP)(e,c.so.ACCEPTED)},sendInvite:async(o,s,l)=>{var u;const g=null===(u=t.user())||void 0===u?void 0:u.profileId,p=t.user();if(!o||!p||!g||!t.isLoggedIn)return;s&&s===c.Q.VIDEO&&x.merge({invitationType:c.Q.VIDEO}),s&&s===c.Q.AUDIO&&x.merge({invitationType:c.Q.AUDIO});let v=!1;for(const e of m)if(e===o){v=!0;break}if(v)return;m.push(o);const A=async e=>{if(!await(0,r.S_)(e))throw b(o),new Error("failure while starting call")},T=null!==l&&void 0!==l&&l.meetingId&&l.meetingKind?(0,h.i)(null===l||void 0===l?void 0:l.meetingKind,null===l||void 0===l?void 0:l.meetingId):(0,h.i)("call",void 0),I=l&&"call"!==l.meetingKind?[A(T)]:[A(T),(async e=>{const t="calenderEntry"===(null===l||void 0===l?void 0:l.meetingKind)?a.Ay.configuration.calendarEntryParticipantLimit:10;if(!await(0,r.co)(e,g,o,t))throw b(o),new Error("failure while creating chat conversation (call might be full)")})(T)];await Promise.all(I);const S=await(0,r.og)(p.profileId,o,T,s,null===l||void 0===l?void 0:l.meetingTitle);if(!S)throw b(o),new Error("failure while creating chat conversation (call might be full)");{s!==c.Q.NOTIFY?e.set(e=>(e.outgoingInvites.push(S),e)):b(o);const t=i.n.graphql((0,r.JS)(d.aw,{id:S.id})).subscribe({next:o=>{const i=o.value.data.onMeetingInviteChanged;i.status===c.so.ACCEPTED&&s!==c.Q.NOTIFY&&n(i.meeting.id),e.set(e=>{let t=0;for(;t<e.outgoingInvites.length&&e.outgoingInvites[t].id!==S.id;t++);return e.outgoingInvites.splice(t,1),e}),b(S.invitee.id),f&&clearTimeout(f),t.unsubscribe(),y(S)}});f&&clearTimeout(f),f=window.setTimeout(()=>{(0,r.YP)(S.id,c.so.TIMEOUT)},6e4)}},declineInvite:async e=>{(0,r.YP)(e,c.so.DECLINED)},cancelInvite:e=>{(0,r.YP)(e,c.so.CANCELED)},getOutGoingInvites:()=>e.value.outgoingInvites,getIncomingInvites:()=>e.value.incomingInvites,getInvitationType:()=>e.value.invitationType,getAcceptanceType:()=>e.value.acceptanceType,resetInvitationTypes:()=>
1{x.merge({acceptanceType:null,invitationType:null})},getParticipationHistory:()=>e.value.participationHistory,isParticipationHistoryLoading:()=>e.value.isLoadingParticipationHistory}})((0,o.mO)(x))},48521:(e,t,n)=>{n.d(t,{A:()=>J});var o,i=n(89519),r=n(7737),a=n(31274);const s=a.Ay.div(o||(o=(0,r.A)(["\n width: 350px;\n height: 100px;\n display: flex;\n padding: 20px;\n"])));var l=n(15669),d=n(35750),c=n(94603);let u=function(e){return e[e.UNKNOWN=1]="UNKNOWN",e[e.OFF_AIR_UNLOCKED=2]="OFF_AIR_UNLOCKED",e[e.PENDING_LOCKING=3]="PENDING_LOCKING",e[e.PENDING_UNLOCKING=4]="PENDING_UNLOCKING",e[e.OFF_AIR_LOCKED=5]="OFF_AIR_LOCKED",e[e.PENDING_OFF_ON=6]="PENDING_OFF_ON",e[e.ON_AIR=7]="ON_AIR",e[e.PENDING_ON_OFF=8]="PENDING_ON_OFF",e}({});var g,p=n(35725),h=n(47564),m=n(95125);const f=a.Ay.div(g||(g=(0,r.A)(["\n background-color: ",";\n border-radius: 3px;\n color: #fff;\n cursor: ",";\n font-size: 12px;\n line-height: 18px;\n text-align: center;\n font-weight: normal;\n padding: 8px 20px;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n\n height: 35px;\n min-width: 140px;\n\n &:hover {\n background-color: #aa050e;\n }\n"])),e=>e.$disabled?"#aa050e":"#e30613",e=>e.$disabled?"not-allowed":"pointer");var v=n(96081);const x=function(e){const t=(0,c.N)(()=>{},n=>{switch(n){case d.u.OFF_AIR:e.setLiveStatus(t.isLocked()?u.OFF_AIR_LOCKED:u.OFF_AIR_UNLOCKED);break;case d.u.ON_AIR:e.setLiveStatus(u.ON_AIR)}}),n=t.channelStatus,{roster:o}=(0,p.Abl)(),i=Object.values(o).some(e=>(0,m.isRecorder)(e)),r=function(e){switch(e){case u.OFF_AIR_UNLOCKED:case u.PENDING_LOCKING:case u.PENDING_UNLOCKING:case u.OFF_AIR_LOCKED:return h.Ay.conferenceTexts.goLiveMessage;case u.PENDING_OFF_ON:return h.Ay.conferenceTexts.goingLiveMessage;case u.ON_AIR:return h.Ay.conferenceTexts.stopLiveMessage;case u.PENDING_ON_OFF:return h.Ay.conferenceTexts.stoppingLiveMessage}return h.Ay.conferenceTexts.initializingMessage}(e.liveStatus);return(0,v.jsx)(f,{onClick:()=>{i&&(t.isLocked()||n!==d.u.OFF_AIR)&&(async()=>{n===d.u.OFF_AIR?(e.setLiveStatus(u.PENDING_OFF_ON),t.startLive()):n===d.u.ON_AIR&&(e.setLiveStatus(u.PENDING_ON_OFF),t.stopLive())})()},$disabled:!i||!t.isLocked()&&n===(d.u.OFF_AIR||d.u.PREPARING),children:r})};var A,y,b=n(72792);const T=a.Ay.div(A||(A=(0,r.A)(["\n color: #fff;\n cursor: ",";\n font-size: 12px;\n line-height: 18px;\n text-align: center;\n padding: 8px 20px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n border: 1px solid #666666;\n border-radius: 3px;\n height: 35px;\n min-width: 140px;\n margin-right: 8px;\n\n &:hover {\n ","\n }\n"])),e=>e.$disabled?"not-allowed":"pointer",e=>e.$disabled?"":"background-color: #666666; border: 1px solid #666666;"),I=a.Ay.div(y||(y=(0,r.A)(["\n margin-right: 5px;\n"])));const S=function(e){const{roster:t}=(0,p.Abl)(),n=Object.values(t),o=function(e){switch(e){case u.OFF_AIR_UNLOCKED:return h.Ay.conferenceTexts.lockRoomMessage;case u.PENDING_LOCKING:return h.Ay.conferenceTexts.lockingMessage;case u.PENDING_UNLOCKING:return h.Ay.conferenceTexts.unlockingMessage;case u.PENDING_OFF_ON:case u.ON_AIR:case u.PENDING_ON_OFF:case u.OFF_AIR_LOCKED:return h.Ay.conferenceTexts.unlockRoomMessage}return h.Ay.conferenceTexts.initializingMessage}(e.liveStatus),i=(0,c.N)().isLocked(),r=(0,c.N)(t=>{e.setLiveStatus(t?u.OFF_AIR_LOCKED:u.OFF_AIR_UNLOCKED)});return(0,v.jsxs)(T,{onClick:async()=>{if(e.liveStatus===u.OFF_AIR_UNLOCKED){const t=n.map(e=>e.id);
1e.setLiveStatus(u.PENDING_LOCKING),r.lockChannel(t)}else e.liveStatus===u.OFF_AIR_LOCKED&&(e.setLiveStatus(u.PENDING_UNLOCKING),r.unlockChannel())},$disabled:!(e.liveStatus===u.OFF_AIR_UNLOCKED||e.liveStatus===u.OFF_AIR_LOCKED),children:[(0,v.jsx)(I,{children:i?(0,b.XEb)({fill:"#fff",width:"16",height:"16"}):(0,b.bwA)({fill:"#fff",width:"16",height:"16"})}),o]})};var w,C;const k=a.Ay.div(w||(w=(0,r.A)(["\n width: 100%;\n height: 50px;\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),E=a.Ay.div(C||(C=(0,r.A)(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n"])));const j=function(){const e=(0,c.N)(),t=e.isLocked(),n=e.channelStatus,[o,i]=(0,l.useState)(((e,t)=>{switch(t){case d.u.PREPARING:case d.u.ON_AIR:return u.ON_AIR;case d.u.OFF_AIR:case void 0:return e?u.OFF_AIR_LOCKED:u.OFF_AIR_UNLOCKED}})(t,n));return(0,v.jsx)(k,{children:(0,v.jsxs)(E,{children:[(0,v.jsx)(S,{liveStatus:o,setLiveStatus:i}),(0,v.jsx)(x,{liveStatus:o,setLiveStatus:i})]})})};var O,M,N=n(89524),L=n(93025),P=n(22035),R=n(44464),B=n(37772),D=n(60388),U=n(32640),V=n.n(U);function F(e,t){const n=V()(V()(t)).diff(V()(e));return n<=6e5?n/2:n-60*(0,B.m1)()*1e3}const _=a.Ay.div(O||(O=(0,r.A)(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n width: 100%;\n"]))),G=a.Ay.div(M||(M=(0,r.A)(["\n color: #fff;\n cursor: pointer;\n font-size: 12px;\n line-height: 18px;\n text-align: center;\n padding: 8px 15px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n -webkit-transition: 0.3s;\n transition: 0.3s;\n border: 1px solid #666666;\n border-radius: 3px;\n height: 35px;\n min-width: 140px;\n &:hover {\n background-color: #666666;\n border: 1px solid #666666;\n }\n"])));const z=function(){const e=(0,i.F)(),{joinMeeting:t}=(0,P.S)(),[n,o]=(0,l.useState)(),r=(0,L.A1)().timezone,a=(0,l.useCallback)(async()=>{const t=new Date;let n,i;console.log("loadData at ".concat(t.getHours(),":").concat(t.getMinutes(),":").concat(t.getSeconds()));try{var s;const{currentEventDate:t,nextEventDate:l}=await(0,N.pC)((null===(s=e.getExternalMeetingId())||void 0===s?void 0:s.slice(3))||"",60*(0,B.m1)()*1e3);o(t);const d=null===t||void 0===t?void 0:t.enddatetime,c=d?function(e,t){return V()(V()(e)).diff((0,B.Px)(V()(),t))}(d,r):0;if(c>0){if(t&&!l)n=window.setTimeout(a,c);else if(t&&l){const e=F(d,l.startdatetime)+c;i=window.setTimeout(a,e)}}else if(t&&l){const e=F(d,l.startdatetime)-Math.abs(c);i=window.setTimeout(a,e)}}catch(l){console.error("Could not load data in loadChannelEventdates method. Error: ",l)}return()=>{clearTimeout(n),clearTimeout(i)}},[]);return(0,l.useEffect)(()=>{a()},[e.getExternalMeetingId()]),"greenroom"===e.getMeetingKind()&&h.Ay.configuration.breakoutEnabled&&n&&null!==n&&void 0!==n&&n.breakoutAccess?(0,v.jsx)(_,{children:(0,v.jsxs)(G,{onClick:()=>{e.setIsSwitchingRoom(!0),n&&t("breakout",n.id)},title:"".concat(R.J.meetings.base,"br_").concat(n.id),children:[(0,v.jsx)(D.hh,{children:(0,v.jsx)(b.Z8q,{fill:"#fff",width:"18",height:"18"})}),h.Ay.videoPageContentBranding.joinBreakoutButtonText]})}):null};const J=function(){const e=(0,i.F)();return"greenroom"!==e.getMeetingKind()?(0,v.jsx)("div",{style:{width:"300px",height:"100%"}}):(0,v.jsx)(s,{children:e.getIsMod()?(0,v.jsx)(j,{}):(0,v.jsx)(z,{})})}},51002:(e,t,n)=>{n.d(t,{A:()=>At});var o=n(35725),i=n(15669),r=n(21597),a=n(47702),s=n(47132),l=n(76838),d=n(47564),c=n(37038),u=n(93025),g=n(92971),p=n(44464),h=n(72792),m=n(89519),f=n(29015),v=n(91953),x=n(86109);const A=(0,f.hH)({meetingCheckId:null,userId:null,isCheckActive:!1}),y=()=>(e=>{const t=(0,o.GYC)();return{startCheck:async(n,o)=>{e.merge({meetingCheckId:n,userId:o,isCheckActive:!0});try{const e=await(0,x.NK)(n,o);if(e.chime&&e.attendee&&e.meeting){const n=new v.MeetingSessionConfiguration(e.chime.Meeting,e.chime.Attendee);await t.join(n)}}catch(i){console.log("Something went wrong with createOrJoinMeetng in MeetingReadinessCheckContext ",i)}},stopCheck:async()=>{await Promise.all([await(0,x.JP)(e.value.meetingCheckId,e.value.userId),await t.leave()]).then(()=>{var n;null===(n=t.audioVideo)||void 0===n||n.stop(),e.merge({meetingCheckId:null,userId:null,isCheckActive:!1})})},getIsCheckActive:()=>e.value.isCheckActive}})((0,f.mO)(A));
1var b,T,I,S=n(69108),w=n(99673),C=n(25547),k=n(7737),E=n(31274),j=n(96081);const O=E.Ay.div(b||(b=(0,k.A)(["\n color: #fff;\n font-size: 12px;\n line-height: 17px;\n"]))),M=E.Ay.div(T||(T=(0,k.A)(["\n width: 100%;\n height: 6px;\n background-color: #666666;\n border-radius: 5px;\n margin-top: 8px;\n"]))),N=E.Ay.div(I||(I=(0,k.A)(["\n height: 6px;\n background-color: #5db130;\n border-radius: 5px;\n transform: scaleX(0);\n transform-origin: left;\n transition: transform 33ms ease-in-out;\n will-change: transform;\n"]))),L=i.forwardRef((e,t)=>(0,j.jsx)(O,{children:(0,j.jsxs)(a.A,{children:[(0,j.jsxs)(s.A,{md:5,className:"pr-0",children:[(0,j.jsx)(o.tmR,{width:"23px"}),d.Ay.audioVideoSettings.microphoneActivityLabel]}),(0,j.jsx)(s.A,{md:7,className:"pl-0",children:(0,j.jsx)(M,{children:(0,j.jsx)(N,{ref:t})})})]})}));L.displayName="ActivityBar";const P=L;var R,B,D,U,V,F,_,G,z,J,H=n(3229),K=n(89510),q=n(17511);const $=E.Ay.div(R||(R=(0,k.A)(["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: rgba(0, 0, 0, 0.6);\n z-index: 999 !important;\n animation: fadein 0.1s;\n display: flex;\n flex-direction: column;\n justify-content: center;
1\n align-items: center;\n\n @keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n *::selection {\n background: transparent;\n }\n"]))),W=E.Ay.div(B||(B=(0,k.A)(["\n width: 676px;\n height: 694px;\n background-color: #202428;\n border-radius: 5px;\n padding: 25px 20px 20px 20px;\n position: relative;\n font-family: ",";\n"])),d.Ay.font1),Q=E.Ay.div(D||(D=(0,k.A)(["\n font-size: 14px;\n font-weight: 500;\n font-family: ",";\n color: #fff;\n"])),d.Ay.font1),Y=E.Ay.div(U||(U=(0,k.A)(["\n float: right;\n cursor: pointer;\n &:hover {\n svg {\n path {\n fill: #d4d4d4;\n }\n }\n }\n"]))),X={control:e=>(0,K.A)((0,K.A)({},e),{},{border:"none",backgroundColor:"#17181a"}),option:(e,t)=>(0,K.A)((0,K.A)({},e),{},{backgroundColor:t.isFocused?"#6666664d":(t.isSelected,"#17181a")}),menu:e=>(0,K.A)((0,K.A)({},e),{},{marginTop:0,backgroundColor:"#17181a"})},Z=(0,E.Ay)(q.Ay)(V||(V=(0,k.A)(["\n width: 100%;\n border-radius: 3px;\n padding: 0.375rem 1.5rem 0.375rem 0.5rem;\n margin-bottom: 10px;\n font-size: 0.875rem;\n line-height: 1.43;\n padding: 6px;\n"]))),ee=E.Ay.div(F||(F=(0,k.A)(["\n font-family: ",";\n color: #fff;\n font-weight: 500;\n font-size: 12px;\n line-height: 20px;\n margin-top: 3px;\n"])),d.Ay.font1),te=E.Ay.label(_||(_=(0,k.A)(["\n font-family: ",";\n color: #fff;\n font-weight: 500;\n font-size: 12px;\n line-height: 17px;\n margin: 0 0 5px 6px;\n"])),d.Ay.font1),ne=E.Ay.div(G||(G=(0,k.A)(["\n position: absolute;\n right: 20px;\n left: 20px;\n bottom: 20px;\n height: 40px;\n"]))),oe=E.Ay.div(z||(z=(0,k.A)(["\n position: absolute;\n bottom: 50px;\n right: 0;\n font-size: 12px;\n color: #e30613;\n width: 100%;\n text-align: center;
1\n"]))),ie=E.Ay.div(J||(J=(0,k.A)(["\n bottom: 0;\n right: 0;\n position: absolute;\n display: flex;\n justify-content: flex-end;\n"])));const re=function(){var e,t;const n=(0,C.tR)(),i=(0,o.GYC)(),r=(0,H.A)();return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(te,{children:d.Ay.audioVideoSettings.audioInputLabel}),(0,j.jsx)(Z,{styles:X,options:n.audioInputDevices(),isMulti:!1,isSearchable:!1,isClearable:!1,theme:o.a5x,value:null===(e=n.currentAudioInputDevice())||void 0===e?void 0:e.value,placeholder:null===(t=n.currentAudioInputDevice())||void 0===t?void 0:t.label,onChange:async e=>{var t;n.setAudioInputDevice(e.deviceId,e.label),await(null===(t=i.audioVideo)||void 0===t?void 0:t.startAudioInput(n.currentAudioInputDevice().value))},noOptionsMessage:()=>r.noResults})]})};var ae=n(659);const se=function(){var e,t;const n=(0,C.tR)(),i=(0,o.GYC)(),r=(0,H.A)();return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(te,{children:d.Ay.audioVideoSettings.audioOutputLabel}),(0,j.jsx)(Z,{styles:X,options:n.audioOutputDevices(),isMulti:!1,isSearchable:!1,isClearable:!1,theme:o.a5x,value:null===(e=n.currentAudioOutputDevice())||void 0===e?void 0:e.value,placeholder:null===(t=n.currentAudioOutputDevice())||void 0===t?void 0:t.label,onChange:async e=>{var t;n.setAudioOutputDevice(e.deviceId,e.label),await(null===(t=i.audioVideo)||void 0===t?void 0:t.chooseAudioOutput(e.deviceId))},noOptionsMessage:()=>r.noResults})]})};var le,de,ce,ue,ge;const pe=E.Ay.div(le||(le=(0,k.A)(["\n font-family: ",";\n color: #fff !important; // dark mode only currently\n label {\n color: #fff;\n }\n select {\n color: #fff !important;\n border-color: #17181a;\n background-color: #17181a;\n color: #fff;\n outline: none !important;\n box-shadow: none !important;\n border: none !important;\n }\n"])),d.Ay.font1),he=E.Ay.div(de||(de=(0,k.A)(["\n margin-bottom: 35px;\n"]))),me=E.Ay.div(ce||(ce=(0,k.A)(["\n display: flex;\n justify-content: flex-end;\n"]))),fe=E.Ay.div(ue||(ue=(0,k.A)(["\n height: 200px;\n display: flex;\n justify-content: center;
1\n align-items: center;\n padding: 10px;\n flex-direction: column;\n"]))),ve=E.Ay.div(ge||(ge=(0,k.A)(["\n font-size: 16px;\n color: #fff;\n line-height: 18px;\n text-align: center;\n font-weight: 400;\n margin-bottom: 15px;\n"])));const xe=function(){const e=(0,i.useRef)();(0,o.a2e)(e);const[t]=(0,i.useState)(!0),n=(0,C.tR)();return(0,j.jsx)(j.Fragment,{children:t?(0,j.jsxs)(pe,{children:[(0,j.jsxs)(he,{children:[(0,j.jsx)(re,{}),(0,j.jsx)(P,{ref:e})]}),(0,j.jsxs)(he,{children:[(0,j.jsx)(se,{}),(0,j.jsx)(me,{children:(0,j.jsx)(ae.A,{onClickHandler:n.testCurrentAudioOutputDevice,text:d.Ay.audioVideoSettings.testSpeakerLabel,theme:"settingsModal"})})]})]}):(0,j.jsx)(pe,{children:(0,j.jsxs)(fe,{children:[(0,j.jsx)(ve,{children:(0,j.jsx)(h.JUo,{fill:"#fff",width:"25px",height:"25px"})}),(0,j.jsx)(ve,{children:d.Ay.communicationAreaAudioVideoSettingsAudioPermissionMessage})]})})})};var Ae,ye;const be=E.Ay.div(Ae||(Ae=(0,k.A)(["\n min-height: 240px;\n position: relative;\n"]))),Te=E.Ay.div(ye||(ye=(0,k.A)(["\n position: absolute;\n bottom: 10px;\n left: 0;\n right: 0;\n height: 25px;\n background-color: rgba(0, 0, 0, 0.25);\n color: #fff;\n text-align: center;\n z-index: 5;\n font-size: 12px;\n line-height: 12px;\n pointer-events: none;\n display: flex;\n justify-content: center;
1\n align-items: end;\n padding: 0.5em;\n"])));var Ie,Se=n(43052);const we=(0,E.Ay)(o._2U)(Ie||(Ie=(0,k.A)(["\n height: auto;\n background: unset;\n /* background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='60px' width='60px' font-family='helvetica' text-align='center'><text x='0' y='15' fill='white' font-size='12'>Loading...</text></svg>\"); */\n background-repeat: no-repeat;\n background-position: center;\n\n video {\n position: static;\n }\n"])));var Ce=n(82198);const ke=e=>{const{selectedDevice:t}=(0,o.O54)(),n=(0,i.useRef)(null),r=(0,w.M)();return(0,i.useEffect)(()=>{(0,Ce.F)();const e=n.current;return e&&r.startVideoPreview(e),()=>{e&&r.stopVideoPreview(e)}},[n.current,t]),(0,j.jsx)(we,(0,K.A)((0,K.A)({},e),{},{ref:n}))};var Ee,je,Oe,Me,Ne,Le,Pe;const Re=E.Ay.div(Ee||(Ee=(0,k.A)(["\n display: flex;\n flex-direction: row;\n align-items: center;\n"]))),Be=E.Ay.div(je||(je=(0,k.A)(["\n display: grid;\n grid-gap: 3px;\n grid-template-columns: 32.8% 32.8% 32.8%;\n height: 170px;\n overflow-y: auto;\n"]))),De=E.Ay.div(Oe||(Oe=(0,k.A)(["\n display: flex;\n justify-content: center;
1\n align-items: center;\n width: 100%;\n height: 75px;\n background-image: ",";\n background-size: cover;\n background-repeat: no-repeat;\n box-shadow: ",";\n transition: box-shadow 0.3s;\n cursor: pointer;\n text-align: center;\n font-size: 12px;\n line-height: 17px;\n background-color: #37383a;\n color: #fff;\n border-radius: 3px;\n position: relative;\n\n &:hover {\n box-shadow: inset 0px 0px 0px 2px #6dd400;\n }\n\n .actions {\n width: 20px;\n height: 18px;\n position: absolute;\n z-index: 20;\n right: 6px;\n top: 6px;\n svg:hover path {\n fill: red;\n }\n background-color: rgba(0, 0, 0, 0.3);\n border-radius: 3px;\n }\n"])),e=>e.image?"url(".concat(e.image,")"):"none",e=>e.isActive?"inset 0px 0px 0px 2px #6DD400":"none"),Ue=E.Ay.div(Me||(Me=(0,k.A)(["\n cursor: pointer;\n float: right;\n margin-bottom: 10px;\n\n svg {\n transition: 0.3s;\n }\n svg:hover {\n transform: rotate(90deg);\n }\n"]))),Ve=E.Ay.div(Ne||(Ne=(0,k.A)(["\n position: absolute;\n top: 0;\n right: 0px;\n bottom: 0;\n left: 0;\n z-index: 10;\n transition: 0.3s;\n border-radius: 3px;\n"]))),Fe=E.Ay.div(Le||(Le=(0,k.A)([""]))),_e=E.Ay.div(Pe||(Pe=(0,k.A)(["\n height: 230px;\n & video {\n height: 230px;\n object-fit: contain;\n }\n"])));var Ge;const ze=E.Ay.div(Ge||(Ge=(0,k.A)(["\n width: 100%;\n padding: 10px;\n color: #000;\n background-color: #ffcece;\n border-left: 4px solid #ad4137;\n font-size: 12px;\n"])));const Je=function(e){return e.message?(0,j.jsx)(ze,{children:e.message}):null};const He=function(){const{getBackgroundGalleryItems:e,setSelectedBackground:t,getSelectedBackground:n,removeBackground:l,toggleBlur:c,getIsBlurActive:u,uploadBackground:g,getCustomUploadedBackgrounds:p,deleteCustomBackground:m,getErrorMessage:f,resetErrorMessage:v}=(0,w.M)(),x=(0,i.useRef)(null),A=(0,S.zl)(),[y,b]=(0,i.useState)(!0),T=(0,C.tR)(),I=(0,o.VjK)(),k=(0,w.M)();let E=!0;return I!==o.e0s.Succeeded?E=A.getSetting(S.fT.VIDEOINPUTSTATE):I===o.e0s.Succeeded&&(E=k.isVideoEnabled()),(0,i.useEffect)(()=>(A.applyStoredVideoSettings(),()=>{v()}),[]),(0,i.useEffect)(()=>{b(T.hasVideoInputPermission())},[T]),(0,j.jsx)(j.Fragment,{children:y?(0,j.jsxs)(pe,{children:[(0,j.jsxs)(he,{children:[(0,j.jsx)(be,{children:E?(0,j.jsxs)(_e,{children:[(0,j.jsx)(ke,{}),(0,j.jsx)(Te,{children:(0,j.jsx)("span",{children:d.Ay.audioVideoSettings.preview})})]}):(0,j.jsxs)(fe,{children:[(0,j.jsx)(ve,{children:(0,j.jsx)(h.Q$G,{fill:"#fff",width:"25px",height:"25px"})}),(0,j.jsx)(ve,{children:d.Ay.communicationAreaAudioVideoSettingsVideoDisabledMessage})]})}),(0,j.jsxs)(Re,{children:[(0,j.jsx)(te,{children:d.Ay.audioVideoSettings.radioBlurBackground}),(0,j.jsx)(Se.A,{activatedSliderBorderColor:d.Ay.toggleButtonBranding.toggleOnColor,sliderBackgroundColor:u()?d.Ay.toggleButtonBranding.toggleOnColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,deactivatedSliderBorderColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,deactivatedToggleBorderColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,activatedToggleBorderColor:d.Ay.toggleButtonBranding.toggleOnColor,scaleSize:.7,activated:u(),onClick:async()=>{c()}})]})]}),(0,j.jsxs)(he,{children:[(0,j.jsxs)(r.A,{className:"p-0",children:[(0,j.jsxs)(a.A,{children:[(0,j.jsx)(s.A,{children:(0,j.jsx)(ee,{children:d.Ay.audioVideoSettings.backgroundGalleryTitleLabel})}),(0,j.jsxs)(s.A,{children:[(0,j.jsx)(Ue,{onClick:()=>{var e;x.current&&(x.current.value=""),null===(e=x.current)||void 0===e||e.click()},children:(0,h.nre)({fill:"#fff",width:"15px",height:"15px"})}),(0,j.jsx)("input",{onChange:e=>{g(e)},ref:x,type:"file",accept:"image/png, image/jpg, image/jpeg",style:{display:"none"}})]})]}),(0,j.jsx)(a.A,{children:(0,j.jsx)(s.A,{children:(0,j.jsxs)(Be,{children:[(0,j.jsx)(De,{isActive:!n()&&!u(),onClick:()=>l(),image:"",children:d.Ay.audioVideoSettings.radioNoBackground}),e().map((e,o)=>(0,j.jsx)(De,{onClick:()=>{n()!==e.url&&t(e)},isActive:n()===e.url,image:e.url,children:p().map(e=>e.url).includes(e.url)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ve,{onClick:()=>{e.url!==n()&&t(e)}},o),(0,j.jsx)("div",{className:"actions",children:(0,j.jsx)(Fe,{onClick:t=>{t.stopPropagation(),t.preventDefault(),m(e.url)},children:(0,h.Eau)({width:"14",height:"14",fill:"#fff"})},o)})]})},o))]})})})]}),(0,j.jsx)(r.A,{className:"p-0 pt-2",children:(0,j.jsx)(a.A,{children:(0,j.jsx)(s.A,{children:(0,j.jsx)(Je,{message:f()})})})})]})]}):(0,j.jsx)(pe,{children:(0,j.jsxs)(fe,{children:[(0,j.jsx)(ve,{children:(0,j.jsx)(h.Q$G,{fill:"#fff",width:"25px",height:"25px"})}),(0,j.jsx)(ve,{children:d.Ay.communicationAreaAudioVideoSettingsVideoPermissionMessage})]})})})};var Ke,qe,$e,We;const Qe=E.Ay.div(Ke||(Ke=(0,k.A)(["\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-gap: 3px;\n"]))),Ye=E.Ay.div(qe||(qe=(0,k.A)(["\n background-color: ",";\n border-radius: 3px;\n cursor: pointer;\n color: #fff;\n padding: 7px;\n font-size: 11px;\n line-height: 17px;\n transition: 0.3s;\n margin-right: 13px;\n width: 100%;\n text-align: center;\n display: flex;\n word-wrap: break-word;\n\n &:hover {\n background-color: rgba(102, 102, 102, 0.3);\n }\n svg {\n margin-right: 5px;\n }\n"])),e=>e.isActive?" rgba(102, 102, 102, 0.3)":"#666666"),Xe=E.Ay.div($e||($e=(0,k.A)(["\n display: grid;\n grid-gap: 3px;\n row-gap: 3px;\n grid-template-columns: 1fr 1fr 1fr 1fr 1fr;\n grid-template-rows: 80px;\n height: 165px;\n overflow-y: auto;\n"]))),Ze=E.Ay.div(We||(We=(0,k.A)(["\n display: flex;\n justify-content: center;
1\n align-items: center;\n width: 100%;\n height: 80px;\n background-image: ",";\n background-size: cover;\n background-repeat: no-repeat;\n box-shadow: ",";\n transition: box-shadow 0.3s;\n background-position: center;\n background-color: #37383a;\n cursor: pointer;\n border-radius: 3px;\n position: relative;\n text-align: center;\n line-height: 17px;\n font-size: 12px;\n\n overflow: hidden;\n\n &:hover {\n box-shadow: inset 0px 0px 0px 2px #6dd400;\n }\n\n .actions {\n width: 20px;\n height: 18px;\n position: absolute;\n z-index: 20;\n right: 6px;\n top: 6px;\n svg:hover path {\n fill: red;\n }\n background-color: rgba(0, 0, 0, 0.3);\n border-radius: 3px;\n }\n"])),e=>e.logo?"url(".concat(e.logo,")"):"none",e=>e.isActive?"inset 0px 0px 0px 2px #6DD400":"none");var et=n(71859);const tt=function(){var e;const{setSelectedLogo:t,uploadLogo:n,getLogoGalleryItems:l,getSelectedLogo:c,removeLogo:u,setLogoPosition:g,getLogoPosition:p,getIsLogoProcessorActive:m,getCustomUploadedLogos:f,deleteCustomUploadedLogo:v,getErrorMessage:x,resetErrorMessage:A}=(0,w.M)(),y=(0,i.useRef)(null),b=(0,S.zl)(),[T,I]=(0,i.useState)(!0),k=(0,C.tR)(),E=(0,o.VjK)(),O=(0,w.M)();let M=!0;return E!==o.e0s.Succeeded?M=b.getSetting(S.fT.VIDEOINPUTSTATE):E===o.e0s.Succeeded&&(M=O.isVideoEnabled()),(0,i.useEffect)(()=>(b.applyStoredVideoSettings(),()=>{A()}),[]),(0,i.useEffect)(()=>{I(k.hasVideoInputPermission())},[k]),(0,j.jsx)(j.Fragment,{children:T?(0,j.jsxs)(pe,{children:[(0,j.jsxs)(he,{children:[(0,j.jsx)(be,{children:M?(0,j.jsxs)(_e,{children:[(0,j.jsx)(ke,{}),(0,j.jsx)(Te,{children:(0,j.jsx)("span",{children:d.Ay.audioVideoSettings.preview})})]}):(0,j.jsxs)(fe,{children:[(0,j.jsx)(ve,{children:(0,j.jsx)(h.Q$G,{fill:"#fff",width:"25px",height:"25px"})}),(0,j.jsx)(ve,{children:d.Ay.communicationAreaAudioVideoSettingsVideoDisabledMessage})]})}),(0,j.jsxs)(Qe,{children:[(0,j.jsxs)(Ye,{isActive:p()===et.U.TOP_RIGHT&&m(),onClick:()=>g(et.U.TOP_RIGHT),children:[(0,h.T4l)({fill:"#fff",width:"12",height:"12"}),d.Ay.audioVideoSettings.radioLogoPositionTopRight]}),(0,j.jsxs)(Ye,{isActive:p()===et.U.TOP_LEFT&&m(),onClick:()=>g(et.U.TOP_LEFT),children:[(0,h.mx5)({fill:"#fff",width:"12",height:"12"}),d.Ay.audioVideoSettings.radioLogoPositionTopLeft]}),(0,j.jsxs)(Ye,{isActive:p()===et.U.BOTTOM_RIGHT&&m(),onClick:()=>g(et.U.BOTTOM_RIGHT),children:[(0,h.KVb)({fill:"#fff",width:"12",height:"12"}),d.Ay.audioVideoSettings.radioLogoPositionBottomRight]}),(0,j.jsxs)(Ye,{isActive:p()===et.U.BOTTOM_LEFT&&m(),onClick:()=>g(et.U.BOTTOM_LEFT),children:[(0,h.Hgy)({fill:"#fff",width:"12",height:"12"}),d.Ay.audioVideoSettings.radioLogoPositionBottomLeft]})]})]}),(0,j.jsxs)(he,{children:[(0,j.jsxs)(r.A,{className:"p-0",children:[(0,j.jsxs)(a.A,{children:[(0,j.jsx)(s.A,{children:(0,j.jsx)(ee,{children:d.Ay.audioVideoSettings.logoGalleryTitleLabel})}),(0,j.jsxs)(s.A,{children:[(0,j.jsx)(Ue,{onClick:()=>{var e;y.current&&(y.current.value=""),null===(e=y.current)||void 0===e||e.click()},children:(0,h.nre)({fill:"#fff",width:"15px",height:"15px"})}),(0,j.jsx)("input",{ref:y,onChange:e=>{n(e)},type:"file",accept:"image/png, image/jpg, image/jpeg",style:{display:"none"}})]})]}),(0,j.jsx)(a.A,{children:(0,j.jsx)(s.A,{children:(0,j.jsxs)(Xe,{children:[(0,j.jsx)(Ze,{isActive:!c(),onClick:()=>u(),logo:"",children:d.Ay.audioVideoSettings.radioNoLogo}),0!==(null===(e=l())||void 0===e?void 0:e.length)&&l().map((e,n)=>(0,j.jsxs)(Ze,{isActive:c()===e.url,logo:e.url,children:[(0,j.jsx)(Ve,{onClick:()=>{t(e)}}),f().map(e=>e.url).includes(e.url)&&(0,j.jsx)("div",{className:"actions",children:(0,j.jsx)(Fe,{onClick:()=>v(e.url),children:(0,h.Eau)({width:"14",height:"14",fill:"#fff"})})})]},n))]})})})]}),(0,j.jsx)(r.A,{className:"p-0 pt-2",children:(0,j.jsx)(a.A,{children:(0,j.jsx)(s.A,{children:(0,j.jsx)(Je,{message:x()})})})})]})]}):(0,j.jsx)(pe,{children:(0,j.jsxs)(fe,{children:[(0,j.jsx)(ve,{children:(0,j.jsx)(h.Q$G,{fill:"#fff",width:"25px",height:"25px"})}),(0,j.jsx)(ve,{children:d.Ay.communicationAreaAudioVideoSettingsVideoPermissionMessage})]})})})};var nt,ot,it,rt,at=n(9900),st=n(79854),lt=n(97497),dt=n(22269),ct=n(71739);const ut=E.Ay.ul(nt||(nt=(0,k.A)(["\n margin-top: 15px;\n cursor: pointer;\n svg {\n margin-right: 8px;\n }\n"]))),gt=E.Ay.li(ot||(ot=(0,k.A)(["\n font-family: ",";\n display: flex;
1\n align-items: center;\n color: #fff;\n font-size: 12px;\n font-weight: normal;\n line-height: 17px;\n padding: 8px;\n border-radius: 3px;\n margin-bottom: 2px;\n background-color: ",";\n transition: 0.3s;\n position: relative;\n &:hover {\n background-color: rgba(102, 102, 102, 0.3);\n }\n"])),d.Ay.font1,e=>e.isActive?"#666666":"#202428"),pt=E.Ay.div(it||(it=(0,k.A)(["\n display: inline-block;\n position: absolute;\n top: 3px;\n right: 0;\n width: 20%;\n height: 20px;\n z-index: 10;\n"]))),ht=E.Ay.div(rt||(rt=(0,k.A)(["\n width: 80%;\n"])));const mt=function(e){let{settingsItems:t,setActiveItem:n,activeItem:r}=e;const a=(0,S.zl)(),s=(0,o.GYC)(),l=(0,i.useRef)(null),[c,p]=(0,i.useState)(!1),h=(0,i.useRef)(null),[f,v]=(0,i.useState)(!1),[x,A]=(0,i.useState)(!0),[y,b]=(0,i.useState)(!0),T=(0,m.F)(),[I,w]=(0,i.useState)([]),[k,E]=(0,i.useState)(!1),O=(0,C.tR)(),M=(0,g.Es)(),N=function(e,t,n){return e?d.Ay.conferenceTexts.preMeetingAudioStateMutedByAttendaces.replace("{number}",t.length.toString()):!0===n.getSetting(S.fT.AUDIOINPUTSTATE)?d.Ay.conferenceTexts.preMeetingAudioStateTooltipInfoTextOn:d.Ay.conferenceTexts.preMeetingAudioStateTooltipInfoTextOff}(k,I,a);return(0,i.useEffect)(()=>{b(O.hasVideoInputPermission()),A(O.hasAudioInputPermission())},[O]),(0,i.useEffect)(()=>{const e=setTimeout(()=>{p(!1)},2e3);return()=>{clearTimeout(e)}},[c,x]),(0,i.useEffect)(()=>{const e=setTimeout(()=>{x&&p(!0)},1e3),t=setTimeout(()=>{y&&v(!0)},1500);return()=>{clearTimeout(e),clearTimeout(t)}},[x,y]),(0,i.useEffect)(()=>{const e=setTimeout(()=>{v(!1)},2e3);return()=>{clearTimeout(e)}},[f]),(0,i.useEffect)(()=>{if(!M.isLoggedIn)return;(0,dt.xE)(T.getExternalMeetingId()).then(e=>{e&&w(e.data.listMeetingRoomAttendances.items.map(e=>e.id))});const e=at.n.graphql((0,dt.JS)(ct.DU,{chimeMeetingId:T.getExternalMeetingId()})).subscribe({next:()=>{(0,dt.xE)(T.getExternalMeetingId()).then(e=>{w(e.data.listMeetingRoomAttendances.items.map(e=>e.id))})},error:e=>{u.Um.error({message:"Subscription Error: onMeetingRoomAttendaceCreated",errorMessage:e.message,errorStack:e.stack})},complete:()=>{u.Um.info("Subscription Complete: onMeetingRoomAttendanceCreated")}}),t=at.n.graphql((0,dt.JS)(ct.cI,{chimeMeetingId:T.getExternalMeetingId()})).subscribe({next:()=>{(0,dt.xE)(T.getExternalMeetingId()).then(e=>{w(e.data.listMeetingRoomAttendances.items.map(e=>e.id))})},error:e=>{u.Um.error({message:"Subscription Error: onMeetingRoomAttendanceDeleted",errorMessage:e.message,errorStack:e.stack})},complete:()=>{u.Um.info("Subscription Complete: onMeetingRoomAttendanceDeleted")}});return()=>{e.unsubscribe(),t.unsubscribe()}},[T.getExternalMeetingId()]),(0,i.useEffect)(()=>{I.length>=d.Ay.configuration.meetingRoomAttendanceMuteThreshold&&(E(!0),a.getSetting(S.fT.AUDIOINPUTSTATE)&&(p(!0),a.storeSetting(S.fT.AUDIOINPUTSTATE,!1)))},[I]),(0,j.jsx)(ut,{children:t&&t.map((e,t)=>(0,j.jsxs)(gt,{onClick:()=>n(e.key),isActive:e.key===r,children:[(0,j.jsxs)(ht,{children:[e.icon," ",e.label]}),"audio"===e.key&&s.meetingStatus!==o.e0s.Succeeded&&(0,j.jsxs)(pt,{children:[(0,j.jsx)(st.A,{target:l.current,show:c,placement:"top",children:(0,j.jsx)(lt.A,{id:"custom-audio-tooltip",style:{fontFamily:d.Ay.font1},children:N})}),(0,j.jsx)(Se.A,{sliderBackgroundColor:x&&a.getSetting(S.fT.AUDIOINPUTSTATE)?d.Ay.toggleButtonBranding.toggleOnColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,deactivatedSliderBorderColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,deactivatedToggleBorderColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,activatedToggleBorderColor:d.Ay.toggleButtonBranding.toggleOnColor,activatedSliderBorderColor:d.Ay.toggleButtonBranding.toggleOnColor,scaleSize:.5,activated:x&&a.getSetting(S.fT.AUDIOINPUTSTATE),onClick:()=>{x&&(k&&E(!1),p(!0),a.storeSetting(S.fT.AUDIOINPUTSTATE,!a.getSetting(S.fT.AUDIOINPUTSTATE)))}}),(0,j.jsx)("div",{ref:l,style:{marginTop:"-26px"}})]}),"video"===e.key&&s.meetingStatus!==o.e0s.Succeeded&&(0,j.jsxs)(pt,{children:[(0,j.jsx)(st.A,{target:h.current,show:f,placement:"bottom",children:(0,j.jsx)(lt.A,{id:"custom-video-tooltip",style:{fontFamily:d.Ay.font1},children:!0===a.getSetting(S.fT.VIDEOINPUTSTATE)?d.Ay.conferenceTexts.preMeetingVideoStateTooltipInfoTextOn:d.Ay.conferenceTexts.preMeetingVideoStateTooltipInfoTextOff})}
1),(0,j.jsx)(Se.A,{sliderBackgroundColor:y&&a.getSetting(S.fT.VIDEOINPUTSTATE)?d.Ay.toggleButtonBranding.toggleOnColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,deactivatedSliderBorderColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,deactivatedToggleBorderColor:d.Ay.toggleButtonBranding.toggleOffColorSettingsSwitcher,activatedToggleBorderColor:d.Ay.toggleButtonBranding.toggleOnColor,activatedSliderBorderColor:d.Ay.toggleButtonBranding.toggleOnColor,scaleSize:.5,activated:y&&a.getSetting(S.fT.VIDEOINPUTSTATE),onClick:()=>{y&&(v(!0),a.storeSetting(S.fT.VIDEOINPUTSTATE,!a.getSetting(S.fT.VIDEOINPUTSTATE)))}}),(0,j.jsx)("div",{ref:h,style:{marginTop:"-12px"}})]})]},t))})};var ft=n(58758);const vt=function(){var e,t;const n=(0,C.tR)(),i=(0,w.M)(),r=(0,H.A)();return(0,j.jsx)(Z,{styles:X,isMulti:!1,isSearchable:!1,isClearable:!1,theme:o.a5x,options:n.videoInputDevices(),placeholder:null===(e=n.currentVideoInputDevice())||void 0===e?void 0:e.label,value:null===(t=n.currentVideoInputDevice())||void 0===t?void 0:t.value,onChange:async e=>{n.setVideoInputDevice(e.deviceId,e.label),i.updateVideoInput()},noOptionsMessage:()=>r.noResults})};const xt=function(){const e=(0,S.zl)(),[t,n]=(0,i.useState)(!0),r=(0,C.tR)(),a=(0,o.VjK)(),s=(0,w.M)();let l=!0;return a!==o.e0s.Succeeded?l=e.getSetting(S.fT.VIDEOINPUTSTATE):a===o.e0s.Succeeded&&(l=s.isVideoEnabled()),(0,i.useEffect)(()=>{e.applyStoredVideoSettings()},[]),(0,i.useEffect)(()=>{n(r.hasVideoInputPermission())},[r]),(0,j.jsx)(j.Fragment,{children:t?(0,j.jsx)(pe,{children:(0,j.jsxs)(he,{children:[(0,j.jsx)(be,{children:l?(0,j.jsxs)(_e,{children:[(0,j.jsx)(ke,{}),(0,j.jsx)(Te,{children:(0,j.jsxs)("span",{children:[" ",d.Ay.audioVideoSettings.preview]})})]}):(0,j.jsxs)(fe,{children:[(0,j.jsx)(ve,{children:(0,j.jsx)(h.Q$G,{fill:"#fff",width:"25px",height:"25px"})}),(0,j.jsx)(ve,{children:d.Ay.communicationAreaAudioVideoSettingsVideoDisabledMessage})]})}),(0,j.jsx)(te,{children:d.Ay.audioVideoSettings.videoInputLabel}),(0,j.jsx)(vt,{})]})}):(0,j.jsx)(pe,{children:(0,j.jsxs)(fe,{children:[(0,j.jsx)(ve,{children:(0,j.jsx)(h.Q$G,{fill:"#fff",width:"25px",height:"25px"})}),(0,j.jsx)(ve,{children:d.Ay.communicationAreaAudioVideoSettingsVideoPermissionMessage})]})})})};const At=function(){var e;const[t,n]=(0,i.useState)("audio"),f=(0,l.W6)(),v=(0,o.GYC)(),x=(0,u.A1)(),A=(0,m.F)(),b=null===(e=(0,g.Es)().user())||void 0===e?void 0:e.profileId,T=y(),[I,k]=(0,i.useState)(!0),E=(0,C.tR)(),O=(0,S.zl)(),M=(0,w.M)();(0,i.useEffect)(()=>{E.ensureDevices().then(()=>{k(E.hasAudioInputPermission())})},[E]),(0,i.useEffect)(()=>{(async(e,t,n,o,i,r)=>{null!==(e=E.currentAudioInputDevice())&&void 0!==e&&e.value&&await(null===(t=v.audioVideo)||void 0===t?void 0:t.startAudioInput(null===(n=E.currentAudioInputDevice())||void 0===n?void 0:n.value)),null!==(o=E.currentAudioOutputDevice())&&void 0!==o&&o.value&&await(null===(i=v.audioVideo)||void 0===i?void 0:i.chooseAudioOutput(null===(r=E.currentAudioOutputDevice())||void 0===r?void 0:r.value))})()},[E,v]),(0,i.useEffect)(()=>{const e=f.listen(()=>{v.meetingStatus===o.e0s.Loading&&A.leaveMeeting(!0),x.setIsAudioVideoSettingsV2Open(!1)});return()=>e()},[f]);const N=[{icon:(0,j.jsx)(h.HJV,{fill:"#fff",width:"16px",height:"16px"}),label:d.Ay.audioVideoSettings.tabTitleAudio,key:"audio"},{icon:(0,j.jsx)(h.eSo,{fill:"#fff",width:"18px",height:"18px"}),label:d.Ay.audioVideoSettings.tabTitleVideo,key:"video"},{icon:(0,j.jsx)(h.swt,{fill:"#fff",width:"18px",height:"18px"}),label:d.Ay.audioVideoSettings.tabTitleLogo,key:"logo"},{icon:(0,j.jsx)(h.Ttv,{fill:"#fff",width:"18px",height:"18px"}),label:d.Ay.audioVideoSettings.tabTitleBackground,key:"background"}],L=(0,i.useCallback)(()=>T.getIsCheckActive()?d.Ay.audioVideoSettings.applySettingsButtonLabel:A.getInitMeetingError()?d.Ay.audioVideoSettings.reloadSettingsButtonLabel:A.getIsMeetingActive()?A.getIsMeetingActive()?d.Ay.audioVideoSettings.applySettingsButtonLabel:v.meetingStatus===o.e0s.Loading?d.Ay.audioVideoSettings.loadingMeetingSettingsButtonLabel:(A.getIsMeetingActive(),d.Ay.audioVideoSettings.applySettingsButtonLabel):d.Ay.audioVideoSettings.joinMeetingSettingsButtonLabel,[v.meetingStatus,A.getInitMeetingError(),T.getIsCheckActive()]);return(0,i.useEffect)(()=>
1{if(!A.getIsMeetingActive()&&!A.getExternalMeetingId()&&!f.location.pathname.includes(p.J.meetings.base))return T.startCheck("cl_MEETING-READINESS-CHECK_".concat(b),b||""),()=>{(async()=>{await T.stopCheck()})()}},[A.getIsMeetingActive()]),(0,j.jsx)($,{children:(0,j.jsx)(W,{children:(0,j.jsxs)(r.A,{children:[(0,j.jsx)(a.A,{children:(0,j.jsx)(s.A,{className:"p-0",children:(v.meetingStatus===o.e0s.Succeeded||!(0,c.$)())&&(0,j.jsx)(Y,{onClick:()=>{var e,t;(x.setIsAudioVideoSettingsV2Open(!1),v.meetingStatus!==o.e0s.Succeeded)&&(null===(e=v.meetingSession)||void 0===e||e.audioVideo.stopVideoInput(),null===(t=v.meetingSession)||void 0===t||t.audioVideo.stopAudioInput())},children:(0,h.gzW)({fill:"#fff",width:"15",height:"15"})})})}),(0,j.jsx)(a.A,{children:(0,j.jsx)(s.A,{className:"p-0",children:(0,j.jsx)(Q,{children:d.Ay.conferenceTexts.settings})})}),(0,j.jsxs)(a.A,{children:[(0,j.jsx)(s.A,{md:4,className:"p-0",children:(0,j.jsx)(mt,{setActiveItem:e=>n(e),settingsItems:N,activeItem:t})}),(0,j.jsxs)(s.A,{md:8,className:"pr-0",children:["audio"===t&&(0,j.jsx)(xe,{}),"video"===t&&(0,j.jsx)(xt,{}),"background"===t&&(0,j.jsx)(He,{}),"logo"===t&&(0,j.jsx)(tt,{})]})]}),(0,j.jsx)(a.A,{children:(0,j.jsxs)(ne,{children:[A.getInitMeetingError()&&(0,j.jsx)(oe,{children:(0,j.jsxs)(a.A,{children:[(0,j.jsx)(s.A,{className:"p-0",md:4}),(0,j.jsx)(s.A,{className:"p-0",md:8,children:d.Ay.audioVideoSettings.initMeetingError})]})}),!I&&(0,j.jsx)(oe,{children:(0,j.jsxs)(a.A,{children:[(0,j.jsx)(s.A,{className:"p-0",md:4}),(0,j.jsx)(s.A,{className:"p-0",md:8,children:d.Ay.audioVideoSettings.microphonePermissionMessage})]})}),(0,j.jsxs)(ie,{children:[v.meetingStatus!==o.e0s.Succeeded&&(0,c.$)()&&(0,j.jsx)(ae.A,{text:d.Ay.audioVideoSettings.cancelMeetingSettingsButtonLabel,onClickHandler:()=>async function(e){e!==o.e0s.Succeeded&&(f.goBack(),A.leaveMeeting(!0)),x.setIsAudioVideoSettingsV2Open(!1)}(v.meetingStatus),theme:"settingsModal"}),I&&v.meetingStatus!==o.e0s.Succeeded&&(0,c.$)()&&(0,j.jsx)(ft.A,{text:L(),onClickHandler:async()=>{A.getInitMeetingError()?window.location.reload():!A.getIsMeetingActive()&&A.getExternalMeetingId()&&(A.startMeeting(),O.getSetting(S.fT.VIDEOINPUTSTATE)&&M.toggleVideo()),x.setIsAudioVideoSettingsV2Open(!1)},theme:"settingsModal"})]})]})})]})})})}}
1,51614:(e,t,n)=>{n.d(t,{Iu:()=>u,tW:()=>c});var o,i=n(7737),r=n(89510),a=n(17511),s=n(31274),l=n(47564),d=n(85599);const c=e=>(0,r.A)((0,r.A)({},e),{},{colors:(0,r.A)((0,r.A)({},null===e||void 0===e?void 0:e.colors),{},{primary:l.Ay.dropdownStyle.primaryColor,primary25:l.Ay.dropdownStyle.primary25Color,primary50:l.Ay.dropdownStyle.primary50Color,primary75:l.Ay.dropdownStyle.primary75Color})}),u=(0,s.Ay)(a.Ay)(o||(o=(0,i.A)(["\n width: 250px;\n height: ",";\n margin: ",";\n z-index: 10;\n font-size: 12px;\n font-family: ",";\n color: ",";\n\n @media "," {\n width: 48vw;\n }\n"])),e=>e.$height?e.$height:"auto",e=>e.$margin&&e.$margin,l.Ay.font1,l.Ay.mainInfoColor,d.Td.mobile)},53249:(e,t,n)=>{n.d(t,{A:()=>de});var o,i,r,a,s,l,d=n(35725),c=n(32640),u=n.n(c),g=n(15669),p=n(80867),h=n.n(p),m=n(89524),f=n(47564),v=n(84828),x=n(17642),A=n(92971),y=n(80309),b=n(22035),T=n(72792),I=n(58866),S=n(37772),w=n(85599),C=n(95125),k=n(56309),E=n(90121),j=n(89519),O=n(99673),M=n(54265),N=n(76598),L=n(84082),P=n(86451),R=n(12196),B=n(7737),D=n(31274);const U=D.Ay.div(o||(o=(0,B.A)(["\n background-color: #000;\n position: absolute;\n z-index: 999;\n width: 408px;\n height: 240px;\n border-radius: 7px;\n transition: all 0.1s;\n box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.75);\n color: #fff;\n overflow: hidden;\n -webkit-user-select: none;
1 /* Safari */\n -ms-user-select: none; /* IE 10 and IE 11 */\n user-select: none; /* Standard syntax */\n font-family: ",";\n\n @media screen and (max-width: 1920px) {\n width: 340px;\n height: 200px;\n }\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: relative;\n\n .hideUIElements {\n opacity: ",";\n }\n\n &:hover {\n .hideUIElements {\n opacity: 1;\n }\n }\n"])),f.Ay.font1,e=>{let{$controlsVisible:t}=e;return t?1:0}),V=D.Ay.div(i||(i=(0,B.A)(["\n width: 100%;\n height: 50px;\n position: absolute;\n top: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-direction: row;\n padding: 10px 15px;\n z-index: 10;\n transition: 0.3s;\n"]))),F=D.Ay.div(r||(r=(0,B.A)(["\n width: 70%;\n height: 50px;\n position: absolute;\n bottom: 10px;\n left: 50%;\n transform: translate(-50%, 0);\n transition: 0.3s;\n z-index: 10;\n"]))),_=D.Ay.div(a||(a=(0,B.A)(["\n font-family: ",";\n color: #fff;\n width: 50%;\n font-size: 12px;\n font-weight: bold;\n position: relative;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n"])),f.Ay.font1),G=D.Ay.div(s||(s=(0,B.A)(["\n font-family: ",";\n font-size: 14px;\n width: 40%;\n text-align: center;\n"])),f.Ay.font1),z=D.Ay.div(l||(l=(0,B.A)(["\n font-family: ",";\n cursor: pointer;\n width: 25%;\n text-align: right;\n"])),f.Ay.font1);var J,H=n(85443),K=n(87698),q=n(95040),$=n(35103);const W=D.Ay.div(J||(J=(0,B.A)(["\n background-color: #202428;\n display: flex;\n justify-content: center;
1\n align-items: center;\n height: 100%;\n width: 100%;\n cursor: pointer;\n"])));var Q,Y,X=n(96081);function Z(e){const{attendee:t,isMouseHovering:n}=e,o=(0,g.useContext)(C.RaisedHandContext),i=window.innerWidth<=1920?60:80,{muted:r}=(0,d.Y$K)(null===t||void 0===t?void 0:t.chimeAttendeeId),a=(0,d.b7G)();return(0,X.jsxs)(W,{children:[(0,X.jsx)($.j0,{isHandRaised:o&&o.includes(null===t||void 0===t?void 0:t.id),isSpeaking:!r&&a&&a.indexOf(null===t||void 0===t?void 0:t.chimeAttendeeId)>-1||!1,showAvatarBorderAnimations:!0,children:(0,X.jsx)(q.v9,{size:i,badgesize:i,alt:(0,A.IM)(null===t||void 0===t?void 0:t.name),src:null===t||void 0===t?void 0:t.avatarUrl,backgroundSize:"cover",type:"person"})}),!n&&(0,X.jsxs)($.nf,{children:[o&&o.includes(null===t||void 0===t?void 0:t.id)&&(0,X.jsx)(T.Nac,{height:"18px",width:"18px"}),null===t||void 0===t?void 0:t.name,(0,X.jsx)(d.glU,{className:"activity",attendeeId:null===t||void 0===t?void 0:t.chimeAttendeeId})]})]})}const ee=D.Ay.div(Q||(Q=(0,B.A)(["\n position: relative;\n width: 100%;\n height: 100%;\n"]))),te=D.Ay.div(Y||(Y=(0,B.A)(["\n transition: 0.3s;\n display: ",";\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 5;\n cursor: pointer;\n"])),e=>e.isMouseHovering?"block":"none");function ne(e){const{attendeeToTileId:t,attendee:n,isMouseHovering:o}=e,i=(0,g.useContext)(C.RaisedHandContext);return(0,X.jsxs)(ee,{children:[(0,X.jsx)(te,{isMouseHovering:o}),(0,X.jsx)(d.AWB,{tileId:t[null===n||void 0===n?void 0:n.chimeAttendeeId]}),!o&&(0,X.jsxs)($.nf,{children:[i&&i.includes(null===n||void 0===n?void 0:n.id)&&(0,X.jsx)(T.Nac,{height:"18px",width:"18px"}),null===n||void 0===n?void 0:n.name,(0,X.jsx)(d.glU,{className:"activity",attendeeId:null===n||void 0===n?void 0:n.chimeAttendeeId})]})]})}var oe;const ie=D.Ay.div(oe||(oe=(0,B.A)(["\n width: 100%;\n height: 100%;\n"])));function re(e){return(0,X.jsx)(ie,{children:e.isVideoTile?(0,X.jsx)(ne,{isMouseHovering:e.isMouseHovering,attendee:e.attendee,attendeeToTileId:e.attendeeToTileId}):(0,X.jsx)(Z,{isMouseHovering:e.isMouseHovering,attendee:e.attendee})})}var ae;const se=D.Ay.div(ae||(ae=(0,B.A)(["\n width: 100%;\n height: 100%;\n overflow: hidden;\n"])));function le(e){const t=(0,A.Es)(),{roster:n}=(0,d.Abl)(),o=(0,d.b7G)(),{joinMeetingWithFullPath:i}=(0,b.S)(),[r,a]=(0,g.useState)(Object.values(n).filter(e=>{var n;return(null===e||void 0===e?void 0:e.id)!==(null===(n=t.user())||void 0===n?void 0:n.profileId)})),{attendeeIdToTileId:s}=(0,d.CHz)(),[l,c]=(0,g.useState)(),{getEGMeetingStatus:u}=(0,j.F)(),p=(0,d.VjK)(),h=(0,j.F)(),m=(0,d.GYC)(),[x,y]=(0,g.useState)(),[I,S]=(0,g.useState)();(0,g.useEffect)(()=>{a(Object.values(n).filter(e=>{var n;return(null===e||void 0===e?void 0:e.id)!==(null===(n=t.user())||void 0===n?void 0:n.profileId)}))},[n]),(0,g.useEffect)(()=>{y(o.filter(e=>{var t,n;return e!==(null===(t=m.meetingSessionConfiguration)||void 0===t||null===(n=t.credentials)||void 0===n?void 0:n.attendeeId)})[0])},[o]),(0,g.useEffect)(()=>{S(l)},[l]),(0,g.useEffect)(()=>{x?x&&c(r.filter(e=>(null===e||void 0===e?void 0:e.chimeAttendeeId)===x)[0]):c(r[0])},[x,I,o,r,s]);let w=(0,X.jsx)(se,{});if(u())switch(u()){case v.E.Full:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.maxAttendees});break;case v.E.TimeUp:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,messageIcon:(0,T.stL)({fill:"#fff",width:"18",height:"18"}),message:f.Ay.conferenceTexts.timeUp});break;case v.E.Kicked:w=(0,X.jsx)(K.Ay,{positiveActionButtonText:f.Ay.conferenceTexts.rejoinButtonText,onPositiveActionClick:()=>{i(h.getExternalMeetingId())},size:K.w.SMALL,titleIcon:(0,T.rDq)({fill:"#d9d9d9",width:"18",height:"18"}),title:f.Ay.conferenceTexts.statusKickedTitle,message:f.Ay.conferenceTexts.statusKickedDefault,customMessage:h.getKickOrBanMessage()});break;case v.E.Banned:w=(0,X.jsx)(K.Ay,{positiveActionButtonText:f.Ay.conferenceTexts.closeBtnText,onPositiveActionClick:()=>{h.cleanUp()},size:K.w.SMALL,titleIcon:(0,T.HTc)({fill:"#d9d9d9",width:"25",height:"18"}),title:f.Ay.conferenceTexts.statusBannedTitle,message:f.Ay.conferenceTexts.statusKickedDefault,customMessage:h.getKickOrBanMessage()});break;case v.E.GreenRoomLive:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.statusLive,messageIcon:(0,T.ybN)({fill:"#fff",width:"18",height:"18"})});break;case v.E.NoModeratorInRoom:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.noModeratorsInRoomMessage,messageIcon:(0,T.lV0)({fill:"#fff",width:"18",height:"18"})});break;case v.E.NoConferenceRoomAccess:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.noAccessToRoomMessage,messageIcon:(0,T.lV0)({fill:"#fff",width:"18",height:"18"})});break;case v.E.NoConferenceRoomAccessGranted:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.conferenceRoomAccessNotGrantedMessage,messageIcon:(0,T.lV0)({fill:"#fff",width:"18",height:"18"})});break;case v.E.NoConferenceRoom:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.noExsistingConferenceRoom,messageIcon:(0,T.lV0)({fill:"#fff",width:"18",height:"18"})});break;case v.E.NoEventdate:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.noEventDateContectedToRoundTable,messageIcon:(0,T.lV0)({fill:"#fff",width:"18",height:"18"})});break;case v.E.NoAuth:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.noAccessToRoomMessage,messageIcon:(0,T.lV0)({fill:"#fff",width:"18",height:"18"})})}else switch(p){case d.e0s.Failed:case d.e0s.TerminalFailure:case d.e0s.Ended:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,onPositiveActionClick:()=>{window.location.reload()},positiveActionButtonText:f.Ay.conferenceTexts.reloadButtonText,message:f.Ay.conferenceTexts.genericError});break;case d.e0s.Loading:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,messageIcon:(0,X.jsx)(H.A,{animation:"border"})});break;case d.e0s.Left:w=h.getIsSwitchingRoom()?(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.switchingRoomText}):(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.callEnded,messageIcon:(0,T.stL)({fill:"#fff",width:"18",height:"18"})});break;case d.e0s.Succeeded:w=r.length?(0,X.jsx)(re,{isMouseHovering:e.isMouseHovering,attendeeToTileId:s,isVideoTile:Object.keys(s).includes(x),attendee:l}):(0,X.jsx)(K.Ay,{size:K.w.SMALL,message:f.Ay.conferenceTexts.noAttendees});break;default:w=(0,X.jsx)(K.Ay,{size:K.w.SMALL,onPositiveActionClick:()=>{i(h.getExternalMeetingId())},positiveActionButtonText:f.Ay.conferenceTexts.rejoinButtonText,message:f.Ay.conferenceTexts.genericError})}return(0,X.jsx)(se,{children:w})}const de=function(){var e;const t=(0,g.useRef)(null),[n,o]=(0,g.useState)(!1),[i,r]=(0,g.useState)(!1),[a,s]=(0,g.useState)(!1),{showInvitationBanner:l}=(0,y.t)(),c=null===(e=(0,A.Es)().user())||void 0===e?void 0:e.profileId,p=l?55:0,[B,D]=(0,g.useState)(window.innerWidth<=1920?{x:window.innerWidth-360,y:window.innerHeight-220-p}:{x:window.innerWidth-428,y:window.innerHeight-260-p}),{isVideoEnabled:J,isContentShareEnabled:H,toggleVideo:K,toggleContentShare:q}=(0,O.M)(),{isMuted:$,isAudioOn:W,toggleMute:Q,toggleAudio:Y}=(0,k.d)(),{leave:Z}=(0,E.L)(),{isMobile:ee}=(0,I.A)(),te=(0,j.F)(),{joinMeetingWithFullPath:ne}=(0,b.S)(),oe=(0,M.A)(te.getCallDuration()||0),ie=(0,N.O)(),{roster:re}=(0,d.Abl)(),ae=Object.values(re),se=(0,g.useRef)(ae),{getEGMeetingStatus:de}=(0,j.F)(),ce=te.getMeetingKind(),ue=(0,X.jsx)(d.tmR,{muted:$(),color:$()?"#fff":"#202428",width:"28px"}
1),ge=(0,X.jsx)(d.ABN,{disabled:!W(),color:W()?"#202428":"#fff",width:"28px"}),pe=(0,X.jsx)(d.i7d,{disabled:!J(),color:J()?"#202428":"#fff",width:"28px"}),he=H()?(0,X.jsx)(T.$yH,{stroke:"#202428",fill:"#202428",width:"19px",height:"19px"}):(0,X.jsx)(T.xJi,{stroke:"#fff",fill:"#fff",width:"18px",height:"18px"}),me=(0,X.jsx)(d.bcf,{color:"#fff",width:"28px"}),fe=window.innerWidth<=w.et.desktop?L.n4.Small:L.n4.Medium,ve=e=>{t.current&&!t.current.contains(e.target)&&s(!1)};(0,g.useEffect)(()=>{if(ee)return document.addEventListener("touchstart",ve),()=>document.removeEventListener("touchstart",ve)},[ee]),(0,g.useEffect)(()=>{xe()},[window.innerWidth,window.innerHeight]),(0,g.useEffect)(()=>{if(JSON.stringify(se.current)===JSON.stringify(ae))return;se.current=ae;const e=te.getExternalMeetingId();(0,x.A)(te,e,ce,ae,c)},[ae]),(0,g.useEffect)(()=>(te.setIsConferenceOverlayVisible(!0),()=>{te.setIsConferenceOverlayVisible(!1)}),[te.isConferenceOverlayVisible()]),(0,g.useEffect)(()=>{var e;let t;function n(){te.setCallDuration(oe.duration),clearTimeout(t)}if(oe.start(),"roundtable"!==ce)return n;const o={id:null===(e=te.getExternalMeetingId())||void 0===e?void 0:e.split("rt_")[1]};return(0,m.jE)(o).then(e=>{const n=e.content,o=1e3*u()(n.enddatetime).diff(u()((0,S.Yq)(new Date)),"seconds")+60*f.Ay.configuration.roundTableOpenAfterMinutes*1e3;o<=0?te.leaveMeeting(!0):t=setTimeout(()=>{te.leaveMeeting(!0)},o)}),n},[]);const xe=(0,g.useCallback)(()=>{n||(window.innerWidth<=1920?D({x:window.innerWidth-360,y:window.innerHeight-220-p}):D({x:window.innerWidth-428,y:window.innerHeight-260-p})),window.innerWidth<=1920?B&&B.x+360>=window.innerWidth&&D(e=>({x:window.innerWidth-360,y:e.y})):window.innerWidth>=1920&&B&&B.x+428>=window.innerWidth&&D(e=>({x:window.innerWidth-428,y:e.y}))},[window.innerWidth,window.innerHeight,p]),Ae=()=>{te.getIsUserKickedOrBanned()||de()===v.E.TimeUp?te.cleanUp():ne(te.getExternalMeetingId())},ye=(0,C.roundtableRecordingInProgress)(re,ce)?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(T.uK_,{fill:"#F61C0D",width:"8",height:"8",customStyle:"margin: 0 5px 2px 5px;"}),R.v+oe.formattedDuration()]}):oe.formattedDuration();return(0,g.useEffect)(()=>{n||(window.innerWidth<=1920?D({x:window.innerWidth-350,y:window.innerHeight-220-p}):D({x:window.innerWidth-428,y:window.innerHeight-260-p}))},[p,n]),(0,X.jsx)(h(),{bounds:"html",onDrag:(e,t)=>{o(!0),D({x:t.x,y:t.y})},handle:".handle",position:B,defaultPosition:B,scale:1,children:(0,X.jsx)(U,{ref:t,className:"handle",$controlsVisible:a,onTouchStart:()=>ee&&s(!0),onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:(0,X.jsxs)(C.RaisedHandContext.Provider,{value:ie,children:[(0,X.jsxs)(V,{className:"hideUIElements",children:[(0,X.jsx)(_,{children:te.getMeetingTitle()}),(0,X.jsx)(G,{children:te.getIsUserKickedOrBanned()||de()===v.E.TimeUp?"--:--":ye}),(0,X.jsx)(z,{onTouchStart:Ae,onClick:Ae,children:te.getIsUserKickedOrBanned()||de()===v.E.TimeUp?(0,X.jsx)(T.gzW,{fill:"#fff",width:"13px",height:"13px"}):(0,X.jsx)(T.HGT,{fill:"#fff",width:"15px",height:"15px"})})]}),(0,X.jsx)(le,{isMouseHovering:i}),!te.getIsUserKickedOrBanned()&&de()!==v.E.TimeUp&&(0,X.jsx)(F,{className:"hideUIElements",children:(0,X.jsxs)(P.v4,{children:[(0,X.jsx)(L.aV,{label:$()?f.Ay.conferenceTexts.unmute:f.Ay.conferenceTexts.mute,active:!$(),size:fe,onClick:Q,icon:ue}),(0,X.jsx)(L.aV,{label:W()?f.Ay.conferenceTexts.soundOn:f.Ay.conferenceTexts.soundOff,active:W(),size:fe,onClick:Y,icon:ge}),(0,X.jsx)(L.aV,{label:J()?f.Ay.conferenceTexts.videoOn:f.Ay.conferenceTexts.videoOff,active:J(),size:fe,onClick:K,icon:pe}),(0,X.jsx)(L.aV,{label:H()?f.Ay.conferenceTexts.shareScreenStop:f.Ay.conferenceTexts.shareScreenStart,active:H(),size:fe,onClick:q,icon:he}),(0,X.jsx)(L.aV,{label:f.Ay.conferenceTexts.leave,size:fe,onClick:Z,backgroundColor:"#E30613",icon:me})]})})]})})})}},54265:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(15669);const i=60,r=60*i,a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const[t,n]=(0,o.useState)(e),a=(0,o.useRef)(null);(0,o.useEffect)(()=>()=>{l()},[]);const s=()=>{a.current=setInterval(()=>{n(e=>e+1)},1e3)},l=()=>{a.current&&clearInterval(a.current)};return{duration:t,start:s,stop:l,reset:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;l(),n(e),s()},formattedDuration:()=>{const e=t<0,n=Math.abs(t),o=Math.floor(n/r%24),a=Math.floor(n/i%60),s=Math.floor(n%60);return o>0?"".concat((e?"- ":"")+o.toString().padStart(2,"0"),":").concat(a.toString().padStart(2,"0"),":").concat(s.toString().padStart(2,"0")):"".concat((e?"- ":"")+a.toString().padStart(2,"0"),":").concat(s.toString().padStart(2,"0"))}}}},56309:(e,t,n)=>{n.d(t,{d:()=>s});var o=n(29015),i=n(35725),r=n(25547);const a=(0,o.hH)({}),s=()=>(()=>{const{muted:e,toggleMute:t}=(0,i.abu)(),{isAudioOn:n,toggleAudio:o}=(0,i.eDo)(),a=(0,i.GYC)(),s=(0,r.tR)();return{toggleMute:()=>{t()},isMuted:()=>e,isAudioOn:()=>n,toggleAudio:()=>{o()},onCallStart:async()=>{var e,t;s.currentAudioInputDevice()&&await(null===(e=a.audioVideo)||void 0===e?void 0:e.startAudioInput(s.currentAudioInputDevice().value)),s.currentAudioOutputDevice()&&await(null===(t=a.audioVideo)||void 0===t?void 0:t.chooseAudioOutput(s.currentAudioOutputDevice().value))},onCallEnd:async()=>{var e;null===(e=a.audioVideo)||void 0===e||e.stopAudioInput()}}})((0,o.mO)(a))},58758:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(31274),i=n(8869),r=n(34185),a=n(96081);const s=function(e){return(0,a.jsx)(o.NP,{theme:{primaryButton:(0,r.S)(e.theme)},children:(0,a.jsx)(i.f,{onClick:e.onClickHandler,children:e.text})})}},62408:(e,t,n)=>{n.d(t,{J:()=>
1o});let o=function(e){return e.CONTINUE_WATCHING="CONTINUE_WATCHING",e.ALL="ALL",e}({})},62509:(e,t,n)=>{function o(e,t){return function(e){switch(e){case"call":return"cl_";case"showroom":return"sr_";case"virtualCafe":return"vc_";case"calenderEntry":return"ce_";case"greenroom":return"gr_";case"roundtable":return"rt_";case"breakout":return"br_";case"conferenceroom":return"cr_";default:return""}}(t)+e}n.d(t,{A:()=>o})},63339:(e,t,n)=>{n.d(t,{eo:()=>i,y3:()=>r});var o=n(44464);function i(e,t){return n=function(e,t){return r(t)+e}(e,t),"".concat(o.J.meetings.base).concat(n);var n}function r(e){switch(e){case"call":return"cl_";case"showroom":return"sr_";case"virtualCafe":return"vc_";case"calenderEntry":return"ce_";case"greenroom":return"gr_";case"roundtable":return"rt_";case"breakout":return"br_";case"conferenceroom":return"cr_";default:return""}}},66008:(e,t,n)=>{n.r(t),n.d(t,{default:()=>oe,scrollPositionKeyJobOffers:()=>ne});var o,i,r,a,s,l=n(89510),d=n(17952),c=n(86125),u=n(15669),g=n(75471),p=n(76838),h=n(47564),m=n(56274),f=n(93025),v=n(35744),x=n(2910),A=n(22019),y=n(9370),b=n(23780),T=n(43118),I=n(44464),S=n(80693),w=n(67162),C=n(24137),k=n(43249),E=n(26048),j=n(29635),O=n(21526),M=n(60513),N=n(58224),L=n(58866),P=n(85599),R=n(5076),B=n(7781),D=n(30046),U=n(67960),V=n(19519),F=n(5226),_=n(20482),G=n(6433),z=n(2107),J=n(7737),H=n(31274);const K=H.Ay.div(o||(o=(0,J.A)(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n"]))),q=H.Ay.div(i||(i=(0,J.A)(["\n display: block;\n @media "," {\n display: flex;\n align-items: center;\n }\n"])),P.Td.tablet),$=H.Ay.div(r||(r=(0,J.A)(["\n display: none;\n height: 50px;\n"]))),W=(0,H.Ay)($)(a||(a=(0,J.A)(["\n padding: 25px 25px 15px;\n @media "," {\n display: flex;\n }\n"])),P.Td.laptop),Q=(0,H.Ay)($)(s||(s=(0,J.A)(["\n align-items: center;\n @media "," {\n display: flex;\n }\n"])),P.Td.smallerThanLaptop);var Y=n(23730),X=n(97782),Z=n(20258),ee=n(72064),te=n(96081);const ne="scrollPositionJobOffers",oe=()=>{var e,t,n,o,i,r,a,s,J,H,$,oe,ie;const re=(0,f.A1)(),ae=(0,x.RD)().getLanguage(),se=(0,p.W6)(),le=(0,v.B)(),{isMobile:de,isTablet:ce}=(0,L.A)(),ue="joboffer",[ge,pe]=(0,u.useState)(null!==(e=null===(t=se.location.state)||void 0===t?void 0:t.dropdownFilterParams)&&void 0!==e?e:[]),[he,me]=(0,u.useState)(new Map),fe=h.Ay.jobOffersPageContent.dropdownFilterConfig,ve=(0,A.Ck)(),[xe,Ae]=(0,u.useState)(!0),ye=fe.some(e=>"CategoryFilter"===e._cType),be=xe||ye&&ve.loading&&0===ve.categoriesList.length,[Te,Ie]=(0,u.useState)(null!==(n=null===(o=se.location.state)||void 0===o?void 0:o.showOnlyBookmarks)&&void 0!==n&&n),[Se,we]=(0,u.useState)(""),[Ce,ke]=(0,u.useState)(null!==(i=null===(r=se.location.state)||void 0===r?void 0:r.page)&&void 0!==i?i:0),[Ee,je]=(0,u.useState)(null!==(a=null===(s=se.location.state)||void 0===s?void 0:s.alpha)&&void 0!==a?a:null),[Oe,Me]=(0,u.useState)(""),[Ne,Le]=(0,u.useState)(null!==(J=null===(H=se.location.state)||void 0===H?void 0:H.searchParam)&&void 0!==J?J:""),[Pe,Re]=(0,u.useState)(null!==($=null===(oe=se.location.state)||void 0===oe?void 0:oe.searchParam)&&void 0!==$?$:""),Be=[M.Kb,M.S2],[De,Ue]=(0,u.useState)(()=>{const e=se.location.state,t=(null===e||void 0===e?void 0:e.sortOrder)||{},n=M.Kb,o=t.joboffer;return o||n}),Ve=["sectionsJobOffers",ue,Ne,JSON.stringify(ge),De,Ee].join("_"),[Fe,_e]=(0,u.useState)(()=>{try{return JSON.parse(sessionStorage.getItem(Ve)||"{}")}catch(e){return{}}}),[Ge,ze]=(0,u.useState)(!0),Je={page:Ce,order:De,alpha:Ee,showOnlyBookmarks:Te,entityTypes:[ue],searchEntities:[],favorites:le.get(ue),searchValue:Ne,dropdownFilterParams:ge},[He,Ke]=(0,u.useState)(!0),qe=fe.length>0,$e=ge.some(e=>{let{alias:t}=e;return null!==t})||!(0,B.uJ)(Ne),{setShowBanner:We,setTopBarRef:Qe,hideOnScroll:Ye,setHideOnScroll:Xe}=(0,m.A)(),{setGuestUserBannerRef:Ze}=(0,z.A)(),et=u.useRef(null),[tt,nt]=(0,u.useState)(parseInt(null!==(ie=window.sessionStorage.getItem(ne))&&void 0!==ie?ie:"0")),ot=u.useRef(tt?Date.now()+1500:0),it=u.useMemo(()=>(0,c.s)(e=>window.sessionStorage.setItem(ne,e.toString()),150),[]),rt=e=>{const t=e;if(!t.contentScrollHeight)return;const n=!(t.contentScrollHeight>t.clientHeight)||t.scrollTop>0;n!==Ye&&Xe(n),Date.now()<ot.current||(void 0!==tt&&nt(void 0),it(t.scrollTop))};(0,u.useEffect)(()=>()=>it.flush(),[it]);const at=(0,u.useCallback)(()=>{Pe||ge.length||Ue("relevance")},[ge.length,Pe]);let st;(0,u.useEffect)(()=>{at()},[Ne,ge,ue,at]);const lt=()=>{_e({}),ke(0),Xe(!1),nt(0),it.cancel(),sessionStorage.removeItem(Ve),window.sessionStorage.setItem(ne,"0")},dt=(0,c.s)(e=>{lt(),Le(e)},600,{edges:["trailing"]}),ct=(0,u.useCallback)(dt,[]);function ut(){pe([]),Re(""),Le(""),se.replace(I.J.jobOffers,(0,l.A)((0,l.A)({},se.location.state),{},{dropdownFilterParams:[],searchParam:""})),lt()}
1const gt=[Ce,Te,Ee,ae,Ne,De].join("_");(0,y.x)({sections:Fe,setSections:_e,loaded:Ge,setLoaded:ze,setPage:ke,dropdownFilterParams:ge,setDropdownData:me,dropdowns:fe,categoriesState:ve,page:Ce,entityType:ue,path:I.J.jobOffers,getSearchParamEntityTypes:{entityTypes:["joboffer"],entityTypeTemp:"joboffer"},searchParams:Je,setIsError:we,refreshKey:gt,cleanFavorites:()=>{(0,_.Dq)(le,se,ue,Fe,_e,ze,R.Uf,I.J.jobOffers,Te)},setIsDropdownLoading:Ae}),(0,b.X)([]),(0,u.useEffect)(()=>{sessionStorage.setItem(Ve,JSON.stringify(Fe))},[Fe,Ve]),(0,u.useEffect)(()=>{re.setCurrentMobileBreadcrumb(h.Ay.sideIconBar.jobOfferMenuText)},[ae]);const pt=Object.values(Fe).some(e=>{var t,n;return(null!==(t=null===e||void 0===e||null===(n=e.entities)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0});if(Se)st=(0,te.jsx)("div",{style:{marginTop:"15%"},children:(0,te.jsx)(w.A,{})});else if(0!==Ce||Ge||pt){const e=(0,_.WH)(Fe);st=(0,te.jsx)(F.og,{ref:et,children:(0,te.jsxs)(O.A,{scrollTop:tt,onScroll:rt,children:[(0,te.jsx)(Y.T,{viewMode:V.ViewMode.LIST,sections:Fe,entityType:ue,searchKrit:Oe,isSponsor:!1,isMediaPartner:!1,isStartup:!1,searchParams:(0,_.pw)(Je.alpha,ge,"","",Ne),searchTerm:Pe,onSortOrderChange:e=>(e=>{e===M.Kb?Ue(M.Kb):Ue(M.S2),se.replace(I.J.jobOffers,(0,l.A)((0,l.A)({},se.location.state),{},{sortOrder:(0,l.A)((0,l.A)({},se.location.state.sortOrder),{},{[ue]:e})}))})(e),sortOrderOptions:Be,selectedSortOrderOption:De,bannerConfig:h.Ay.jobOffersPageContent.sandwichBannerConfig}),e&&(0,te.jsx)(F.rk,{children:(0,te.jsx)(g.Ay,{threshold:.1,onChange:e=>{e&&Ge&&(ke(Ce+1),se.replace(I.J.jobOffers,(0,l.A)((0,l.A)({},se.location.state),{},{page:Ce+2})))},children:(0,te.jsx)(F.Oe,{})})})]})})}else st=(0,te.jsx)(F.ls,{$padding:"0 25px",children:(0,te.jsx)(d.If,{numberOfItems:10,logoDisplayMode:(0,d.JU)(ue),margin:"0",isMobile:ce})});return(0,te.jsxs)(F.Qs,{children:[(0,te.jsxs)(P.Mh,{children:[(0,te.jsx)(G.A,{setRef:Ze}),(0,te.jsx)(S.A,{setRef:Qe}),(0,te.jsx)(D.A,{type:"joboffers",setRef:Qe,hideOnScroll:Ye,onHideBanner:()=>{We(!1)}}),(0,te.jsxs)(K,{children:[(0,te.jsx)(T.A,{breadcrumb:[{to:I.J.jobOffers,name:h.Ay.sideIconBar.jobOfferMenuText}],disableGTMTracking:!1,classification:"List",contentType:(0,B.Zr)(ue)}),(0,te.jsx)(W,{children:(0,te.jsx)(k.T,{bookmarkFilter:Te,setBookmarkFilter:e=>{Ie(e),se.replace(I.J.jobOffers,(0,l.A)((0,l.A)({},se.location.state),{},{showOnlyBookmarks:e})),lt()}})})]})]}),(0,te.jsx)(P.Mh,{children:(0,te.jsx)(j.A,{activeFilter:Ee,onFilterChanged:e=>(0,_.PX)(e,Ee,je,se,lt,I.J.jobOffers)})}),(0,te.jsxs)(F.fu,{children:[(0,te.jsxs)(F.om,{$isMobile:de,children:[(0,te.jsx)(F.zM,{$visible:!de||He,$showShadow:Ye,children:(0,te.jsx)(F.B3,{children:(0,te.jsx)(F.FY,{children:qe&&(0,te.jsxs)(F.e1,{$isMobile:de,children:[(0,te.jsx)(q,{children:h.Ay.jobOffersPageContent.showSearchBar&&(0,te.jsx)(ee.L,{currentSearch:Pe,entityType:ue,setCurrentSearch:e=>{Re(e),ct(e),se.replace(I.J.jobOffers,(0,l.A)((0,l.A)({},se.location.state),{},{searchParam:e}))}})}),be?(0,te.jsx)(N.A,{number:3}):fe.length>0&&he.size>0&&fe.map(e=>{var t;const n=he.get(e.id);return n?(0,te.jsx)(C.e,{wrapper:e=>ce?(0,te.jsx)(te.Fragment,{children:e}):(0,te.jsx)(q,{children:e}),children:(0,te.jsx)(X.P,{categories:n,isMultiselect:e.isMultiselect,defaultTitle:e.placeholder,searchParamFilterValue:e.isMultiselect?ge.filter(t=>{let{dropdownId:n}=t;return n===e.id}).map(e=>{let{alias:t}=e;return t}):null===(t=ge.find(t=>{let{dropdownId:n}=t;return n===e.id}))||void 0===t?void 0:t.alias,onClick:t=>{(0,_.SF)(t,{id:e.id,type:"JobOfferFilter"===e._cType?e.type:"cat"},ge,pe,se,I.J.jobOffers,lt,Me)}})}):null}),(0,te.jsx)(Q,{children:(0,te.jsx)(k.T,{bookmarkFilter:Te,setBookmarkFilter:e=>{Ie(e),se.replace(I.J.jobOffers,(0,l.A)((0,l.A)({},se.location.state),{},{showOnlyBookmarks:e})),lt()},margin:"0"})}),(0,te.jsx)(P.wn,{children:(0,te.jsx)(U.W,{bookmarkFilter:Te,updateBookmarkFilter:()=>{Ie(!Te),lt()}})}),(0,te.jsx)(Z.n,{onResetFilterButtonClick:()=>ut(),resetFilterVisible:$e})]})})})}),(0,te.jsx)(P.wn,{children:(0,te.jsx)(F.Ch,{$filterVisible:He,children:(0,te.jsx)(E.E,{setFiltersVisible:Ke,filtersVisible:He})})})]}),st]})]})}}
1,68433:(e,t,n)=>{n.d(t,{a:()=>i});var o=n(47564);const i=e=>({secondaryButtonBorderColor:o.Ay.conferenceRoomTheme[e].secondaryButtonBorderColor,secondaryButtonBorderHoverColor:o.Ay.conferenceRoomTheme[e].secondaryButtonBorderHoverColor,secondaryButtonBackgroundColor:o.Ay.conferenceRoomTheme[e].secondaryButtonBackgroundColor,secondaryButtonBackgroundHoverColor:o.Ay.conferenceRoomTheme[e].secondaryButtonBackgroundHoverColor,secondaryButtonTextColor:o.Ay.conferenceRoomTheme[e].secondaryButtonTextColor,secondaryButtonTextHoverColor:o.Ay.conferenceRoomTheme[e].secondaryButtonTextHoverColor})},69108:(e,t,n)=>{n.d(t,{Fq:()=>d,fT:()=>l,zl:()=>u});var o=n(29015),i=n(35725),r=n(56309),a=n(99673),s=n(15669);let l=function(e){return e.AUDIOINPUTSTATE="AUDIOINPUTSTATE",e.VIDEOINPUTSTATE="VIDEOINPUTSTATE",e.LOGOURL="LOGOURL",e.LOGOPOSITION="LOGOPOSITION",e.BACKGROUNDURL="BACKGROUNDURL",e.BLUR="BLUR",e}({});const d="virtualGuide-PreMeetingSettings",c=(0,o.hH)({meetingSettingsState:void 0}),u=()=>(e=>{const{setSelectedBackground:t,setSelectedLogo:n,setLogoPosition:o,toggleBlur:c,getIsBlurActive:u}=(0,a.M)(),{isMuted:g,toggleMute:p}=(0,r.d)(),h=JSON.parse(localStorage.getItem(d)||"{}");(0,s.useEffect)(()=>{e.merge({meetingSettingsState:h})},[]);const m=(0,i.GYC)();return{applyStoredAudioSettings:async()=>{(h.hasOwnProperty("audioInputState")&&!1===h.audioInputState&&!g()||h.hasOwnProperty("audioInputState")&&!0===h.audioInputState&&g())&&p()},applyStoredVideoSettings:async()=>{if(m.meetingStatus===i.e0s.Succeeded||m.meetingStatus===i.e0s.Loading){const e=null===h||void 0===h?void 0:h.logo;e&&n(e);const i=h.logoPosition;i&&o(i);const r=null===h||void 0===h?void 0:h.background;r&&t(r);const a=null===h||void 0===h?void 0:h.blurState;(!u()&&a||u()&&!h.blurState)&&c()}},storeSetting:(t,n)=>{const o=JSON.parse(localStorage.getItem(d)||"{}"),i=structuredClone(o);switch(t){case l.AUDIOINPUTSTATE:i.audioInputState=n;break;case l.VIDEOINPUTSTATE:i.videoInputState=n}localStorage.setItem(d,JSON.stringify(i)),e.merge({meetingSettingsState:i})},getSetting:t=>{var n,o,i,r;switch(t){case l.AUDIOINPUTSTATE:return null!==(n=null===(o=e.value.meetingSettingsState)||void 0===o?void 0:o.audioInputState)&&void 0!==n&&n;case l.VIDEOINPUTSTATE:return null!==(i=null===(r=e.value.meetingSettingsState)||void 0===r?void 0:r.videoInputState)&&void 0!==i&&i}return!1}}})((0,o.mO)(c))},71859:(e,t,n)=>{n.d(t,{U:()=>o});let o=function(e){return e.TOP_RIGHT="topright",e.TOP_LEFT="topleft",e.BOTTOM_RIGHT="bottomright",e.BOTTOM_LEFT="bottomleft",e}({})},76598:(e,t,n)=>{n.d(t,{O:()=>c});var o=n(9900),i=n(15669),r=n(22269),a=n(93025),s=n(71739),l=n(89519),d=n(92971);const c=()=>{const[e,t]=(0,i.useState)([]),n=(0,l.F)().getExternalMeetingId(),c=(0,d.Es)();return(0,i.useEffect)(()=>{if(!c.isLoggedIn)return;(0,r.Mo)(n).then(e=>{null!==e&&void 0!==e&&e.data&&t(e.data.listRaisedHands.items.map(e=>e.id))});const e=o.n.graphql((0,r.JS)(s.X0,{chimeMeetingId:n})).subscribe({next:()=>{(0,r.Mo)(n).then(e=>{t(e.data.listRaisedHands.items.map(e=>e.id))})},error:e=>{a.Um.error({message:"Subscription Error: onRaisedHandCreated",errorMessage:e.message,errorStack:e.stack})},complete:()=>{a.Um.info("Subscription Complete: onRaisedHandCreated")}}),i=o.n.graphql((0,r.JS)(s.qj,{chimeMeetingId:n})).subscribe({next:()=>{(0,r.Mo)(n).then(e=>{t(e.data.listRaisedHands.items.map(e=>e.id))})},error:e=>{a.Um.error({message:"Subscription Error: onRaisedHandDeleted",errorMessage:e.message,errorStack:e.stack})},complete:()=>{a.Um.info("Subscription Complete: onRaisedHandDeleted")}});return()=>{e.unsubscribe(),i.unsubscribe()}},[n,c.isLoggedIn]),e}},79767:(e,t,n)=>{n.d(t,{J:()=>d});var o=n(29015),i=n(35725),r=n(47564),a=n(12936),s=n(15805);const l=(0,o.hH)({}),d=()=>(()=>{const e=(0,i.GYC)(),t=(0,i.dqp)();return{modKick(n,o,l){var d;null===(d=e.audioVideo)||void 0===d||d.realtimeSendDataMessage((0,s.I)(n),{type:a.a.KICK,data:l}),t({type:i.X2v.ADD,payload:{severity:i.AI$.WARNING,message:"".concat(r.Ay.conferenceTexts.kickedInfoForMod.replace("{username}",o)),autoCloseDelay:3e3}})},modBan(n,o,l){var d;null===(d=e.audioVideo)||void 0===d||d.realtimeSendDataMessage((0,s.I)(n),{type:a.a.BAN,data:l}),t({type:i.X2v.ADD,payload:{severity:i.AI$.WARNING,message:"".concat(r.Ay.conferenceTexts.bannedInfoForModText.replace("{username}",o)," "),autoCloseDelay:3e3}})}
1,modMute(t){var n;null===(n=e.audioVideo)||void 0===n||n.realtimeSendDataMessage((0,s.I)(t),{type:a.a.MUTE})},modStopContentShare(t){var n;null===(n=e.audioVideo)||void 0===n||n.realtimeSendDataMessage((0,s.I)(t),{type:a.a.STOP_SCREENSHARE})},isMod:e=>"moderator"===e.role}})((0,o.mO)(l))},80141:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ie,scrollPositionKeyShowfloor:()=>oe});var o=n(89510),i=n(17952),r=n(86125),a=n(15669),s=n(75471),l=n(76838),d=n(3760),c=n(88265),u=n(47564),g=n(56274),p=n(93025),h=n(35744),m=n(2910),f=n(23650),v=n(22019),x=n(9370),A=n(3229),y=n(23780),b=n(43118),T=n(44464),I=n(80693),S=n(73810),w=n(67162),C=n(75745),k=n(93433),E=n(26048),j=n(29635),O=n(84193),M=n(21526),N=n(87381),L=n(60513),P=n(58224),R=n(4835),B=n(58866),D=n(85599),U=n(32498),V=n(5076),F=n(7781),_=n(30046),G=n(67960),z=n(19519),J=n(5226),H=n(20482),K=n(6433),q=n(2107),$=n(24635),W=n(859),Q=n(84629),Y=n(23730),X=n(97782),Z=n(20258),ee=n(72064),te=n(81251),ne=n(96081);const oe="scrollPositionShowfloor",ie=e=>{var t,n,ie,re,ae,se,le,de,ce,ue,ge,pe,he,me,fe,ve,xe,Ae,ye,be,Te,Ie,Se,we,Ce,ke;const Ee=(0,p.A1)(),je=(0,l.W6)(),Oe=(0,m.RD)().getLanguage(),Me=(0,A.A)(),Ne=(0,h.B)(),Le=(0,v.Ck)(),{isMobile:Pe,useMobileDesign:Re,width:Be,isTablet:De}=(0,B.A)(),[Ue,Ve]=(0,a.useState)((0,H.GI)(Ee,e)),[Fe,_e]=(0,a.useState)(null!==(t=null===(n=je.location.state)||void 0===n?void 0:n.dropdownFilterParams)&&void 0!==t?t:[]),[Ge,ze]=(0,a.useState)(new Map),[Je,He]=(0,a.useState)(new Map),Ke=u.Ay.exhibitorsPageContent.dropdownFilterConfig,[qe,$e]=(0,a.useState)(!0),We=Ke.some(e=>"CategoryFilter"===e._cType||"ParentCategoryFilter"===e._cType),Qe=qe||We&&Le.loading&&0===Le.categoriesList.length,[Ye,Xe]=(0,a.useState)(null!==(ie=null!==(re=null===(ae=je.location.state)||void 0===ae?void 0:ae.showOnlyBookmarks)&&void 0!==re?re:e.showOnlyBookmarks)&&void 0!==ie&&ie),[Ze,et]=(0,a.useState)(""),[tt,nt]=(0,a.useState)(null!==(se=null===(le=je.location.state)||void 0===le?void 0:le.page)&&void 0!==se?se:0),[ot,it]=(0,a.useState)(Oe),[rt,at]=(0,a.useState)(null!==(de=null===(ce=je.location.state)||void 0===ce?void 0:ce.alpha)&&void 0!==de?de:null),[st,lt]=(0,a.useState)(""),[dt,ct]=(0,a.useState)(null!==(ue=null===(ge=je.location.state)||void 0===ge?void 0:ge.searchParam)&&void 0!==ue?ue:""),[ut,gt]=(0,a.useState)(null!==(pe=null===(he=je.location.state)||void 0===he?void 0:he.searchParam)&&void 0!==pe?pe:""),pt=e.isSponsorsPage?u.Ay.sponsorsPageContent.partnersSponsorsCategoryAliases.map(e=>"cat_"+e).join(", "):e.isStartupPage?u.Ay.startupsPageContent.startupCategories.map(e=>"cat_"+e).join(", "):"",ht=(0,H.lM)(Ue),mt=ht?"prodtype_"+ht.productType:"",[ft,vt]=(0,a.useState)(null!==(me=null===(fe=je.location.state)||void 0===fe?void 0:fe.categorySearchParam)&&void 0!==me?me:""),[xt,At]=(0,a.useState)(!1),[yt,bt]=(0,a.useState)(),Tt=je.location.state;(0,a.useEffect)(()=>{bt(()=>"news"!==Ue||ut?"news"===Ue&&ut?[L.Kb,L.Ni,L.jn]:[L.Kb,L.S2]:[L.Ni,L.jn])},[Ue,ut]);const[It,St]=(0,a.useState)(()=>{const e=null===Tt||void 0===Tt?void 0:Tt.sortOrder,t=null===e||void 0===e?void 0:e[Ue];let n;n="news"!==Ue||ut?L.Kb:L.Ni;return t||n}),wt=["sections",Ue,dt,JSON.stringify(Fe),It,rt].join("_"),[Ct,kt]=(0,a.useState)(()=>{try{return JSON.parse(sessionStorage.getItem(wt)||"{}")}catch(e){return{}}}),[Et,jt]=(0,a.useState)(!0),Ot=(t,n)=>{var i;"news"===n&&(t?(bt(e=>(null===e||void 0===e?void 0:e.some(e=>e===L.Kb))?e:[L.Kb,...e||[]]),St(L.Kb)):(bt(e=>(null===e||void 0===e?void 0:e.filter(e=>e!==L.Kb))||[]),St(L.Ni))),je.replace((0,H.Ti)(n,e),(0,o.A)((0,o.A)({},je.location.state),{},{sortOrder:(0,o.A)((0,o.A)({},null===(i=je.location.state)||void 0===i?void 0:i.sortOrder),{},{[n]:It})}))},Mt=(0,a.useCallback)(()=>{ut||Fe.length||Lt("news"===Ue?"chrono#desc":"relevance")},[Fe.length,ut,Ue]);(0,a.useEffect)(()=>{Mt()},[dt,Fe,Ue,Mt]);const Nt=()=>Ne.get((0,H.wZ)(Ue)),Lt=(0,a.useCallback)(t=>{var n;St(t),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{sortOrder:(0,o.A)((0,o.A)({},null===(n=je.location.state)||void 0===n?void 0:n.sortOrder),{},{[Ue]:t})}))},[Ue]),Pt=It&&It.replace("#desc","").replace("#asc",""),Rt={page:tt,order:null!==Pt&&void 0!==Pt?Pt:"relevance",secondaryOrder:"relevance"===It?"lexic":null,alpha:rt,showOnlyBookmarks:Ye,entityTypes:[(0,H.wZ)(Ue)],searchEntities:[],categoryFilter:pt,productTypeFilter:mt,favorites:Nt(),searchValue:dt,dropdownFilterParams:Fe,basispremium:e.isStartupPage?u.Ay.startupsPageContent.startupPackageValue:void 0,newsDesc:It.includes("#desc"),newsTypeFilter:"news"!==(0,H.wZ)(Ue)||e.showOnlyBookmarks?void 0:(0,W.Uo)(u.Ay.exhibitorsPageContent.visibleNewsTypes)},[Bt,Dt]=(0,a.useState)(!0),Ut=Ke.length>0,Vt=u.Ay.exhibitorsPageContent.showSearchBarOnShowFloor,Ft=Ut||Vt,_t=Fe.some(e=>{let{alias:t}=e;return null!==t})||!(0,F.uJ)(dt),{setShowBanner:Gt,setTopBarRef:zt,hideOnScroll:Jt,setHideOnScroll:Ht}=(0,g.A)(),{setGuestUserBannerRef:Kt}=(0,q.A)(),qt=(0,a.useRef)(null),[$t,Wt]=(0,a.useState)(parseInt(null!==(ve=window.sessionStorage.getItem(oe))&&void 0!==ve?ve:"0")),[Qt,Yt]=(0,a.useState)(null!==(xe=null===(Ae=je.location.state)||void 0===Ae?void 0:Ae.activeSubCategory)&&void 0!==xe?xe:u.Ay.categoriesPageContent.categoriesConfiguration[0]),[Xt,Zt]=(0,a.useState)(null!==(ye=null===(be=je.location.state)||void 0===be?void 0:be.activeCustomSubCategory)&&void 0!==ye?ye:u.Ay.categoriesPageContent.customCategoriesConfiguration[0]),en=null!==(Te=e.isSponsorsPage)&&void 0!==Te&&Te,tn=null!==(Ie=e.isMediaPartnerPage)&&void 0!==Ie&&Ie,nn=null!==(Se=e.isStartupPage)&&void 0!==Se&&Se,on=!en&&!e.isMediaPartnerPage&&!e.showOnlyBookmarks,rn=en?"partners_sponsors":tn?"mediapartner":nn?"startup":"showfloor";const an=a.useCallback(()=>{var e,t,n;const o=(0,C.NL)(Ee.currentItem,Ue),i=null===(e=je.location.state)||void 0===e?void 0:e.viewM
1ode;let r="",a=z.ViewMode.LIST;switch(Ue){case"product":r=u.Ay.navigationArea.productsItemTitle;break;case"trademark":r=u.Ay.navigationArea.trademarksItemTitle;break;case"category":const e=Qt?Qt.listViewAsDefault:u.Ay.categoriesPageContent.listViewAsDefault;r=u.Ay.categoriesPageContent.categoriesPageTitle,a=e?z.ViewMode.LIST:z.ViewMode.TILES;break;case"customcategory":const n=Xt?Xt.listViewAsDefault:u.Ay.categoriesPageContent.customCategoriesConfiguration.length>0?null===(t=u.Ay.categoriesPageContent.customCategoriesConfiguration[0])||void 0===t?void 0:t.listViewAsDefault:u.Ay.categoriesPageContent.listViewAsDefault;r=u.Ay.exhibitorsPageContent.customCategoriesTitle,a=n?z.ViewMode.LIST:z.ViewMode.TILES;break;case"organization":r=u.Ay.navigationArea.companiesItemTitle,a=u.Ay.sponsorsPageContent.listViewAsDefault&&en||u.Ay.exhibitorsPageContent.listViewAsDefaultStartup&&nn||u.Ay.exhibitorsPageContent.listViewAsDefaultOrganization?z.ViewMode.LIST:z.ViewMode.TILES;break;case"news":r=u.Ay.navigationArea.newsItemTitle;break;case"joboffer":r=u.Ay.exhibitorsPageContent.jobofferTabTitle;break;default:const o=(0,H.lM)(Ue);o?(r=o.label,a=z.ViewMode.LIST):(r=u.Ay.navigationArea.companiesItemTitle,a=u.Ay.sponsorsPageContent.listViewAsDefault&&en||u.Ay.exhibitorsPageContent.listViewAsDefaultStartup&&nn?z.ViewMode.LIST:z.ViewMode.TILES)}return{title:r,viewMode:null!==(n=null!==i&&void 0!==i?i:o)&&void 0!==n?n:a}},[Ue,Ee.currentItem,je.location.state]),[sn,ln]=(0,a.useState)(e.showOnlyBookmarks?z.ViewMode.LIST:an().viewMode);(0,y.X)([]),(0,a.useEffect)(()=>{sessionStorage.setItem(wt,JSON.stringify(Ct))},[Ct,wt]),(0,a.useEffect)(()=>(Ee.setIsOnExhibitorsPageContentOrGlobalSearchResultPageContent(!0),function(){Ee.setIsOnExhibitorsPageContentOrGlobalSearchResultPageContent(!1)}),[]);const dn=[],cn=[tt,Ye,sn,Ue,rt,ot,window.location.href,dt,It,Fe].join("_");(0,x.x)({sections:Ct,setSections:kt,loaded:Et,setLoaded:jt,setPage:nt,dropdownFilterParams:Fe,setDropdownData:ze,setTreeDropdownData:He,dropdowns:Ke,page:tt,entityType:Ue,setEntityType:Ve,path:(0,H.Ti)(Ue,e),getSearchParamEntityTypes:(0,H.CS)(Ee,e,Ue),searchParams:Rt,setIsError:et,refreshKey:cn,trackingCallback:()=>{const e=an(),t=Fe.filter(e=>null===e.alias);on&&(Rt.alpha||Fe.length>0&&((null===t||void 0===t?void 0:t.length)!==Fe.length||void 0===t)||mt||pt)&&(0,U.Ar)((0,H.pw)(Rt.alpha,Fe,mt,pt,dt),u.Ay.sideIconBar.showfloorMenuText+" - "+(null===e||void 0===e?void 0:e.title))},cleanFavorites:()=>{(0,H.Dq)(Ne,je,(0,H.wZ)(Ue),Ct,kt,jt,V.Uf,(0,H.Ti)(Ue,e),Ye)},setIsDropdownLoading:$e,categoriesState:Le});const un=(0,S.pT)();(0,a.useEffect)(()=>{Oe!==ot&&(it(Oe),gn())},[Oe]),(0,a.useEffect)(()=>{!function(){const t=an();e.isSponsorsPage?Ee.setCurrentMobileBreadcrumb(u.Ay.sideIconBar.mediapartnersMenuText):e.isMediaPartnerPage?Ee.setCurrentMobileBreadcrumb(u.Ay.mediaPartnerPageContent.mediaPartnerName):e.isStartupPage?Ee.setCurrentMobileBreadcrumb(u.Ay.sideIconBar.exhibitorStartupMenuText):e.showOnlyBookmarks&&e.onlyBookmarksType?"organization"===e.onlyBookmarksType?Ee.setCurrentMobileBreadcrumb(u.Ay.exhibitorsPageContent.bookmarkedExhibitorsTitle):"product"===e.onlyBookmarksType?Ee.setCurrentMobileBreadcrumb(u.Ay.exhibitorsPageContent.bookmarkedProductsTitle):"trademark"===e.onlyBookmarksType?Ee.setCurrentMobileBreadcrumb(u.Ay.exhibitorsPageContent.bookmarkedTrademarksTitle):"news"===e.onlyBookmarksType?Ee.setCurrentMobileBreadcrumb(u.Ay.exhibitorsPageContent.bookmarkedNewsTitle):"joboffer"===e.onlyBookmarksType&&Ee.setCurrentMobileBreadcrumb(u.Ay.exhibitorsPageContent.bookmarkedJoboffersTitle):Ee.setCurrentMobileBreadcrumb("organization"===Ue?u.Ay.sideIconBar.showfloorMenuText:t.title)}()},[Oe,Ue]);const gn=()=>{kt({}),nt(0),Ht(!1),Wt(0),sessionStorage.removeItem(wt),window.sessionStorage.setItem(oe,"0")};function pn(t){t!==Ue&&(_e([]),gt(""),ct(""),Ve(t),Ee.setLastVisitedTab(t),je.replace((0,H.Ti)(t,e),(0,o.A)((0,o.A)({},je.location.state),{},{viewMode:null,showOnlyBookmarks:Ye,dropdownFilterParams:[],searchParam:""})),St(()=>{let e;return e="news"===t?L.Ni:L.Kb,e}),gn())}function hn(){_e([]),gt(""),ct(""),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{dropdownFilterParams:[],searchParam:""})),gn(),Ot("",Ue)}let mn,fn=0;
1if(Object.values(Ct).forEach(e=>{e&&(fn+=e.count)}),Ze)mn=(0,ne.jsx)("div",{style:{marginTop:"15%"},children:(0,ne.jsx)(w.A,{})});else if(0!==tt||Et||"category"===Ue||"customcategory"===Ue){const t=(0,H.WH)(Ct);mn=(0,ne.jsx)(J.og,{ref:qt,children:(0,ne.jsx)(M.A,{scrollTop:$t,onScroll:e=>(0,H.nr)(e,Ht,Wt,oe),noScrollX:!0,children:"category"===Ue?(0,ne.jsx)($.A,{viewType:sn,selectedRootCategory:null===Qt||void 0===Qt?void 0:Qt.rootCategoryAlias,searchParam:ft}):"customcategory"===Ue?(0,ne.jsx)($.A,{viewType:sn,selectedRootCategory:null===Xt||void 0===Xt?void 0:Xt.rootCategoryAlias,searchParam:ft,custom:!0}):(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsx)(Y.T,{viewMode:"organization"===Ue?sn:z.ViewMode.LIST,sections:Ct,entityType:Ue,searchKrit:st,isSponsor:en,isMediaPartner:tn,isStartup:nn,searchParams:(0,H.pw)(Rt.alpha,Fe,mt,pt,dt),searchTerm:ut,onSortOrderChange:Lt,selectedSortOrderOption:It,sortOrderOptions:yt,bannerConfig:en?u.Ay.sponsorsPageContent.sandwichBannerConfig:nn?u.Ay.startupsPageContent.sandwichBannerConfig:tn?u.Ay.mediaPartnerPageContent.sandwichBannerConfig:e.showOnlyBookmarks?void 0:u.Ay.exhibitorsPageContent.sandwichBannerConfig.find(e=>e.tabs.includes(Ue.toUpperCase())),location:function(){const t=an();return e.isSponsorsPage?u.Ay.sideIconBar.mediapartnersMenuText:e.isMediaPartnerPage?u.Ay.mediaPartnerPageContent.mediaPartnerName:e.isStartupPage?u.Ay.sideIconBar.exhibitorStartupMenuText:"Showfloor - ".concat(t.title)}()}),t&&(0,ne.jsx)(s.Ay,{threshold:.1,onChange:t=>{t&&(nt(tt+1),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{page:tt+2})))},children:Ue===c._c.organization&&sn===z.ViewMode.TILES&&Be>=1350?(0,ne.jsx)(J.ls,{$padding:"5px 25px",children:(0,ne.jsx)(te.A,{hideTopSection:!0,itemsLength:4})}):(0,ne.jsx)(i.If,{numberOfItems:2,logoDisplayMode:(0,i.JU)(Ue),isMobile:De,margin:"0 25px",hideSectionTitle:!0})})]})})})}else mn=(0,ne.jsx)(J.ls,{$padding:"0 25px",children:Ue===c._c.organization&&sn===z.ViewMode.TILES&&Be>=1350?(0,ne.jsx)(te.A,{}):(0,ne.jsx)(i.If,{numberOfItems:6,logoDisplayMode:(0,i.JU)(Ue),titleHeight:"18px",isMobile:De,margin:"0"})});const vn=e.showOnlyBookmarks&&0===fn&&Et;u.Ay.navigationArea.crsTabsItemOrder.forEach(e=>{let t={label:"",value:""},n=!0;switch(e){case"ORGANIZATION":t={label:u.Ay.navigationArea.companiesItemTitle,value:"organization",actions:[C.Q3.PRINT,C.Q3.TILELIST,C.Q3.BOOKMARK,C.Q3.TOGGLEFILTERS]};break;case"PRODUCT":u.Ay.navigationArea.showProduct&&(t={label:u.Ay.navigationArea.productsItemTitle,value:"product",actions:[C.Q3.BOOKMARK,C.Q3.TOGGLEFILTERS]});break;case"TRADEMARK":u.Ay.navigationArea.showTrademark&&(t={label:u.Ay.navigationArea.trademarksItemTitle,value:"trademark",actions:[C.Q3.BOOKMARK,C.Q3.TOGGLEFILTERS]});break;case"CATEGORY":u.Ay.navigationArea.showCategories&&(t={label:u.Ay.categoriesPageContent.categoriesPageTitle,value:"category",actions:[C.Q3.TILELIST,C.Q3.TOGGLEFILTERS]});break;case"CUSTOM_CATEGORY":u.Ay.navigationArea.showCategories&&(t={label:u.Ay.exhibitorsPageContent.customCategoriesTitle,value:"customcategory",actions:[C.Q3.TILELIST,C.Q3.TOGGLEFILTERS]});break;case"NEWS":t={label:u.Ay.navigationArea.newsItemTitle,value:"news",actions:[C.Q3.BOOKMARK,C.Q3.TOGGLEFILTERS]};break;case"JOBOFFER":t={label:u.Ay.exhibitorsPageContent.jobofferTabTitle,value:"joboffer",actions:[C.Q3.BOOKMARK,C.Q3.TOGGLEFILTERS]};break;default:{const o=(0,H.lM)(e);o?t={label:o.label,value:o.value,actions:[C.Q3.BOOKMARK]}:n=!1;break}}n&&dn.push(t)});const xn=null===(we=dn.find(e=>e.value===Ue))||void 0===we||null===(Ce=we.actions)||void 0===Ce?void 0:Ce.includes(C.Q3.PRINT),An=!e.isMediaPartnerPage&&!e.isSponsorsPage&&!e.isStartupPage&&!e.showOnlyBookmarks;(0,a.useEffect)(()=>{const t=an();on&&Et&&(0,U.d4)(u.Ay.sideIconBar.showfloorMenuText+" - "+t.title,"List",(0,F.Zr)(Ue)),(0,U.oe)(u.Ay.sideIconBar.showfloorMenuText+" - "+t.title,e.showOnlyBookmarks?"Favorite":"List",(0,F.Zr)(Ue),void 0,sn),ln(e.showOnlyBookmarks?z.ViewMode.LIST:t.viewMode)},[Ue,Ee.currentItem,sn]),(0,a.useEffect)(()=>{e.isSponsorsPage||e.isStartupPage||e.isMediaPartnerPage||e.showOnlyBookmarks||je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{page:0}))},[Ue]);const yn=async()=>{At(!0),Ye&&0===Nt().length?setTimeout(()=>{At(!1)},500):(await(0,d.fZ)({fulltext:Ye?Nt():dt,dropdowns:Fe,staticTexts:Me}),At(!1))},bn=a.useMemo(()=>(0,r.s)(t=>{(e=>{gn(),ct(e)})(t),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{searchParam:t})),Ot(t,Ue)},500),[Ue,e,je]);return(0,ne.jsxs)(J.Qs,{children:[(0,ne.jsxs)(D.Mh,{children:[(0,ne.jsx)(K.A,{setRef:Kt}),(0,ne.jsx)(I.A,{setRef:zt}),!e.showOnlyBookmarks&&(0,ne.jsx)(_.A,{type:rn,setRef:zt,hideOnScroll:Jt,onHideBanner:()=>Gt(!1)}),(0,ne.jsx)(b.A,{breadcrumb:e.showOnlyBookmarks?(0,H.wB)(Ee,null!==(ke=e.onlyBookmarksType)&&void 0!==ke?ke:"",e.showOnlyBookmarks):e.isMediaPartnerPage?[{to:T.J.mediaPartners,name:u.Ay.mediaPartnerPageContent.mediaPartnerName}]:e.isStartupPage?[{to:T.J.startups,name:u.Ay.exhibitorsPageContent.exhibitorsStartupPageName}]:e.isSponsorsPage?[{to:un[0],name:u.Ay.sideIconBar.mediapartnersMenuText}]:[{to:dn[0]?(0,H.Ti)(dn[0].value,{}):un[0],name:u.Ay.sideIconBar.showfloorMenuText,onClick:()=>{const e=dn[0];e&&pn(e.value)}},{to:(0,H.Ti)(Ue,e),name:an().title}],disableGTMTracking:on,classification:"List",contentType:(0,F.Zr)(Ue)})]}),!e.showOnlyBookmarks&&An?(0,ne.jsx)("div",{children:(0,ne.jsx)(k.A,{hideBorderBottom:je.location.pathname===T.J.
1startups||je.location.pathname===T.J.sponsors,tabItems:dn,activeItem:Ue,onTabItemClicked:e=>{pn(e)},viewMode:"organization"===Ue||"category"===Ue||"customcategory"===Ue?sn:void 0,onViewModeChange:t=>{ln(t),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{viewMode:t})),(0,U.vF)("viewModeSwitch","ChangeViewMode","Showfloor",void 0,t===z.ViewMode.LIST?z.ViewMode.LIST:z.ViewMode.TILES)},bookmarkFilter:Ye,setBookmarkFilter:t=>{if(Xe(t),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{showOnlyBookmarks:t})),t)switch(Ue){case"organization":(0,U.d4)(u.Ay.exhibitorsPageContent.bookmarkedExhibitorsTitle,"Favorite","Organization");break;case"product":(0,U.d4)(u.Ay.exhibitorsPageContent.bookmarkedProductsTitle,"Favorite","Product");break;case"trademark":(0,U.d4)(u.Ay.exhibitorsPageContent.bookmarkedTrademarksTitle,"Favorite","Trademark");break;case"joboffer":(0,U.d4)(u.Ay.exhibitorsPageContent.bookmarkedJoboffersTitle,"Favorite","Joboffer");break;case"news":(0,U.d4)(u.Ay.exhibitorsPageContent.bookmarkedNewsTitle,"Favorite","News")}gn()},showOnlyActionButtons:nn||en||e.showOnlyBookmarks,pageUsingTileView:f.a.SHOWFLOOR,onPrint:yn,isPrinting:xt})}):(0,ne.jsx)(ne.Fragment,{children:e.showOnlyBookmarks?null:(0,ne.jsx)(D.up,{children:(0,ne.jsx)(k.A,{hideBorderBottom:je.location.pathname===T.J.startups||je.location.pathname===T.J.sponsors,tabItems:dn,activeItem:Ue,onTabItemClicked:t=>{t!==Ue&&(Ve(t),Ee.setLastVisitedTab(t),je.replace((0,H.Ti)(t,e),(0,o.A)((0,o.A)({},je.location.state),{},{viewMode:null,showOnlyBookmarks:Ye,dropdownFilterParams:[]})),gn())},viewMode:"organization"===Ue||"category"===Ue?sn:void 0,onViewModeChange:t=>{ln(t),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{viewMode:t})),(0,U.vF)("viewModeSwitch","ChangeViewMode","Startup",void 0,t===z.ViewMode.LIST?z.ViewMode.LIST:z.ViewMode.TILES)},bookmarkFilter:Ye,setBookmarkFilter:t=>{Xe(t),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{showOnlyBookmarks:t})),gn()},showOnlyActionButtons:nn||en||e.showOnlyBookmarks,pageUsingTileView:f.a.SHOWFLOOR})})}),"customcategory"===Ue&&u.Ay.categoriesPageContent.customCategoriesConfiguration.length<=1?null:"category"===Ue&&u.Ay.categoriesPageContent.categoriesConfiguration.length>0||"customcategory"===Ue&&u.Ay.categoriesPageContent.customCategoriesConfiguration.length>1?(0,ne.jsx)(R.A,{hideOnScroll:!0,categoriesConfiguration:"category"===Ue?u.Ay.categoriesPageContent.categoriesConfiguration:u.Ay.categoriesPageContent.customCategoriesConfiguration,activeSubCategory:"category"===Ue?Qt:Xt,onSliderItemClick:(t,n)=>{"category"===Ue&&Yt(t),"customcategory"===Ue&&Zt(t),"category"===Ue?je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{activeSubCategory:t})):"customcategory"===Ue&&je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{activeCustomSubCategory:t})),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{viewMode:n}))}}):(0,ne.jsx)(D.Mh,{children:(0,ne.jsx)(j.A,{showTopBorder:nn||en||e.showOnlyBookmarks,activeFilter:rt,onFilterChanged:t=>(0,H.PX)(t,rt,at,je,gn,(0,H.Ti)(Ue,e))})}),(0,ne.jsxs)(J.fu,{$paddingTop:Et||!en&&!nn?"0":"25px",children:[vn&&(0,ne.jsx)("div",{style:{marginTop:"15%"},children:(0,ne.jsx)(Q.A,{header:(0,H.GG)(e),buttonNavLink:(0,H.yb)(e),buttonMessage:u.Ay.receptionPage.showFloorNavLinkText,hideButton:!0,bgColor:"transparent"})}),!vn&&(0,ne.jsxs)(ne.Fragment,{children:["category"!==Ue&&"customcategory"!==Ue&&!e.showOnlyBookmarks&&(0,ne.jsxs)(J.om,{children:[(0,ne.jsx)(J.zM,{className:en||tn||nn||!Ft?"d-none":"d-flex justify-content-between align-items-end",$visible:!Pe||Bt,$showShadow:Jt,children:(0,ne.jsx)(J.B3,{children:(0,ne.jsx)(J.FY,{children:!en&&!tn&&!nn&&Ft&&(0,ne.jsxs)(J.e1,{$isMobile:Pe,children:[Vt&&(0,ne.jsx)(ee.L,{currentSearch:ut,entityType:Ue,setCurrentSearch:e=>{gt(e),bn(e)}}),Qe?(0,ne.jsx)(P.A,{number:Ue===c._c.organization?4:3}):(0,ne.jsxs)(ne.Fragment,{children:[Ke.length>0&&!Qe&&Ke.map(t=>{var n;const o=Ge.get(t.id),i=Je.get(t.id),r=(()=>{switch(t._cType){case"OrganizationFilter":return"organization"===Ue;case"ProductFilter":return"product"===Ue;case"JobOfferFilter":return"joboffer"===Ue;default:return t.visibleForEntities.includes(Ue)}})();if(!o&&!i||!r||!t.id)return null;const a="OrganizationFilter"===t._cType||"ProductFilter"===t._cType||"JobOfferFilter"===t._cType?t.type:"cat";return(0,ne.jsx)(X.P,{categories:null!==o&&void 0!==o?o:[],treeOptions:i,isMultiselect:t.isMultiselect,defaultTitle:t.placeholder,searchParamFilterValue:t.isMultiselect?Fe.filter(e=>{let{dropdownId:n}=e;return n===t.id}).map(e=>{let{alias:t}=e;return t}):null===(n=Fe.find(e=>{let{dropdownId:n}=e;return n===t.id}))||void 0===n?void 0:n.alias,onClick:n=>(0,H.SF)(n,{id:t.id,type:a},Fe,_e,je,(0,H.Ti)(Ue,e),gn,lt)},t.id)}),(0,ne.jsxs)(D.wn,{$customDisplay:"flex",children:[xn&&(0,ne.jsx)(O.C,{onPrint:yn,isPrinting:xt,customMargin:"0 10px 0 0"}),(0,ne.jsx)(G.W,{bookmarkFilter:Ye,updateBookmarkFilter:()=>{Xe(!Ye),gn()}})]}),(0,ne.jsx)(Z.n,{onResetFilterButtonClick:()=>hn(),resetFilterVisible:_t})]})]})})})}),(0,ne.jsx)(D.wn,{children:C.Q3.TOGGLEFILTERS&&!e.isStartupPage&&!e.isSponsorsPage&&(0,ne.jsx)(J.Ch,{$filterVisible:Bt,children:(0,ne.jsx)(E.E,{setFiltersVisible:Dt,filtersVisible:Bt})})})]}),u.Ay.categoriesPageContent.tabsUsingSearch.includes(Ue)&&(0,ne.jsx)(J.om,{children:(0,ne.jsx)(J.zM,{$visible:!0,$showShadow:Jt,className:"categorysearch",children:(0,ne.jsx)(N.A,{setSearchParam:t=>{vt(t),je.replace((0,H.Ti)(Ue,e),(0,o.A)((0,o.A)({},je.location.state),{},{categorySearchParam:t}))},searchValue:ft,placeholder:u.Ay.categoriesPageContent.searchBarPlaceholder,width:Re?"100%":"40%",height:"38px",bottom:"10px",bottomEnd:"8px",isSearchBar:!0})})}),mn]})]})]})}}
1,82198:(e,t,n)=>{n.d(t,{F:()=>i});var o=n(64329);function i(){const e=(0,o.detect)();if(!(e&&"browser"===e.type&&"firefox"===e.name))return;const t=document.querySelectorAll("video");t&&t.forEach(e=>{e.setAttribute("disablePictureInPicture","true")})}},82777:(e,t,n)=>{n.d(t,{t:()=>o});let o=function(e){return e[e.ROSTER=0]="ROSTER",e[e.CHAT=1]="CHAT",e}({})},84082:(e,t,n)=>{n.d(t,{Ay:()=>T,aV:()=>b,n4:()=>y});var o=n(35725),i=n(15669),r=n(86109),a=n(47564),s=n(82225),l=n(92971),d=n(48153),c=n(72792),u=n(68933),g=n(95125),p=n(56309),h=n(90121),m=n(89519),f=n(99673),v=n(86451),x=n(96081);const A=e=>{switch(e){case"LOADING":default:return(0,x.jsx)(d.A,{size:"xs"});case"STOPPED":return(0,x.jsx)(c.fW1,{width:"25",height:"25"});case"RECORDING":return(0,x.jsx)(c.bmf,{width:"25",height:"25"})}};let y=function(e){return e.Small="SMALL",e.Medium="MEDIUM",e}({});function b(e){return(0,x.jsx)("div",{children:(0,x.jsx)(s.A,{id:"settings-tooltip",placement:"top",title:e.label,children:(0,x.jsx)(v._h,{isActive:e.active,size:e.size,onTouchStart:e.onClick,onClick:e.onClick,backgroundColor:e.backgroundColor,children:e.icon})})})}const T=e=>{var t,n;const s=(null===(t=(0,l.Es)().user())||void 0===t?void 0:t.profileId)||"",d=null===(n=(0,i.useContext)(g.RaisedHandContext))||void 0===n?void 0:n.includes(s),{isVideoEnabled:y,isContentShareEnabled:T,toggleVideo:I,toggleContentShare:S}=(0,f.M)(),{isMuted:w,isAudioOn:C,toggleMute:k,toggleAudio:E}=(0,p.d)(),{toggleSettings:j,leave:O,raiseHand:M,showChat:N}=(0,h.L)(),L=(0,m.F)(),[P,R]=(0,i.useState)(!1),B=A(e.recordingState),D=(0,x.jsx)(o.tmR,{muted:w(),color:w()?"#fff":"#202428",width:"28px"}),U=(0,x.jsx)(o.ABN,{disabled:!C(),color:C()?"#202428":"#fff",width:"28px"}),V=(0,x.jsx)(o.i7d,{disabled:!y(),color:y()?"#202428":"#fff",width:"28px"}),F=T()?(0,x.jsx)(c.$yH,{stroke:"#202428",fill:"#202428",width:"19px",height:"19px"}):(0,x.jsx)(c.xJi,{stroke:"#fff",fill:"#fff",width:"18px",height:"18px"}),_=(0,x.jsx)(o.mg3,{color:"#fff",width:"28px"}),G=d?(0,x.jsx)(c.ed5,{stroke:"#202428",fill:"#202428",width:"22px",height:"22px"}):(0,x.jsx)(c.P82,{stroke:"#fff",fill:"#fff",width:"18px",height:"18px"}),z=(0,x.jsx)(o.ryu,{color:"#fff",width:"28px"}),J=(0,x.jsx)(o.bcf,{color:"#fff",width:"28px"}),H="RECORDING"===e.recordingState,K="STOPPED"===e.recordingState;return(0,x.jsxs)(v.Qk,{children:[(0,x.jsxs)(v.v4,{children:[L.getIsMod()&&"roundtable"===L.getMeetingKind()&&(0,x.jsx)(b,{label:H?a.Ay.conferenceTexts.stopRecording:a.Ay.conferenceTexts.startRecording,active:H,onClick:()=>{R(!0)},icon:B}),(0,x.jsx)(b,{label:w()?a.Ay.conferenceTexts.unmute:a.Ay.conferenceTexts.mute,active:!w(),onClick:k,icon:D}),(0,x.jsx)(b,{label:C()?a.Ay.conferenceTexts.soundOn:a.Ay.conferenceTexts.soundOff,active:C(),onClick:E,icon:U}),(0,x.jsx)(b,{label:y()?a.Ay.conferenceTexts.videoOn:a.Ay.conferenceTexts.videoOff,active:y(),onClick:I,icon:V}),(0,x.jsx)(b,{label:T()?a.Ay.conferenceTexts.shareScreenStop:a.Ay.conferenceTexts.shareScreenStart,active:T(),onClick:S,icon:F}),(0,x.jsx)(b,{label:a.Ay.conferenceTexts.settings,onClick:j,icon:_}),(0,x.jsx)(b,{label:d?a.Ay.conferenceTexts.lowerHand:a.Ay.conferenceTexts.raiseHand,onClick:M,icon:G,active:d}),(0,x.jsx)(b,{label:a.Ay.conferenceTexts.openChat,icon:z,onClick:N}),(0,x.jsx)(b,{label:a.Ay.conferenceTexts.leave,onClick:O,backgroundColor:"#E30613",icon:J})]}),P&&(0,x.jsx)(u.A,{onSubmit:()=>{e.setRecordingState("LOADING"),K?(0,r.x8)(L.getExternalMeetingId(),"START"):H&&(0,r.x8)(L.getExternalMeetingId(),"STOP")},onClose:()=>R(!1),isRecording:H})]})}}
1,84828:(e,t,n)=>{n.d(t,{E:()=>o});let o=function(e){return e[e.Banned=1]="Banned",e[e.Kicked=2]="Kicked",e[e.TimeUp=3]="TimeUp",e[e.GreenRoomLive=4]="GreenRoomLive",e[e.Disconnected=5]="Disconnected",e[e.Full=6]="Full",e[e.InitError=7]="InitError",e[e.NoModeratorInRoom=8]="NoModeratorInRoom",e[e.NoConferenceRoomAccess=9]="NoConferenceRoomAccess",e[e.NoConferenceRoomAccessGranted=10]="NoConferenceRoomAccessGranted",e[e.NoConferenceRoom=11]="NoConferenceRoom",e[e.NoEventdate=12]="NoEventdate",e[e.NoAuth=13]="NoAuth",e}({})},86451:(e,t,n)=>{n.d(t,{Qk:()=>g,_h:()=>m,v4:()=>p});var o,i,r,a,s,l=n(7737),d=n(31274),c=n(47564),u=n(84082);const g=d.Ay.div(o||(o=(0,l.A)(["\n padding: 20px;\n width: 500px;\n height: 100%;\n"]))),p=d.Ay.div(i||(i=(0,l.A)(["\n font-family: ",";\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n height: 100%;\n"])),c.Ay.font1),h=e=>{switch(e){case u.n4.Small:return"40px";case u.n4.Medium:default:return"45px"}},m=d.Ay.div(r||(r=(0,l.A)(["\n ","\n\n width: ",";\n height: ",";\n border-radius: 10px;\n cursor: pointer;\n display: flex;\n justify-content: center;
1\n align-items: center;\n transition: 0.3s;\n font-family: ",";\n\n &:hover {\n background-color: #ffffff80;\n background-color: ",";\n }\n"])),e=>e.backgroundColor?(0,d.AH)(a||(a=(0,l.A)(["\n background-color: ",";\n "])),e.backgroundColor):(0,d.AH)(s||(s=(0,l.A)(["\n background-color: ",";\n "])),e.isActive?"#ffff":"#ffffff26"),e=>{let{size:t}=e;return h(t)},e=>{let{size:t}=e;return h(t)},c.Ay.font1,e=>e.backgroundColor?"#aa045e":"#ffffff80")},86550:(e,t,n)=>{n.d(t,{X:()=>i});var o=n(37038);function i(){return(0,o.$)()&&window.location.pathname.split("/")[2]||""}},89519:(e,t,n)=>{n.d(t,{F:()=>S});var o=n(29015),i=n(35725),r=n(91953),a=n(76838),s=n(22269),l=n(86109),d=n(47564),c=n(93025),u=n(92971),g=n(44464),p=n(72792),h=n(81860),m=n(95125),f=n(35750),v=n(12936),x=n(84828),A=n(21845),y=n(15805),b=n(47468);const T=(0,o.hH)({externalMeetingId:null,externalUserId:null,role:null,initMeetingError:null,meetingKind:null,maxAttendees:5,maxDurationSeconds:null,timeLimitChanged:!1,meetingTimeLeft:null,egMeetingStatus:null,hasMaxAttendees:!1,meetingChangeAccepted:!1,isMeetingActive:!1,isSwitchingRoom:!1,isMeetingMinimized:!1,kickOrBanMessage:null,isConferenceOverlayVisible:!1,meetingTitle:null,callDuration:null,isUserKickedOrBanned:!1}),I=(e,t)=>{var n;const o=(0,i.GYC)(),{setIsAudioVideoSettingsV2Open:T}=(0,c.A1)(),{roster:I}=(0,i.Abl)(),S=I?Object.values(I).length:0,w=(0,b.G)(),C=(0,a.W6)(),k=(0,i.dqp)(),E=null===(n=(0,u.Es)().user())||void 0===n?void 0:n.profileId,j=(0,h.eR)(),O=()=>{e.merge({isMeetingActive:!0,isSwitchingRoom:!1,kickOrBanMessage:null,isUserKickedOrBanned:!1})},M=()=>{e.merge({role:null,externalMeetingId:null,externalUserId:null,meetingKind:null,maxAttendees:5,maxDurationSeconds:null,timeLimitChanged:!1,meetingTimeLeft:null,isMeetingActive:!1,egMeetingStatus:null,meetingTitle:null,callDuration:null,isConferenceOverlayVisible:!1})},N=async()=>{await o.start().then(()=>{O(),o.meetingStatus===i.e0s.Succeeded&&w.resetInvitationTypes(),(0,s.RQ)(e.value.externalMeetingId||"",E||""),j.updateMyPresence(h.Bx.SELECT,s.eO.DONOTDISTURB)})},L=async t=>{var n,i;(null===(n=o.audioVideo)||void 0===n||n.stop(),"call"===e.value.meetingKind&&S<=2)&&(null===(i=o.audioVideo)||void 0===i||i.realtimeSendDataMessage((0,y.I)(e.value.externalMeetingId),{type:v.a.CALL_ENDED_FOR_ALL}));((e,t)=>!!t&&!Object.values(e).some(e=>"moderator"===e.role&&e.externalUserId!==t))(I,e.value.externalUserId)&&(0,m.roundtableRecordingInProgress)(I,e.value.meetingKind)&&(0,l.x8)(e.value.externalMeetingId,"STOP"),await Promise.all([await(0,l.JP)(e.value.externalMeetingId,e.value.externalUserId),await o.leave(),await(0,s.iV)(E||"")]).then(()=>{t||e.value.isConferenceOverlayVisible||C.push(g.J.meetings.ended)}).catch(e=>{console.log("Error while leaving a room",e)}).finally(()=>{M()}),j.updateMyPresence(h.Bx.SELECT,s.eO.AVAILABLE)};return{initMeeting:async(n,a)=>{try{const g=await(0,l.NK)(n,a);if(g.httpStatus)throw g;if(g.chime&&g.attendee&&g.meeting){var c,u;const h=new r.MeetingSessionConfiguration(g.chime.Meeting,g.chime.Attendee);e.merge({role:g.attendee.role,externalMeetingId:n,externalUserId:a,meetingKind:g.meeting.meetingKind,maxAttendees:g.meeting.maxAttendees,maxDurationSeconds:g.meeting.maxDurationSeconds,timeLimitChanged:g.meeting.timeLimitChanged,meetingTimeLeft:g.meeting.remainingDurationMillis,egMeetingStatus:null});try{await(0,s.Kw)(a),await o.join(h),"call"===e.value.meetingKind?(T(!1),N()):T(!0),t&&t(g.meeting.meetingKind,n)}catch(M){}if(null===(c=o.audioVideo)||void 0===c||c.realtimeSubscribeToReceiveDataMessage((0,y.I)(e.value.externalUserId),async t=>{var n,r,a,c,u,g,p,h;const m=t.json(),f=m.type;if(f)switch(f){case v.a.MUTE:null===(n=o.audioVideo)||void 0===n||n.realtimeMuteLocalAudio(),k({type:i.X2v.ADD,payload:{severity:i.AI$.INFO,message:d.Ay.conferenceTexts.mutedByMod,autoCloseDelay:3e3}});break;case v.a.STOP_SCREENSHARE:null===(r=o.audioVideo)||void 0===r||r.stopContentShare(),k({type:i.X2v.ADD,payload:{severity:i.AI$.INFO,message:d.Ay.conferenceTexts.screenShareStoppedByMod,autoCloseDelay:3e3}});break;case v.a.RAISEHAND:(0,s.Kw)(e.value.externalUserId||""),k({type:i.X2v.ADD,payload:{severity:i.AI$.INFO,message:d.Ay.conferenceTexts.loweredHandByModerator,autoCloseDelay:3e3}});break;case v.a.KICK:e.merge({egMeetingStatus:x.E.Kicked,kickOrBanMessage:m.data}),null===(a=o.audioVideo)||void 0===a||a.stop(),null===(c=o.audioVideo)||void 0===c||c.realtimeUnsubscribeFromReceiveDataMessage(e.value.externalUserId||""),null===(u=o.audioVideo)||void 0===u||u.realtimeUnsubscribeFromReceiveDataMessage(e.value.externalMeetingId||""),await(0,l.HQ)(e.value.externalMeetingId,e.value.externalUserId,m.data),e.merge({isUserKickedOrBanned:!0,isMeetingActive:e.value.isConferenceOverlayVisible});break;case v.a.BAN:e.merge({egMeetingStatus:x.E.Banned,kickOrBanMessage:m.data}),null===(g=o.audioVideo)||void 0===g||g.stop(),null===(p=o.audioVideo)||void 0===p||p.realtimeUnsubscribeFromReceiveDataMessage((0,y.I)(e.value.externalUserId)),null===(h=o.audioVideo)||void 0===h||h.realtimeUnsubscribeFromReceiveDataMessage((0,y.I)(e.value.externalUserId)),await(0,l._L)(e.value.externalMeetingId,e.value.externalUserId,m.data),e.merge({isUserKickedOrBanned:!0,isMeetingActive:e.value.isConferenceOverlayVisible})}}),null===(u=o.audioVideo)||void 0===u||u.realtimeSubscribeToReceiveDataMessage((0,y.I)(e.value.externalMeetingId),async e=>{const t=e.json(),n=t.type;if(n)switch(n){case v.a.CALL_ENDED_FOR_ALL:await L();break;case v.a.GREENROOM_STATUS:t.data===A.$.UNLOCKED?k({type:i.X2v.ADD,payload:{severity:i.AI$.SUCCESS,message:d.Ay.conferenceTexts.roomUnlockedTitle,autoCloseDelay:3e3,icon:(0,p.bwA)({fill:"#fff",width:"18",height:"18"})}}):k({type:i.X2v.ADD,payload:{severity:i.AI$.SUCCESS,message:d.Ay.conferenceTexts.roomLockedTitle,autoCloseDelay:3e3,icon:(0,p.XEb)({fill:"#fff",width:"18",height:"18"})}});break;case v.a.CHANNEL_STATUS:t.data===f.u.ON_AIR?k({type:i.X2v.ADD,payload:{severity:i.AI$.SUCCESS,message:d.Ay.conferenceTexts.liveInMessage,autoCloseDelay:1e4,replaceAll:!0,type:"CHANNEL_GOING_ON_AIR"}}):t.data===f.u.OFF_AIR&&k({type:i.X2v.ADD,payload:{severity:i.AI$.SUCCESS,message:d.Ay.conferenceTexts.liveStopped,autoCloseDelay:3e3,replaceAll:!0}})}}),e.value.timeLimitChanged){const t=5e3;setTimeout(()=>{var n;null===(n=o.audioVideo)||void 0===n||n.realtimeSendDataMessage((0,y.I)(e.value.externalMeetingId),{type:v.a.TIMELIMITCHANGED,meetingTimeLeft:e.value.meetingTimeLeft-t,maxDurationSeconds:e.value.maxDurationSeconds})},t)}}}
1catch(M){if(M.httpStatus)if(444===M.httpStatus){var g,h;if("meetingFull"===(null===(g=M.responseJson)||void 0===g?void 0:g.errorCode))return void e.merge({egMeetingStatus:x.E.Full});if("meetingTimeUp"===(null===(h=M.responseJson)||void 0===h?void 0:h.errorCode))return void e.merge({egMeetingStatus:x.E.TimeUp})}else if(401===M.httpStatus){var m,b,I;if("banned"===(null===(m=M.responseJson)||void 0===m?void 0:m.errorCode))return void e.merge({egMeetingStatus:x.E.Banned});if("channelIsLive"===(null===(b=M.responseJson)||void 0===b?void 0:b.errorCode))return void e.merge({egMeetingStatus:x.E.GreenRoomLive});if("noAuth"===(null===(I=M.responseJson)||void 0===I?void 0:I.errorCode))return void e.merge({egMeetingStatus:x.E.NoAuth})}else if(400===M.httpStatus){var S,w,C,E,j,O;if("BREAKOUTaccessDenied"===(null===(S=M.responseJson)||void 0===S?void 0:S.errorCode))return void e.merge({egMeetingStatus:x.E.NoModeratorInRoom});if("noConferenceRoomAccess"===(null===(w=M.responseJson)||void 0===w?void 0:w.errorCode))return void e.merge({egMeetingStatus:x.E.NoConferenceRoomAccess});if("CONFERENCE_ROOMaccessDenied"===(null===(C=M.responseJson)||void 0===C?void 0:C.errorCode))return void e.merge({egMeetingStatus:x.E.NoModeratorInRoom});if("noUserConferenceRoomAccesGranted"===(null===(E=M.responseJson)||void 0===E?void 0:E.errorCode))return void e.merge({egMeetingStatus:x.E.NoConferenceRoomAccessGranted});if("noConferenceRoom"===(null===(j=M.responseJson)||void 0===j?void 0:j.errorCode))return void e.merge({egMeetingStatus:x.E.NoConferenceRoom});if("noSuchEventDate"===(null===(O=M.responseJson)||void 0===O?void 0:O.errorCode))return void e.merge({egMeetingStatus:x.E.NoEventdate})}}},startMeeting:N,leaveMeeting:L,getExternalMeetingId:()=>e.value.externalMeetingId,getExternalUserId:()=>e.value.externalUserId,getIsMod:()=>"moderator"===e.value.role,getInitMeetingError:()=>e.value.initMeetingError,getEGMeetingStatus:()=>e.value.egMeetingStatus,setEGMeetingStatus:t=>{e.merge({egMeetingStatus:t})},getMeetingKind:()=>e.value.meetingKind,getMeetingTimeLeft:()=>e.value.meetingTimeLeft,getTimeLimitChanged:()=>e.value.timeLimitChanged,getMaxAttendees:()=>e.value.maxAttendees,getHasMaxAttendees:()=>Object.values(I).length>=e.value.maxAttendees,getIsMeetingChangeAccepted:()=>e.value.meetingChangeAccepted,setIsMeetingChangeAccepted:t=>{e.meetingChangeAccepted.merge(t)},getIsMeetingActive:()=>e.value.isMeetingActive,getIsSwitchingRoom:()=>e.value.isSwitchingRoom,setIsSwitchingRoom:t=>{e.isSwitchingRoom.merge(t)},isConferenceOverlayVisible:()=>e.value.isConferenceOverlayVisible,setShowConferenceOverlay:t=>{e.isMeetingMinimized.merge(t)},setKickOrBanMessage:t=>{e.merge({kickOrBanMessage:t})},getKickOrBanMessage:()=>e.value.kickOrBanMessage,setIsConferenceOverlayVisible:t=>{e.isConferenceOverlayVisible.merge(t)},setMeetingTitle:t=>{e.merge({meetingTitle:t})},getMeetingTitle:()=>e.value.meetingTitle,setCallDuration:t=>{e.merge({callDuration:t})},getCallDuration:()=>e.value.callDuration,getIsUserKickedOrBanned:()=>e.value.isUserKickedOrBanned,setUp:O,cleanUp:M}},S=e=>I((0,o.mO)(T),e)},90121:(e,t,n)=>{n.d(t,{L:()=>h});var o=n(29015),i=n(35725),r=n(22269),a=n(89519),s=n(93025),l=n(70484),d=n(92971),c=n(83590);let u=function(e){return e[e.CALENDARENTRY=0]="CALENDARENTRY",e[e.CALL_PRIVATE=1]="CALL_PRIVATE",e[e.CALL_GROUP=2]="CALL_GROUP",e[e.CALL_UNKNOWN=3]="CALL_UNKNOWN",e}({});const g=(0,o.hH)({}),p=e=>{var t;const{isAudioVideoSettingsV2Open:n,setIsAudioVideoSettingsV2Open:o}=(0,s.A1)(),g=(0,a.F)(),{setIsRosterOpen:p,setIsMeetingChatShown:h,setChatsSubtab:m}=(0,s.A1)(),{roster:f}=(0,i.Abl)(),v=null===(t=(0,d.Es)().user())||void 0===t?void 0:t.profileId;return{toggleSettings:()=>{o(!n)},leave:async()=>{g.leaveMeeting()},raiseHand:async()=>{document.body.style.cursor="wait";const e=await(0,r.Mo)(g.getExternalMeetingId());let t=!1;e&&(t=e.data.listRaisedHands.items.filter(e=>e.id===g.getExternalUserId()).length>0),t?(0,r.Kw)(g.getExternalUserId()):(0,r.DB)(g.getExternalMeetingId(),g.getExternalUserId()),document.body.style.cursor="default"},showChat:async()=>{var e,t;const n=g.getMeetingKind(),o=(null===(e=g.getExternalMeetingId())||void 0===e?void 0:e.slice(3))||"",i=await async function(e,t,n){if(!e||!t||!n)return null;let o=u.CALL_UNKNOWN;switch(e){case"calenderEntry":o=u.CALENDARENTRY;break;case"call":const e=await(0,r.eZ)(n,10);e&&(o=2===(null===e||void 0===e?void 0:e.length)?u.CALL_PRIVATE:(null===e||void 0===e?void 0:e.length)>2?u.CALL_GROUP:u.CALL_UNKNOWN);break;default:return null}return o}(n,f,o),a=null===(t=Object.values(f).find(e=>e.id!==v))||void 0===t?void 0:t.externalUserId;switch(n){case"call":a&&i!==u.CALL_GROUP?m(l.FG.privateConversationByOpponentId(a)):m(l.FG.conversationByConversationId(c.Cr.GROUP,o));break;case"calenderEntry":case"virtualCafe":case"showroom":case"breakout":case"conferenceroom":case"greenroom":case"roundtable":h(!0),p(!0)}}}},h=()=>p((0,o.mO)(g))},92756:(e,t,n)=>{n.d(t,{M:()=>L,u:()=>k});var o=n(89510),i=n(29015),r=n(9900),a=n(15669),s=n(76838),l=n(89524),d=n(22269),c=n(21442),u=n(47564),g=n(70484),p=n(20077),h=n(79106),m=n(52006),f=n(78803),v=n(22086),x=n(93025),A=n(2910),y=n(92971),b=n(39072),T=n(19622),I=n(83590),S=n(88007),w=n(91907),C=n(7781);let k=function(e){return e.MEETING_REQUEST_DELETED="meetingrequestdeleted",e.MEETING_REQUEST="meetingrequest",e.MEETING_REQUEST_PARTICIPATION_DELET
1ED="meetingrequestparticipationdeleted",e.MEETING_REQUEST_PARTICIPATION_ACCEPTED="meetingrequestparticipationaccepted",e.MEETING_REQUEST_PARTICIPATION_DECLINED="meetingrequestparticipationdeclined",e.MEETING_REQUEST_UPDATED="meetingrequestupdated",e.MEETING_REQUEST_ORGANIZATION_ACCEPTED="meetingrequestorganizationaccepted",e.MEETING_REQUEST_ORGANIZATION_DECLINED="meetingrequestorganizationeclined",e.MEETING_REQUEST_ORGANIZATION="meetingrequestorganization",e}({});const E=new Audio("/applicationMedia/sounds/notificationSound.mp3");let j,O;const M=e=>{const t=(0,a.useRef)(E),n=(0,x.A1)(),i=(0,s.W6)(),M=(0,A.RD)(),L=(0,b.TX)(),P=(0,y.Es)(),R=e=>{N.set(t=>(t.notifications=t.notifications.concat([e]),t))},B=(e,t,n,o)=>{if(e.authorId===N.userProfileId.value||(e=>N.mutedChatConversationIds.value.includes(e.convId))(e))return[];if(t===I.Cr.GROUP){let t=n+": "+e.msgContent;return e.msgContent.startsWith("systemAdded")?t=t.split("/")[1]+" "+u.Ay.chatBranding.participantJoinedMessageText:(e.msgContent.startsWith("systemDeleted")||e.msgContent.startsWith("systemExited"))&&(t=t.split("/")[1]+" "+u.Ay.chatBranding.participantRemovedMessageText),[null!==o&&void 0!==o?o:u.Ay.chatBranding.groupChat,t]}return[u.Ay.notification.newMessageTitle,n+": "+e.msgContent]},D=(e,t)=>{const n={"{$meetingTitle}":e.title,"{$senderName}":e.senderName,"{$organizationName}":e.organizationName,"{$personalNote}":e.statusUpdateMessage||"","{$meetingLocationTemplate}":U(e.locationName,e.isVirtual)};let o=t;for(const[i,r]of Object.entries(n))o=o.split(i).join(r);return[o,e.senderName]},U=(e,t)=>{let n="";return e&&(e.length>0&&!t?n=u.Ay.notification.meetingLocationNotVirtualTextTemplate:e.length>0&&t?n=u.Ay.notification.meetingLocationVirtualTextTemplate:""===e&&t&&(n=u.Ay.notification.meetingNoLocationVirtualTextTemplate),n=n.split("{$meetingLocation}").join(e)),n},V=(e,t)=>t.split("{$senderName}").join(e.userName),F=async(e,t)=>{let n=t.split("{$userName}").join(e.userName);if(e.restrictedAreaType===c.Uu.VirtualCafe.value){const t=u.Ay.meetingRoomGroups.find(t=>t.id===e.restrictedAreaId);if(!t)return;n=n.split("{$restrictedAreaName}").join(t.title)}else if(e.restrictedAreaType===c.Uu.PrivateEvent.value)try{const t=(await(0,l.jE)({id:e.restrictedAreaId})).content.name;if(!t)return;n=n.split("{$restrictedAreaName}").join(t)}catch(o){return}else if(e.restrictedAreaType===c.Uu.ConferenceRoom.value){const t="en"===M.getLanguage()?e.restrictedAreaName:e.restrictedAreaNameDe;if(!t)return;n=n.split("{$restrictedAreaName}").join(t)}return n},_=e=>{switch(e.restrictedAreaType){case c.Uu.VirtualCafe.value:L.fetchUserAccessForAllVirtualCafes();break;case c.Uu.PrivateEvent.value:L.fetchUserAccessForAllEventDates();break;case c.Uu.ConferenceRoom.value:L.fetchUserAccessForAllConferenceRooms();break;default:L.fetchUserAccessForAllRestrictedAreaTypes()}},G=e=>{N.set(t=>{const n=t.notifications.filter(t=>t.notificationId!==e);return t.notifications=n,t})};return{init:(e,a)=>{async function s(r){const s=r.value.data.onNotificationCreated;if(!s)return;const l=JSON.parse(s.content);switch(s.type){case I._n.PLAINTEXT:{const[t,n]=(e=>{const t=M.getLanguage();let n=e.text;const o=e.texts_localized;return o&&("en"===t&&o.en?n=o.en:"de"===t&&o.de&&(n=o.de)),[e.title,n]})(l),o=(0,w.l)();R({notificationId:o,userId:e,title:t,text:n,type:s.type,userName:"",onClick:()=>{},onClose:()=>{G(o)}});break}case I._n.NETWORKING:{const[t,o,i]=(e=>{let t="",n="",o="";switch(e.action){case"REQUEST":t=u.Ay.notification.connectRequestTitle,n=e.userName,o=V(e,u.Ay.notification.connectRequestIncomingTextTemplate);break;case"CONNECT":t=u.Ay.notification.connectRequestTitle,n=e.userName,o=V(e,u.Ay.notification.connectRequestAcceptedTextTemplate);break;default:return[]}return[t,n,o]})(l),r=(0,w.l)();R({notificationId:r,userId:e,title:t,text:i,type:s.type,userName:o,onClick:()=>(e=>{switch(e){case"REQUEST":n.setPeopleSubtab(h.l.REQUESTS);break;case"CONNECT":n.setPeopleSubtab(h.l.CONTACTS);break;default:return[]}})(l.action),onClose:()=>{G(r)}});break}case I._n.MESSAGE:{const{convType:i,convName:r}=await(0,d.y4)(l.convId),{userName:a}=await(0,d.re)(l.authorId),c=(0,o.A)((0,o.A)({},l),{},{msgCreatedAt:new Date(l.msgCreatedAt)}),u=l.authorId;if(!a)break;const[h,f]=B(c,i,a,r),v=(0,w.l)();h&&f&&(t.current.play(),R({notificationId:v,authorId:u,userId:e,title:h,text:f,type:s.type,userName:a,onClick:()=>((e,t,o,i)=>{const r=g.FG.conversationByConversationId(t,e.convId);switch(n.setChatsSubtab(r),i){case I._n.MESSAGE:o&&(t===I.Cr.GROUP?g.FG.conversationByConversationId(I.Cr.GROUP,o):(0,p.m3)(o,n));break;case I._n.CALENDARENTRY:n.setSchedulesSubtab(m.yY.INVITED_MEETINGS)}})(c,i,u,s.type),onClose:()=>{G(v)}}));break}case I._n.CALENDARENTRY:{const[t,o,r]=(e=>{let t="",n="",o="";const i=(0,C.uJ)(null===e||void 0===e?void 0:e.statusUpdateMessage)?u.Ay.notification.meetingRequestParticipationDeclinedTextTemplate:u.Ay.notification.meetingRequestParticipationDeclinedWithNoteTextTemplate;switch(e.type){case k.MEETING_REQUEST:t=u.Ay.notification.meetingRequestTitle,n=D(e,u.Ay.notification.meetingRequestTextTemplate)[0],o=D(e,u.Ay.notification.meetingRequestTextTemplate)[1];break;case k.MEETING_REQUEST_DELETED:t=u.Ay.notification.meetingRequestTitle,n=D(e,u.Ay.notification.meetingRequestDeletedTextTemplate)[0],o=D(e,u.Ay.notification.meetingRequestDeletedTextTemplate)[1];break;
1case k.MEETING_REQUEST_PARTICIPATION_DELETED:t=u.Ay.notification.meetingRequestTitle,n=D(e,u.Ay.notification.meetingRequestParticipationDeletedTextTemplate)[0],o=D(e,u.Ay.notification.meetingRequestParticipationDeclinedTextTemplate)[1];break;case k.MEETING_REQUEST_ORGANIZATION_ACCEPTED:case k.MEETING_REQUEST_PARTICIPATION_ACCEPTED:t=u.Ay.notification.meetingRequestTitle,n=D(e,u.Ay.notification.meetingRequestParticipationAcceptedTextTemplate)[0],o=D(e,u.Ay.notification.meetingRequestParticipationAcceptedTextTemplate)[1];break;case k.MEETING_REQUEST_ORGANIZATION_DECLINED:case k.MEETING_REQUEST_PARTICIPATION_DECLINED:t=u.Ay.notification.meetingRequestTitle,n=D(e,i)[0],o=D(e,u.Ay.notification.meetingRequestParticipationDeclinedTextTemplate)[1];break;case k.MEETING_REQUEST_UPDATED:t=u.Ay.notification.meetingRequestTitle,n=D(e,u.Ay.notification.meetingRequestUpdatedTextTemplate)[0],o=D(e,u.Ay.notification.meetingRequestUpdatedTextTemplate)[1];break;case k.MEETING_REQUEST_ORGANIZATION:t=u.Ay.notification.meetingRequestTitle,n=D(e,u.Ay.notification.organizationMeetingrequestTemplate)[0],o="";break;default:return[]}return[t,n,o]})(l),d=(0,w.l)();t&&t&&(R({notificationId:d,userId:e,type:s.type,title:t,text:o,userName:r,onClick:()=>(e=>{var t,o;switch(e.type){case k.MEETING_REQUEST:n.setSchedulesSubtab(m.yY.INVITED_MEETINGS);break;case k.MEETING_REQUEST_ORGANIZATION:if(!e.organizationId||!e.organizationName)return;const r="".concat((0,v.qn)(null!==(t=e.organizationId)&&void 0!==t?t:"",null!==(o=e.organizationName)&&void 0!==o?o:"","organization"),"/backoffice?").concat(f.BACKOFFICE_TAB_PARAM_KEY,"=").concat(f.TabType.MEETING_REQUEST);i.push(r);break;default:n.setSchedulesSubtab(m.yY.ORGANIZED_MEETINGS)}})(l),onClose:()=>{G(d)}}),a&&n.isCommunicationCenterOpen()&&n.communicationCenterSelectedTab===x.qt.SCHEDULE&&a());break}case I._n.BACKOFFICE:{const[t,n,o,r,a,d]=await(async e=>{let t,n="",o="",i="";const r=e.restrictedAreaId,a=e.restrictedAreaType;switch(e.action){case"request":n=u.Ay.notification.accessRequestTitle,o=e.userName,t=await F(e,u.Ay.notification.accessRequestText);break;case"accept":n=u.Ay.notification.accessAcceptedTitle,i=e.organizationName,o=e.userName,_(e),t=await F(e,u.Ay.notification.accessAcceptedText);break;case"decline":n=u.Ay.notification.accessDeclinedTitle,i=e.organizationName,o=e.userName,_(e),t=await F(e,u.Ay.notification.accessDeclinedText);break;case"delete":n=u.Ay.notification.accessDeletedTitle,i=e.organizationName,o=e.userName,window.onbeforeunload=null,window.location.reload(),_(e),t=await F(e,u.Ay.notification.accessDeletedText);break;case"added":n=u.Ay.notification.accessAddedTitle,o=e.userName,_(e),t=await F(e,u.Ay.notification.accessAddedText);break;default:return[]}return[n,o,t,i,r,a]})(l),g=(0,w.l)();o&&t&&n&&R({notificationId:g,userId:e,title:t,text:o,type:s.type,userName:n,organizationName:r,restrictedAreaId:a,restrictedAreaType:d,onClick:()=>(e=>{"request"===e.action?e.restrictedAreaId&&e.restrictedAreaType&&i.push("".concat((0,v.qn)(e.organizationId,e.organizationName,"organization"),"/backoffice?restrictedAreaId=").concat(e.restrictedAreaId,"&restrictedAreaType=").concat(e.restrictedAreaType)):"added"!==e.action&&"accept"!==e.action||(S.GF?i.push("/meetings"):e.restrictedAreaType===c.Uu.VirtualCafe.value?i.push("".concat((0,v.qn)(e.restrictedAreaId,"","virtualCafeMeetingGroup"))):e.restrictedAreaType===c.Uu.PrivateEvent.value?i.push("".concat((0,v.qn)(e.restrictedAreaId,"","eventdate"))):e.restrictedAreaType===c.Uu.ConferenceRoom.value&&i.push("".concat((0,v.qn)(e.restrictedAreaId,"","conferenceRoom"))))})(l),onClose:()=>{G(g)}});break}default:return}}P.isLoggedIn&&(N.set(t=>(t.userProfileId=e,t)),void 0===j&&(j=r.n.graphql((0,d.JS)(T.ZH,{userId:e})).subscribe({next:s})),void 0===O&&(O=r.n.graphql((0,d.JS)(T.ZH,{userId:u.Ay.configuration.sotName})).subscribe({next:s})))},getNotifications:()=>e.get({noproxy:!0}).notifications,removeNotification:G,addMutedConversationId:e=>{N.set(t=>(t.mutedChatConversationIds.includes(e)||(t.mutedChatConversationIds=t.mutedChatConversationIds.concat([e])),t))},removeMutedConversationId:e=>{N.set(t=>{const n=t.mutedChatConversationIds.indexOf(e);return n>-1&&(t.mutedChatConversationIds=[...t.mutedChatConversationIds.slice(0,n),...t.mutedChatConversationIds.slice(n+1)]),t})},unsubscribe:()=>{var e,t;null===(e=j)||void 0===e||e.unsubscribe(),null===(t=O)||void 0===t||t.unsubscribe(),j=void 0,O=void 0}}},N=(0,i.hH)({notifications:[],mutedChatConversationIds:[],userProfileId:""}),L=()=>M((0,i.mO)(N))},94603:(e,t,n)=>{n.d(t,{N:()=>f});var o=n(29015),i=n(86109),r=n(12936),a=n(93025),s=n(47564),l=n(89519),d=n(35725),c=n(72792),u=n(35750),g=n(21845),p=n(15805);const h=(e,t,n)=>{const o=(0,l.F)(),h=(0,d.GYC)(),m=(0,d.dqp)(),f=t=>{n&&n(t),e.set(e=>(e.channelStatus=t,e))},v=n=>{t&&t(n),e.set(e=>(e.isLocked=n,e))};return{onGreenRoomEnter:(e,t)=>{var n;n=t,"greenroom"===e&&(0,i.oM)(n).then(e=>{if(e.httpStatus){const t=e;a.Um.error({message:"Green room "+n+" channel status could not be retrieved.",errorMessage:t.httpStatusText})}else{const t=e,n=t.isLive?u.u.ON_AIR:u.u.OFF_AIR;f(n),v(t.isLocked)}})},async startLive(){var e;const t=null===(e=o.getExternalMeetingId())||void 0===e?void 0:e.slice(3);if(!t)return!1;f(u.u.PREPARING),(0,i.BU)(t).then(e=>{if(e.httpStatus)return f(u.u.OFF_AIR),!1;{var t;const n=e.isLive?u.u.ON_AIR:u.u.OFF_AIR;return m({type:d.X2v.ADD,payload:{severity:d.AI$.SUCCESS,message:s.Ay.conferenceTexts.liveInMessage,autoCloseDelay:1e4,replaceAll:!0,type:"CHANNEL_GOING_ON_AIR"}}),f(n),null===(t=h.audioVideo)||void 0===t||t.realtimeSendDataMessage((0,p.I)(o.getExternalMeetingId()),{type:r.a.CHANNEL_STATUS,data:n}),!0}})},async stopLive(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";const n=null===(e=o.getExternalMeetingId())||void 0===e?void 0:e.slice(3);if(!n)return!1;f(u.u.PREPARING);const a=await(0,i.xb)(n,null!==t&&void 0!==t?t:"default");if(a.httpStatus)return f(u.u.ON_AIR),!1;{var l;const e=a.isLive?u.u.ON_AIR:u.u.OFF_AIR;return null===(l=h.audioVideo)||void 0===l||l.realtimeSendDataMessage((0,p.I)(o.getExternalMeetingId()),{type:r.a.CHANNEL_STATUS,data:e}),m({type:d.X2v.ADD,payload:{severity:d.AI$.SUCCESS,message:s.Ay.conferenceTexts.liveStopped,autoCloseDelay:3e3,replaceAll:!0}}),f(e),!0}}
1,async lockChannel(e){var t;const n=null===(t=o.getExternalMeetingId())||void 0===t?void 0:t.slice(3);if(n){const t=await(0,i.LV)(n,e);if(t.httpStatus)return!1;{var a;const e=t;return null===(a=h.audioVideo)||void 0===a||a.realtimeSendDataMessage((0,p.I)(o.getExternalMeetingId()),{type:r.a.GREENROOM_STATUS,data:g.$.LOCKED}),m({type:d.X2v.ADD,payload:{severity:d.AI$.SUCCESS,message:s.Ay.conferenceTexts.roomLockedTitle,autoCloseDelay:3e3,icon:(0,c.XEb)({fill:"#fff",width:"18",height:"18"})}}),v(e.isLocked),!0}}return!1},async unlockChannel(){var e;const t=null===(e=o.getExternalMeetingId())||void 0===e?void 0:e.slice(3);if(t){const e=await(0,i.SW)(t);if(e.httpStatus)return!1;{var n;const t=e;return null===(n=h.audioVideo)||void 0===n||n.realtimeSendDataMessage((0,p.I)(o.getExternalMeetingId()),{type:r.a.GREENROOM_STATUS,data:g.$.UNLOCKED}),m({type:d.X2v.ADD,payload:{severity:d.AI$.SUCCESS,message:s.Ay.conferenceTexts.roomUnlockedTitle,autoCloseDelay:3e3,icon:(0,c.bwA)({fill:"#fff",width:"18",height:"18"})}}),v(t.isLocked),!0}}return!1},channelStatus:e.value.channelStatus,isLocked:()=>e.value.isLocked}},m=(0,o.hH)({channelStatus:void 0,isLocked:!1}),f=(e,t)=>h((0,o.mO)(m),e,t)},99673:(e,t,n)=>{n.d(t,{M:()=>k});var o=n(29015),i=n(35725),r=n(91953),a=n(15669),s=n(52189),l=n(47564),d=n(62185),c=n(92971),u=n(69108);class g{constructor(e){this.logo=new Image,this.processLogo=!1,this.position=void 0,this.logo.src="",this.logo.crossOrigin="anonymous",this.position=e}async destroy(){}setSrc(e){e&&0!==e.length?(this.processLogo=!0,this.logo.src=e):(this.processLogo=!1,this.logo.src="")}setPosition(e){this.position=e}getPosition(){return this.position}async process(e){if(0===e.length||!this.processLogo)return Promise.resolve(e);const t=e[0].asCanvasElement();if(!t)return Promise.resolve(e);const n=t,o=n.width,i=n.height;if(0===o||0===i||0===this.logo.width||0===this.logo.height)return Promise.resolve(e);const{dx:r,dy:a,dw:s,dh:l}=this.calcPositionAndSize(n.width,n.height);for(const c of e)try{c.asCanvasElement().getContext("2d").drawImage(this.logo,r,a,s,l)}catch(d){console.log("Exception:: ",d)}return Promise.resolve(e)}calcPositionAndSize(e,t){const n=Math.max(100,Math.min(e/5,this.logo.width)),o=n*(this.logo.height/this.logo.width);let i,r;switch(this.position){case"topright":i=e-n-20,r=20;break;case"bottomleft":i=20,r=t-o-20;break;case"bottomright":i=e-n-20,r=t-o-20;break;default:i=20,r=20}return{dx:i,dy:r,dw:n,dh:o}}}var p=n(71859);let h,m;const f={backgroundBlur:{isEnabled:!1,strength:"high"},backgroundReplacement:{isEnabled:!1,backgroundImageURL:"space.jpg",defaultColor:void 0}},v=async e=>{f.backgroundReplacement.isEnabled=!1,f.backgroundBlur.isEnabled=!1,await x(e)},x=async e=>{try{m&&await m.setEffectConfig(f)}catch(t){e.error(t.toString())}};var A=n(25547);const y="topleft",b=new g(y),T=new r.ConsoleLogger("Video Transformer",r.LogLevel.OFF);let I,S;const w=(0,o.hH)({backgroundGalleryItems:[],selectedBackgroundUrl:void 0,isBlurActive:!1,customUploadedBackgrounds:[],isLoading:!1,customUploadedLogos:[],logoGalleryItems:[],selectedLogoUrl:void 0,logoProcessor:new g(p.U.TOP_LEFT),selectedLogoPosition:p.U.TOP_LEFT,processors:null,isLogoProcessorActive:!1,errorMessage:void 0}),C=e=>{const t=l.Ay.audioVideoSettings.userMediaUploadFileUploadLimitExceededErrorMessage,n=l.Ay.audioVideoSettings.userMediaUploadGenericErrorMessage,o=l.Ay.audioVideoSettings.userMediaUploadFileToLargeErrorMessage,{isBackgroundReplacementSupported:g}=(0,i.ikd)(),{isBackgroundBlurSupported:p}=(0,i.F6c)(),{toggleContentShare:w}=(0,i.KPF)(),{isVideoEnabled:C,toggleVideo:k}=(0,i.oCg)(),{isLocalUserSharing:E}=(0,i.TDp)(),j=(0,c.Es)().user(),{selectedDevice:O}=(0,i.O54)(),M=(0,i.GYC)(),N=()=>{e.merge({errorMessage:void 0})};(0,a.useEffect)(()=>{let t;return e.value.errorMessage&&(t=setTimeout(()=>{N()},5e3)),()=>{clearTimeout(t)}},[e.value.errorMessage]);const L=async()=>{if(null===j||void 0===j||!j.profileId)return;let t=[],n=l.Ay.audioVideoSettings.galleryItemList.map(e=>({id:"",url:e,purpose:s.AP.BACKGROUND})),o=[],i=(e=>{var t;return"dev"===(0,d.uc)()?[{id:"organizer-logo",purpose:s.AP.LOGO,url:"/applicationMedia/organizerlogo_closed.png"}]:null!==(t=null===e||void 0===e?void 0:e.filter(e=>e.logo).map(e=>({id:e.id,purpose:s.AP.LOGO,url:null===e||void 0===e?void 0:e.logo})))&&void 0!==t?t:[]})(j.organizations);const r=await(0,s.UN)(null===j||void 0===j?void 0:j.profileId);Array.isArray(r)&&([o,t]=r.reduce((e,t)=>
1(e[t.purpose===s.AP.LOGO?0:1].push(t),e),[[],[]])),e.merge({logoGalleryItems:o.concat(i),customUploadedLogos:o,backgroundGalleryItems:t.concat(n),customUploadedBackgrounds:t})};(0,a.useEffect)(()=>{if(null!==j&&void 0!==j&&j.profileId)return L(),()=>{document.body.style.cursor="default"}},[]);const P=(i,r)=>{if(null===j||void 0===j||!j.profileId)return;const a=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";document.body.style.cursor=n,e.merge({errorMessage:t})};a(void 0,"wait");try{const{files:e}=i.target,l=[],d=[];let c=!1;return e.length&&Array.from(e).forEach(i=>{const u=new FileReader;d.push(u),u.onload=async d=>{const{result:u}=d.target;u&&(l.push(u),(0,s.V_)(r,null===j||void 0===j?void 0:j.profileId).then(async r=>{if("endpointUrl"in r){const t=r.fields,d=r.endpointUrl,u=new FormData;for(const e in t)t.hasOwnProperty(e)&&u.append(e,t[e]);u.append("Content-Type",i.type),u.append("file",i),(0,s.nr)(u,d).then(t=>{t.ok?setTimeout(async()=>{l.length!==e.length||c||(L(),a())},3e3):a(o)}).catch(()=>{a(n)})}else a(t)}))},u.readAsDataURL(i)}),()=>{c=!0,d.forEach(e=>{1===e.readyState&&e.abort()})}}catch(l){a()}};async function R(e){const t=localStorage.getItem(A.vH);if(!t)return;let n=[];try{n=JSON.parse(t)}catch(i){return void console.error("Failed to parse localStorageItems as JSON:",i)}const o=n.find(t=>t.deviceId===e);M.meetingSession&&o&&await(async(e,t,n,o)=>{if(h){const n=h.getInnerDevice().deviceId;return e.deviceId!==n&&(h=h.chooseNewInnerDevice(e.deviceId)),await t.audioVideo.startVideoInput(h),h}try{m=await r.VideoFxProcessor.create(n,f)}catch(i){return void n.error(i.toString())}try{return h=new r.DefaultVideoTransformDevice(n,e,[m,o]),await t.audioVideo.startVideoInput(h),h}catch(i){return void n.error(i.toString())}})(o,M.meetingSession,T,b).then(e=>{I=e}).catch(e=>{console.error("Error applying effects to the meeting:",e)})}const B=async()=>{const e=localStorage.getItem(A.gd);var t;e?await R(e):(await Promise.all([M.stopVideoInputDevice(),null===(t=I)||void 0===t?void 0:t.stop()]),I=void 0)};return{toggleVideo:async()=>{document.body.style.cursor="progress",await k(),C||B().then(()=>{var e;null===(e=M.audioVideo)||void 0===e||e.startLocalVideoTile()}),document.body.style.cursor="default"},updateVideoInput:async()=>{await B().then(()=>{var e;S&&(null===(e=M.audioVideo)||void 0===e||e.startVideoPreviewForVideoInput(S))})},startVideoPreview:e=>{B().then(()=>{var t;null===(t=M.audioVideo)||void 0===t||t.startVideoPreviewForVideoInput(e),S=e})},setSelectedBackground:async t=>{if(!e.value.isLoading&&void 0!==O&&g&&t.url)try{e.merge({isLoading:!0}),document.body.style.cursor="wait",(async e=>{f.backgroundBlur.isEnabled=!1,f.backgroundReplacement.isEnabled=!0,await x(e)})(T).then(()=>{(async(e,t)=>{f.backgroundReplacement.backgroundImageURL=e,f.backgroundReplacement.defaultColor=void 0,await x(t)})(t.url,T)})}catch(n){console.error("Error trying to apply Background image",n)}finally{const n=JSON.parse(localStorage.getItem(u.Fq)||"{}"),o=structuredClone(n);o&&t&&(o.background=t,o.blurState=!1),localStorage.setItem(u.Fq,JSON.stringify(o)),e.merge({isLoading:!1,selectedBackgroundUrl:t.url,isBlurActive:!1}),document.body.style.cursor="default"}},getBackgroundGalleryItems:()=>e.value.backgroundGalleryItems,getSelectedBackground:()=>e.value.selectedBackgroundUrl,getCustomUploadedBackgrounds:()=>e.value.customUploadedBackgrounds,uploadBackground:e=>{P(e,s.AP.BACKGROUND)},removeBackground:async()=>{if(!e.value.isLoading)try{e.merge({isLoading:!0}),v(T)}catch(t){console.error("Error while trying removing background ",t)}finally{e.merge({selectedBackgroundUrl:void 0,isBlurActive:!1,isLoading:!1});const t=JSON.parse(localStorage.getItem(u.Fq)||"{}"),n=structuredClone(t);n&&(n.background=null,n.blurState=!1),localStorage.setItem(u.Fq,JSON.stringify(n))}},toggleBlur:async()=>{if(!e.value.isLoading&&void 0!==O&&p)try{e.merge({isLoading:!0}),document.body.style.cursor="wait",e.value.isBlurActive?v(T):(async e=>{f.backgroundReplacement.isEnabled=!1,f.backgroundBlur.isEnabled=!0,await x(e)})(T)}catch(t){console.error("Error while trying to apply blur ",t)}finally{const t=JSON.parse(localStorage.getItem(u.Fq)||"{}"),n=structuredClone(t);n&&(n.blurState=!e.value.isBlurActive,n.background=null),localStorage.setItem(u.Fq,JSON.stringify(n)),e.merge({isBlurActive:!e.value.isBlurActive,isLoading:!1,selectedBackgroun
1dUrl:void 0}),document.body.style.cursor="default"}},deleteCustomBackground:async t=>{if(e.value.isLoading||!O)return;document.body.style.cursor="wait";const o=e.value.backgroundGalleryItems.filter(e=>e.url===t)[0].id;try{if("ok"in await(0,s.fI)(o)){if(e.merge({selectedLogoUrl:void 0}),e.set(e=>(e.backgroundGalleryItems=e.backgroundGalleryItems.filter(e=>e.url!==t),e)),t===e.value.selectedBackgroundUrl){v(T);const e=JSON.parse(localStorage.getItem(u.Fq)||"{}"),t=structuredClone(e);t&&(t.background=null),localStorage.setItem(u.Fq,JSON.stringify(t))}}else e.merge({errorMessage:n})}catch(i){e.merge({errorMessage:n})}document.body.style.cursor="default",e.merge({isLoading:!1})},getIsBlurActive:()=>e.value.isBlurActive,setSelectedLogo:t=>{if(!e.value.isLoading&&void 0!==O&&g&&t.url)try{e.merge({isLoading:!0}),document.body.style.cursor="wait",b.setPosition(y),b.setSrc(t.url)}catch(n){console.error("Error while trying to apply logo image ",n)}finally{document.body.style.cursor="default",e.merge({isLoading:!1,selectedLogoUrl:t.url});const n=JSON.parse(localStorage.getItem(u.Fq)||"{}"),o=structuredClone(n);o&&t&&(o.logo=t),localStorage.setItem(u.Fq,JSON.stringify(o))}},uploadLogo:async e=>{P(e,s.AP.LOGO)},getLogoGalleryItems:()=>e.value.logoGalleryItems,getCustomUploadedLogos:()=>e.value.customUploadedLogos,getSelectedLogo:()=>e.value.selectedLogoUrl,removeLogo:()=>{b.setPosition(y),b.setSrc(null);const t=JSON.parse(localStorage.getItem(u.Fq)||"{}"),n=structuredClone(t);n&&(n.logo=null),localStorage.setItem(u.Fq,JSON.stringify(n)),e.merge({selectedLogoUrl:void 0})},setLogoPosition:t=>{if(e.value.isLoading||void 0===O||!g)return;b.setPosition(t);const n=JSON.parse(localStorage.getItem(u.Fq)||"{}"),o=structuredClone(n);o&&(o.logoPosition=t),localStorage.setItem(u.Fq,JSON.stringify(o))},getLogoPosition:()=>e.value.selectedLogoPosition,getIsLogoProcessorActive:()=>e.value.isLogoProcessorActive,deleteCustomUploadedLogo:async t=>{if(e.value.isLoading||!O)return;document.body.style.cursor="wait";const i=e.value.logoGalleryItems.filter(e=>e.url===t)[0].id;try{if("ok"in await(0,s.fI)(i)){t===e.value.selectedLogoUrl&&(e.merge({isLoading:!0}),b.setPosition(y),b.setSrc(null)),e.merge({isLoading:!1,selectedLogoUrl:void 0}),e.set(e=>(e.logoGalleryItems=e.logoGalleryItems.filter(e=>e.url!==t),e));const n=JSON.parse(localStorage.getItem(u.Fq)||"{}"),o=structuredClone(n);o&&(o.logo=null),localStorage.setItem(u.Fq,JSON.stringify(o))}else e.merge({errorMessage:n})}catch(r){e.merge({errorMessage:o})}document.body.style.cursor="default"},stopVideoPreview:async e=>{var t;null===(t=M.audioVideo)||void 0===t||t.stopVideoPreviewForVideoInput(e)},getErrorMessage:()=>e.value.errorMessage,resetErrorMessage:N,isVideoEnabled:()=>C,toggleContentShare:()=>{w()},isContentShareEnabled:()=>E}},k=()=>C((0,o.mO)(w))}}]);
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.