1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4974],{1442:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>s});let s={src:"/_next/static/media/icon.6a3373eb.png",height:256,width:256,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEX18u/69vT8+fni3921s7HW09GsmmWGe1+mpKTHwLOHg3uenJu/auimAAAACXBIWXMAAAsTAAALEwEAmpwYAAAANklEQVR4nBXLuREAMAzDMEqy8+6/by4VGxCQbQClKgKxkoXwPlVnG4/ZPYdR173VHzmx/oZ+HhucAMITx7thAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},1469:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),!function(e,a){for(var t in a)Object.defineProperty(e,t,{enumerable:!0,get:a[t]})}(a,{default:function(){return o},getImageProps:function(){return i}});let s=t(8466),r=t(8883),l=t(3063),n=s._(t(1193));function i(e){let{props:a}=(0,r.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(a))void 0===t&&delete a[e];return{props:a}}let o=l.Image},1760:e=>{function a(e){var a=Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}a.keys=()=>[],a.resolve=a,a.id=1760,e.exports=a},2540:(e,a,t)=>{"use strict";async function s(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let{actionTarget:t,metadata:s}=a,r=null;(r=localStorage.getItem("anonymous_session_id"))||(r="".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9)),localStorage.setItem("anonymous_session_id",r));let l=await fetch("/api/activity/anonymous",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({activity_type:e,action_target:t,session_id:r,metadata:s||null})});if(!l.ok)return 429!==l.status&&console.error("Failed to log anonymous activity:",await l.text()),!1;return!0}catch(e){return!1}}function r(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unknown";s("button_click",{actionTarget:e,metadata:{button_location:a,timestamp:new Date().toISOString()}})}t.d(a,{M:()=>r,b:()=>s})},3890:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});let s=JSON.parse('{"appName":"HearTheClassics","appDescription":"Timeless Classics in No Time. Short Audio books with real passages and dialogs, plus summaries.","domainName":"heartheclassics.com"}'),r="pk_live_51SQZZKPOsGECYL5x1JSCCdrO9QfjUAMbZNzykfpFovt1tuczKEMC8DDeQ80NGgDPwsOpmv5oVIRcmZhthOVquiih007widMaZh",l=r.includes("test")||!1,n={...s,crisp:{id:"",onlyShowOnRoutes:["/"]},stripe:{publicKey:r,isTestMode:l,plans:[{priceId:"price_1SbrI6POsGECYL5xy4HMcwbU",name:"Monthly",description:"Monthly Subscription",price:3.99,mode:"subscription",billingPeriod:"/month",features:[{name:"Full access to hundreds of short audiobooks (with new titles added regularly)"},{name:"HD-quality narration for lifelike, immersive listening"},{name:"Real passages & dialogue from original texts for authentic storytelling"}]},{priceId:"price_1SbrMTPOsGECYL5xo9tdSu5r",name:"Annual",description:"Annual Subscription",price:29,priceAnchor:39,mode:"subscription",billingPeriod:"/year",features:[{name:"Full access to hundreds of short audiobooks (with new titles added regularly)"},{name:"HD-quality narration for lifelike, immersive listening"},{name:"Real passages & dialogue from original texts for authentic storytelling"}]},{isFeatured:!0,priceId:l?"price_1SRAXOPOSRWt3kfmY1rId9Xt":"price_1SR10TPOsGECYL5xBpoB3zVR",name:"Lifetime",description:"One-Time Payment",price:49,priceAnchor:69,mode:"payment",features:[{name:"Full access to hundreds of short audiobooks (with new titles added regularly)"},{name:"HD-quality narration for lifelike, immersive listening"},{name:"Real passages & dialogue from original texts for authentic storytelling"}]}]},aws:{bucket:"bucket-name",bucketUrl:"https://bucket-name.s3.amazonaws.com/",cdn:"https://cdn-id.cloudfront.net/"},storage:{basePath:"https://pub-2da01919343e4630b9f1c298dbbd720a.r2.dev"},resend:{fromNoReply:"HearTheClassics <[email protected]>",fromAdmin:"HearTheClassics <[email protected]>",supportEmail:"[email protected]"},colors:{theme:"light",main:"#570df8"},auth:{loginUrl:"/signin",callbackUrl:"/dashboard"}}},4209:(e,a,t)=>{"use strict";t.d(a,{default:()=>p});var s=t(5155),r=t(2115),l=t(5695),n=t(6874),i=t.n(n),o=t(6766),c=t(7223),d=t(3890),u=t(1442),m=t(2540);let h=[{href:"/catalogue",label:"Audiobooks"},{href:"/blog",label:"Blog"},{href:"/#faq",label:"FAQ"}],f=(0,s.jsx)(e=>{let{text:a="Get started",extraStyle:t}
1=e,l=(0,c.createClient)(),[n,o]=(0,r.useState)(null);if((0,r.useEffect)(()=>{(async()=>{let{data:{user:e}}=await l.auth.getUser();o(e)})()},[l]),n){var u,m,h,f,p,g,b;return(0,s.jsxs)(i(),{href:d.A.auth.callbackUrl,className:"btn ".concat(t||""),children:[(null==n||null==(u=n.user_metadata)?void 0:u.avatar_url)?(0,s.jsx)("img",{src:null==n||null==(m=n.user_metadata)?void 0:m.avatar_url,alt:(null==n||null==(h=n.user_metadata)?void 0:h.name)||"Account",className:"w-6 h-6 rounded-full shrink-0",referrerPolicy:"no-referrer",width:24,height:24}):(0,s.jsx)("span",{className:"w-6 h-6 bg-base-300 flex justify-center items-center rounded-full shrink-0",children:(null==n||null==(p=n.user_metadata)||null==(f=p.name)?void 0:f.charAt(0))||(null==n||null==(g=n.email)?void 0:g.charAt(0))}),(null==n||null==(b=n.user_metadata)?void 0:b.name)||(null==n?void 0:n.email)||"Account"]})}return(0,s.jsx)(i(),{className:"btn ".concat(t||""),href:d.A.auth.loginUrl,children:a})},{extraStyle:"btn-primary"}),p=()=>{let e=(0,l.useSearchParams)(),[a,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(!1)},[e]),(0,s.jsxs)("header",{className:"bg-base-200",children:[(0,s.jsxs)("nav",{className:"container flex items-center justify-between px-8 py-4 mx-auto","aria-label":"Global",children:[(0,s.jsx)("div",{className:"flex lg:flex-1",children:(0,s.jsxs)(i(),{className:"flex items-center gap-2 shrink-0 ",href:"/",title:"".concat(d.A.appName," hompage"),children:[(0,s.jsx)(o.default,{src:u.default,alt:"".concat(d.A.appName," logo"),className:"w-8",placeholder:"blur",priority:!0,width:32,height:32}),(0,s.jsx)("span",{className:"font-extrabold text-lg",children:d.A.appName})]})}),(0,s.jsx)("div",{className:"flex lg:hidden",children:(0,s.jsxs)("button",{type:"button",className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5",onClick:()=>t(!0),children:[(0,s.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-base-content",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})]})}),(0,s.jsx)("div",{className:"hidden lg:flex lg:justify-center lg:gap-12 lg:items-center",children:h.map(e=>(0,s.jsx)(i(),{href:e.href,className:"link link-hover",title:e.label,onClick:()=>{"/catalogue"===e.href&&(0,m.M)("catalogue","header")},children:e.label},e.href))}),(0,s.jsx)("div",{className:"hidden lg:flex lg:justify-end lg:flex-1",children:f})]}),(0,s.jsx)("div",{className:"relative z-50 ".concat(a?"":"hidden"),children:(0,s.jsxs)("div",{className:"fixed inset-y-0 right-0 z-10 w-full px-8 py-4 overflow-y-auto bg-base-200 sm:max-w-sm sm:ring-1 sm:ring-neutral/10 transform origin-right transition ease-in-out duration-300",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)(i(),{className:"flex items-center gap-2 shrink-0 ",title:"".concat(d.A.appName," hompage"),href:"/",children:[(0,s.jsx)(o.default,{src:u.default,alt:"".concat(d.A.appName," logo"),className:"w-8",placeholder:"blur",priority:!0,width:32,height:32}),(0,s.jsx)("span",{className:"font-extrabold text-lg",children:d.A.appName})]}),(0,s.jsxs)("button",{type:"button",className:"-m-2.5 rounded-md p-2.5",onClick:()=>t(!1),children:[(0,s.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})]})]}),(0,s.jsxs)("div",{className:"flow-root mt-6",children:[(0,s.jsx)("div",{className:"py-4",children:(0,s.jsx)("div",{className:"flex flex-col gap-y-4 items-start",children:h.map(e=>(0,s.jsx)(i(),{href:e.href,className:"link link-hover",title:e.label,onClick:()=>{"/catalogue"===e.href&&(0,m.M)("catalogue","header-mobile")},children:e.label},e.href))})}),(0,s.jsx)("div",{className:"divider"}),(0,s.jsx)("div",{className:"flex flex-col",children:f})]})]})})]})}},5695:(e,a,t)=>{"use strict";var s=t(8999);t.o(s,"redirect")&&t.d(a,{redirect:function(){return s.redirect}}),t.o(s,"useParams")&&t.d(a,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(a,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(a,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(a,{useSearchParams:function(){return s.useSearchParams}})},6766:(e,a,t)=>{"use strict";t.d(a,{default:()=>r.a});var s=t(1469),r=t.n(s)},7223:(e,a,t)=>{"use strict";t.d(a,{createClient:()=>r});var s=t(3254);function r(){return(0,s.createBrowserClient)("https://eokrpjyxnrppaofwlbza.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImVva3Jwanl4bnJwcGFvZndsYnphIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTgxMDM1OTEsImV4cCI6MjA3MzY3OTU5MX0.lqcqnvhVGLnRdhDNfE-N4GvnTlfMJU0LbT_wrDMwCXI")}}}]);
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.