PageSourceSearch

https://www.herzindagi.com/_next/static/chunks/3967-8e73a023fde6c7c0.js

js herzindagi.com collected 2026-10-02 03:20:42 UTC 9,731 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3967],{17380:(e,t,a)=>{a.d(t,{Y5:()=>n,o2:()=>r});let n="https://images.herzindagi.info/",r="https://www.herzindagi.com"},73967:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var n=a(95155),r=a(13533),i=a(49537);a(12115);var c=a(17380),s=a(81971),l=a(96377);function o(e){let t=function(e){let{parentUrl:t,parentName:a,subcategoryName:n,subcategoryUrl:r,genre:i,days:l,language:o,events:d,detailUrl:u,type:m,id:h}=e,g="Astrology"===i?"/astrology":"",p="horoscope-prediction"===t?"-".concat(l||"daily"):"",f="horoscope-prediction"===t?" ".concat(l):"",w="events"===d?"events":"",y=c.o2+(0,s.getLanguageUrl)(o),x=c.o2+(0,s.getHomeUrl)(o),v={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[]},j=1;return v.itemListElement.push({"@type":"ListItem",position:j++,item:{"@id":x,name:"Home"}}),"Astrology"===i&&v.itemListElement.push({"@type":"ListItem",position:j++,item:{"@id":"".concat(y).concat(g),name:"astrology"}}),t&&a&&v.itemListElement.push({"@type":"ListItem",position:j++,item:{"@id":"".concat(y).concat(g).concat(w,"/").concat(t),name:a}}),r&&n&&v.itemListElement.push({"@type":"ListItem",position:j++,item:{"@id":"".concat(y).concat(g).concat(w,"/").concat(t,"/").concat(r).concat(p),name:"".concat(n," ").concat(null==f&&"undefined"==f?f:"")}}),u&&v.itemListElement.push({"@type":"ListItem",position:j++,item:{"@id":"".concat(c.o2+(0,s.getLanguageUrl)(o)).concat(g).concat(w,"/").concat(r,"/").concat(u,"-").concat(m,"-").concat(h),name:"".concat(u.replaceAll("-"," "))}}),v}(e);return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t,null,2)}})}function d(e){let t,{parentUrl:a,parentName:d,subcategoryName:u,subcategoryUrl:m,detailUrl:h,type:g,id:p,theme:f,genre:w,days:y,language:x,events:v}=e,j="dark"===f?"lg:text-dark hover:lg:text-pink-500 text-dark hover:text-white ":"text-dark hover:text-pink-500",L="Astrology"===w?"/astrology":"",N="horoscope-prediction"===a?"-".concat(y||"daily"):"",b="horoscope-prediction"===a?"".concat((0,l.getDisplayDays)(y,x)):"",k="events"===v?"/events":"";return"english"===x?t="Astrology":"hindi"===x&&(t="ज्योतिष शास्त्र"),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o,{parentUrl:a,parentName:d,subcategoryName:u,subcategoryUrl:m,genre:w,days:y,events:v,language:x,detailUrl:h,type:g,id:p}),(0,n.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex py-5",children:(0,n.jsxs)("ol",{role:"list",className:"flex items-center space-x-2 overflow-hidden",children:[(0,n.jsx)("li",{children:(0,n.jsx)("div",{className:"flex items-center",children:(0,n.jsxs)("a",{href:c.o2+(0,s.getHomeUrl)(x),className:j,children:[(0,n.jsx)(r.A,{"aria-hidden":"true",className:"size-4 shrink-0"}),(0,n.jsx)("span",{className:"sr-only",children:"Home"})]})})}),"Astrology"===w&&(0,n.jsx)("li",{children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(i.A,{"aria-hidden":"true",className:"size-3 shrink-0 ".concat(j)}),(0,n.jsx)("a",{href:"".concat(c.o2+(0,s.getLanguageUrl)(x),"/astrology"),className:"ml-2 text-sm font-medium capitalize truncate ".concat(j),children:t})]})}),a&&d&&(0,n.jsx)("li",{children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(i.A,{"aria-hidden":"true",className:"size-3 shrink-0 ".concat(j)}),(0,n.jsx)("a",{href:"".concat(c.o2+(0,s.getLanguageUrl)(x)).concat(L).concat(k,"/").concat(a),className:"ml-2 text-sm font-medium capitalize truncate ".concat(j),children:d})]})}),m&&u&&(0,n.jsx)("li",{children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(i.A,{"aria-hidden":"true",className:"size-3 shrink-0 ".concat(j)}),(0,n.jsxs)("a",{href:"".concat(c.o2+(0,s.getLanguageUrl)(x)).concat(L).concat(k,"/").concat(a,"/").concat(m).concat(N),className:"ml-2 text-sm font-medium capitalize truncate ".concat(j),children:[u," ",b]})]})}),h&&(0,n.jsx)("li",{children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(i.A,{"aria-hidden":"true",className:"size-3 shrink-0 ".concat(j)}
1),(0,n.jsx)("a",{href:"".concat(c.o2+(0,s.getLanguageUrl)(x)).concat(L).concat(k,"/").concat(m,"/").concat(h,"-").concat(g,"-").concat(p),className:"ml-2 text-sm font-medium capitalize truncate ".concat(j),children:h.replaceAll("-"," ")})]})})]})})]})}},81971:(e,t,a)=>{a.r(t),a.d(t,{DateFormat:()=>l,OnScroll:()=>g,TimeAgo:()=>o,default:()=>s,getHomeUrl:()=>u,getLanguageUrl:()=>d,getLocalLang:()=>m,useInView:()=>h,useIsMobileDevice:()=>i});var n=a(95155),r=a(12115);let i=()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>{t(window.matchMedia("(max-width: 980px)").matches)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e},c=(e,t)=>{if("undefined"!=typeof document){var a=document.createElement("script");a.type="text/javascript",a.src=e,a.async=t,document.body.appendChild(a)}},s=()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let a=()=>{e||(t(!0),(()=>{if("undefined"!=typeof document)for(var e=document.getElementsByTagName("img"),t=0;t<e.length;t++)e[t].getAttribute("data-src")&&(e[t].setAttribute("src",e[t].getAttribute("data-src")),e[t].removeAttribute("data-src"))})(),(()=>{if("undefined"!=typeof document)for(var e=document.getElementsByTagName("iframe"),t=0;t<e.length;t++)e[t].getAttribute("data-src")&&(e[t].setAttribute("src",e[t].getAttribute("data-src")),e[t].removeAttribute("data-src"))})(),c("https://www.instagram.com/embed.js",!0),c("https://platform.twitter.com/widgets.js",!0))};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[e]),null},l=e=>{let t=new Date(e),a=t.getFullYear(),n=t.toLocaleString("default",{month:"short"}),r=t.getDate();return"".concat(r<10?"0"+r:r," ").concat(n," ").concat(a)};function o(e){let t=new Date(e),a=(new Date-t)/1e3;if(a<60){let e=Math.round(a);return e+" second"+(1===e?"":"s")+" ago"}if(a<3600){let e=Math.round(a/60);return e+" minute"+(1===e?"":"s")+" ago"}if(a<86400){let e=Math.round(a/3600);return e+" hour"+(1===e?"":"s")+" ago"}if(a<2629746){let e=Math.round(a/86400);return e+" day"+(1===e?"":"s")+" ago"}if(a<0x1e18558){let e=Math.round(a/2629746);return e+" month"+(1===e?"":"s")+" ago"}let n=Math.round(a/0x1e18558);return n+" year"+(1===n?"":"s")+" ago"}let d=e=>{switch(e){case"english":return"";case"hindi":return"/hindi";case"tamil":return"/tamil";default:return"/"}},u=e=>{switch(e){case"english":return"/en";case"hindi":default:return"/";case"tamil":return"/tamil"}},m=e=>{switch(e){case"en":default:return"en_US";case"hindi":return"hi_IN";case"tamil":return"ta_IN"}};function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.useRef)(null),[a,n]=(0,r.useState)(!1),i=(0,r.useMemo)(()=>e,[e]);return(0,r.useEffect)(()=>{if(!t.current)return;let e=new IntersectionObserver(t=>{let[a]=t;a.isIntersecting&&(n(!0),e.disconnect())},i);return e.observe(t.current),()=>e.disconnect()},[i]),[t,a]}function g(e){let{children:t,rootMargin:a="100px"}=e,i=(0,r.useRef)(null),[c,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=i.current;if(!e)return;let t=new IntersectionObserver(a=>{let[n]=a;n.isIntersecting&&(s(!0),t.unobserve(e))},{rootMargin:a});return t.observe(e),()=>{t.disconnect()}},[a]),(0,n.jsx)("div",{ref:i,className:"w-full h-full",children:c?t:(0,n.jsx)("div",{className:"w-full h-full bg-gray-200 animate-pulse"})})}},96377:(e,t,a)=>{var n=a(15376).Buffer;t.addBookmarkToArrUserId=async(e,t)=>{try{if(!e||!t)return e;{var a;let n={articleids:e.map(e=>e.id).join(","),productname:"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJoZXJ6aW5kYWdpIiwiaWF0IjoxNjgwNjkyOTYxfQ.83M1Em8oXrT2ZHPEGMzvrFGlKUHmp5WjPC8Lzac0288KYPNeXXoPTxY531-afN3yj2T8d6wUTRX5tusR6d9IwA",userid:t},{data:r}=await axios.post("/api/comment/bookmark-by-id",n);if((null==r||null==(a=r.data)?void 0:a.length)>0){let t=null==r?void 0:r.data.map(e=>e.artid);return e.map(e=>t.includes(e.id)?{...e,bookmark:!0}:{...e,bookmark:!1})}return e}}catch(t){return e}},t.genrateUrl=e=>{let{categoryUrl:t,subCategoryUrl:a,title:n,id:r,utm:i}=e;return"".concat("https://www.herzindagi.com","/").concat(t,"/").concat(a?a+"/":"").concat(function(e){return e?e.replace(/-\d+$/,""):""}(n),"-").concat(r)},t.getLanguage=e=>({en:{lang:"en_US",pageLang:"en",adsLang:"eng",language:"english",url:"https://www.herzindagi.com",urlHome:"https://www.herzindagi.com/en"},hindi:{lang:"hi_IN",pageLang:"hi",adsLang:"hin",language:"hindi",url:"https://www.herzindagi.com/hindi",urlHome:"https://www.herzindagi.com"},tamil:{lang:"ta_IN",pageLang:"ta",adsLang:"tamil",language:"tamil",url:"https://www.herzindagi.com/tamil",urlHome:"https://www.herzindagi.com/tamil"}})[e],t.getDisplayDays=(e,t)=>{var a;
1return e?(null==(a=({daily:{hindi:"दैनिक",english:"Daily"},weekly:{hindi:"साप्ताहिक",english:"Weekly"},monthly:{hindi:"मासिक",english:"Monthly"},yearly:{hindi:"वार्षिक",english:"Yearly"},personality:{hindi:"व्यक्तित्व",english:"Personality"}})[e])?void 0:a[t])||e:""},t.datalayerClickSocial=(e,t,a,n,r,i)=>{let c={event:e,uid:t,usertype:a};""!=n&&(c.cta_text=n),""!=r&&(c.select_type=r),""!=i&&(c.content_title=i),dataLayer.push(c)},t.datalayerClickEvent=(e,t,a,n,r,i)=>{let c={event:e,uid:t,usertype:a};""!=n&&(c.cta_text=n),""!=r&&(c.select_type=r),""!=i&&(c.section_name=i),dataLayer.push(c)},t.generateSvgPlaceholder=(e,t)=>{let a=encodeURIComponent('<svg width="'.concat(e,'" height="').concat(t,'" xmlns="https://www.w3.org/2000/svg" viewBox="0 0 ').concat(e," ").concat(t,'">\n    <rect width="100%" height="100%" fill="#cccccc" />\n  </svg>'));return"data:image/svg+xml;base64,".concat(n.from(a).toString("base64"))}}}]);

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.