1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[218],{21762:function(e,t,r){Promise.resolve().then(r.bind(r,61127)),Promise.resolve().then(r.bind(r,38820)),Promise.resolve().then(r.bind(r,23333)),Promise.resolve().then(r.bind(r,53076)),Promise.resolve().then(r.bind(r,16156)),Promise.resolve().then(r.bind(r,3086)),Promise.resolve().then(r.bind(r,59690)),Promise.resolve().then(r.bind(r,80800)),Promise.resolve().then(r.bind(r,3906)),Promise.resolve().then(r.t.bind(r,72972,23)),Promise.resolve().then(r.t.bind(r,65660,23))},61127:function(e,t,r){"use strict";r.r(t),r.d(t,{BannerSlot:function(){return s}});var a=r(57437),n=r(2265),o=r(10970);function s(e){var t;let{banners:r,className:s="",compacto:i=!1}=e,[l,c]=(0,n.useState)(0),[d,u]=(0,n.useState)(null);(0,n.useEffect)(()=>{try{let e=new URLSearchParams(window.location.search).get("proof_banner");e&&u(e)}catch(e){}},[]);let m=d&&null!==(t=r.find(e=>e.id===d))&&void 0!==t?t:null,p=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(!m||!p.current)return;let e=()=>{let e=p.current;if(!e)return;document.body.style.transform="";let t=Math.max(0,e.getBoundingClientRect().top+window.scrollY-380);t>0&&(document.body.style.transform="translateY(-".concat(t,"px)"))};e();let t=setInterval(e,600);return()=>{clearInterval(t),document.body.style.transform=""}},[null==m?void 0:m.id]),(0,n.useEffect)(()=>{var e;if(r.length<2||m)return;let t=r[l],a=setTimeout(()=>{c(e=>{let t=e;for(;t===e;)t=Math.floor(Math.random()*r.length);return t})},Math.max(5e3,null!==(e=null==t?void 0:t.duracao_ms)&&void 0!==e?e:0));return()=>clearTimeout(a)},[r,l,m]);let h=null!=m?m:r[l];if((0,n.useEffect)(()=>{if(h){try{if(new URLSearchParams(window.location.search).has("proof_banner"))return}catch(e){}(0,o.e)().from("banner_metrics").insert([{banner_id:h.id,event_type:"impression"}]).then(()=>{},()=>{})}},[null==h?void 0:h.id,d]),!h)return null;let f=()=>{(0,o.e)().from("banner_metrics").insert([{banner_id:h.id,event_type:"click"}]).then(()=>{},()=>{}),h.link_url&&window.open(h.link_url,"_blank","noopener,noreferrer")};return(0,a.jsxs)("div",{ref:p,className:i?"flex items-center gap-2 ".concat(s):"w-full ".concat(s),children:[m&&(0,a.jsxs)("div",{className:"mb-1 flex items-center justify-between rounded bg-black/85 px-4 py-2 text-white",children:[(0,a.jsx)("span",{className:"text-[15px] font-medium",children:window.location.hostname}),(0,a.jsx)("span",{className:"text-[22px] font-bold",children:new Date().toLocaleString("pt-BR",{weekday:"long",day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"})})]}),(0,a.jsx)("span",{className:"uppercase tracking-wider text-muted-foreground/50 ".concat(i?"shrink-0 text-[8px] leading-none":"mb-1 block text-center text-[10px]"),children:"Publicidade"}),(0,a.jsx)("div",{className:i?"min-w-0":"w-full",children:"video"===h.media_type?(0,a.jsx)("video",{src:h.media_url,autoPlay:!0,muted:!0,loop:!0,onClick:f,className:"block rounded ".concat(i?"mx-auto max-h-[44px] w-auto":"h-auto w-full"," ").concat(h.link_url?"cursor-pointer":"")}):(0,a.jsx)("img",{src:h.media_url,alt:h.alt_text||h.title,onClick:f,className:"block rounded transition-opacity hover:opacity-90 ".concat(i?"mx-auto max-h-[44px] w-auto":"h-auto w-full"," ").concat(h.link_url?"cursor-pointer":"")})}),r.length>1&&!i&&(0,a.jsx)("div",{className:"mt-2 flex justify-center gap-1",children:r.map((e,t)=>(0,a.jsx)("button",{"aria-label":"Banner ".concat(t+1),onClick:()=>c(t),className:"h-2 w-2 rounded-full transition-colors ".concat(t===l?"bg-primary":"bg-muted-foreground/30")},t))})]})}},38820:function(e,t,r){"use strict";r.d(t,{ContactFab:function(){return l}});var a=r(57437),n=r(2265),o=r(82718),s=r(32489),i=r(18645);function l(e){let{portalId:t}=e,[r,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!r)return;let e=e=>"Escape"===e.key&&l(!1);return document.addEventListener("keydown",e),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[r]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{type:"button",onClick:()=>l(!0),"aria-label":"Fale conosco",className:"fixed bottom-6 right-6 z-50 flex items-center gap-2 rounded-full bg-primary px-4 py-3 text-primary-foreground shadow-lg transition-transform hover:scale-105 active:scale-95",children:[(0,a.jsx)(o.Z,{className:"h-6 w-6 flex-shrink-0"}),(0,a.jsx)("span",{className:"hidden text-sm font-semibold sm:block",children:"Fale conosco"})]}),r&&(0,a.jsx)("div",{className:"fixed inset-0 z-[60] flex items-end justify-center bg-black/50 p-4 sm:items-center",onClick:()=>l(!1),role:"dialog","aria-modal":"true","aria-label":"Fale conosco",children:(0,a.jsxs)("div",{className:"max-h-[85vh] w-full max-w-lg overflow-y-auto rounded-lg bg-background p-5 shadow-xl",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"mb-3 flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-lg font-bold",children:"Fale com a gente"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Sugest\xe3o de pauta, an\xfancio ou d\xfavida â respondemos no e-mail informado."})]}),(0,a.jsx)("button",{type:"button",onClick:()=>l(!1),"aria-label":"Fechar",className:"rounded p-1 text-muted-foreground transition-colors hover:bg-muted",children:(0,a.jsx)(s.Z,{className:"h-5 w-5"})})]}),(0,a.jsx)(i.ContactForm,{portalId:t,espaco:"fab",espacoLabel:"Bot\xe3o flutuante"})]})})]})}},18645:function(e,t,r){"use strict";r.d(t,{ContactForm:function(){return s}});var a=r(57437),n=r(2265),o=r(10970);function s(e){let{portalId:t,espaco:r,espacoLabel:s}
1=e,[i,l]=(0,n.useState)("idle"),[c,d]=(0,n.useState)(""),u=async e=>{e.preventDefault();let a=e.currentTarget,n=new FormData(a);l("sending"),d("");try{let{data:e,error:i}=await (0,o.e)().functions.invoke("send-contact",{body:{portalId:t,name:n.get("name"),email:n.get("email"),phone:n.get("phone"),subject:s?"Anunciar â ".concat(s):"Contato pelo site",message:n.get("message"),sourcePosition:r||null,pageUrl:window.location.href,website:n.get("website")}});if(i)throw i;if(null==e?void 0:e.error)throw Error(e.error);l("ok"),a.reset()}catch(e){l("error"),d(e instanceof Error?e.message:"N\xe3o foi poss\xedvel enviar. Tente novamente.")}};return"ok"===i?(0,a.jsxs)("div",{className:"rounded-lg border border-emerald-500/30 bg-emerald-50 p-6 text-center dark:bg-emerald-950/30",children:[(0,a.jsx)("p",{className:"text-lg font-semibold text-emerald-700 dark:text-emerald-400",children:"Mensagem enviada!"}),(0,a.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"Recebemos seu contato e nossa equipe responde em breve."}),(0,a.jsx)("button",{onClick:()=>l("idle"),className:"mt-4 text-sm font-medium text-primary underline underline-offset-4",children:"Enviar outra mensagem"})]}):(0,a.jsxs)("form",{onSubmit:u,className:"space-y-3",children:[s&&(0,a.jsxs)("p",{className:"rounded-md bg-primary/5 px-3 py-2 text-sm",children:["Interesse no espa\xe7o: ",(0,a.jsx)("span",{className:"font-semibold",children:s})]}),(0,a.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,a.jsx)("input",{name:"name",required:!0,placeholder:"Seu nome *",className:"w-full rounded-md border bg-background px-3 py-2.5 text-sm outline-none focus:border-primary"}),(0,a.jsx)("input",{name:"email",type:"email",required:!0,placeholder:"Seu e-mail *",className:"w-full rounded-md border bg-background px-3 py-2.5 text-sm outline-none focus:border-primary"})]}),(0,a.jsx)("input",{name:"phone",placeholder:"Telefone / WhatsApp (opcional)",className:"w-full rounded-md border bg-background px-3 py-2.5 text-sm outline-none focus:border-primary"}),(0,a.jsx)("textarea",{name:"message",required:!0,rows:4,placeholder:"Conte o que voc\xea precisa: espa\xe7o de interesse, per\xedodo, d\xfavidasâ¦",className:"w-full rounded-md border bg-background px-3 py-2.5 text-sm outline-none focus:border-primary"}),(0,a.jsx)("input",{name:"website",tabIndex:-1,autoComplete:"off","aria-hidden":"true",className:"absolute left-[-9999px] h-0 w-0 opacity-0"}),"error"===i&&(0,a.jsx)("p",{className:"text-sm text-destructive",children:c}),(0,a.jsx)("button",{type:"submit",disabled:"sending"===i,className:"w-full rounded-md bg-primary px-5 py-3 text-sm font-semibold text-primary-foreground transition-opacity hover:opacity-90 disabled:opacity-60 sm:w-auto",children:"sending"===i?"Enviandoâ¦":"Enviar mensagem"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Seus dados s\xe3o usados s\xf3 pra responder este contato."})]})}},23333:function(e,t,r){"use strict";r.d(t,{CookieConsent:function(){return i}});var a=r(57437),n=r(2265),o=r(48166);let s="cookie-consent";function i(){let[e,t]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{try{window.localStorage.getItem(s)||t(!0)}catch(e){}},[]),e)?(0,a.jsx)("div",{role:"dialog","aria-label":"Aviso de cookies",className:"fixed inset-x-0 bottom-0 z-[60] border-t border-border bg-card px-4 py-4 shadow-lg",children:(0,a.jsxs)("div",{className:"container mx-auto flex flex-col items-center gap-3 sm:flex-row sm:justify-between",children:[(0,a.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,a.jsx)(o.Z,{className:"h-4 w-4 flex-shrink-0 text-primary"}),(0,a.jsxs)("span",{children:["Usamos cookies essenciais e de medi\xe7\xe3o de audi\xeancia (Google Analytics e Meta), inclusive para an\xfancios. Saiba o que \xe9 coletado e como recusar na nossa"," ",(0,a.jsx)("a",{href:"/trust",className:"text-primary underline underline-offset-2",children:"pol\xedtica de privacidade"}),"."]})]}),(0,a.jsx)("button",{onClick:()=>{try{window.localStorage.setItem(s,"accepted")}catch(e){}t(!1)},className:"flex-shrink-0 rounded-md bg-primary px-4 py-1.5 text-sm font-semibold text-primary-foreground transition-opacity hover:opacity-90",children:"Entendi"})]})}):null}},53076:function(e,t,r){"use strict";r.d(t,{HeaderClock:function(){return l}});var a=r(57437),n=r(2265);let o="America/Maceio",s=e=>e.toLocaleDateString("pt-BR",{weekday:"long",day:"2-digit",month:"long",year:"numeric",timeZone:o}),i=e=>e.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:o});function l(e){let{inicial:t}
1=e,[r,o]=(0,n.useState)(null);(0,n.useEffect)(()=>{o(new Date);let e=setInterval(()=>o(new Date),1e3);return()=>clearInterval(e)},[]);let[l,c]=t.split("|"),d=r?s(r):l,u=r?i(r):c;return(0,a.jsxs)("div",{className:"flex items-center gap-3 text-xs text-muted-foreground",suppressHydrationWarning:!0,children:[(0,a.jsx)("span",{className:"capitalize",children:d}),(0,a.jsx)("span",{className:"tabular-nums",children:u})]})}},16156:function(e,t,r){"use strict";r.d(t,{HeaderSearch:function(){return i}});var a=r(57437),n=r(35475),o=r(2265),s=r(73247);function i(){let e=(0,n.useRouter)(),[t,r]=(0,o.useState)("");return(0,a.jsx)("form",{onSubmit:r=>{r.preventDefault();let a=t.trim();a&&e.push("/busca?q=".concat(encodeURIComponent(a)))},className:"flex items-center",role:"search",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(s.Z,{className:"pointer-events-none absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground"}),(0,a.jsx)("input",{type:"search",value:t,onChange:e=>r(e.target.value),placeholder:"Buscar not\xedcias...","aria-label":"Buscar not\xedcias",className:"h-7 w-36 rounded-full border bg-background pl-7 pr-3 text-xs outline-none transition-[width] focus:w-48 focus:ring-1 focus:ring-primary sm:w-44 sm:focus:w-56"})]})})}},3086:function(e,t,r){"use strict";r.d(t,{HeaderWeather:function(){return c}});var a=r(57437),n=r(2265),o=r(85929),s=r(24246),i=r(61341),l=r(23959);function c(e){var t;let{inicial:r}=e,[c,d]=(0,n.useState)(r);if((0,n.useEffect)(()=>{let e=!1,t=setInterval(async()=>{try{var t,r,a,n,o,s;let i=await fetch("https://api.open-meteo.com/v1/forecast?latitude=".concat(-9.6658,"&longitude=").concat(-35.7353,"¤t=temperature_2m,weather_code&daily=precipitation_probability_max&forecast_days=1&timezone=America%2FMaceio")),l=await i.json(),c=Math.round(null!==(o=null==l?void 0:null===(t=l.current)||void 0===t?void 0:t.temperature_2m)&&void 0!==o?o:NaN),u=null!==(s=null==l?void 0:null===(r=l.current)||void 0===r?void 0:r.weather_code)&&void 0!==s?s:2,m=null==l?void 0:null===(n=l.daily)||void 0===n?void 0:null===(a=n.precipitation_probability_max)||void 0===a?void 0:a[0];e||Number.isNaN(c)||d({temp:c,code:u,chuva:"number"==typeof m?Math.round(m):null})}catch(e){}},6e5);return()=>{e=!0,clearInterval(t)}},[]),!c)return null;let u=0===(t=c.code)?o.Z:t<=2?s.Z:t<=48?i.Z:l.Z;return(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",title:"Macei\xf3, AL",children:[(0,a.jsx)(u,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"font-medium text-foreground",children:null!==c.chuva&&c.chuva>=60?"Chuva ".concat(c.chuva,"%"):null!==c.chuva&&c.chuva>=30?"Pode chover ".concat(c.chuva,"%"):0===c.code||c.code<=2?"Sol":c.code<=48?"Nublado":"Chuva"}),(0,a.jsxs)("span",{className:"hidden sm:inline",children:[c.temp,"\xb0C \xb7 Macei\xf3"]})]})}},59690:function(e,t,r){"use strict";r.d(t,{NewsletterSignup:function(){return c}});var a=r(57437),n=r(2265),o=r(92934),s=r(89345),i=r(51817),l=r(10970);function c(e){let{portalId:t}
1=e,[r,c]=(0,n.useState)(""),[d,u]=(0,n.useState)(""),[m,p]=(0,n.useState)("idle"),h=async e=>{if(e.preventDefault(),!r||"loading"===m)return;p("loading");let a=(0,l.e)();try{let{data:e}=await a.from("newsletter_subscribers").select("id, is_active").eq("portal_id",t).eq("email",r).maybeSingle();if(e){if(e.is_active){p("dup");return}let{error:t}=await a.from("newsletter_subscribers").update({is_active:!0,name:d||null}).eq("id",e.id);if(t)throw t}else{let{error:e}=await a.from("newsletter_subscribers").insert({email:r,name:d||null,portal_id:t});if(e)throw e}p("ok"),c(""),u("")}catch(e){p("error")}};return"ok"===m?(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2 rounded-lg border bg-card p-6 text-center",children:[(0,a.jsx)(o.Z,{className:"h-5 w-5 text-primary"}),(0,a.jsx)("span",{className:"font-medium",children:"Inscri\xe7\xe3o confirmada! Voc\xea receber\xe1 nossas not\xedcias."})]}):(0,a.jsxs)("div",{id:"newsletter",className:"scroll-mt-24 rounded-lg border bg-card p-6",children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center gap-2",children:[(0,a.jsx)(s.Z,{className:"h-5 w-5 text-primary"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-bold leading-tight",children:"Newsletter"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Receba as \xfaltimas not\xedcias no seu email"})]})]}),(0,a.jsxs)("form",{onSubmit:h,className:"flex flex-col gap-2 sm:flex-row",children:[(0,a.jsx)("input",{type:"text",placeholder:"Seu nome (opcional)",value:d,onChange:e=>u(e.target.value),disabled:"loading"===m,className:"flex-1 rounded-md border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/40"}),(0,a.jsx)("input",{type:"email",placeholder:"Seu melhor email",value:r,onChange:e=>c(e.target.value),required:!0,disabled:"loading"===m,className:"flex-1 rounded-md border bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-primary/40"}),(0,a.jsx)("button",{type:"submit",disabled:"loading"===m||!r,className:"inline-flex items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground transition-opacity hover:opacity-90 disabled:opacity-50",children:"loading"===m?(0,a.jsx)(i.Z,{className:"h-4 w-4 animate-spin"}):"Inscrever-se"})]}),"dup"===m&&(0,a.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:"Este email j\xe1 est\xe1 cadastrado."}),"error"===m&&(0,a.jsx)("p",{className:"mt-2 text-xs text-destructive",children:"Falha ao inscrever. Tente novamente."})]})}},80800:function(e,t,r){"use strict";r.d(t,{PortalRadio:function(){return o}});var a=r(57437),n=r(3906);function o(e){let{buttonColor:t}=e,{playing:r,loading:o,volume:s,radioName:i,hasStation:l,toggle:c,setVolume:d}=(0,n.F)(),u=t||"#ff5a1f";return l?(0,a.jsxs)("div",{className:"group/radio flex flex-shrink-0 items-center gap-2.5",children:[(0,a.jsx)("button",{onClick:c,"aria-label":r?"Pausar r\xe1dio":"Tocar r\xe1dio",className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-full shadow-sm transition-all hover:scale-105 hover:brightness-110",style:{backgroundColor:u},children:o?(0,a.jsxs)("svg",{className:"h-4 w-4 animate-spin text-white",viewBox:"0 0 24 24",fill:"none",children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"})]}):r?(0,a.jsx)("svg",{className:"h-4 w-4 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"})}):(0,a.jsx)("svg",{className:"h-4 w-4 translate-x-px text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M8 5v14l11-7z"})})}),(0,a.jsxs)("div",{className:"hidden flex-col leading-tight sm:flex",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1 text-[10px] font-bold uppercase tracking-wider text-muted-foreground",children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 flex-shrink-0 rounded-full ".concat(r?"animate-pulse":""),style:{backgroundColor:r?u:"hsl(var(--muted-foreground))"}}),r?"Ao vivo":"R\xe1dio"]}),(0,a.jsx)("span",{className:"max-w-[140px] truncate text-[13px] font-semibold text-foreground",children:i})]}),(0,a.jsx)("input",{type:"range",min:"0",max:"1",step:"0.05",value:s,onChange:e=>d(parseFloat(e.target.value)),"aria-label":"Volume",className:"hidden w-0 cursor-pointer opacity-0 transition-all duration-200 group-hover/radio:w-16 group-hover/radio:opacity-100 md:block",style:{accentColor:u}})]}):null}},3906:function(e,t,r){"use strict";r.d(t,{F:function(){return i},RadioProvider:function(){return s}});var a=r(57437),n=r(2265);let o=(0,n.createContext)(null);function s(e){var t,r;let{defaultStation:s,children:i}=e,l=(0,n.useRef)(s?{streamUrl:s.stream_url,radioName:s.radio_name}:null),c=(0,n.useRef)(null),d=(0,n.useRef)(l.current),[u,m]=(0,n.use
1State)(null!==(r=null===(t=l.current)||void 0===t?void 0:t.radioName)&&void 0!==r?r:""),[p,h]=(0,n.useState)(!1),[f,x]=(0,n.useState)(!1),[g,v]=(0,n.useState)(.7);(0,n.useEffect)(()=>{var e;let t=parseFloat(null!==(e=localStorage.getItem("radio_volume"))&&void 0!==e?e:"0.7"),r=new Audio;return r.preload="none",r.volume=Number.isFinite(t)?t:.7,v(r.volume),c.current=r,r.addEventListener("waiting",()=>x(!0)),r.addEventListener("playing",()=>{x(!1),h(!0)}),r.addEventListener("pause",()=>h(!1)),r.addEventListener("error",()=>{x(!1),h(!1)}),"true"===localStorage.getItem("radio_playing")&&d.current&&(r.src=d.current.streamUrl,r.play().catch(()=>{})),()=>{r.pause(),r.src=""}},[]);let b=(0,n.useCallback)((e,t)=>{let r=e?{streamUrl:e,radioName:t||"R\xe1dio"}:l.current;if(!r)return;let a=d.current;if((null==a?void 0:a.streamUrl)===r.streamUrl){a.radioName!==r.radioName&&(d.current=r,m(r.radioName));return}d.current=r,m(r.radioName);let n=c.current;if(!n)return;let o=n.played.length>0?!n.paused:"true"===localStorage.getItem("radio_playing");n.src=r.streamUrl,o&&(x(!0),n.play().catch(()=>x(!1)))},[]),y=(0,n.useCallback)(()=>{let e=c.current,t=d.current;e&&t&&(p?(e.pause(),e.src="",localStorage.setItem("radio_playing","false")):(x(!0),e.src=t.streamUrl,e.play().catch(()=>x(!1)),localStorage.setItem("radio_playing","true")))},[p]),w=(0,n.useCallback)(e=>{v(e),c.current&&(c.current.volume=e),localStorage.setItem("radio_volume",String(e))},[]);return(0,a.jsx)(o.Provider,{value:{playing:p,loading:f,volume:g,radioName:u,hasStation:!!d.current,toggle:y,setVolume:w,setStation:b},children:i})}function i(){let e=(0,n.useContext)(o);if(!e)throw Error("usePortalRadio precisa estar dentro de <RadioProvider>");return e}},10970:function(e,t,r){"use strict";r.d(t,{e:function(){return n}});var a=r(3554);function n(){return(0,a.A)("https://supabase.alagoasemtemporeal.com.br","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzgzNzgzODc4LCJleHAiOjIwOTkxNDM4Nzh9.IsVlbTYpoKWip1jGtn--pfJrHvWdPbXo5b57OSBStjc")}},92934:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},23959:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("CloudRain",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M16 14v6",key:"1j4efv"}],["path",{d:"M8 14v6",key:"17c4r9"}],["path",{d:"M12 16v6",key:"c8a4gj"}]])},24246:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("CloudSun",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]])},61341:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]])},48166:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]])},51817:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},89345:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},82718:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]])},73247:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},85929:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},32489:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});let a=(0,r(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},65660:function(){}},function(e){e.O(0,[152,580,554,635,971,117,744],function(){return e(e.s=21762)}),_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.