1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:mentortools-frontend":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ed112d27-1ea8-48f9-a3d3-a545a759cf8a",e._sentryDebugIdIdentifier="sentry-dbid-ed112d27-1ea8-48f9-a3d3-a545a759cf8a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9414],{3221:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(44501),n=r(40670),s=r(14232),i=r(98260),o=r(79219),l=r(37876);let d=["children"],c=s.forwardRef(function(e,t){let{children:r}=e,c=(0,n.A)(e,d),u=(0,o.QM)();if(null===u)throw TypeError("No TabContext provided");let p=s.Children.map(r,e=>s.isValidElement(e)?s.cloneElement(e,{"aria-controls":(0,o.eR)(u,e.props.value),id:(0,o.vU)(u,e.props.value)}):null);return(0,l.jsx)(i.A,(0,a.A)({},c,{ref:t,value:u.value,children:p}))})},54243:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>Q,default:()=>K});var a=r(37876),n=r(62902),s=r(64713),i=r(5157),o=r(30942),l=r(14232),d=r(79219),c=r(79378),u=r(66950),p=r(22208),m=r(18664),y=r(66664),x=r(27874),g=r(31941),h=r(7425),f=r(76068),A=r(97009),v=r(89099),b=r(94277),j=r(69884),w=r(74234);let S=(0,s.Ay)(u.A,{shouldForwardProp:e=>"foreground"!==e&&"background"!==e})(({theme:e,foreground:t,background:r})=>({display:"inline-flex",alignItems:"center",gap:e.spacing(1.5),padding:e.spacing(1,2.5),borderRadius:4*e.shape.borderRadius,fontSize:12,fontWeight:600,lineHeight:1.4,color:t,backgroundColor:r,whiteSpace:"nowrap"})),L=(0,s.Ay)(u.A,{shouldForwardProp:e=>"foreground"!==e})(({foreground:e})=>({width:7,height:7,borderRadius:"50%",backgroundColor:e})),C=({children:e,color:t="neutral",dot:r=!1})=>{let n=(0,w.A)(),{fg:s,bg:i}={neutral:{fg:n.palette.text.secondary,bg:n.colorWithOpacity(n.palette.customColors.main,8)},primary:{fg:n.palette.primary.main,bg:n.colorWithOpacity(n.palette.primary.main,10)},success:{fg:n.palette.success.main,bg:n.colorWithOpacity(n.palette.success.main,12)},error:{fg:n.palette.error.main,bg:n.colorWithOpacity(n.palette.error.main,12)}}[t];return(0,a.jsxs)(S,{component:"span",foreground:s,background:i,"data-sentry-element":"TagRoot","data-sentry-component":"Tag","data-sentry-source-file":"Tag.tsx",children:[r&&(0,a.jsx)(L,{component:"span",foreground:s}),e]})},E=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"column",gap:e.spacing(5),padding:e.spacing(5),borderRadius:2*e.shape.borderRadius,background:"linear-gradient(90deg, #0B1020 0%, #1A1330 100%)",color:e.palette.common.white,[e.breakpoints.up("md")]:{flexDirection:"row",alignItems:"center"}})),I=(0,s.Ay)(b.A)(({theme:e})=>({width:96,height:96,backgroundColor:e.palette.primary.main,fontSize:28,fontWeight:600})),k=(0,s.Ay)(u.A)(()=>({position:"absolute",bottom:-8,left:"50%",transform:"translateX(-50%)"})),P=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"row",alignItems:"center",gap:e.spacing(3),marginBottom:e.spacing(1.5)})),N=(0,s.Ay)(u.A)(({theme:e})=>({width:8,height:8,borderRadius:"50%",backgroundColor:e.palette.error.main})),T=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"row",alignItems:"center",flexWrap:"wrap",gap:e.spacing(3)})),H=({stream:e})=>{let t=(0,v.useRouter)(),{t:r}=(0,o.o)();return(0,a.jsxs)(E,{"data-sentry-element":"LiveNowHeroRoot","data-sentry-component":"LiveNowHero","data-sentry-source-file":"LiveNowHero.tsx",children:[(0,a.jsxs)(u.A,{sx:{position:"relative",flexShrink:0},"data-sentry-element":"Box","data-sentry-source-file":"LiveNowHero.tsx",children:[(0,a.jsx)(I,{variant:"rounded","data-sentry-element":"HostAvatar","data-sentry-source-file":"LiveNowHero.tsx",children:e.host.split(" ").map(e=>e[0]).join("")}),(0,a.jsx)(k,{"data-sentry-element":"TagPosition","data-sentry-source-file":"LiveNowHero.tsx",children:(0,a.jsx)(C,{color:"error",dot:!0,"data-sentry-element":"Tag","data-sentry-source-file":"LiveNowHero.tsx",children:r("PAGE.LIVE.list.status.live").toUpperCase()})})]}),(0,a.jsxs)(u.A,{sx:{flex:1,minWidth:0},"data-sentry-element":"Box","data-sentry-source-file":"LiveNowHero.tsx",children:[(0,a.jsxs)(P,{"data-sentry-element":"LiveNowHeading","data-sentry-source-file":"LiveNowHero.tsx",children:[(0,a.jsxs)(n.A,{direction:"row",alignItems:"center",spacing:1.5,"data-sentry-element":"Stack","data-sentry-source-file":"LiveNowHero.tsx",children:[(0,a.jsx)(N,{"data-sentry-element":"LiveDot","data-sentry-source-file":"LiveNowHero.tsx"}),(0,a.jsx)(g.A,{variant:"caption",sx:{fontWeight:700,letterSpacing:1,color:"error.light"},"data-sentry-element":"Typography","data-sentry-source-file":"LiveNowHero.tsx",children:r("PAGE.LIVE.list.liveNow").toUpperCase()})]}),(0,a.jsxs)(g.A,{variant:"caption",sx:{color:"grey.400"},"data-sentry-element":"Typography","data-sentry-source-file":"LiveNowHero.tsx",children:["\xb7 ",r("PAGE.LIVE.list.watching",{count:e.viewers??0})]})]}),(0,a.jsx)(g.A,{variant:"h4",sx:{fontWeight:700},"data-sentry-element":"Typography","data-sentry-source-file":"LiveNowHero.tsx",children:e.title}),(0,a.jsx)(g.A,{variant:"body2",sx:{color:"grey.400",mb:2.5},"data-sentry-element":"Typography","data-sentry-source-file":"LiveNowHero.tsx",children:e.description}),(0,a.jsx)(T,{"data-sentry-element":"StreamDetails","data-sentry-source-file":"LiveNowHero.tsx",children:(0,a.jsx)(C,{"data-sentry-element":"Tag","data-sentry-source-file":"LiveNowHero.tsx",children:r("PAGE.LIVE.list.source.camera")})})]}),(0,a.jsx)(p.A,{variant:"contained",color:"error",size:"large",startIcon:(0,a.jsx)(i.A,{icon:"tabler:point-filled",fontSize:18}),onClick:()=>t.push(j.C.liveStudio.replace("[streamId]",e.id)),"data-sentry-element":"Button","data-sentry-source-file":"LiveNowHero.tsx",children:r("PAGE.LIVE.list.joinStudio")})]})};var _=r(19610),M=r(44114);let R={camera:"PAGE.LIVE.list.source.camera",screen:"PAGE.LIVE.list.source.screen",cam_screen:"PAGE.LIVE.list.source.cam_screen"},D=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"column",gap:e.spacing(5),padding:e.spacing(5),[e.breakpoints.up("md")]:{flexDirection:"row",alignItems:"center"}})),W=(0,s.Ay)(n.A)(({theme:e})=>({alignItems:"center",justifyContent:"center",width:64,height:64,borderRadius:1.5*e.shape.borderRadius,flexShrink:0,backgroundColor:e.palette.action.hover})),V=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"row",alignItems:"center",flexWrap:"wrap",gap:e.spacing(3)})),G=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"row",alignItems:"center",gap:e.spacing(1.5),color:e.palette.text.secondary})),B=({stream:e})=>{let t=(0,v.useRouter)(),{t:r}=(0,o.o)(),s="completed"===e.status;return(0,a.jsx)(_.A,{"data-sentry-element":"Card","data-sentry-component":"StreamCard","data-sentry-source-file":"StreamCard.tsx",children:(0,a.jsxs)(D,{"data-sentry-element":"StreamCardContent","data-sentry-source-file":"StreamCard.tsx",children:[(0,a.jsxs)(W,{"data-sentry-element":"StreamDate","data-sentry-source-file":"StreamCard.tsx",children:[(0,a.jsx)(g.A,{variant:"caption",sx:{color:"text.secondary",letterSpacing:1},"data-sentry-element":"Typography","data-sentry-source-file":"StreamCard.tsx",children:e.month}),(0,a.jsx)(g.A,{variant:"h4",sx:{fontWeight:700,lineHeight:1},"data-sentry-element":"Typography","data-sentry-source-file":"StreamCard.tsx",children:e.day})]}),(0,a.jsxs)(u.A,{sx:{flex:1,minWidth:0},"data-sentry-element":"Box","data-sentry-source-file":"StreamCard.tsx",children:[(0,a.jsx)(g.A,{variant:"h5",sx:{fontWeight:600},"data-sentry-element":"Typography","data-sentry-source-file":"StreamCard.tsx",children:e.title}),(0,a.jsx)(g.A,{variant:"body2",sx:{color:"text.secondary",mb:2.5},"data-sentry-element":"Typography","data-sentry-source-file":"StreamCard.tsx",children:e.description}),(0,a.jsxs)(V,{"data-sentry-element":"StreamMetadata","data-sentry-source-file":"StreamCard.tsx",children:[(0,a.jsxs)(G,{"data-sentry-element":"MetadataItem","data-sentry-source-file":"StreamCard.tsx",children:[(0,a.jsx)(i.A,{icon:"tabler:clock",fontSize:16,"data-sentry-element":"Icon","data-sentry-source-file":"StreamCard.tsx"}),(0,a.jsx)(g.A,{variant:"caption","data-sentry-element":"Typography","data-sentry-source-file":"StreamCard.tsx",children:e.time})]}),(0,a.jsx)(M.A,{rounded:!0,skin:"light",size:"small",color:"secondary",label:r(R[e.source]),"data-sentry-element":"CustomChip","data-sentry-source-file":"StreamCard.tsx"}),e.moduleLabel&&(0,a.jsx)(M.A,{rounded:!0,skin:"light",size:"small",color:"primary",label:e.moduleLabel})]})]}),(0,a.jsxs)(n.A,{direction:"row",alignItems:"center",spacing:4,"data-sentry-element":"Stack","data-sentry-source-file":"StreamCard.tsx",children:[(0,a.jsx)(M.A,{rounded:!0,skin:"light",size:"small",color:s?"secondary":"primary",label:r(s?"PAGE.LIVE.list.status.completed":"PAGE.LIVE.list.status.scheduled"),"data-sentry-element":"CustomChip","data-sentry-source-file":"StreamCard.tsx"}),(0,a.jsx)(p.A,{variant:"contained",color:s?"secondary":"primary",endIcon:(0,a.jsx)(i.A,{icon:"tabler:chevron-right",fontSize:18}),onClick:()=>{let r=s?j.C.liveRecap:j.C.liveStudio;t.push(r.replace("[streamId]",e.id))},"data-sentry-element":"Button","data-sentry-source-file":"StreamCard.tsx",children:r(s?"PAGE.LIVE.list.viewRecap":"PAGE.LIVE.list.o
1penStudio")})]})]})})};var z=r(75140);let O=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"row",justifyContent:"space-between",alignItems:"flex-start",gap:e.spacing(4)})),$=(0,s.Ay)(m.A,{shouldForwardProp:e=>"active"!==e})(({theme:e,active:t})=>({height:20,minWidth:20,borderRadius:10,fontSize:11,fontWeight:700,lineHeight:1,backgroundColor:t?e.palette.common.white:e.palette.background.paper,color:t?e.palette.primary.dark:e.palette.text.primary,border:`1px solid ${t?e.palette.common.white:e.palette.divider}`,boxShadow:t?"0 1px 2px rgba(0, 0, 0, 0.2)":"0 1px 2px rgba(0, 0, 0, 0.08)","& .MuiChip-label":{paddingLeft:e.spacing(1),paddingRight:e.spacing(1)}})),F=()=>{let{t:e}=(0,o.o)("translation",{keyPrefix:"PAGE.LIVE.list"}),{liveStream:t,upcomingStreams:r,pastStreams:s,isLoading:m,isError:v,error:b,refetch:j}=(0,h.p)(),[w,S]=(0,l.useState)("upcoming"),{isOpen:L,close:C,open:E}=(0,f.A)(),I="upcoming"===w?r:s,k=(e,t,r)=>(0,a.jsxs)(n.A,{direction:"row",alignItems:"center",spacing:2,"data-sentry-element":"Stack","data-sentry-component":"renderTabLabel","data-sentry-source-file":"LiveStreamsList.tsx",children:[(0,a.jsx)("span",{children:e}),(0,a.jsx)($,{label:t,size:"small",active:r,"data-sentry-element":"StreamCountBadge","data-sentry-source-file":"LiveStreamsList.tsx"})]});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(O,{"data-sentry-element":"StreamsHeader","data-sentry-source-file":"LiveStreamsList.tsx",children:[(0,a.jsxs)(u.A,{"data-sentry-element":"Box","data-sentry-source-file":"LiveStreamsList.tsx",children:[(0,a.jsx)(g.A,{variant:"h2","data-sentry-element":"Typography","data-sentry-source-file":"LiveStreamsList.tsx",children:e("title")}),(0,a.jsx)(g.A,{variant:"body1",sx:{color:"text.secondary"},"data-sentry-element":"Typography","data-sentry-source-file":"LiveStreamsList.tsx",children:e("subtitle")})]}),(0,a.jsx)(p.A,{variant:"contained",startIcon:(0,a.jsx)(i.A,{icon:"tabler:plus",fontSize:18}),onClick:E,"data-sentry-element":"Button","data-sentry-source-file":"LiveStreamsList.tsx",children:e("scheduleNew")})]}),(0,a.jsx)(z.$,{isOpen:L,onClose:C,"data-sentry-element":"LiveStreamFormDialog","data-sentry-source-file":"LiveStreamsList.tsx"}),v&&(0,a.jsx)(c.A,{severity:"error",action:(0,a.jsx)(p.A,{onClick:()=>j(),children:"Retry"}),children:b instanceof Error?b.message:e("loadError")}),m&&!t&&0===r.length&&0===s.length?(0,a.jsx)(n.A,{alignItems:"center",py:10,children:(0,a.jsx)(y.A,{})}):(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(H,{stream:t}),(0,a.jsx)(d.Ay,{value:w,children:(0,a.jsxs)(A.w,{onChange:(e,t)=>
1S(t),"aria-label":"live streams tabs",children:[(0,a.jsx)(x.A,{value:"upcoming",label:k(e("tabs.upcoming"),r.length,"upcoming"===w)}),(0,a.jsx)(x.A,{value:"past",label:k(e("tabs.past"),s.length,"past"===w)})]})}),I.length?(0,a.jsx)(n.A,{spacing:4,children:I.map(e=>(0,a.jsx)(B,{stream:e},e.id))}):(0,a.jsx)(g.A,{variant:"body2",sx:{color:"text.secondary",textAlign:"center",py:10},children:e("upcoming"===w?"emptyUpcoming":"emptyPast")})]})]})};var U=r(68010);let X=(0,s.Ay)(n.A)(({theme:e})=>({flexDirection:"column",gap:e.spacing(6.5)}));var Q=!0;let K=()=>{let{t:e}=(0,o.o)();return(0,a.jsxs)(X,{"data-sentry-element":"PageContainer","data-sentry-component":"LivePage","data-sentry-source-file":"index.tsx",children:[(0,a.jsx)(U.A,{separator:(0,a.jsx)(i.A,{icon:"tabler:chevron-right"}),data:[{text:e("NAVIGATION.live"),isActive:!0},{text:e("PAGE.LIVE.list.title"),isActive:!0}],"data-sentry-element":"BreadCrumbs","data-sentry-source-file":"index.tsx"}),(0,a.jsx)(F,{"data-sentry-element":"LiveStreamsList","data-sentry-source-file":"index.tsx"})]})}},70355:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/live",function(){return r(54243)}])},79219:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>i,QM:()=>o,eR:()=>l,vU:()=>d});var a=r(14232),n=r(37876);let s=a.createContext(null);function i(e){let{children:t,value:r}=e,i=function(){let[e,t]=a.useState(null);return a.useEffect(()=>{t(`mui-p-${Math.round(1e5*Math.random())}`)},[]),e}(),o=a.useMemo(()=>({idPrefix:i,value:r}),[i,r]);return(0,n.jsx)(s.Provider,{value:o,children:t})}function o(){return a.useContext(s)}function l(e,t){let{idPrefix:r}=e;return null===r?null:`${e.idPrefix}-P-${t}`}function d(e,t){let{idPrefix:r}=e;return null===r?null:`${e.idPrefix}-T-${t}`}},97009:(e,t,r)=>{"use strict";r.d(t,{w:()=>s});var a=r(64713),n=r(3221);let s=(0,a.Ay)(n.A)(({theme:e})=>({borderBottom:"0 !important","&, & .MuiTabs-scroller":{boxSizing:"content-box",padding:e.spacing(1.25,1.25,2),margin:`${e.spacing(-1.25,-1.25,-2)} !important`},".MuiTabs-scrollButtons.Mui-disabled":{opacity:.3},"& .MuiTabs-indicator":{display:"none"},"& .Mui-selected":{boxShadow:e.shadows[2],backgroundColor:e.palette.primary.main,color:`${e.palette.common.white} !important`},"& .MuiTab-root":{minWidth:65,minHeight:38,lineHeight:1,borderRadius:e.shape.borderRadius,"&:hover":{color:e.palette.primary.main}}}))}},e=>{e.O(0,[3220,9619,636,6593,8792],()=>e(e.s=70355)),_N_E=e.O()}]); 2//# sourceMappingURL=live-2e1ebc0191112207.js.map
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.