PageSourceSearch

https://heart.fm/_next/static/chunks/api-CXprh0bw.js

js heart.fm collected 2026-10-04 20:19:46 UTC 1,356 bytes, 1 lines download raw bytes

1var e=class extends Error{constructor(e,t,n){super(n),this.name=`ApiError`,this.status=e,this.code=t}};async function t(e){if(!(e.headers.get(`content-type`)??``).includes(`application/json`))return{};try{let t=await e.json();return t&&typeof t==`object`&&!Array.isArray(t)?t:{}}catch{return{}}}async function n(n,r,i={}){let a=await fetch(n,{method:i.method??`POST`,headers:{"content-type":`application/json`,...i.token?{Authorization:`Bearer ${i.token}`}:{}},body:JSON.stringify(r)}),o=await t(a);if(!a.ok)throw new e(a.status,typeof o.code==`string`?o.code:`request_failed`,typeof o.error==`string`?o.error:`Something went wrong. Please try again.`);return o}async function r(n,r){let i=await fetch(n,{headers:r?{Authorization:`Bearer ${r}`}:void 0}),a=await t(i);if(!i.ok)throw new e(i.status,typeof a.code==`string`?a.code:`request_failed`,typeof a.error==`string`?a.error:`Something went wrong. Please try again.`);return a}async function i(e){return n(`/api/youtube/resolve`,{url:e})}async function a(e){let t={kind:e.kind};e.kind===`couple_plus`?(t.coupleId=e.coupleId,t.coupleToken=e.coupleToken):e.kind===`tape_plus`&&(t.slug=e.slug,t.editToken=e.editToken);let r=await n(`/api/billing/checkout`,t);window.location.assign(r.url)}function o(e,t){return e instanceof Error&&e.message?e.message:t}export{t as a,n as i,o as n,i as o,r,a as s,e as t};

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.