PageSourceSearch

https://carpoolingwithjesus.com/_next/static/chunks/9003-a32fa94a7…?dpl=dpl_8rqx1xM71dZaEsRMXBx8cSyG4Src

js carpoolingwithjesus.com collected 2026-10-02 16:00:58 UTC 10,726 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9003],{3442:function(e,t,n){n.d(t,{L:function(){return l},default:function(){return d}});var a=n(7437),o=n(8667),r=n(9376),i=n(2265);let s="G-Q1H1P777N3";function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.gtag&&s&&window.gtag("event",e,t)}let u=["podcasts.apple.com","apple.co","open.spotify.com","spotify.link","youtube.com","youtu.be"];function d(){let e=(0,r.usePathname)(),t=(0,i.useRef)(!0);return((0,i.useEffect)(()=>{if(s)return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0);function e(e){var t,n;let a;let o=null===(n=e.target)||void 0===n?void 0:null===(t=n.closest)||void 0===t?void 0:t.call(n,"a[href]");if(!o)return;let r=o.getAttribute("href")||"";try{a=new URL(r,window.location.href)}catch(e){return}let i=a.hostname.replace(/^www\./,"");if(u.some(e=>i===e||i.endsWith("."+e))){l("listen_click",{platform:i.includes("apple")?"apple":i.includes("spotify")?"spotify":"youtube",link_url:a.href,page_path:window.location.pathname});return}(/\.pdf($|\?)/i.test(a.pathname)||o.hasAttribute("download"))&&l("resource_download",{file_name:a.pathname.split("/").pop()||a.pathname,page_path:window.location.pathname})}},[]),(0,i.useEffect)(()=>{if(!s||"/nonprofit"!==e)return;let t=window.setTimeout(()=>l("donate_view",{page_path:e}),1500);return()=>window.clearTimeout(t)},[e]),(0,i.useEffect)(()=>{if(t.current){t.current=!1;return}s&&window.gtag&&window.gtag("event","page_view",{page_path:e,page_location:window.location.href})},[e]),s)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{id:"ga4-src",strategy:"afterInteractive",src:"https://www.googletagmanager.com/gtag/js?id=".concat(s)}),(0,a.jsx)(o.default,{id:"ga4-init",strategy:"afterInteractive",children:"\n          window.dataLayer = window.dataLayer || [];\n          function gtag(){dataLayer.push(arguments);}\n          window.gtag = gtag;\n          gtag('js', new Date());\n          gtag('config', '".concat(s,"');\n        ")})]}):null}},7682:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(7437),o=n(2265),r=n(3768),i=n(3442),s=n(7598);function l(e){let{source:t="parents_signup"}=e,[n,l]=(0,o.useState)(""),[u,d]=(0,o.useState)(""),[c,b]=(0,o.useState)("idle"),[p,h]=(0,o.useState)("");async function f(e){if(e.preventDefault(),"sending"!==c){b("sending"),h("");try{let e=await fetch("/api/newsletter-signup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n,source:t,honeypot:u})}),o=await e.json();if(!e.ok){var a;throw Error(null!==(a=null==o?void 0:o.error)&&void 0!==a?a:"Could not subscribe.")}b("sent"),(0,r.Q)("Lead"),(0,i.L)("newsletter_signup",{source:t})}catch(e){b("error"),h(e instanceof Error?e.message:"Could not subscribe.")}}}return"sent"===c?(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("p",{className:"font-display text-outlined-blue text-3xl sm:text-4xl leading-none mb-2",children:"You're in."}),(0,a.jsx)("p",{className:"text-brand-brown text-sm sm:text-base",children:"Watch your inbox for the next issue of Carpool Unpacked."}),(0,a.jsx)("div",{className:"mt-5 text-left",children:(0,a.jsx)(s.default,{source:"newsletter",compact:!0,heading:"Two quick taps while you're here"})})]}):(0,a.jsxs)("form",{onSubmit:f,className:"w-full",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,a.jsx)("input",{type:"email",required:!0,value:n,onChange:e=>l(e.target.value),placeholder:"[email protected]",className:"flex-1 px-4 py-3 rounded-full bg-white text-brand-brown placeholder:text-brand-brown/40 border-2 border-brand-blue/20 focus:border-brand-blue focus:outline-none focus:ring-4 focus:ring-brand-blue/15",autoComplete:"email"}),(0,a.jsx)("button",{type:"submit",disabled:"sending"===c||!n,className:"inline-flex items-center justify-center gap-2 bg-brand-blue hover:bg-brand-brown text-white font-bold px-6 py-3 rounded-full transition-colors shadow-[0_5px_0_rgba(0,0,0,0.18)] active:translate-y-[2px] active:shadow-[0_3px_0_rgba(0,0,0,0.18)] disabled:opacity-60 disabled:cursor-not-allowed whitespace-nowrap",children:"sending"===c?"Sending...":"Subscribe"})]}),(0,a.jsx)("input",{type:"text",value:u,onChange:e=>d(e.target.value),tabIndex:-1,autoComplete:"off","aria-hidden":"true",className:"hidden"}),"error"===c&&(0,a.jsx)("p",{className:"mt-3 text-sm text-red-700 text-center",children:p})]})}},7598:function(e,t,n){n.d(t,{default:function(){return l}});
1var a=n(7437),o=n(2265),r=n(8877);let i="cwj_outcomes_done",s={days:{prompt:"How many days a week do you listen with your kids?",options:[{label:"Not yet",value:"0"},{label:"1 or 2",value:"1-2"},{label:"3 or 4",value:"3-4"},{label:"5 or more",value:"5+"}]},talk:{prompt:"After an episode, how often do you end up talking about it?",options:[{label:"Never",value:"never"},{label:"Sometimes",value:"sometimes"},{label:"Most days",value:"most_days"},{label:"Every time",value:"every_time"}]},easier:{prompt:"Since you started listening, is it easier to talk about faith with your kids?",options:[{label:"Much easier",value:"much_easier"},{label:"A little",value:"a_little"},{label:"No change",value:"no_change"},{label:"Not sure",value:"not_sure"}]},brought:{prompt:"Has your kid brought up something from an episode on their own?",options:[{label:"More than once",value:"more_than_once"},{label:"Once",value:"once"},{label:"Not yet",value:"not_yet"}]}};function l(e){let{source:t,compact:n=!1,heading:l="One more thing, if you have 30 seconds"}=e,[u,d]=(0,o.useState)("days"),[c,b]=(0,o.useState)({}),[p,h]=(0,o.useState)(null),[f,m]=(0,o.useState)(""),[g,w]=(0,o.useState)(!1),[x,y]=(0,o.useState)(""),[v,N]=(0,o.useState)(!1);if((0,o.useEffect)(()=>{(0,r.DV)(i)&&N(!0)},[]),v)return null;let _=n?["days","talk","done"]:["days","talk","easier","brought","written","done"];async function j(e){try{let n=await fetch("/api/outcomes-survey",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({source:t,days_per_week:e.days,talk_after:e.talk,easier_faith_talk:e.easier,kid_brought_up:e.brought})}),a=await n.json().catch(()=>null);(null==a?void 0:a.id)&&h(Number(a.id))}catch(e){}(0,r.I9)(i,"1")}async function k(){if(d("done"),p&&(f.trim()||x.trim()))try{await fetch("/api/outcomes-survey",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:p,what_changed:f,permission_to_quote:g,email:x})})}catch(e){}}let S="rounded-full border-2 border-brand-brown/15 bg-white px-4 py-2 text-sm font-bold text-brand-brown hover:border-brand-blue hover:text-brand-blue transition-colors";if("done"===u)return(0,a.jsx)("div",{className:"rounded-2xl bg-brand-bg/60 border border-brand-brown/10 p-5 text-center",children:(0,a.jsx)("p",{className:"text-sm font-bold text-brand-blue",children:"Thank you. That helps more than you know."})});if("written"===u)return(0,a.jsxs)("div",{className:"rounded-2xl bg-brand-bg/60 border border-brand-brown/10 p-5",children:[(0,a.jsx)("p",{className:"text-sm font-bold text-brand-brown mb-2",children:"Last one, and it is optional: what has changed at home, if anything?"}),(0,a.jsx)("textarea",{value:f,maxLength:500,onChange:e=>m(e.target.value),rows:2,placeholder:"One sentence is plenty.",className:"w-full rounded-lg border border-brand-brown/20 px-3 py-2 text-sm text-brand-brown focus:outline-none focus:ring-2 focus:ring-brand-blue"}),(0,a.jsxs)("label",{className:"mt-2 flex items-start gap-2 text-xs text-brand-brown/70",children:[(0,a.jsx)("input",{type:"checkbox",checked:g,onChange:e=>w(e.target.checked),className:"mt-0.5"}),"You may quote this (first name only, never your kids’ names)."]}),g&&(0,a.jsx)("input",{type:"email",value:x,maxLength:200,onChange:e=>y(e.target.value),placeholder:"Email, in case we want to ask you first (optional)",className:"mt-2 w-full rounded-lg border border-brand-brown/20 px-3 py-2 text-sm text-brand-brown focus:outline-none focus:ring-2 focus:ring-brand-blue"}),(0,a.jsxs)("div",{className:"mt-3 flex gap-2",children:[(0,a.jsx)("button",{type:"button",onClick:k,className:S,children:"Send it"}),(0,a.jsx)("button",{type:"button",onClick:()=>d("done"),className:"text-sm text-brand-brown/60 hover:text-brand-brown px-2",children:"Skip"})]})]});let C=s[u],I=_.indexOf(u)+1;return(0,a.jsxs)("div",{className:"rounded-2xl bg-brand-bg/60 border border-brand-brown/10 p-5",children:[1===I&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.18em] text-brand-red mb-2",children:l}),(0,a.jsxs)("p",{className:"text-sm font-bold text-brand-brown mb-3",children:[(0,a.jsxs)("span",{className:"text-brand-brown/40 mr-1",children:[I,"/",n?2:4]}),C.prompt]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:C.options.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>(function(e,t){let a={...c,[e]:t};b(a),d(function(e){let t=_.indexOf(e);return _[Math.min(t+1,_.length-1)]}(e)),e===(n?"talk":"brought")&&j(a)})(u,e.value),className:S,children:e.label},e.value))})]})}},1395:function(e,t,n){n.d(t,{AM:function(){return o},NQ:function(){return s},Z8:function(){return a},h5:function(){return r},p8:function(){return i}});let a="/give";"".concat("https://carpoolingwithjesus.com").concat(a);let o="https://widgets.givebutter.com/latest.umd.cjs?acct=".concat("sGlYToJNHCCKUDmz","&p=other"),r="pEZAJr",i="gRGOZw",s={eyebrow:"Keep it free",headline:"Five minutes with Jesus, free for every family.",body:"No ads, no sponsors, no paywall on the daily show. Families who give are the reason. A $10 monthly gift covers the show for a family you will never meet, and every dollar is tax-deductible.",button:"Give monthly",taxLine:"Carpooling with Jesus Ministries is a 501(c)(3) public charity, EIN 42-3845392."}},3768:function(e,t,n){n.d(t,{Q:function(){return o},z:function(){return a}});let a="1558710105760475";function o(e){"function"==typeof window.fbq&&window.fbq("track",e)}},8877:function(e,t,n){function a(e){try{return window.localStorage.getItem(e)}catch(e){return null}}function o(e,t){try{window.localStorage.setItem(e,t)}catch(e){}}function r(e){try{window.localStorage.removeItem(e)}catch(e){}}n.d(t,{CF:function(){return r},DV:function(){return a},I9:function(){return o}})},2141:function(e,t,n){n.d(t,{O:function(){return i}});var a=n(5063);let o="https://xnfwfgequshjpegqmtog.supabase.co",r="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhuZndmZ2VxdXNoanBlZ3FtdG9nIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Nzg1NDEzMjYsImV4cCI6MjA5NDExNzMyNn0.2nciuqzK2lCBTbEpR_-3deso7-iEMs8jOKS8a6hSXxs";if(!o||!r)throw Error("Missing Supabase env vars. Check that .env.local has NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY.");let i=(0,a.eI)(o,r)}}]);

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.