(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return s}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",l=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(o.urlQueryToSearchParams(s)));let u=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${a}${u}${l}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(18967),a=e.r(52817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809),i=e.r(43476),l=o._(e.r(71645)),s=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let h=e.r(88540),p=e.r(91949),m=e.r(73668),x=e.r(9396);function g(t){var r,n;let a,o,g,[v,y]=(0,l.useOptimistic)(p.IDLE_LINK_STATUS),w=(0,l.useRef)(null),{href:j,as:k,children:_,prefetch:C=null,passHref:S,replace:N,shallow:L,scroll:I,onClick:M,onMouseEnter:O,onTouchStart:E,legacyBehavior:T=!1,onNavigate:P,transitionTypes:q,ref:R,unstable_dynamicOnHover:A,...$}=t;a=_,T&&("string"==typeof a||"number"==typeof a)&&(a=(0,i.jsx)("a",{children:a}));let B=l.default.useContext(c.AppRouterContext),U=!1!==C,z=!1!==C?null===(n=C)||"auto"===n?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,W="string"==typeof(r=k||j)?r:(0,s.formatUrl)(r);if(T){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=l.default.Children.only(a)}let D=T?o&&"object"==typeof o&&o.ref:R,H=l.default.useCallback(e=>(null!==B&&(w.current=(0,p.mountLinkInstance)(e,W,B,z,U,y)),()=>{w.current&&((0,p.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,p.unmountPrefetchableInstance)(e)}),[U,W,B,z,y]),F={ref:(0,u.useMergedRef)(H,D),onClick(t){T||"function"!=typeof M||M(t),T&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!B||t.defaultPrevented||function(t,r,n,a,o,i,s){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);l.default.startTransition(()=>{d(r,a?"replace":"push",!1===o?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,s)})}}(t,W,w,N,I,P,q)},onMouseEnter(e){T||"function"!=typeof O||O(e),T&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),B&&U&&(0,p.onNavigationIntent)(e.currentTarget,!0===A)},onTouchStart:function(e){T||"function"!=typeof E||E(e),T&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),B&&U&&(0,p.onNavigationIntent)(e.currentTarget,!0===A)}};return(0,d.isAbsoluteUrl)(W)?F.href=W:T&&!S&&("a"!==o.type||"href"in o.props)||(F.href=(0,f.addBasePath)(W)),g=T?l.default.cloneElement(o,F):(0,i.jsx)("a",{...$,...F,children:a}),(0,i.jsx)(b.Provider,{value:v,children:g})}e.r(84508);let b=(0,l.createContext)(p.IDLE_LINK_STATUS),v=()=>(0,l.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18566,(e,t,r)=>{t.exports=e.r(76562)},20437,e=>{"use strict";let t="twom-cart";function r(){try{let e=localStorage.getItem(t);return e?JSON.parse(e):[]}catch{return localStorage.removeItem(t),[]}}function n(e,t,r){return`${e}-${t||"default"}-${r||"nophoto"}`}function a(e,a,o){let i=n(e,a,o),l=r().filter(e=>n(e.productId,e.variantId,e.photoUrl)!==i);return localStorage.setItem(t,JSON.stringify(l)),window.dispatchEvent(new Event("cart-updated")),l}e.s(["addToCart",0,function(e,a=1){let o=r(),i=n(e.productId,e.variantId,e.photoUrl),l=o.find(e=>n(e.productId,e.variantId,e.photoUrl)===i);return l?l.quantity+=a:o.push({...e,quantity:a}),localStorage.setItem(t,JSON.stringify(o)),window.dispatchEvent(new Event("cart-updated")),o},"clearCart",0,function(){localStorage.removeItem(t),window.dispatchEvent(new Event("cart-updated"))},"getCart",0,r,"getCartCount",0,function(e){return e.reduce((e,t)=>e+t.quantity,0)},"getCartTotal",0,function(e){return e.reduce((e,t)=>e+t.price*t.quantity,0)},"removeFromCart",0,a,"updateCartQuantity",0,function(e,o,i,l){let s=r(),c=n(e,o,i),u=s.find(e=>n(e.productId,e.variantId,e.photoUrl)===c);if(u){if(l<=0)return a(e,o,i);u.quantity=l}return localStorage.setItem(t,JSON.stringify(s)),window.dispatchEvent(new Event("cart-updated")),s}])},8341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(55682),i=e.r(90809),l=e.r(43476),s=o._(e.r(74080)),c=i._(e.r(71645)),u=e.r(42732),d=e.r(22737),f=e.r(8341),h=new Map,p=new Set,m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:l="afterInteractive",onError:c,stylesheets:u}=e,f=r||t;if(f&&p.has(f))return;if(h.has(t)){p.add(f),h.get(t).then(n,c);return}let m=()=>{a&&a(),p.add(f)},x=document.createElement("script"),g=new Promise((e,t)=>{x.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),x.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(x.innerHTML=o.__html||"",m()):i?(x.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",m()):t&&(x.src=t,h.set(t,g)),(0,d.setAttributesFromProps)(x,e),"worker"===l&&x.setAttribute("type","text/partytown"),x.setAttribute("data-nscript",l),u&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(x)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function b(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:o="afterInteractive",onError:i,stylesheets:d,...h}=e,{updateScripts:x,scripts:g,getIsSsr:b,appDir:v,nonce:y}=(0,c.useContext)(u.HeadManagerContext);y=h.nonce||y;let w=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;w.current||(a&&e&&p.has(e)&&a(),w.current=!0)},[a,t,r]);let j=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!j.current){if("afterInteractive"===o)m(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}));j.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(x?(g[o]=(g[o]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:i,...h,nonce:y}]),x(g)):b&&b()?p.add(t||r):b&&!b()&&m({...e,nonce:y})),v){if(d&&d.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...h,id:t}])})`}});else return s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:y,crossOrigin:h.crossOrigin}:{as:"script",nonce:y,crossOrigin:h.crossOrigin}),(0,l.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...h,id:t}])})`}});"afterInteractive"===o&&r&&s.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:y,crossOrigin:h.crossOrigin}:{as:"script",nonce:y,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let v=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3303,(e,t,r)=>{t.exports=e.r(79520)},31971,e=>{"use strict";var t=e.i(43476),r=e.i(3303);let n="2127365837998434";e.s(["default",0,function(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{id:"meta-pixel",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:` !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '${n}'); fbq('track', 'PageView'); `}}),(0,t.jsx)("noscript",{children:(0,t.jsx)("img",{height:"1",width:"1",style:{display:"none"},src:`https://www.facebook.com/tr?id=${n}&ev=PageView&noscript=1`,alt:""})})]})},"trackAddToCart",0,function(e,t,r){window.fbq&&window.fbq("track","AddToCart",{content_name:t,content_ids:r?[r]:void 0,content_type:"product",currency:"INR",value:e})},"trackInitiateCheckout",0,function(e){window.fbq&&window.fbq("track","InitiateCheckout",{currency:"INR",value:e})},"trackPurchase",0,function(e,t,r){window.fbq&&window.fbq("track","Purchase",{currency:"INR",value:e,order_id:t},r?{eventID:r}:void 0)},"trackViewContent",0,function(e,t,r){window.fbq&&window.fbq("track","ViewContent",{content_name:e,content_ids:r?[r]:void 0,content_type:"product",currency:"INR",value:t})}])},66230,e=>{"use strict";let t=null,r=0;e.s(["getPublicSettings",0,function(){let e=Date.now();return(!t||e-r>3e5)&&(r=e,t=fetch("/api/settings/public").then(e=>e.json()).catch(()=>({}))),t}])},7165,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(71645),a=e.i(20437);e.s(["default",0,function(){let[e,o]=(0,n.useState)(0),[i,l]=(0,n.useState)(0),[s,c]=(0,n.useState)(!1),[u,d]=(0,n.useState)(!1),f=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=()=>o((0,a.getCartCount)((0,a.getCart)()));e(),window.addEventListener("cart-updated",e);let t=window.matchMedia("(max-width: 767px)");d(t.matches);let r=e=>d(e.matches);t.addEventListener("change",r);let n=!1,i=()=>{n||(requestAnimationFrame(()=>{l(window.scrollY),n=!1}),n=!0)};return window.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("cart-updated",e),window.removeEventListener("scroll",i),t.removeEventListener("change",r)}},[]);let h=Math.min(i/80,1);return(0,t.jsxs)("header",{ref:f,className:"fixed top-0 left-0 right-0 z-50",style:{transition:"box-shadow 0.4s ease",boxShadow:h>.5?"0 1px 24px 0 rgba(184,150,46,0.06)":"none"},children:[(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to bottom, rgba(255,245,248,0.97) 0%, rgba(250,250,248,0.97) 100%)",backdropFilter:u?"none":`blur(${Math.min(8*h,8)}px)`,WebkitBackdropFilter:u?"none":`blur(${Math.min(8*h,8)}px)`,opacity:h,transition:"opacity 0.35s cubic-bezier(0.4,0,0.2,1), backdrop-filter 0.35s cubic-bezier(0.4,0,0.2,1)",borderBottom:h>.1?`1px solid rgba(184,150,46,${.2*h})`:"none"}}),(0,t.jsxs)("nav",{className:"relative max-w-7xl mx-auto px-4 md:px-6 py-4 flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"hidden lg:flex items-center gap-8",children:[(0,t.jsx)(r.default,{href:"/shop",className:"text-xs tracking-widest uppercase text-charcoal/60 hover:text-charcoal transition-colors duration-200 font-medium",children:"Shop"}),(0,t.jsx)(r.default,{href:"/about",className:"text-xs tracking-widest uppercase text-charcoal/60 hover:text-charcoal transition-colors duration-200 font-medium",children:"About"})]}),(0,t.jsx)(r.default,{href:"/",className:"lg:absolute lg:left-1/2 lg:-translate-x-1/2",children:(0,t.jsxs)("h1",{className:"font-serif font-normal tracking-[0.15em] text-black leading-none",style:{fontSize:i>40?"1.1rem":"1.35rem",transition:"font-size 0.4s cubic-bezier(0.4,0,0.2,1)"},children:["The World of ",(0,t.jsx)("span",{className:"italic",children:"Memories"})]})}),(0,t.jsxs)("div",{className:"flex items-center gap-5 lg:gap-7",children:[(0,t.jsx)(r.default,{href:"/contact",className:"hidden lg:block text-xs tracking-widest uppercase text-charcoal/60 hover:text-charcoal transition-colors duration-200 font-medium",children:"Contact"}),(0,t.jsx)(r.default,{href:"/order-tracking",className:"hidden lg:block text-xs tracking-widest uppercase text-charcoal/60 hover:text-charcoal transition-colors duration-200 font-medium",children:"Track"}),(0,t.jsxs)(r.default,{href:"/cart",className:"relative group",children:[(0,t.jsx)("svg",{className:"w-5 h-5 text-charcoal transition-transform duration-200 group-hover:scale-110",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})}),e>0&&(0,t.jsx)("span",{className:"absolute -top-1.5 -right-1.5 bg-gold text-white text-[9px] w-[17px] h-[17px] rounded-full flex items-center justify-center font-semibold",children:e>9?"9+":e})]}),(0,t.jsx)("button",{className:"lg:hidden w-11 h-11 flex items-center justify-center transition-transform duration-200 active:scale-90",onClick:()=>c(!s),"aria-label":"Menu",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.5,children:s?(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}):(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"})})})]})]}),(0,t.jsx)("div",{className:"lg:hidden overflow-hidden",style:{maxHeight:s?"300px":"0",transition:"max-height 0.35s cubic-bezier(0.4,0,0.2,1)"},children:(0,t.jsx)("div",{className:"px-6 py-4 flex flex-col gap-4 border-t",style:{background:"rgba(255,245,248,0.97)",borderColor:"rgba(184,150,46,0.2)",backdropFilter:"none"},children:[{href:"/shop",label:"Shop"},{href:"/about",label:"About"},{href:"/contact",label:"Contact"},{href:"/order-tracking",label:"Track Order"}].map(e=>(0,t.jsx)(r.default,{href:e.href,className:"text-sm tracking-widest uppercase text-charcoal/60 hover:text-charcoal transition-colors duration-200",onClick:()=>c(!1),children:e.label},e.href))})})]})}])},11527,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["default",0,function(){let[e,n]=(0,r.useState)(""),[a,o]=(0,r.useState)("idle"),[i,l]=(0,r.useState)(!1),s=async t=>{if(t.preventDefault(),e.trim()){l(!0);try{await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})}),o("success"),n("")}catch{o("error")}l(!1)}};return"success"===a?(0,t.jsx)("p",{className:"text-gold text-sm tracking-wider max-w-md mx-auto py-3",children:"✓ Thank you! We'll keep you in the loop."}):(0,t.jsxs)("form",{onSubmit:s,className:"flex max-w-md mx-auto",children:[(0,t.jsx)("input",{type:"email",value:e,onChange:e=>n(e.target.value),placeholder:"Your email address",required:!0,className:"flex-1 bg-charcoal-light border border-cream/20 px-4 py-3 text-sm text-cream placeholder:text-cream/30 focus:outline-none focus:border-gold transition-colors"}),(0,t.jsx)("button",{type:"submit",disabled:i,className:"bg-gold hover:bg-gold-dark text-white px-6 py-3 text-sm tracking-widest uppercase transition-colors disabled:opacity-50",children:i?"...":"Subscribe"}),"error"===a&&(0,t.jsx)("p",{className:"absolute mt-12 text-xs text-red-400",children:"Something went wrong. Try again."})]})}])},22993,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(18566),a=e.i(71645),o=e.i(20437),i=e.i(66230);let l=[{href:"/",label:"Home",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.4,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 9l9-7 9 7v11a1 1 0 01-1 1H15v-5a1 1 0 00-1-1h-4a1 1 0 00-1 1v5H4a1 1 0 01-1-1V9z"})})},{href:"/shop",label:"Shop",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.4,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4zM3 6h18M16 10a4 4 0 01-8 0"})})},{href:"/cart",label:"Cart",icon:(0,t.jsxs)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.4,children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M1 1h4l2.68 13.39a2 2 0 001.99 1.61h9.72a2 2 0 001.99-1.61L23 6H6"}),(0,t.jsx)("circle",{cx:"9",cy:"21",r:"1",fill:"currentColor",stroke:"none"}),(0,t.jsx)("circle",{cx:"20",cy:"21",r:"1",fill:"currentColor",stroke:"none"})]}),isCart:!0},{href:"/order-tracking",label:"Track",icon:(0,t.jsxs)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:1.4,children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("polyline",{points:"12 6 12 12 16 14",strokeLinecap:"round",strokeLinejoin:"round"})]})}];e.s(["default",0,function(){let e=(0,n.usePathname)(),[s,c]=(0,a.useState)(0),[u,d]=(0,a.useState)("");return((0,a.useEffect)(()=>{let e=()=>c((0,o.getCartCount)((0,o.getCart)()));return e(),window.addEventListener("cart-updated",e),()=>window.removeEventListener("cart-updated",e)},[]),(0,a.useEffect)(()=>{(0,i.getPublicSettings)().then(e=>{let t=e.whatsapp_number||e.store_phone||"";t&&d(t.replace(/\D/g,""))})},[]),e.startsWith("/admin"))?null:(0,t.jsx)("nav",{className:"lg:hidden fixed bottom-0 left-0 right-0 z-50 bg-white border-t border-cream-dark",style:{paddingBottom:"env(safe-area-inset-bottom)"},children:(0,t.jsxs)("div",{className:"flex",children:[l.map(n=>{let a="/"===n.href?"/"===e:e.startsWith(n.href);return(0,t.jsxs)(r.default,{href:n.href,className:`flex-1 flex flex-col items-center justify-center py-2.5 gap-0.5 transition-colors active:opacity-70 ${a?"text-gold":"text-charcoal/35"}`,children:[(0,t.jsxs)("span",{className:"relative",children:[n.icon,n.isCart&&s>0&&(0,t.jsx)("span",{className:"absolute -top-1.5 -right-1.5 bg-gold text-white text-[10px] w-4 h-4 rounded-full flex items-center justify-center font-medium leading-none",children:s>9?"9+":s})]}),(0,t.jsx)("span",{className:"text-[10px] font-medium",children:n.label})]},n.href)}),(0,t.jsxs)("button",{onClick:()=>u&&window.open(`https://wa.me/${u}?text=Hi! I have a question about The World of Memories jewelry.`,"_blank"),className:"flex-1 flex flex-col items-center justify-center py-2.5 gap-0.5 text-charcoal/35 hover:text-[#25D366] transition-colors active:opacity-70",children:[(0,t.jsx)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})}),(0,t.jsx)("span",{className:"text-[10px] font-medium",children:"Chat"})]})]})})}])},98903,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),a=e.i(66230);e.s(["default",0,function(){let[e,o]=(0,r.useState)(""),[i,l]=(0,r.useState)(!1),s=(0,n.usePathname)();return((0,r.useEffect)(()=>{(0,a.getPublicSettings)().then(e=>{let t=(e.whatsapp_number||e.store_phone||"").replace(/\D/g,"");t&&o(t)});let e=setTimeout(()=>l(!0),800);return()=>clearTimeout(e)},[]),!s.startsWith("/admin")&&"/checkout"!==s&&i&&e)?(0,t.jsx)("a",{href:`https://wa.me/${e}?text=Hi! I have a question about The World of Memories jewelry.`,target:"_blank",rel:"noopener noreferrer","aria-label":"Chat on WhatsApp",className:"fixed right-4 z-40 flex items-center justify-center w-14 h-14 rounded-full shadow-lg transition-transform hover:scale-110 active:scale-95",style:{backgroundColor:"#25D366",bottom:"calc(4.5rem + env(safe-area-inset-bottom))"},children:(0,t.jsx)("svg",{className:"w-7 h-7 text-white",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})})}):null}])},83509,e=>{"use strict";var t=e.i(43476),r=e.i(18566);e.s(["default",0,function({children:e}){let n=(0,r.usePathname)();return(0,t.jsx)("div",{className:"animate-page-in",children:e},n)}])}]);