1import{e as U,s as v,j as e,aj as X,a2 as Y,r as G,f as H,a9 as c,ad as K,$ as w,l as x,x as j,E as y,n as O,O as Z,a8 as W,aJ as D}from"./index-vaiBTE8b.js";import{P as q}from"./page-breadcrumbs-CImh65nA.js";import{S as J}from"./search-DylU3Jnb.js";import{C as $}from"./chevron-left-CTUgX0TH.js";/** 2 * @license lucide-react v0.453.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const d=U("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);function _(l){if(typeof l!="string"||!/^[1-9]\d*$/.test(l))return 1;const a=Number(l);return Number.isSafeInteger(a)&&a<=1e5?a:1}function N(l=1,a=""){const s=new URLSearchParams;return l>1&&s.set("page",String(l)),a.trim()&&s.set("q",a.trim().slice(0,200)),`/podcast${s.size?`?${s}`:""}`}function ee(l=1,a=""){return["/api/podcast/videos",l,a]}function te(l=1){return["/api/podcast/sections",l]}const se="/assets/ledn-logo-B2XDVApU.png",T="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAACWCAMAAAAi9LwSAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACmlBMVEUAAADxBwf0BQj1Awf0BAf0BAf0BAj1BAf0BAf0BAf0BAf1BAf0BAjzAwb0AAv/AADyBAn1Awf0BAf0BAfzBAjyBwf/AAD1BQf1AwfzBAbzAwb/AAD/AAD0BAf0BAf0BAf/AAD1BQj0BAf0BAfzAwb0BAf0BAf0BQf1Awf0BAf0BQjyBAn0BAfyAA31BQX0BAf0BAfxAADyBgb0BQb0BAf0BAbqAAD3AAj0Awb0BAf0BAfyAA30BAj0BAbvAADzBAj0BAf2BQn/AAD0BAf0Awj0Awf0BAftAAD0BAj0BAf0BAj0BAf/AAD2BQXzAwbzBgb1BQj1BAf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GhZTwo+vxA/mvpEGjfaLCTg1mSSsDnEt7z1KT44jawkNuPXUzKlwQOnHyJMcSf5PylyQoMO1gbPkuYHZmU670wXrGjgzygaFRyy5+Xioomj5kDgalsBRUakRtkmpJZHqYEPjkIaDShyuxuHVXbcQZuGVCqZ2z9foPKqkYLjALlFnN4lD/hMFKTWETkvYqxI7VTn57KoTl3C6V0y3ooOZyELNc+rzl9WtVw7R9ikU3t8a3xg+oraazRmn3Ky4fo3oOwZUI+sWyArjfncbxOiapowTJqot+dBYfpCmsEZEcd1XpU0EnWK48IvJRu+IpA7fNHL/UogV1rFPVYjkPu1N1uvvyyQWzhNlOuilvma5EsaEMe1fiM50ZfEcQu+lV774srlYd/5uG3CuKHtPndSlShubjVpjY9KEX3kNT4KxV2fV22bEoCdVxf4VzPcsT0T38s50f28P13XtKzzvtbCFWvJvKqU9uTKNd5QbovniB3Zq5IYa+eGzepTTQQu5YT9wRRgvug8F+yPMk0B/g2gHE71bCPK6AfzDtDe2m6k1nzGTWRhPzUgjiL8zBLb5jqOPuvI0ExVrscZTStghNVVZuDN1lxgZB3TcGeJdrPARg8RzOPRd3KXnSMaFmuixPYHNlMKWcswGqx87xKa9pNjlXqX0FQXT2qmbA2ASkNEN8Wm8XzqAdclBE5c5kYGA73uX3CtY8pZNhPMJb/imamTzEa2I5PQsStXsJxRT+9CxA6aGA/lZ/+G5MTFaAFraZMDZp1aDK2Ah9q7AsSadYCTtGPKMVzv79WAoxLWyP/tQ9F1rthbuvHHpH827s9reiBEh/8an4kfcELdgsnO03+v04L/j/4BZcLn+yzg15cAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjUtMDQtMTRUMTE6MDA6MjYrMDA6MDCchhGgAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDI1LTA0LTE0VDExOjAwOjI2KzAwOjAw7dupHAAAAABJRU5ErkJggg==";function ae(){const{data:l=[]}=v({queryKey:["/api/podcast-guests"]}),a=l.filter(i=>i.status==="Published"||i.status==="published"||i.status==="Live");
6if(a.length===0)return null;const s=[...a,...a,...a];return e.jsxs("div",{className:"w-full py-4 overflow-hidden","data-testid":"podcast-guest-ticker",children:[e.jsx("div",{className:"overflow-hidden relative",children:e.jsx("div",{className:"flex gap-4 animate-scroll-left",children:s.map((i,A)=>{const n=i.name.trim().split(" "),m=n[0]||"",g=n.slice(1).join(" ")||"",u=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-12 h-12 rounded-full overflow-hidden",children:e.jsx("img",{src:`/api/podcast-guests/${i.id}/image`,alt:i.name,className:"w-full h-full object-cover grayscale hover:grayscale-0 transition-all duration-300",loading:"lazy",width:48,height:48})}),e.jsxs("div",{className:"w-12 text-center",children:[e.jsx("p",{className:"text-[8px] text-gray-600 leading-[1.2] font-sans",children:m}),g&&e.jsx("p",{className:"text-[8px] text-gray-600 leading-[1.2] font-sans",children:g})]})]});return e.jsx("div",{className:"flex-shrink-0","data-testid":`guest-${i.id}-${A}`,children:i.link?e.jsx("a",{href:i.link,target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center gap-1 cursor-pointer","data-testid":`guest-link-${i.id}`,children:u}):e.jsx("div",{className:"flex flex-col items-center gap-1",children:u})},`${i.id}-${A}`)})})}),e.jsx("style",{children:` 7 @keyframes scroll-left { 8 0% { 9 transform: translateX(0); 10 } 11 100% { 12 transform: translateX(-33.333%); 13 } 14 } 15 16 .animate-scroll-left { 17 animation: scroll-left 40s linear infinite; 18 } 19 20 .animate-scroll-left:hover { 21 animation-play-state: paused; 22 } 23 `})]})}function oe(){const l=new URLSearchParams(X()),a=_(l.get("page")),s=(l.get("q")||"").trim().slice(0,200);Y({title:"Bitcoin Finance Podcast: Expert Interviews on Lending, ETFs and Custody | 21Rates",description:"Weekly conversations with Bitcoin lenders, custodians, and fund managers. Hosted by 21Rates. New episodes every week.",canonicalPath:N(a),noindex:!!s,ogImage:"https://21rates.com/og-logo-square.png"});const[i,A]=G.useState(1),{data:n,isFetching:m,isError:g,refetch:u}=v({queryKey:te(i),queryFn:async({signal:t})=>{const o=await fetch(`/api/podcast/sections?page=${i}`,{signal:t});if(!o.ok)throw new Error("Failed to fetch podcast sections");return o.json()},staleTime:6e4,placeholderData:D,enabled:!s}),{data:r,isLoading:p,isError:S,isFetching:L,isPlaceholderData:b,refetch:R}=v({queryKey:ee(a,s),queryFn:async({signal:t})=>{const o=await fetch(`/api/podcast/videos?page=${a}&q=${encodeURIComponent(s)}`,{signal:t});if(!o.ok)throw new Error("Failed to fetch videos");return o.json()},staleTime:6e4,placeholderData:D}),z=(r==null?void 0:r.videos)||[],C=(n==null?void 0:n.featured)||[],M=(n==null?void 0:n.shorts)||[],I=z,h=t=>t.videoTitleSeo||t.h1||`YouTube Video ${t.youtubeVideoId}`||"Untitled Video",P=t=>t.verticalThumbnailUrl||t.thumbnailUrl,E=C,k=M,V=I,F=z,Q=t=>t?(typeof t=="string"?new Date(t):t).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"Unknown date",B=t=>t||"";return e.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-orange-50 to-white",children:[e.jsx(H,{}),e.jsx(ae,{}),e.jsxs("main",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8","data-loaded":p?void 0:"true",children:[e.jsx(c,{delay:.05,children:e.jsx(q,{currentPageTitle:"Podcast"})}),e.jsxs(c,{className:"text-center mb-12",children:[e.jsxs("h1",{className:"text-4xl font-bold mb-4 font-satoshi",children:[e.jsx("span",{className:"text-brand-500",children:"Bitcoin"})," ",e.jsx("span",{className:"text-black",children:"Podcast & Videos"})]}),e.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Expert insights on Bitcoin lending, custody, ETFs, and financial services. Watch our latest episodes for in-depth analysis and educational content."})]}),e.jsx(c,{delay:.1,children:e.jsxs("div",{className:"max-w-2xl mx-auto mb-8",children:[e.jsxs("form",{action:"/podcast",method:"get",className:"relative",children:[e.jsx("button",{type:"submit","aria-label":"Search videos",className:"absolute inset-y-0 left-0 pl-4 flex items-center",children:e.jsx(J,{className:"h-5 w-5 text-gray-500"})}),e.jsx("input",{type:"text",placeholder:"Search videos, titles, channels, or topics...",name:"q","aria-label":"Search podcast videos",defaultValue:s,
23className:"w-full pl-12 pr-12 py-4 text-lg border border-gray-200 rounded-2xl bg-white/80 backdrop-blur-sm focus:outline-none focus:ring-2 focus:ring-brand-500/20 focus:border-brand-500/50 transition-all duration-200 shadow-sm hover:shadow-md"},s),s&&e.jsx("a",{href:"/podcast","aria-label":"Clear search",className:"absolute inset-y-0 right-0 pr-4 flex items-center text-gray-400 hover:text-gray-600 transition-colors",children:e.jsx(K,{className:"h-5 w-5"})})]}),s&&e.jsx("div",{className:"mt-3 text-sm text-gray-600 text-center",children:(r==null?void 0:r.total)===0?"No videos found matching your search":`Found ${(r==null?void 0:r.total)||0} video${(r==null?void 0:r.total)===1?"":"s"} matching "${s}"`})]})}),p&&e.jsx("div",{className:"flex justify-center items-center py-12",children:e.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-orange-600"})}),!s&&E.length>0&&e.jsx(c,{delay:.2,children:e.jsxs("div",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("h2",{className:"text-gray-600 text-[18px]",children:"Featured Insights Brought to You by"}),e.jsx("a",{href:"https://www.ledn.io?utm_source=21rates&utm_medium=referral&utm_campaign=bitcoineconomy&utm_content=partner_link",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity",children:e.jsx("img",{src:se,alt:"Ledn",width:"120",height:"64",className:"h-16 w-auto"})})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:E.map((t,o)=>e.jsx(w.div,{initial:!1,animate:{opacity:1,y:0},transition:{delay:Math.min(o,3)*.05,duration:.5},children:e.jsx(x,{href:`/podcast/${t.slug}`,children:e.jsxs(j,{className:"group bg-white rounded-lg shadow-sm border border-gray-200 hover:shadow-md hover:border-gray-300 transition-all duration-300 cursor-pointer overflow-hidden w-full",children:[e.jsxs("div",{className:"relative aspect-video bg-gray-100 overflow-hidden",children:[t.thumbnailUrl?e.jsx("img",{loading:"lazy",decoding:"async",src:t.thumbnailUrl,alt:h(t),width:"640",height:"360",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",onError:f=>{f.currentTarget.style.display="none"}}):e.jsx("div",{className:"w-full h-full bg-gradient-to-br from-orange-100 to-orange-200 flex items-center justify-center",children:e.jsx(d,{className:"h-12 w-12 text-orange-600"})}),e.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-35 transition-all duration-300 flex items-center justify-center",children:e.jsx(d,{className:"h-12 w-12 text-white opacity-0 group-hover:opacity-100 transition-opacity duration-300"})}),t.durationHms&&e.jsx("div",{className:"absolute bottom-2 right-2 bg-black bg-opacity-75 text-white text-xs px-2 py-1 rounded",children:B(t.durationHms)})]}),e.jsxs(y,{className:"p-4 flex flex-col h-full",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2 text-xs text-gray-500",children:[e.jsx("span",{children:Q(t.publishDateOnSite||t.uploadDateYt)}),t.channelName&&e.jsx("span",{className:"truncate ml-2",children:t.channelName})]}),e.jsx("h3",{className:"font-bold text-gray-900 line-clamp-2 mb-2 group-hover:text-brand-500 transition-colors text-sm leading-tight flex-1",children:h(t)})]})]})})},t.id))})]})}),!s&&k.length>0&&e.jsx(c,{delay:.3,children:e.jsxs("div",{className:"mb-12",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"flex items-center gap-2",children:e.jsx("div",{className:"bg-red-600 text-white px-3 py-1 rounded-full text-sm font-semibold",children:"â· Shorts"})}),n&&n.totalShortsPages>1&&e.jsxs("div",{className:"flex gap-2 ml-auto",children:[e.jsx("button",{"aria-label":"Previous shorts",disabled:m,onClick:()=>A(t=>t===1?n.totalShortsPages:t-1),className:"p-2 text-gray-500 hover:text-brand-500 disabled:opacity-40",children:e.jsx($,{className:"h-5 w-5"})}),e.jsx("button",{"aria-label":"Next shorts",disabled:m,onClick:()=>A(t=>t===n.totalShortsPages?1:t+1),className:"p-2 text-gray-500 hover:text-brand-500 disabled:opacity-40",children:e.jsx(O,{className:"h-5 w-5"})})]})]}),e.jsx("div",{"aria-busy":m,className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-3",children:k.map((t,o)=>
23e.jsx(w.div,{initial:!1,animate:{opacity:1,y:0},transition:{delay:Math.min(o,3)*.05,duration:.5},children:e.jsx(x,{href:`/podcast/${t.slug}`,children:e.jsxs(j,{className:"group bg-white rounded-lg shadow-sm border border-gray-200 hover:shadow-md hover:border-gray-300 transition-all duration-300 cursor-pointer overflow-hidden",children:[e.jsxs("div",{className:"relative aspect-[9/16] bg-gray-100 overflow-hidden",children:[P(t)?e.jsx("img",{loading:"lazy",decoding:"async",src:P(t),alt:h(t),width:"360",height:"640",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",onError:f=>{f.currentTarget.style.display="none"}}):e.jsx("div",{className:"w-full h-full bg-gradient-to-br from-orange-100 to-orange-200 flex items-center justify-center",children:e.jsx(d,{className:"h-12 w-12 text-orange-600"})}),e.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-35 transition-all duration-300 flex items-center justify-center",children:e.jsx(d,{className:"h-8 w-8 text-white opacity-0 group-hover:opacity-100 transition-opacity duration-300"})}),e.jsx("div",{className:"absolute top-1 left-1",children:e.jsx("img",{src:T,alt:"YouTube Shorts",width:"16",height:"16",className:"w-4 h-4 opacity-90"})}),t.durationHms&&e.jsx("div",{className:"absolute bottom-1 right-1 bg-black bg-opacity-75 text-white text-xs px-1 py-0.5 rounded",children:B(t.durationHms)})]}),e.jsx(y,{className:"p-1.5",children:e.jsx("h3",{className:"font-semibold text-gray-900 line-clamp-2 group-hover:text-brand-500 transition-colors text-xs leading-tight mb-1",children:h(t)})})]})})},t.id))})]})}),!s&&g&&e.jsx("div",{role:"alert",className:"mb-6",children:e.jsx("button",{onClick:()=>u(),className:"underline",children:"Retry Featured videos and Shorts"})}),!p&&e.jsx(c,{delay:s?.2:.4,children:e.jsxs("div",{children:[!s&&e.jsx("h2",{id:"all-videos",className:"text-xl text-gray-600 mb-6 text-left",children:"All Videos"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:(s?F:V).map((t,o)=>e.jsx(w.div,{initial:!1,animate:{opacity:1,y:0},transition:{delay:Math.min(o,3)*.05,duration:.5},children:e.jsx(x,{href:`/podcast/${t.slug}`,children:e.jsxs(j,{className:"group bg-white rounded-lg shadow-sm border border-gray-200 hover:shadow-md hover:border-gray-300 transition-all duration-300 cursor-pointer overflow-hidden w-full",children:[e.jsxs("div",{className:"relative aspect-video bg-gray-100 overflow-hidden",children:[t.thumbnailUrl?e.jsx("img",{loading:"lazy",decoding:"async",src:t.thumbnailUrl,alt:h(t),width:"640",height:"360",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",onError:f=>{f.currentTarget.style.display="none"}}):e.jsx("div",{className:"w-full h-full bg-gradient-to-br from-orange-100 to-orange-200 flex items-center justify-center",children:e.jsx(d,{className:"h-12 w-12 text-orange-600"})}),e.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-35 transition-all duration-300 flex items-center justify-center",children:e.jsx(d,{className:"h-12 w-12 text-white opacity-0 group-hover:opacity-100 transition-opacity duration-300"})}),t.isShort&&e.jsx("div",{className:"absolute top-1 left-1",children:e.jsx("img",{src:T,alt:"YouTube Shorts",width:"16",height:"16",className:"w-4 h-4 opacity-90"})}),t.durationHms&&e.jsx("div",{className:"absolute bottom-2 right-2 bg-black bg-opacity-75 text-white text-xs px-2 py-1 rounded",children:B(t.durationHms)}),t.isFeatured&&e.jsx("div",{className:"absolute top-2 left-2",children:e.jsx(Z,{className:"bg-brand-500 text-white text-xs px-2 py-0",children:"Featured"})})]}),e.jsxs(y,{className:"p-4 flex flex-col h-full",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2 text-xs text-gray-500",children:[e.jsx("span",{children:Q(t.publishDateOnSite||t.uploadDateYt)}),t.channelName&&e.jsx("span",{className:"truncate ml-2",children:t.channelName})]}),e.jsx("h3",{className:"font-bold text-gray-900 line-clamp-2 mb-2 group-hover:text-brand-500 transition-colors text-sm leading-tight flex-1",children:h(t)})]})]})})},t.id))})]})}),S&&e.jsxs("div",{role:"alert",className:"py-8 text-center",children:[e.jsx("p",{children:"Videos could not be loaded."}),e.jsx("button",{onClick:()=>R(),className:"mt-3 underline",children:"Try again"})]}),r&&r.totalPages>1&&e.jsxs("nav",{"aria-label":"Podcast pagination","aria-busy":L,className:"mt-10 flex flex-wrap justify-center items-center gap-3",children:[a>1&&e.jsx(x,{rel:"prev",className:"rounded-lg border border-gray-200 bg-white px-4 py-2","aria-disabled":b,onClick:t=>{b&&t.preventDefault()},href:N(a-1,s),children:"Previous"}),e.jsxs("span",{"aria-current":"page","aria-live":"polite",children:["Page ",r.page," of ",r.totalPages]}),a<r.totalPages&&e.jsx(x,{rel:"next",className:"rounded-lg border border-gray-200 bg-white px-4 py-2","aria-disabled":b,onClick:t=>{b&&t.preventDefault()},href:N(a+1,s),children:"Next"})]}),!p&&(r==null?void 0:r.total)===0&&e.jsx(c,{delay:.2,children:e.jsxs("div",{className:"text-center py-12",children:[e.jsx(d,{className:"h-24 w-24 text-gray-300 mx-auto mb-4"}),e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"No videos available yet"}),e.jsx("p",{className:"text-gray-600",children:s?"Try adjusting your search terms":"Check back soon for new podcast episodes and educational content."})]})}),e.jsx(c,{delay:.6,children:e.jsx("section",{className:"mt-16 mb-8",children:e.jsx(j,{className:"bg-gradient-to-r from-orange-50 to-orange-100 border-orange-200",children:e.jsxs(y,{className:"p-8 text-center",children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4 font-satoshi",children:"Stay Updated with New Episodes"}),e.jsx("p",{className:"text-gray-600 mb-6 max-w-2xl mx-auto",children:"Get notified when we publish new Bitcoin podcast episodes and educational content. Join our community for the latest insights and analysis."}),e.jsx("a",{href:"https://www.youtube.com/@Daily_Stack?sub_confirmation=1",target:"_blank",rel:"noopener noreferrer",children:e.jsx("button",{className:"bg-brand-500 text-white px-6 py-3 rounded-lg font-semibold hover:bg-orange-700 transition-colors",children:"Subscribe for Updates"})})]})})})})]}),e.jsx(W,{})]})}
23export{oe as default};
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.