1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36809,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},64442,e=>{"use strict";var t=e.i(90580);e.s(["default",0,function({variant:e="primary",children:r,href:n,className:a=""}){let s=`inline-flex items-center justify-center rounded-full px-8 py-3.5 font-medium text-base transition-colors duration-200 ${{primary:"bg-warm-400 hover:bg-warm-500 text-white",outline:"border-2 border-warm-300 text-dusk-700 hover:bg-warm-100"}[e]} ${a}`;return n?(0,t.jsx)("a",{href:n,className:s,children:r}):(0,t.jsx)("button",{className:s,children:r})}])},44217,(e,t,r)=>{t.exports=e.r(19790)},17399,e=>{"use strict";e.s(["NAV_LINKS",0,[{label:"Features",href:"/#features"},{label:"How It Works",href:"/#how-it-works"},{label:"Pricing",href:"/#pricing"},{label:"Knowledge Base",href:"/knowledge-base"},{label:"Gift",href:"/gift"}],"PRICING_FEATURES",0,["All comfort exercises & content","AI companion","Life review","Gratitude messages & love letters","End-of-life guidance library","All future updates included"]])},79342,e=>{"use strict";var t=e.i(90580),r=e.i(4586),n=e.i(17399),a=e.i(64442);e.s(["default",0,function(){let[e,s]=(0,r.useState)(!1),[i,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>s(window.scrollY>20);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsxs)("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-white/80 backdrop-blur-md shadow-sm":"bg-transparent"}`,children:[(0,t.jsxs)("nav",{className:"mx-auto flex max-w-6xl items-center justify-between px-6 py-4",children:[(0,t.jsx)("a",{href:"/",className:"font-serif text-2xl text-dusk-700",children:"Better End"}),(0,t.jsxs)("div",{className:"hidden items-center gap-8 md:flex",children:[n.NAV_LINKS.map(e=>(0,t.jsx)("a",{href:e.href,className:"text-sm font-medium text-dusk-500 transition-colors hover:text-dusk-700",children:e.label},e.href)),(0,t.jsx)(a.default,{href:"/download",variant:"primary",children:"Download App"})]}),(0,t.jsxs)("button",{className:"flex flex-col gap-1.5 md:hidden",onClick:()=>o(!i),"aria-label":"Toggle menu",children:[(0,t.jsx)("span",{className:`block h-0.5 w-6 bg-dusk-700 transition-transform duration-200 ${i?"translate-y-2 rotate-45":""}`}),(0,t.jsx)("span",{className:`block h-0.5 w-6 bg-dusk-700 transition-opacity duration-200 ${i?"opacity-0":""}`}),(0,t.jsx)("span",{className:`block h-0.5 w-6 bg-dusk-700 transition-transform duration-200 ${i?"-translate-y-2 -rotate-45":""}`})]})]}),i&&(0,t.jsx)("div",{className:"border-t border-warm-100 bg-white/95 backdrop-blur-md px-6 pb-6 pt-4 md:hidden",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[n.NAV_LINKS.map(e=>(0,t.jsx)("a",{href:e.href,className:"text-base font-medium text-dusk-500 hover:text-dusk-700",onClick:()=>o(!1),children:e.label},e.href)),(0,t.jsx)(a.default,{href:"/download",variant:"primary",children:"Download App"})]})})]})}])},40935,e=>{"use strict";var t=e.i(6535),r=e.i(4586);function n(){return"u">typeof window}function a(){return"production"}function s(){return(n()?window.vam:a())||"production"}function i(){return"production"===s()}function o(){return"development"===s()}e.s(["Analytics",0,function(e){return(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,r.useEffect)(()=>{!function(e={debug:!0}){var t;if(!n())return;!function(e="auto"){if("auto"===e){window.vam=a();return}window.vam=e}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));let r=e.scriptSrc?e.scriptSrc:o()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}/insights/script.js`:"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return;let s=document.createElement("script");
1s.src=r,s.defer=!0,s.dataset.sdkn="@vercel/analytics"+(e.framework?`/${e.framework}`:""),s.dataset.sdkv="1.6.1",e.disableAutoTrack&&(s.dataset.disableAutoTrack="1"),e.endpoint?s.dataset.endpoint=e.endpoint:e.basePath&&(s.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(s.dataset.dsn=e.dsn),s.onerror=()=>{let e=o()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${r}. ${e}`)},o()&&!1===e.debug&&(s.dataset.debug="false"),document.head.appendChild(s)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var r;null==(r=window.va)||r.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null},"track",0,function(e,t,r){var a,s;if(!n()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(i())console.warn(e);else throw Error(e);return}if(!t){null==(a=window.va)||a.call(window,"event",{name:e,options:r});return}try{let n=function(e,t){if(!e)return;let r=e,n=[];for(let[a,s]of Object.entries(e))"object"==typeof s&&null!==s&&(t.strip?r=function(e,{[e]:t,...r}){return r}(a,r):n.push(a));if(n.length>0&&!t.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return r}(t,{strip:i()});null==(s=window.va)||s.call(window,"event",{name:e,data:n,options:r})}catch(e){e instanceof Error&&o()&&console.error(e)}}])},61623,e=>{"use strict";var t=e.i(6535),r=e.i(4586),n=e.i(44217);function a(){return false}function s(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function i(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(n.current)e.route&&n.current(e.route);else{let r=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let r=e.scriptSrc?e.scriptSrc:a()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let n=document.createElement("script");return n.src=r,n.defer=!0,n.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),n.dataset.sdkv="1.3.1",e.sampleRate&&(n.dataset.sampleRate=e.sampleRate.toString()),e.route&&(n.dataset.route=e.route),e.endpoint?n.dataset.endpoint=e.endpoint:e.basePath&&(n.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(n.dataset.dsn=e.dsn),a()&&!1===e.debug&&(n.dataset.debug="false"),n.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(n),{setRoute:e=>{n.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});r&&(n.current=r.setRoute)}},[e.route]),null}function o(e){let a=(()=>{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,r=(0,n.usePathname)();if(!e)return null;let a=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!a)return r;let i=r;try{let e=Object.entries(a);for(let[t,r]of e)if(!Array.isArray(r)){let e=s(r);e.test(i)&&(i=i.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=s(r.join("/"));e.test(i)&&(i=i.replace(e,`/[...${t}]`))}return i}catch(e){return r}})();return r.default.createElement(i,{route:a,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(o,{...e}))}])}]);
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.