1try{let n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="c2cf37f4-0650-4ca4-b1bf-da3979d80abb",n._sentryDebugIdIdentifier="sentry-dbid-c2cf37f4-0650-4ca4-b1bf-da3979d80abb")}catch(n){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9527],{58954:function(n,e,t){var i=t(2784),a=t(55737),l=t(62234),r=t(36933);e.Z=function(){let[n,e]=(0,i.useState)(!1),{i18n:t}=(0,r.$)(),{timezone:o}=(0,a.gi)(),d=(0,l.Fg)();return(0,i.useEffect)(()=>{e(!0)},[]),(e,i)=>"".concat("https://app.swapcard.com","/api/session-banner-placeholder/").concat(e,"?ts=").concat(encodeURI(i),"&timezone=").concat(encodeURIComponent(o),"&lng=").concat(t.language,"&isMounted=").concat(n.toString(),"&themeMode=").concat(d.mode)}},24690:function(n,e,t){t.d(e,{Z:function(){return C}});var i=t(52322),a=t(2784),l=t(38915),r=t(29484),o=function(n){return(0,i.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",...n,children:[(0,i.jsx)("path",{d:"M15.17 13.073a1 1 0 010-1.414l3.748-3.748a2 2 0 10-2.829-2.829l-3.748 3.749a1 1 0 11-1.414-1.414l3.748-3.749a4 4 0 015.657 5.657l-3.748 3.748a1 1 0 01-1.415 0zM8.986 10.77a1 1 0 010 1.415l-3.748 3.748a2 2 0 102.828 2.829l3.749-3.749a1 1 0 111.414 1.415L9.48 20.176a4 4 0 01-5.656-5.657l3.748-3.748a1 1 0 011.414 0z",fill:"currentColor"}),(0,i.jsx)("path",{d:"M14.593 10.82a1 1 0 00-1.414-1.414l-4.456 4.456a1 1 0 001.414 1.414l4.456-4.455z",fill:"currentColor"})]})},d=function(n){return(0,i.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",...n,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.965 11.728a1.5 1.5 0 010 2.544l-3.67 2.294A1.5 1.5 0 019 15.294v-4.588a1.5 1.5 0 012.295-1.272l3.67 2.294zM11 11.608L13.226 13 11 14.392v-2.784z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 2a3 3 0 00-3 3v14a3 3 0 003 3h10a3 3 0 003-3V8a6 6 0 00-6-6H7zm8 4V4.126A4.007 4.007 0 0117.874 7H16a1 1 0 01-1-1zm1 3h2v10a1 1 0 01-1 1H7a1 1 0 01-1-1V5a1 1 0 011-1h6v2a3 3 0 003 3z",fill:"currentColor"})]})},s=t(62234);t(3957),t(56366);var c=t(12866),u=t(31383),m=t(83106),p=t(48239);let h=c.ZP.div.withConfig({displayName:"style__OnHover",componentId:"sc-f520d2c6-0"})(["display:none;"]),g=c.ZP.div.withConfig({displayName:"style__NoHover",componentId:"sc-f520d2c6-1"})([""]),v=c.ZP.div.withConfig({displayName:"style__Wrapper",componentId:"sc-f520d2c6-2"})(["display:flex;width:100%;min-height:70px;align-items:stretch;",""],n=>{let{hoverEffect:e,theme:{colors:t}}=n;
1return e&&(0,u.iv)(["cursor:pointer;transition:150ms;&:hover{background-color:",";","{display:inherit;}}"],(0,m.Z)(t.secondary.base,.04),h)}),f=c.ZP.div.withConfig({displayName:"style__IconWrapper",componentId:"sc-f520d2c6-3"})(["align-self:center;margin:",";svg{display:block;}"],n=>{let{theme:e}=n;return"rtl"===e.dir?"16px 24px 16px 16px":"16px 16px 16px 24px"}),x=c.ZP.div.withConfig({displayName:"style__Content",componentId:"sc-f520d2c6-4"})(["width:100%;padding:",";overflow:hidden;display:flex;justify-content:space-between;align-items:center;border-bottom:"," solid ",";"],n=>{let{theme:e}=n;return"rtl"===e.dir?"16px 0 16px 16px":"16px 16px 16px 0"},n=>{let{border:e}=n;return e?"1px":"0px"},n=>{let{theme:e}=n;return e.colors.outline.base}),b=c.ZP.div.withConfig({displayName:"style__Document",componentId:"sc-f520d2c6-5"})([""]),j=(0,c.ZP)(p.Z).attrs(()=>({lines:2})).withConfig({displayName:"style__Title",componentId:"sc-f520d2c6-6"})(["font-size:16px;font-weight:bold;color:",";"],n=>{let{theme:{colors:e}}=n;return e.text.base}),_=(0,c.ZP)(p.Z).attrs(()=>({lines:4})).withConfig({displayName:"style__Description",componentId:"sc-f520d2c6-7"})(["font-size:14px;font-weight:400;color:",";"],n=>{let{theme:{colors:e}}=n;return e.surface.on}),P=c.ZP.div.withConfig({displayName:"style__Right",componentId:"sc-f520d2c6-8"})(["color:",";font-size:16px;",";"],n=>{let{theme:{colors:e}}=n;return e.tertiary.base},n=>{let{theme:e}=n;return"rtl"===e.dir?"margin-right: 16px":"margin-left: 16px"});var C=function(n){let{border:e,document:t,hoverEffect:c,rightComponent:u,rightComponentOnHover:m,...p}=n,C=(0,s.Fg)(),w=(0,a.useMemo)(()=>{switch(t.type){case"IMAGE":return(0,i.jsx)(r.Z,{fontSize:24,color:C.colors.tertiary.base});case"VIDEO":return(0,i.jsx)(d,{fontSize:24,color:C.colors.tertiary.base});case"LINK":return(0,i.jsx)(o,{fontSize:24,color:C.colors.tertiary.base});default:return(0,i.jsx)(l.Z,{fontSize:24,color:C.colors.tertiary.base})}},[t.type,C.colors.tertiary.base]);return(0,i.jsxs)(v,{...p,hoverEffect:c,children:[(0,i.jsx)(f,{children:w}),(0,i.jsxs)(x,{border:e,children:[(0,i.jsxs)(b,{children:[(0,i.jsx)(j,{children:t.name}),(0,i.jsx)(_,{children:t.description})]}),(0,i.jsxs)(P,{children:[u&&(0,i.jsx)(g,{children:u}),m&&(0,i.jsx)(h,{children:m})]})]})]})}},54720:function(n,e,t){t.d(e,{b2:function(){return v},ZP:function(){return x},Ry:function(){return f}});var i=t(52322),a=t(2784),l=t(3957),r=t(65322),o=t(29017),d=t(13920),s=t(79747),c=t(12866),u=t(91113);let m=c.ZP.div.withConfig({displayName:"style__Wrapper",componentId:"sc-e10e0c84-0"})([""]),p=(0,c.ZP)(u.Z).withConfig({displayName:"style__Title",componentId:"sc-e10e0c84-1"})(["margin-bottom:16px;"]);var h=t(56366),g=t(76505),v=function(){return(0,i.jsxs)(m,{children:[(0,i.jsx)(h.Z,{size:27,style:{maxWidth:150}}),(0,i.jsx)(l.Z,{of:24}),(0,i.jsx)(g.s,{lines:3}),(0,i.jsx)(l.Z,{of:24}),(0,i.jsx)(s.WZ,{}),(0,i.jsx)(s.WZ,{})]})};function f(n){let{htmlDescription:e,fields:t,withEvent:i}=n,a=i?i.fields:t;return!!(e&&""!==(0,o.Vt)({htmlInput:e}).trim()||a.filter(s.m6).length>0)}var x=function(n){let{planning:e}=n,t=(0,d.T_)(),[c,u]=(0,s.bG)(e.withEvent?e.withEvent.fields:e.fields,{removeEmpty:()=>!0}),h=e.htmlDescription&&""!==(0,o.Vt)({htmlInput:e.htmlDescription}).trim();return f(e)?(0,i.jsxs)(m,{children:[(0,i.jsx)(p,{children:t.information}),e.htmlDescription&&h&&(0,i.jsx)(r.Z,{htmlChild:e.htmlDescription,translations:{see_more:t.seeMore,see_less:t.seeLess},maxHeight:192}),h&&(u.length>0||c.length>0)&&(0,i.jsx)(l.Z,{of:24}),u.map(n=>(0,i.jsx)(s.ZP,{field:n},n.id)),c.map(n=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(p,{children:n.name}),n.fields.map(n=>(0,i.jsx)(s.ZP,{field:n},n.id))]},n.id))]}):null}},89701:function(n,e,t){t.d(e,{rM:function(){return l.r},v1:function(){return o}});var i=t(67862),a=t(52322),l=t(90374);function r(){let n=(0,i._)(["\n fragment PlanningCardSmallFragment on Core_Planning {\n id\n title @skip(if: $withEvent)\n beginsAt(format: ISO8601)\n endsAt(format: ISO8601)\n format\n liveStream @skip(if: $withEvent) {\n id\n availableAt\n }\n preRecorded @skip(if: $withEvent) {\n id\n availableAt\n video {\n ... on Core_UploadedFileEmbeddedVideo {\n playback {\n isLive\n }\n }\n }\n }\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n liveStream {\n id\n availableAt\n }\n preRecorded {\n id\n availableAt\n video {\n ... on Core_UploadedFileEmbeddedVideo {\n playback {\n isLive\n }\n }\n }\n }\n }\n }\n"]);return r=function(){return n},n}let o=(0,t(81548).Ps)(r());e.ZP=function(n){return(0,a.jsx)(l.Z,{...n})}},81759:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(52322),a=t(2784),l=t(28347);function r(n){let{planning:e,onClose:t,attendeeCardProps:a,renderAttendeeC
1ard:r=n=>n,allPlanningAttendeesData:o}=n,{error:d,attendees:s,loading:c,loadMore:u}=o;return(0,i.jsx)(l.sG,{error:d,onClose:t,planning:e,loadMore:u,initialLoading:c,attendees:s,attendeeCardProps:a,renderAttendeeCard:r})}function o(n){let{planning:e,attendeeCardProps:t,renderAttendeeCard:o=n=>n,allPlanningAttendeesData:d}=n,[s,c]=(0,a.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Pv,{planning:e,attendeeCardProps:t,renderAttendeeCard:o,onSeeAll:()=>c(!0)}),s&&(0,i.jsx)(r,{planning:e,attendeeCardProps:t,renderAttendeeCard:o,onClose:()=>c(!1),allPlanningAttendeesData:d})]})}},33086:function(n,e,t){t.d(e,{Gy:function(){return R},I3:function(){return w.I3},Qw:function(){return w.Qw},p$:function(){return w.p$},PT:function(){return w.PT},Q2:function(){return w.Q2},ZP:function(){return U}});var i=t(52322),a=t(31383),l=t(12866),r=t(31146),o=t(82778),d=t(67862),s=t(2784),c=t(81548),u=t(10199),m=t(52901),p=t(73220),h=t(3814),g=t(39394);function v(){let n=(0,d._)(["\n fragment PublicChannel_Fragment on PublicChannelWrapper {\n joined\n channel {\n id\n channelUserCount\n name\n translatedName\n type\n imageUrl\n }\n channelUser {\n id\n userId\n channelId\n user {\n id\n }\n }\n }\n"]);return v=function(){return n},n}function f(){let n=(0,d._)(["\n query PublicChannelsQuery(\n $asUserId: String!\n $ids: [UUID!] = []\n $filters: [PublicChannelFilterInput!] = []\n ) {\n publicChannels(ids: $ids, filters: $filters, asUserId: $asUserId) {\n ...PublicChannel_Fragment\n }\n }\n ","\n"]);return f=function(){return n},n}let x=(0,c.Ps)(v()),b=(0,c.Ps)(f(),x);var j=t(47791),_=t(47311);function P(n){let{planningId:e}=n,t=(0,j.$)(),i=(0,s.useCallback)(n=>{t({id:n,type:"watch_planning",payload:{planning_id:e}})},[t,e]),a=(0,s.useCallback)(n=>{t({id:n,type:"leave_planning",payload:{planning_id:e}})},[t,e]);return(0,_.G)({watcher:i,leaver:a}),null}var C=t(59033),w=t(28347),y=t(56366),I=t(23147);let k=l.ZP.div.withConfig({displayName:"header-mobile__Wrapper",componentId:"sc-5c579522-0"})(["",""],n=>{let{marginTop:e}=n;return(0,a.iv)(["margin-top:","px;"],e)});function E(n){let{onBack:e,loading:t,mobileOffset:a,planningTitle:l,isWidget:r}=n;return(0,i.jsx)(k,{marginTop:null!=a?a:0,children:(0,i.jsx)(I.ZP,{onBack:e,centerComponent:t&&!l?(0,i.jsx)(y.Z,{size:20}):(0,i.jsx)(I.XJ,{title:null!=l?l:""}),offsetTop:a,withLeftButtonOffset:!e&&!r})})}var Z=t(54720),A=t(29017);let F=(0,a.iv)(["margin-bottom:16px;"]),N=(0,a.iv)(["padding:16px;"]),D=(0,l.ZP)(r.Z).withConfig({displayName:"details-view__Box",componentId:"sc-9e18bcfb-0"})([""," ",""],n=>{let{withMargin:e}=n;return e&&F},n=>{let{withPadding:e}=n;return e&&N});function S(n){var e;let{planning:t,eventId:a,loading:l,error:r,onBack:d,renderSEO:c,onInterval:u,mobileOffset:m,showFeedback:p,backstageLink:h,speakersSection:g,linkedPlanningsSection:v,onLiveStreamEnd:f,notifyStopVideo:x,attendeesSection:b,notifyStartVideo:j,planningCardProps:_,desktopOffset:y=0,nextPlannings:I=[],onChangeAutoFollow:k,autoFollow:F=!1,renderPlanningCard:N,withBookmarkButton:S,onDocumentLinkClick:L,bookmarkButtonProps:U,publicChannel:O=null,renderViewProfileLink:T,onBeforeRoundtableJoin:M,onSimilarPlanningClick:B,exhibitorCardProps:z=()=>({}),bannerPlaceholderUrl:G=()=>null,renderExhibitorCard:V=n=>n,renderPublicChannel:$=n=>n,renderVideoRedirection:H=n=>n,renderMyScheduleRedirection:W=n=>n,renderFullscreenDetailsLink:Y,sessionExportDetails:Q,mapSection:K,customLocationNode:X,withActions:q=!1,similarPlanningDetails:J,isWidget:nn}=n,{isMobileView:ne}=(0,C.f)(),{showSimilarPlannings:nt,showInformation:ni,showExhibitors:na,showDocuments:nl,showViews:nr,showSummary:no}=function(n){let{planning:e,similarPlanningDetails:t}=n;return(0,s.useMemo)(()=>{var n,i,a,l;if(!e)return{showViews:!1,showDocuments:!1,showExhibitors:!1,showInformation:!1,showSimilarPlannings:!1,showSummary:!1};let{exhibitorList:r}=e.withEvent?e.withEvent:e,o=!!t&&(!!(null===(n=t.withEvent)||void 0===n?void 0:n.similarPlannings.length)||!!(null===(i=t.similarPlannings)||void 0===i?void 0:i.length)),d=e.documents.length>0,s=!!r&&(null==r?void 0:r.length)>0,c=(0,Z.Ry)((0,w.sg)(e));return{showViews:e.contents.views.reduce((n,e)=>("Core_EventRedirectUrlView"===e.__typename&&n.push(e),n),[]).length>0,showDocuments:d,showExhibitors:s,showInformation:c,showSimilarPlannings:o,showSummary:(0,A.Vt)({htmlInput:null!==(l=null==e?void 0:null===(a=e.withEvent)||void 0===a?void 0:a.summary)&&void 0!==l?l:""}).trim().length>0}},[e,t])}({planning:t,similarPlanningDetails:J}),nd=!(t&&(na||nl||g||v||!ne&&b||ne&&nt||no)),ns=!(t&&(I.length>0||p||ni||nr||!ne&&nt));if(r&&!t)return(0,i.jsx)(o.Z,{error:r,imageNode:!0});if(l&&!t)return(0,i.jsx)(R,{mobileOffset:m,desktopOffset:y});if(!t)return null;let nc=(null==J?void 0:null===(e=J.withEvent)||void 0===e?void 0:e.similarPlannings)||(null==J?void 0:J.similarPlannings);return(0,i.jsxs)(i.Fragment,{children:[ne&&(0,i.jsx)(E,{onBack:d,mobileOffset:m,planningTitle:t.withEvent?t.withEvent.title:t.title,isWidget:nn}),(0,i.jsx)(P,{planningId:t.id}),(0,i.jsx)("main",{children:(0,i.jsx)(C.V,{top:()=>(0,i.jsx)(w.XJ,{renderMyScheduleRedirection:W,planning:t,eventId:a,onInterval:u,backstageLink:h,publicChannel:O,onLiveStreamEnd:f,notifyStopVideo:x,notifyStartVideo:j,withBookmarkButton:S,renderPublicChannel:$,bookmarkButtonProps:U,renderViewProfileLink:T,renderVideoRedirection:H,renderFullscreenDetailsLink:Y,onBeforeRoundtableJoin:M,bannerUrl:t.bannerUrl||G(t),sessionExportDetails:Q,customLocationNode:X,withActions:q}),left:()=>ns?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w.sS,{autoFollow:F,nextPlannings:I,planningCardProps:_,renderPlanningCard:N,onChangeAutoFollow:k}),p&&(0,i.jsx)(w.bi,{planning:t}),(ni||nr)&&(0,i.jsxs)(D,{withMargin:!ne,children:[(0,i.jsx)(w.CF,{planning:t}),(0,i.jsx)(w.SL,{views:t.contents.views})]}),!ne&&nt&&!!nc&&(0,i.jsx)(w.s,{planningCardProps:_,renderPlanningCard:N,similarPlannings:nc,onSimilarPlanningClick:B}),K&&(0,i.jsx)(D,{withPadding:!0,withMargin:!0,children:K})]}),right:()=>{var n;return nd?null:(0,i.jsxs)(D,{children:[!!(null===(n=t.withEvent)||void 0===n?void 0:n.summary)&&(0,i.jsx)(w.j7,{summary:t.withEvent.summary}),(0,i.jsx)(w.RI,{exhibitors:t.withEvent?t.withEvent.exhibitorList:t.exhibitorList,exhibitorCardProps:z,renderExhibitorCard:V}),g,v,(0,i.jsx)(w.YA,{documents:t.documents,onDocumentLinkClick:L}),b,ne&&nt&&!!nc&&(0,i.jsx)(w.s,{planningCardProps:_,renderPlanningCard:N,similarPlannings:nc,onSimilarPlanningClick:B})]})},stickyLeft:!ne,stickyLeftOffsetTop:y})}),c&&t&&c(t)]})}function L(n){let{planningId:e,...t}=n,{publicChannels:a}=function(n){var e;let{planningId:t,eventId:i,...a}=n,{userId:l}=(0,p.II)(),r=(0,m.TM)(),o=(0,h.Z)(),d=(0,s.useMemo)(()=>t?i?[{externalLinks:[{id:i,type:g.Mhv.EVENT},{id:t,type:g.Mhv.PLANNING}]}]:[{externalLinks:[{id:t,type:g.Mhv.PLANNING}]}
1]:null,[i,t]),c=(0,u.aM)(b,{variables:{asUserId:l,filters:d,...a},client:r,fetchPolicy:"cache-and-network"}),v=null===(e=c.data)||void 0===e?void 0:e.publicChannels.map(n=>({...n,channel:{...n.channel,imageUrl:n.channel.imageUrl||o}}));return{...c,publicChannels:v}}({planningId:e,eventId:t.eventId}),l=a&&a.length>0?a[0]:null;return(0,w.q)({planning:t.planning,eventId:t.eventId,publicChannel:l}),(0,i.jsx)(S,{...t,publicChannel:l})}function U(n){let{withChat:e,planningId:t,isWidget:a,...l}=n;return e?(0,i.jsx)(L,{planningId:t,...l}):(0,i.jsx)(S,{...l})}function R(n){let{onBack:e,mobileOffset:t,desktopOffset:a}=n,{isMobileView:l}=(0,C.f)();return(0,i.jsxs)(i.Fragment,{children:[l&&(0,i.jsx)(E,{mobileOffset:t,onBack:e,loading:!0}),(0,i.jsx)(C.V,{top:()=>(0,i.jsx)(w.ob,{}),left:()=>(0,i.jsx)(D,{children:(0,i.jsx)(w.b2,{})}),right:()=>(0,i.jsxs)(D,{children:[(0,i.jsx)(w.H7,{}),(0,i.jsx)(w.Xz,{})]}),stickyLeft:!l,stickyLeftOffsetTop:a})]})}},28347:function(n,e,t){t.d(e,{sG:function(){return t6},Pv:function(){return t4},YA:function(){return tw},RI:function(){return tD},H7:function(){return tS},bi:function(){return G},XJ:function(){return tt},ob:function(){return ti},CF:function(){return tB},b2:function(){return tz},s:function(){return is},Xz:function(){return ic.Xz},j7:function(){return iE},sS:function(){return iP},SL:function(){return tx},ec:function(){return tJ},I3:function(){return t7},Qw:function(){return t8.Qw},p$:function(){return ia},PT:function(){return ic.PT},Q2:function(){return ic.Q2},sg:function(){return tM},q:function(){return j}});var i=t(67862),a=t(81548),l=t(45319),r=t(86742),o=t(52322),d=t(2784),s=t(85521),c=t(19034),u=t.n(c),m=t(42822),p=t(24058),h=t(11198),g=t(55737),v=t(73220),f=t(88980);function x(){let n=(0,i._)(["\n fragment PlanningDetails_ChatFragment on Core_Planning {\n id\n beginsAt(format: ISO8601)\n endsAt(format: ISO8601)\n userSpeaker {\n id\n }\n liveStream @skip(if: $withEvent) {\n id\n availableAt\n }\n preRecorded @skip(if: $withEvent) {\n id\n availableAt\n }\n onDemand @skip(if: $withEvent) {\n id\n availableAt\n }\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n roundtable {\n id\n availableAt\n canModerate\n }\n bookmark {\n isBookmarked\n }\n liveStream {\n id\n availableAt\n }\n preRecorded {\n id\n availableAt\n }\n onDemand {\n id\n availableAt\n }\n }\n }\n"]);return x=function(){return n},n}let b=(0,a.Ps)(x());function j(n){let{planning:e,eventId:t,publicChannel:i}=n,{userId:a,adminUserId:l}=(0,v.II)(),{width:r}=(0,f.Z)(),{setFullscreen:c}=(0,h.R)(),{setChats:x,chats:b}=(0,s.CW)(),j=(0,g.Fz)();(0,d.useEffect)(()=>{var n,d,s,h,g;if(!i||!e||(null===(n=e.withEvent)||void 0===n?void 0:n.roundtable)&&!(null==e?void 0:null===(d=e.withEvent.bookmark)||void 0===d?void 0:d.isBookmarked)&&!e.userSpeaker&&!(null===(s=e.withEvent)||void 0===s?void 0:s.roundtable.canModerate)||(null===(h=b[0])||void 0===h?void 0:h.planningId)===e.id)return;let{liveStream:v,preRecorded:f,onDemand:_}=null!==(g=e.withEvent)&&void 0!==g?g:e,P=v||f||_,{beginsAt:C,endsAt:w}=e,y=P&&u()(j(P.availableAt)),I=y&&u()(j(u()().format())).isBefore(y);x([{type:"LIVE_DISCUSSION",planningId:e.id,eventId:t,customActionNode:P&&!I&&c&&(0,o.jsx)(m.Z,{onClick:()=>c(!0),children:(0,o.jsx)(p.Z,{})}),openedByDefault:r&&r>1600||u()(j(u()().format())).isBetween(u()(j(C)).subtract(15,"minutes"),u()(j(w))),userId:a,adminUserId:l,breathing:!0,translatedChannelName:i.channel.translatedName}])},[r,a,l,j,null==e?void 0:e.id,t,i,null==e?void 0:e.onDemand,null==e?void 0:e.beginsAt,null==e?void 0:e.liveStream,null==e?void 0:e.withEvent,null==e?void 0:e.preRecorded]),(0,d.useEffect)(()=>()=>{x([])},[])}var _=t(76505),P=t(91113),C=t(46448),w=t(69646),y=t(6493),I=t(55028),k=t(3957),E=t(53663),Z=t(12866),A=t(31383),F=t(54631);let N=(0,Z.ZP)(F.im).withConfig({displayName:"style__Wrapper",componentId:"sc-b618a44f-0"})(["padding:16px;",""],n=>{let{inline:e}=n;return e&&(0,A.iv)(["border:none;padding:0;"])});var D=t(33379),S=t(82778),L=t(14134);function U(){let n=(0,i._)(["\n fragment PlanningFeedbackFragment on Core_Planning {\n id\n eventStatus\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n bookmark {\n isBookmarked\n canBookmark\n }\n evaluation {\n grade\n comment\n }\n }\n }\n"]);return U=function(){return n},n}function R(){let n=(0,i._)(["\n mutation PlanningFeedback(\n $planningId: ID!\n $comment: String\n $grade: Float\n $eventId: ID!\n $withEvent: Boolean = true\n ) {\n planning: Core_ratePlanning(\n _id: $planningId\n comment: $comment\n grade: $grade\n ) {\n ...PlanningFeedbackFragment\n }\n }\n ","\n"]);return R=function(){return n},n}let O=(0,a.Ps)(U()),T=(0,a.Ps)(R(),O);function M(n){var e,t,i,a;let{planning:l,onCompleted:r,refetchQueries:o}=n,s=(0,L.zX)(),c=(0,S.h)(),u=null==l?void 0:null===(t=l.withEvent)||void 0===t?void 0:null===(e=t.bookmark)||void 0===e?void 0:e.isBookmarked,m=null==l?void 0:null===(a=l.withEvent)||void 0===a?void 0:null===(i=a.bookmark)||void 0===i?void 0:i.canBookmark,[p,{loading:h}]=(0,D.D)(T,{onError:c,onCompleted:r,refetchQueries:o}),g=(0,d.useCallback)(async n=>{let{grade:e,comment:t}=n;await p({variables:{planningId:l.id,grade:e,comment:t,eventId:s.id}})},[l.id,p]);return{showPlanningFeedback:(0,d.useMemo)(()=>!(!m||!u||l.eventStatus&&["UPCOMING","ON_GOING"].includes(l.eventStatus)),[m,u,l.eventStatus]),loading:h,sendFeedback:g}}var B=function(n){var e;let{planning:t,onCompleted:i,refetchQueries:a,inline:l,...r}=n,s=(0,E.T_)(),[c,u]=(0,d.useState)(!1),{showPlanningFeedback:m,sendFeedback:p,loading:h}=M({planning:t,onCompleted:i,refetchQueries:a}),g=null===(e=t.withEvent)||void 0===e?void 0:e.evaluation,v=(0,w.U)({initialState:{value:(null==g?void 0:g.grade)||void 0},saveOnChange:()=>{u(!0)}}),f=(0,y.Ao)({initialState:{value:(null==g?void 0:g.comment)||void 0}}),x=(0,d.useMemo)(()=>v.value>0||f.value&&""!==f.value.trim(),[v.value,f.value]),b=(0,d.useCallback)(async n=>{n.preventDefault(),x?(await p({grade:v.value,comment:f.value}),u(!1)):(u(!1),v.setState({value:(null==g?void 0:g.grade)||void 0}),f.setState({value:(null==g?void 0:g.comment)||void 0}))},[v,f.value,p,c,u,x]),j=g&&!!g.grade,Z=!j&&!!v.value||c;return m?(0,o.jsxs)(N,{...r,inline:l,children:[(0,o.jsx)(P.Z,{children:j?s.planningEditFeedbackTitle:s.planningFeedbackTitle}),(0,o.jsx)(k.Z,{of:8}),!j&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(_.Z,{children:s.planningFeedbackDescription}),(0,o.jsx)(k.Z,{of:16})]}),(0,o.jsx)(w.Z,{...v}),(0,o.jsx)(k.Z,{of:16}),j&&!!(null==g?void 0:g.comment)&&!Z&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(_.Z,{children:g.comment}),(0,o.jsx)(k.Z,{of:8})]}),Z&&(0,o.jsxs)("form",{onSubmit:n=>b(n),children:[(0,o.jsx)(I.Z,{children:s.planningFeedbackCommentLabel}),(0,o.jsx)(k.Z,{of:4}),(0,o.jsx)(y.ZP,{...f}),(0,o.jsx)(k.Z,{of:16}),(0,o.jsx)(C.ZP,{type:"submit",loading:h,children:x?s.planningFeedbackSendButton:s.cancel})]}),!Z&&j&&(0,o.jsx)(C.ZP,{variant:"GHOST",onClick:()=>u(!0),children:s.planningFeedbackEditButton})]}):null},z=t(30014);function G(n){let{planning:e}=n,{showPlanningFeedback:t}=M({planning:e});
1return t?(0,o.jsx)(z.xu,{children:(0,o.jsx)(B,{inline:!0,planning:e,style:{margin:0}})}):null}var V=t(56366),$=t(28297),H=t(27723),W=t(31146);let Y=(0,Z.ZP)(W.Z).withConfig({displayName:"style__Wrapper",componentId:"sc-be72c9a1-0"})(["margin-bottom:8px;@media screen and (min-width:","px){margin-bottom:0;display:grid;grid-template-rows:",';grid-template-columns:639fr 381fr;grid-template-areas:"banner infos" ',";}"],n=>{let{theme:e}=n;return e.breakPoints.sm},n=>{let{withButtons:e}=n;return e?"280px 79px":"359px"},n=>{let{withButtons:e}=n;return e?'"banner buttons"':null}),Q=Z.ZP.div.withConfig({displayName:"style__BannerOrVideo",componentId:"sc-be72c9a1-1"})(["grid-area:banner;"]),K=Z.ZP.div.withConfig({displayName:"style__Infos",componentId:"sc-be72c9a1-2"})(["grid-area:infos;"]),X=Z.ZP.div.withConfig({displayName:"style__ScrollableBoxInner",componentId:"sc-be72c9a1-3"})(["padding:12px 24px 24px 24px;"]),q=Z.ZP.div.withConfig({displayName:"style__InfosList",componentId:"sc-be72c9a1-4"})(["display:grid;grid-gap:12px;grid-template-columns:1fr;align-items:center;"]),J=(0,Z.ZP)($.ZP).withConfig({displayName:"style__ItemWithIcon",componentId:"sc-be72c9a1-5"})(["margin-bottom:0px;"]),nn=Z.ZP.div.withConfig({displayName:"style__Buttons",componentId:"sc-be72c9a1-6"})(["grid-area:buttons;padding:0 16px 16px;display:grid;grid-gap:16px;width:calc(100% - 32px);grid-template-columns:",";@media screen and (min-width:","px){padding:16px;border-top:1px solid ",";}"],n=>{let{count:e}=n;return e>1?"1fr repeat(".concat(e-1,", 46px)"):"1fr"},n=>{let{theme:e}=n;return e.breakPoints.sm},n=>{let{theme:e}=n;return e.colors.outline.base}),ne=Z.ZP.div.withConfig({displayName:"style__Discussion",componentId:"sc-be72c9a1-7"})(["display:flex;flex-direction:column;height:100vh;"]),nt=(0,Z.ZP)(P.Z).withConfig({displayName:"style__DiscussionTitle",componentId:"sc-be72c9a1-8"})(["margin:24px 16px;color:",";"],n=>{let{theme:{colors:e}}=n;return e.text.base}),ni=(0,Z.ZP)(C.ZP).attrs({variant:"GHOST"}).withConfig({displayName:"style__Fullscreen",componentId:"sc-be72c9a1-9"})(["",""],n=>{let{theme:{dir:e}}=n;return"ltr"===e?"margin-left:16px;":"margin-right:16px;"}),na=Z.ZP.div.withConfig({displayName:"style__BannerWrapper",componentId:"sc-be72c9a1-10"})(["position:relative;height:100%;overflow:hidden;"]),nl=(0,Z.ZP)(C.ZP).withConfig({displayName:"style__ButtonBlock",componentId:"sc-be72c9a1-11"})(["width:100%;"]);var nr=t(6295),no=t(65251),nd=t(4483),ns=t(66519),nc=t(62234),nu=t(29017),nm=t(66273),np=t(40344),nh=t(163),ng=t(10758),nv=t(51080),nf=t(57970),nx=t(8923),nb=t(3238),nj=t(54372),n_=t(53577);function nP(){let n=(0,i._)(["\n fragment PlanningDetails_HeadInformationFragment on Core_Planning {\n id\n maxSeats\n beginsAt(format: ISO8601)\n endsAt(format: ISO8601)\n place\n type\n categories {\n id: _id\n name\n }\n remainingSeats\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n userAgendaConflicts {\n ... on Core_Meeting {\n id\n ...MeetingCoreFragment\n }\n ... on Core_Planning {\n id\n ...PlanningCardFragment\n }\n }\n }\n }\n ","\n ","\n"]);return nP=function(){return n},n}let nC=(0,Z.ZP)(nj.k).withConfig({displayName:"information-list__StyledSeatsIndicator",componentId:"sc-953a8ce1-0"})(["margin-bottom:0px;"]),nw=Z.ZP.div.withConfig({displayName:"information-list__Time",componentId:"sc-953a8ce1-1"})(["font-weight:400;"]),ny=(0,a.Ps)(nP(),l.hQ,r.xZ);function nI(n){var e,t,i;let{planning:a,extraInfo:l,streamTimeInfo:r,skipPlanningTime:s,customLocationNode:c,renderMyScheduleRedirection:u}=n,m=(0,E.T_)(),{colors:p,breakPoints:h}=(0,nc.Fg)(),v=(0,g.Fz)(),{timezone:f}=(0,g.gi)(),x=(0,np.Z)(),[b,j]=(0,d.useState)(!1),_=(0,nb.ZP)({minWidth:h.xs}),{beginsAt:P,endsAt:w}=a,y=(0,nm.w)(P,w),I=(0,nu.g9)({startDate:P,endDate:w,language:x,skipSeconds:!0}),k=!!(null==a?void 0:null===(t=a.withEvent)||void 0===t?void 0:null===(e=t.userAgendaConflicts)||void 0===e?void 0:e.length);return(0,o.jsxs)(q,{children:[(0,o.jsx)(nC,{remainingSeats:a.remainingSeats,hasMaxSeats:null!==a.maxSeats}),!s&&(0,o.jsxs)(J,{color:k?p.danger.base:p.surface.on,icon:(0,o.jsx)(nh.Z,{}),children:[(0,o.jsx)(nw,{children:"".concat(m.sessionCardFullRange({beginsAt:v(P,"LLLL"),endsAt:v(w,y)})," \xb7 ").concat(I," (").concat(f,")")}),k&&(0,o.jsx)(C.ZP,{variant:"LINK",size:"SMALL",onClick:n=>{n.preventDefault(),j(!0)},children:m.viewTimeConflicts})]}),r&&(0,o.jsx)(J,{color:p.surface.on,icon:(0,o.jsx)(ng.Z,{}),children:(0,o.jsx)(nw,{children:r})}),b&&(0,o.jsx)(nx.ZP,{padding:_?"40px":"16px",fullScreen:!1,onClose:()=>j(!1),onClick:n=>{n.preventDefault(),n.stopPropagation()},children:(0,o.jsx)(n_.Z,{overlapAgenda:(null==a?void 0:null===(i=a.withEvent)||void 0===i?void 0:i.userAgendaConflicts)||[],buttons:(0,o.jsxs)(o.Fragment,{children:[u((0,o.jsx)(C.ZP,{variant:"GHOST",as:"span",children:m.goToSchedule})),(0,o.jsx)(C.ZP,{onClick:n=>{n.preventDefault(),j(!1)},children:m.gotIt})]})})}),c||a.place&&(0,o.jsx)(J,{color:p.surface.on,icon:(0,o.jsx)(nv.Z,{}),children:a.place}),a.type&&(0,o.jsx)(J,{color:p.surface.on,icon:(0,o.jsx)(nf.Z,{}),children:a.type}),a.categories.length>0&&(0,o.jsx)(ns.YP,{children:a.categories.map((n,e)=>{let{name:t}=n;return(0,o.jsx)(ns.ZP,{children:t},e)})}),l]})}var nk=t(57541),nE=t(59033),nZ=t(90340),nA=t(78399),nF=function(n){return(0,o.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",...n,children:[(0,o.jsx)("path",{d:"M5 8V5h3v3H5z",fill:"
1currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4a2 2 0 012-2h5a2 2 0 012 2v5a2 2 0 01-2 2H4a2 2 0 01-2-2V4zm2 0h5v5H4V4z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M5 16v3h3v-3H5z",fill:"currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 15a2 2 0 012-2h5a2 2 0 012 2v5a2 2 0 01-2 2H4a2 2 0 01-2-2v-5zm2 0h5v5H4v-5z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M16 5v3h3V5h-3z",fill:"currentColor"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 4a2 2 0 012-2h5a2 2 0 012 2v5a2 2 0 01-2 2h-5a2 2 0 01-2-2V4zm2 0h5v5h-5V4z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M13 21a1 1 0 011-1h7a1 1 0 110 2h-7a1 1 0 01-1-1zM15 14a1 1 0 10-2 0v3a2 2 0 002 2h1a2 2 0 002-2v-2h2v3a1 1 0 102 0v-3a2 2 0 00-2-2h-2a2 2 0 00-2 2v2h-1v-3z",fill:"currentColor"})]})},nN=t(64827),nD=t(27358),nS=t(25464),nL=t(15014);t(54878),t(48147),t(20540);var nU=t(73531);(0,Z.ZP)(nU.ZP).withConfig({displayName:"popover__ExportList",componentId:"sc-da3f269f-0"})(["max-width:300px;"]),Z.ZP.span.withConfig({displayName:"popover__PopoverLabel",componentId:"sc-da3f269f-1"})(["font-size:12px;font-weight:600;color:",";cursor:pointer;display:flex;align-content:center;"],n=>{let{theme:{colors:e}}=n;return e.tertiary.base});var nR=t(9496),nO=t(49391),nT=t(90213);let nM=Z.ZP.div.withConfig({displayName:"title-with-menu__TitleWrapper",componentId:"sc-70585a20-0"})(["display:flex;"]),nB=(0,Z.ZP)(nD.Z).withConfig({displayName:"title-with-menu__Title",componentId:"sc-70585a20-1"})(["display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:flex-start;flex:1;margin-bottom:",";color:",";"],n=>{let{theme:e}=n;return e.spacing[4]},n=>{let{theme:{colors:e}}=n;return e.text.base});var nz=function(n){let{planningId:e,exportToCalendarProps:t,renderFullscreenDetailsLink:i,children:a,originId:l,contextMenuProps:r}=n,[s,c]=(0,d.useState)(!1),u=(0,E.T_)(),{isLoggedIn:m}=(0,nL.aC)();(0,nR.m)();let{openModal:p,closeModal:h,isOpen:g}=(0,nO.mI)(),{availableCalendars:v,isCalendarSynced:f}=(0,nT.ZP)({includeMuted:!0,skip:!m,originId:l}),x=m&&!f&&!!t,b=!!i||x,j=!!i&&x,_=!f&&v.length>0;return(0,o.jsxs)(nM,{children:[(0,o.jsx)(nB,{level:"h1",children:a}),b&&(0,o.jsxs)(nA.ZP,{position:"left",open:s,onClickOutside:()=>c(!1),onClick:()=>c(n=>!n),"aria-label":u.showActions,...r,children:[null==i?void 0:i((0,o.jsx)(nA.Zo,{icon:(0,o.jsx)(nF,{}),onClick:()=>c(!1),children:u.displaySessionQrCode}),e),_&&(0,o.jsx)(nA.Zo,{icon:(0,o.jsx)(nS.Z,{}),onClick:()=>{c(!1),p()},children:u.connectGoogleCalendar}),j&&(0,o.jsx)(nN.Z,{}),x&&(0,o.jsx)(nU.ZP,{event:t,header:u.exportToCalendar,filename:t.name,handleClick:()=>c(!1)})]}),g&&(0,o.jsx)(nO.qj,{comingFromPage:"session-details-context-menu",onClose:h})]})};function nG(){let n=(0,i._)(["\n fragment PlanningDetails_PhysicalHeadFragment on Core_Planning {\n id\n bannerUrl\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n bookmark {\n isBookmarked\n }\n }\n title @skip(if: $withEvent)\n ...PlanningBookmarkFragment\n ...PlanningDetails_HeadInformationFragment\n }\n ","\n ","\n"]);return nG=function(){return n},n}let nV=(0,a.Ps)(nG(),nk.Cs,ny);function n$(n){var e;let{planning:t,bannerUrl:i,publicChannel:a,withBookmarkButton:l,bookmarkButtonProps:r,renderPublicChannel:d=n=>n,renderFullscreenDetailsLink:s,renderMyScheduleRedirection:c,sessionExportDetails:m,customLocationNode:p,withActions:h}=n,g=(0,no.T_)(),{isMobileView:v}=(0,nE.f)(),f=v&&a,x=[f,l].filter(Boolean).length,{title:b}=t.withEvent?t.withEvent:t,j=u()().isBefore(t.beginsAt)&&h?{name:b||"",location:t.place,startsAt:t.beginsAt,endsAt:t.endsAt,details:m}:void 0;return(0,o.jsxs)(Y,{withButtons:x>0,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(na,{children:(0,o.jsx)(nZ.Z,{src:i,alt:b})})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsx)(nz,{planningId:t.id,renderFullscreenDetailsLink:s,exportToCalendarProps:j,children:b}),(0,o.jsx)(nI,{planning:t,customLocationNode:p,renderMyScheduleRedirection:c})]})})}),x>0&&(0,o.jsxs)(nn,{count:x,children:[f&&a&&d((0,o.jsx)(nl,{size:"LARGE",icon:(0,o.jsx)(nd.Z,{}),children:null!==(e=a.channel.translatedName)&&void 0!==e?e:g.liveDiscussion}),a),l&&(0,o.jsx)(nk.d2,{planning:t,withLabel:!f,...r})]})]})}var nH=t(55088),nW=t(48239),nY=t(97554);function nQ(){let n=(0,i._)(["\n fragment PlanningDetails_FullScreenRightContentFragment on Core_Planning {\n id\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n roundtable {\n id\n canModerate\n }\n bookmark {\n isBookmarked\n }\n }\n title @skip(if: $withEvent)\n userSpeaker {\n id\n }\n }\n"]);return nQ=function(){return n},n}let nK=(0,a.Ps)(nQ());function nX(n){let{planning:e,eventId:t,hasPublicChannel:i}=n,{userId:a,adminUserId:l}=(0,v.II)();return(0,d.useCallback)(()=>{var n,r,d,s,c,u;return i&&(null===(n=e.withEvent)||void 0===n||!n.roundtable||(null===(d=e.withEvent)||void 0===d?void 0:null===(r=d.bookmark)||void 0===r?void 0:r.isBookmarked)||e.userSpeaker||(null===(s=e.withEvent)||void 0===s?void 0:s.roundtable.canModerate))?(0,o.jsx)(v.w7,{value:{userId:a,adminUserId:l},children:(0,o.jsxs)(ne,{children:[(0,o.jsx)(nt,{children:(0,o.jsx)(nW.Z,{lines:2,children:null!==(u=null===(c=e.withEvent)||void 0===c?void 0:c.title)&&void 0!==u?u:e.title})}),(0,o.jsx)(nY.Z,{planningId:e.id,eventId:t,height:"100%",withoutBorder:!0,fullscreen:!0})]})}):null},[i,a,l,e.title,e.id,t,e.withEvent,e.userSpeaker])}var nq=t(6860);let nJ=Z.ZP.div.withConfig({displayName:"style__Video",componentId:"sc-d797d621-0"})(["padding-top:56.25%;"]),n0=Z.ZP.div.withConfig({displayName:"style__BannerWrapper",componentId:"sc-d797d621-1"})(["position:relative;height:100%;overflow:hidden;"]),n1=Z.ZP.div.withConfig({displayName:"style__CountdownGradient",componentId:"sc-d797d621-2"})(["z-index:2;position:absolute;bottom:0;left:0;height:95px;width:100%;background:linear-gradient( 0deg,rgba(0,0,0,0.64) 0%,rgba(0,0,0,0) 100% );border-radius:",";"],n=>{let{theme:{dir:e,radius:t}}=n;return"ltr"===e?"".concat(t.min," ").concat(t.min," ").concat(t.min," ").concat(t.sm):"".concat(t.min," ").concat(t.min," ").concat(t.sm," ").concat(t.min)}),n2=Z.ZP.div.withConfig({displayName:"style__CountdownWrapper",componentId:"sc-d797d621-3"})(["position:absolute;bottom:16px;left:50%;transform:translateX(-50%);"]);function n4(){let n=(0,i._)(["\n fragment OnDemandFragment on Core_OnDemandComponent {\n id\n availableAt\n availableUntil\n video {\n __typename\n ... on Core_YoutubeEmbeddedVideo {\n videoId\n }\n ... on Core_VimeoEmbeddedVideo {\n videoId\n }\n ... on Core_IframeEmbeddedVideo {\n iframeSource\n }\n ... on Core_UploadedFileEmbeddedVideo {\n playback {\n url\n }\n }\n }\n }\n"]);return n4=function(){return n},n}function n6(n,e){return u()(n(u()().format())).isBefore(n(e))}function n5(n){let{availableAt:e,availableUntil:t,formatDate:i}=n;return n6(i,e)?"UPCOMING":!t||n6(i,t)?"ONGOING":"ENDED"}let n3=(0,a.Ps)(n4());function n7(n){let{onDemand:e,title:t="",bannerUrl:i="",status:a,setStatus:l,videoData:r}=n,d=(0,E.T_)(),s=(0,g.Fz)(),{timeToGo:c}=(0,nq.a)({date:s(e.availableAt),onEnd:()=>l("ONGOING")});return r&&"ONGOING"===a?(0,o.jsx)(nJ,{id:"video-placeholder","aria-label":"video"}):(0,o.jsxs)(n0,{children:[(0,o.jsx)(nZ.Z,{src:i,alt:t}),"UPCOMING"===a&&u()(s(u()().format())).isAfter(s(u()(e.availableAt).subtract(24,"h").format()))&&c>0&&(0,o.jsx)(n1,{children:(0,o.jsx)(n2,{children:(0,o.jsx)(nq.Z,{role:"timer",label:d.startingIn,timeToGo:c})})})]})}function n8(){let n=(0,i._)(["\n fragment PlanningDetails_OnDemandHeadFragment on Core_Planning {\n id\n bannerUrl\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n bookmark {\n isBookmarked\n }\n onDemand {\n ...OnDemandFragment\n }\n }\n title @skip(if: $withEvent)\n onDemand @skip(if: $withEvent) {\n ...OnDemandFragment\n }\n ...PlanningBookmarkFragment\n ...PlanningDetails_HeadInformationFragment\n ...PlanningDetails_FullScreenRightContentFragment\n }\n ","\n ","\n ","\n ","\n"]);return n8=function(){return n},n}let n9=(0,a.Ps)(n8(),n3,nk.Cs,ny,nK);function en(n){var e;let{onDemand:t}=null!==(e=n.planning.withEvent)&&void 0!==e?e:n.planning;return t?(0,o.jsx)(ee,{...n,onDemand:t}):(0,o.jsx)(et,{...n})}function ee(n){var e;let{onDemand:t,planning:i,eventId:a,bannerUrl:l,onInterval:r,publicChannel:s,notifyStopVideo:c,notifyStartVideo:m,withBookmarkButton:p,bookmarkButtonProps:v,renderPublicChannel:f,renderVideoRedirection:x,renderFullscreenDetailsLink:b,renderMyScheduleRedirection:j,sessionExportDetails:_,customLocationNode:P,withActions:C}=n,w=(0,E.T_)(),y=(0,no.T_)(),{isMobileView:I}=(0,nE.f)(),{title:k}=i.withEvent?i.withEvent:i,Z=nX({planning:i,eventId:a,hasPublicChannel:!!s}),A=function(n){let{externalKey:e="ondemand",onDemand:t,title:i="",notifyStartVideo:a,notifyStopVideo:l,renderVideoRedirection:r,rightContentOnFullScreen:o,rounded:s,onInterval:c}=n,{setData:u,setFullscreen:m}=(0,h.R)(),p=(0,g.Fz)(),[v,f]=(0,d.useState)(n5({availableAt:t.availableAt,availableUntil:t.availableUntil,formatDate:p})),x=(0,d.useRef)(v);x.current=v;let b=(0,d.useMemo)(()=>{switch(t.video.__typename){case"Core_YoutubeEmbeddedVideo":return{kind:"YOUTUBE",data:{id:t.video.videoId,endsAt:t.availableUntil&&p(t.availableUntil)}};case"Core_VimeoEmbeddedVideo":return{kind:"VIMEO",data:{id:t.video.videoId,endsAt:t.availableUntil&&p(t.availableUntil)}};case"Core_IframeEmbeddedVideo":return{kind:"IFRAME",data:{src:t.video.iframeSource,endsAt:t.availableUntil&&p(t.availableUntil)}};case"Core_UploadedFileEmbeddedVideo":var n,e;if(!(null===(e=t.video)||void 0===e?void 0:null===(n=e.playback)||void 0===n?void 0:n.url))return null;return{kind:"SWAPCARD_PLAYER",data:{src:t.video.playback.url,endsAt:t.availableUntil&&p(t.availableUntil)},uiOptions:{withSubtitles:!0,withSettings:{withQualitySelection:!0,withPlaybackSpeed:!0,withCaptionsControls:!0}}};default:return null}}
1,[t,p]);return(0,d.useEffect)(()=>{u&&b&&"ONGOING"===v&&u({externalKey:e,videoData:b,onPlay:()=>a&&a(),onPause:()=>l&&l(),onEnd:()=>{b.data.endsAt&&f("ENDED"),l&&l()},onClose:()=>l&&l(),onInterval:c,rounded:s,redirectionLabel:i,renderRedirection:r,rightContentOnFullScreen:o&&o()})},[e,u,b,a,l,v,s,i,r,o,c]),(0,d.useEffect)(()=>{let n=n5({availableAt:t.availableAt,availableUntil:t.availableUntil,formatDate:p});n!==x.current&&(f(n),"ONGOING"!==n&&u&&u())},[t.availableAt,t.availableUntil,p,u]),{onDemand:t,title:i,status:v,setStatus:f,setFullscreen:m,videoData:b}}({onDemand:t,onInterval:r,notifyStopVideo:c,notifyStartVideo:m,title:k,renderVideoRedirection:x,externalKey:i.id,rightContentOnFullScreen:Z,rounded:I?void 0:"LEFT"}),F="ONGOING"===A.status&&!I,N=I&&s,D=[F||N,p].filter(Boolean).length,S=u()().isBefore(i.beginsAt)&&C?{name:k||"",location:i.place,startsAt:i.beginsAt,endsAt:i.endsAt,details:_}:void 0;return(0,o.jsxs)(Y,{withButtons:D>0,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(n7,{...A,bannerUrl:l})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsxs)(nz,{planningId:i.id,renderFullscreenDetailsLink:b,exportToCalendarProps:S,children:[k,A.videoData&&"ONGOING"===A.status&&I&&(0,o.jsx)(ni,{icon:(0,o.jsx)(nH.Z,{}),"aria-label":w.fullscreen,onClick:()=>A.setFullscreen&&A.setFullscreen(!0)})]}),(0,o.jsx)(nI,{planning:i,skipPlanningTime:!0,customLocationNode:P,renderMyScheduleRedirection:j})]})})}),D>0&&(0,o.jsxs)(nn,{count:D,children:[F&&(0,o.jsx)(nl,{"aria-label":w.fullscreen,size:"LARGE",icon:(0,o.jsx)(nH.Z,{}),onClick:()=>A.setFullscreen&&A.setFullscreen(!0),children:w.fullscreen}),N&&s&&f((0,o.jsx)(nl,{size:"LARGE",icon:(0,o.jsx)(nd.Z,{}),variant:F?"FILLED_TONAL":"FILLED",children:null!==(e=s.channel.translatedName)&&void 0!==e?e:y.liveDiscussion}),s),p&&(0,o.jsx)(nk.d2,{planning:i,withLabel:!N&&!F,...v})]})]})}function et(n){let{planning:e,bannerUrl:t,withActions:i,customLocationNode:a,withBookmarkButton:l=!1,bookmarkButtonProps:r,sessionExportDetails:d,renderFullscreenDetailsLink:s,renderMyScheduleRedirection:c}=n,{title:m}=e.withEvent?e.withEvent:e,p=u()().isBefore(e.beginsAt)&&i?{name:m||"",location:e.place,startsAt:e.beginsAt,endsAt:e.endsAt,details:d}:void 0;return(0,o.jsxs)(Y,{withButtons:l,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(nZ.Z,{src:t,alt:m})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsx)(nz,{planningId:e.id,renderFullscreenDetailsLink:s,exportToCalendarProps:p,children:m}),(0,o.jsx)(nI,{planning:e,skipPlanningTime:!0,customLocationNode:a,renderMyScheduleRedirection:c})]})})}),l&&(0,o.jsx)(nn,{count:1,children:(0,o.jsx)(nk.d2,{planning:e,withLabel:!0,...r})})]})}var ei=t(5580),ea=t(31818),el=t(63941),er=t(45128);function eo(){let n=(0,i._)(["\n fragment PlanningDetails_RoundTableHeadFragment on Core_Planning {\n id\n bannerUrl\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n bookmark {\n isBookmarked\n }\n roundtable {\n ...RoundtableFragment\n }\n }\n title @skip(if: $withEvent)\n roundtable @skip(if: $withEvent) {\n ...RoundtableFragment\n }\n ...PlanningBookmarkFragment\n ...PlanningDetails_HeadInformationFragment\n ...PlanningDetails_FullScreenRightContentFragment\n }\n ","\n ","\n ","\n ","\n"]);return eo=function(){return n},n}let ed=(0,a.Ps)(eo(),er.zF,nk.Cs,ny,nK);function es(n){var e;let t=(null===(e=n.planning.withEvent)||void 0===e?void 0:e.roundtable)||n.planning.roundtable;return t?(0,o.jsx)(ec,{...n,roundtable:t}):null}function ec(n){var e,t,i,a,l,r;let{planning:d,eventId:s,bannerUrl:c,roundtable:m,onInterval:p,onBeforeJoin:h,publicChannel:v,notifyStopVideo:f,notifyStartVideo:x,withBookmarkButton:b,bookmarkButtonProps:j,renderPublicChannel:_,renderViewProfileLink:P,renderVideoRedirection:C,renderFullscreenDetailsLink:w,renderMyScheduleRedirection:y,sessionExportDetails:I,customLocationNode:k,withActions:Z}=n,A=(0,E.T_)(),{colors:F}=(0,nc.Fg)(),N=(0,no.T_)(),{isMobileView:D}=(0,nE.f)(),S=(0,g.Fz)(),{title:L}=d.withEvent?d.withEvent:d,U=nX({planning:d,eventId:s,hasPublicChannel:!!v}),R=(0,er.Cq)({roundtable:m,onInterval:p,onBeforeJoin:h,notifyStopVideo:f,notifyStartVideo:x,title:L,renderViewProfileLink:P,renderVideoRedirection:C,externalKey:d.id,rightContentOnFullScreen:U,rounded:D?void 0:"LEFT"}),O=(m.canModerate||"ONGOING"===R.status&&(m.canJoin||(null===(t=d.withEvent)||void 0===t?void 0:null===(e=t.bookmark)||void 0===e?void 0:e.isBookmarked)))&&!R.joined,T=!O&&(R.joined||R.videoData)&&
1!D,M=D&&v&&((null===(a=d.withEvent)||void 0===a?void 0:null===(i=a.bookmark)||void 0===i?void 0:i.isBookmarked)||d.userSpeaker),B=b&&(!D&&m.canModerate||!O),z=[T||M||O,B].filter(Boolean).length,G=u()().isBefore(d.beginsAt)&&Z?{name:L||"",location:d.place,startsAt:d.beginsAt,endsAt:d.endsAt,details:I}:void 0;return(0,o.jsxs)(Y,{withButtons:z>0,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(er.ZP,{...R,bannerUrl:c,showParticipantsOnBanner:!!(O&&(null===(l=m.participants)||void 0===l?void 0:l.totalCount)&&!R.isKickedOut),isMobileView:D})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsxs)(nz,{planningId:d.id,renderFullscreenDetailsLink:w,exportToCalendarProps:G,children:[L,R.videoData&&"ONGOING"===R.status&&D&&(0,o.jsx)(ni,{icon:(0,o.jsx)(nH.Z,{}),"aria-label":A.fullscreen,onClick:()=>R.setFullscreen&&R.setFullscreen(!0)})]}),(0,o.jsx)(nI,{planning:d,customLocationNode:k,renderMyScheduleRedirection:y,streamTimeInfo:m.availableAt&&A.roundtableWillStart({beginsAt:S(m.availableAt,"LLLL"),endsAt:m.availableUntil?S(m.availableUntil,"LT"):""}),extraInfo:"ENDED"===R.status?(0,o.jsx)(J,{color:F.danger.base,icon:(0,o.jsx)(el.Z,{}),children:A.roundtableFinished}):void 0})]})})}),z>0&&(0,o.jsxs)(nn,{count:z,children:[O&&(0,o.jsx)(nl,{"aria-label":A.join,size:"LARGE",icon:m.audioOnly?(0,o.jsx)(ea.Z,{}):(0,o.jsx)(ei.Z,{}),onClick:()=>{R.setIsKickedOut(!1),R.join({roomId:d.id})},loading:R.joinRoundtableLoading,children:A.join}),T&&(0,o.jsx)(nl,{"aria-label":A.fullscreen,size:"LARGE",icon:(0,o.jsx)(nH.Z,{}),onClick:()=>R.setFullscreen&&R.setFullscreen(!0),children:A.fullscreen}),M&&v&&_((0,o.jsx)(nl,{size:"LARGE",icon:(0,o.jsx)(nd.Z,{}),variant:T||O?"FILLED_TONAL":"FILLED",children:null!==(r=v.channel.translatedName)&&void 0!==r?r:N.liveDiscussion}),v),B&&(0,o.jsx)(nk.d2,{planning:d,withLabel:!M&&!T&&!O,...j})]})]})}var eu=t(47791),em=t(52021);function ep(n){let{planningId:e,onPlanningUpdate:t,onOnDemandUpdate:i,onRoundtableUpdate:a,onLiveStreamUpdate:l,onPreRecordedUpdate:r,onReaction:o,enabled:s=!0}=n,c=(0,eu.$)(),u=(0,d.useCallback)(n=>{c({id:n,type:"subscribe_planning",payload:{planning_id:e}})},[c,e]);(0,em.m)({subscriber:u,enabled:s,onMessage:n=>{"data"===n.type&&"type"in n.payload&&("planning_update"===n.payload.type&&("begins_at"in n.payload||"ends_at"in n.payload)&&(null==t||t({beginsAt:n.payload.begins_at,endsAt:n.payload.ends_at})),"on_demand_update"===n.payload.type&&("available_at"in n.payload||"available_until"in n.payload)&&(null==i||i({availableAt:n.payload.available_at,availableUntil:n.payload.available_until})),"roundtable_update"===n.payload.type&&("available_at"in n.payload||"available_until"in n.payload)&&(null==a||a({availableAt:n.payload.available_at,availableUntil:n.payload.available_until})),"live_stream_update"===n.payload.type&&("available_at"in n.payload||"available_until"in n.payload)&&(null==l||l({availableAt:n.payload.available_at,availableUntil:n.payload.available_until})),"pre_recorded_update"===n.payload.type&&("available_at"in n.payload||"available_until"in n.payload)&&(null==r||r({availableAt:n.payload.available_at,availableUntil:n.payload.available_until})),"planning_reaction"===n.payload.type&&(null==o||o({emoji:n.payload.emoji,initial:n.payload.initial})))}})}var eh=t(82682),eg=t(10199);function ev(){let n=(0,i._)(["\n query LiveReactionsMeQuery {\n user: Core_selfUserV2 {\n id\n firstName\n lastName\n }\n }\n"]);return ev=function(){return n},n}let ef=(0,a.Ps)(ev()),ex=Z.ZP.div.withConfig({displayName:"style__Video",componentId:"sc-d797d621-0"})(["padding-top:56.25%;"]),eb=Z.ZP.div.withConfig({displayName:"style__BannerWrapper",componentId:"sc-d797d621-1"})(["position:relative;height:100%;overflow:hidden;"]),ej=Z.ZP.div.withConfig({displayName:"style__CountdownGradient",componentId:"sc-d797d621-2"})(["z-index:2;position:absolute;bottom:0;left:0;height:95px;width:100%;background:linear-gradient( 0deg,rgba(0,0,0,0.64) 0%,rgba(0,0,0,0) 100% );border-radius:",";"],n=>{let{theme:{dir:e,radius:t}}=n;return"ltr"===e?"".concat(t.min," ").concat(t.min," ").concat(t.min," ").concat(t.sm):"".concat(t.min," ").concat(t.min," ").concat(t.sm," ").concat(t.min)}),e_=Z.ZP.div.withConfig({displayName:"style__CountdownWrapper",componentId:"sc-d797d621-3"})(["position:absolute;bottom:16px;left:50%;transform:translateX(-50%);"]);var eP=t(83106);let eC=(0,A.F4)(["0%{opacity:1;transform:translateY(0) scale(1);}60%{opacity:0.8;transform:translateY(-15vh) scale(1.05);}100%{opacity:0;transform:translateY(-25vh) scale(0.9);}"]),ew=Z.ZP.div.withConfig({displayName:"style__ReactionOverlay",componentId:"sc-7ad4978-0"})(["position:absolute;inset:0;pointer-events:none;z-index:3;overflow:hidden;"]),ey=Z.ZP.div.withConfig({displayName:"style__FloatingEmoji",componentId:"sc-7ad4978-1"})(["position:absolute;bottom:80px;left:","%;display:flex;flex-direction:column;align-items:center;font-size:32px;animation:"," 2s ease-out forwards;pointer-events:none;user-select:none;"],n=>{let{$x:e}=n;return e},eC),eI=Z.ZP.span.withConfig({displayName:"style__Initials",componentId:"sc-7ad4978-2"})(["font-size:11px;font-weight:",";color:",";background:",";border-radius:",";padding:1px 5px;margin-top:2px;white-space:nowrap;"],n=>{let{theme:e}=n;return e.fontWeight.semibold},n=>{let{theme:e}=n;return e.palette.white},n=>{let{theme:e}=n;return(0,eP.Z)(e.palette.black,.5)},n=>{let{theme:e}=n;return e.radius.md}),ek=Z.ZP.div.withConfig({displayName:"style__TriggerBar",componentId:"sc-7ad4978-3"})(["position:absolute;bottom:56px;left:50%;transform:translateX(-50%);display:flex;gap:",";background:",";border-radius:",";padding:",";pointer-events:",";
1opacity:",";z-index:3;transition:opacity 0.2s ease-out,bottom 0.2s ease-out;"],n=>{let{theme:e}=n;return e.spacing[2]},n=>{let{theme:e}=n;return(0,eP.Z)(e.palette.black,.6)},n=>{let{theme:e}=n;return e.radius.lg},n=>{let{theme:e}=n;return"".concat(e.spacing[2]," ").concat(e.spacing[4])},n=>{let{$visible:e}=n;return e?"auto":"none"},n=>{let{$visible:e}=n;return e?1:0}),eE=Z.ZP.button.withConfig({displayName:"style__EmojiButton",componentId:"sc-7ad4978-4"})(["background:transparent;border:none;cursor:pointer;font-size:24px;padding:",";border-radius:",";transition:transform 0.15s ease-out;line-height:1;&:hover{transform:scale(1.3);}"],n=>{let{theme:e}=n;return e.spacing[1]},n=>{let{theme:e}=n;return e.radius.max}),eZ=["\uD83D\uDC4D","\uD83D\uDC4F","\uD83D\uDC9A","\uD83D\uDD25","\uD83D\uDE02","\uD83C\uDF89"];function eA(n){let{minimized:e,lastReaction:t,sendReaction:i}=n,[a,l]=(0,d.useState)([]),[r,s]=(0,d.useState)(!1),c=(0,d.useRef)(null),u=(0,d.useRef)(0);(0,d.useEffect)(()=>{var n;let e=null===(n=c.current)||void 0===n?void 0:n.parentElement;if(!e)return;let t=()=>s(!0),i=()=>s(!1);return e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",i),()=>{e.removeEventListener("mouseenter",t),e.removeEventListener("mouseleave",i)}},[]),(0,d.useEffect)(()=>{if(!t)return;u.current+=1;let n={id:"reaction-".concat(u.current,"-").concat(Date.now()),emoji:t.emoji,initial:t.initial,x:2+20*Math.random()};l(e=>{let t=[...e,n];return t.length>30?t.slice(-30):t})},[t]);let m=(0,d.useCallback)(n=>{l(e=>e.filter(e=>e.id!==n))},[]),p=(0,d.useCallback)(n=>{null==i||i(n)},[i]);return(0,o.jsxs)(ew,{ref:c,children:[a.map(n=>(0,o.jsxs)(ey,{$x:n.x,onAnimationEnd:()=>m(n.id),children:[n.emoji,n.initial&&(0,o.jsx)(eI,{children:n.initial})]},n.id)),!e&&(0,o.jsx)(ek,{$visible:r,children:eZ.map(n=>(0,o.jsx)(eE,{type:"button",onClick:()=>p(n),children:n},n))})]})}function eF(){let n=(0,i._)(["\n fragment LiveStreamFragment on Core_LiveStreamComponent {\n id\n availableAt\n availableUntil\n stream {\n __typename\n ... on Core_YoutubeEmbeddedVideo {\n videoId\n }\n ... on Core_VimeoEmbeddedVideo {\n videoId\n }\n ... on Core_IframeEmbeddedVideo {\n iframeSource\n }\n ... on Core_RTMPLiveStreamVideo {\n playback {\n url\n }\n }\n }\n }\n"]);return eF=function(){return n},n}let eN=(0,a.Ps)(eF());function eD(n,e){return u()(n(u()().format())).isBefore(n(e))}function eS(n){let{availableAt:e,availableUntil:t,formatDate:i}=n;return eD(i,e)?"UPCOMING":!t||eD(i,t)?"ONGOING":"ENDED"}function eL(n){let{liveStream:e,title:t="",bannerUrl:i="",status:a,setStatus:l,videoData:r}=n,d=(0,E.T_)(),s=(0,g.Fz)(),{timeToGo:c}=(0,nq.a)({date:s(e.availableAt),onEnd:()=>l("ONGOING")});return r&&"ONGOING"===a?(0,o.jsx)(ex,{id:"video-placeholder","aria-label":"video"}):(0,o.jsxs)(eb,{children:[(0,o.jsx)(nZ.Z,{src:i,alt:t}),"UPCOMING"===a&&u()(s(u()().format())).isAfter(s(u()(e.availableAt).subtract(24,"h").format()))&&c>0&&(0,o.jsx)(ej,{children:(0,o.jsx)(e_,{children:(0,o.jsx)(nq.Z,{role:"timer",label:d.startingIn,timeToGo:c})})})]})}var eU=t(97670);let eR=(0,Z.ZP)(eU.ZP).withConfig({displayName:"backstage-speaker-banner__Alert",componentId:"sc-159cd68e-0"})(["box-sizing:border-box;margin:"," 0;width:100%;@media screen and (min-width:","px){margin-top:0;}"],n=>{let{theme:e}=n;return e.spacing[4]},n=>{let{theme:e}=n;return e.breakPoints.sm});var eO=function(n){let{backstageLink:e}=n,t=(0,E.T_)();return(0,o.jsxs)(eR,{severity:"WARNING",withIcon:!1,action:(0,o.jsx)(eU.T2,{href:e,target:"_blank",rel:"noopener",as:"a",children:t.goToBackstageAction}),children:[(0,o.jsx)(eU.Cd,{children:t.backstage}),t.goToBackstageDescription]})};function eT(){let n=(0,i._)(["\n fragment PlanningDetails_LiveStreamHeadFragment on Core_Planning {\n id\n bannerUrl\n reactionsEnabled\n liveStream @skip(if: $withEvent) {\n ...LiveStreamFragment\n }\n backstage {\n token\n }\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n bookmark {\n isBookmarked\n }\n liveStream {\n ...LiveStreamFragment\n }\n }\n title @skip(if: $withEvent)\n ...PlanningBookmarkFragment\n ...PlanningDetails_HeadInformationFragment\n ...PlanningDetails_FullScreenRightContentFragment\n }\n ","\n ","\n ","\n ","\n"]);return eT=function(){return n},n}let eM=(0,a.Ps)(eT(),eN,nk.Cs,ny,nK);function eB(n){var e;let{liveStream:t}=null!==(e=n.planning.withEvent)&&void 0!==e?e:n.planning;return t?(0,o.jsx)(ez,{...n,liveStream:t}):(0,o.jsx)(eG,{...n})}function ez(n){var e,t;let{planning:i,eventId:a,isLive:l,progress:r,bannerUrl:s,liveStream:c,onInterval:m,publicChannel:p,notifyStopVideo:v,notifyStartVideo:f,withBookmarkButton:x,bookmarkButtonProps:b,renderPublicChannel:j,renderVideoRedirection:_,renderFullscreenDetailsLink:P,renderMyScheduleRedirection:C,backstageLink:w,sessionExportDetails:y,customLocationNode:I,withActions:Z}=n,A=(0,E.T_)(),F=(0,no.T_)(),{initial:N}=function(){let{isLoggedIn:n}=(0,nL.aC)(),e=(0,eg.aM)(ef,{skip:!n}),t=(0,d.useMemo)(()=>{var n,t;return null!==(t=null===(n=e.data)||void 0===n?void 0:n.user)&&void 0!==t?t:null},[e.data]),i=(null==t?void 0:t.firstName)&&(null==t?void 0:t.lastName)?"".concat(t.firstName.charAt(0)).concat(t.lastName.charAt(0)).toUpperCase():void 0;return{user:t,initial:i}}(),{lastReaction:D,sendReaction:S}=function(n){let{planningId:e,initial:t,enabled:i=!0}=n,[a,l]=(0,d.useState)(null);ep({planningId:e,onReaction:l,enabled:i});let{sendReaction:r}=function(n){let{planningId:e,initial:t}=n,i=(0,eu.$)();return{sendReaction:(0,d.useCallback)(n=>{i({id:(0,eh.Z)(),type:"planning_reaction",payload:{planning_id:e,emoji:n,...t?{initial:t}:{}}})},[i,e,t])}}({planningId:e,initial:t});return{lastReaction:a,sendReaction:r}}({planningId:i.id,initial:N,enabled:i.reactionsEnabled}),{isMobileView:L}=(0,nE.f)(),U=(0,g.Fz)(),{title:R}=i.withEvent?i.withEvent:i,O=nX({planning:i,eventId:a,hasPublicChannel:!!p}),T=function(n){let{externalKey:e="livestream",liveStream:t,lastReaction:i,sendReaction:a,withReactions:l=!0,title:r="",notifyStartVideo:s,notifyStopVideo:c,renderVideoRedirection:u,rightContentOnFullScreen:m,rounded:p,onInterval:v}=n,{setData:f,setFullscreen:x}=(0,h.R)(),b=(0,g.Fz)(),j=(0,d.useMemo)(()=>eS({formatDate:b,availableAt:t.availableAt,availableUntil:t.availableUntil}),[b,t.availableAt,t.availableUntil]),[_,P]=(0,d.useState)(j),C=(0,d.useRef)(_);C.current=_,(0,d.useEffect)(()=>{let n=eS({formatDate:b,availableAt:t.availableAt,availableUntil:t.availableUntil});n!==C.current&&(P(n),"ONGOING"!==n&&f&&f())},[t.availableAt,t.availableUntil,b,f]);let w=(0,d.useMemo)(()=>{switch(t.stream.__typename){case"Core_YoutubeEmbeddedVideo":return{kind:"YOUTUBE",data:{id:t.stream.videoId,endsAt:t.availableUntil&&b(t.availableUntil)}};case"Core_VimeoEmbeddedVideo":return{kind:"VIMEO",data:{id:t.stream.videoId,endsAt:t.availableUntil&&b(t.availableUntil)}};case"Core_IframeEmbeddedVideo":return{kind:"IFRAME",data:{src:t.stream.iframeSource,endsAt:t.availableUntil&&b(t.availableUntil)}};case"Core_RTMPLiveStreamVideo":var n,e;if(!(null===(e=t.stream)||void 0===e?void 0:null===(n=e.playback)||void 0===n?void 0:n.url))return null;return{kind:"SWAPCARD_PLAYER",data:{src:t.stream.playback.url,endsAt:t.availableUntil&&b(t.availableUntil)},uiOptions:{withSubtitles:!0,withSettings:{withQualitySelection:!0,withPlaybackSpeed:!1,withCaptionsControls:!0}}};default:return null}},[t,b]);return(0,d.useEffect)(()=>{f&&w&&"ONGOING"===_&&f({externalKey:e,videoData:w,onPlay:()=>s&&s(),onPause:()=>c&&c(),onEnd:()=>{w.data.endsAt&&P("ENDED"),c&&c()},onClose:()=>c&&c(),onInterval:v,rounded:p,redirectionLabel:r,renderRedirection:u,rightContentOnFullScreen:m&&m(),renderOverlay:l?n=>{let{minimized:e}=n;return(0,o.jsx)(eA,{minimized:e,lastReaction:i,sendReaction:a})}:void 0})},[e,f,w,s,c,_,p,r,u,m,v,i,a,l]),{liveStream:t,title:r,status:_,setStatus:P,setFullscreen:x,videoData:w}}({liveStream:c,lastReaction:D,sendReaction:S,withReactions:i.reactionsEnabled,onInterval:m,notifyStopVideo:v,notifyStartVideo:f,title:R,renderVideoRedirection:_,externalKey:i.id,rightContentOnFullScreen:O,rounded:L?void 0:"LEFT"}),M="ONGOING"===T.status&&!L,B=L&&p,z=u()().isBefore(i.beginsAt),G=(null===(e=i.backstage)||void 0===e?void 0:e.token)&&u()().isBefore(i.endsAt)&&!!w,V=[M||B,x].filter(
1Boolean).length,$=(0,nm.w)(c.availableAt,c.availableUntil),W=z&&Z?{name:R||"",location:i.place,startsAt:i.beginsAt,endsAt:i.endsAt,details:y}:void 0;return(0,o.jsxs)(o.Fragment,{children:[G&&(0,o.jsx)(eO,{backstageLink:w}),(0,o.jsxs)(Y,{withButtons:V>0,children:[(0,o.jsx)(Q,{role:"banner",children:(0,o.jsx)(eL,{...T,bannerUrl:s})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsxs)(nz,{planningId:i.id,renderFullscreenDetailsLink:P,exportToCalendarProps:W,children:[R,T.videoData&&"ONGOING"===T.status&&L&&(0,o.jsx)(ni,{icon:(0,o.jsx)(nH.Z,{}),"aria-label":A.fullscreen,onClick:()=>T.setFullscreen&&T.setFullscreen(!0)})]}),l&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(H.Z,{planning:i,progress:r}),(0,o.jsx)(k.Z,{of:16})]}),(0,o.jsx)(nI,{planning:i,customLocationNode:I,renderMyScheduleRedirection:C,streamTimeInfo:"UPCOMING"===T.status?A.streamingWillStart({beginsAt:U(c.availableAt,"LLLL"),endsAt:c.availableUntil?U(c.availableUntil,$):""}):void 0})]})})}),V>0&&(0,o.jsxs)(nn,{count:V,children:[M&&(0,o.jsx)(nl,{"aria-label":A.fullscreen,size:"LARGE",icon:(0,o.jsx)(nH.Z,{}),onClick:()=>T.setFullscreen&&T.setFullscreen(!0),children:A.fullscreen}),B&&p&&j((0,o.jsx)(nl,{size:"LARGE",icon:(0,o.jsx)(nd.Z,{}),variant:M?"FILLED_TONAL":"FILLED",children:null!==(t=p.channel.translatedName)&&void 0!==t?t:F.liveDiscussion}),p),x&&(0,o.jsx)(nk.d2,{planning:i,withLabel:!B&&!M,...b})]})]})]})}function eG(n){let{isLive:e,progress:t,planning:i,bannerUrl:a,withActions:l,customLocationNode:r,withBookmarkButton:d=!1,bookmarkButtonProps:s,sessionExportDetails:c,renderFullscreenDetailsLink:m,renderMyScheduleRedirection:p}=n,{title:h}=i.withEvent?i.withEvent:i,g=u()().isBefore(i.beginsAt)&&l?{name:h||"",location:i.place,startsAt:i.beginsAt,endsAt:i.endsAt,details:c}:void 0;return(0,o.jsxs)(Y,{withButtons:d,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(nZ.Z,{alt:h,src:a})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsx)(nz,{planningId:i.id,renderFullscreenDetailsLink:m,exportToCalendarProps:g,children:h}),e&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(H.Z,{planning:i,progress:t}),(0,o.jsx)(k.Z,{of:16})]}),(0,o.jsx)(nI,{planning:i,customLocationNode:r,renderMyScheduleRedirection:p})]})})}),d&&(0,o.jsx)(nn,{count:1,children:(0,o.jsx)(nk.d2,{planning:i,withLabel:!0,...s})})]})}let eV=Z.ZP.div.withConfig({displayName:"style__Video",componentId:"sc-d797d621-0"})(["padding-top:56.25%;"]),e$=Z.ZP.div.withConfig({displayName:"style__BannerWrapper",componentId:"sc-d797d621-1"})(["position:relative;height:100%;overflow:hidden;"]),eH=Z.ZP.div.withConfig({displayName:"style__CountdownGradient",componentId:"sc-d797d621-2"})(["z-index:2;position:absolute;bottom:0;left:0;height:95px;width:100%;background:linear-gradient( 0deg,rgba(0,0,0,0.64) 0%,rgba(0,0,0,0) 100% );border-radius:",";"],n=>{let{theme:{dir:e,radius:t}}=n;return"ltr"===e?"".concat(t.min," ").concat(t.min," ").concat(t.min," ").concat(t.sm):"".concat(t.min," ").concat(t.min," ").concat(t.sm," ").concat(t.min)}),eW=Z.ZP.div.withConfig({displayName:"style__CountdownWrapper",componentId:"sc-d797d621-3"})(["position:absolute;bottom:16px;left:50%;transform:translateX(-50%);"]);function eY(){let n=(0,i._)(["\n fragment PreRecordedFragment on Core_PreRecordedComponent {\n id\n availableAt\n availableUntil\n video {\n __typename\n ... on Core_YoutubeEmbeddedVideo {\n videoId\n }\n ... on Core_VimeoEmbeddedVideo {\n videoId\n }\n ... on Core_IframeEmbeddedVideo {\n iframeSource\n }\n ... on Core_UploadedFileEmbeddedVideo {\n playback {\n url\n isLive\n }\n }\n }\n }\n"]);return eY=function(){return n},n}let eQ=(0,a.Ps)(eY());function eK(n,e){return u()(n(u()().format())).isBefore(n(e))}function eX(n){let{availableAt:e,availableUntil:t,formatDate:i}=n;return eK(i,e)?"UPCOMING":!t||eK(i,t)?"ONGOING":"ENDED"}function eq(n){let{preRecorded:e,title:t="",bannerUrl:i="",status:a,setStatus:l,videoData:r}=n,d=(0,E.T_)(),s=(0,g.Fz)(),{timeToGo:c}=(0,nq.a)({date:s(e.availableAt),onEnd:()=>l("ONGOING")});return r&&"ONGOING"===a?(0,o.jsx)(eV,{id:"video-placeholder","aria-label":"video"}):(0,o.jsxs)(e$,{children:[(0,o.jsx)(nZ.Z,{src:i,alt:t}),"UPCOMING"===a&&u()(s(u()().format())).isAfter(s(u()(e.availableAt).subtract(24,"h").format()))&&c>0&&(0,o.jsx)(eH,{children:(0,o.jsx)(eW,{children:(0,o.jsx)(nq.Z,{timeToGo:c,role:"timer",label:d.startingIn})})})]})}function eJ(){let n=(0,i._)(["\n fragment PlanningDetails_PreRecordedHeadFragment on Core_Planning {\n id\n bannerUrl\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n bookmark {\n isBookmarked\n }\n preRecorded {\n ...PreRecordedFragment\n }\n }\n title @skip(if: $withEvent)\n preRecorded @skip(if: $withEvent) {\n ...PreRecordedFragment\n }\n ...PlanningBookmarkFragment\n ...PlanningDetails_HeadInformationFragment\n ...PlanningDetails_FullScreenRightContentFragment\n }\n ","\n ","\n ","\n ","\n"]);return eJ=function(){return n},n}let e0=(0,a.Ps)(eJ(),eQ,nk.Cs,ny,nK);function e1(n){var e;let{preRecorded:t}=null!==(e=n.planning.withEvent)&&void 0!==e?e:n.planning;return t?(0,o.jsx)(e2,{...n,preRecorded:t}):(0,o.jsx)(e4,{...n})}function e2(n){var e;let{planning:t,eventId:i,bannerUrl:a,onInterval:l,preRecorded:r,publicChannel:s,notifyStopVideo:c,notifyStartVideo:m,withBookmarkButton:p,bookmarkButtonProps:v,renderPublicChannel:f,renderVideoRedirection:x,renderFullscreenDetailsLink:b,renderMyScheduleRedirection:j,sessionExportDetails:_,customLocationNode:P,withActions:C}=n,w=(0,E.T_)(),y=(0,no.T_)(),{isMobileView:I}=(0,nE.f)(),k=(0,g.Fz)(),{title:Z}=t.withEvent?t.withEvent:t,A=nX({planning:t,eventId:i,hasPublicChannel:!!s}),F=function(n){let{externalKey:e="prerecorded",preRecorded:t,title:i="",notifyStartVideo:a,notifyStopVideo:l,renderVideoRedirection:r,rightContentOnFullScreen:o,rounded:s,onInterval:c}=n,{setData:u,setFullscreen:m}=(0,h.R)(),p=(0,g.Fz)(),[v,f]=(0,d.useState)(eX({availableAt:t.availableAt,availableUntil:t.availableUntil,formatDate:p})),x=(0,d.useRef)(v);x.current=v;let b=(0,d.useMemo)(()=>{switch(t.video.__typename){case"Core_YoutubeEmbeddedVideo":return{kind:"YOUTUBE",data:{id:t.video.videoId,endsAt:t.availableUntil&&p(t.availableUntil)}};case"Core_VimeoEmbeddedVideo":return{kind:"VIMEO",data:{id:t.video.videoId,endsAt:t.availableUntil&&p(t.availableUntil)}};case"Core_IframeEmbeddedVideo":return{kind:"IFRAME",data:{src:t.video.iframeSource,endsAt:t.availableUntil&&p(t.availableUntil)}};case"Core_UploadedFileEmbeddedVideo":var n,e;if(!(null===(e=t.video)||void 0===e?void 0:null===(n=e.playback)||void 0===n?void 0:n.url))return null;return{kind:"SWAPCARD_PLAYER",data:{src:t.video.playback.url,endsAt:t.availableUntil&&p(t.availableUntil)},uiOptions:{withSubtitles:!0,withSettings:{withQualitySelection:!0,withPlaybackSpeed:!t.video.playback.isLive,withCaptionsControls:!0}}};default:return null}}
1,[t,p]);return(0,d.useEffect)(()=>{u&&b&&"ONGOING"===v&&u({externalKey:e,videoData:b,onPlay:()=>a&&a(),onPause:()=>l&&l(),onEnd:()=>{b.data.endsAt&&f("ENDED"),l&&l()},onClose:()=>l&&l(),onInterval:c,rounded:s,redirectionLabel:i,renderRedirection:r,rightContentOnFullScreen:o&&o()})},[e,u,b,a,l,v,s,i,r,o,c]),(0,d.useEffect)(()=>{let n=eX({availableAt:t.availableAt,availableUntil:t.availableUntil,formatDate:p});n!==x.current&&(f(n),"ONGOING"!==n&&u&&u())},[t.availableAt,t.availableUntil,p,u]),{preRecorded:t,title:i,status:v,setStatus:f,setFullscreen:m,videoData:b}}({onInterval:l,preRecorded:r,notifyStopVideo:c,notifyStartVideo:m,title:Z,renderVideoRedirection:x,externalKey:t.id,rightContentOnFullScreen:A,rounded:I?void 0:"LEFT"}),N="ONGOING"===F.status&&!I,D=I&&s,S=[N||D,p].filter(Boolean).length,L=(0,nm.w)(r.availableAt,r.availableUntil),U=u()().isBefore(t.beginsAt)&&C?{name:Z||"",location:t.place,startsAt:t.beginsAt,endsAt:t.endsAt,details:_}:void 0;return(0,o.jsxs)(Y,{withButtons:S>0,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(eq,{...F,bannerUrl:a})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsxs)(nz,{planningId:t.id,renderFullscreenDetailsLink:b,exportToCalendarProps:U,children:[Z,F.videoData&&"ONGOING"===F.status&&I&&(0,o.jsx)(ni,{icon:(0,o.jsx)(nH.Z,{}),"aria-label":w.fullscreen,onClick:()=>F.setFullscreen&&F.setFullscreen(!0)})]}),(0,o.jsx)(nI,{planning:t,customLocationNode:P,renderMyScheduleRedirection:j,streamTimeInfo:"UPCOMING"===F.status?w.streamingWillStart({beginsAt:k(r.availableAt,"LLLL"),endsAt:r.availableUntil?k(r.availableUntil,L):""}):void 0})]})})}),S>0&&(0,o.jsxs)(nn,{count:S,children:[N&&(0,o.jsx)(nl,{"aria-label":w.fullscreen,size:"LARGE",icon:(0,o.jsx)(nH.Z,{}),onClick:()=>F.setFullscreen&&F.setFullscreen(!0),children:w.fullscreen}),D&&s&&f((0,o.jsx)(nl,{size:"LARGE",icon:(0,o.jsx)(nd.Z,{}),variant:N?"FILLED_TONAL":"FILLED",children:null!==(e=s.channel.translatedName)&&void 0!==e?e:y.liveDiscussion}),s),p&&(0,o.jsx)(nk.d2,{planning:t,withLabel:!D&&!N,...v})]})]})}function e4(n){let{planning:e,bannerUrl:t,withActions:i,customLocationNode:a,withBookmarkButton:l=!1,bookmarkButtonProps:r,sessionExportDetails:d,renderFullscreenDetailsLink:s,renderMyScheduleRedirection:c}=n,{title:m}=e.withEvent?e.withEvent:e,p=u()().isBefore(e.beginsAt)&&i?{name:m||"",location:e.place,startsAt:e.beginsAt,endsAt:e.endsAt,details:d}:void 0;return(0,o.jsxs)(Y,{withButtons:l,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(nZ.Z,{src:t,alt:m})}),(0,o.jsx)(K,{children:(0,o.jsx)(nr.Z,{children:(0,o.jsxs)(X,{children:[(0,o.jsx)(nz,{planningId:e.id,renderFullscreenDetailsLink:s,exportToCalendarProps:p,children:m}),(0,o.jsx)(nI,{planning:e,customLocationNode:a,renderMyScheduleRedirection:c})]})})}),l&&(0,o.jsx)(nn,{count:1,children:(0,o.jsx)(nk.d2,{planning:e,withLabel:!0,...r})})]})}var e6=t(56675);function e5(){let n=(0,i._)(["\n fragment PlanningDetails_SubscribeToUpdateFragment on Core_Planning {\n id\n beginsAt(format: ISO8601)\n endsAt(format: ISO8601)\n updatedAt\n }\n"]);return e5=function(){return n},n}let e3=(0,a.Ps)(e5());function e7(){let n=(0,i._)(["\n fragment PlanningDetails_HeadFragment on Core_Planning {\n id\n format\n htmlDescription\n ...PlanningDetails_PhysicalHeadFragment\n ...PlanningDetails_OnDemandHeadFragment\n ...PlanningDetails_LiveStreamHeadFragment\n ...PlanningDetails_RoundTableHeadFragment\n ...PlanningDetails_PreRecordedHeadFragment\n ...PlanningDetails_SubscribeToUpdateFragment\n }\n ","\n ","\n ","\n ","\n ","\n ","\n"]);return e7=function(){return n},n}let e8=(0,a.Ps)(e7(),n9,nV,eM,ed,e0,e3);var e9=t(39394);let tn=(0,Z.ZP)(C.l_).withConfig({displayName:"head__ButtonLoader",componentId:"sc-e2cf114c-0"})(["width:100%;"]),te=(0,Z.ZP)(V.Z).withConfig({displayName:"head__TitleLoader",componentId:"sc-e2cf114c-1"})(["max-width:85%;margin-bottom:24px;"]);function tt(n){var e;let{planning:t,eventId:i,onLiveStreamEnd:a,bannerUrl:l,onInterval:r,backstageLink:d,publicChannel:s,notifyStopVideo:c,notifyStartVideo:u,withBookmarkButton:m,renderPublicChannel:p,bookmarkButtonProps:h,renderViewProfileLink:g,onBeforeRoundtableJoin:v,renderVideoRedirection:f,renderFullscreenDetailsLink:x,sessionExportDetails:b=null,customLocationNode:j,withActions:_,renderMyScheduleRedirection:P}=n,{isLive:C,progress:w}=(0,H.c)({planning:t,onEnd:a}),y=null!==(e=t.withEvent)&&void 0!==e?e:t;!function(n){let{planning:e,onDemand:t,roundtable:i,liveStream:a,preRecorded:l}=n,r=(0,e6.x)();ep({planningId:e.id,onPlanningUpdate:n=>{var t,i;r.writeFragment({id:"Core_Planning:".concat(e.id),fragment:e3,fragmentName:"PlanningDetails_SubscribeToUpdateFragment",data:{...e,beginsAt:null!==(t=n.beginsAt)&&void 0!==t?t:e.beginsAt,endsAt:null!==(i=n.endsAt)&&void 0!==i?i:e.endsAt}})},onOnDemandUpdate:t?n=>{var e;r.writeFragment({id:"Core_OnDemandComponent:".concat(t.id),fragment:n3,fragmentName:"OnDemandFragment",data:{...t,availableAt:null!==(e=n.availableAt)&&void 0!==e?e:t.availableAt,availableUntil:void 0!==n.availableUntil?n.availableUntil:t.availableUntil}})}:void 0,onRoundtableUpdate:i?n=>{var e;r.writeFragment({id:"Core_RoundtableComponent:".concat(i.id),fragment:er.zF,fragmentName:"RoundtableFragment",data:{...i,availableAt:null!==(e=n.availableAt)&&void 0!==e?e:i.availableAt,availableUntil:void 0!==n.availableUntil?n.availableUntil:i.availableUntil}})}:void 0,onLiveStreamUpdate:a?n=>{var e;r.writeFragment({id:"Core_LiveStreamComponent:".concat(a.id),fragment:eN,fragmentName:"LiveStreamFragment",data:{...a,availableAt:null!==(e=n.availableAt)&&void 0!==e?e:a.availableAt,availableUntil:void 0!==n.availableUntil?n.availableUntil:a.availableUntil}})}:void 0,onPreRecordedUpdate:l?n=>{var e;r.writeFragment({id:"Core_PreRecordedComponent:".concat(l.id),fragment:eQ,fragmentName:"PreRecordedFragment",data:{...l,availableAt:null!==(e=n.availableAt)&&void 0!==e?e:l.availableAt,availableUntil:void 0!==n.availableUntil?n.availableUntil:l.availableUntil}})}:void 0})}({planning:t,onDemand:y.onDemand,roundtable:y.roundtable,liveStream:y.liveStream,preRecorded:y.preRecorded});let I={planning:t,bannerUrl:l,publicChannel:s,withBookmarkButton:m,bookmarkButtonProps:h,renderPublicChannel:p,renderFullscreenDetailsLink:x,renderMyScheduleRedirection:P,sessionExportDetails:b,customLocationNode:j,withActions:_},k={...I,eventId:i,onInterval:r,notifyStopVideo:c,notifyStartVideo:u,renderVideoRedirection:f};switch(t.format){case e9.PqT.PHYSICAL:return(0,o.jsx)(n$,{...I});case e9.PqT.ON_DEMAND:return(0,o.jsx)(en,{...k});case e9.PqT.PRE_RECORDED:return(0,o.jsx)(e1,{...k});case e9.PqT.LIVE_STREAM:return(0,o.jsx)(eB,{...k,isLive:C,progress:w,backstageLink:d});case e9.PqT.ROUNDTABLE:return(0,o.jsx)(es,{...k,onBeforeJoin:v,renderViewProfileLink:g});default:return null}}function ti(){return(0,o.jsxs)(Y,{withButtons:!0,children:[(0,o.jsx)(Q,{children:(0,o.jsx)(V.Z,{size:360})}),(0,o.jsx)(K,{children:(0,o.jsxs)(X,{children:[(0,o.jsx)(te,{size:27}),(0,o.jsx)($.x1,{}),(0,o.jsx)($.x1,{}),(0,o.jsx)($.x1,{})]})}),(0,o.jsx)(nn,{count:1,children:(0,o.jsx)(tn,{size:"LARGE"})})]})}var ta=t(6476),tl=t(47462);let tr=Z.ZP.div.withConfig({displayName:"style__Wrapper",componentId:"sc-6594a5ec-0"})(["cursor:pointer;transition:150ms;transition:background-color 0.3s;width:100%;display:flex;align-items:center;&:hover{","}"],n=>{let{color:e}=n;return e&&(0,A.iv)(["background-color:",";"],(0,eP.Z)(e,.05))}),to=Z.ZP.div.withConfig({displayName:"style__IconWrapper",componentId:"sc-6594a5ec-1"})(["border-radius:",";margin:16px;padding:8px;height:16px;width:16px;background-color:",";flex-shrink:0;"],n=>{let{theme:e}=n;return e.radius.max},n=>{let{color:e}=n;return e}),td=(0,Z.ZP)(ta.Z).withConfig({displayName:"style__Icon",componentId:"sc-6594a5ec-2"})(["max-width:100%;max-height:100%;display:block;"]),ts=(0,Z.ZP)(tl.Z).attrs({size:32}).withConfig({displayName:"style__FullSizeIcon",componentId:"sc-6594a5ec-3"})(["margin:16px;"]),tc=Z.ZP.div.withConfig({displayName:"style__TitleWrapper",componentId:"sc-6594a5ec-4"})(["width:100%;"]),tu=(0,Z.ZP)(nW.Z).attrs({lines:2}).withConfig({displayName:"style__Title",componentId:"sc-6594a5ec-5"})(["width:100%;font-size:16px;font-weight:600;line-height:22px;color:",";"],n=>{let{color:e}=n;return e}),tm=Z.ZP.div.withConfig({displayName:"style__Subtitle",componentId:"sc-6594a5ec-6"})(["color:",";font-size:12px;line-height:17px;"],n=>{let{theme:{colors:e}}=n;return e.surface.on}),tp=Z.ZP.div.withConfig({displayName:"style__Right",componentId:"sc-6594a5ec-7"})(["color:",";font-size:16px;margin-left:16px;margin-right:16px;"],n=>{let{theme:{colors:e}}=n;return e.tertiary.base});Z.ZP.div.withConfig({displayName:"loader__IconWrapper",componentId:"sc-df231766-0"})(["margin:16px;flex-shrink:0;"]);var th=function(n){let{color:e,featuredColor:t,title:i,subtitle:a,iconUrl:l,right:r,fullSizeIcon:d,iconNode:s,...c}=n;return(0,o.jsxs)(tr,{...c,color:t,children:[d?(0,o.jsx)(ts,{src:l}):(0,o.jsx)(to,{color:e,children:(0,o.jsx)(o.Fragment,{children:s||l&&(0,o.jsx)(td,{src:l,width:16,height:16})})}),(0,o.jsxs)(tc,{children:[(0,o.jsx)(tu,{color:e,children:i}),a&&(0,o.jsx)(tm,{children:a})]}),r&&(0,o.jsx)(tp,{children:r})]})};function tg(){let n=(0,i._)(["\n fragment PlanningDetails_ViewsFragment on Core_Planning {\n id\n contents {\n views {\n ... on Core_EventRedirectUrlView {\n id\n name\n color\n iconUrl\n redirectUrl\n }\n }\n }\n }\n"]);return tg=function(){return n},n}let tv=(0,a.Ps)(tg()),tf=(0,Z.ZP)(z.im).withConfig({displayName:"views__Wrapper",componentId:"sc-43b8ea4c-0"})(["padding:8px 0;"]);function tx(n){let{views:e}=n,{colors:t}=(0,nc.Fg)(),i=e.reduce((n,e)=>("Core_EventRedirectUrlView"===e.__typename&&n.push(e),n),[]);return i.length?(0,o.jsx)(tf,{children:i.map(n=>{let{id:e,name:i,color:a,iconUrl:l,redirectUrl:r}=n;return(0,o.jsx)(z.gM,{role:"button",href:r,children:(0,o.jsx)(th,{color:a||t.secondary.base,featuredColor:a||t.secondary.base,title:i||r,iconUrl:l||void 0,right:(0,o.jsx)(z.Eh,{})})},e)})}):null}var tb=t(24690);function tj(){let n=(0,i._)(["\n fragment PlanningDetails_DocumentsFragment on Core_Planning {\n id\n documents {\n id\n name\n url\n description\n type\n }\n }\n"]);return tj=function(){return n},n}let t_=(0,a.Ps)(tj()),tP=(0,Z.ZP)(P.Z).withConfig({displayName:"documents__Title",componentId:"sc-29daa6e2-0"})(["margin-bottom:8px;"]),tC=Z.ZP.a.attrs({target:"_blank"}).withConfig({displayName:"documents__LinkWrapper",componentId:"sc-29daa6e2-1"})(["display:block;margin:-8px -16px;text-decoration:none;"]);function tw(n){let{documents:e,onDocumentLinkClick:t=()=>{}}=n,i=(0,E.T_)();return e.length?(0,o.jsxs)(z.im,{children:[(0,o.jsx)(tP,{children:i.documents}),e.map(n=>{var e;return n&&(0,o.jsx)(tC,{href:null!==(e=n.url)&&void 0!==e?e:void 0,onClick:()=>{t(n)},children:(0,o.jsx)(tb.Z,{document:n,hoverEffect:!0,rightComponent:(0,o.jsx)(z.Eh,{})})},n.id)})]}):null}var ty=t(60417),tI=t.n(ty),tk=t(63196),tE=t(81047);function tZ(){let n=(0,i._)(["\n fragment PlanningDetails_ExhibitorsFragment on Core_Planning {\n id\n exhibitorList @skip(if: $withEvent) {\n id: _id\n ...ExhibitorCardFragment\n ...ExhibitorBookmarkFragment\n }\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n exhibitorList {\n id: _id\n ...ExhibitorCardFragment\n ...ExhibitorBookmarkFragment\n }\n }\n }\n ","\n ","\n"]);return tZ=function(){return n},n}let tA=(0,a.Ps)(tZ(),tk.Qq,tE.$),tF=(0,Z.ZP)(tk.ZP).withConfig({displayName:"exhibitors__ExhibitorCard",componentId:"sc-d3a776d-0"})(["border:0;"]),tN=(0,Z.ZP)(tk._9).withConfig({displayName:"exhibitors__ExhibitorCardLoader",componentId:"sc-d3a776d-1"})(["border:0;"]);function tD(n){let{exhibitors:e,exhibitorCardProps:t=()=>({}),renderExhibitorCard:i=n=>n}=n,{isMobileView:a}=(0,nE.f)();if(!(null==e?void 0:e.length))return null;if(!a&&1===e.length){let[n]=e;return n?(0,o.jsx)(z.im,{children:i((0,o.jsx)(tF,{...t(n),layout:"DETAILED",hideType:!0,exhibitor:n},n.id),n)}):null}return(0,o.jsx)(z.im,{children:(0,o.jsx)(tk.MR,{layout:"GRID",children:tI()(e).map(n=>n&&i((0,o.jsx)(tF,{...t(n),layout:"GRID",hideType:!0,exhibitor:n},n.id),n))})})}function tS(){return(0,o.jsx)(z.im,{children:(0,o.jsxs)(tk.MR,{layout:"GRID",children:[(0,o.jsx)(tN,{layout:"GRID"}),(0,o.jsx)(tN,{layout:"GRID"}),(0,o.jsx)(tN,{layout:"GRID"})]})})}var tL=t(54720),tU=t(46765),tR=t(26094);function tO(){let n=(0,i._)(["\n fragment PlanningDetails_InformationFragment on Core_Planning {\n id\n htmlDescription\n visibility\n userSpeaker {\n id\n }\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n fields {\n ...FieldCardWithSectionFragment\n }\n }\n fields @skip(if: $withEvent) {\n ...FieldCardWithSectionFragment\n }\n }\n ","\n"]);return tO=function(){return n},n}let tT=(0,a.Ps)(tO(),tU.vi);function tM(n){let e=n=>tI()(n.filter(n=>!("Core_SelectField"===n.__typename&&(0,tR.wy)(n.definition.name))).map(tU.FR));return{...n,fields:n.withEvent?[]:e(n.fields||[]),withEvent:n.withEvent?{...n.withEvent,fields:e(n.withEvent.fields)}:null}}function tB(n){let{planning:e}=n,t=tM(e);return(0,tL.Ry)(t)?(0,o.jsx)(z.im,{children:(0,o.jsx)(tL.ZP,{planning:t})}):null}function tz(){return(0,o.jsx)(z.im,{children:(0,o.jsx)(tL.b2,{})})}var tG=t(96623),tV=t(31182),t$=t(80622),tH=t(44144),tW=t(50143),tY=t(97073);function tQ(){let n=(0,i._)(["\n fragment PlanningDetails_AttendeesPlanningFragment on Core_Planning {\n id\n hideAttendees\n ...PlanningCardLightFragment\n }\n ","\n"]);return tQ=function(){return n},n}function tK(){let n=(0,i._)(["\n fragment PlanningDetails_AttendeesFragment on Core_EventPeopleConnection {\n nodes {\n ...PersonCardFragment\n userInfo {\n id\n ...UserStatusFragment\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n ","\n ","\n"]);return tK=function(){return n},n}let tX="planning-attendees-scroll",tq=(0,a.Ps)(tQ(),tV.ZC),tJ=(0,a.Ps)(tK(),tH.Ds,t$.bL),t0=(0,Z.ZP)(P.Z).withConfig({displayName:"attendees__Title",componentId:"sc-acb68021-0"})(["margin-bottom:16px;"]),t1=Z.ZP.div.withConfig({displayName:"attendees__ModalContent",componentId:"sc-acb68021-1"})(["padding:0 16px;","{text-align:center;}"],t0),t2=(0,Z.ZP)(S.Z).withConfig({displayName:"attendees__ErrorView",componentId:"sc-acb68021-2"})(["margin-bottom:16px;"]);function t4(n){var e,t;let{planning:i,onSeeAll:a=()=>{},attendeeCardProps:l=()=>({}
1),renderAttendeeCard:r=n=>n}=n,d=(0,E.T_)(),s=(0,tW.P)("prevent-copy-to-clipboard"),c=null!==(t=null===(e=i.withEvent)||void 0===e?void 0:e.attendees)&&void 0!==t?t:i.attendees;if(!(null==c?void 0:c.nodes.length)||i.hideAttendees)return null;let u=d.seeAllWithCount(c.totalCount<=500?c.totalCount:"500+");return(0,o.jsxs)(z.im,{children:[s&&(0,o.jsx)(tY.Z,{}),(0,o.jsx)(t0,{children:d.registeredAttendees}),c.nodes.slice(0,3).map(n=>r((0,o.jsx)(z.OV,{children:(0,o.jsx)(t$.ZP,{...l(n),person:n})},n.id),n)),c.totalCount>3&&(0,o.jsx)(z.j8,{onClick:a,children:u})]})}function t6(n){let{planning:e,error:t,attendees:i,initialLoading:a,onClose:l=()=>{},loadMore:r=()=>{},attendeeCardProps:s=()=>({}),renderAttendeeCard:c=n=>n}=n,u=(0,E.T_)(),m=(0,d.useMemo)(()=>{var n;return a?(0,o.jsx)(t5,{numberOfCards:10}):t?(0,o.jsx)(t2,{error:t}):e&&i?(0,o.jsx)(tG.Z,{dataLength:i.nodes.length,hasNextPage:(null===(n=i.pageInfo)||void 0===n?void 0:n.hasNextPage)||!1,loadMore:()=>{var n;return r((null===(n=i.pageInfo)||void 0===n?void 0:n.endCursor)||null)},scrollableTarget:tX,style:{overflow:"inherit"},scrollThreshold:.95,loader:(0,o.jsx)(t5,{numberOfCards:5}),reRenderOnMount:!0,children:i.nodes.map(n=>c((0,o.jsx)(z.OV,{children:(0,o.jsx)(t$.ZP,{person:n,...s(n)})},n.id),n))}):null},[t,i,e,a,u]);return(0,o.jsx)(nx.ZP,{padding:"0px",role:"aria-modal",onClose:l,fullScreen:!1,innerId:tX,children:(0,o.jsxs)(z.AB,{children:[(0,o.jsx)(z.Xj,{children:(0,o.jsx)(nx.Su,{})}),(0,o.jsx)(z.xB,{children:(0,o.jsx)(tV.ZP,{planning:{...e,firstSpeakers:[]}})}),(0,o.jsx)(nN.Z,{}),(0,o.jsxs)(t1,{children:[(0,o.jsx)(t0,{children:u.registeredAttendees}),m]})]})})}function t5(n){let{numberOfCards:e}=n,{isMobileView:t}=(0,nE.f)();return(0,o.jsx)(o.Fragment,{children:Array(e).fill(null).map((n,e)=>(0,o.jsx)(z.OV,{positiveMargin:t,children:(0,o.jsx)(t$.T7,{size:t?"SMALL":"REGULAR"})},e))})}function t3(){let n=(0,i._)(["\n fragment PlanningDetails_Fragment on Core_Planning {\n id\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n title\n summary\n attendees: attendeeProfiles(cursor: { first: 4 })\n @skip(if: $skipAttendees) {\n ...PlanningDetails_AttendeesFragment\n }\n userAgendaConflicts {\n ... on Core_Meeting {\n id\n ...MeetingCoreFragment\n }\n ... on Core_Planning {\n id\n ...PlanningCardFragment\n }\n }\n }\n attendees: attendeeProfiles(cursor: { first: 4 }) {\n totalCount\n ...PlanningDetails_AttendeesFragment\n }\n title @skip(if: $withEvent)\n htmlDescription\n bannerUrl\n hideAttendees\n updatedAt\n isRatable\n ...PlanningFeedbackFragment\n ...PlanningDetails_ChatFragment\n ...PlanningDetails_HeadFragment\n ...PlanningDetails_ViewsFragment\n ...PlanningDetails_DocumentsFragment\n ...PlanningDetails_ExhibitorsFragment\n ...PlanningDetails_InformationFragment\n ...PlanningDetails_AttendeesPlanningFragment\n }\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"]);return t3=function(){return n},n}let t7=(0,a.Ps)(t3(),l.hQ,r.xZ,O,tJ,e8,b,tv,t_,tA,tT,tq);var t8=t(25685),t9=t(89701);function ie(){let n=(0,i._)(["\n fragment PlanningDetails_SimilarPlanningFragment on Core_Planning {\n ...PlanningCardSmallFragment\n }\n ","\n"]);return ie=function(){return n},n}function it(){let n=(0,i._)(["\n fragment PlanningDetails_SimilarPlanningsFragment on Core_Planning {\n id\n similarPlannings(size: 5) @skip(if: $withEvent) {\n ...PlanningDetails_SimilarPlanningFragment\n }\n withEvent(eventId: $eventId) @include(if: $withEvent) {\n similarPlannings(size: 5) {\n ...PlanningDetails_SimilarPlanningFragment\n }\n }\n }\n ","\n"]);return it=function(){return n},n}let ii=(0,a.Ps)(ie(),t9.v1),ia=(0,a.Ps)(it(),ii),il=(0,Z.ZP)(z.xu).withConfig({displayName:"similar-plannings__Box",componentId:"sc-f20d3f02-0"})(["padding-bottom:0;"]),ir=Z.ZP.div.withConfig({displayName:"similar-plannings__Header",componentId:"sc-f20d3f02-1"})(["padding:0 0 8px 0;display:grid;grid-gap:8px;"]),io=(0,Z.ZP)(nN.Z).withConfig({displayName:"similar-plannings__Divider",componentId:"sc-f20d3f02-2"})(["margin:0 16px;width:calc(100% - 32px);"]);function id(n){let{similarPlannings:e,planningCardProps:t=()=>({}),renderPlanningCard:i=n=>n,onSimilarPlanningClick:a=()=>{}}=n,l=e.map(n=>{let{id:e}=n;return e});return(0,o.jsx)(o.Fragment,{children:e.map((n,r)=>(0,o.jsxs)(z.UK,{children:[i((0,o.jsx)(t9.ZP,{planning:n,...t(n),action:(0,o.jsx)(z.Eh,{})}),n,()=>a(n,l.filter(e=>e!==n.id))),r<e.length-1&&(0,o.jsx)(io,{})]},n.id))})}function is(n){let{similarPlannings:e,planningCardProps:t=()=>({}),renderPlanningCard:i=n=>n,onSimilarPlanningClick:a}=n,l=(0,E.T_)(),{isMobileView:r}=(0,nE.f)();return e&&0!==e.length?r?(0,o.jsxs)(z.im,{children:[(0,o.jsx)(ir,{children:(0,o.jsx)(P.Z,{children:l.youMayAlsoLike})}),(0,o.jsx)(id,{similarPlannings:e,planningCardProps:t,renderPlanningCard:i,onSimilarPlanningClick:a})]}):(0,o.jsxs)(il,{children:[(0,o.jsxs)(ir,{children:[(0,o.jsx)(P.Z,{children:l.youMayAlsoLike}),(0,o.jsx)(_.Z,{children:l.similarPlanningsDescription})]}),(0,o.jsx)(id,{similarPlannings:e,planningCardProps:t,renderPlanningCard:i,onSimilarPlanningClick:a})]}):null}var ic=t(82218),iu=t(42979),im=t(55800),ip=t(14090),ih=t(5045);let ig=(0,Z.ZP)(ip.$A).withConfig({displayName:"up-next__Title",componentId:"sc-505093fa-0"})(["font-size:1rem;"]),iv=Z.ZP.div.withConfig({displayName:"up-next__AutoFollowAction",componentId:"sc-505093fa-1"})(["display:flex;align-items:center;gap:",";"],n=>{let{theme:e}=n;return e.spacing[2]}),ix=(0,Z.ZP)(nN.Z).withConfig({displayName:"up-next__Divider",componentId:"sc-505093fa-2"})(["margin:0 16px;width:calc(100% - 32px);"]),ib=(0,Z.ZP)(z.xu).withConfig({displayName:"up-next__Box",componentId:"sc-505093fa-3"})(["padding-bottom:",";"],n=>{let{noPadding:e}=n;return e?0:void 0}),ij=(0,Z.ZP)(z.im).withConfig({displayName:"up-next__Wrapper",componentId:"sc-505093fa-4"})(["padding-bottom:",";"],n=>{let{noPadding:e}=n;return e?0:void 0});function i_(n){let{autoFollow:e,nextPlannings:t,withDescription:i,onChangeAutoFollow:a=()=>{},planningCardProps:l=()=>({}),renderPlanningCard:r=n=>n}=n,s=(0,E.T_)(),c=(0,d.useId)(),[u,m]=(0,d.useState)(!1),p=t.slice(0,u?t.length:1);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(im.M3,{children:[(0,o.jsxs)(im.e,{children:[(0,o.jsx)(ig,{variant:"bold",htmlFor:c,children:s.upNext}),(0,o.jsxs)(iv,{children:[(0,o.jsx)(ih.Z,{as:"span",children:s.autoFollow}
1),(0,o.jsx)(iu.Z,{id:c,checked:e,onChange:()=>a(!e)})]})]}),i&&(0,o.jsx)(im.px,{children:(0,o.jsx)(im.Pc,{children:s.autoFollowDescription})})]}),p.map((n,e)=>(0,o.jsxs)(z.UK,{children:[r((0,o.jsx)(t9.ZP,{planning:n,...l(n),action:(0,o.jsx)(z.Eh,{})}),n),e<p.length-1&&(0,o.jsx)(ix,{})]},n.id)),t.length>1&&!u&&(0,o.jsx)(C.ZP,{variant:"LINK",size:"SMALL",onClick:()=>m(!0),children:s.seeMore}),t.length>1&&u&&(0,o.jsx)(C.ZP,{variant:"LINK",size:"SMALL",onClick:()=>m(!1),children:s.seeLess})]})}function iP(n){let{autoFollow:e,nextPlannings:t,planningCardProps:i,renderPlanningCard:a,onChangeAutoFollow:l}=n,{isMobileView:r}=(0,nE.f)();return 0===t.length?null:r?(0,o.jsx)(ij,{noPadding:1===t.length,children:(0,o.jsx)(i_,{autoFollow:e,nextPlannings:t,planningCardProps:i,renderPlanningCard:a,onChangeAutoFollow:l})}):(0,o.jsx)(ib,{noPadding:1===t.length,children:(0,o.jsx)(i_,{withDescription:!0,autoFollow:e,nextPlannings:t,planningCardProps:i,renderPlanningCard:a,onChangeAutoFollow:l})})}var iC=t(65322),iw=t(276);let iy=Z.ZP.div.withConfig({displayName:"summary__Wrapper",componentId:"sc-a11ec281-0"})(["padding:",";"],n=>{let{theme:e}=n;return e.spacing[4]}),iI=Z.ZP.div.withConfig({displayName:"summary__HeaderWrapper",componentId:"sc-a11ec281-1"})(["display:flex;align-items:center;gap:",";margin-bottom:",";color:",";"],n=>{let{theme:e}=n;return e.spacing[1]},n=>{let{theme:e}=n;return e.spacing[2]},n=>{let{theme:e}=n;return e.colors.recommendation.base}),ik=(0,Z.ZP)(nD.Z).withConfig({displayName:"summary__SubHeading",componentId:"sc-a11ec281-2"})(["color:",";"],n=>{let{theme:e}=n;return e.colors.recommendation.base});function iE(n){let{summary:e}=n,t=(0,E.T_)();return 0===(0,nu.Vt)({htmlInput:e}).trim().length?null:(0,o.jsxs)(iy,{children:[(0,o.jsxs)(iI,{children:[(0,o.jsx)(iw.Z,{}),(0,o.jsx)(ik,{level:"h3",size:"medium",children:t.aiGeneratedSummary})]}),(0,o.jsx)(iC.Z,{maxHeight:100,htmlChild:e})]})}},25685:function(n,e,t){t.d(e,{Qw:function(){return j},hX:function(){return y},hc:function(){return w}});var i=t(67862),a=t(52322),l=t(2784),r=t(12866),o=t(81548),d=t(82778),s=t(96623),c=t(8923),u=t(91113),m=t(64827),p=t(46448),h=t(57541),g=t(31182),v=t(30014),f=t(53663);function x(){let n=(0,i._)(["\n fragment PlanningDetails_LinkedPlanningsFragment on Core_PlanningsConnection {\n nodes {\n id\n ...PlanningBookmarkFragment\n ...PlanningCardLightFragment\n groupBy {\n id\n name\n }\n }\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n ","\n ","\n"]);return x=function(){return n},n}let b="planning-linked-plannings-scroll",j=(0,o.Ps)(x(),h.Cs,g.ZC),_=(0,r.ZP)(m.Z).withConfig({displayName:"linked-plannings__Divider",componentId:"sc-c88c8e7d-0"})(["margin:0;"]),P=r.ZP.div.withConfig({displayName:"linked-plannings__ModalContent",componentId:"sc-c88c8e7d-1"})(["padding:",";","{text-align:center;}"],n=>{let{theme:e}=n;return e.spacing[10]},u.Z);function C(n){let{linkedPlanningNodes:e,linkedPlanningCardProps:t=()=>({}),renderLinkedPlanningCard:i=n=>n}=n,r=(0,f.T_)(),o=(0,l.useMemo)(()=>e.reduce((n,e)=>{if(!e)return n;let t=n.find(n=>JSON.stringify(e.groupBy)===JSON.stringify(n.groupBy));return t?t.plannings.push(e):n.push({groupBy:e.groupBy,plannings:[e]}),n},[]),[e]);return(0,a.jsx)(a.Fragment,{children:o.map((n,e)=>{let{groupBy:o,plannings:d}=n;return d.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)(u.Z,{children:o?o.name:r.linkedSessions}),d.map((n,e)=>(0,a.jsxs)(l.Fragment,{children:[i((0,a.jsx)(v.UK,{children:(0,a.jsx)(g.ZP,{...t(n),planning:n})},n.id),n),e<d.length-1&&(0,a.jsx)(_,{})]},n.id))]},e)})})}function w(n){let{linkedPlannings:e,linkedPlanningCardProps:t=()=>({}),renderLinkedPlanningCard:i=n=>n,onSeeAll:l=()=>{}}=n,r=(0,f.T_)();return(0,a.jsxs)(v.im,{children:[(0,a.jsx)(C,{linkedPlanningNodes:e.nodes,linkedPlanningCardProps:t,renderLinkedPlanningCard:i}),e.totalCount>e.nodes.length&&(0,a.jsx)(p.ZP,{variant:"LINK",size:"SMALL",onClick:l,children:r.seeAllWithCount(e.totalCount)})]})}function y(n){let{error:e,linkedPlannings:t,initialLoading:i,onClose:r=()=>{},loadMore:o=()=>{},linkedPlanningCardProps:u=()=>({}),renderLinkedPlanningCard:m=n=>n}=n,p=(0,l.useMemo)(()=>{var n;return i?(0,a.jsx)(I,{}):e?(0,a.jsx)(d.Z,{error:e}):t?(0,a.jsx)(s.Z,{dataLength:t.nodes.length,hasNextPage:(null===(n=t.pageInfo)||void 0===n?void 0:n.hasNextPage)||!1,loadMore:()=>{var n;return o((null===(n=t.pageInfo)||void 0===n?void 0:n.endCursor)||null)},scrollableTarget:b,style:{overflow:"inherit"},scrollThreshold:.95,loader:(0,a.jsx)(I,{}
1),reRenderOnMount:!0,children:(0,a.jsx)(C,{linkedPlanningNodes:t.nodes,linkedPlanningCardProps:u,renderLinkedPlanningCard:m})}):null},[e,t,i]);return(0,a.jsx)(c.ZP,{padding:"0",onClose:r,role:"aria-modal",fullScreen:!1,innerId:b,children:(0,a.jsxs)(v.AB,{children:[(0,a.jsx)(v.Xj,{children:(0,a.jsx)(c.Su,{})}),(0,a.jsx)(P,{children:p})]})})}function I(n){let{numberOfCards:e=6}=n;return(0,a.jsx)(a.Fragment,{children:Array(e).fill(null).map((n,e)=>(0,a.jsx)(v.UK,{children:(0,a.jsx)(g.Uo,{})},e))})}},29484:function(n,e,t){var i=t(52322);e.Z=function(n){return(0,i.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",...n,children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12a3 3 0 100-6 3 3 0 000 6zm0-2a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2a6 6 0 00-6 6v8a6 6 0 006 6h8a6 6 0 006-6V8a6 6 0 00-6-6H8zm8 2H8a4 4 0 00-4 4v7.91l1.697-1.94a2 2 0 012.534-.398l3.426 2.056 3.415-5.692a2 2 0 012.915-.57L20 10.874V8a4 4 0 00-4-4zm4 9.366a1.011 1.011 0 01-.1-.066l-3.113-2.335-3.415 5.692a2 2 0 01-2.744.686l-3.426-2.056-2.545 2.91A3.996 3.996 0 008 20h8a4 4 0 004-4v-2.634z",fill:"currentColor"})]})}},38915:function(n,e,t){var i=t(52322);e.Z=function(n){return(0,i.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",...n,children:[(0,i.jsx)("path",{d:"M15 14a1 1 0 100-2H9a1 1 0 100 2h6zM13 9a1 1 0 01-1 1H9a1 1 0 010-2h3a1 1 0 011 1zM15 18a1 1 0 100-2H9a1 1 0 100 2h6z",fill:"currentColor"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 2a3 3 0 00-3 3v14a3 3 0 003 3h10a3 3 0 003-3V8a6 6 0 00-6-6H7zm8 4V4.126A4.007 4.007 0 0117.874 7H16a1 1 0 01-1-1zm1 3h2v10a1 1 0 01-1 1H7a1 1 0 01-1-1V5a1 1 0 011-1h6v2a3 3 0 003 3z",fill:"currentColor"})]})}},40748:function(n,e,t){t.d(e,{e:function(){return l}});var i=t(2784),a=t(17055);function l(n){let{eventId:e,communityId:t,planningId:l}=n,r=(0,a.pT)();return(0,i.useCallback)(()=>{(e||t)&&r.sendEvent({type:"planning_stream_start",planning_id:l,event_id:e,community_id:t})},[r,e,l,t])}},28188:function(n,e,t){t.d(e,{l:function(){return l}});var i=t(2784),a=t(17055);function l(n){let{eventId:e,communityId:t,planningId:l}=n,r=(0,a.pT)();return(0,i.useCallback)(n=>{let{duration:i}=n;(e||t)&&r.sendEvent({type:"planning_stream_stop",planning_id:l,duration:"".concat(i,"ms"),event_id:e,community_id:t})},[r,e,l,t])}},72020:function(n,e,t){t.d(e,{j:function(){return r}});var i=t(2784),a=t(82682),l=t(47791);function r(n){let{streamId:e}=n,t=(0,i.useRef)((0,a.Z)()),r=(0,l.$)();
1return{watchStream:(0,i.useCallback)(()=>{r({id:t.current,type:"watch_stream",payload:{stream_id:e}})},[r,e]),leaveStream:(0,i.useCallback)(()=>{r({id:t.current,type:"leave_stream",payload:{stream_id:e}})},[r,e]),watchInterval:3e4}}},54495:function(n,e,t){t.d(e,{A:function(){return i}});function i(n,e){let t="string"==typeof n?new Date(n):n,i="string"==typeof e?new Date(e):e;return t.getTime()>i.getTime()}},14090:function(n,e,t){t.d(e,{$A:function(){return d.$},I5:function(){return c},ZP:function(){return s}});var i=t(52322),a=t(2784),l=t(5045),r=t(42979),o=t(87553),d=t(3864);function s(n){let{switchProps:e,label:t,...l}=n,o=(0,a.useId)(),{id:s,...c}=e,u=null!=s?s:o;return(0,i.jsxs)(d.w,{...l,children:[(0,i.jsx)(d.$,{htmlFor:u,children:t}),(0,i.jsx)(r.Z,{...c,id:u})]})}function c(n){return(0,i.jsxs)(o.sb,{...n,children:[(0,i.jsx)(l.T,{lines:1,style:{width:"100%"}}),(0,i.jsx)(r.a,{})]})}}}]);
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.