PageSourceSearch

https://insighttimer.com/static/js/9932.28d37df2.chunk.js

js insighttimer.com collected 2026-09-24 08:25:48 UTC 28,321 bytes, 167 lines download raw bytes

1"use strict";(self.webpackChunkinsight_timer=self.webpackChunkinsight_timer||[]).push([[8491,9932],{27094:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(95254);const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const i=(0,r.useRef)();return(0,r.useEffect)((()=>{t&&void 0===e||(i.current=e)})),i.current}},33390:(e,t,i)=>{i.d(t,{A:()=>r});const r=e=>{var t,i,r,n;return"string"===typeof e?e:null!==(t=null!==(i=null===e||void 0===e||null===(r=e.response)||void 0===r||null===(n=r.data)||void 0===n?void 0:n.message)&&void 0!==i?i:null===e||void 0===e?void 0:e.message)&&void 0!==t?t:null}},38491:(e,t,i)=>{i.r(t),i.d(t,{default:()=>o});var r=i(70705),n=i.n(r),a={};for(const s in r)"default"!==s&&(a[s]=()=>r[s]);i.d(t,a);const o=n().create({timeout:3e3})},41485:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(61213);const n=e=>{let{toastContent:t,toastOptions:i}=e;(0,r.toast)(t,null!==i&&void 0!==i?i:{})}},45129:(e,t,i)=>{i.d(t,{DL:()=>m,IN:()=>x,LT:()=>h,OV:()=>f,Tb:()=>c,ks:()=>g,p5:()=>d,vC:()=>p});var r=i(4021),n=i(83395),a=i(15328),o=i(85237),s=i(91796),l=(i(95254),i(64582));const d={control:(e,t)=>({...e,width:"100%",borderRadius:"4px",height:"50px",border:"solid 1px #e6e6e6",outline:t.isFocused?"2px solid #181818":void 0,boxShadow:"none",fontSize:"16px",paddingLeft:"4px",paddingRight:"4px"}),option:(e,t)=>({...e,backgroundColor:t.isSelected?"#181818":t.isFocused?"#eee":"none",":active":{backgroundColor:"#181818",color:"#fff"}}),placeholder:(e,t)=>({color:"#636D6D",display:t.isFocused?"none":"block",marginLeft:"2px"}),dropdownIndicator:e=>({...e,color:"#181818","&:hover":{color:"#181818"}})},c={base:{fontFamily:"ProximaNovaRegular, ProximaNovaMedium, sans-serif",fontSize:"16px",fontWeight:400,color:"#181818",fontSmoothing:"antialiased","::placeholder":{color:"rgba(72, 72, 72, 0.7)",fontSize:"16px",fontWeight:"400"}}},m={base:{fontFamily:"ProximaNovaRegular, ProximaNovaMedium, sans-serif",fontSize:"16px",fontWeight:400,textAlign:"right",fontSmoothing:"antialiased",color:"#181818","::placeholder":{color:"rgba(72, 72, 72, 0.7)",fontSize:"16px",fontWeight:"400"}}},u=e=>{let{css:t,...i}=e;return(0,l.jsx)(r.a,{css:`\n        .StripeElement {\n          padding-top: 15px;\n          padding-bottom: 15px;\n          padding-left: 12px;\n          padding-right: 12px;\n          border-radius: 4px;\n          border: solid 1px #e6e6e6;\n        }\n\n        .StripeElement--focus {\n          outline: solid 2px #181818 !important;\n        }\n\n        .StripeElement--invalid {\n          outline: solid 2px #fb2525;\n        }\n        ${t}\n      `,...i})},p=e=>{let{containerProps:t={},...i}=e;return(0,l.jsx)(u,{...t,children:(0,l.jsx)(s.CardNumberElement,{...i})})},h=e=>{let{containerProps:t={},...i}=e;return(0,l.jsx)(u,{...t,children:(0,l.jsx)(s.CardExpiryElement,{...i})})},x=e=>{let{containerProps:t={},...i}=e;return(0,l.jsx)(u,{...t,children:(0,l.jsx)(s.CardCvcElement,{...i})})},g=(0,o.A)({root:{width:"100%",color:"#181818",height:"50px",paddingTop:"17px",paddingBottom:"16px",paddingLeft:"13px",paddingRight:"13px",borderRadius:"4px",backgroundColor:"$fff",border:"solid 1px #e6e6e6"},input:{fontSize:"16px","&::placeholder":{color:"rgba(72, 72, 72, 0.7)",opacity:1},"&:disabled":{border:"none",outline:"none"}},error:{paddingLeft:"12px",paddingRight:"12px",color:"#fb2525",outline:"solid 2px #fb2525","&:hover":{outline:"solid 2px #fb2525"}},disabled:{color:"#181818",backgroundColor:"#F2f2f2"},focused:{paddingLeft:"12px",paddingRight:"12px",outline:"solid 2px #181818","&:hover":{outline:"solid 2px #181818"}}})(a.A),f=(0,o.A)({root:{width:"100%",fontSize:"16px",lineHeight:"28px",fontWeight:500,color:"#fff",backgroundColor:"#181818",height:"56px",borderRadius:"4px",textTransform:"none","&:hover":{backgroundColor:"#181818",opacity:.75}}})(n.A)},47463:(e,t,i)=>{i.d(t,{A:()=>m});var r=i(16614),n=i(93342),a=(i(95254),i(64582));const o=0,s=1,l=2,d=4,c=5,m=e=>{var t;let{textStyle:i,className:m,...u}=e;const{width:p}=(0,n.l)(),h=((e,t)=>{var i,r,n,a;const m=Array.isArray(t),u=m?t:[t];if(!m||!t)return t;const p=u[o],h=null!==(i=u[s])&&void 0!==i?i:p,x=null!==(r=u[l])&&void 0!==r?r:h,g=null!==(n=u[d])&&void 0!==n?n:x,f=null!==(a=u[c])&&void 0!==a?a:g;return e<600?p:e>=600&&e<768?h:e>=768&&e<1280?x:e>=1280&&e<1920?g:f})(null!==p&&void 0!==p?p:null===(t=window)||void 0===t?void 0:t.innerWidth,i);return(0,a.jsx)(r.A,{component:"p",...u,className:`${null!==h&&void 0!==h?h:""} ${null!==m&&void 0!==m?m:""}`})}},60062:(e,t,i)=>{i.d(t,{A:()=>s,getUserPrivateSettings:()=>o});var r=i(61991),n=i(94498),a=i(95679);const o=async()=>{const e=r.firebaseAuth.currentUser,t=await(0,a.createDocRef)(`users/${null===e||void 0===e?void 0:e.uid}/private/settings`);return(0,a.getDocument)(t).then((e=>{if(e.exists()){return e.data()}}))},s=async e=>{const t=await(0,n.getIdToken)(),r=(0,n.getAuthHeaders)(t);return(await Promise.all([i.e(705),i.e(8491)]).then(i.bind(i,38491))).default.post("https://users-api.insighttimer-api.net/api/v1/users/emails",e,r)}},64412:(e,t,i)=>{i.r(t),i.d(t,{default:()=>ue});var r=i(75696),n=i(20949),a=i(91796);const o=i.p+"static/media/BG-min.6b89062a043f79308552.jpg",s=i.p+"static/media/[email protected]";var l=i(95254);const d=i.p+"static/media/insighttimer.0a2aa1ca1a273dd39240e84154598c52.
1svg";var c=i(97141),m=i(16614),u=i(72650),p=i(47463),h=i(41485);var x=i(95679);const g=(e,t)=>{const[r,n]=(0,l.useState)("LOADING");return(0,l.useEffect)((()=>{if(!e||!t)return;n("LOADING");const r=async()=>{await(async(e,t,r)=>{const{collection:n,query:a,where:o,limit:s,getDocs:l}=await i.e(5818).then(i.bind(i,35818)),d=a(n(await(0,x.loadFirestore)(),`users/${e}/private/settings/email_addresses`),o("email_id","==",t),s(1)),c=async()=>{try{const e=(await l(d)).docs.map((e=>({id:e.id,...e.data()})));r(e.length?e[0]:void 0)}catch(e){r(void 0,e)}},m=setInterval(c,2e3);return c(),()=>clearInterval(m)})(e,t,((e,t)=>{t&&((0,h.A)({toastContent:t.message}),n("UNVERIFIED")),null!==e&&void 0!==e&&e.is_verified?n("SUCCESS"):n("UNVERIFIED")}))};return()=>{r()}}),[e,t]),{status:r}};var f=i(32104),v=i(33390),b=i(60062),w=i(64582);const j=(0,c.A)(u.A)`
2  display: flex;
3  justify-content: center;
4  align-items: start;
5`,y=e=>{let{loggedInUser:t}=e;const{uid:i,email:r}=t,{status:n}=g(i,null!==r&&void 0!==r?r:""),[a,o]=(0,l.useState)(!0),[s,d]=(0,l.useState)(!1);(0,l.useEffect)((()=>{"LOADING"!==n&&d("SUCCESS"!==n)}),[n]),(0,l.useEffect)((()=>{s&&r&&i&&(0,b.A)({action:"ADD",email_verification_type:"LINK",email_id:r}).catch((e=>{(0,h.A)({toastContent:(0,v.A)(e)})}))}),[i,r,s]);return(0,w.jsx)(j,{open:s,disableEscapeKeyDown:!0,children:(0,w.jsx)(m.A,{maxWidth:"600px",bgcolor:"white",padding:"24px",borderRadius:"10px",margin:"auto 10px",children:(0,w.jsxs)(m.A,{textAlign:"center",children:[(0,w.jsx)(p.A,{component:"h1",textStyle:"h1Medium",color:"var(--neutral-700)",children:"Verify your email address"}),(0,w.jsxs)(p.A,{marginTop:4,textStyle:"p1Regular",color:"var(--neutral-600)",children:["An email verification link has been sent to",(0,w.jsx)(p.A,{component:"span",textStyle:"p1Medium",color:"var(--neutral-700)",display:"block",children:r})]}),(0,w.jsx)(p.A,{textStyle:"p1Regular",mt:4,color:"var(--neutral-600)",children:"Please click on the link in the email then come back to this page."}),(0,w.jsx)(m.A,{height:8}),a&&(0,w.jsxs)(p.A,{textStyle:"p1Regular",textAlign:"center",color:"var(--neutral-600)",children:["Didn't get it?"," ",(0,w.jsx)(p.A,{component:"span",textStyle:"p1Medium",className:"pointer",color:"var(--blue-400)",onClick:()=>{r&&((0,b.A)({action:"ADD",email_verification_type:"LINK",email_id:r}).catch((e=>{(0,h.A)({toastContent:(0,v.A)(e)})})),o(!1))},children:"Resend Email"})]})]})})})},A=()=>{const{authState:e,user:t}=(0,f.t7)();return e!==f.kj.PENDING&&e!==f.kj.UNAUTHORIZED&&t?(0,w.jsx)(y,{loggedInUser:t}):null};var S=i(67576),C=i(40803),k=i(27689),E=i(50386),N=i(49295),z=i(64692);const _=e=>{let{title:t,description:i}=e;return null!=t&&null!=i?(0,w.jsx)(z.A,{title:`${t} | Insight Timer`,description:i,url:"https://insighttimer.com/subscribe/free-trial"}):null};var I=i(12867),D=i(28434);const T=c.A.div`
6  width: 100%;
7  min-height: 100vh;
8  background-position: top;
9  background-repeat: no-repeat;
10  transform: scale(1);
11  animation-duration: 20s;
12  animation-iteration-count: infinite;
13  animation-timing-function: linear;
14  animation-direction: alternate;
15  background-image: url('${e=>e.Background2x}');
16  background-size: cover;
17  @media (min-width: 1280px) {
18    background-image: url('${e=>e.Background2x}');
19    background-size: 100% auto;
20  }
21  @media (min-width: 965px) {
22    background-image: url('${e=>e.Background}');
23    background-size: 100% auto;
24  }
25  @media (max-width: 600px) {
26    background-image: url('${e=>e.Background}');
27    background-size: 100% auto;
28  }
29`,R=c.A.img`
30  padding-top: 35px;
31  padding-left: 45px;
32  padding-right: 45px;
33  padding-bottom: 1.25rem;
34  margin-left: auto;
35  margin-right: auto;
36  @media (min-width: 960px) {
37    position: absolute;
38    padding-bottom: 2rem;
39    margin: 0;
40  }
41`,$=c.A.div`
42  min-height: 100vh;
43  justify-content: center;
44  align-items: center;
45  display: flex;
46  flex-direction: column;
47  width: 100%;
48
49  @media (min-width: 960px) {
50    flex-direction: row;
51    padding-top: 2rem;
52  }
53`,P=c.A.div`
54  --text-opacity: 1;
55  color: rgba(255, 255, 255, var(--text-opacity));
56  text-align: center;
57  line-height: 1.25;
58  align-items: flex-end;
59  flex-direction: column;
60  display: flex;
61  @media (min-width: 960px) {
62    flex: 1 1;
63  }
64`,L=c.A.div`
65  font-size: 52px;
66  width: 100%;
67  margin-bottom: 0.5rem;
68  font-family: JennaSuePro;
69  @media (min-width: 960px) {
70    margin-bottom: 0;
71  }
72  @media (max-width: 600px) {
73    font-size: 31px;
74  }
75`,U=c.A.h1`
76  font-size: 74px;
77  width: 100%;
78  font-weight: 700;
79  @media (max-width: 960px) {
80    font-size: 52px;
81  }
82  @media (max-width: 600px) {
83    font-size: 34px;
84  }
85`,B=c.A.div`
86  width: 100%;
87  font-size: 1rem;
88  font-weight: 700;
89  margin-top: 0.75rem;
90  margin-bottom: 0.75rem;
91  @media (min-width: 960px) {
92    margin-top: 1rem;
93    margin-bottom: 1rem;
94    font-size: 1.5rem;
95  }
96`,O=(0,c.A)(D.A)`
97  width: 21px;
98  height: 21px;
99  margin-left: -1px;
100  margin-bottom: 2px;
101  @media (max-width: 960px) {
102    width: 12px;
103    height: 12px;
104  }
105`,F=c.A.div`
106  width: 39%;
107  justify-content: center;
108  align-items: center;
109  display: flex;
110  @media (max-width: 1280px) {
111    padding: 0;
112    max-width: 520px;
113  }
114  @media (max-width: 960px) {
115    max-width: 520px;
116    width: 100%;
117  }
118`,H=c.A.div`
119  width: 100%;
120  max-width: 500px;
121`,W=c.A.p`
122  font-size: 0.875rem;
123  color: #484848;
124  text-align: center;
125  opacity: 0.75;
126  margin-bottom: 1rem;
127`,M=c.A.div`
128  box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.2);
129  padding: 2rem 1.5rem;
130  border-radius: 0.5rem;
131  background-color: #fff;
132  @media (min-width: 600px) {
133    padding-left: 3rem;
134    padding-right: 3rem;
135    padding-top: 4rem;
136  }
137`,q=c.A.h2`
138  font-size: 34px;
139  max-width: 380px;
140  line-height: 1.09;
141  letter-spacing: 0.3px;
142  color: #181818;
143  margin-bottom: 2rem;
144  margin-top: 1rem;
145  font-weight: 700;
146  @media (max-width: 960px) {
147    font-size: 24px;
148    max-width: 300px;
149    line-height: normal;
150    letter-spacing: 0.21px;
151  }
152`,V=c.A.div`
153  font-size: 0.875rem;
154  text-align: center;
155  padding: 0 0.75rem;
156  line-height: 1.375;
157  color: #484848;
158  a {
159    font-weight: 700;
160  }
161  @media (min-width: 600px) {
162    color: #fff;
163  }
164`,Z=(0,c.A)(I.A)`
165  ${e=>!0===e.disabled&&"> div:first-of-type { background: #f2f2f2; }"}
166`;var G,Y=i(6547);function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},J.apply(null,arguments)}function K(e,t){let{title:i,titleId:r,...n}=e;return l.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",width:108,height:23,viewBox:"0 0 108 23",ref:t,"aria-labelledby":r},n),i?l.createElement("title",{id:r},i):null,G||(G=l.createElement("g",{fill:"#181818",fillRule:"evenodd"},l.createElement("path",{d:"M62.046 8.41c.55 0 1.055.087 1.515.26.46.173.856.42 1.189.74l-.38.745c-.049.08-.1.139-.153.177a.336.336 0 0 1-.2.057.519.519 0 0 1-.283-.10
1667 5.545 5.545 0 0 0-.386-.237 3.367 3.367 0 0 0-.543-.24 2.249 2.249 0 0 0-.746-.11c-.266 0-.5.034-.703.1-.201.067-.372.16-.509.28a1.15 1.15 0 0 0-.31.423 1.341 1.341 0 0 0-.103.53c0 .244.064.447.193.61.13.161.299.3.51.415.21.116.452.217.722.303.271.087.548.18.83.277.281.098.558.209.829.333.27.124.511.282.722.473.211.19.38.424.51.699.129.275.193.61.193 1.006 0 .426-.074.825-.22 1.198a2.82 2.82 0 0 1-.636.976c-.277.278-.62.496-1.026.656-.406.16-.869.24-1.388.24a4.602 4.602 0 0 1-1.728-.343 4.151 4.151 0 0 1-.743-.397 3.717 3.717 0 0 1-.62-.519l.454-.746a.44.44 0 0 1 .153-.146.408.408 0 0 1 .206-.054c.102 0 .216.048.34.143.124.096.274.2.45.314.175.113.387.217.635.312.249.096.546.144.893.144.564 0 1-.138 1.308-.413.31-.275.463-.655.463-1.139 0-.27-.064-.492-.193-.663a1.57 1.57 0 0 0-.51-.43 3.659 3.659 0 0 0-.722-.292c-.27-.08-.546-.166-.826-.257a8.012 8.012 0 0 1-.826-.32 2.624 2.624 0 0 1-.722-.479 2.215 2.215 0 0 1-.51-.732c-.128-.291-.193-.654-.193-1.09a2.584 2.584 0 0 1 .796-1.867c.26-.251.58-.452.962-.603a3.529 3.529 0 0 1 1.306-.226zm-60.583.107c.137 0 .244.012.32.037.075.024.144.099.206.223l3.076 5.574c.067.129.13.26.19.396s.115.274.163.417c.054-.143.11-.284.17-.423.06-.14.123-.275.19-.403l3.03-5.561c.062-.124.131-.199.207-.223.075-.025.182-.037.32-.037H10.5v9.59H9.128v-6.573a6.702 6.702 0 0 1 .04-.733l-3.084 5.694c-.12.236-.304.353-.552.353h-.22c-.253 0-.437-.117-.553-.353l-3.13-5.707a7.827 7.827 0 0 1 .04.746v6.573H.297v-9.59h1.166zm17.561 0v1.259H14.61v2.89h3.53v1.219h-3.53v2.963h4.422l-.007 1.26h-5.98v-9.59h5.98zm3.124 0c.137 0 .244.012.32.037.075.024.144.099.206.223l3.076 5.574c.067.129.13.26.19.396s.115.274.163.417c.054-.143.11-.284.17-.423.06-.14.123-.275.19-.403l3.03-5.561c.062-.124.131-.199.207-.223.075-.025.182-.037.32-.037h1.165v9.59h-1.372v-6.573a6.701 6.701 0 0 1 .04-.733l-3.084 5.694c-.12.236-.304.353-.552.353h-.22c-.253 0-.437-.117-.553-.353l-3.13-5.707a7.827 7.827 0 0 1 .04.746v6.573h-1.372v-9.59h1.166zm14.77 0c.614 0 1.137.059 1.573.177.435.117.792.285 1.072.502.28.218.485.483.616.796.13.313.196.665.196 1.056 0 .226-.034.445-.103.656-.069.21-.175.408-.32.593-.144.184-.325.35-.542.496a3.113 3.113 0 0 1-.773.366c1.359.288 2.038 1.01 2.038 2.164 0 .409-.077.783-.23 1.123-.153.34-.375.632-.666.879-.29.246-.65.438-1.075.576a4.742 4.742 0 0 1-1.459.206H33.73v-9.59h3.19zm11.755 0v1.259h-4.415v2.89h3.53v1.219h-3.53v2.963h4.422l-.007 1.26h-5.98v-9.59h5.98zm4.782 0c.63 0 1.173.064 1.628.193.455.129.83.312 1.122.55.293.237.51.522.65.855.14.333.21.704.21 1.113 0 .333-.05.643-.15.932-.1.289-.245.55-.433.786a2.78 2.78 0 0 1-.696.612 3.537 3.537 0 0 1-.94.407c.192.115.356.277.494.486l2.59 3.656H56.54c-.276 0-.476-.106-.6-.32l-2.238-3.23a.738.738 0 0 0-.246-.24c-.089-.048-.222-.073-.4-.073h-.866v3.863h-1.558v-9.59h2.824zm-16.243 5.315h-1.925v3.043h1.932c.35 0 .647-.04.889-.123.241-.082.439-.194.592-.337.153-.142.264-.31.333-.502.069-.194.104-.4.104-.623 0-.453-.155-.81-.463-1.069-.309-.26-.796-.39-1.462-.39zm16.243-4.096h-1.266v3.376h1.226c.355 0 .666-.043.932-.13.267-.086.489-.207.666-.363.178-.155.311-.34.4-.556.089-.215.133-.454.133-.716 0-.523-.173-.923-.52-1.198-.346-.276-.87-.413-1.571-.413zm-16.536 0h-1.632v2.997h1.559c.666 0 1.163-.13 1.491-.387.329-.257.493-.628.493-1.112 0-.528-.154-.91-.463-1.145-.308-.236-.791-.353-1.448-.353z",opacity:.502}),l.createElement("path",{d:"M79.582.452c1.496.15 2.924.525 4.096 1.52 1.932 1.64 2.276 4.328.76 6.35-.892 1.188-2.05 2.06-3.276 2.863-1.099.72-2.283 1.277-3.52 1.677-1.147.371-2.343.593-3.523.858-.24.054-.354.133-.42.38-.484 1.833-1.012 3.654-1.472 5.492-.116.461-.155.944-.189 1.425-.019.272-.025.545-.024.817.002.538-.099 1.54-.927.96-.39-.272-.592-.668-.72-1.109-.224-.772-.144-1.552-.034-2.329a27.517 27.517 0 0 1 1.235-5.082c.118-.343-.305-.695-.426-1.01-.102-.264-.24-.562.064-.72.065-.034.894-.118.919-.191.903-2.74 1.58-5.039 2.477-7.781.03-.089.054-.238.058-.331.017-.4.119-.508.518-.537.594-.044 1.073.35 1.145.976.027.24.026.5-.038.731-.475 1.712-.744 2.977-1.238 4.683-.176.606-.376 1.204-.59 1.881.514-.136.979-.236 1.427-.383 2.178-.714 4.202-1.724 5.982-3.184.726-.595 1.383-1.26 1.805-2.113.808-1.631.287-2.832-1.305-3.56-.922-.42-1.911-.567-2.912-.596-2.816-.08-5.505.458-7.989 1.901-.74.43-1.427.948-2.043 1.542-.559.538-1.016 1.13-.826 1.99.028.128-.15.383-.29.443a.775.775 0 0 1-.593-.026c-.433-.228-.672-.858-.593-1.364.236-1.513 1.09-2.632 2.269-3.533 1.405-1.073 3.026-1.68 4.715-2.127 1.797-.475 3.62-.699 5.478-.513zm7.094 3.092s.306-1.024.915-.363c.227.246.36.563.41.894.045.305.073.614-.001.889-.5 1.838-1.02 3.674-1.618 5.482-.679 2.054-1.466 4.075-1.938 6.19 0 0-.64 2.763-.21 2.98 1.115-.604 3.264-3.804 3.264-3.804a39.41 39.41 0 0 0 1.74-2.473c.359
166-.544.623-1.15.98-1.695a10.3 10.3 0 0 1 1.015-1.284c.374-.409 1.227-.465 1.69-.165.21.136.118.29.041.446l-.32.64c-.322.638-.647 1.276-.94 1.928-.57 1.274-1.043 2.583-1.198 3.985a1.01 1.01 0 0 0-.006.106l.004.213.11.036c.214-.301.443-.593.64-.905 1.008-1.608 1.999-3.226 3.015-4.828.269-.423.589-.818.916-1.2.336-.393.999-.433 1.288-.017.162.232.38.531.238.928-.816 2.263-1.424 4.581-1.767 6.965-.02.137-.003.28-.003.42l.095.043c.189-.168.406-.313.562-.507a243.366 243.366 0 0 0 2.906-3.686c.464-.603.883-1.24 1.315-1.867.063-.092.122-.215.117-.32-.077-1.67.83-2.754 2.139-3.593a4.343 4.343 0 0 1 1.832-.655s1.385-.027 1.824.846c.545.887.526 1.587-.102 2.3-.164.187-.4.372-.632.422-.214.046-.477-.068-.696-.161-.056-.024-.063-.246-.036-.364.1-.449.239-.889.335-1.339.076-.356-.025-.451-.381-.42-1.27.11-2.31 1.074-2.395 2.249-.046.649.202 1.244.441 1.828.223.544.485 1.072.729 1.606.907-.36 3.397-1.724 4.588-2.713.097-.081.24.014.205.136a3.263 3.263 0 0 1-1.47 1.882l-2.82 1.664c.06.58.174 1.132.164 1.68-.037 1.942-2.015 3.584-3.94 3.308-1.152-.166-1.638-1.2-.995-2.17.925-1.394 2.549-2.626 2.549-2.626l-1.065-2.416c-.213.335-.417.671-.634.998-.858 1.285-1.718 2.57-2.825 3.662a7.443 7.443 0 0 1-.954.81c-.913.638-1.998.298-2.426-.738-.298-.722-.158-1.456-.049-2.187.044-.293.106-.583.156-.861-.44.637-.859 1.297-1.338 1.91-.3.384-.675.717-1.05 1.034-.353.299-.848.381-1.27.19-.127-.058-.26-.103-.387-.164-.757-.364-1.068-.981-1.017-1.803.008-.126.001-.252.001-.475 0 0-2.305 3.912-4.188 4.373-.373.091-.998-.161-1.285-.6-1.205-1.446-.25-4.933-.25-4.933.716-2.266 1.495-4.513 2.26-6.764.563-1.653 1.147-3.298 1.722-4.947zm14.987 14.016c-.388.174-1.287 1.114-1.673 1.629-.187.248-.29.445-.348.583a.258.258 0 0 0 .197.355.765.765 0 0 0 .153.01c1.14-.05 2.057-1.458 1.67-2.577z"}))))}const Q=l.forwardRef(K);i.p;var X=i(54541),ee=i(27094),te=i(67850),ie=i(22409),re=i.n(ie),ne=i(19919),ae=i(9014),oe=i(80288),se=i(2976),le=i(80401),de=i(45129),ce=i(93786);const me=()=>{var e,t;const i=(0,a.useStripe)(),n=(0,a.useElements)(),[o,s]=(0,l.useState)(),[d,c]=(0,l.useState)(),[m,u]=(0,l.useState)({}),[p,h]=(0,l.useState)(!1),[x,v]=(0,l.useState)(!1),[b,j]=(0,l.useState)({name:"",zipCode:"",country:""}),{executeRecaptcha:y}=(0,E._Y)(),{authState:A,user:k}=(0,f.t7)(),{isLoading:N,isSubscriber:z,setIsSubscriber:_}=(0,te.H7)(),{showLoginPopup:D}=(0,X.YF)(),T=(0,C.E)(),R=(0,ee.A)(A),{status:$}=g(null!==(e=null===k||void 0===k?void 0:k.uid)&&void 0!==e?e:"",null!==(t=null===k||void 0===k?void 0:k.email)&&void 0!==t?t:""),{name:P,zipCode:L,country:U}=b,B=N||p,O=B||z,F=e=>{const t=m;t[e.elementType]=e,u(t)},H=null===k||void 0===k?void 0:k.email,G=(e,t,i)=>{const{value:r}=e.target;i&&r.length>i||j({...b,[t]:r})},J=(0,l.useCallback)((async()=>{h(!0),s(void 0);const e={name:P,email:H||"",address:{country:U,postal_code:L}};try{var t;const r=y?await y("subscribe"):"",o=null===n||void 0===n?void 0:n.getElement(a.CardNumberElement);if(!o)return void h(!1);const l=await(null===i||void 0===i?void 0:i.createSource(o,{type:"card",owner:e}));if(null!==l&&void 0!==l&&l.error)return s(l.error.message),void h(!1);let d={subscription_reason:"web_subscribe"};const m=ne.parse(window.location.search);re()(m)||(d={...d,...m}),(0,oe.B1)(null===e||void 0===e?void 0:e.email,(null===l||void 0===l||null===(t=l.source)||void 0===t?void 0:t.id)||"",oe.I||"",oe.ZJ,d,{"g-recaptcha-token":r}).then((()=>{h(!1),s(void 0),c(T._("Free Trial Successfully completed.")),_(!0)})).catch((e=>{var t,i;c(void 0);let r=T._("Sorry for the inconvenience, but the system is currently unavailable. Please try again later.");null!==e&&void 0!==e&&null!==(t=e.response)&&void 0!==t&&null!==(i=t.data)&&void 0!==i&&i.message&&(r=e.response.data.message),s(r),h(!1)}))}catch(r){s(null===r||void 0===r?void 0:r.message),h(!1)}}),[P,H,U,L,y,n,i,T,_]);return(0,l.useEffect)((()=>{A===f.kj.AUTHORIZED&&R!==f.kj.AUTHORIZED&&"SUCCESS"===$&&x&&(J(),v(!1))}),[R,A,x,v,J,$]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("form",{className:"w-full",onSubmit:e=>{e.preventDefault(),e.stopPropagation();try{(()=>{if(!P||0===P.trim().length)throw new Error(T._("Name is required."));if(!L||0===L.trim().length)throw new Error(T._("Zip code is required."));if(!U||0===U.trim().length)throw new Error(T._("Country is required."));if(!m.cardNumber||m.cardNumber.empty)throw new Error(T._("Card Number is required."));if(m.cardNumber.error)throw new Error(m.cardNumber.error.message);if(!m.cardExpiry||m.cardExpiry.empty)throw new Error(T._("Card Expiry is required."));if(m.cardExpiry.error)throw new Error(m.cardExpiry.error.message);if(!m.cardCvc||m.cardCvc.empty)throw new Error(T._("Card CVC is required."));if(m.cardCvc.error)throw new Error(m.cardCvc.error.message)})()}catch(t){return void s(t.message)}k&&k.uid?J():(D(),v(!0))},children:(0,w.jsxs)(M,{children:[(0,w.jsx)(Q,{}),(0,w.jsx)(q,{children:(0,w.jsx)(r.x6,{id:"No Commitment, Cancel Anytime"})}),(0,w.jsxs)(I.A,{item:!0,children:[d&&(0,w.jsx)(ce.A,{variant:"success",message:d,onClose:()=>c(void 0)}),o&&(0,w.jsx)(ce.A,{variant:"error",message:o,onClose:()=>s(void 0)})]}),(0,w.jsx)(I.A,{item:!0,className:"mb-4",children:(0,w.jsx)(de.ks,{id:"name",value:P,placeholder:T._("Name on card"),disabled:O,onChange:e=>{G(e,"name")}})}),(0,w.jsx)(Z,{item:!0,className:"mb-4",disabled:O,children:(0,w.jsx)(de.vC,{options:{style:de.Tb,disabled:O,placeholder:T._("Card number")},onChange:F})}),(0,w.jsx)(I.A,{item:!0,className:"mb-4",children:(0,w.jsxs)(I.A,{container:!0,spacing:2,className:"my-0",children:[(0,w.jsxs)(Z,{item:!0,xs:7,className:"py-0 relative",disabled:O,children:[(0,w.jsx)(de.LT,{id:"card_expiry",options:{style:de.DL,disabled:O},onChange:F}),(0,w.jsx)("div",{className:"font-ProxiSemibold text-base absolute left-0 top-0 h-full flex items-center",children:(0,w.jsx)("div",{className:"ml-6 text-xdark",children:(0,w.jsx)(r.x6,{id:"Expiry"})})})]}),(0,w.jsx)(Z,{item:!0,xs:5,className:"py-0",disabled:O,children:(0,w.jsx)(de.IN,{id:"card_cvc",options:{style:de.Tb,disabled:O,placeholder:T._("CVC")},onChange:F})})]})}),(0,w.jsx)(I.A,{item:!0,className:"mb-8",children:(0,w.jsxs)(I.A,{container:!0,spacing:2,className:"my-0",children:[(0,w.jsx)(I.A,{item:!0,xs:7,className:"py-0",children:(0,w.jsx)(ae.Ay,{id:"country",components:{IndicatorSeparator:null},placeholder:T._("Country"),options:se.T,styles:de.p5,isDisabled:O,onChange:e=>{e&&"code"in e&&j({...b,country:e.code})}})}),(0,w.jsx)(I.A,{item:!0,xs:5,className:"py-0",children:(0,w.jsx)(de.ks,{value:L,id:"zipCode",placeholder:T._("Zip code"),disabled:O,onChange:e=>{G(e,"zipCode",10)}})})]})}),(0,w.jsx)(W,{children:(0,w.jsx)(r.x6,{id:"US$59.99 billed annually after free trial."})}),(0,w.jsx)(I.A,{item:!0,className:"mb-6",children:(0,w.jsxs)(de.OV,{disabled:O,className:"shadow-none outline-none ",variant:"contained",type:"submit",children:[B&&(0,w.jsx)(Y.A,{className:"w-6 h-6 text-black"}),!B&&!z&&"Start free trial",!B&&z&&"Subscribed"]})}),(0,w.jsx)(W,{children:(0,w.jsx)(r.x6,{id:"You won't be charged until after your 7\u2011day free trial. We'll remind you three days before your trial ends."})}),(0,w.jsx)(I.A,{item:!0,children:(0,w.jsx)("img",{src:le,alt:"",style:{maxWidth:"220px"},className:"mx-auto"})})]})}),(0,w.jsx)(S.A,{height:20}),(0,w.jsx)(V,{children:(0,w.jsx)(r.x6,{id:"Subscribe to MemberPlus on 7 Day Free Trial. Your annual subscription will automatically begin after 7 days at US $59.99 if you don't cancel before hand."})}),(0,w.jsx)(S.A,{height:15}),(0,w.jsx)(V,{children:(0,w.jsx)(r.x6,{id:"By continuing with purchase you agree to our <0>Terms</0>",components:[(0,w.jsx)("a",{href:"/legal/terms-of-service",target:"_blank",rel:"noopener noreferrer",children:"Terms"},"terms-link")]})}),(0,w.jsx)(S.A,{height:20})]})},ue=()=>{var e;const t=(0,C.E)(),i=t._("Insight Timer Premium: 7 Day Trial"),l=t._("Subscribe to MemberPlus on 7 Day Free Trial");return(0,w.jsxs)(E.G3,{reCaptchaKey:null!==(e="6LcM7m0aAAAAAOUqm1X_l0z996munSio_fpaJHIb")?e:"",children:[(0,w.jsxs)(N.Ay,{children:[(0,w.jsx)("meta",{name:"robots",content:"noindex"}),(0,w.jsx)("meta",{name:"googlebot",content:"noindex"})]}),(0,w.jsx)(_,{title:i,description:l}),(0,w.jsx)(A,{}
166),(0,w.jsxs)(T,{Background2x:o,Background:s,children:[(0,w.jsx)(R,{src:d,alt:"insighttimer logo"}),(0,w.jsx)(n.A,{maxWidth:"xl",className:"w-full py-0",children:(0,w.jsxs)($,{children:[(0,w.jsxs)(P,{children:[(0,w.jsx)(L,{children:(0,w.jsx)(r.x6,{id:"Web Offer"})}),(0,w.jsx)(U,{children:(0,w.jsx)(r.x6,{id:"Start Your 7 Day <0/> Free Trial",components:[(0,w.jsx)("br",{},"br")]})}),(0,w.jsxs)(B,{children:[(0,w.jsx)(r.x6,{id:"350k"})," ",(0,w.jsxs)("span",{children:[(0,w.jsx)(O,{}),(0,w.jsx)(O,{}),(0,w.jsx)(O,{}),(0,w.jsx)(O,{}),(0,w.jsx)(O,{})]})," ",(0,w.jsx)(r.x6,{id:"reviews"})]}),(0,w.jsx)(S.A,{height:24})]}),(0,w.jsx)(F,{children:(0,w.jsx)(H,{children:(0,w.jsx)(a.Elements,{stripe:k.t,children:(0,w.jsx)(me,{})})})})]})})]})]})}},67576:(e,t,i)=>{i.d(t,{A:()=>a});var r=i(4021),n=(i(95254),i(64582));const a=e=>{let{height:t}=e;return(0,n.jsx)(r.a,{height:Array.isArray(t)?t.map((e=>`${e}px`)):`${t}px`})}},74756:(e,t,i)=>{i.d(t,{Ds:()=>c,Jq:()=>s,PI:()=>m,QZ:()=>d,uj:()=>l});var r=i(73999),n=i.n(r),a=i(34969),o=i.n(a);n().extend(o());const s=(e,t)=>{if(e){const i=Math.floor(e/60);return e>59?`${i} min${i>1&&t?"s":""}`:`${e} sec`}return""},l=()=>{const e=n()();return{epoch:e.valueOf(),iso_8601_datetime_tz:e.toISOString()}},d=e=>n()().year()===n()(e).year(),c=e=>{if(0===e)return"00:00";const t=e=>`0${e}`.slice(-2),i=new Date(1e3*e),r=i.getUTCHours(),n=t(i.getUTCMinutes().toString()),a=t(i.getUTCSeconds().toString());return r?`${r}:${n}:${a}`:`${n}:${a}`},m=e=>n()(e).fromNow()},80401:(e,t,i)=>{e.exports=i.p+"static/media/powered-stripe.218d9ef2bb2f56976c88.png"},93342:(e,t,i)=>{i.d(t,{l:()=>s});var r=i(52446),n=i.n(r),a=i(95254);const o=()=>({height:window.innerHeight,width:window.innerWidth});function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const[t,i]=(0,a.useState)(o()),r=(0,a.useCallback)((()=>i(o())),[]),s=n()(r,e);return(0,a.useEffect)((()=>(window.addEventListener("resize",s),()=>window.removeEventListener("resize",s))),[s]),t}},93786:(e,t,i)=>{i.d(t,{A:()=>b});var r=i(95254),n=i(56242),a=i.n(n),o=i(156),s=i(12546),l=i(59310),d=i(1256),c=i(15532),m=i(7648),u=i(61941),p=i(17508),h=i(56613),x=i(85237),g=i(64582);const f={success:o.A,warning:p.A,error:s.A,info:l.A};class v extends r.Component{render(){const{classes:e,className:t,message:i,onClose:r,variant:n,...o}=this.props,s=f[n];return(0,g.jsx)(u.A,{className:a()(e[n],[t,"leading-normal"]),"aria-describedby":"client-snackbar",message:(0,g.jsxs)("span",{id:"client-snackbar",className:e.message,children:[(0,g.jsx)(s,{className:a()(e.icon,e.iconVariant)}),i]}),action:[(0,g.jsx)(h.A,{"aria-label":"Close",color:"inherit",className:e.close,onClick:r,children:(0,g.jsx)(d.A,{className:e.icon})},"close")],...o})}}const b=(0,x.A)((e=>({success:{backgroundColor:c.A[600],marginBottom:"12px",boxShadow:"none"},error:{backgroundColor:e.palette.error.dark,marginBottom:"12px",boxShadow:"none",flexWrap:"nowrap"},info:{backgroundColor:"#1A7878",marginBottom:"12px",boxShadow:"none"},warning:{backgroundColor:m.A[700],marginBottom:"12px",boxShadow:"none"},icon:{fontSize:20},iconVariant:{opacity:.9,marginRight:10},message:{display:"flex",alignItems:"center"}})))(v)}}]);
167//# sourceMappingURL=9932.28d37df2.chunk.js.map

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.