PageSourceSearch

https://www.bathtimer.com/_next/static/chunks/pages/index-649807dbbf3dd2cb.js

js bathtimer.com collected 2026-10-02 00:28:08 UTC 6,610 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5492:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(4296)}])},3018:function(e,t,s){"use strict";s.d(t,{Z:function(){return u}});var r=s(2676),n=s(5271),a=s(2317);function l(e){return(0,r.jsx)("input",{type:"text",...e,className:"px-7 py-2 rounded-2xl ".concat(e.className)})}let c=/^\w[\w.|]*@\w+\.\w+$/;async function i(e,t){return fetch("/api/verification/send/".concat(e),{method:"post",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({resend:t})})}let o="Verification email already sent.",d="You're already in this email list!";function u(){let e=(0,n.useRef)(""),[t,s]=(0,n.useState)(null),[u,f]=(0,n.useState)(!1),[h,m]=(0,n.useState)(!1);async function p(){var t;if(0===e.current.length)return;if(t=e.current,!c.test(t))return s("Please enter a valid email.");let r=await i(e.current,h);if(r.status<400)return s(null),m(!1),f(!0);let n=await r.text();return n===o?(m(!0),s("".concat(o," Resend?"))):n===d?(f(!0),s(d)):void 0}return(0,n.useEffect)(()=>{let e=e=>{"Enter"===e.key&&p()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),(0,r.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[!u&&!h&&(0,r.jsxs)("div",{className:"w-full flex flex-row",children:[(0,r.jsx)(l,{placeholder:"Sign up for updates!",onChange:function(t){s(null),f(!1),e.current=t.target.value.toLowerCase()},className:"mr-1 ".concat(t?"box-border border-4 border-danger-500":"box-border border-4 border-info-500")}),(0,r.jsx)(a.Z,{variant:"info",onClick:p,children:"\uD83D\uDCEB Subscribe!"})]}),(0,r.jsx)(x,{error:t,submitted:u,resendObj:{resend:h,submit:p}})]})}function x(e){let{error:t,submitted:s,resendObj:n}=e;return t||s?(0,r.jsxs)("div",{className:"flex items-center ".concat(s?"bg-success-500":"bg-danger-500"," my-2 py-2 px-6 rounded-lg"),children:[(0,r.jsx)("p",{children:t||"✉️ Sent! Check your inbox for a verification email. If you don't see it in a few minutes, check your spam folder."}),n.resend&&(0,r.jsx)(a.Z,{variant:"secondary",onClick:n.submit,className:"ml-2 -mr-2",children:"Resend"})]}):null}},2317:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var r=s(2676);let n={primary:"bg-bathblue",secondary:"bg-bathyellow",success:"bg-success-500",info:"bg-info-500",clear:"bg-transparent"},a={primary:"bg-bathblue-darken2",secondary:"bg-bathyellow-darken2",success:"bg-success-700",info:"bg-info-700",clear:"bg-transparent"},l={primary:"text-black",secondary:"text-black",success:"text-white",info:"text-white",clear:"text-black"},c={primary:"border-bathblue-darken2",secondary:"border-bathyellow-darken2",success:"border-success-700",info:"border-info-700",clear:"border-transparent"};function i(e){let{variant:t="primary",className:s}=e,i=n[t],o=a[t],d=l[t],u=c[t];return(0,r.jsx)("div",{className:"table rounded-2xl pb-2 ".concat(o," active:pb-0 active:mt-2 active:bg-transparent"),children:(0,r.jsx)("button",{...e,className:"px-7 py-3 rounded-2xl ".concat(i," border-[2px] ").concat(u," transition ease-in-out duration-150 ").concat(s," ").concat(d)})})}},4296:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return j}});var r=s(2676),n=s(2570),a=s.n(n),l=s(5213),c=s.n(l),i=s(5996),o=s.n(i);s(5271);var d=s(3018);function u(){return(0,r.jsx)(c(),{src:"/images/demo.png",height:750,width:750,alt:"phone screenshot - set and reach your goal, and routine steps play during your shower"})}var x=s(2317);function f(){return(0,r.jsxs)("div",{className:"h-full w-full lg:w-3/5 xl:w-2/5 flex flex-col justify-start items-start lg:mt-20",children:[(0,r.jsxs)("h1",{className:"text-5xl sm:text-6xl font-semibold",children:["Stick to a routine. Take ",(0,r.jsx)("span",{className:"underline decoration-bathyellow",children:"shorter showers"}),"."]}),(0,r.jsx)(m,{}),(0,r.jsxs)("div",{className:"hidden lg:flex flex-col justify-start items-start",children:[(0,r.jsx)(d.Z,{}),(0,r.jsx)(p,{})]})]})}function h(){return(0,r.jsxs)("div",{className:"h-auto w-full lg:w-2/5 xl:w-3/5 flex flex-col justify-start items-center lg:flex-row lg:justify-center lg:items-start lg:px-12 mt-4 md:mt-20 xl:mt-8 2xl:mt-0",children:[(0,r.jsx)(u,{}),(0,r.jsxs)("div",{className:"flex lg:hidden flex-col items-start w-full mt-16",children:[(0,r.jsx)(d.Z,{}),(0,r.jsx)(p,{})]})]})}function m(){return(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row justify-center items-center self-start mt-6 lg:mt-12 mb-12 lg:mb-24",children:[(0,r.jsx)(o(),{href:"https://apps.apple.com/us/app/bathtimer-shorter-showers/id1610658177",target:"_blank",children:(0,r.jsx)(c(),{src:"/images/GetOnAppStore.svg",alt:"get on app store",width:253.5,height:85,className:"cursor-pointer"})}),(0,r.jsx)("div",{className:"mx-3"}),(0,r.jsx)(o(),{href:"https://play.google.com/store/apps/details?id=com.briancldo.Bathtimer&hl=en_US&gl=US",target:"_blank",children:(0,r.jsx)(c(),{src:"/images/GetOnPlayStore.svg",alt:"get on app store",width:253.5,height:85,className:"cursor-pointer"})})]})}function p(){return(0,r.jsx)("div",{className:"flex justify-center items-center my-8",children:(0,r.jsx)(b,{})})}function b(){return(0,r.jsx)("a",{href:"https://twitter.com/Bathtimerapp",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsxs)(x.Z,{variant:"info",className:"flex justify-center items-center",children:[(0,r.jsx)(c(),{src:"/images/TwitterLogo.svg",height:24,width:24,alt:"logo"}),(0,r.jsx)("span",{className:"ml-2",children:"Follow for updates!"})]})})}
1function g(){return(0,r.jsx)(o(),{href:"https://dosagas.com/",passHref:!0,target:"_blank",children:(0,r.jsxs)("div",{className:"flex flex-row",children:[(0,r.jsxs)("span",{className:"mr-1.5",children:["Made with ",(0,r.jsx)("span",{className:"text-red-500 font-bold",children:"<3"})," by"]}),(0,r.jsx)("div",{className:"table rounded-lg pb-2.5 bg-[#bc89c3] active:pb-0 active:mt-2.5",children:(0,r.jsx)("span",{className:"font-extrabold text-[#bc89c3] bg-white px-4 py-1 rounded-lg border-[2px] border-[#bc89c3]",children:"Dosagas"})})]})})}var j=()=>(0,r.jsxs)("div",{className:"h-screen w-full",children:[(0,r.jsx)(a(),{children:(0,r.jsx)("meta",{name:"description",content:"Bathtimer helps you take shorter showers by pacing yourself"})}),(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row h-auto lg:h-full w-full",children:[(0,r.jsx)(f,{}),(0,r.jsx)(h,{})]}),(0,r.jsx)(g,{}),(0,r.jsx)("p",{className:"text-center lg:text-left",children:"\xa9 2025 • Dosagas"})]})}},function(e){e.O(0,[888,774,179],function(){return e(e.s=5492)}),_N_E=e.O()}]);

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.