1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{1050:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(4232);function n({className:e}){return(0,a.useEffect)(()=>(document.body.className=e,()=>{document.body.className=""}),[e]),null}},2566:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSG:()=>u,default:()=>h});var a=t(7876),n=t(4232),r=t(8230),l=t.n(r),c=t(9099),o=t(1050),i=t(9135),d=t(9536);function m({episode:e,activeSeason:s}){let t=e.featuredImage?.node?.localFile?.publicURL,n=e.featuredImage?.node?.altText||e.displayTitle,r=`${e.link}?from=${s}`;return(0,a.jsxs)("div",{className:"podcast-card",children:[(0,a.jsx)(l(),{href:r,className:"podcast-card-image-wrap","aria-label":e.displayTitle,children:t?(0,a.jsx)("img",{src:t,alt:n||"",className:"podcast-card-image"}):(0,a.jsx)("div",{className:"podcast-card-image podcast-card-image--placeholder"})}),(0,a.jsxs)("div",{className:"podcast-card-meta",children:[(0,a.jsxs)("div",{className:"podcast-card-meta-top",children:[e.date&&(0,a.jsx)("span",{className:"podcast-card-date",children:e.date}),e.episodeBadge&&(0,a.jsx)("span",{className:"podcast-card-id",children:e.episodeBadge})]}),(0,a.jsx)(l(),{href:r,className:"podcast-card-title",children:e.displayTitle})]})]})}function p({data:e}){let s=(0,c.useRouter)(),{metadata:t,featuredBlogImage:r,themePicker:l,podcastHero:u}=e.podcast.nodes[0]??{},h=r?.node?.localFile?.publicURL,x=e.allPodcastEpisodes.edges.map(e=>e.episode),[j,g]=(0,n.useState)(12),[N,f]=(0,n.useState)(""),[b,y]=(0,n.useState)("all"),v=(0,n.useMemo)(()=>{let e=new Map;for(let s of x)for(let t of s.seasons??[])t.slug&&t.name&&!e.has(t.slug)&&e.set(t.slug,t.name);return Array.from(e.entries()).map(([e,s])=>({slug:e,name:s}))},[x]),_=(0,n.useRef)(!1),k=(0,n.useRef)({searchQuery:"",numEpisodes:12,activeSeason:"all"});k.current={searchQuery:N,numEpisodes:j,activeSeason:b},(0,n.useEffect)(()=>{if(!s.isReady||_.current)return;_.current=!0;let e="string"==typeof s.query.s?s.query.s:"",t="string"==typeof s.query.episodes?parseInt(s.query.episodes,10):NaN,a="string"==typeof s.query.season?s.query.season:"all";f(e),!isNaN(t)&&t>0&&g(t),y(a)},[s.isReady,s.query]);let w=(e,t,a)=>{let n={};e&&(n.s=e),t>12&&(n.episodes=String(t)),"all"!==a&&(n.season=a),s.replace({pathname:s.pathname,query:n},void 0,{shallow:!0})},S=e=>{y(e),g(12),w(N,12,e)};(0,n.useEffect)(()=>{if(!_.current)return;let e=setTimeout(()=>{let{searchQuery:e,numEpisodes:s,activeSeason:t}=k.current;w(e,s,t)},500);return()=>clearTimeout(e)},[N]);let T=(0,n.useMemo)(()=>{let e=x;if("all"!==b&&(e=e.filter(e=>e.seasons?.some(e=>e.slug===b))),!N.trim())return e;let s=N.toLowerCase();return e.filter(e=>`${e.title} ${e.content.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim()}`.toLowerCase().includes(s))},[x,N,b]),E=T.slice(0,j);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.A,{className:`dark dark-blog dark-header dark-footer ${l?.themePicker??""}`}),(0,a.jsx)(i.A,{title:t?.metaTitle??"Podcasts",description:t?.metaDescription,image:h}),(0,a.jsx)("div",{className:"podcast-hero section glow-bg px-4 sm:px-6 lg:px-0",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"podcast-hero-inner",children:[(0,a.jsx)("h1",{className:"podcast-hero-title",dangerouslySetInnerHTML:{__html:u?.podcastHeroTitle||"Podcasts"}}),u?.podcastHeroDescription&&(0,a.jsx)("p",{className:"podcast-hero-description",children:u.podcastHeroDescription}),u?.podcastHeroSubDescription&&(0,a.jsx)("p",{className:"podcast-hero-sub",children:u.podcastHeroSubDescription})]})})}),v.length>0&&(0,a.jsx)("div",{className:"podcast-seasons section",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"podcast-seasons-tabs",children:[(0,a.jsx)("button",{className:`podcast-season-tab${"all"===b?" podcast-season-tab--active":""}`,onClick:()=>S("all"),children:"All"}),v.map(e=>(0,a.jsx)("button",{className:`podcast-season-tab${b===e.slug?" podcast-season-tab--active":""}`,onClick:()=>S(e.slug),children:e.name},e.slug))]})})}),(0,a.jsx)("div",{className:"podcast-grid-section section ml-margins",children:(0,a.jsxs)("div",{className:"container",children:[0===E.length?(0,a.jsx)("p",{className:"podcast-empty",children:N?"No episodes match your search.":"No episodes yet."}):(0,a.jsx)("div",{className:"podcast-grid",children:E.map(e=>(0,a.jsx)(m,{episode:e,activeSeason:b},e.slug))}),E.length<T.length&&(0,a.jsx)("button",{className:"btn alt-blue-btn middle podcast-load-more",type:"button",onClick:()=>{let e=j+12;g(e),w(N,e,b)},children:"Load more"})]})}),(0,a.jsx)(d.O,{})]})}var u=!0;function h({data:e}){return(0,a.jsx)(p,{data:e})}},4881:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/podcasts",function(){return t(2566)}])},7328:(e,s,t)=>{e.exports=t(8022)},9135:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var a=t(7876),n=t(7328),r=t.n(n);let l=({title:e,description:s,image:t,url:n,article:l,summary:c,date:o})=>{let i=e=>"string"==typeof e||"number"==typeof e?String(e):"",d=i(e),m=i(s),p=i(c),u=i(o),h=t||"/assets/img/ogimg.png",x=h.startsWith("http")?h:`https://meltano.com${h}`,j=n||"https://meltano.com";return(0,a.jsxs)(r(),{children:[d?(0,a.jsx)("title",{children:d}):null,m?(0,a.jsx)("meta",{name:"description",content:m}):null,n?(0,a.jsx)("link",{rel:"canonical",href:j}):null,d?(0,a.jsx)("meta",{property:"og:title",content:d}):null,m?(0,a.jsx)("meta",{property:"og:description",content:m}):null,(0,a.jsx)("meta",{property:"og:image",content:x}
1),(0,a.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,a.jsx)("meta",{property:"og:image:height",content:"630"}),d?(0,a.jsx)("meta",{property:"og:image:alt",content:d}):null,(0,a.jsx)("meta",{property:"og:type",content:l?"article":"website"}),(0,a.jsx)("meta",{property:"og:url",content:j}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),d?(0,a.jsx)("meta",{name:"twitter:title",content:d}):null,m?(0,a.jsx)("meta",{name:"twitter:description",content:m}):null,(0,a.jsx)("meta",{name:"twitter:image",content:x}),p?(0,a.jsx)("meta",{name:"summary",content:p}):null,u?(0,a.jsx)("meta",{name:"article:published_time",content:u}):null]})}},9536:(e,s,t)=>{"use strict";t.d(s,{O:()=>r,c:()=>l});var a=t(7876);t(4232),t(315);var n=t(1773);let r=()=>(0,a.jsx)("div",{className:"cta section",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"cta-banner ml-margins",children:(0,a.jsxs)("div",{className:"cta-banner-info",children:[(0,a.jsxs)("h2",{children:["Intrigued",(0,a.jsx)("span",{className:"pink",children:"?"})]}),(0,a.jsx)("p",{className:"p2",children:"You havenât seen nothing yet!"}),(0,a.jsx)("div",{className:"cta-banner-buttons",children:(0,a.jsx)("a",{href:n.j$,target:"_blank",className:"btn alt-blue-btn",rel:"noreferrer",children:"Book a demo"})})]})})})}),l=()=>(0,a.jsx)("div",{className:"cta section",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"cta-banner ml-margins",children:(0,a.jsxs)("div",{className:"cta-banner-info",children:[(0,a.jsxs)("h2",{className:"title-inline",children:["Want to see it ",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"brackets",children:"for yourself"}),"?"]}),(0,a.jsxs)("div",{className:"cta-banner-buttons",children:[(0,a.jsx)("a",{href:"https://meltano.com/demo",className:"btn alt-blue-btn",target:"_blank",rel:"noopener noreferrer",children:"Try live demo"}),(0,a.jsxs)("a",{href:"https://docs.meltano.com/getting-started/installation",className:"btn colorful-btn",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("span",{}),"Install locally"]})]})]})})})})}},e=>{e.O(0,[636,593,792],()=>e(e.s=4881)),_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.