PageSourceSearch

https://www.pray.com/302fd157dc33fc53bf9e840ebcb882d42ee6f871.cb5cf50e5e11d4c3bb2f.js

js pray.com collected 2026-10-01 12:21:38 UTC 29,383 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_pray_www=self.webpackChunk_pray_www||[]).push([[665],{77618:function(e,a,t){t.r(a),t.d(a,{default:function(){return fe}});var l=t(14041),r=t(88165),n=t(7797),i=t(93609),M=t(50592),c=t(93203),o=t(52154);var s={getDailyItemForUser:async function(){const e=o.A.getUser(),a=await c.A.executeGetRequest("/0.9/users/"+e.id+"/daily-items"),{data:t}=a.data;return Object.assign({},t,{body:t.body.text,reference:t.reference.text})},getDailyItemByDailyId:async function(e){const a="/web/daily-items/"+e;return(await c.A.executeGetRequest(a)).data},getDailyItemByUserId:async function(){const e=o.A.getUser();return(await c.A.executeGetRequest("/web/users/"+e.id+"/daily-items")).data}},u=t(76669),m=t(18255),y=t(63833),I=t(62485),d=t(56011),N=t(40107),D=t(17997),g=t(58517),j=t(10544),A="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjI4MDMgMTMuMjE5N0MxMy45ODc0IDEyLjkyNjggMTMuNTEyNiAxMi45MjY4IDEzLjIxOTcgMTMuMjE5N0MxMi45MjY4IDEzLjUxMjYgMTIuOTI2OCAxMy45ODc0IDEzLjIxOTcgMTQuMjgwM0wxOC45MzkzIDIwTDEzLjIxOTcgMjUuNzE5N0MxMi45MjY4IDI2LjAxMjYgMTIuOTI2OCAyNi40ODc0IDEzLjIxOTcgMjYuNzgwM0MxMy41MTI2IDI3LjA3MzIgMTMuOTg3NCAyNy4wNzMyIDE0LjI4MDMgMjYuNzgwM0wyMCAyMS4wNjA3TDI1LjcxOTcgMjYuNzgwM0MyNi4wMTI2IDI3LjA3MzIgMjYuNDg3NCAyNy4wNzMyIDI2Ljc4MDMgMjYuNzgwM0MyNy4wNzMyIDI2LjQ4NzQgMjcuMDczMiAyNi4wMTI2IDI2Ljc4MDMgMjUuNzE5N0wyMS4wNjA3IDIwTDI2Ljc4MDMgMTQuMjgwM0MyNy4wNzMyIDEzLjk4NzQgMjcuMDczMiAxMy41MTI2IDI2Ljc4MDMgMTMuMjE5N0MyNi40ODc0IDEyLjkyNjggMjYuMDEyNiAxMi45MjY4IDI1LjcxOTcgMTMuMjE5N0wyMCAxOC45MzkzTDE0LjI4MDMgMTMuMjE5N1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=";var E={getStreakForUserWithDailyItemById:async function(e){const a=o.A.getUser(),t=await c.A.executeGetRequest("/0.13/users/"+a.id+"/streaks-v2?type=daily&id="+e),{data:l}=t.data;return Object.assign({},l)}},z=t(99723);var T={getTestimonialsByDailyItemId:async function(e){let{id:a,offset:t}=e;try{const e={limit:3};t&&(e.offset=t);const l="/web/daily-items/"+a+"/testimonials";return(await c.A.executeGetRequest(l,e)).data}catch(l){throw z.A.error("Failed to fetch testimonials",a,l),l}}},L=t(48371),k=t(39242),w=t(34804),x={bodyWrap:"DailyPrayerPage-module--bodyWrap--d6625",customHeader:"DailyPrayerPage-module--customHeader--56312",logo:"DailyPrayerPage-module--logo--542f3",header:"DailyPrayerPage-module--header--f4037",emailContinue:"DailyPrayerPage-module--emailContinue--b2de0",form:"DailyPrayerPage-module--form--aa01a",body:"DailyPrayerPage-module--body--b958a",close:"DailyPrayerPage-module--close--3e9c8",emailConfirmation:"DailyPrayerPage-module--emailConfirmation--518eb",divider:"DailyPrayerPage-module--divider--d02e1",line:"DailyPrayerPage-module--line--0bdce",or:"DailyPrayerPage-module--or--4350a",socialAuth:"DailyPrayerPage-module--socialAuth--28e9f"},v=t(49208),C={modal:"RecommendedDaily-module--modal--d7c51",container:"RecommendedDaily-module--container--3e98f",verse:"RecommendedDaily-module--verse--beb0b",reference:"RecommendedDaily-module--reference--5ad06",pray:"RecommendedDaily-module--pray--e26b9"};function S(e){let{daily:a}=e;return l.createElement("div",{className:C.modal,style:{backgroundImage:"url("+a.background_image_url+")",backgroundSize:"cover"}},l.createElement("div",{className:C.container},l.createElement(v.A,{className:C.verse},a.body),l.createElement(v.A,{className:C.reference},a.reference),l.createElement(v.A,{className:C.pray},"PRAY")))}var b=t(38032),O={section:"ExploreDailyPrayers-module--section--5c3fd",carousel:"ExploreDailyPrayers-module--carousel--b15f5",leftArrow:"ExploreDailyPrayers-module--leftArrow--aad9d",rightArrow:"ExploreDailyPrayers-module--rightArrow--760d8",list:"ExploreDailyPrayers-module--list--dd4a3",title:"ExploreDailyPrayers-module--title--035e6"},h=t(90830),f=t(56121);function p(e){let{dailies:a}=e;const{0:t,1:r}=(0,l.useState)(!1),{0:n,1:i}=(0,l.useState)(!0),M=(0,l.useRef)(null),c="left",o="right";function s(){const{scrollLeft:e,scrollWidth:a,clientWidth:t}=M.current;r(e>0),i(e<a-t)}function u(e){if(!M.current)return;let a=245;e===c&&(a=-245),M.current.scrollLeft+=a}return(0,l.useEffect)((()=>{s();const e=M.current;return e.addEventListener("scroll",s),()=>e.removeEventListener("scroll",s)})),l.createElement("div",{className:O.section},l.createElement(v.A,{className:O.title},"Explore our dailies"),l.createElement("div",{className:O.carousel},t&&l.createElement(w.A,{className:O.leftArrow,onClick:()=>{u(c)}},l.createElement(h.J,null)),l.createElement("div",{className:O.list,role:"presentation",ref:M},a.map((e=>l.createElement(b.A,{key:e.id,to:"/daily-prayer/"+e.id},l.createElement(S,{daily:e}))))),n&&l.createElement(w.A,{className:O.rightArrow,onClick:()=>{u(o)}},l.createElement(f.c,null))))}var P=t(17502),U=t(40102),Q={audioPlayer:"DailyContentPlayer-module--audioPlayer--497de",close:"DailyContentPlayer-module--close--cab93",descriptionTitle:"DailyContentPlayer-module--descriptionTitle--e4e92",controls:"DailyContentPlayer-module--controls--7bad7",controlsPlay:"DailyContentPlayer-module--controlsPlay--3a862",timebar:"DailyContentPlayer-module--timebar--3ef72",timebarTimeRight:"DailyContentPlayer-module--timebarTimeRight--a7280",seekbar:"DailyContentPlayer-module--seekbar--2d5bd",input:"DailyContentPlayer-module--input--de282"};const Y=["content","customStyles","volume"];var Z=e=>{let{content:a,customStyles:t={},volume:r=100}=e,n=(0,P.A)(e,Y);const i=(0,l.createRef)(),M=Object.assign({},Q,t);return(0,l.useEffect)((()=>{const e=i.current;null!=e&&e.volume&&e.volume(r)}),[r]),a.audio_url?l.createElement(U.A,Object.assign({},n,{isFreeAccess:!0,isFetchContentData:!1,currentContentId:a.id,contentItems:[a]}),(e=>
1{let{player:a,audio:t}=e;i.current=a;const r=()=>{a.isPlaying?a.pause():a.play()};return l.createElement("div",{className:M.audioPlayer},l.createElement("div",{className:M.controls},l.createElement("div",{className:M.controlsPlay},a.isPlaying?l.createElement("img",{role:"none","data-tapeventname":"Pause",onClick:r,src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5NiIgaGVpZ2h0PSI5NiIgdmlld0JveD0iMCAwIDk2IDk2Ij48cGF0aCBkPSJNMjMuMzk4IDc0LjgwOVYyMS4xOWMwLTIuODU1IDIuMTI5LTUuMTkxIDQuNzMxLTUuMTkxaDcuNjA0YzIuNjAyIDAgNC43MzIgMi4zMzYgNC43MzIgNS4xOVY3NC44MWMwIDIuODU1LTIuMTMgNS4xOS00LjczMiA1LjE5aC03LjYwNGMtMi42MDIgMC00LjczMS0yLjMzNS00LjczMS01LjE5ek02MC4yNjcgMTZoNy42MDRjMi42MDIgMCA0LjczMSAyLjMzNiA0LjczMSA1LjE5MVY3NC44MWMwIDIuODU1LTIuMTI5IDUuMTkxLTQuNzMgNS4xOTFoLTcuNjA1Yy0yLjYgMC00LjczMi0yLjMzNi00LjczMi01LjE5VjIxLjE5YzAtMi44NTUgMi4xMzEtNS4xOSA0LjczMi01LjE5eiIgZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSd3aGl0ZSc+PC9wYXRoPjwvc3ZnPg==",alt:"pause",style:{width:"32px"}}):l.createElement("img",{role:"none","data-tapeventname":"Play",onClick:r,src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNOC4xMzM0MSA1LjEwNTQ4TDE4LjYzMDIgMTEuMzQ5QzE4Ljk4NjIgMTEuNTYwOCAxOS4xMDMyIDEyLjAyMSAxOC44OTE0IDEyLjM3N0MxOC44Mjc2IDEyLjQ4NDMgMTguNzM4IDEyLjU3NCAxOC42MzA4IDEyLjYzNzlMOC4xMzM5OCAxOC44OTQxQzcuNzc4MTcgMTkuMTA2MSA3LjMxNzgxIDE4Ljk4OTYgNy4xMDU3NSAxOC42MzM4QzcuMDM2NTQgMTguNTE3NyA3IDE4LjM4NSA3IDE4LjI0OThWNS43NTAwOEM3IDUuMzM1ODYgNy4zMzU3OSA1LjAwMDA4IDcuNzUgNS4wMDAwOEM3Ljg4NDk2IDUuMDAwMDggOC4wMTc0MiA1LjAzNjQ5IDguMTMzNDEgNS4xMDU0OFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=",alt:"play",style:{width:"32px"}}))),l.createElement("div",{className:M.timebar},l.createElement("div",{className:M.seekbar},l.createElement("input",{className:M.input,type:"range",step:"0.01",min:"0",style:{background:"linear-gradient(to right, white "+t.currentTime/t.duration*100+"%, rgba(255,255,255,0.2) 0)"},max:t.duration,value:t.currentTime,onChange:e=>{const t=e.target.value;a.moveTo(t)}}))),l.createElement("div",{className:M.timebarTimeRight},l.createElement(v.A,null,(0,d.fU)(t.duration-t.currentTime))))})):null},R=t(73814),_=t(26450),W=t(76424),G=t(43113),B=t(17675),H=t(6147),V=t(41422),J=t(42587);var F={shareMenu:"ShareMenu-module--shareMenu--5ff9a",menuContainer:"ShareMenu-module--menuContainer--7f9e3",menuItem:"ShareMenu-module--menuItem--183b2"};function X(e){let{isVisible:a=!1,shareLinks:t={external:"",facebook:"",link:"",twitter:""},onClose:r=null}=e;const{0:n,1:i}=(0,l.useState)(!1),M=function(e){let{title:a,message:t,links:l,onLinkCopied:r}=e;const n=void 0!==window.navigator.share&&(0,d.rr)();return{useNativeShare:n,shareWithNativeSharing:async()=>{if(n)try{const e=l.link,r=t+" "+e;await navigator.share({text:r,title:a,url:e})}catch(e){z.A.error("Failed to share using native sharing",e)}},shareViaEmail:()=>{const e="Daily Prayer",a="Sharing Pray.com's "+e+" with you",t="I hope you enjoy Pray.com's "+e+"!%0D%0ADownload the Pray app for original daily devotionals and more.%0D%0A%0D%0A"+l.link;window.location.href="mailto:%20?subject="+a+"&body="+t},copyShareLink:()=>{(0,d.lW)(l.external,r)},shareOnFacebook:()=>{window.open("https://www.facebook.com/sharer/sharer.php?u="+l.facebook+"&quote="+t,"_blank")},shareOnTwitter:()=>{window.open("https://twitter.com/intent/tweet?text="+t+"&url="+l.twitter,"_blank")}}}({title:"Daily Prayer",message:"Check out this prayer",links:t,onLinkCopied:()=>i(!0)});if((0,l.useEffect)((()=>{a&&M.useNativeShare&&M.shareWithNativeSharing()}),[M]),!a||M.useNativeShare)return null;return l.createElement("div",{className:F.shareMenu,onClick:r,role:"none"},l.createElement("div",{className:F.menuContainer},l.createElement(w.A,{className:F.menuItem,onClick:e=>{e.stopPropagation(),M.copyShareLink(),setTimeout(r,1e3)}}
1,l.createElement(H.A,null),l.createElement(v.A,null,"Copy link"),n&&l.createElement(J.A,{timeout:2e3,onTimeout:()=>i(!1)},"Link copied!")),l.createElement(w.A,{className:F.menuItem,onClick:e=>{e.stopPropagation(),M.shareOnFacebook(),r()}},l.createElement(B.A,null),l.createElement(v.A,null,"Share on Facebook")),l.createElement(w.A,{className:F.menuItem,onClick:e=>{e.stopPropagation(),M.shareOnTwitter(),r()}},l.createElement(V.A,null),l.createElement(v.A,null,"Share on X")),l.createElement(w.A,{className:F.menuItem,onClick:e=>{e.stopPropagation(),M.shareViaEmail(),r()}},l.createElement(G.A,null),l.createElement(v.A,null,"Share on Email"))))}var K={modal:"PrayerModal-module--modal--c6bac",actionButton:"PrayerModal-module--actionButton--ce38e",container:"PrayerModal-module--container--57bf1",verse:"PrayerModal-module--verse--dc89d",reference:"PrayerModal-module--reference--0a571",player:"PrayerModal-module--player--90f0d",buttons:"PrayerModal-module--buttons--70730",avatar:"PrayerModal-module--avatar--b467c",continueButton:"PrayerModal-module--continueButton--8bf40"};const q=["prayer","handleContinue"];function $(e){var a;let{prayer:t,handleContinue:r}=e,n=(0,P.A)(e,q);const{0:i,1:M}=(0,l.useState)(!1),{0:c,1:o}=(0,l.useState)(!1),s=i?l.createElement(_.A,null):l.createElement(W.A,null),u={external:t.external_share_link,facebook:t.facebook_share_link,link:t.link_share_link,twitter:t.twitter_share_link};return l.createElement("div",{className:K.modal,style:{backgroundImage:"url("+t.background_image_url+")"}},l.createElement(w.A,{className:K.actionButton,onClick:()=>M((e=>!e))},s),l.createElement("div",{className:K.container},l.createElement(v.A,{className:K.verse},t.body),l.createElement(v.A,{className:K.reference},t.reference)),l.createElement("div",{className:K.player},l.createElement("div",{className:K.buttons},"pray"!==(null===(a=t.artist_name)||void 0===a?void 0:a.toLowerCase())&&l.createElement("img",{alt:"avatar",className:K.avatar,src:t.artist_profile_image_url}),l.createElement(w.A,{"data-tapeventname":"Share",className:K.actionButton,onClick:()=>o(!0)},l.createElement(R.A,null))),l.createElement(X,{isVisible:c,shareLinks:u,onClose:()=>o(!1)}),l.createElement(Z,Object.assign({content:t,volume:i?0:100,itemType:"daily"},n)),l.createElement(w.A,{className:K.continueButton,variant:k.Uo.variant.primary,size:k.Uo.size.full,onClick:()=>r()},"Continue")))}var ee={section:"PrayerQuote-module--section--4b077",title:"PrayerQuote-module--title--c1dfe",quote:"PrayerQuote-module--quote--27024"};function ae(e){let{quote:a}=e;return l.createElement("div",{className:ee.section},l.createElement(v.A,{className:ee.title},"Daily Prayer"),l.createElement(v.A,{className:ee.quote},a))}
1var te=t(82336),le="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzI5XzI0NzEpIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zMi42NDkxIDMzLjUwMDFDMjkuMzQwOCAzNi42MDExIDI0Ljg5MjIgMzguNSAyMCAzOC41QzE1LjEwNzkgMzguNSAxMC42NTkyIDM2LjYwMTEgNy4zNTA5NSAzMy41MDAxQzcuNDQ0OSAzMi4wODg5IDcuODA4NDMgMzAuNzA3NSA4LjQyMyAyOS40MzEyQzguNTUzODQgMjkuMTcyMSA4LjgxNjIzIDI4Ljg3OTUgOS4yNjc1MyAyOC41NTUxQzkuNzE3MzIgMjguMjMxNyAxMC4zMTAyIDI3LjkwODMgMTEuMDQwMSAyNy41NzI2QzEyLjI1ODkgMjcuMDEyMSAxMy43NzQyIDI2LjQ1NDkgMTUuNTAxMyAyNS44MTk4TDE1LjUwMjMgMjUuODE5NUMxNS44NTM3IDI1LjY5MDIgMTYuMjEzOCAyNS41NTc4IDE2LjU4MiAyNS40MjE1TDE2LjU4MjQgMjUuNDIxM0MxNy4xNjI4IDI1LjIwNiAxNy40ODMzIDI0LjcwMiAxNy42NTcxIDI0LjI1NDlDMTcuODM1NyAyMy43OTU0IDE3LjkxMyAyMy4yNjY1IDE3LjkzMTUgMjIuNzc0MUMxNy45NTAzIDIyLjI3NjMgMTcuOTEwNiAyMS43NzEzIDE3LjgyNjcgMjEuMzRDMTcuNzg0NyAyMS4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EwMzdDMy4xOTk1NCAyO
1C44NTk1IDEuNSAyNC42MjgyIDEuNSAyMEMxLjUgOS43ODI3MyA5Ljc4MjczIDEuNSAyMCAxLjVDMzAuMjE3MyAxLjUgMzguNSA5Ljc4MjczIDM4LjUgMjBDMzguNSAyNC42MjgyIDM2LjgwMDUgMjguODU5NSAzMy45OTE1IDMyLjEwMzdaTTM0LjA1MjYgMzQuMjMxMUMzNy43MjQ1IDMwLjYwNSA0MCAyNS41NjgzIDQwIDIwQzQwIDguOTU0MyAzMS4wNDU3IDAgMjAgMEM4Ljk1NDMgMCAwIDguOTU0MyAwIDIwQzAgMjUuNTY4MyAyLjI3NTU3IDMwLjYwNTEgNS45NDc0OSAzNC4yMzEyQzYuMDExNzcgMzQuMzMzNyA2LjEwMDIyIDM0LjQxOTggNi4yMDUxNyAzNC40ODEyQzkuNzkzNzUgMzcuOTAwNyAxNC42NTE3IDQwIDIwIDQwQzI1LjM0ODMgNDAgMzAuMjA2MiAzNy45MDA3IDMzLjc5NDggMzQuNDgxMkMzMy44OTk4IDM0LjQxOTggMzMuOTg4MyAzNC4zMzM3IDM0LjA1MjYgMzQuMjMxMVoiIGZpbGw9IiNFM0FGNEEiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yOV8yNDcxIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=",re={section:"PrayerTestimonials-module--section--d36fa",title:"PrayerTestimonials-module--title--bce05",viewMoreButton:"PrayerTestimonials-module--viewMoreButton--ed9ae",card:"PrayerTestimonials-module--card--e6aeb",author:"PrayerTestimonials-module--author--6e448",avatar:"PrayerTestimonials-module--avatar--3bcf4",info:"PrayerTestimonials-module--info--28fee",name:"PrayerTestimonials-module--name--74389",date:"PrayerTestimonials-module--date--81cf6",testimonial:"PrayerTestimonials-module--testimonial--5ecee"};function ne(e){let{total:a,testimonials:t,onViewMore:r}=e;const{0:n,1:i}=(0,l.useState)(!0);return(0,l.useEffect)((()=>{const e=void 0!==a&&(null==t?void 0:t.length)===a;i(!e)}),[t,a]),l.createElement("div",{className:re.section},l.createElement(v.A,{className:re.title},"Testimonials ",l.createElement("span",null,"(",a,")")),null==t?void 0:t.map((e=>l.createElement(ie,{key:e.id,testimonial:e}))),n&&l.createElement(w.A,{className:re.viewMoreButton,variant:k.Uo.variant.secondary,onClick:()=>r()},"View more"))}function ie(e){let{testimonial:a}=e;const t=new Date(a.created_at).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});return l.createElement("div",{className:re.card},l.createElement("div",{className:re.author},l.createElement("img",{className:re.avatar,alt:"avatar",src:a.author_profile_image||le,onError:e=>{e.target.src=le}}),l.createElement("div",{className:re.info},l.createElement(v.A,{className:re.name},a.author_name||"Pray Member"),l.createElement(v.A,{className:re.date},t))),l.createElement(te.A,{className:re.testimonial},a.body))}var Me={section:"PrayerVerse-module--section--d3c95",info:"PrayerVerse-module--info--1909d",titleWrap:"PrayerVerse-module--titleWrap--418b1",title:"PrayerVerse-module--title--438dd",reference:"PrayerVerse-module--reference--5e17b",author:"PrayerVerse-module--author--dcaad",avatar:"PrayerVerse-module--avatar--e0760",name:"PrayerVerse-module--name--19f66",verse:"PrayerVerse-module--verse--eb184"};function ce(e){let{title:a,body:t,reference:r,version:n,artistName:i,artistUrl:M}=e;return l.createElement("div",{className:Me.section},l.createElement("div",{className:Me.info},l.createElement("div",{className:Me.titleWrap},l.createElement(v.A,{className:Me.title},a),l.createElement(v.A,{className:Me.reference},r," - ",n)),i&&"pray"!==(null==i?void 0:i.toLowerCase())&&l.createElement("div",{className:Me.author},l.createElement(v.A,null,"by"),l.createElement("img",{className:Me.avatar,alt:"avatar",src:M}),l.createElement(v.A,{className:Me.name},i))),l.createElement(v.A,{className:Me.verse},t))}var oe=t(92751),se=t(41192),ue=t(98784);function me(e){let{onSignUp:a,onSocialAuth:t,isLoading:r}=e;const{0:n,1:i}=(0,l.useState)(""),{0:M,1:c}=(0,l.useState)(!1),{0:o,1:s}=(0,l.useState)("");return l.createElement("div",{className:x.form},l.createElement(v.A,{variant:"h2",color:"text_primary"},"Start your daily prayer habit on Pray.com"),l.createElement(se.A,{className:x.input,type:"email",label:"Email address",value:n,onChange:e=>{const{value:a}=e.target;i(a),c(a.trim().length>=3)},loading:r,error:o}),l.createElement(w.A,{className:x.emailContinue,size:"full",onClick:()=>{(0,ue.B9)(n)?(s(""),a(n)):s("Please enter a valid email address")},disabled:!M},"Continue"),l.createElement("div",{className:x.divider},l.createElement("hr",{className:x.line}),l.createElement(v.A,{className:x.or,variant:"footnote_all_caps",color:"text_primary"},"OR"),l.createElement("hr",{className:x.line})),l.createElement("div",{className:x.socialAuth},l.createElement(oe.A,{mode:"compact",onAuthSuccess:()=>{t()},hideTopLabel:!0})))}function ye(e){let{daily:a,testimonials:t,fetchTestmonials:r,handleSignUp:n,isLoading:i,handleContinue:M,fetchStreak:c}=e;const o=(0,g.A)(),s=a.recommended_dailies.length>=4;return l.createElement(l.Fragment,null,l.createElement("div",{className:x.header},l.createElement("div",null,l.createElement($,{prayer:a,handleContinue:M})),l.createElement("div",{className:"theme-light"},l.createElement(ce,{title:a.title,body:a.body,reference:a.reference,version:a.version,artistName:a.artist_name,artistUrl:a.artist_profile_image_url}),o.isUserRegistered?l.createElement(w.A,{className:x.emailContinue,full:!0,variant:k.Uo.variant.primary,size:k.Uo.size.large,onClick:()=>c()},"Continue"):l.createElement("div",{className:"theme-light"},l.createElement(me,{onSignUp:n,onSocialAuth:c,isLoading:i})))),l.createElement("div",{className:x.body},l.createElement(ae,{quote:a.quote}),a.total_testimonials_count>0&&l.createElement(ne,{total:a.total_testimonials_count,testimonials:t,onViewMore:r}),s&&l.createElement(p,{dailies:a.recommended_dailies})))}var Ie=t(42215),de=t(82855),Ne=t(64462);function De(){return l.createElement(b.A,{to:"/"},l.createElement("div",{className:x.logo},l.createElement(Ne.A,null)))}function ge(e){let{email:a,onClose:t,onResend:r}=e;return l.createElement("div",{className:x.emailConfirmation},l.createElement(y.Y,{left:[],center:l.createElement(De,null),right:l.createElement("div",{className:x.close,"data-tapeventname":"Close",role:"none",onClick:()=>t()},l.createElement("img",{src:A,alt:"Close",role:"none"})),className:x.customHeader}),l.createElement(Ie.A,{className:x.header,data:{email:a},customStyles:de.A,handleEmailValidation:r}))}var je=t.p+"static/streak-flame-e5dff65b7cee1065973f3de9a4257b55.png",Ae={overlay:"DailyStreakModal-module--overlay--67f4e",modal:"DailyStreakModal-module--modal--7eed7",close:"DailyStreakModal-module--close--eabe0",header:"DailyStreakModal-module--header--0c74d",body:"DailyStreakModal-module--body--5b01c",streak:"DailyStreakModal-module--streak--b8d53",streakDays:"DailyStreakModal-module--streakDays--27f4f",streakDay:"DailyStreakModal-module--streakDay--c3674",message:"DailyStreakModal-module--message--b539b",footer:"DailyStreakModal-module--footer--c6489"};function Ee(e){let{streakCount:a}=e;return l.createElement("div",{className:Ae.streak},l.createElement("img",{src:je,alt:"streak flame"}),l.createElement(v.A,{variant:k.Il.display_medium},a),l.createElement(v.A,{variant:k.Il.button_medium,color:k.Tj.text_secondary},"DAY STREAK"))}var ze="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiNFM0FGNEEiLz4KPHBhdGggZD0iTTIwLjY2NTQgMTIuNzkxNUwxNC4yNDg3IDE5LjIwODJMMTEuMzMyIDE2LjI5MTUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",Te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMTYiLz4KPC9zdmc+Cg==",Le="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuMTYiLz4KPHBhdGggZD0iTTExIDExTDIxIDIxIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0yMSAxMUwxMSAyMSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K";function ke(e){let{dayItem:a}=e;const t="empty"===a.status?"text_secondary":"text_primary";return l.createElement("div",{className:Ae.streakDay},l.createElement(v.A,{variant:k.Il.subhead_small,color:t},a.day.slice(0,2)),l.createElement("img",{src:function(){switch(a.status){case"hit":return ze;case"miss":default:return Le;case"empty":return Te}}
1(),alt:"streak hit",height:32,width:32}))}function we(e){let{days:a}=e;return l.createElement("div",{className:Ae.streakDays},a.map((e=>l.createElement(ke,{dayItem:e,key:e.day}))))}function xe(e){let{streakCount:a}=e;return l.createElement("div",{className:Ae.message},l.createElement(v.A,{variant:k.Il.headline_small},"Your’re on a ",a,"-day streak"))}function ve(e){let{streak:a,handleContinue:t,handleClose:r}=e;return l.createElement("div",{className:Ae.overlay},l.createElement("div",{className:Ae.modal},l.createElement("div",{className:Ae.close,"data-tapeventname":"Close"},l.createElement("img",{src:A,alt:"Close",role:"none",onClick:()=>r()})),l.createElement("div",{className:Ae.header},l.createElement(v.A,{variant:k.Il.hero},"Daily Streak")),l.createElement("div",{className:Ae.body},l.createElement(Ee,{streakCount:a.streak_length}),l.createElement(we,{days:a.days}),l.createElement(xe,{streakCount:a.streak_length})),l.createElement("div",{className:Ae.footer},l.createElement(w.A,{onClick:()=>t(),variant:k.Uo.variant.primary,color:k.Tj.text_tertiary},"Continue"))))}var Ce={close:"DailyFlowStep-module--close--038db"};const Se={DAILY:1,EMAIL:2,STREAK:3};function be(e){let{daily:a,step:t,setStep:r}=e;const{0:n,1:i}=(0,l.useState)(null),{0:M,1:c}=(0,l.useState)(null),{0:o,1:s}=(0,l.useState)(null),{0:m,1:y}=(0,l.useState)(!1),I=(0,l.useRef)(null),k=(0,d.uU)()?window.location.pathname+window.location.search:"/discover/",w=(0,g.A)(),x=l.createElement("div",{className:Ce.close,"data-tapeventname":"Close"},l.createElement("img",{src:A,alt:"Close",role:"none",onClick:()=>r(Se.DAILY)}));async function v(){if(null==a||!a.id)return;const e=I.current,t=await T.getTestimonialsByDailyItemId({id:a.id,offset:e});null!==t.last_item_identifier&&(I.current=t.last_item_identifier),s((a=>e?[].concat((0,N.A)(a),(0,N.A)(t.data)):t.data))}function C(){y(!0),E.getStreakForUserWithDailyItemById(a.id).then((e=>{i(e),r(Se.STREAK),y(!1)})).catch((e=>{z.A.debug(e),y(!1)}))}async function S(e){try{const[a,t]=k.split("?"),{isEmailAvailable:l}=await(0,L.Fv)({email:e,customRoute:a,queryParams:t});return l}catch(a){z.A.debug("error",a)}return!1}return(0,l.useEffect)((()=>(t===Se.STREAK?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"})),[t]),(0,l.useEffect)((()=>{window.scrollTo(0,0),v()}),[a]),t===Se.EMAIL?l.createElement(l.Fragment,null,(0,d.rr)()?l.createElement(D.A,{appBarRightComponent:x,onSuccess:C,route:k,isWebSubscribeFlow:!1}):l.createElement(ge,{email:M,onClose:()=>r(Se.DAILY),onResend:S}),l.createElement(j.A,{handleSuccessfulLogin:C})):l.createElement(l.Fragment,null,t===Se.STREAK&&l.createElement(ve,{streak:n,handleContinue:()=>(0,u.oo)("/discover/"),handleClose:()=>r(Se.DAILY)}),(t===Se.DAILY||!(0,d.rr)())&&l.createElement(ye,{daily:a,testimonials:o,fetchTestmonials:v,handleSignUp:async function(e){try{y(!0);await S(e)?C():(c(e),r(Se.EMAIL))}catch(a){z.A.debug("error",a)}finally{y(!1)}},isLoading:m,handleContinue:function(){w.isUserRegistered?C():r(Se.EMAIL)},fetchStreak:C}),l.createElement(j.A,{handleSuccessfulLogin:C}))}function Oe(e){let{daily:a={}}=e;const{0:t,1:r}=(0,l.useState)(Se.DAILY);return l.createElement("div",{className:x.bodyWrap},(0,d.rr)()&&t!==Se.DAILY?null:l.createElement(y.Y,{left:l.createElement(De,null),center:null,className:x.customHeader}),l.createElement(be,{daily:a,step:t,setStep:r}),(0,d.rr)()&&t!==Se.DAILY||t===Se.EMAIL?null:l.createElement(l.Fragment,null,l.createElement(I.A,null),l.createElement(m.A,null)))}function he(e){let{id:a}=e;const{0:t,1:c}=(0,l.useState)(null);if((0,l.useEffect)((()=>{!async function(){var e;let t;t=a?await s.getDailyItemByDailyId(a):await s.getDailyItemByUserId();if(null===(e=t)||void 0===e||!e.data)return void(0,u.oo)("/discover/");c(t.data)}()}),[a]),!t)return null;const o=a?"/daily-prayer/"+a+"/":"/daily-prayer/",m=t.reference?"Pray Daily Devotional - "+t.reference:"Pray Daily Devotional",y=t.body?t.body+" "+t.reference:null,I=t.share_image_facebook_url||t.background_image_url||M.WM,d=(0,n.hz)({item_id:t.id});return l.createElement("div",{"data-viewname":M.qY.PRAY_EVENTS.VIEW_EVENT_NAMES.DAILY_DEVOTIONAL,"data-eventprops":d},l.createElement(i.A,{title:m,canonicalPath:o,description:y,image:I,branchMetadataDeeplink:"page/daily"}),l.createElement(r.A,{canonicalPath:o}),l.createElement(Oe,{daily:t}))}function fe(e){return l.createElement(he,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.