PageSourceSearch

https://vedicrishi.in/_next/static/chunks/54376-3ab08260dc2f8578.js

js vedicrishi.in collected 2026-09-24 10:02:29 UTC 17,340 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="906bf8ac-6b95-4ef1-8d63-33b3eab23df4",e._sentryDebugIdIdentifier="sentry-dbid-906bf8ac-6b95-4ef1-8d63-33b3eab23df4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54376],{9931:function(e){e.exports=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}return function t(r,n){function a(t,a,s){if("undefined"!=typeof document){"number"==typeof(s=e({},n,s)).expires&&(s.expires=new Date(Date.now()+864e5*s.expires)),s.expires&&(s.expires=s.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var o in s)s[o]&&(l+="; "+o,!0!==s[o]&&(l+="="+s[o].split(";")[0]));return document.cookie=t+"="+r.write(a,t)+l}}return Object.create({set:a,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},a=0;a<t.length;a++){var s=t[a].split("="),l=s.slice(1).join("=");try{var o=decodeURIComponent(s[0]);if(n[o]=r.read(l,o),e===o)break}catch(e){}}return e?n[e]:n}},remove:function(t,r){a(t,"",e({},r,{expires:-1}))},withAttributes:function(r){return t(this.converter,e({},this.attributes,r))},withConverter:function(r){return t(e({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},13683:(e,t,r)=>{"use strict";r.d(t,{Ne:()=>l,PP:()=>s,Uz:()=>a,_g:()=>o,fi:()=>i,iz:()=>d,m8:()=>u,wD:()=>c});var n=r(37876);function a(){return(0,n.jsx)("div",{className:"fixed z-30 bg-gray-700 opacity-70 w-full h-full top-0 left-0"})}function s(e){return null==e||isNaN(e)?"0":new Intl.NumberFormat().format(e)}function l(e,t){return Math.round(100-100*e/t)}function o(e,t){return t>e.length-1?e[t=0]:e[t]}let i=(e,t)=>{let r=e.getDate()+t,n=e.getMonth();return new Date(e.getFullYear(),n,r)};function c(e,t){return Math.round(Math.abs((Date.parse(e)-Date.parse(t))/864e5))}function u(e){let t=new Date;return t.getTime()>e.getTime()?t:e}function d(e){let t=new Date,r=t.getTime()>e.getTime(),n=t.setDate(t.getDate()+1);return r?new Date(n):e}},18847:(e,t,r)=>{e.exports=r(52496)},36639:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(37876),a=r(77191),s=r(14232),l=r(85241),o=r(89099),i=r(48230),c=r.n(i),u=r(55128),d=r(35916);function p(){let{cartItem:e}=(0,u.A)(),[t,r]=(0,s.useState)(0),a=(0,o.useRouter)();(0,s.useEffect)(()=>{let t=(0,d.v)(e);r(null==t?void 0:t.itemCount)},[e]);let l=a.asPath.replace(/\//g," ").split(" ")[2];return(0,n.jsx)("div",{className:"border-b border-zinc-200",children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"flex justify-between bg-white px-5 w-full header items-center py-2 max-w-6xl mx-auto",children:(0,n.jsxs)("div",{className:"flex justify-start lg:justify-center w-full items-center overflow-x-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]",children:[(0,n.jsxs)("ul",{className:"list-none font-ptsans_medium flex flex-row gap-6 lg:gap-10 min-w-max whitespace-nowrap",children:[(0,n.jsx)("li",{className:"py-4",children:(0,n.jsx)(c(),{href:"/shop",className:"text-[15px] uppercase hover:text-orange-500 ".concat("/shop"===a.asPath?"text-orange-400":""),children:"Store"})}),(0,n.jsx)("li",{className:"py-4",children:(0,n.jsx)(c(),{href:"/shop/rudraksha",className:"text-[15px] uppercase hover:text-orange-500 ".concat("rudraksha"===l?"text-orange-400":""),children:"Rudraksha"})}),(0,n.jsx)("li",{className:"py-4",children:(0,n.jsx)(c(),{href:"/shop/rosary",className:"text-[15px] uppercase hover:text-orange-500 ".concat("rosary"===l?"text-orange-400":""),children:"Rosary (mala)"})}),(0,n.jsx)("li",{className:"py-4",children:(0,n.jsx)(c(),{href:"/shop/yantra",className:"text-[15px] uppercase hover:text-orange-500 ".concat("yantra"===l?"text-orange-400":""),children:"Yantra"})}),(0,n.jsx)("li",{className:"py-4",children:(0,n.jsx)(c(),{href:"/shop/parad",className:"text-[15px] uppercase hover:text-orange-500 ".concat("parad"===l?"text-orange-400":""),children:"Mercury (Parad)"})})]}),(0,n.jsx)("div",{className:"flex gap-5 items-center flex-shrink-0 ml-4",children:(0,n.jsxs)(c(),{href:"/shop/cart",className:"relative group",children:[(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-7 group-hover:stroke-orange-600 w-7",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})}),(0,n.jsx)("span",{className:"absolute group-hover:bg-orange-600 top-0 bg-zinc-700 text-white font-ptsans_medium -right-1 w-full max-w-max text-[12px] rounded-[60px] px-[5px]",children:t>0?t:""})]})})]})})})})}var f=r(80677);function m(e){let t=(0,o.useRouter)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.A,{}),(0,n.jsx)(l.H,{}),(0,n.jsx)(p,{}),(0,n.jsx)("div",{className:"min-h-screen md:pt-0 pt-[80px] ".concat(e.nomargin?"":"".concat("/shop"===t.asPath?"md:py-0 pt-0 pb-10":"md:py-0 pb-20 py-20")," "),children:e.children}),(0,n.jsx)(a.A,{})]})}r(21434)},40494:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,R:()=>o});var n=r(37876);r(14232);var a=r(50859),s=r(83183);function l(e){return(0,n.jsx)(s.A,{children:(0,n.jsx)(a.A,{children:(0,n.jsx)("div",{className:"w-full",children:e.children})})})}function o(e){let{children:t}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a.A,{children:(0,n.jsx)("div",{className:"w-full",children:t})})})}r(70137)},52496:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},noSSR:function(){return l}});let n=r(64252);r(37876),r(14232);let a=n._(r(90295));function s(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){return delete t.webpack,delete t.modules,e(t)}function o(e,t){let r=a.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let o=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=o?o().then(s):Promise.resolve(s(()=>null))}):(delete n.webpack,delete n.modules,l(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55128:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(14232),a=r(50859);let s=()=>({...(0,n.useContext)(a.M)})},57965:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>x,G_:()=>g,Yt:()=>b,ex:()=>y});var n=r(37876),a=r(87189),s=r(14232),l=r(48230),o=r.n(l),i=r(89099),c=r(55128),u=r(13683),d=r(69856),p=r(18847),f=r.n(p),m=r(48250);let h=f()(()=>Promise.all([r.e(99003),r.e(23016)]).then(r.bind(r,23016)),{loadableGenerated:{webpack:()=>[23016]},ssr:!1});function x(e){let t=(0,i.useRouter)();return(0,n.jsxs)("div",{onClick:()=>t.push(e.link),className:"w-full cursor-pointer group max-w-[200px]  flex text-center flex-col gap-3 justify-between rounded",children:[(0,n.jsx)("div",{className:"w-full max-w-max ".concat(e.bg,"  rounded-full  group-hover:scale-[1.03] group-hover:shadow-xl transition duration-100 ease-in p-5 sm:p-7 items-center h-full flex justify-center"),children:(0,n.jsxs)("picture",{children:[(0,n.jsx)("source",{srcSet:"".concat(e.img,".webp"),type:"image/webp"}),(0,n.jsx)("img",{src:"".concat(e.img,".png"),className:"w-full md:w-[85px] ",alt:e.name})]})}),(0,n.jsx)("div",{className:" md:-ml-10 flex text-black justify-center  relative ",children:(0,n.jsxs)("h5",{className:"text-lg  text md:text-xl  ".concat(e.subname?"":"border-b-2 border-transparent group-hover:border-zinc-800"," !text-zinc-800   max-w-max mx-auto flex gap-2 font-ptsans_bold md:border-b-2 border-transparent group-hover:border-zinc-800"),children:[e.name,e.subname&&(0,n.jsx)("span",{className:"sm:static absolute top-full border-transparent group-hover:border-zinc-800 md:border-none border-b-2",children:e.subname})]})})]})}let g=(e,t)=>!!t.find(t=>(null==t?void 0:t.product_id)===(null==e?void 0:e.product_id));function b(e){let{addtocart:t}=(0,c.A)(),[r,l]=(0,s.useState)(!1),p=(0,i.useRouter)(),[f,x]=(0,s.use
1State)("IN");return(0,s.useEffect)(()=>{(async()=>{x(await (0,d.vQ)())})()},[]),(0,n.jsxs)(n.Fragment,{children:[r&&(0,n.jsx)(u.Uz,{}),(0,n.jsx)(h,{transition:"".concat(r?"-translate-y-1/2 opacity-100 visible":"translate-y-[300px] opacity-0 invisible"),passclose:e=>{l(!1)}}),(0,n.jsxs)("div",{className:"flex border-b border-zinc-700  flex-col gap-2 w-full group",onClick:()=>{let t=window.location.origin+p.asPath,r=(0,m.Wc)(e,t);(0,m.dW)(r)},children:[(0,n.jsx)(o(),{href:"/shop/".concat(null==e?void 0:e.category,"/").concat((null==e?void 0:e.url)?e.url.trim():e.url),className:"".concat(e.color," mb-2 cursor-pointer flex justify-center"),children:(0,n.jsx)(a.LazyLoadImage,{effect:"blur",src:e.img,className:"w-full p-10 h-[300px]  transform transition-all duration-300 ease-in",alt:e.name})}),(0,n.jsxs)("div",{className:"flex justify-between h-[100px]",children:[(0,n.jsxs)("div",{className:" pb-5",children:[(0,n.jsx)("h4",{style:{lineHeight:1.4},onClick:()=>{p.push("/shop/".concat(null==e?void 0:e.category,"/").concat((null==e?void 0:e.url)?e.url.trim():e.url))},className:"text-[20px] cursor-pointer line text-zinc-700",children:e.name}),(0,n.jsxs)("div",{className:"flex mt-1 gap-2 text-lg items-center",children:[(0,n.jsx)("span",{className:"line-through  text-gray-400 text-lg",children:"IN"!==f?"$"+"".concat((0,u.PP)(e.strike_amount_usd)):"".concat(e.currency_symbol+(0,u.PP)(e.strike_amount))}),(0,n.jsx)("span",{className:"text-zinc-800 font-ptsans_medium group-hover:text-orange-500 text-lg",children:"IN"!==f?"$"+"".concat((0,u.PP)(e.amount_usd)):"".concat(e.currency_symbol+(0,u.PP)(e.amount))})]})]}),(0,n.jsxs)("button",{onClick:()=>{l(!0),t(e.data)},className:"pr-2 self-center",children:[(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-7 hover:stroke-orange-600 w-7 stroke-zinc-700",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})})," "]})]})]})]})}function y(e){let{addtocart:t}=(0,c.A)(),[r,l]=(0,s.useState)(!1),[p,f]=(0,s.useState)("IN");(0,s.useEffect)(()=>{(async()=>{f(await (0,d.vQ)())})()},[]);let m=(0,i.useRouter)();return(0,n.jsxs)(n.Fragment,{children:[r&&(0,n.jsx)(u.Uz,{}),(0,n.jsx)(h,{transition:"".concat(r?"-translate-y-1/2 opacity-100 visible":"translate-y-[300px] opacity-0 invisible"),passclose:e=>{l(!1)}}),(0,n.jsxs)("div",{className:"flex justify-between flex-col gap-2 w-full group",children:[(0,n.jsx)(o(),{href:"/shop/".concat(null==e?void 0:e.category,"/").concat((null==e?void 0:e.url)?e.url.trim():e.url),className:"".concat(e.color," mb-2 cursor-pointer flex justify-center"),children:(0,n.jsx)(a.LazyLoadImage,{effect:"blur",src:e.img,className:"w-full h-[280px]  transform transition-all duration-300 ease-in h-full",alt:e.name})}),(0,n.jsxs)("div",{className:"flex justify-between  flex-col gap-5",children:[(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("h4",{style:{lineHeight:1.4},onClick:()=>{triggerProductViewEvent(),m.push("/shop/".concat(null==e?void 0:e.category,"/").concat((null==e?void 0:e.url)?e.url.trim():e.url))},className:"text-[20px] cursor-pointer line text-zinc-700",children:e.name}),(0,n.jsxs)("div",{className:"flex mt-1 gap-2 text-lg items-center",children:[(0,n.jsx)("span",{className:"line-through  text-gray-400 text-lg",children:"IN"!==p?"$"+"".concat((0,u.PP)(e.strike_amount_usd)):"".concat(e.currency_symbol+(0,u.PP)(e.strike_amount))}),(0,n.jsx)("span",{className:"text-zinc-800 font-ptsans_medium group-hover:text-orange-500 text-lg",children:"IN"!==p?"$"+"".concat((0,u.PP)(e.amount_usd)):"".concat(e.currency_symbol+(0,u.PP)(e.amount))})]})]}),(0,n.jsx)("button",{onClick:()=>{l(!0),t(e.data)},className:" bg-orange-400  rounded hover:bg-orange-500 py-2 font-ptsans_bold md:text-xl text-lg text-white",children:"Add To Cart"})]})]})]})}},69856:(e,t,r)=>{"use strict";r.d(t,{ZG:()=>o,qZ:()=>c,vQ:()=>i});var n=r(16875),a=r(13683);function s(e){try{return sessionStorage.getItem(e)}catch(e){return null}}function l(e,t){try{null!=t&&sessionStorage.setItem(e,t)}catch(e){}}async function o(){let e=s("country");if(null!==e)return e;{let e=await (0,n.kM)({apiName:"getCnt"}),t=(null==e?void 0:e.country)||"IN";return l("country",t),t}}async function i(){let e=s("country");if(null!==e)return e;{let e=await (0,n.kM)({apiName:"getCnt"}),t=(null==e?void 0:e.country)||"IN";return l("country",t),t}}function c(e){let t=[];try{let e=localStorage.getItem("cart");null!==e&&(t=JSON.parse(e))}catch(e){t=[]}let r=t.reduce((t,r)=>t+(r.feature?"IN"===e?r.prices.details[1].amount*r.quantity:r.prices.details[1].amount_usd*r.quantity:"IN"===e?r.prices.details[0].amount*r.quantity:r.prices.details[0].amount_usd*r.quantity),0),n="IN"===e?"₹"+r:"$"+r,s="IN"===e?"₹"+(r<1e3?parseInt(r)+80:r):"$"+(parseInt(r)+25),l="IN"===e?"₹"+(0,a.PP)(r):"$"+r,o="IN"===e?"₹"+(0,a.PP)(r<1e3?parseInt(r)+80:r):"$"+(parseInt(r)+25);return{total:s,subtotal:n,query:r,subtotalformat:l,totalformat:o}}r(9931)},83183:(e,t,r)=>{"use strict";r.d(t,{A:()=>
1o});var n=r(37876),a=r(14232),s=r(29454);let l=(0,a.createContext)(),o=e=>{let{children:t}=e,[r,o]=(0,a.useState)({data:{}}),[i,c]=(0,a.useState)(null),u=s.A.get("session");return(0,a.useEffect)(()=>{let e=!0;if(c(u),e&&!u){var t=new Date,r=new Date(new Date().getTime()+3e5);s.A.set("session",t.toISOString(),{expires:r})}return()=>{e=!1}},[]),(0,n.jsx)(l.Provider,{value:{...r,state:i},children:t})}},86581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext(null)},90295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(64252)._(r(14232)),a=r(86581),s=[],l=[],o=!1;function i(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function i(){if(!s){let t=new c(e,r);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!o){let e=r.webpack&&1?r.webpack():r.modules;e&&l.push(t=>{for(let r of e)if(t.includes(r))return i()})}function u(e,t){i();let l=n.default.useContext(a.LoadableContext);l&&Array.isArray(r.modules)&&r.modules.forEach(e=>{l(e)});let o=n.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),n.default.useMemo(()=>{var t;return o.loading||o.error?n.default.createElement(r.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:s.retry}):o.loaded?n.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return u.preload=()=>i(),u.displayName="LoadableComponent",n.default.forwardRef(u)}(i,e)}function d(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return d(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{d(s).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(o=!0,t());d(l,e).then(r,r)})),window.__NEXT_PRELOADREADY=u.preloadReady;let p=u}}]);

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.