PageSourceSearch

https://kashiarchan.com/_next/static/chunks/app/offerings/page-403ee8c020ed9f94.js

js kashiarchan.com collected 2026-10-02 00:52:11 UTC 9,789 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2444,9966],{20063:(e,s,a)=>{"use strict";var t=a(47260);a.o(t,"notFound")&&a.d(s,{notFound:function(){return t.notFound}}),a.o(t,"useParams")&&a.d(s,{useParams:function(){return t.useParams}}),a.o(t,"usePathname")&&a.d(s,{usePathname:function(){return t.usePathname}}),a.o(t,"useRouter")&&a.d(s,{useRouter:function(){return t.useRouter}}),a.o(t,"useSearchParams")&&a.d(s,{useSearchParams:function(){return t.useSearchParams}})},40386:(e,s,a)=>{"use strict";function t(e){let s=new Set,a=[];for(let t of(null==e?void 0:e.trim())?e.split(",").map(e=>e.trim()).filter(Boolean):[]){let e=function(e){let s=e.trim();if(!s)return"";try{if(s.startsWith("http://")||s.startsWith("https://")){let{pathname:e}=new URL(s);return e.replace(/\/+/g,"/").toLowerCase()}}catch(e){}return s.replace(/\/+/g,"/").toLowerCase()}(t);!e||s.has(e)||(s.add(e),a.push(t))}return a}function n(e,s){let a=t(e);return 0===a.length&&(a=t((s||[]).map(e=>{var s;return null==(s=e.Image)?void 0:s.trim()}).filter(Boolean).join(","))),a.map(e=>r(e))}function i(e){return n(e)[0]||"/images/placeholder.jpg"}function l(e){let s=t(e);return 0===s.length?"":r(s[0])}function r(e){return e?(e.startsWith("http://")||e.startsWith("https://"),e):"/images/placeholder.jpg"}a.d(s,{AE:()=>r,Pk:()=>i,Tm:()=>t,b5:()=>n,xq:()=>l})},56262:(e,s,a)=>{"use strict";a.d(s,{default:()=>g});var t=a(95155),n=a(12115),i=a(81398),l=a(30836),r=a(52619),c=a.n(r),d=a(29512),o=a(85237),m=a(26153),h=a(84888),f=a(34593),x=a(29779),p=a(95028),u=a(40386);function g(e){let{initialOfferings:s=[]}=e,[a,r]=(0,n.useState)(s),[g,j]=(0,n.useState)(!1);(0,n.useEffect)(()=>{0===s.length&&N()},[s.length]),(0,n.useEffect)(()=>{a&&a.length>0&&(0,d.Yz)(a.map(e=>({Id:e.Id,OfferingName:e.Name})),"AllOfferings")},[a]);let N=async()=>{try{var e;let s=await fetch("/api/offerings"),a=await s.json();a.status&&(null==(e=a.data)?void 0:e.Table0)&&r(a.data.Table0)}catch(e){console.error("Error fetching offerings:",e)}},v=()=>{j(!0)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{}),(0,t.jsxs)("main",{className:"page-scroll-area",children:[(0,t.jsx)("section",{className:"puja-hero position-relative overflow-hidden",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"row justify-content-center text-center",children:(0,t.jsxs)("div",{className:"col-lg-9",children:[(0,t.jsx)("span",{className:"puja-hero-tag font-14 semibold text-theme mb-3 d-inline-block",children:"॥ काशी अर्चन ॥"}),(0,t.jsx)("h1",{className:"puja-hero-title puja-title-animate font-58 extrabold text-white mb-4 position-relative",children:"Offer Chadhava in a Divine Way"}),(0,t.jsx)("p",{className:"puja-hero-desc font-18 text-light mb-4",children:"Discover the sacred shrines of Varanasi, where every stone echoes with devotion and centuries of spiritual heritage. From Jyotirlingas to Shakti Peethas, experience offerings guided by ancient Vedic traditions."}),(0,t.jsxs)("div",{className:"d-flex justify-content-center gap-3 flex-wrap",children:[(0,t.jsxs)("a",{href:"#offerings",className:"btn-hero-primary px-5 py-3 font-18 bold text-white d-inline-flex align-items-center gap-2",children:[(0,t.jsx)("i",{className:"fas fa-hands-praying"}),"Offer Chadhava"]}),(0,t.jsxs)("a",{href:"#offerings",className:"btn-hero-secondary px-5 py-3 font-18 bold text-white d-inline-flex align-items-center gap-2",children:[(0,t.jsx)("i",{className:"fas fa-om"}),"View Offerings"]})]}),(0,t.jsxs)("div",{className:"d-flex justify-content-center gap-4 mt-4 flex-wrap",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h6",{className:"font-24 bold text-white mb-0",children:"5000+"}),(0,t.jsx)("p",{className:"font-12 text-light mb-0",children:"Offerings Completed"})]}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h6",{className:"font-24 bold text-white mb-0",children:"100%"}),(0,t.jsx)("p",{className:"font-12 text-light mb-0",children:"Vedic Rituals"})]}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h6",{className:"font-24 bold text-white mb-0",children:"Live"}),(0,t.jsx)("p",{className:"font-12 text-light mb-0",children:"Temple Sankalp"})]})]})]})})})}),(0,t.jsx)("section",{className:"offerings-section py-5",id:"offerings",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"d-flex flex-column align-items-center text-center gap-3 mb-4",children:[(0,t.jsxs)("div",{className:"om-badge d-inline-flex align-items-center gap-2 px-3 py-2 font-16 semibold",children:[(0,t.jsx)("i",{className:"fas fa-om"}),"Om Namah Shivay"]}),(0,t.jsxs)("h2",{className:"font-42 bold textDark m-0",children:["Sacred ",(0,t.jsx)("span",{className:"themeColor",children:"Offerings"})]})]}),(0,t.jsx)("div",{className:"row gy-4 py-4",children:a&&a.length>0?a.map((e,s)=>{var a;return(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsx)("div",{className:"card border-0 shadow-sm h-100 offering-card",children:(0,t.jsxs)("div",{className:"row g-0 align-items-stretch h-100",children:[(0,t.jsx)("div",{className:"col-md-5",children:(0,t.jsx)(c(),{href:"/offering-details/".concat(e.Id),onClick:v,children:(0,t.jsx)("img",{src:(0,u.xq)(e.Images1),className:"img-fluid h-100 w-100 rounded-start offering-img",alt:e.Name||"Offering"})})}),(0,t.jsx)("div",{className:"col-md-7",children:(0,t.jsxs)("div",{className:"card-body d-flex flex-column h-100 gap-1",children:[(0,t.jsxs)("span",{className:"badge bg-success-subtle text-success rounded-pill align-self-start mb-2",children:[e.day," ",e.monthname," ",e.year]}),(0,t.jsx)("h5",{className:"font-18 bold textDark mb-0",children:e.Name}),(null==(a=e.SubHeadingName)?void 0:a.trim())?(0,t.jsx)("p",{className:"offering-card-subheading font-14 medium textLight mb-1",children:e.SubHeadingName}):null,(0,t.jsxs)("div",{className:"d-flex flex-column gap-2 mt-2",children:[(0,t.jsxs)("div",{className:"event-info-item",children:[(0,t.jsx)("i",{className:"fas fa-clock"}),(0,t.jsxs)("span",{className:"font-12",children:[e.StartTimes," - ",e.EndTimes]})]}),(0,t.jsxs)("div",{className:"event-info-item",children:[(0,t.jsx)("i",{className:"fas fa-calendar"}),(0,t.jsxs)("span",{className:"font-12",children:[e.day," - ",e.monthname," ",e.year,", ",e.dayname]})]}),(0,t.jsxs)("div",{className:"event-info-item",children:[(0,t.jsx)("i",{className:"fas fa-map-marker-alt"}),(0,t.jsx)("span",{className:"font-12",children:e.TempleName})]})]}),(0,t.jsx)(c(),{href:"/offering-details/".concat(e.Id),onClick:v,className:"btn-theme-lg text-white font-16 semibold offers-btn w-100 text-center mt-3",children:"Offer Chadhava"})]})})]})})},s)}):(0,t.jsx)("div",{className:"col-12 text-center",children:(0,t.jsxs)("div",{className:"card border-0 shadow-sm p-5",children:[(0,t.jsx)("h4",{className:"font-24 bold textDark",children:"No Offerings Currently Available"}),(0,t.jsx)("p",{className:"font-16 textLight",children:"We are preparing sacred offerings for devotees. Please check back soon."})]})})})]})}),(0,t.jsx)(o.A,{}),(0,t.jsx)(m.default,{}),(0,t.jsx)(h.default,{}),(0,t.jsx)(f.default,{}),(0,t.jsx)(x.A,{}),(0,t.jsx)(p.A,{})]}),(0,t.jsx)(l.default,{})]})}},79986:(e,s,a)=>{Promise.resolve().then(a.bind(a,56262))},85237:(e,s,a)=>{"use strict";a.d(s,{A:()=>r});var t=a(95155),n=a(67909),i=a(12115);let l=(0,n.default)(()=>a.e(3543).then(a.bind(a,73543)),{loadableGenerated:{webpack:()=>[73543]},ssr:!1}),r=()=>{let e=[],[s,a]=(0,i.useState)(e);return(0,i.useEffect)(()=>{0===e.length&&fetch("/api/sponsorship").then(e=>e.json()).then(e=>{var s;a((null==(s=e.data)?void 0:s.SponshorshipMemberstbl)||e.sponsors||[])}).catch(e=>console.error("Error fetching sponsors:",e))},[e.length]),(0,t.jsx)("section",{className:"sacred-slider-section py-5",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"d-flex flex-column align-items-center text-center gap-3 mb-5",children:[(0,t.jsxs)("div",{className:"om-badge d-inline-flex align-items-center gap-2 px-3 py-2 font-14 semibold",children:[(0,t.jsx)("i",{className:"fas fa-om"}),"Lifetime Sponsors"]}),(0,t.jsxs)("h2",{className:"font-48 bold text-white mb-2",children:["Guided by Visionaries, Strengthened by",(0,t.jsx)("span",{className:"themeColor",children:" Sponsors"})]})]}),(0,t.jsx)("div",{className:"sacred-slider",children:(0,t.jsxs)("div",{className:"swiper-container",id:"sponsors-swiper",children:[(0,t.jsx)("div",{className:"swiper-wrapper",children:s.map((e,s)=>{var a;return(0,t.jsx)("div",{className:"swiper-slide sponsorsslide",children:(0,t.jsxs)("div",{className:"slide-card",children:[(0,t.jsx)("div",{className:"slide-image-wrapper",children:(0,t.jsx)("img",{src:(null==(a=e.ImageUrl)?void 0:a.startsWith("/Upload/"))?"https://kashi-cdn.zappush.com/public".concat(e.ImageUrl):e.ImageUrl,alt:e.Name})}),(0,t.jsxs)("div",{className:"slide-content",children:[(0,t.jsx)("h4",{className:"font-20 bold text-white",children:e.Name}),(0,t.jsx)("p",{className:"role",children:e.post})]})]})},s)})}),(0,t.jsx)("div",{className:"swiper-button-next"}),(0,t.jsx)("div",{className:"swiper-button-prev"}),(0,t.jsx)("div",{className:"swiper-pagination"})]})}),s.length>0&&(0,t.jsx)(l,{slideCount:s.length,selector:"#sponsors-swiper",config:{slidesPerView:1,spaceBetween:20,centeredSlides:!0,loop:s.length>=3,loopAdditionalSlides:30,initialSlide:Math.floor(s.length/2),autoplay:{delay:3e3,disableOnInteraction:!1},navigation:{nextEl:"#sponsors-swiper .swiper-button-next",prevEl:"#sponsors-swiper .swiper-button-prev"},pagination:{el:"#sponsors-swiper .swiper-pagination",clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:30},1024:{slidesPerView:3,spaceBetween:40}}}})]})})}}},e=>{e.O(0,[2619,836,1398,3130,9512,4940,9746,7358],()=>e(e.s=79986)),_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.