PageSourceSearch

https://www.sringeri.net/_next/static/chunks/app/vijaya-yatra/layo…?dpl=dpl_CnUFVUJNJWDvRhijuXC55FgAnyGY

js sringeri.net collected 2026-10-02 10:55:05 UTC 8,774 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1908],{27731:(e,t,a)=>{Promise.resolve().then(a.bind(a,12318))},78217:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var s=a(95155),l=a(5565),n=a(76046),i=a(12115),r=a(64440);function o(e){let{image:t,pageTitle:a,description:o}=e,c=(0,n.usePathname)(),[d,A]=(0,i.useState)("");return(0,i.useEffect)(()=>{(async function(){var e;let t=await fetch(r.Zr+"pageHero");A(null===(e=(await t.json()).find(e=>"/"+e.link==c))||void 0===e?void 0:e.imagePath)})()},[c]),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(l.default,{src:d?"https://files.sringeri.net/"+d:t||"/assets/images/events_hero.jpg",alt:a,width:1600,height:600,priority:!0,className:"object-cover w-full h-auto"}),(0,s.jsx)("div",{className:"absolute inset-0 bg-[#4d270a] bg-opacity-30 pl-5 md:pl-12 flex items-center",children:(0,s.jsxs)("div",{className:"flex flex-col gap-3 max-w-[480px]",children:[(0,s.jsx)("h1",{className:"text-white text-[20px] md:text-4xl font-pt-serif",children:a}),o&&(0,s.jsx)("p",{className:"text-white text-[11px] md:text-[13px] font-inter leading-relaxed",children:o})]})})]})}},89144:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var s=a(95155),l=a(82748),n=a(48173),i=a.n(n),r=a(76046),o=a(12115);function c(e){let{subLinks:t,color:a,iconColor:l}=e,n=(0,r.usePathname)(),[c,d]=(0,o.useState)(-1);return t=t.filter(e=>!Object.hasOwn(e,"showOnDesktop")||Object.hasOwn(e,"showOnDesktop")&&!1!==e.showOnDesktop),(0,o.useEffect)(()=>{let e;e=0,t.forEach((t,a)=>{n.startsWith(t.url)&&(d(t.url.length>e?a:c),e=t.url.length>e?t.url.length:e)})},[n]),(0,s.jsx)(s.Fragment,{children:t.map((e,t)=>{let r=c===t||n.endsWith(e.url);return(0,s.jsxs)(i(),{target:"".concat(e.externalLink?"_blank":""),href:e.url,className:"py-4 max-lg:px-4 px-6 whitespace-nowrap flex items-center gap-2",style:{backgroundColor:r?a:"transparent"},onMouseEnter:e=>{r||(e.currentTarget.style.backgroundColor=a)},onMouseLeave:e=>{r||(e.currentTarget.style.backgroundColor="transparent")},children:[(null==e?void 0:e.icon)&&(0,s.jsx)("div",{className:"-mt-[2px]",style:{color:r?"white":l},children:e.icon}),(0,s.jsx)("p",{className:"font-inter font-medium text-[13px]",children:e.title})]},e.url)})})}var d=a(77711);let A=(0,d.default)(()=>Promise.all([a.e(1534),a.e(1906)]).then(a.bind(a,15524)),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),u=(0,d.default)(()=>Promise.all([a.e(1534),a.e(1418)]).then(a.bind(a,29263)),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),x=e=>{let{subLinks:t,color:a,colorHover:l,iconColor:n}=e,c=(0,r.usePathname)(),[d,x]=(0,o.useState)(!1),m=t.find(e=>c.endsWith(e.url))||t[0];return(0,s.jsxs)("div",{className:"md:hidden block relative",children:[(0,s.jsxs)("button",{onClick:()=>x(!d),className:"bg-[var(--events)] max-sm:h-[34px] flex justify-between items-center p-5 uppercase text-white text-sm w-full",style:{backgroundColor:l},children:[(0,s.jsxs)("span",{className:"font-inter font-medium text-[10px] sm:text-[14px]",children:[m.icon," ",m.title]}),(0,s.jsx)("span",{className:"transition-transform duration-300",children:d?(0,s.jsx)(A,{}):(0,s.jsx)(u,{})})]}),(0,s.jsx)("div",{className:"absolute top-full left-0 w-full shadow-lg z-10 transition-all duration-300 ".concat(d?"max-h-60 opacity-100":"max-h-0 opacity-0 hidden"),children:t.filter(e=>e.url!==m.url).map(e=>(0,s.jsxs)(i(),{target:"".concat(e.externalLink?"_blank":""),href:e.url,className:"max-sm:h-[34px] flex space-x-3 uppercase items-center p-5 text-white text-sm w-full hover:bg-[".concat(l,"]"),onClick:()=>x(!1),style:{backgroundColor:a},children:[(null==e?void 0:e.icon)&&(0,s.jsx)("div",{className:"-mt-[2px]",style:{color:"white"},children:e.icon}),(0,s.jsx)("p",{className:"text-[10px] sm:text-[14px] font-semibold",children:e.title})]},e.url))})]})};function m(e){let{slug:t,sectionTitle:a,color:n,colorHover:i,iconColor:r,homeUrl:o,showHomeLink:d=!0,overrides:A,iconResolver:u}=e,{navLinks:m}=(0,l.e)(),h=m.find(e=>e.slug===t);if(0===m.length)return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"relative hidden md:block",style:{backgroundColor:n},children:(0,s.jsx)("div",{className:"container mx-auto flex justify-center space-x-12 max-lg:space-x-4 py-4",children:[80,140,70,110,9
10].map((e,t)=>(0,s.jsx)("div",{className:"flex items-center",children:(0,s.jsx)("div",{className:"h-3 rounded-sm bg-white/30 animate-pulse",style:{width:"".concat(e,"px")}})},t))})}),(0,s.jsx)("div",{className:"md:hidden block",children:(0,s.jsx)("div",{className:"max-sm:h-[34px] p-5",style:{backgroundColor:i},children:(0,s.jsx)("div",{className:"h-3 w-32 rounded-sm bg-white/30 animate-pulse"})})})]});if(!h||!h.subLinks)return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"relative hidden md:block",style:{backgroundColor:n},children:(0,s.jsx)("div",{className:"container mx-auto flex justify-center space-x-12 max-lg:space-x-4 py-4",children:(0,s.jsx)("div",{className:"h-3 w-0"})})}),(0,s.jsx)("div",{className:"md:hidden block",children:(0,s.jsx)("div",{className:"max-sm:h-[34px] p-5",style:{backgroundColor:i}})})]});let p=[...d?[{title:"".concat(a,": Home"),url:o,showOnDesktop:!1}]:[],...h.subLinks.filter(e=>!e.externalLink).map(e=>{let t=null==A?void 0:A[e.url],a={...e};return(null==t?void 0:t.heroImage)&&(a.heroImage=t.heroImage),(null==t?void 0:t.showOnDesktop)!==void 0&&(a.showOnDesktop=t.showOnDesktop),(null==t?void 0:t.iconName)&&(a.iconName=t.iconName),u&&((null==t?void 0:t.iconName)||e.iconName)&&(a.icon=u((null==t?void 0:t.iconName)||e.iconName)),a})];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"relative hidden md:block",style:{backgroundColor:n},children:(0,s.jsx)("div",{className:"container mx-auto flex justify-center space-x-12 max-lg:space-x-4 text-white uppercase font-inter text-sm",children:(0,s.jsx)(c,{subLinks:p,color:i,iconColor:r})})}),(0,s.jsx)(x,{subLinks:p,color:n,colorHover:i})]})}},12318:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>c});var s=a(95155),l=a(51644),n=a(78217),i=a(89144),r=a(12115),o=a(64440);function c(e){let{children:t}=e,[a,c]=(0,r.useState)("Vijayayatra");return(0,r.useEffect)(()=>{(async function(){try{let e=await fetch(o.Zr+"vijaya-yatra");if(e.ok){let t=await e.json();if(t.length>0){let e=new Date(1e3*t[0].date.seconds).getFullYear();c("".concat(e," Vijayayatra"))}}}catch(e){}})()},[]),(0,s.jsxs)("div",{children:[(0,s.jsx)(n.A,{image:l.A,pageTitle:a}),(0,s.jsx)(i.A,{slug:"vijaya-yatra",sectionTitle:"Vijayayatra",color:"var(--events)",colorHover:"var(--events-hover)",homeUrl:"/vijaya-yatra",showHomeLink:!1}),(0,s.jsx)("section",{className:"p-4 bg-[var(--gray-100)]",children:(0,s.jsx)("div",{className:"max-w-[1175px] mx-auto flex flex-col gap-4 pb-14",children:t})})]})}},64440:(e,t,a)=>{"use strict";a.d(t,{H$:()=>o,Zr:()=>r,k:()=>l});var s=a(2818);let l="https://www.sringeri.net/",n="https://www.sringeri.net/api/",i=function(){let e=!!(s.env.REPL_OWNER||s.env.REPLIT_DOMAINS);return"phase-production-build"===s.env.NEXT_PHASE?n:e?"http://127.0.0.1:5000/api/":n}(),r="/api/",o=i},82748:(e,t,a)=>{"use strict";a.d(t,{NavLinksProvider:()=>i,e:()=>r});var s=a(95155),l=a(12115);let n=(0,l.createContext)({navLinks:[]});function i(e){let{children:t,initialNavLinks:a=[]}=e,[i]=(0,l.useState)(a);return(0,s.jsx)(n.Provider,{value:{navLinks:i},children:t})}function r(){return(0,l.useContext)(n)}},5565:(e,t,a)=>{"use strict";a.d(t,{default:()=>l.a});var s=a(4146),l=a.n(s)},4146:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(t,{default:function(){return o},getImageProps:function(){return r}});let s=a(60306),l=a(40666),n=a(87970),i=s._(a(65514));function r(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let o=n.Image},51644:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s={src:"/_next/static/media/events_hero.0aecd755.jpg",height:600,width:2500,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAACAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAAEBf/aAAwDAQACEAMQAAAAjAFH/8QAGxAAAgEFAAAAAAAAAAAAAAAAAQIRABMUIYL/2gAIAQEAAT8ARVwEaBNxt8iv/8QAFxEAAwEAAAAAAAAAAAAAAAAAAAFBcf/aAAgBAgEBPwBXT//EABcRAAMBAAAAAAAAAAAAAAAAAAABQXH/2gAIAQMBAT8Acw//2Q==",blurWidth:8,blurHeight:2}}},e=>{var t=t=>e(e.s=t);e.O(0,[8173,7743,8441,1517,7358],()=>t(27731)),_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.