1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5330],{33790:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[program]/podcast/[id]/[podcastSlug]",function(){return a(41759)}])},53109:function(e,t,a){"use strict";a.d(t,{sN:function(){return l}});var r=a(70727),s=a(61920);let l=async(e,t,a)=>{let{ProgramUrlName:l,...n}=t;if(!l)throw Error("Missing ProgramUrlName");let i=(0,s.n)({ProgramUrlName:l,...n}),c="".concat(r.settings.apiUrl,"/materials?").concat(i);return await r.Lp.get(e,c,a)}},61920:function(e,t,a){"use strict";a.d(t,{n:function(){return r}});let r=e=>Object.keys(e).filter(t=>null!==e[t]&&void 0!==e[t]&&""!==e[t]).map(t=>Array.isArray(e[t])?e[t].map(e=>"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))).join("&"):"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))).join("&")},41759:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return U},default:function(){return P}});var r=a(85893),s=a(70727),l=a(70671),n=a(39015),i=a(34),c=a(26972),o=a(38615),d=a(40422),m=a(87134),u=a(73171),x=a(11163),g=a(67294),p=e=>{let{children:t,categoryLabel:a,totalPages:s}=e;return((0,x.useRouter)(),t)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.Z,{innerWrapperClassName:"bg-white flex flex-col xl:flex-row",id:"list",removeDefaultInnerClasses:!0,outerWrapperClassName:" md:px-6 bg-base-400/40",children:[(0,r.jsx)(u.Z,{children:(0,r.jsx)("h2",{className:"text-xl font-serif-bold shrink-0",children:a})}),(0,r.jsx)(c.Z,{children:(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsxs)("div",{className:"flex-1",children:[t,(0,r.jsx)(d.Z,{totalPages:s||0,shallow:!0,hash:"list"})]}),(0,r.jsx)("div",{className:"hidden 2xl:flex 2xl:max-w-sm 2xl:items-center 2xl:flex-col p-5 gap-5 shrink-0",children:(0,r.jsx)(o.Z,{})})]})})]}),(0,r.jsx)(m.Z,{innerWrapperClassName:"items-center justify-center bg-white 2xl:hidden",outerWrapperClassName:"md:px-6 bg-base-200",children:(0,r.jsx)("div",{className:"flex items-center justify-center gap-5 p-5 flex-wrap",children:(0,r.jsx)(o.Z,{withoutRequest:!0})})})]}):null},h=a(45263),N=a(39242),f=a(53109),b=a(40044),j=a(56969),y=a(81627),C=a(9008),v=a.n(C),w=a(45007),T=e=>{var t,a;let{data:o,programs:d,program:C}=e,T=(0,x.useRouter)(),{page:U,program:P}=T.query,I=(0,y.T_)(),_=(0,b.n)([null==C?void 0:C.UrlName,"podcast",o.Id,o.UrlTitle]),Z=[...o.CategoryName&&o.CategoryUrlTitle?[{name:o.CategoryName,url:(0,b.n)([null==C?void 0:C.UrlName,"category",o.CategoryUrlTitle])}]:[],...o.SubCategoryName&&o.SubCategoryUrlTitle?[{name:o.SubCategoryName,url:(0,b.n)([null==C?void 0:C.UrlName,"category",o.CategoryUrlTitle,o.SubCategoryUrlTitle])}]:[],{name:o.Title}],[k,S]=(0,g.useState)(null),E=(0,w.I0)(),R=async()=>{try{let e=await (0,f.sN)(E,{ProgramUrlName:P||s.settings.defaultProgram,PodcastUrlName:o.UrlTitle,PerPage:16,CurrentPage:Number(U)||1}),t=e.ok&&e.data?e.data:{Items:[],TotalPages:0};S(t)}catch(e){S({Items:[],TotalPages:0})}};return(0,g.useEffect)(()=>{T&&R()},[T.query]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v(),{children:[(0,r.jsxs)("title",{children:[o.Title," - ",o.CategoryName]}),_&&(0,r.jsx)("link",{rel:"canonical",href:_},"canonical")]}),(0,r.jsx)(N.Z,{items:Z}),(0,r.jsxs)(m.Z,{innerWrapperClassName:"bg-base-200",outerWrapperClassName:"bg-base-500/30 md:px-6",children:[(0,r.jsx)(u.Z,{}),(0,r.jsxs)(c.Z,{className:"py-5",removeDefaultPadding:!0,children:[(0,r.jsxs)("div",{className:"xl:w-11/12 px-5 border-l border-base-400",children:[(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row xl:items-center gap-5 ",children:[o.MainImageInstanceId&&(0,r.jsx)("img",{src:(0,j.ZP)(o.MainImageInstanceId),alt:o.Title,className:"rounded-lg w-full aspect-square object-cover max-w-96 xl:max-w-[30rem] shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"text-2xl text-base-600 mb-8",children:[o.CategoryName&&o.CategoryUrlTitle&&(0,r.jsx)(l.Z,{href:"/".concat(P,"/category/").concat(o.CategoryUrlTitle),className:"hover:text-black duration-300",children:o.CategoryName}),o.SubCategoryName&&o.SubCategoryUrlTitle&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.Z,{}),(0,r.jsx)(l.Z,{href:"/".concat(P,"/category/").concat(o.CategoryUrlTitle,"/").concat(o.SubCategoryUrlTitle),className:"hover:text-black duration-300",children:o.SubCategoryName})]})]}),!!o.MaterialsCount&&o.MaterialsCount>1&&(0,r.jsx)("p",{className:"text-sm font-sans-bold text-accentFirst border border-accentFirst uppercase rounded-lg inline-block px-2 py-0.5 mb-3",children:I("podcast.episodesCount",{count:o.MaterialsCount})}),(0,r.jsx)("h1",{className:"text-3xl font-serif-ultrabold",children:o.Title}),o.Presenters&&(0,r.jsx)("div",{className:"whitespace-pre-wrap text-base-600 text-lg mt-1.5",children:o.Presenters})]})]}),(0,r.jsx)("div",{className:"firstLetterLarge w-full",children:o.Description&&(0,r.jsx)("div",{className:"material-section pt-8 pb-12 break-words",dangerouslySetInnerHTML:{__html:o.Description}})})]}),(0,r.jsx)(i.z,{className:"w-20 fill-black px-4 py-2 bg-white rounded-br-lg mb-5 ml-2 lg:ml-0"})]})]}),(0,r.jsx)(p,{categoryLabel:I("podcast.allEpisodes"),totalPages:null!==(a=null==k?void 0:k.TotalPages)&&void 0!==a?a:0,children:(null==k?void 0:null===(t=k.Items)||void 0===t?void 0:t.length)?(0,r.jsx)("div",{className:"md:grid md:grid-cols-2 gap-5",children:k.Items.map(e=>(0,r.jsx)(n.Z,{item:e,titleTag:"h2",afterTitleKey:"PodcastName",beforeTitleKey:"SubCategoryName"},e.Id))}):(0,r.jsx)("p",{className:"text-lg text-base-600 text-center",children:I("search.noResults")})})]})},U=!0,P=e=>{let{data:t,programs:a,program:s}=e;return(0,r.jsx)(T,{data:t,programs:a,program:s})}}},function(e){e.O(0,[2156,6259,2435,2888,9774,179],function(){return e(e.s=33790)}),_N_E=e.O()}]);
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.