PageSourceSearch

https://macaly-b1as0f9ez1jm0rh5t7p3y90e.macaly.app/_next/static/ch…?dpl=dpl_F6cPiQGY91Pu8dgXkftV2vP7RWZw

js macaly-b1as0f9ez1jm0rh5t7p3y90e.macaly.app collected 2026-10-03 04:59:17 UTC 13,526 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63059,e=>{"use strict";let s=(0,e.i(75254).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,s],63059)},3116,e=>{"use strict";let s=(0,e.i(75254).default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["Clock",0,s],3116)},15788,e=>{"use strict";let s=(0,e.i(75254).default)("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);e.s(["Truck",0,s],15788)},31713,e=>{"use strict";var s=e.i(43476),t=e.i(50661),a=e.i(13293),r=e.i(76841),l=e.i(71645),i=e.i(22016);let c=(0,e.i(75254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);var o=e.i(63059);let n=[{image:"https://images.pexels.com/photos/6873174/pexels-photo-6873174.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1600",titleKey:"heroSlide1Title",subKey:"heroSlide1Sub"},{image:"https://images.pexels.com/photos/4870724/pexels-photo-4870724.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1600",titleKey:"heroSlide2Title",subKey:"heroSlide2Sub"},{image:"https://images.pexels.com/photos/14231678/pexels-photo-14231678.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1600",titleKey:"heroSlide3Title",subKey:"heroSlide3Sub"},{image:"https://images.pexels.com/photos/6872176/pexels-photo-6872176.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1600",titleKey:"heroSlide4Title",subKey:"heroSlide4Sub"},{image:"https://images.pexels.com/photos/6873023/pexels-photo-6873023.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1600",titleKey:"heroSlide5Title",subKey:"heroSlide5Sub"}];function d(){let{t:e}=(0,t.useLanguage)(),[a,r]=(0,l.useState)(0),[d,m]=(0,l.useState)(!1),[x,h]=(0,l.useState)("left"),b=(0,l.useCallback)((e,s="left")=>{d||(h(s),m(!0),setTimeout(()=>{r(e),m(!1)},500))},[d]),u=(0,l.useCallback)(()=>{b((a+1)%n.length,"left")},[a,b]);(0,l.useEffect)(()=>{let e=setInterval(u,5e3);return()=>clearInterval(e)},[u]);let p=n[a];return(0,s.jsxs)("div",{className:"relative w-full overflow-hidden",style:{height:"clamp(380px, 60vh, 680px)"},children:[n.map((e,t)=>(0,s.jsx)("div",{className:"absolute inset-0 transition-opacity duration-700",style:{opacity:+(t===a),backgroundImage:`url(${e.image})`,backgroundSize:"cover",backgroundPosition:"center"}},t)),(0,s.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%)"}}),(0,s.jsx)("div",{className:"absolute left-0 top-0 bottom-0 w-1",style:{background:"var(--bocar-red)"}}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-8 w-full",children:(0,s.jsxs)("div",{className:"max-w-2xl",style:{animation:"pageFadeIn 0.6s ease forwards"},children:[(0,s.jsxs)("div",{className:"inline-flex items-center gap-2 mb-4 px-3 py-1 text-xs font-bold tracking-widest uppercase",style:{background:"var(--bocar-red)",color:"white"},children:[(0,s.jsx)("span",{children:"BOCAR"}),(0,s.jsx)("span",{className:"opacity-60",children:"•"}),(0,s.jsx)("span",{children:"CANADA"})]}),(0,s.jsx)("h1",{className:"text-white mb-3 leading-none",style:{fontFamily:"Bebas Neue, sans-serif",fontSize:"clamp(2.5rem, 6vw, 5rem)",letterSpacing:"0.04em",textShadow:"0 2px 20px rgba(0,0,0,0.5)"},children:e("home",p.titleKey)}),(0,s.jsx)("p",{className:"text-gray-200 mb-8 leading-relaxed max-w-lg",style:{fontSize:"clamp(0.85rem, 1.5vw, 1rem)",textShadow:"0 1px 8px rgba(0,0,0,0.6)"},children:e("home",p.subKey)}),(0,s.jsxs)("div",{className:"flex gap-3 flex-wrap",children:[(0,s.jsx)(i.default,{href:"/products",className:"btn-bocar-red inline-block text-center",children:e("home","shopNow")}),(0,s.jsx)(i.default,{href:"/brands",className:"btn-bocar-outline inline-block text-center",children:e("home","learnMore")})]})]},a)})}),(0,s.jsx)("button",{onClick:()=>{b(0===a?n.length-1:a-1,"right")},className:"absolute left-4 top-1/2 -translate-y-1/2 w-10 h-10 flex items-center justify-center bg-black/50 hover:bg-black/80 text-white transition-all rounded-sm border border-white/20 hover:border-red-600","aria-label":"Previous slide",children:(0,s.jsx)(c,{size:20})}),(0,s.jsx)("button",{onClick:u,className:"absolute right-4 top-1/2 -translate-y-1/2 w-10 h-10 flex items-center justify-center bg-black/50 hover:bg-black/80 text-white transition-all rounded-sm border border-white/20 hover:border-red-600","aria-label":"Next slide",children:(0,s.jsx)(o.ChevronRight,{size:20})}),(0,s.jsx)("div",{className:"absolute bottom-5 left-1/2 -translate-x-1/2 flex gap-2",children:n.map((e,t)=>(0,s.jsx)("button",{onClick:()=>b(t),className:"transition-all rounded-sm",style:{width:t===a?"24px":"8px",height:"4px",background:t===a?"var(--bocar-red)":"rgba(255,255,255,0.4)"},"aria-label":`Go to slide ${t+1}`},t))}),(0,s.jsxs)("div",{className:"absolute bottom-5 right-8 text-white/50 text-xs font-mono",children:[String(a+1).padStart(2,"0")," / ",String(n.length).padStart(2,"0")]})]})}var m=e.i(46432),x=e.i(30174),h=e.i(46897),b=e.i(3116),u=e.i(15788);e.s(["default",0,function(){let{t:e,lang:l}=(0,t.useLanguage)(),c=m.brands.filter(e=>e.featured),n=x.productCategories.slice(0,8);return(0,s.jsxs)("div",{className:"min-h-screen",style:{background:"var(--bocar-light-gray)"},children:[(0,s.jsx)(a.default,{}),(0,s.jsx)(d,{}),(0,s.jsx)("section",{className:"bg-white py-14",children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"section-title text-4xl mb-2",style:{fontSize:"2.5rem"},children:e("home","welcomeTitle")}),(0,s.jsx)("p",{className:"font-semibold text-sm tracking-wide mb-6 mt-5",style:{color:"var(--bocar-red)"},children:e("home","welcomeSubtitle")}),(0,s.jsxs)("div",{className:"space-y-3 text-gray-600 text-sm leading-relaxed",children:[(0,s.jsx)("p",{children:e("home","welcomeBody1")}),(0,s.jsx)("p",{children:e("home","welcomeBody2")}),(0,s.jsx)("p",{children:e("home","welcomeBody3")}),(0,s.jsx)("p",{children:e("home","welcomeBody4")}),(0,s.jsx)("p",{children:e("home","welcomeBody5")})]}),(0,s.jsxs)("div",{className:"mt-6 flex gap-3",children:[(0,s.jsx)(i.default,{href:"/products",className:"btn-bocar-red inline-block",children:e("home","shopNow")}),(0,s.jsx)(i.default,{href:"/contact",className:"btn-bocar-outline inline-block",children:e("contact","title")})]})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-4",children:[{num:"500+",label:"fr"===l?"Produits":"Products",icon:"📦"},{num:"26+",label:"fr"===l?"Marques":"Brands",icon:"🏷️"},{num:"24+",label:"fr"===l?"Distributeurs":"Distributors",icon:"🗺️"},{num:"30+",label:"fr"===l?"Années d'expérience":"Years Experience",icon:"⭐"}].map(e=>(0,s.jsxs)("div",{className:"p-5 rounded-sm text-center",style:{background:"var(--bocar-light-gray)",border:"1px solid #e8e8e8"},children:[(0,s.jsx)("div",{className:"text-3xl mb-2",children:e.icon}),(0,s.jsx)("div",{className:"text-3xl font-bold mb-1",style:{fontFamily:"Bebas Neue, sans-serif",color:"var(--bocar-red)"},children:e.num}),(0,s.jsx)("div",{className:"text-xs text-gray-500 font-medium uppercase tracking-wide",children:e.label})]},e.num))})]})})}),(0,s.jsx)("section",{style:{background:"var(--bocar-light-gray)"},className:"py-14",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-4",children:[(0,s.jsxs)("div",{className:"flex items-end justify-between mb-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"section-title text-3xl",children:e("products","title")}),(0,s.jsx)("p",{className:"text-gray-500 text-sm mt-3",children:e("products","subtitle")})]}),(0,s.jsxs)(i.default,{href:"/products",className:"hidden sm:flex items-center gap-1 text-sm font-semibold tracking-wide uppercase transition-colors",style:{color:"var(--bocar-red)"},children:["fr"===l?"Voir tout":"View All",(0,s.jsx)(o.ChevronRight,{size:16})]})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4",children:n.map(e=>(0,s.jsxs)(i.default,{href:`/products/${e.slug}`,className:"product-card p-5 group",children:[(0,s.jsx)("div",{className:"w-8 h-1 mb-3 transition-all group-hover:w-12",style:{background:"var(--bocar-red)"}}),(0,s.jsx)("h3",{className:"text-sm font-bold uppercase tracking-wide text-gray-900 group-hover:text-red-600 transition-colors leading-snug",children:"fr"===l?e.name.fr:e.name.en}),e.products&&(0,s.jsxs)("p",{className:"text-xs text-gray-400 mt-2",children:[e.products.length," ","fr"===l?"produits":"products"]}),(0,s.jsx)("div",{className:"mt-3 text-xs font-semibold tracking-wider up
1percase opacity-0 group-hover:opacity-100 transition-opacity",style:{color:"var(--bocar-red)"},children:"fr"===l?"Voir →":"View →"})]},e.id))}),(0,s.jsx)("div",{className:"mt-6 text-center sm:hidden",children:(0,s.jsx)(i.default,{href:"/products",className:"btn-bocar-red inline-block",children:"fr"===l?"Voir toutes les catégories":"View All Categories"})})]})}),(0,s.jsx)("section",{className:"bg-white py-14",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-4",children:[(0,s.jsxs)("div",{className:"flex items-end justify-between mb-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"section-title text-3xl",children:e("home","brandsTitle")}),(0,s.jsx)("p",{className:"text-gray-500 text-sm mt-3",children:e("home","brandsSubtitle")})]}),(0,s.jsxs)(i.default,{href:"/brands",className:"hidden sm:flex items-center gap-1 text-sm font-semibold tracking-wide uppercase transition-colors",style:{color:"var(--bocar-red)"},children:[e("home","viewAllBrands"),(0,s.jsx)(o.ChevronRight,{size:16})]})]}),(0,s.jsx)("div",{className:"grid grid-cols-3 sm:grid-cols-4 lg:grid-cols-6 gap-3",children:c.map(e=>(0,s.jsx)(i.default,{href:`/brands/${e.slug}`,className:"brand-card group",children:(0,s.jsx)("div",{className:"relative w-full h-16 flex items-center justify-center",children:(0,s.jsx)("img",{src:e.logo,alt:e.name,className:"max-h-12 max-w-full object-contain filter grayscale group-hover:grayscale-0 transition-all duration-300",onError:s=>{let t=s.target;t.style.display="none",t.parentElement.innerHTML=`<span style="font-family:'Bebas Neue',sans-serif;font-size:1.1rem;color:#333;letter-spacing:0.05em">${e.name}</span>`}})})},e.id))})]})}),(0,s.jsx)("section",{style:{background:"var(--bocar-graphite)"},className:"py-14",children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,s.jsxs)("div",{className:"p-8 relative overflow-hidden",style:{background:"var(--bocar-mid)",border:"1px solid var(--bocar-border)"},children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 w-1 h-full",style:{background:"var(--bocar-red)"}}),(0,s.jsx)(u.Truck,{size:32,className:"mb-4",style:{color:"var(--bocar-red)"}}),(0,s.jsx)("h3",{className:"text-white text-2xl mb-3",style:{fontFamily:"Bebas Neue, sans-serif",letterSpacing:"0.08em"},children:e("home","shopOnWheelsTitle")}),(0,s.jsx)("p",{className:"text-gray-400 text-sm leading-relaxed mb-5",children:e("home","shopOnWheelsDesc")}),(0,s.jsx)(i.default,{href:"/shop-on-wheels",className:"btn-bocar-red inline-block text-sm",children:e("home","learnMore")})]}),(0,s.jsxs)("div",{className:"p-8 relative overflow-hidden",style:{background:"var(--bocar-mid)",border:"1px solid var(--bocar-border)"},children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 w-1 h-full",style:{background:"var(--bocar-red)"}}),(0,s.jsx)(h.MapPin,{size:32,className:"mb-4",style:{color:"var(--bocar-red)"}}),(0,s.jsx)("h3",{className:"text-white text-2xl mb-3",style:{fontFamily:"Bebas Neue, sans-serif",letterSpacing:"0.08em"},children:e("home","bocarDepotsTitle")}),(0,s.jsx)("p",{className:"text-gray-400 text-sm leading-relaxed mb-2",children:e("home","bocarDepotsDesc")}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-gray-500 text-xs mb-5",children:[(0,s.jsx)(b.Clock,{size:12}),(0,s.jsx)("span",{children:"Mon–Thu: 8AM–4PM | Fri: 8AM–2PM"})]}),(0,s.jsx)(i.default,{href:"/bocar-depots",className:"btn-bocar-red inline-block text-sm",children:e("home","learnMore")})]})]})})}),(0,s.jsx)("section",{style:{background:"var(--bocar-red)"},className:"py-10",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-4 flex flex-col sm:flex-row items-center justify-between gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-white text-3xl",style:{fontFamily:"Bebas Neue, sans-serif",letterSpacing:"0.08em"},children:"fr"===l?"Trouvez un Distributeur Près de Vous":"Find a Distributor Near You"}),(0,s.jsx)("p",{className:"text-red-100 text-sm mt-1",children:"fr"===l?"D'un océan à l'autre partout au Canada":"Coast to co
1ast across Canada"})]}),(0,s.jsx)(i.default,{href:"/distributors",className:"flex-shrink-0 px-8 py-3 bg-white font-bold text-sm tracking-widest uppercase transition-all hover:bg-gray-100",style:{color:"var(--bocar-red)",fontFamily:"Bebas Neue, sans-serif",fontSize:"1rem",letterSpacing:"0.1em"},children:"fr"===l?"Voir les Distributeurs":"View Distributors"})]})}),(0,s.jsx)(r.default,{})]})}],31713)}]);

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.