1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{369:(e,t,a)=>{"use strict";a.d(t,{default:()=>u});var s=a(5238),r=a(3190),n=a(5674),l=a.n(n),i=a(446),o=a(7423),c=a(9403);let d=[{heading:"Products",links:[{label:"EV Charging Equipment",href:"/products?category=ev-charging"},{label:"Solar Energy Systems",href:"/products?category=solar-street"},{label:"Energy Storage",href:"/products?category=smart-home"},{label:"Power Supplies",href:"/products?category=cabinet"}]},{heading:"Sectors",links:[{label:"Residential",href:"/sectors/residential"},{label:"Commercial",href:"/sectors/commercial"},{label:"Industrial",href:"/sectors/industrial"},{label:"Rural Projects",href:"/sectors/rural-projects"}]},{heading:"Services",links:[{label:"Charging Operation (App)",href:"/services/charging-operation"},{label:"EV Charger Installation",href:"/services/ev-charging"},{label:"Solar Energy Installation",href:"/services/solar-installation"}]},{heading:"Company",links:[{label:"About Us",href:"/about"},{label:"Market Insights",href:"/insights"},{label:"Case Studies",href:"/case-studies"},{label:"Pricing",href:"/pricing"},{label:"Driver App",href:"/app"},{label:"Operate a Station",href:"/services/charging-operation"},{label:"Contact",href:"/contact"}]},{heading:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"}]}],u=()=>{let[e,t]=(0,r.useState)({});return(0,s.jsx)("footer",{className:"bg-gray-900 text-white py-8 md:py-16",children:(0,s.jsxs)(c.A,{children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[20%_repeat(5,minmax(0,1fr))_1.2fr] gap-2 md:gap-3 lg:gap-4 mb-8 md:mb-12",children:[(0,s.jsxs)("div",{className:"max-w-xs",children:[(0,s.jsx)("div",{className:"flex items-center mb-4 md:mb-6",children:(0,s.jsx)(i.default,{src:"/volthub-logo-white-text.png",alt:"VoltHub logo",width:160,height:40,className:"h-6 md:h-7 w-auto object-contain"})}),(0,s.jsx)("p",{className:"text-sm md:text-base text-gray-400 mb-4 md:mb-3 leading-relaxed",children:"Leading the future of clean energy with innovative solutions for a sustainable tomorrow."}),(0,s.jsx)("div",{className:"flex space-x-3 md:space-x-4",children:[{Icon:o.PWi,label:"Visit VoltHub on LinkedIn",href:"#"},{Icon:o.ijI,label:"Visit VoltHub on Twitter",href:"#"},{Icon:o.du4,label:"Visit VoltHub on Facebook",href:"#"},{Icon:o.g0x,label:"Visit VoltHub on Instagram",href:"https://www.instagram.com/volthubph/"}].map(e=>{let{Icon:t,label:a,href:r}=e;return(0,s.jsx)("a",{href:r,target:"#"===r?void 0:"_blank",rel:"#"===r?void 0:"noopener noreferrer",className:"hover:text-secondary transition-colors p-2 -m-2","aria-label":a,children:(0,s.jsx)(t,{className:"text-lg md:text-xl"})},t.name)})})]}),d.map(a=>{var r;let n=null!=(r=e[a.heading])&&r;return(0,s.jsxs)("div",{className:"border-b border-gray-800 pb-4 last:border-b-0 lg:border-b-0 lg:pb-0",children:[(0,s.jsxs)("button",{onClick:()=>(e=>{t(t=>({...t,[e]:!t[e]}))})(a.heading),className:"w-full flex items-center justify-between mb-3 lg:w-auto lg:justify-start lg:mb-4 lg:pointer-events-none","aria-expanded":n,"aria-label":"Toggle ".concat(a.heading," menu"),children:[(0,s.jsx)("h4",{className:"text-base md:text-lg font-semibold text-left",children:a.heading}),(0,s.jsx)(o.eQr,{className:"lg:hidden ml-2 text-gray-400 transition-transform duration-200 ".concat(n?"rotate-180":"")})]}),(0,s.jsx)("ul",{className:"space-y-2 md:space-y-3 text-gray-400 overflow-hidden transition-all duration-300 ".concat(n?"max-h-96 opacity-100":"max-h-0 opacity-0"," lg:max-h-none lg:opacity-100"),children:a.links.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(l(),{href:e.href,className:"text-sm md:text-base hover:text-white transition-colors inline-block",children:e.label})},e.label))})]},a.heading)}),(0,s.jsxs)("div",{className:"border-b border-gray-800 pb-4 last:border-b-0 lg:border-b-0 lg:pb-0",children:[(0,s.jsx)("h4",{className:"text-base md:text-lg font-semibold text-left mb-3 lg:mb-4",children:"Contact Us :"}),(0,s.jsxs)("div",{className:"space-y-2 md:space-y-3 text-gray-400",children:[(0,s.jsxs)("p",{className:"text-sm md:text-base leading-relaxed select-text",children:[(0,s.jsx)("span",{className:"font-bold text-white",children:"Phone:"})," ",(0,s.jsx)("a",{href:"tel:+639682197035",className:"hover:underline",children:"+63 968 219 7035"})]}),(0,s.jsxs)("p",{className:"text-sm md:text-base leading-relaxed select-text",children:[(0,s.jsx)("span",{className:"font-bold text-white",children:"Customer service:"})," ",(0,s.jsx)("a",{href:"mailto:[email protected]",className:"hover:underline",children:"[email protected]"})]}),(0,s.jsxs)("p",{className:"text-sm md:text-base leading-relaxed select-text",children:[(0,s.jsx)("span",{className:"font-bold text-white",children:"Inquiries:"})," ",(0,s.jsx)("a",{href:"mailto:[email protected]",className:"hover:underline",children:"[email protected]"})]}),(0,s.jsxs)("p",{className:"text-sm md:text-base leading-relaxed select-text",children:[(0,s.jsx)("span",{className:"font-bold text-white",children:"Address:"})," Unit 2503, High Street South Corporate Plaza Tower 2, 11th Street corner 26th Avenue, Fort Bonifacio, Bonifacio Global City, Taguig City 1635, Metro Manila, Philippines"]}),(0,s.jsx)("p",{className:"text-xs md:text-sm leading-relaxed select-text text-gray-500 pt-1",children:"VOLTHUB ELECTRONIC POWER GENERATION SERVICES CORP. â a Philippine domestic corporation (VoltHub.PH)"})]})]})]}),(0,s.jsx)("div",{className:"border-t border-gray-800 pt-6 md:pt-8",children:(0,s.jsxs)("div",{className:"flex flex-col gap-4 text-gray-400 text-xs md:text-sm",children:[(0,s.jsxs)("p",{className:"text-center md:text-left",children:["\xa9 ",new Date().getFullYear()," VOLTHUB ELECTRONIC POWER GENERATION SERVICES CORP.",(0,s.jsx)("span",{className:" md:inline md:ml-1",children:" All rights reserved."})]}),(0,s.jsx)("p",{className:"text-center md:text-left text-gray-500 text-[11px] md:text-xs",children:"SEC Reg. No. 2025010184535-18 \xb7 BIR TIN 667-401-960-000 \xb7 Registered in Taguig City, Philippines"}),(0,s.jsxs)("div",{className:"flex flex-wrap justify-center md:justify-end gap-5 md:gap-8 text-sm md:text-base font-semibold",children:[(0,s.jsx)(l(),{href:"/privacy",className:"text-gray-200 hover:text-white underline underline-offset-4 transition-colors py-2 inline-block",children:"Privacy Policy"}),(0,s.jsx)(l(),{href:"/terms",className:"text-gray-200 hover:text-white underline underline-offset-4 transition-colors py-2 inline-block",children:"Terms of Service"})]})]})})]})})}},957:()=>{},2667:(e,t,a)=>{"use strict";a.d(t,{cn:()=>n});var s=a(9057),r=a(6753);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.QP)((0,s.$)(t))}},5157:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var s=a(5238),r=a(3190),n=a(6895),l=a(7423),i=a(2667);function o(e){}let c=()=>{let e=(0,n.usePathname)(),[t,a]=(0,r.useState)(!1),[c,d]=(0,r.useState)(""),[u,h]=(0,r.useState)([]),[m,g]=(0,r.useState)(!1),[p,x]=(0,r.useState)(null),[f,b]=(0,r.useState)(null),[v,w]=(0,r.useState)(""),y=(0,r.useRef)(null);(0,r.useEffect)(()=>
1{if(!e)return;b(e);let t=e.match(/^\/products\/(.+)$/);if(t){let e=t[1];o(e)?x(e):x(null)}else x(null)},[e]),(0,r.useEffect)(()=>{t&&y.current&&y.current.scrollIntoView({behavior:"smooth"})},[u,t]),(0,r.useEffect)(()=>{if(t&&0===u.length){let e="Hello! I'm VoltHub's AI customer support assistant. ";if(p){let t=o(p);t?e+="I see you're viewing **".concat(t.name,"**. I can help you with questions about this product, including specifications, features, installation, and more. What would you like to know?"):e+="I can help you with information about our products, services, and company. What would you like to know?"}else e+="I can help you with information about our products, services, and company. What would you like to know?";h([{id:1,text:e,sender:"support"}])}t||h([])},[t,p,u.length]);let j=async()=>{if(c.trim()){let e=c.trim();w(e),h(t=>[...t,{id:t.length+1,text:e,sender:"user"}]),d(""),g(!0);try{let t=u.slice(-5).map(e=>({sender:e.sender,text:e.text})),a=await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:e,conversationHistory:t,productId:p,currentPagePath:f})});if(!a.ok){let e=await a.json();throw Error(e.message||"Failed to get response")}let s=await a.json();g(!1),h(e=>[...e,{id:e.length+1,text:s.response,sender:"support"}])}catch(t){g(!1);let e=t instanceof Error?t.message:"I'm having trouble connecting to the AI service right now.";h(t=>[...t,{id:t.length+1,text:"".concat(e,"\n\nWould you like to contact our support team directly?"),sender:"support"}]),console.error("Chat API error:",t)}}},N=()=>{if(v){let e=function(e,t){let a=new URLSearchParams;if(a.set("subject","Chat Inquiry"),a.set("details",e),t){let e=void 0;e&&(a.set("product",e.name),a.set("interest","Product Inquiry"))}else a.set("interest","General Inquiry");return"/contact?".concat(a.toString())}(v,p);window.location.href=e}else window.location.href="/contact";a(!1)};return(0,s.jsxs)(s.Fragment,{children:[!t&&(0,s.jsxs)("button",{onClick:()=>a(!0),style:{position:"fixed",bottom:"112px",right:"24px",zIndex:99999,width:"64px",height:"64px",borderRadius:"12px",backgroundColor:"#16a34a",color:"white",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"4px",boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",border:"2px solid white",cursor:"pointer",visibility:"visible",opacity:1,pointerEvents:"auto"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="#15803d"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="#16a34a"},"aria-label":"Open customer service chat",children:[(0,s.jsx)(l.wYY,{style:{fontSize:"24px"}}),(0,s.jsx)("span",{style:{fontSize:"10px",fontWeight:"600"},children:"Service"}),p&&(0,s.jsx)("div",{style:{position:"absolute",top:"-4px",right:"-4px",width:"24px",height:"24px",backgroundColor:"#ef4444",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1)",border:"2px solid white",zIndex:10},children:(0,s.jsx)("span",{style:{color:"white",fontSize:"12px",fontWeight:"bold"},children:"!"})})]}),t&&(0,s.jsxs)("div",{className:"fixed inset-0 md:inset-auto md:bottom-24 md:right-6 z-100 w-full h-full md:w-96 md:h-[600px] bg-white md:rounded-2xl shadow-2xl flex flex-col overflow-hidden animate-in slide-in-from-bottom-4 fade-in-0 duration-300",children:[(0,s.jsxs)("div",{className:"bg-green-500 text-white px-4 py-3 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 md:gap-3",children:[(0,s.jsx)("div",{className:"w-8 h-8 md:w-10 md:h-10 rounded-full bg-white/20 flex items-center justify-center border-2 border-white/30",children:(0,s.jsxs)("svg",{className:"w-6 h-6 md:w-8 md:h-8",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{cx:"12",cy:"8",r:"4",fill:"currentColor",opacity:"0.9"}),(0,s.jsx)("path",{d:"M6 21c0-3.314 2.686-6 6-6s6 2.686 6 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",fill:"none",opacity:"0.9"}),(0,s.jsx)("circle",{cx:"10",cy:"7",r:"1",fill:"white"}),(0,s.jsx)("circle",{cx:"14",cy:"7",r:"1",fill:"white"}),(0,s.jsx)("path",{d:"M10 10c0.5 0.5 1.5 0.5 2 0",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round"})]})}),(0,s.jsx)("span",{className:"font-semibold text-xs md:text-sm",children:"AI Customer Support"})]}),(0,s.jsx)("div",{className:"flex items-center gap-1 md:gap-2",children:(0,s.jsx)("button",{onClick:()=>a(!1),className:"p-1 md:p-1.5 hover:bg-white/20 rounded transition-colors","aria-label":"Close chat",children:(0,s.jsx)(l.Qks,{className:"text-base md:text-lg"})})})]}),(0,s.jsx)("div",{className:"flex-1 overflow-y-auto p-4 bg-gray-50",children:(0,s.jsxs)("div",{className:"space-y-4",children:[u.map(e=>{let t="support"===e.sender&&(e.text.includes("__CONTACT_REQUIRED__")||e.text.includes("I couldn't find")||e.text.includes("I apologize")||e.text.includes("couldn't find a specific answer")),a=t?e.text.replace("__CONTACT_REQUIRED__:","").trim():e.text;return(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("div",{className:(0,i.cn)("flex","user"===e.sender?"justify-end":"justify-start"),children:(0,s.jsx)("div",{className:(0,i.cn)("max-w-[80%] rounded-lg px-4 py-2 text-sm whitespace-pre-wrap","user"===e.sender?"bg-green-500 text-white":"bg-white text-gray-800 shadow-sm"),children:a.split("\n").map((t,a,r)=>{let n=t.split(/(\*\*[^*]+\*\*)/g);return(0,s.jsxs)("div",{children:[n.map((t,a)=>t.startsWith("**")&&t.endsWith("**")?(0,s.jsx)("strong",{className:"user"===e.sender?"text-white":"text-gray-900",children:t.replace(/\*\*/g,"")},a):(0,s.jsx)("span",{children:t},a)),a<r.length-1&&(0,s.jsx)("br",{})]},a)})})}),t&&(0,s.jsx)("div",{className:"flex justify-start",children:(0,s.jsxs)("button",{onClick:N,className:"flex items-center gap-2 px-4 py-2 bg-green-600 hover:bg-green-700 text-white rounded-lg text-sm font-semibold transition-colors shadow-md",children:[(0,s.jsx)(l.rYC,{className:"text-base"}),(0,s.jsx)("span",{children:"Contact Our Team"})]})})]},e.id)}),m&&(0,s.jsx)("div",{className:"flex justify-start",children:(0,s.jsx)("div",{className:"bg-white text-gray-800 shadow-sm rounded-lg px-4 py-2 text-sm",children:(0,s.jsxs)("div",{className:"flex space-x-1",children:[(0,s.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0ms"}}),(0,s.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"150ms"}}),(0,s.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"300ms"}})]})})}),(0,s.jsx)("div",{ref:y})]})}),(0,s.jsx)("div",{className:"border-t border-gray-200 p-2 md:p-3 bg-white",children:(0,s.jsxs)("div",{className:"flex items-center gap-1.5 md:gap-2",children:[(0,s.jsx)("div",{className:"flex items-center gap-1 md:gap-2",children:(0,s.jsx)("button",{className:"p-1.5 md:p-2 text-gray-500 hover:text-gray-700 hover:bg-gray-100 rounded transition-colors","aria-label":"Attach image",children:(0,s.jsx)(l.fsL,{className:"text-base md:text-lg"})})}),(0,s.jsx)("input",{type:"text",value:c,onChange:e=>d(e.target.value),onKeyPress:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),j())},placeholder:"Type your message...",className:"flex-1 px-2 md:px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-transparent text-sm text-black placeholder:text-gray-400"}),(0,s.jsx)("button",{onClick:j,disabled:!c.trim(),className:(0,i.cn)("px-3 md:px-4 py-2 bg-green-500 text-white rounded-lg hover:bg-green-600 transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center",c.trim()&&"hover:scale-105"),"aria-label":"Send message",children:(0,s.jsx)(l.dYZ,{className:"text-base md:text-lg"})})]})})]})]})}},6796:(e,t,a)=>{"use strict";a.d(t,{default:()=>P});var s=a(5238),r=a(5674),n=a.n(r),l=a(446),i=a(3190),o=a(6895),c=a(5555),d=a(1369),u=a(1020),h=a(2667);function m(e){let{className:t,children:a,viewport:r=!0,...n}=e;return(0,s.jsxs)(c.bL,{"data-slot":"navigation-menu","data-viewport":r,className:(0,h.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center font-sans",t),...n,children:[a,r&&(0,s.jsx)(v,{})]})}function g(e){let{className:t,...a}=e;return(0,s.jsx)(c.B8,{"data-slot":"navigation-menu-list",className:(0,h.cn)("flex flex-1 list-none items-center justify-center gap-1",t),...a})}function p(e){let{className:t,...a}=e;return(0,s.jsx)(c.q7,{"data-slot":"navigation-menu-item",className:(0,h.cn)("relative",t),...a})}let x=(0,d.F)("group text-[#fff] inline-flex h-9 w-max items-center justify-center rounded-md px-4 py-2 text-md font-medium hover:text-secondary disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-secondary focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focu
1s-visible:ring-[3px] focus-visible:outline-1");function f(e){let{className:t,children:a,showChevron:r=!0,active:n,...l}=e,{asChild:o,...d}=l;if(o){if(r&&i.isValidElement(a)){let e=i.Children.only(a),r=e.props.children;return(0,s.jsx)(c.l9,{"data-slot":"navigation-menu-trigger",className:(0,h.cn)(x(),"group/trigger",n&&"text-secondary",t),asChild:!0,...d,children:i.cloneElement(e,{...e.props,children:(0,s.jsxs)(s.Fragment,{children:[r,(0,s.jsx)(u.A,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"}),(0,s.jsx)("span",{className:(0,h.cn)("absolute -bottom-1 left-0 h-0.5 bg-secondary transition-all duration-300",n?"w-full":"w-0 group-hover/trigger:w-full")})]})})})}if(i.isValidElement(a)){let e=i.Children.only(a),r=e.props.children;return(0,s.jsx)(c.l9,{"data-slot":"navigation-menu-trigger",className:(0,h.cn)(x(),"group/trigger",n&&"text-secondary",t),asChild:!0,...d,children:i.cloneElement(e,{...e.props,children:(0,s.jsxs)(s.Fragment,{children:[r,(0,s.jsx)("span",{className:(0,h.cn)("absolute -bottom-1 left-0 h-0.5 bg-secondary transition-all duration-300",n?"w-full":"w-0 group-hover/trigger:w-full")})]})})})}return(0,s.jsx)(c.l9,{"data-slot":"navigation-menu-trigger",className:(0,h.cn)(x(),"group/trigger",n&&"text-secondary",t),asChild:!0,...d,children:a})}return(0,s.jsxs)(c.l9,{"data-slot":"navigation-menu-trigger",className:(0,h.cn)(x(),"group/trigger",n&&"text-secondary",t),...l,children:[a," ",r&&(0,s.jsx)(u.A,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}function b(e){let{className:t,...a}=e;return(0,s.jsx)(c.UC,{"data-slot":"navigation-menu-content",className:(0,h.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-12 data-[motion=from-start]:slide-in-from-right-12 data-[motion=to-end]:slide-out-to-right-12 data-[motion=to-start]:slide-out-to-right-12 top-0 right-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-background group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:left-1/2 group-data-[viewport=false]/navigation-menu:-translate-x-1/2 group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-visible group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",t),...a})}function v(e){let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,h.cn)("absolute top-full left-1/2 -translate-x-1/2 isolate z-50 flex justify-center"),children:(0,s.jsx)(c.LM,{"data-slot":"navigation-menu-viewport",className:(0,h.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",t),...a})})}function w(e){let{className:t,...a}=e;return(0,s.jsx)(c.N_,{"data-slot":"navigation-menu-link",className:(0,h.cn)("text-secondary hover:bg-gray-200/50 focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-md transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4 overflow-hidden",t),...a})}let y={home:{title:"Home",href:"/",description:"Hero overview and highlights."},products:[{title:"All Products",href:"/products",description:"Browse all available product categories.",image:"/HomeBanner/banner3.jpg"},{title:"Solar Systems",href:"/products?category=solar-street",description:"Discover our solar street and energy solutions.",image:"/aboutimages/solarstreetlight.jpg"},{title:"EV Chargers",href:"/products?category=ev-charging",description:"View EV charging systems and related products.",image:"/Product/evpb.jpg"},{title:"Energy Storage",href:"/products?category=smart-home",description:"Explore smart home and storage solutions.",image:"/HomeBanner/homebatt.png"},{title:"Power Supplies",href:"/products?category=cabinet",description:"Cabinet-type modular power supply systems.",image:"/HomeBanner/commercial.png"}],services:[{title:"Overview",href:"/services",description:"General overview of installation and maintenance services.",image:"/aboutimages/solarpanels.jpg"},{title:"EV Charging Solutions",href:"/services/ev-charging",description:"Professional EV charging installation services.",image:"/Product/evpb.jpg"},{title:"Solar Energy Installation",href:"/services/solar-installation",description:"Turnkey solar installation services.",image:"/aboutimages/solarpanels2.
1jpg"}],"Solar Solutions":{title:"Solar Solutions",href:"/solutions",description:"Solar energy solutions and smart energy systems."},"EV Charging":{title:"EV Charging",href:"/app",description:"Become an EV charging location partner."},Packages:{title:"Packages",href:"/packages",description:"Explore our featured packages and bundled offerings."},about:{title:"About Us",href:"/about",description:"Learn about our company history and market insights."},contact:{title:"Contact",href:"/contact",description:"Quote requests and support channels."}};function j(){let e=(0,o.usePathname)(),t=(t,a)=>{if("/"===t)return"/"===e;let s=t.split("?")[0],r=e.split("?")[0],n=y[a];return Array.isArray(n)?"sectors"===a&&"/sectors"===r||n.some(e=>{let t=e.href.split("?")[0];return r===t||r.startsWith(t+"/")}):r===s||r.startsWith(s+"/")};return(0,s.jsx)(m,{viewport:!1,className:"hidden lg:block",children:(0,s.jsx)(g,{className:"flex-wrap justify-center",children:Object.entries(y).map(e=>{let[a,r]=e;if(Array.isArray(r)){var l;let e=t("sectors"===a?"/sectors":(null==(l=r[0])?void 0:l.href)||"",a);return(0,s.jsx)(N,{menuKey:a,items:r,isActive:e},a)}{let e=t((null==r?void 0:r.href)||"",a);return(0,s.jsx)(p,{children:(0,s.jsx)(f,{asChild:!0,showChevron:!1,className:"capitalize",active:e,children:(0,s.jsx)(n(),{href:null==r?void 0:r.href,children:a})})},a)}})})})}function N(e){var t;let{menuKey:a,items:r,isActive:l}=e,o="services"===a?r.filter(e=>"Overview"!==e.title):r,[c,d]=(0,i.useState)(0),u=o[c]||o[0]||r[c]||r[0],h=o.length,m=h<4,g="sectors"===a?"/sectors":null==(t=r[0])?void 0:t.href;return(0,s.jsxs)(p,{className:"relative flex items-center",children:[(0,s.jsx)(f,{asChild:!0,className:"capitalize",active:l,children:(0,s.jsx)(n(),{href:g,children:a})}),(0,s.jsx)(b,{style:{minWidth:m?"467px":"700px"},children:(0,s.jsxs)("ul",{className:"grid gap-2 w-full ".concat(m?"md:w-[467px]":"md:w-[700px]"," ").concat(m?"md:grid-cols-2":"md:grid-cols-3"),children:[(0,s.jsx)("li",{className:m?1===h?"row-span-1":2===h?"row-span-2":"row-span-3":"row-span-3",children:(0,s.jsx)(w,{asChild:!0,children:(0,s.jsxs)("a",{className:"relative flex h-full w-full flex-col justify-end rounded-md bg-cover bg-center bg-no-repeat p-2 no-underline outline-hidden transition-all duration-200 select-none focus:shadow-md min-h-[240px]",style:{backgroundImage:"url(".concat((null==u?void 0:u.image)||"",")")},href:(null==u?void 0:u.href)||"/",children:[(0,s.jsx)("div",{className:"absolute inset-0 rounded-md bg-linear-to-b from-black/20 to-black/60"}),(0,s.jsx)("div",{className:"relative text-lg font-medium text-white",children:(null==u?void 0:u.title)||"Volthub"}),(0,s.jsx)("p",{className:"relative text-white/90 text-sm leading-tight",children:(null==u?void 0:u.description)||"Powering the future of green mobility."})]})})}),o.map((e,t)=>(0,s.jsx)(k,{title:e.title,href:e.href,onMouseEnter:()=>d(t),onMouseLeave:()=>d(0),children:e.description},e.title))]})})]})}function k(e){let{title:t,children:a,href:r,onMouseEnter:l,onMouseLeave:i,...o}=e;return(0,s.jsx)("li",{...o,onMouseEnter:l,onMouseLeave:i,className:"relative overflow-hidden rounded-sm min-w-0 max-w-full",children:(0,s.jsx)(w,{asChild:!0,className:"block overflow-hidden rounded-sm h-full w-[93%] ",children:(0,s.jsxs)(n(),{href:r,className:"group/link relative flex flex-col gap-1 rounded-sm h-full w-[93%] mx-1 hover:bg-[#959aa2]",children:[(0,s.jsx)("div",{className:"text-sm font-bold leading-none text-black group-hover/link:text-gray-800 transition-colors duration-200",children:t}),(0,s.jsx)("p",{className:"text-muted-foreground text-sm leading-snug line-clamp-2",children:a})]})})})}var C=a(7423),E=a(9403);let S=[{label:"Home",href:"/",description:"Hero overview and highlights"},{label:"Products",href:"/products",description:"Product families, specs, and trends",dropdown:[{label:"All Products",href:"/products"},{label:"Solar Systems",href:"/products?category=solar-street"},{label:"EV Chargers",href:"/products?category=ev-charging"},{label:"Energy Storage",href:"/products?category=smart-home"},{label:"Power Supplies",href:"/products?category=cabinet"}]},{label:"Services",href:"/services",description:"Professional installation and maintenance services",dropdown:[{label:"Overview",href:"/services"},{label:"Charging Operation (App)",href:"/services/charging-operation"},{label:"EV Charger Installation",href:"/services/ev-charging"},{label:"Solar Energy Installation",href:"/services/solar-installation"}]},{label:"Packages",href:"/packages",description:"Featured packages and bundled offerings"},{label:"Solar",href:"/solutions",description:"Solar energy solutions and smart energy systems"},{label:"EV App",href:"/app",description:"Find chargers, start charging and pay in the VoltHub app"},{label:"About",href:"/about",description:"Company history and market insights"}],P=()=>{let e=(0,o.usePathname)(),[t,a]=(0,i.useState)(!1),[r,c]=(0,i.useState)(!1),[d,u]=(0,i.useState)(null),[m,g]=(0,i.useState)(null),p=(0,i.useRef)({});return(0,i.useEffect)(()=>{let e=()=>{c(window.scrollY>60)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>{a(!1),u(null),g(null)},[e]),(0,i.useEffect)(()=>{let e=()=>{let e={};Object.keys(p.current).forEach(t=>{let a=p.current[t];if(a){let s=a.getBoundingClientRect(),r=document.querySelector("header"),n=(null==r?void 0:r.getBoundingClientRect().bottom)||0;e[t]={top:n+8,left:s.left}}})};if(d)return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},[d]),(0,i.useEffect)(()=>{let e=e=>{let t=e.target;t.closest(".dropdown-container")||t.closest(".dropdown-menu")||u(null)};if(d)return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[d]),(0,s.jsxs)("header",{className:(0,h.cn)("fixed top-0 left-0 right-0 z-50 transition-all duration-300 floating-nav",r?"shadow-lg shadow-primary/20":"border-b border-white/10"),children:[(0,s.jsxs)(E.A,{className:"py-4 flex items-center justify-between",children:[(0,s.jsx)(n(),{href:"/",className:"flex items-center group",children:(0,s.jsx)(l.default,{src:"/volthub-logo-white-text.png",alt:"
1VoltHub logo",width:180,height:48,className:"h-7 w-auto object-contain",priority:!0})}),(0,s.jsx)(j,{}),(0,s.jsxs)("div",{className:"hidden lg:flex items-center space-x-6 ml-8",children:[(0,s.jsx)("a",{href:"mailto:[email protected]",className:"text-sm font-orbitron text-emerald-200 tracking-widest hidden 2xl:block hover:text-secondary transition-colors",children:"[email protected]"}),(0,s.jsx)(n(),{href:"/contact",className:"bg-linear-to-r from-secondary to-yellow-300 text-black px-6 py-2 rounded-xl font-semibold hover:scale-105 transition-all duration-300 glow-effect whitespace-nowrap",children:"Get Quote"})]}),(0,s.jsx)("button",{className:"text-white text-3xl lg:hidden",onClick:()=>a(e=>!e),"aria-label":"Toggle navigation",children:t?(0,s.jsx)(C.Qks,{}):(0,s.jsx)(C.tOc,{})})]}),(0,s.jsx)("div",{className:(0,h.cn)("mobile-menu lg:hidden fixed top-0 left-0 w-full bg-white z-40 rounded-b-2xl shadow-xl",t?"active":""),children:(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between p-6 border-b border-gray-200",children:[(0,s.jsx)(n(),{href:"/",className:"flex items-center",children:(0,s.jsx)(l.default,{src:"/volthub-logo-black-text.png",alt:"VoltHub logo",width:150,height:40,className:"h-6 w-auto object-contain",priority:!0})}),(0,s.jsx)("button",{className:"text-gray-800 text-2xl",onClick:()=>a(!1),"aria-label":"Close navigation",children:(0,s.jsx)(C.Qks,{})})]}),(0,s.jsxs)("div",{className:"overflow-y-auto p-6 space-y-6",children:[S.map(e=>{let t=m===e.label,r=!!e.dropdown;return(0,s.jsxs)("div",{children:[r?(0,s.jsxs)("button",{onClick:()=>g(t?null:e.label),className:"flex items-center justify-between w-full text-gray-900 text-lg font-semibold mb-3 text-left",children:[(0,s.jsx)("span",{children:e.label}),(0,s.jsx)(C.eQr,{className:(0,h.cn)("text-xl transition-transform duration-300",t&&"rotate-180")})]}):(0,s.jsx)(n(),{onClick:()=>a(!1),href:e.href,className:"block text-gray-900 text-lg font-semibold mb-3",children:e.label}),r&&(0,s.jsx)("div",{className:(0,h.cn)("pl-4 space-y-2 overflow-hidden transition-all duration-300",t?"max-h-96 opacity-100 mb-3":"max-h-0 opacity-0"),children:("Services"===e.label?e.dropdown.filter(e=>"Overview"!==e.label):e.dropdown).map(e=>(0,s.jsx)(n(),{onClick:()=>a(!1),href:e.href,className:"block text-gray-600 hover:text-secondary transition-colors",children:e.label},(e=>"string"==typeof e?e:"".concat(e.pathname,"-").concat(e.hash?"#".concat(e.hash):"root"))(e.href)))})]},e.label)}),(0,s.jsx)("div",{className:"p-6 border-t border-gray-200",children:(0,s.jsx)(n(),{href:"/contact",className:"block w-full text-center bg-linear-to-r from-secondary to-yellow-300 text-black px-6 py-3 rounded-xl font-semibold",children:"Contact Us"})})]})]})})]})}},8363:(e,t,a)=>{Promise.resolve().then(a.bind(a,7778)),Promise.resolve().then(a.t.bind(a,6971,23)),Promise.resolve().then(a.t.bind(a,4617,23)),Promise.resolve().then(a.t.bind(a,3218,23)),Promise.resolve().then(a.t.bind(a,952,23)),Promise.resolve().then(a.t.bind(a,957,23)),Promise.resolve().then(a.bind(a,5157)),Promise.resolve().then(a.bind(a,369)),Promise.resolve().then(a.bind(a,6796))},9403:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(5238),r=a(2667);function n(e){let{children:t,className:a,outerClassName:n}=e;return(0,s.jsx)("div",{className:(0,r.cn)("w-full",n),children:(0,s.jsx)("div",{className:(0,r.cn)("max-w-[1600px] mx-auto px-4",a),children:t})})}}},e=>{e.O(0,[8211,7958,5719,5674,4391,7425,5515,4240,6739,9864,7358],()=>e(e.s=8363)),_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.