1import{_ as y}from"./nuxt-link.f3a183e1.js";import{_ as b}from"./DefaultUserIcon.46e8c7fe.js";import{_ as v}from"./SocialIcon.39a3f9ee.js";import{f as L,h as t,i as s,m as a,p as m,w as g,t as w,F as n,n as p,q as i,k as T,s as I,j as r,l as _}from"./entry.7e9c818d.js";function P(e){return e==="instagram"?"Instagram":e==="youtube"?"YouTube":e==="x"?"X":e==="apple-podcasts"?"Apple Podcasts":e==="spotify"?"Spotify":e==="tiktok"?"TikTok":e==="linkedin"?"LinkedIn":e==="facebook"?"Facebook":e}const U=""+globalThis.__publicAssetsURL("img/podcastai-powered-by-light.svg"),j=""+globalThis.__publicAssetsURL("img/podcastai-powered-by-dark.svg"),R=""+globalThis.__publicAssetsURL("img/podcastai-icon.avif"),S=""+globalThis.__publicAssetsURL("img/podcastai-icon.jpg");const A=R,B={class:"flex flex-row md:flex-col gap-x-4 gap-y-5"},D={class:"flex-shrink-0"},N={key:0},q=["src","alt"],V={key:0},C=["src","alt"],F={key:1,class:"bg-black w-28 sm:w-36 md:w-full aspect-square rounded-lg drop-shadow"},O={class:"text-left md:text-center"},z={class:"text-lg md:text-xl lg:text-2xl text-gray-900 dark:text-white font-semibold"},E={class:"mt-0 sm:mt-1 text-xs sm:text-sm text-gray-600 dark:text-neutral-400 line-clamp-3 sm:line-clamp-4 md:line-clamp-none"},X={key:0,class:"mt-2 sm:mt-3 flex-shrink-0"},Y={class:"flex -space-x-1 justify-left md:justify-center"},$={key:0},G=["src","alt"],H={key:0,class:"my-6 justify-center"},J=["href"],K={key:0,class:"shine"},M={key:1,class:"flex gap-1 flex-wrap mt-6 justify-center"},Q=["href"],W=["href"],Z=["href","aria-label"],ee={key:2,class:"mt-6"},te=a("div",{class:"flex justify-center mb-3"},[a("img",{class:"w-[135px] h-[12px] dark:hidden",src:U,alt:"PodcastAI"}),a("img",{class:"w-[135px] h-[12px] hidden dark:block",src:j,alt:"PodcastAI"})],-1),se=a("picture",null,[a("source",{srcset:A,type:"image/avif"}),a("img",{class:"w-8 h-8 rounded-lg drop-shadow mx-auto",src:S,alt:"PodcastAI"})],-1),ae={__name:"PortalSideBar",props:{show:{type:Object,default:null},episode:{type:Object,default:null}},setup(e){const f=e,k=L(()=>{var l,c;return((c=(l=f.show)==null?void 0:l.portalSettings)==null?void 0:c.showPoweredBy)!==!1});return(l,c)=>{const d=y,x=b,h=v;return t(),s(n,null,[a("div",B,[a("div",D,[e.episode&&e.episode.imageURL?(t(),s("picture",N,[a("img",{src:e.episode.imageURL,class:"bg-black w-28 sm:w-36 md:w-full aspect-square rounded-lg drop-shadow",alt:e.episode.title},null,8,q)])):(t(),m(d,{key:1,to:"/"},{default:g(()=>[e.show.imageURL?(t(),s("picture",V,[a("img",{src:e.show.imageURL,class:"bg-black w-28 sm:w-36 md:w-full aspect-square rounded-lg drop-shadow",alt:e.show.title},null,8,C)])):(t(),s("div",F))]),_:1}))]),a("div",O,[a("div",z,w(e.show.title),1),a("div",E,w(e.show.description),1),e.show.hosts.length>0?(t(),s("div",X,[a("div",Y,[(t(!0),s(n,null,p(e.show.hosts,o=>(t(),m(d,{key:o.name,to:"/hosts/"+o.handle},{default:g(()=>[o.imageURL?(t(),s("picture",$,[a("img",{class:"inline-block h-6 w-6 rounded-full ring-2 ring-gray-100 dark:ring-neutral-800",src:o.imageURL,alt:o.name},null,8,G)])):(t(),m(x,{key:1,class:"inline-block h-6 w-6 rounded-full ring-2 ring-gray-100 dark:ring-neutral-800 bg-white"}))]),_:2},1032,["to"]))),128))])])):i("",!0)])]),e.show.links?(t(),s("div",H,[(t(!0),s(n,null,p(e.show.links,(o,u)=>(t(),s("a",{key:u,href:o.url,target:"_new"},[a("button",{class:I([o.special?"relative overflow-hidden ring-black dark:ring-white/20 dark:hover:dark:ring-white/10 bg-black hover:bg-neutral-700 dark:hover:bg-white/20 text-neutral-100":"ring-gray-300 dark:ring-white/10 bg-white dark:bg-white/10 text-gray-900 dark:text-neutral-100 hover:bg-gray-950/5 dark:hover:bg-white/20","transition-colors duration-200 flex w-full justify-center rounded-md px-2 py-2 ring-1 ring-inset shadow-sm text-center text-sm mb-2"])},[T(w(o.title)+" ",1),o.special?(t(),s("span",K)):i("",!0)],2)],8,J))),128))])):i("",!0),e.show.socials||e.show.applePodcastsID||e.show.spotifyShowID?(t(),s("div",M,[e.show.applePodcastsID?(t(),s("a",{key:0,href:"https://podcasts.apple.com/podcast/id"+e.show.applePodcastsID,target:"_new","aria-label":"Apple Podcasts"},[r(h,{type:"apple-podcasts",class:"h-8 w-8 p-2 text-black dark:text-white"})],8,Q)):i("",!0),e.show.spotifyShowID?(t(),s("a",{key:1,href:"https://open.spotify.com/show/"+e.show.spotifyShowID,target:"_new","aria-label":"Spotify"},[r(h,{type:"spotify",class:"h-8 w-8 p-2 text-black dark:text-white"})],8,W)):i("",!0),(t(!0),s(n,null,p(e.show.socials,(o,u)=>(t(),s("a",{key:u,href:o.url,target:"_new","aria-label":("socialTypeToLabel"in l?l.socialTypeToLabel:_(P))(o.type)},[r(h,{type:o.type,class:"h-8 w-8 p-2 text-black dark:text-white"},null,8,["type"])],8,Z))),128))])):i("",!0),_(k)?(t(),s("div",ee,[r(d,{to:"https://podcastai.com",target:"_new"},{default:g(()=>[te,se]),_:1})])):i("",!0)],64)}}},re=ae;export{re as _,P as s};
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.