{"version":3,"sources":["page/Home.js","img/logo.png","page/search/SearchMenus.js","components/menu/Navbarmenu.js","components/Footer.js","components/Layout.js"],"names":["BaseURLuploads","WEB_URL_UPLOAD","Home","useContext","MyContext","rootState","Latesthomesall","Impressivehomesall","featuredhomesall","storageuserall","audiohomesall","isAuth","theUserID","useEffect","window","scrollTo","Latesthomes","Impressivehomes","featuredhomes","audiohomes","storageuserhomes","useState","isLatestall","setLatestall","ispremium","setpremium","isfeatured","setfeatured","isstorage","setstorage","setstorageuser","isaudio","setaudio","isstorageactive","setstorageactive","a","Latestsss","success","Latestall","data","ids","storagesss","storagesall","storagesuser","Impressivesss","premiumall","featuredsss","featuredall","audiohomesss","audiohomesssall","rel","href","className","length","to","audiobooks_id","audio_title","replace","src","audio_imagefront","alt","title","audio_price","audio_currency","slice","map","itempremium","index","imagefront","itemfeatured","name","format","withTitle","audio_date","dangerouslySetInnerHTML","__html","audio_description","substring","xmlns","viewBox","preserveAspectRatio","d","itembookdesc","BaseURL","WEB_URL","SearchMenus","issearchActive","setsearchActive","issearchValue","setsearchValue","isBooksAdspreview","setisBooksAdspreview","isempty","setisempty","ApiBooksAdstopmenus","searchValue","searchUrl","fetch","then","response","json","jsonData","books","onClick","type","placeholder","onChange","e","target","value","item","undefined","Navbarmenu","props","isMenu","setisMenu","isResponsiveclose","setResponsiveclose","toggleClass","boxClass","push","isMenuSubMenu","setMenuSubMenu","boxClassSubMenu","isMenuSubMenutwo","setMenuSubMenutwo","boxClassSubMenutwo","exact","activeClassName","pages","logo","style","display","join","Footer","useLocation","pathname","split","pop","addnewsletters","addEventListener","toggleVisibility","is_visible","set_visible","pageYOffset","loadingsss","setloadingsss","isErrorMsg","setErrorMsg","isSuccessMsg","setSuccessMsg","newsletteremails","event","preventDefault","persist","newsletteruserInfo","msg","reset","setnewsletteruserInfo","email","id","logoblack","onSubmit","required","color","height","width","float","Date","getFullYear","top","behavior","Layout","children"],"mappings":"4OAQIA,EAAiBC,IAuTNC,UArTf,WACE,M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AAD,CAAME,GAAG,IAAT,uBAApF,gBA9GK,IAAIkH,MAAOC,cA8GhB,mCAMJ,qBAAKrH,UAAU,aACd0F,GAAgB,qCACf,uBAAMvC,QAnHW,WACjBzF,OAAOC,SAAS,CACd2J,IAAK,EACLC,SAAU,YAgHgBvH,UAAU,UAAtC,cAAiD,cAAC,IAAD,IAAjD,OAAsE,sBAAMA,UAAU,UAAhB,SAA0B,sBAAMA,UAAU,iCC7HvGwH,IAVD,SAAC,GAAe,IAAdC,EAAa,EAAbA,SACd,OAAO,qCACL,cAAC,EAAD,IACA,qBAAKzH,UAAU,aACf,sBAAMA,UAAU,kBAAhB,SAAmCyH,IACnC,qBAAKzH,UAAU,aACf,cAAC,EAAD,S","file":"static/js/21.092ed080.chunk.js","sourcesContent":["import React,{useContext,useState,useEffect} from 'react';\r\nimport { MyContext } from '../contexts/MyContext';\r\nimport { WEB_URL_UPLOAD } from '../contexts/Apilinks';\r\nimport Layout from \"../components/Layout\";\r\nimport {Link} from \"react-router-dom\";\r\nimport { FaUser, FaCalendarAlt } from \"react-icons/fa\";\r\nimport Moment from 'react-moment';\r\nimport {Helmet} from \"react-helmet\";\r\nlet BaseURLuploads = WEB_URL_UPLOAD;\r\n\r\nfunction Home() {\r\n const {rootState,Latesthomesall,Impressivehomesall,featuredhomesall,storageuserall,audiohomesall} = useContext(MyContext);\r\n const {isAuth,theUserID} = rootState;\r\n\r\n useEffect( () => {\r\n window.scrollTo(0, 0);\r\n Latesthomes();\r\n Impressivehomes();\r\n featuredhomes();\r\n audiohomes();\r\n if(isAuth === true ){\r\n storageuserhomes(theUserID);\r\n }\r\n }, []); \r\n\r\n\r\n const [isLatestall, setLatestall] = useState([]);\r\n const [ispremium, setpremium] = useState([]);\r\n const [isfeatured, setfeatured] = useState([]);\r\n const [isstorage, setstorage] = useState([]);\r\n const [isstorageuser, setstorageuser] = useState([]);\r\n const [isaudio, setaudio] = useState([]);\r\n const [isstorageactive, setstorageactive] = useState(false);\r\n const Latesthomes = async () => {\r\n try {\r\n const Latestsss = await Latesthomesall();\r\n if(Latestsss.success === true){\r\n setLatestall(Latestsss.Latestall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n } \r\n\r\n const storageuserhomes = async (ids) => {\r\n try {\r\n const storagesss = await storageuserall(ids);\r\n if(storagesss.success === true){\r\n setstorage(storagesss.storagesall);\r\n setstorageuser(storagesss.storagesuser);\r\n setstorageactive(true);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n const Impressivehomes = async () => {\r\n try {\r\n const Impressivesss = await Impressivehomesall();\r\n if(Impressivesss.success === true){\r\n setpremium(Impressivesss.premiumall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n\r\n const featuredhomes = async () => {\r\n try {\r\n const featuredsss = await featuredhomesall();\r\n if(featuredsss.success === true){\r\n setfeatured(featuredsss.featuredall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n const audiohomes = async () => {\r\n try {\r\n const audiohomesss = await audiohomesall();\r\n if(audiohomesss.success === true){\r\n setaudio(audiohomesss.audiohomesssall?.data);\r\n }\r\n } catch (error) { throw error;} \r\n }\r\n \r\n\r\n return (<>\r\n {isstorage.audio_currency === 'USD' ? <>$> : null}\r\n {isstorage.audio_currency === 'AUD' ? <>A$> : null}\r\n {isstorage.audio_currency === 'BTC' ? <>฿> : null}\r\n {isstorage.audio_currency === 'JPY' ? <>¥> : null}\r\n {isstorage.audio_currency === 'CAD' ? <>C$> : null}\r\n {isstorage.audio_currency === 'EUR' ? <>€> : null}\r\n {isstorage.audio_currency === 'INR' ? <>₹> : null}\r\n {isstorage.audio_currency === 'GBP' ? <>£> : null} {isstorage.audio_price} {itempremium.audio_currency === 'USD' ? <>$> : null}\r\n {itempremium.audio_currency === 'AUD' ? <>A$> : null}\r\n {itempremium.audio_currency === 'BTC' ? <>฿> : null}\r\n {itempremium.audio_currency === 'JPY' ? <>¥> : null}\r\n {itempremium.audio_currency === 'CAD' ? <>C$> : null}\r\n {itempremium.audio_currency === 'EUR' ? <>€> : null}\r\n {itempremium.audio_currency === 'INR' ? <>₹> : null}\r\n {itempremium.audio_currency === 'GBP' ? <>£> : null} {itempremium.audio_price} {itempremium.audio_currency === 'USD' ? <>$> : null}\r\n {itempremium.audio_currency === 'AUD' ? <>A$> : null}\r\n {itempremium.audio_currency === 'BTC' ? <>฿> : null}\r\n {itempremium.audio_currency === 'JPY' ? <>¥> : null}\r\n {itempremium.audio_currency === 'CAD' ? <>C$> : null}\r\n {itempremium.audio_currency === 'EUR' ? <>€> : null}\r\n {itempremium.audio_currency === 'INR' ? <>₹> : null}\r\n {itempremium.audio_currency === 'GBP' ? <>£> : null} {itempremium.audio_price} Top Children's Books
\r\n \r\n
{isstorage.audio_title}
\r\n {isstorage.audio_price !== '0.00' &&\r\n \r\n
{itempremium.audio_title}
\r\n {itempremium.audio_price !== '0.00' &&\r\n \r\n
{itempremium.audio_title}
\r\n {itempremium.audio_price !== '0.00' &&\r\n Best Children's Books
\r\n \r\n
{itemfeatured.audio_title}
\r\n \r\n
\r\n \r\n \r\n \r\n Noteworthy
\r\n \r\n \r\n
{itempremium.audio_title}
\r\n \r\n \r\n \r\n Recent Children's Books
\r\n
{itembookdesc.audio_title}
\r\n {itembookdesc.audio_currency === 'USD' ? <>$> : null}\r\n {itembookdesc.audio_currency === 'AUD' ? <>A$> : null}\r\n {itembookdesc.audio_currency === 'BTC' ? <>฿> : null}\r\n {itembookdesc.audio_currency === 'JPY' ? <>¥> : null}\r\n {itembookdesc.audio_currency === 'CAD' ? <>C$> : null}\r\n {itembookdesc.audio_currency === 'EUR' ? <>€> : null}\r\n {itembookdesc.audio_currency === 'INR' ? <>₹> : null}\r\n {itembookdesc.audio_currency === 'GBP' ? <>£> : null} {itembookdesc.audio_price}
\r\n }\r\n
No results found