1import{u as h,s as o,n as u,a as n,b,j as e,c as d,S as g,C as f,M as j,d as v,L as N,D as y,e as w}from"./index-BwUIpd49.js";import{T as k}from"./tv-8SBpX6Pr.js";import{M as P}from"./monitor-BuKSoiJ5.js";import{S}from"./smartphone-Ddw8EzpH.js";import{A as T}from"./arrow-right-DcJjZBSd.js";import{F as C}from"./file-text-CgZtjA6z.js";import{B as z}from"./building-2-CV9NFerT.js";import{M as A}from"./map-pin-B8dKJJs7.js";import{P as M}from"./phone-RgRPzkEn.js";import{M as V}from"./mail-BN76eZZB.js";import{C as _}from"./clock-CVYazxvV.js";import{C as q}from"./circle-question-mark-BvvnTfu-.js";import{C as I}from"./circle-play-DHk1DwKC.js";function U(){const{data:i}=h({queryKey:["legal-settings-public"],queryFn:async()=>{const[{data:a},{data:t}]=await Promise.all([o.from("site_settings").select("value").eq("key","legal_settings").maybeSingle(),o.from("site_settings").select("value").eq("key","contacts").maybeSingle()]);return{legal:n(a?.value),contacts:u(t?.value)}},staleTime:6e5}),s=i?.legal||n(null),l=`https://wa.me/${s.whatsapp.replace(/\D/g,"")}`,r=b(i?.contacts),c=[{icon:k,title:"Smart TVs",desc:"Guias para Samsung, LG, Android TV e Sony.",topics:["Instalar Smart IPTV","Configuração IBO Player","Utilizar o TiviMate","App Smarters Pro"]},{icon:P,title:"TV Boxes & PC",desc:"Instalação em Mag, Firestick e Windows/Mac.",topics:["Setup Firestick","Configuração Mag 254/256","VLC Media Player","Web Player Browser"]},{icon:S,title:"Dispositivos Móveis",desc:"Configuração para iOS (iPhone) e Android.",topics:["GSE Smart IPTV iOS","IPTV Stream Player","Android APK Direto","Cast para Chromecast"]}],m=[{q:"O serviço trava ou tem paragens?",a:"O nosso serviço utiliza servidores de alta performance com tecnologia anti-freeze. No entanto, uma ligação estável à internet (mÃnimo 20Mbps) é recomendada para 4K."},{q:"Como renovo a minha subscrição?",a:"Pode renovar diretamente através da sua área de cliente ou contactando o nosso suporte via WhatsApp com o seu nome de utilizador."},{q:"Quais são as apps recomendadas?",a:"Para Smart TV recomendamos o IBO Player ou IPTV Smarters Pro. Para Android, o TiviMate é a melhor opção do mercado."}];return e.jsx("div",{className:"pt-32 pb-20 px-4",children:e.jsxs("div",{className:"container mx-auto max-w-6xl",children:[e.jsxs(d.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center mb-16",children:[e.jsxs("h1",{className:"text-4xl md:text-6xl font-bold mb-6",children:["Suporte IPTV Portugal: como podemos ",e.jsx("span",{className:"text-gradient-blue",children:"ajudar?"})]}),e.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto mb-10",children:"Encontre tutoriais IPTV Portugal passo a passo, resolva problemas técnicos ou fale com um dos nossos especialistas."}),e.jsxs("div",{className:"relative max-w-2xl mx-auto",children:[e.jsx(g,{className:"absolute left-4 top-1/2 -translate-y-1/2 text-muted-foreground",size:20}),e.jsx("input",{type:"text",placeholder:"Pesquisar tutoriais (ex: como instalar na Smart TV)",className:"w-full bg-white/5 border border-white/10 rounded-2xl py-5 pl-12 pr-6 focus:outline-none focus:border-iptv-blue transition-all"})]})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-8 mb-24",children:c.map((a,t)=>e.jsxs(d.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:t*.1},className:"glass-panel p-8 rounded-[2.5rem] border border-white/5 hover:border-iptv-blue/20 transition-all flex flex-col",children:[e.jsx("div",{className:"w-14 h-14 rounded-2xl bg-iptv-blue/10 flex items-center justify-center text-iptv-blue mb-6",children:e.jsx(a.icon,{size:32})}),e.jsx("h3",{className:"text-2xl font-bold mb-3",children:a.title}),e.jsx("p",{className:"text-sm text-muted-foreground mb-6 leading-relaxed",children:a.desc}),e.jsx("ul",{className:"space-y-3 mb-8 flex-grow",children:a.topics.map((x,p)=>e.jsx("li",{children:e.jsxs("button",{className:"flex items-center gap-2 text-sm text-muted-foreground hover:text-white transition-colors group",children:[e.jsx(f,{size:14,className:"text-iptv-blue group-hover:translate-x-1 transition-transform"}),x]})},p))}),e.jsxs("button",{className:"text-iptv-blue font-semibold text-sm flex items-center gap-2 hover:gap-3 transition-all",children:["Ver todos os guias ",e.jsx(T,{size:16})]})]},t))}),e.jsxs("section",{className:`grid gap-8 mb-32 ${r?"md:grid-cols-3":"md:grid-cols-2"}`,children:[e.jsxs("div",{className:"glass-panel p-10 rounded-[2.5rem] border border-iptv-blue/20 bg-iptv-blue/[0.02] flex items-start gap-6",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-iptv-blue flex items-center justify-center text-white shrink-0 shadow-premium-blue",children:e.jsx(j,{size:32})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-bold mb-2",children:"Suporte via WhatsApp"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"A forma mais rápida de obter ajuda técnica ou esclarecer dúvidas comerciais."}),e.jsx("a",{href:l,target:"_blank",rel:"noreferrer",className:"inline-block bg-iptv-blue text-white px-8 py-4 rounded-full font-bold hover:bg-iptv-blue-glow transition-all",children:"Abrir WhatsApp"})]})]}),r?e.jsxs("div",{className:"glass-panel p-10 rounded-[2.5rem] border border-sky-500/20 bg-sky-500/[0.03] flex items-start gap-6",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-sky-500 flex items-center justify-center text-white shrink-0 shadow-premium-blue",children:e.jsx(v,{size:32})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-bold mb-2",children:"Suporte via Telegram"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Alternativa direta para falar com a equipa XCTV GO pelo Telegram."}),e.jsx("a",{href:r,target:"_blank",rel:"noreferrer",className:"inline-block bg-sky-500 text-white px-8 py-4 rounded-full font-bold hover:bg-sky-400 transition-all",children:"Abrir Telegram"})]})]}):null,e.jsxs("div",{className:"glass-panel p-10 rounded-[2.5rem] border border-white/5 flex items-start gap-6",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-white/10 flex items-center justify-center text-white shrink-0",children:e.jsx(C,{size:32})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-bold mb-2",children:"Ãrea de Cliente"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Gerencie a sua subscrição, visualize os dados de acesso e faça renovações."}),e.jsx(N,{to:"/auth",className:"inline-block bg-white/5 border border-white/10 text-white px-8 py-4 rounded-full font-bold hover:bg-white/10 transition-all",children:"Aceder à Ãrea de Cliente"})]})]})]}),e.jsxs("section",{className:"mb-24 rounded-[2.5rem] border border-border bg-card p-8 md:p-10",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(z,{className:"text-primary"}),e.jsx("h2",{className:"text-3xl font-black",children:"Contactos da XCTV GO"})]}),e.jsxs("div",{className:"mt-8 grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"flex gap-3",children:[e.jsx(A,{className:"shrink-0 text-primary",size:20}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-black",children:"Morada"}),e.jsxs("p",{className:"mt-1 text-sm leading-6 text-muted-foreground",children:[s.address,e.jsx("br",{}),s.postal_code," ",s.locality,e.jsx("br",{}),s.country]})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(M,{className:"shrink-0 text-primary",size:20}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-black",children:"Telefone"}),e.jsx("a",{className:"mt-1 block text-sm text-muted-foreground hover:text-primary",href:`tel:${s.phone.replace(/\s/g,"")}`,children:s.phone}),e.jsxs("a",{className:"mt-1 block text-sm text-muted-foreground hover:text-primary",href:l,target:"_blank",rel:"noreferrer",children:["WhatsApp: ",s.whatsapp]})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(V,{className:"shrink-0 text-primary",size:20}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-black",children:"Email"}),e.jsx("a",{className:"mt-1 block text-sm text-muted-foreground hover:text-primary",href:`mailto:${s.support_email}`,children:s.support_email}),e.jsx("a",{className:"mt-1 block text-sm text-muted-foreground hover:text-primary",href:`mailto:${s.financial_email}`,children:s.financial_email})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx(_,{className:"shrink-0 text-primary",size:20}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-black",children:"Horário"}),e.jsx("p",{className:"mt-1 text-sm leading-6 text-muted-foreground",children:s.business_hours})]})]})]})]}),e.jsxs("section",{className:"max-w-4xl mx-auto mb-20",children:[e.jsx("div",{className:"text-center mb-12",children:e.jsx("h2",{className:"text-3xl font-bold",children:"Dúvidas Frequentes"})}),e.jsx("div",{className:"space-y-4",children:m.map((a,t)=>e.jsxs("div",{className:"glass-panel p-6 rounded-2xl border border-white/5",children:[e.jsxs("h4",{className:"font-bold mb-2 flex items-center gap-3",children:[e.jsx(q,{size:20,className:"text-iptv-blue"}),a.q]}),e.jsx("p",{className:"text-muted-foreground text-sm pl-8 leading-relaxed",children:a.a})]},t))})]}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-12 py-10 border-t border-white/5 text-muted-foreground text-sm",children:[e.jsxs("button",{className:"flex items-center gap-2 hover:text-white transition-colors",children:[e.jsx(y,{size:16})," Downloads APK"]}),e.jsxs("button",{className:"flex items-center gap-2 hover:text-white transition-colors",children:[e.jsx(I,{size:16})," Teste Grátis 2h"]}),e.jsxs("button",{className:"flex items-center gap-2 hover:text-white transition-colors",children:[e.jsx(w,{size:16})," PolÃtica de Privacidade"]})]})]})})}export{U as component};
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.