1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`798154dfe6f02312abe2ebb46dcac5b55267091e`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:listening-web":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`ea966793-2898-486e-8ad1-c95144b2bc98`,e._sentryDebugIdIdentifier=`sentry-dbid-ea966793-2898-486e-8ad1-c95144b2bc98`)}catch{}})();import{a as e,t}from"./jsx-runtime-HLTtilDO.js";import{t as n}from"./compiler-runtime-UO9gZYRt.js";import{t as r}from"./Footer-CJvF_3Y3.js";import{t as i}from"./cta-button-DInrwPYX.js";import{t as a}from"./NavBar-Vx4w9TyO.js";import{t as o}from"./react-helpers-EueCGTnS.js";import{t as s}from"./ArrowLeft-6-kNTj3o.js";import{t as c}from"./ArrowRight-BWHCOJU6.js";import{t as l}from"./canonical-Nq80FG7A.js";import{w as u}from"./index-Dm3VuC_N.js";import{a as d,i as f,n as p,o as m,r as h,t as g}from"./mobile-mockup-B9_GFW7e.js";var _=n(),v=e(t(),1);function y(e){let t=(0,_.c)(38),{slug:n,heroImage:r,heroImageAlt:i,title:a,description:o,authorImage:s,author:c,pubDate:u,tags:d}=e,f=`/blog/${n}`,p;t[0]===f?p=t[1]:(p=l(f),t[0]=f,t[1]=p);let h=i??void 0,g=r??void 0,y;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(y={aspectRatio:`856 / 334`},t[2]=y):y=t[2];let x;t[3]!==h||t[4]!==g?(x=(0,v.jsx)(`img`,{alt:h,className:`w-full rounded-2xl object-cover`,height:360,src:g,style:y,width:720}),t[3]=h,t[4]=g,t[5]=x):x=t[5];let S;t[6]===a?S=t[7]:(S=(0,v.jsx)(`h4`,{className:`font-semibold text-black`,children:a}),t[6]=a,t[7]=S);let C;t[8]===o?C=t[9]:(C=(0,v.jsx)(`div`,{className:`truncate text-neutral-500`,dangerouslySetInnerHTML:{__html:o}}),t[8]=o,t[9]=C);let w;t[10]!==S||t[11]!==C?(w=(0,v.jsxs)(`div`,{className:`flex max-w-full flex-col gap-2`,children:[S,C]}),t[10]=S,t[11]=C,t[12]=w):w=t[12];let T=s??void 0,E;t[13]===T?E=t[14]:(E=(0,v.jsx)(`img`,{alt:`Author profile`,className:`size-11 rounded-full object-cover`,height:44,src:T,width:44}),t[13]=T,t[14]=E);let D;t[15]===c?D=t[16]:(D=(0,v.jsx)(`p`,{className:`text-base leading-none font-normal text-neutral-500`,children:c}),t[15]=c,t[16]=D);let O;t[17]!==E||t[18]!==D?(O=(0,v.jsxs)(`div`,{className:`flex items-center gap-3`,children:[E,D]}),t[17]=E,t[18]=D,t[19]=O):O=t[19];let k;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,v.jsx)(`p`,{className:`text-base leading-none font-medium text-neutral-500`,children:`â¢`}),t[20]=k):k=t[20];let A;t[21]===u?A=t[22]:(A=(0,v.jsx)(`p`,{className:`text-base leading-none font-normal text-neutral-500`,children:(0,v.jsx)(m,{date:u})}),t[21]=u,t[22]=A);let j;t[23]!==O||t[24]!==A?(j=(0,v.jsxs)(`div`,{className:`flex items-center gap-3`,children:[O,k,A]}),t[23]=O,t[24]=A,t[25]=j):j=t[25];let M;t[26]===d?M=t[27]:(M=d?.slice(0,3).map(b),t[26]=d,t[27]=M);let N;t[28]===M?N=t[29]:(N=(0,v.jsx)(`div`,{className:`flex flex-wrap items-center gap-3`,children:M}),t[28]=M,t[29]=N);let P;t[30]!==j||t[31]!==N?(P=(0,v.jsx)(`div`,{className:`flex w-full max-w-full flex-col gap-2`,children:(0,v.jsxs)(`div`,{className:`flex w-full flex-wrap items-center justify-between gap-4`,children:[j,N]})}),t[30]=j,t[31]=N,t[32]=P):P=t[32];let F;return t[33]!==P||t[34]!==p||t[35]!==x||t[36]!==w?(F=(0,v.jsx)(`li`,{className:`list-none`,children:(0,v.jsxs)(`a`,{target:`_blank`,href:p,className:`flex flex-col items-start gap-6`,children:[x,w,P]})}),t[33]=P,t[34]=p,t[35]=x,t[36]=w,t[37]=F):F=t[37],F}function b(e,t){return(0,v.jsx)(d,{tagName:e},`${e}-${t.toString()}`)}function x(e){let t=(0,_.c)(26),{slug:n,heroImage:r,title:i,authorImage:a,author:o,pubDate:s,heroImageAlt:c}=e,u=`/blog/${n}`,d;t[0]===u?d=t[1]:(d=l(u),t[0]=u,t[1]=d);let f=c??void 0,p=r??void 0,h;t[2]!==f||t[3]!==p?(h=(0,v.jsx)(`img`,{alt:f,className:`size-[96px] rounded-2xl object-cover sm:size-[122px]`,height:122,src:p,width:122}),t[2]=f,t[3]=p,t[4]=h):h=t[4];let g;t[5]===i?g=t[6]:(g=(0,v.jsx)(`p`,{className:`self-stretch text-base leading-7 font-medium text-neutral-900`,children:i}),t[5]=i,t[6]=g);let y=a??void 0,b;t[7]!==o||t[8]!==y?(b=(0,v.jsx)(`img`,{alt:o,className:`size-[26px] rounded-full`,height:26,src:y,width:26}),t[7]=o,t[8]=y,t[9]=b):b=t[9];let x;t[10]===o?x=t[11]:(x=(0,v.jsx)(`p`,{className:`text-xs leading-3 font-medium text-neutral-500`,children:o}),t[10]=o,t[11]=x);let S;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,v.jsx)(`p`,{className:`text-xs leading-3 font-medium text-neutral-500`,children:`â¢`}),t[12]=S):S=t[12];let C;t[13]===s?C=t[14]:(C=(0,v.jsx)(`p`,{className:`text-xs leading-3 font-normal text-neutral-500`,children:(0,v.jsx)(m,{date:s})}),t[13]=s,t[14]=C);let w;t[15]!==C||t[16]!==b||t[17]!==x?(w=(0,v.jsxs)(`div`,{className:`inline-flex items-center justify-start gap-2`,children:[b,x,S,C]}),t[15]=C,t[16]=b,t[17]=x,t[18]=w):w=t[18];let T;t[19]!==w||t[20]!==g?(T=(0,v.jsxs)(`div`,{className:`inline-flex shrink grow basis-0 flex-col items-start justify-start gap-4`,children:[g,w]}),t[19]=w,t[20]=g,t[21]=T):T=t[21];let E;return t[22]!==T||t[23]!==d||t[24]!==h?(E=(0,v.jsxs)(`a`,{target:`_blank`,href:d,className:`inline-flex w-full flex-wrap items-center justify-start gap-6`,children:[h,T]}),t[22]=T,t[23]=d,t[24]=h,t[25]=E):E=t[25],E}var S=`/assets/cta-banner-DGjFlAMe.webp`;function C(){let e=(0,_.c)(4),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,v.jsx)(`img`,{alt:`banner`,className:`absolute inset-0`,src:S}),e[0]=t):t=e[0];let n;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,v.jsx)(`div`,{className:`text-[2rem] leading-[2.625rem] font-semibold text-neutral-900`,children:`Listen to papers, PDFs, and websites`}),e[1]=n):n=e[1];let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,v.jsxs)(`div`,{className:`inline-flex items-center justify-start gap-4`,children:[(0,v.jsx)(`img`,{alt:`icon devices`,className:`size-6`,src:h}),(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`span`,{className:`text-lg text-stone-900`,children:`Listen to `}),(0,v.jsx)(`span`,{className:`font-medium`,children:`unlimited`}),(0,v.jsx)(`span`,{className:`text-lg text-stone-900`,children:` research papers`})]})]}),e[2]=r):r=e[2];let a;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,v.jsx)(`section`,{className:`w-full`,children:(0,v.jsxs)(`div`,{className:`relative inline-flex w-full flex-col items-start justify-center gap-8 overflow-hidden rounded-3xl bg-cover bg-no-repeat px-5 pt-8 sm:p-12 [@media(max-width:767px)]:bg-none`,children:[t,(0,v.jsxs)(`div`,{className:`flex flex-col items-start justify-center gap-4 self-stretch`,children:[n,(0,v.jsxs)(`div`,{className:`mb-2 flex flex-col items-start justify-start gap-4`,children:[r,(0,v.jsxs)(`div`,{className:`inline-flex items-center justify-start gap-4`,children:[(0,v.jsx)(`img`,{alt:`icon papers`,className:`size-6`,src:p}),(0,v.jsxs)(`div`,{children:[(0,v.jsx)(`span`,{className:`text-lg text-stone-900`,children:`Upload from `}),(0,v.jsx)(`span`,{className:`font-medium`,children:`mobile or desktop`})]})]})]}),(0,v.jsx)(i,{className:`relative inline-block h-auto w-full cursor-pointer rounded-full border-0 bg-azure-455 px-8 py-[12px] text-center leading-[21px] font-[600] text-neutral-50 no-underline sm:w-auto lg:text-[16
1px]`}),(0,v.jsx)(`img`,{alt:`mobile mockup listening.com`,className:`mx-auto mt-4 w-full max-w-[250px] sm:hidden`,src:g})]})]})}),e[3]=a):a=e[3],a}var w=`p-1 hover:underline rounded`;function T(){let e=(0,_.c)(51),{posts:t,pageInfo:n}=u.useLoaderData(),{page:i}=u.useSearch(),d=i===void 0?1:i,f=n.totalPages,p=Math.max(d-3,2),m=Math.min(d+3+(3-(d-p)),f-1),h,g,b,x,S,T,A,j,M;if(e[0]!==m||e[1]!==f||e[2]!==d||e[3]!==n.hasPreviousPage||e[4]!==n.previousPage||e[5]!==t||e[6]!==p){let r=[];if(f>1){r.push({pageNum:1,label:`1`}),p>2&&r.push({pageNum:p,label:`...`});for(let e=Math.max(p,2);e<=Math.min(m,f-1);e++)r.push({pageNum:e,label:e.toString()});m<f-1&&r.push({pageNum:m,label:`...`}),f>1&&r.push({pageNum:f,label:f.toString()})}let i=r,c=d>1?`/blog`:void 0;e[16]===c?j=e[17]:(j=(0,v.jsx)(a,{logoLinkHref:c,sticky:!0}),e[16]=c,e[17]=j),e[18]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(`h1`,{"aria-hidden":`false`,className:`hidden`,children:`Blog`}),e[18]=M):M=e[18],S=`m-auto flex w-[1296px] max-w-[calc(100%-2em)] flex-col gap-14 overflow-hidden py-14 md:gap-18 md:py-18`,e[19]!==d||e[20]!==t?(T=d===1&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(`header`,{className:`grid grid-cols-1 gap-14 md:grid-cols-2 md:gap-6 xl:grid-cols-3`,children:[(0,v.jsx)(`div`,{className:`xl:col-span-2`,children:t[0]&&(0,v.jsx)(y,{slug:t[0].slug,...t[0].data})}),(0,v.jsx)(`div`,{className:`flex flex-col gap-4 md:gap-[30px]`,children:t.slice(1,5).map(k)})]}),t.length>10&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(`hr`,{className:`border-neutral-210`}),(0,v.jsx)(`section`,{className:`grid grid-cols-1 gap-14 md:grid-cols-2 md:gap-6 xl:grid-cols-3`,children:t.slice(5,11).map(O)})]}),(0,v.jsx)(`hr`,{className:`border-neutral-210`}),(0,v.jsx)(C,{}),t.length>14&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(`hr`,{className:`border-neutral-210`}),(0,v.jsx)(`section`,{className:`flex gap-4 px-4 pb-4 xl:gap-6`,children:t.slice(11,15).map(D)})]})]}),e[19]=d,e[20]=t,e[21]=T):T=e[21],e[22]!==d||e[23]!==t?(A=d>1&&(0,v.jsx)(`section`,{className:`flex flex-wrap justify-center gap-4 px-4 pb-4 xl:gap-6`,children:t.map(E)}),e[22]=d,e[23]=t,e[24]=A):A=e[24],b=`flex justify-between px-4`,e[25]!==d||e[26]!==n.hasPreviousPage||e[27]!==n.previousPage?(x=n.hasPreviousPage?(0,v.jsx)(`a`,{href:l(`/blog?page=${n.previousPage?.toString()??(d-1).toString()}`),className:w,children:(0,v.jsx)(s,{className:`size-6`})}):(0,v.jsx)(`div`,{}),e[25]=d,e[26]=n.hasPreviousPage,e[27]=n.previousPage,e[28]=x):x=e[28],h=`flex items-center gap-3`,g=i.map(e=>(0,v.jsx)(`a`,{href:l(`/blog?page=${e.pageNum.toString()}`),className:o(w,d===e.pageNum?`bg-primary text-white`:``),children:e.label},e.pageNum)),e[0]=m,e[1]=f,e[2]=d,e[3]=n.hasPreviousPage,e[4]=n.previousPage,e[5]=t,e[6]=p,e[7]=h,e[8]=g,e[9]=b,e[10]=x,e[11]=S,e[12]=T,e[13]=A,e[14]=j,e[15]=M}else h=e[7],g=e[8],b=e[9],x=e[10],S=e[11],T=e[12],A=e[13],j=e[14],M=e[15];let N;e[29]!==h||e[30]!==g?(N=(0,v.jsx)(`div`,{className:h,children:g}),e[29]=h,e[30]=g,e[31]=N):N=e[31];let P;e[32]!==d||e[33]!==n.hasNextPage||e[34]!==n.nextPage?(P=n.hasNextPage?(0,v.jsx)(`a`,{href:l(`/blog?page=${n.nextPage?.toString()??(d+1).toString()}`),className:w,children:(0,v.jsx)(c,{className:`size-6`})}):(0,v.jsx)(`div`,{}),e[32]=d,e[33]=n.hasNextPage,e[34]=n.nextPage,e[35]=P):P=e[35];let F;e[36]!==N||e[37]!==P||e[38]!==b||e[39]!==x?(F=(0,v.jsxs)(`div`,{className:b,children:[x,N,P]}),e[36]=N,e[37]=P,e[38]=b,e[39]=x,e[40]=F):F=e[40];let I;e[41]!==F||e[42]!==S||e[43]!==T||e[44]!==A?(I=(0,v.jsxs)(`main`,{className:S,children:[T,A,F]}),e[41]=F,e[42]=S,e[43]=T,e[44]=A,e[45]=I):I=e[45];let L;e[46]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,v.jsx)(r,{}),e[46]=L):L=e[46];let R;return e[47]!==I||e[48]!==j||e[49]!==M?(R=(0,v.jsxs)(v.Fragment,{children:[j,M,I,L]}),e[47]=I,e[48]=j,e[49]=M,e[50]=R):R=e[50],R}function E(e){return(0,v.jsx)(f,{author:e.data.author,authorImage:e.data.authorImage,description:e.data.description,href:l(`/blog/${e.slug}`),heroImage:e.data.heroImage,heroImageAlt:e.data.heroImageAlt,pubDate:e.data.pubDate,tags:e.data.tags.slice(0,2),title:e.data.title},e.slug)}function D(e){return(0,v.jsx)(f,{author:e.data.author,authorImage:e.data.authorImage,description:e.data.description,href:l(`/blog/${e.slug}`),heroImage:e.data.heroImage,heroImageAlt:e.data.heroImageAlt,pubDate:e.data.pubDate,tags:e.data.tags.slice(0,2),title:e.data.title},e.slug)}function O(e){return(0,v.jsx)(x,{slug:e.slug,...e.data},e.slug)}function k(e){return(0,v.jsx)(x,{slug:e.slug,...e.data},e.slug)}export{T as component}; 2//# sourceMappingURL=blog-BiYghNx0.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.