1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{81318:function(e,t,a){Promise.resolve().then(a.t.bind(a,88003,23)),Promise.resolve().then(a.t.bind(a,91585,23)),Promise.resolve().then(a.t.bind(a,2778,23)),Promise.resolve().then(a.bind(a,9541)),Promise.resolve().then(a.bind(a,48847)),Promise.resolve().then(a.bind(a,976)),Promise.resolve().then(a.bind(a,7380)),Promise.resolve().then(a.bind(a,12025))},9541:function(e,t,a){"use strict";a.d(t,{default:function(){return D}});var n=a(57437),r=a(2265),s=a(23340),o=a(71917);function i(){let{toasts:e}=(0,s.pm)();return(0,n.jsxs)(o.VW,{children:[e.map(function(e){let{id:t,title:a,description:r,action:s,...i}=e;return(0,n.jsxs)(o.FN,{...i,children:[(0,n.jsxs)("div",{className:"grid gap-1",children:[a&&(0,n.jsx)(o.Mi,{children:a}),r&&(0,n.jsx)(o.lj,{children:r})]}),s,(0,n.jsx)(o.sA,{})]},t)}),(0,n.jsx)(o._i,{})]})}var c=a(27648),l=a(33145),d=a(79219),u=a(37760),f=a(74767),m=a(99376),h=a(99094);let p=[{top:"15%",left:"25%",size:"50vmin",color:"hsl(var(--primary) / 0.15)",blur:"100px",animation:"pulse 20s infinite alternate"},{top:"30%",left:"40%",size:"60vmin",color:"hsl(var(--accent) / 0.1)",blur:"120px",animation:"pulse 25s infinite alternate-reverse"},{top:"50%",left:"20%",size:"40vmin",color:"hsl(var(--primary) / 0.1)",blur:"80px",animation:"pulse 18s infinite alternate"},{top:"45%",left:"60%",size:"45vmin",color:"hsl(var(--foreground) / 0.1)",blur:"110px",animation:"pulse 22s infinite alternate-reverse"}];function x(){let[e,t]=(0,r.useState)([]),[a,s]=(0,r.useState)([]),[o,i]=(0,r.useState)({});return(0,r.useEffect)(()=>{let e=document.createElement("style");return e.type="text/css",e.innerText="\n @keyframes pulse {\n 0% { transform: scale(0.95); opacity: 0.8; }\n 100% { transform: scale(1.05); opacity: 1; }\n }\n ",document.head.appendChild(e),i({"--star-dx":"".concat((Math.random()-.5)*40,"px"),"--star-dy":"".concat((Math.random()-.5)*40,"px")}),s(p.map(e=>({position:"absolute",top:e.top,left:e.left,width:e.size,height:e.size,background:"radial-gradient(circle, ".concat(e.color," 0%, transparent 70%)"),borderRadius:"50%",filter:"blur(".concat(e.blur,")"),animation:e.animation,willChange:"transform, opacity"}))),t(Array.from({length:50}).map(()=>{let e=1.5*Math.random()+.5;return{position:"absolute",top:"".concat(100*Math.random(),"%"),left:"".concat(100*Math.random(),"%"),width:"".concat(e,"px"),height:"".concat(e,"px"),backgroundColor:"white",borderRadius:"50%",opacity:.7*Math.random(),animation:"twinkle ".concat(5*Math.random()+3,"s infinite alternate, move-stars 80s linear infinite"),animationDelay:"".concat(5*Math.random(),"s")}})),()=>{document.head.removeChild(e)}},[]),(0,n.jsxs)("div",{className:"absolute inset-0 z-0 overflow-hidden bg-black",style:o,children:[a.map((e,t)=>(0,n.jsx)("div",{style:e},"nebula-".concat(t))),e.map((e,t)=>(0,n.jsx)("div",{style:e},"star-".concat(t)))]})}var g=a(28032);let b=e=>(0,n.jsx)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...e,children:(0,n.jsx)("path",{d:"M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.79.46 3.48 1.32 4.95L2 22l5.25-1.38c1.41.79 3.02 1.21 4.79 1.21h.01c5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2m.01 1.63c4.59 0 8.31 3.72 8.31 8.31s-3.72 8.31-8.31 8.31h-.01c-1.57 0-3.08-.44-4.38-1.25l-.31-.18-3.26.86.88-3.18-.2-.32c-.89-1.4-1.37-3.04-1.37-4.78.01-4.59 3.73-8.31 8.32-8.31m4.23 6.12c-.22-.11-.79-.39-1.03-.43s-.42-.06-.6.06-.39.43-.48.52-.18.11-.33.05s-.62-.23-1.18-.73c-.44-.39-.73-.88-.82-1.03s-.09-.22.05-.34c.13-.11.28-.28.43-.43s.19-.22.28-.37.05-.28-.03-.39c-.08-.11-.6-.73-.82-1s-.44-.22-.6-.22-.38-.01-.52-.01-.37 0-.57.06-.39.18-.6.43-.82.8-.82 1.98s.84 2.3 1.03 2.5c.18.16 1.65 2.53 4 3.53s1.65.71 2.2.65c.55-.06 1.65-.68 1.88-1.34s.23-1.22.17-1.34c-.06-.11-.22-.18-.48-.28Z"})});function v(){var e;let t=(0,m.usePathname)().split("/")[1]||"es",a=null===(e=(0,h.g)())||void 0===e?void 0:e.footer,r="https://wa.me/".concat(g.N,"?text=").concat(encodeURIComponent("Hola, estoy interesado en sus productos y me gustar\xeda obtener m\xe1s informaci\xf3n.")),s="https://www.google.com/maps/search/?api=1&query=Gamers4Gamers%2C%20Barrio%20Calasanz%2C%20Cra%2082B%20%23%2049BB-137%2C%20Medellin%2C%20Colombia";return a?(0,n.jsxs)("footer",{className:"relative overflow-hidden w-full border-t border-border/40 bg-card text-card-foreground",children:[(0,n.jsx)("div",{className:"absolute inset-0 z-0 opacity-30",children:(0,n.jsx)(x,{})}),(0,n.jsxs)("div",{className:"container relative z-10 mx-auto py-8 px-4 md:px-6",children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)(c.default,{href:"/".concat(t),className:"flex items-center space-x-2 mb-4",children:[(0,n.jsx)(l.default,{src:"/logo.svg",alt:"Gamers4Gamers Company Logo",width:32,height:32,className:"h-8 w-8"}),(0,n.jsxs)("span",{className:"text-xl font-bold",children:["Gamers ",(0,n.jsx)("span",{className:"text-accent text-2xl inline-block -rotate-12 animate-wobble-and-rotate",children:"4"})," Gamers"]})]}),(0,n.jsx)("p",{className:"text-muted-foreground",children:a.tagline}),(0,n.jsxs)("div",{className:"flex space-x-4 mt-4",children:[(0,n.jsx)(c.default,{href:"https://wa.me/".concat(g.N),"aria-label":"WhatsApp",target:"_blank",rel:"noopener noreferrer","data-gtm-event":"click","data-gtm-description":"footer-social-whatsapp","data-gtm-url":"https://wa.me/".concat(g.N),"data-gtm-typelead":"yes",children:(0,n.jsx)(b,{className:"h-6 w-6 text-muted-foreground hover:text-accent transition-colors"})}),(0,n.jsx)(c.default,{href:"http://facebook.com/GamersForGamersStore","aria-label":"Facebook",target:"_blank",rel:"noopener noreferrer","data-gtm-event":"click","data-gtm-description":"footer-social-facebook","data-gtm-url":"http://facebook.com/GamersForGamersStore",children:(0,n.jsx)(d.Z,{className:"h-6 w-6 text-muted-foreground hover:text-primary transition-colors"})}),(0,n.jsx)(c.default,{href:"https://www.instagram.com/gamers4gamersstore","aria-label":"Instagram",target:"_blank",rel:"noopener noreferrer","data-gtm-event":"click","data-gtm-description":"footer-social-instagram","data-gtm-url":"https://www.instagram.com/gamers4gamersstore",children:(0,n.jsx)(u.Z,{className:"h-6 w-6 text-muted-foreground hover:text-primary transition-colors"})}),(0,n.jsx)(c.default,{href:"https://www.youtube.com/@gamers4gamers","aria-label":"YouTube",target:"_blank",rel:"noopener noreferrer","data-gtm-event":"click","data-gtm-description":"footer-social-youtube","data-gtm-url":"https://www.youtube.com/@gamers4gamers",children:(0,n.jsx)(f.Z,{className:"h-6 w-6 text-muted-foreground hover:text-primary transition-colors"})})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-semibold mb-4",children:a.quick_links}),(0,n.jsxs)("ul",{className:"space-y-2",children:[(0,n.jsx)("li",{children:(0,n.jsx)(c.default,{href:"/".concat(t,"/about"),className:"text-muted-foreground hover:text-primary transition-colors","data-gtm-event":"click","data-gtm-description":"footer-about-us","data-gtm-url":"/".concat(t,"/about"),children:a.about_us})}),(0,n.jsx)("li",{children:(0,n.jsx)(c.default,{href:"/".concat(t,"/products"),className:"text-muted-foreground hover:text-primary transition-colors","data-gtm-event":"click","data-gtm-description":"footer-products","data-gtm-url":"/".concat(t,"/products"),children:a.products})}),(0,n.jsx)("li",{children:(0,n.jsx)(c.default,{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary transition-colors","data-gtm-event":"click","data-gtm-description":"footer-contact-whatsapp","data-gtm-url":r,"data-gtm-typelead":"yes",children:a.contact})}),(0,n.jsx)("li",{children:(0,n.jsx)(c.default,{href:"/".concat(t,"/blog"),className:"text-muted-foreground hover:text-primary transition-colors","data-gtm-event":"click","data-gtm-description":"footer-blog","data-gtm-url":"/".concat(t,"/blog"),children:a.blog})})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-semibold mb-4",children:a.policies_title}),(0,n.jsxs)("ul",{className:"space-y-2",children:[(0,n.jsx)("li",{children:(0,n.jsx)(c.default,{href:"/".concat(t,"/policies#returns-policy"),className:"text-muted-foreground hover:text-primary transition-colors",children:a.returns_policy})}),(0,n.jsx)("li",{children:(0,n.jsx)(c.default,{href:"/".concat(t,"/policies#privacy-policy"),className:"text-muted-foreground hover:text-primary transition-colors",children:a.privacy_policy})})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"font-semibold mb-4",children:a.connect_with_us}),(0,n.jsx)(c.default,{href:s,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground text-sm hover:text-primary transition-colors","data-gtm-event":"click","data-gtm-description":"footer-address","data-gtm-url":s,children:a.address}),(0,n.jsx)("p",{className:"text-muted-foreground text-sm",children:a.email}),(0,n.jsx)("p",{className:"text-muted-foreground text-sm",children:"WhatsApp: +57 318 756-8005"}),(0,n.jsx)("p",{className:"text-muted-foreground text-sm",children:"Tel\xe9fono alterno: +57 321 833-1005"})]})]}
1),(0,n.jsxs)("div",{className:"relative border-t mt-8 pt-6 text-center text-sm text-muted-foreground",children:[(0,n.jsx)("div",{className:"absolute -top-px left-0 h-0.5 w-1/4 animate-asteroid-streak"}),(0,n.jsx)("p",{children:a.copyright.replace("{year}",new Date().getFullYear())})]})]})]}):null}var j=a(93448),w=a(41505),y=a(20265),N=a(12381);function k(){let[e,t]=(0,r.useState)(!1),a=()=>{window.scrollY>300?t(!0):t(!1)};return(0,r.useEffect)(()=>(window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)}),[]),(0,n.jsx)(N.z,{variant:"outline",size:"icon",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:(0,j.cn)("fixed bottom-24 right-8 z-50 h-14 w-14 rounded-full border-2 border-primary bg-background/80 text-primary shadow-lg backdrop-blur-sm transition-opacity duration-300 hover:bg-primary hover:text-primary-foreground",e?"opacity-100":"opacity-0 pointer-events-none"),"aria-label":"Go to top","data-gtm-event":"click","data-gtm-description":"go-to-top",children:(0,n.jsx)(y.Z,{className:"h-6 w-6"})})}let _=e=>(0,n.jsx)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",...e,children:(0,n.jsx)("path",{d:"M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.79.46 3.48 1.32 4.95L2 22l5.25-1.38c1.41.79 3.02 1.21 4.79 1.21h.01c5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2m.01 1.63c4.59 0 8.31 3.72 8.31 8.31s-3.72 8.31-8.31 8.31h-.01c-1.57 0-3.08-.44-4.38-1.25l-.31-.18-3.26.86.88-3.18-.2-.32c-.89-1.4-1.37-3.04-1.37-4.78.01-4.59 3.73-8.31 8.32-8.31m4.23 6.12c-.22-.11-.79-.39-1.03-.43s-.42-.06-.6.06-.39.43-.48.52-.18.11-.33.05s-.62-.23-1.18-.73c-.44-.39-.73-.88-.82-1.03s-.09-.22.05-.34c.13-.11.28-.28.43-.43s.19-.22.28-.37.05-.28-.03-.39c-.08-.11-.6-.73-.82-1s-.44-.22-.6-.22-.38-.01-.52-.01-.37 0-.57.06-.39.18-.6.43-.82.8-.82 1.98.84 2.3 1.03 2.5c.18.16 1.65 2.53 4 3.53s1.65.71 2.2.65c.55-.06 1.65-.68 1.88-1.34s.23-1.22.17-1.34c-.06-.11-.22-.18-.48-.28Z"})});function C(e){let{productName:t,campaignName:a}=e,r=(0,g.C)(t,a);return(0,n.jsx)(c.default,{href:r,target:"_blank",rel:"noopener noreferrer",className:(0,j.cn)("fixed bottom-8 right-8 z-50 flex h-14 w-14 items-center justify-center rounded-full bg-accent text-accent-foreground shadow-lg transition-transform hover:scale-110","animate-fade-in"),"aria-label":t?"Chat sobre ".concat(t," en WhatsApp"):"Chat on WhatsApp","data-gtm-event":"click","data-gtm-description":t?"floating-whatsapp-product-button":"floating-whatsapp-button","data-gtm-product-name":t,"data-gtm-campaign":a,"data-gtm-url":r,"data-gtm-typelead":"yes",children:(0,n.jsx)(_,{className:"h-8 w-8"})})}var q=a(51884),S=a(58293),$=a(91032),z=a(32060),E=a(74291),M=a(40279),P=a(
173247);function Z(){var e;let[t,a]=(0,r.useState)(!1),[s,o]=(0,r.useState)(""),i=(0,m.useRouter)(),c=(0,m.usePathname)(),l=(0,m.useSearchParams)(),d=c.split("/")[1]||"es",u=null===(e=(0,h.g)())||void 0===e?void 0:e.global_search;return u?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N.z,{variant:"ghost",size:"icon",onClick:()=>a(!0),"aria-label":"Abrir b\xfasqueda",children:(0,n.jsx)(P.Z,{className:"h-5 w-5"})}),(0,n.jsx)(E.Vq,{open:t,onOpenChange:a,children:(0,n.jsxs)(E.cZ,{className:"sm:max-w-[425px]",children:[(0,n.jsx)(E.fK,{children:(0,n.jsx)(E.$N,{children:u.title})}),(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=s.trim();if(t){let e=new URLSearchParams(l.toString());e.set("q",t),i.push("/".concat(d,"/products?").concat(e.toString())),a(!1)}},children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(P.Z,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),(0,n.jsx)(M.I,{value:s,onChange:e=>o(e.target.value),placeholder:u.placeholder,className:"pl-10"})]}),(0,n.jsx)("div",{className:"mt-4 flex justify-end",children:(0,n.jsx)(N.z,{type:"submit",children:"Buscar"})})]})]})})]}):(0,n.jsx)(N.z,{variant:"ghost",size:"icon","aria-label":"Abrir b\xfasqueda",disabled:!0,children:(0,n.jsx)(P.Z,{className:"h-5 w-5"})})}var L=a(74477);function R(e){let{navLinks:t,dict:a,shoppingCartEnabled:s}=e,o=(0,m.usePathname)(),[i,d]=(0,r.useState)(!1),u=o.split("/")[1]||"es",f=null==a?void 0:a.header,h="https://wa.me/573187568005?text=".concat(encodeURIComponent("Hola, estoy interesado en sus productos y me gustar\xeda obtener m\xe1s informaci\xf3n."));if(!f)return(0,n.jsx)("div",{className:"h-16"});let p=e=>{let{href:t,label:a,description:r}=e,s="/"===t?"/".concat(u):"/".concat(u).concat(t),i=o===s;return(0,n.jsx)(c.default,{href:s,className:(0,j.cn)("text-lg font-medium transition-colors hover:text-primary lg:text-sm",i?"text-primary":"text-muted-foreground"),onClick:()=>d(!1),"data-gtm-event":"click","data-gtm-description":r,"data-gtm-url":s,children:a})},x=()=>(0,n.jsxs)(z.h_,{children:[(0,n.jsx)(z.$F,{asChild:!0,children:(0,n.jsxs)(N.z,{variant:"ghost",size:"icon","data-gtm-event":"click","data-gtm-description":"language-switcher","aria-label":f.language_switcher,children:[(0,n.jsx)("span",{className:"font-medium uppercase",children:u}),(0,n.jsx)("span",{className:"sr-only",children:f.language_switcher})]})}),(0,n.jsxs)(z.AW,{align:"end",children:[(0,n.jsx)(z.Xi,{asChild:!0,children:(0,n.jsx)(c.default,{href:"/en",children:"English"})}),(0,n.jsx)(z.Xi,{asChild:!0,children:(0,n.jsx)(c.default,{href:"/es",children:"Espa\xf1ol"})})]})]}),g=e=>{let{className:t,showText:a=!0}=e;return(0,n.jsxs)(c.default,{href:"/".concat(u),className:(0,j.cn)("flex shrink-0 items-center space-x-2",t),onClick:()=>i&&d(!1),"data-gtm-event":"click","data-gtm-description":"header-logo","data-gtm-url":"/".concat(u),"aria-label":"Gamers4Gamers Homepage",children:[(0,n.jsx)(l.default,{src:"/logo.svg",alt:"Gamers4Gamers Company Logo",width:48,height:48,className:"h-10 w-10 shrink-0 xl:h-12 xl:w-12"}),a&&(0,n.jsxs)("span",{className:"whitespace-nowrap text-xl font-bold xl:text-2xl",children:["Gamers ",(0,n.jsx)("span",{className:"inline-block -rotate-12 text-2xl text-accent group-data-[state=open]:animate-wobble-and-rotate group-[.animate-fade-in_&]:animate-wobble-and-rotate xl:text-3xl",children:"4"})," Gamers"]})]})};return(0,n.jsxs)("header",{className:"sticky top-0 z-50 w-full bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:[(0,n.jsxs)("div",{className:"container mx-auto w-full max-w-none px-4 flex h-16 items-center",children:[(0,n.jsxs)("div",{className:"hidden flex-1 items-center justify-between lg:flex",children:[(0,n.jsxs)("div",{className:"flex items-center gap-4 xl:gap-6",children:[(0,n.jsx)(g,{}),(0,n.jsx)("nav",{className:"items-center space-x-6 text-sm font-medium flex",children:t.map(e=>(0,n.jsx)(p,{href:e.href,label:e.label,description:e.description},e.href))})]}),(0,n.jsxs)("nav",{className:"flex items-center gap-0.5 sm:gap-1",children:[(0,n.jsx)(Z,{}),s&&(0,n.jsx)(L.Z,{}),(0,n.jsx)(x,{}),(0,n.jsx)(c.default,{href:"/".concat(u,"/admin/products"),"aria-label":f.admin_panel_aria_label,children:(0,n.jsx)(N.z,{variant:"ghost",size:"icon","aria-label":f.admin_panel_aria_label,children:(0,n.jsx)(q.Z,{className:"h-5 w-5"})})}),(0,n.jsx)(c.default,{href:h,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)(N.z,{className:"bg-primary hover:bg-primary/90 text-primary-foreground","data-gtm-event":"click","data-gtm-description":"header-contact-us","data-gtm-typelead":"yes",children:f.contact_us})})]})]}),(0,n.jsxs)("div",{className:"grid w-full grid-cols-3 items-center lg:hidden",children:[(0,n.jsx)("div",{className:"flex justify-start",children:(0,n.jsxs)($.yo,{open:i,onOpenChange:d,children:[(0,n.jsx)($.aM,{asChild:!0,children:(0,n.jsxs)(N.z,{variant:"ghost",size:"icon","aria-label":"Toggle Menu",children:[(0,n.jsx)(S.Z,{className:"h-6 w-6"}),(0,n.jsx)("span",{className:"sr-only",children:"Toggle Menu"})]})}),(0,n.jsxs)($.ue,{side:"left",className:"pr-0 w-4/5",children:[(0,n.jsx)(g,{className:"mb-6 ml-4"}),(0,n.jsx)("div",{className:"flex flex-col space-y-4 px-4",children:t.map(e=>(0,n.jsx)(p,{href:e.href,label:e.label,description:e.description},e.href))})]})]})}),(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)(g,{showText:!1})}),(0,n.jsxs)("nav",{className:"flex items-center justify-end gap-0",children:[(0,n.jsx)(Z,{}),s&&(0,n.jsx)(L.Z,{}),(0,n.jsx)(x,{})]})]})]}),(0,n.jsx)("div",{className:"relative h-[1px] w-full animate-brush-reveal overflow-hidden"})]})}var T=a(57981),A=a(7380),G=a(51817),I=a(25064),O=a(31523),B=a(19059),F=a(62370);function U(){let{isCheckingOut:e}=(0,A.j)();return e?(0,n.jsxs)("div",{className:"fixed inset-0 z-[200] flex h-screen w-full flex-col items-center justify-center bg-background/80 backdrop-blur-sm",children:[(0,n.jsx)(G.Z,{className:"h-16 w-16 animate-spin text-primary"}),(0,n.jsx)("p",{className:"mt-4 text-lg text-muted-foreground",children:"Preparando tu compra..."})]}):null}function V(e){let{children:t,navLinks:a,dict:s,shoppingCartEnabled:o}=e,[c,l]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!0),f=(0,m.usePathname)(),h=(0,m.useSearchParams)(),[p,x]=(0,r.useState)(0),g=(0,r.useRef)(!1),{viewMode:b}=(0,T.m)(),y=f.split("/")[1]||"es",N="reel"===b&&f.includes("/products"),_=f.includes("/admin");return(0,r.useEffect)(()=>{},[]),(0,r.useEffect)(()=>{x(e=>e+1)},[f]),(0,r.useEffect)(()=>
1{if(!g.current){g.current=!0;return}(0,O.sX)()},[f,h]),(0,r.useEffect)(()=>{let e="".concat(f).concat(h.toString()?"?".concat(h.toString()):"");(0,F.qo)("virtual_page_view",{ga4_event_name:"page_view",page_path:e,page_location:window.location.href,page_title:document.title})},[f,h]),(0,r.useEffect)(()=>{(0,B.qC)().catch(()=>void 0)},[f,h]),(0,r.useEffect)(()=>{let e=async e=>{var t,a;let n=e.target,r=null,s=null,o=null;for(;n&&(!r||!s);)n.dataset&&"yes"===n.dataset.gtmTypelead&&(r=n),n.dataset&&n.dataset.gtmEvent&&(s=n),!o&&n instanceof HTMLAnchorElement&&(o=n),n=n.parentElement;if(s&&((0,F.qo)("gtm_click",{...(0,F.jd)(s),click_text:(null===(t=s.textContent)||void 0===t?void 0:t.trim().slice(0,200))||void 0,page_path:"".concat(f).concat(h.toString()?"?".concat(h.toString()):"")}),(0,O.Im)(s)),o)try{let e=new URL(o.href,window.location.href);e.origin!==window.location.origin&&(0,F.qo)("external_link_click",{link_url:e.toString(),link_domain:e.hostname,link_text:(null===(a=o.textContent)||void 0===a?void 0:a.trim().slice(0,200))||void 0,link_target:o.target||void 0,...(0,F.jd)(o)})}catch(e){}if(r){if(f==="/".concat(y)||"/"===f){e.preventDefault();let t=new URL(window.location.href),a=new URL("/".concat(y,"/loading-lead"),window.location.origin);a.search=t.search,window.open(a.href,"_blank","noopener,noreferrer")}else{let e=await (0,B.qC)();(0,I.ff)({trackingParams:e,status:"to_contact"}).catch(()=>void 0)}}};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[f,h,y]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(U,{}),null,d&&(0,n.jsxs)("div",{className:"relative flex min-h-screen flex-col",children:[(0,n.jsx)(r.Suspense,{fallback:(0,n.jsx)("div",{className:"h-16"}),children:!N&&(0,n.jsx)(R,{navLinks:a,dict:s,shoppingCartEnabled:o})}),(0,n.jsx)("main",{className:(0,j.cn)("flex-1 bg-background",!N&&"relative"),children:t},p),!N&&(0,n.jsx)(w.default,{children:(0,n.jsx)(v,{})})]}),d&&!N&&(0,n.jsx)(k,{}),d&&!N&&!_&&(0,n.jsx)(C,{}),(0,n.jsx)(i,{})]})}function D(e){let{children:t,navLinks:a,dict:s,shoppingCartEnabled:o}=e;return(0,n.jsx)(T.Z,{children:(0,n.jsx)(r.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(V,{navLinks:a,dict:s,shoppingCartEnabled:o,children:t})})})}},25064:function(e,t,a){"use strict";a.d(t,{BH:function(){return c},Cm:function(){return L},GX:function(){return v},KP:function(){return E},Mh:function(){return C},Nh:function(){return p},Op:function(){return P},Ph:function(){return m},QX:function(){return I},Qc:function(){return k},SV:function(){return Z},Sx:function(){return r},TK:function(){return y},V6:function(){return T},XZ:function(){return O},Z6:function(){return N},_R:function(){return i},d:function(){return q},dT:function(){return B},ff:function(){return M},gY:function(){return A},i2:function(){return h},ip:function(){return $},jS:function(){return z},lr:function(){return b},lw:function(){return j},mN:function(){return f},mc:function(){return d},o2:function(){return G},oS:function(){return _},ow:function(){return x},qo:function(){return g},qq:function(){return l},uz:function(){return o},vQ:function(){return s},w6:function(){return u},xC:function(){return R},xp:function(){return w},zU:function(){return S}}),a(83079);var n=a(12119),r=(0,n.$)("aad1117a26db1657b72e6ec8663ecf4200552429"),s=(0,n.$)("ee22223cfb03c1976debedd38d472da67084539d"),o=(0,n.$)("61d81a1fc6817569fdb1eb6d2dd90c59748b6dcf"),i=(0,n.$)("c889d60f24cca583ddcf568528e3d9c626b6c33f"),c=(0,n.$)("03221f6576267421cf609ff36a8924aff32b730f"),l=(0,n.$)("b23344a2a15aed320321019e2c8bbe007ff29c15"),d=(0,n.$)("0e846dda568edeebf0e8400c73078c6fe60aedd4"),u=(0,n.$)("059620b107d2872dce8d0603f569669c8380f757");(0,n.$)("0e7c1dd246e889879a8b23b6ef7902c91e1e70f6");var f=(0,n.$)("13147d593c39bca404b903c1d8a9d889fc97a961"),m=(0,n.$)("c052b72546f591a5bd1d58ce1bdac5ce47e4d53c"),h=(0,n.$)("a9ba1e0ed815a69dddeb7f07ab52ac8708e14857"),p=(0,n.$)("99fb54f2545d738c841a4a01ddf4d602eaa5feb1"),x=(0,n.$)("fe32bf645ae81a492ec8b025349d0439fe92119b"),g=(0,n.$)("90c4b68f409f0c9d1cf70d8ecf907d5663d53cdf"),b=(0,n.$)("1432913f21d5dfb7db5b3a02f2a94a0276c0bc2d"),v=(0,n.$)("6940e02608d82db6852e4b41cf9a3e89a21f5f28"),j=(0,n.$)("8b160a2165bd65b6cd9dc8597431ed8e8c1bbbb2"),w=(0,n.$)("b5913f7a8f1a62b784cc4aaad9ebf4435cdeaeec"),y=(0,n.$)("a814d1f912f0a211c920766af383f984d6c2c553"),N=(0,n.$)("ce4f5e24122c067a72ae34b37c1d4e00c8971d6b"),k=(0,n.$)("c0f846a7dcac9f40012ebf12c7466f9d6c8dee4e"),_=(0,n.$)("e08df422e1d283ecf74bc71c0e5c16918f332fe2"),C=(0,n.$)("83338ffc455d5cecaea8037
1553b5fa61d8362ccc"),q=(0,n.$)("97c379ea03035695bb1de945465af3f620b0c41e"),S=(0,n.$)("5e1818271abb406cd2efa64612f1a5dfb9fdd514"),$=(0,n.$)("8053c067b3d76912fb55b03857805df5dc57a366"),z=(0,n.$)("ed40ec0afae18e4a989f9213d9f805899db93ecc"),E=(0,n.$)("ca7ca6da59a1e4f4901c65d971aaa26c0dc70e24");(0,n.$)("f9da8e9c4274856d475da2aa05ab1b280df6eb88");var M=(0,n.$)("e0b6647e2346334bf6c4c073764d187072e7f505"),P=(0,n.$)("874f7e0da9866d9e184cecc969b111c5ad73b9d7"),Z=(0,n.$)("30e806dc699291d96510b81478e3b3d08cdbaa4d"),L=(0,n.$)("49de03cd75b2bc732aec6dce32bf7a942e3a4996"),R=(0,n.$)("2f0d542867d338bd389d00e4c86a4164f5188040"),T=(0,n.$)("c2e3f8a22da5e288ff863cca302ba5e190e5c717"),A=(0,n.$)("00395bad2189daec4c87410ff1baa0c9353c1e38"),G=(0,n.$)("b88157ce37b3d28d3dfa369d6d15a307a89bcf1f"),I=(0,n.$)("6387a1f1c220314ddc64086c2b1caeddd349a1fe"),O=(0,n.$)("65e7025d7a56da5eadaa2e1b439d34ad89ad5b48"),B=(0,n.$)("c900d6f7d5dd6a3310230b56958d25f3c0cff4a9")},41505:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return o}});var n=a(57437),r=a(2265),s=a(93448);function o(e){let{children:t,className:a}=e,[o,i]=(0,r.useState)(!1),c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=new IntersectionObserver(t=>{let a=null==t?void 0:t[0];(null==a?void 0:a.isIntersecting)&&(i(!0),e.unobserve(a.target))},{threshold:.1});return c.current&&e.observe(c.current),()=>{c.current&&e.unobserve(c.current)}},[]),(0,n.jsx)("div",{ref:c,className:(0,s.cn)("transition-all duration-[1500ms] ease-out",o?"opacity-100 translate-y-0":"opacity-0 translate-y-10",a),children:t})}},976:function(e,t,a){"use strict";a.d(t,{default:function(){return d}});var n=a(57437),r=a(48667),s=a(80796),o=a(2265),i=a(42317),c=a(19059);function l(e){var t,a,n,r,o,i,c,l;(0,s.u)()&&(e="denied");let d="granted"===e?"granted":"denied";window.dataLayer=window.dataLayer||[];let u=window.gtag||function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];window.dataLayer.push(t)};window.gtag=u,u("consent","update",{ad_storage:d,analytics_storage:d,ad_user_data:d,ad_personalization:d}),"function"==typeof window.fbq&&window.fbq("consent","granted"===e?"grant":"revoke"),"granted"===e?(null===(a=window.ttq)||void 0===a||null===(t=a.grantConsent)||void 0===t||t.call(a),null===(r=window.ttq)||void 0===r||null===(n=r.enableCookie)||void 0===n||n.call(r)):(null===(i=window.ttq)||void 0===i||null===(o=i.revokeConsent)||void 0===o||o.call(i),null===(l=window.ttq)||void 0===l||null===(c=l.disableCookie)||void 0===c||c.call(l),document.querySelectorAll('script[src*="hotjar.com"], iframe[src*="hotjar.com"]').forEach(e=>e.remove()))}function d(e){let{lang:t,metaPixelId:a,hotjarId:d,tiktokPixelId:u}=e,[f,m]=(0,o.useState)("loading"),h=(0,o.useMemo)(()=>a&&/^\d+$/.test(a)?a:null,[a]),p=(0,o.useMemo)(()=>d&&/^\d+$/.test(d)?d:null,[d]),x=(0,o.useMemo)(()=>u&&/^[A-Za-z0-9_-]{5,64}$/.test(u)?u:null,[u]);(0,o.useEffect)(()=>{if((0,s.u)()){m("denied"),l("denied");return}let e=(0,i.KG)();m(e),l(e||"denied"),"denied"===e&&(0,c.xh)();let t=e=>{let t=e.detail;("granted"===t||"denied"===t)&&(m(t),l(t),"granted"===t?(0,c.qC)():(0,c.xh)())};return window.addEventListener(i.t2,t),()=>window.removeEventListener(i.t2,t)},[]);let g=e=>{(0,i.CJ)(e)},b="en"===t,v=b?{title:"Cookie preferences",body:"We use necessary cookies to operate the store. You can also allow optional cookies to help us improve your experience and understand which content is useful.",accept:"Accept",reject:"Only necessary",policy:"Privacy policy"}:{title:"Preferencias de cookies",body:"Usamos cookies necesarias para que la tienda funcione. Tambi\xe9n puedes aceptar cookies opcionales para ayudarnos a mejorar tu experiencia y saber qu\xe9 contenido resulta \xfatil.",accept:"Aceptar",reject:"Solo necesarias",policy:"Pol\xedtica de privacidad"};return(0,n.jsxs)(n.Fragment,{children:["granted"===f&&h?(0,n.jsx)(r.default,{id:"meta-pixel",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('consent', 'grant');\n fbq('init', ".concat(JSON.stringify(h),");\n fbq('track', 'PageView');\n window.dispatchEvent(new Event(").concat(JSON.stringify(i.a9),"));\n ")}}):null,"granted"===f&&p?(0,n.jsx)(r.default,{id:"hotjar-integration",strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:"\n (function(h,o,t,j,a,r){\n h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\n h._hjSettings={hjid:".concat(p,",hjsv:6};\n a=o.getElementsByTagName('head')[0];\n r=o.createElement('script');r.async=1;\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\n a.appendChild(r);\n })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');\n ")}}):null,"granted"===f&&x?(0,n.jsx)(r.default,{id:"tiktok-pixel",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n !function (w, d, t) {\n w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];\n ttq.methods=['page','track','identify','instances','debug','on','off','once','ready','alias','group','enableCookie','disableCookie','holdConsent','revokeConsent','grantConsent'];\n ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};\n for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);\n ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e};\n ttq.load=function(e,n){var r='https://analytics.tiktok.com/i18n/pixel/events.js',o=n&&n.partner;\n ttq._i=ttq._i||{};ttq._i[e]=[];ttq._i[e]._u=r;ttq._t=ttq._t||{};ttq._t[e]=+new Date;ttq._o=ttq._o||{};ttq._o[e]=n||{};\n n=document.createElement('script');n.type='text/javascript';n.async=!0;n.src=r+'?sdkid='+e+'&lib='+t;\n e=document.getElementsByTagName('script')[0];e.parentNode.insertBefore(n,e)};\n ttq.load(".concat(JSON.stringify(x),");ttq.page();\n window.dispatchEvent(new Event(").concat(JSON.stringify(i.a9),"));\n }(window, document, 'ttq');\n ")}}):null,null===f?(0,n.jsx)("div",{className:"pointer-events-none fixed inset-x-0 bottom-0 z-[300] p-3 sm:p-5",children:(0,n.jsxs)("section",{"aria-label":v.title,"aria-live":"polite",className:"pointer-events-auto mx-auto flex max-w-4xl flex-col gap-4 roun
1ded-lg border border-border bg-background/95 p-4 shadow-2xl backdrop-blur md:flex-row md:items-center md:justify-between",children:[(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)("p",{className:"font-semibold text-foreground",children:v.title}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:v.body}),(0,n.jsx)("a",{href:"/".concat(b?"en":"es","/policies#privacy-policy"),className:"inline-block text-sm font-medium text-primary underline underline-offset-4",children:v.policy})]}),(0,n.jsxs)("div",{className:"flex shrink-0 flex-col-reverse gap-2 sm:flex-row",children:[(0,n.jsx)("button",{type:"button",onClick:()=>g("denied"),className:"rounded-md border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-muted",children:v.reject}),(0,n.jsx)("button",{type:"button",onClick:()=>g("granted"),className:"rounded-md border border-border bg-background px-4 py-2 text-sm font-medium text-foreground hover:bg-muted",children:v.accept})]})]})}):null]})}},32060:function(e,t,a){"use strict";a.d(t,{$F:function(){return u},AW:function(){return f},Xi:function(){return m},h_:function(){return d}});var n=a(57437),r=a(2265),s=a(3032),o=a(10407),i=a(30401),c=a(40519),l=a(93448);let d=s.fC,u=s.xz;s.ZA,s.Uv,s.Tr,s.Ee,r.forwardRef((e,t)=>{let{className:a,inset:r,children:i,...c}=e;return(0,n.jsxs)(s.fF,{ref:t,className:(0,l.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",a),...c,children:[i,(0,n.jsx)(o.Z,{className:"ml-auto"})]})}).displayName=s.fF.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.tu,{ref:t,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r})}).displayName=s.tu.displayName;let f=r.forwardRef((e,t)=>{let{className:a,sideOffset:r=4,...o}=e;return(0,n.jsx)(s.Uv,{children:(0,n.jsx)(s.VY,{ref:t,sideOffset:r,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...o})})});f.displayName=s.VY.displayName;let m=r.forwardRef((e,t)=>{let{className:a,inset:r,...o}=e;return(0,n.jsx)(s.ck,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",a),...o})});m.displayName=s.ck.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,checked:o,...c}=e;return(0,n.jsxs)(s.oC,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o,...c,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(s.wU,{children:(0,n.jsx)(i.Z,{className:"h-4 w-4"})})}),r]})}).displayName=s.oC.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,...o}=e;return(0,n.jsxs)(s.Rk,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(s.wU,{children:(0,n.jsx)(c.Z,{className:"h-2 w-2 fill-current"})})}),r]})}).displayName=s.Rk.displayName,r.forwardRef((e,t)=>
1{let{className:a,inset:r,...o}=e;return(0,n.jsx)(s.__,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",a),...o})}).displayName=s.__.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.Z0,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",a),...r})}).displayName=s.Z0.displayName},40279:function(e,t,a){"use strict";a.d(t,{I:function(){return o}});var n=a(57437),r=a(2265),s=a(93448);let o=r.forwardRef((e,t)=>{let{className:a,type:r,...o}=e;return(0,n.jsx)("input",{type:r,className:(0,s.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...o})});o.displayName="Input"},12025:function(e,t,a){"use strict";a.d(t,{F:function(){return i},ThemeProvider:function(){return o}});var n=a(57437),r=a(2265);let s=(0,r.createContext)(void 0),o=e=>{let{children:t,theme:a}=e;return(0,n.jsx)(s.Provider,{value:{theme:"rounded"===a?"rounded":"square"},children:t})},i=()=>{let e=(0,r.useContext)(s);if(void 0===e)throw Error("useTheme must be used within a ThemeProvider");return e}},57981:function(e,t,a){"use strict";a.d(t,{Z:function(){return o},m:function(){return i}});var n=a(57437),r=a(2265);let s=(0,r.createContext)(void 0),o=e=>{let{children:t}=e,[a,o]=(0,r.useState)("lista");return(0,n.jsx)(s.Provider,{value:{viewMode:a,setViewMode:o},children:t})},i=()=>{let e=(0,r.useContext)(s);if(void 0===e)throw Error("useViewMode must be used within a ViewModeProvider");return e}},2778:function(){}},function(e){e.O(0,[8438,2461,6137,2972,5200,5878,566,8752,9027,926,6858,252,273,9059,1062,7313,9836,2971,2117,1744],function(){return e(e.s=81318)}),_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.