1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8],{1727:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/promocoes/resultados",function(){return t(8945)}])},3631:function(e,a,t){"use strict";t.d(a,{Z:function(){return s}});var o=t(5893);function s(e){let{name:a,width:t,mobiWidth:s}=e;return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"flex items-center justify-between gap-10 mobi:gap-5 text-[60px] mobi:text-[21px] leading-[72px] font-black",children:[(0,o.jsx)("div",{className:"flex text-black outlinedGray",children:a}),(0,o.jsx)("div",{className:"flex text-white",children:a}),(0,o.jsx)("div",{className:"flex text-black outlinedGray",children:a})]})})}t(7294)},8945:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return u}});var o=t(5893),s=t(7294),i=t(1664),n=t.n(i),r=t(3480),l=t.n(r);function d(){let e=(0,s.useRef)(),[a,t]=(0,s.useState)([]),[i,r]=(0,s.useState)(4),[d,c]=(0,s.useState)(!0),m=a.slice(0,i),[u,_]=(0,s.useState)(0);return(0,s.useEffect)(()=>{_(window.innerWidth)},[]),(0,s.useEffect)(()=>{(async()=>{t((await (await fetch("https://api.radiocidade.fm/site/promocoes/promocoes-encerradas.php")).json()).promocoes)})()},[]),(0,s.useEffect)(()=>{e.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[]),(0,s.useEffect)(()=>{i<a.length-1?c(!0):c(!1)},[a]),(0,o.jsx)("div",{className:l().cont,children:(0,o.jsxs)("div",{className:l().painelPromoCont,children:[(0,o.jsxs)("div",{className:"w-full bg-black flex flex-col items-center justify-center relative",children:[(0,o.jsxs)("div",{className:l().returnBtnContainer,children:[(0,o.jsxs)("div",{className:l().btnHome,children:[(0,o.jsx)(n(),{href:"/",children:(0,o.jsx)("img",{src:"/assets/icons/seta-retorno.svg"})}),(0,o.jsx)("p",{children:(0,o.jsx)(n(),{href:"/promo",children:"Voltar para Promo\xe7\xf5es"})})]}),(0,o.jsxs)("div",{className:l().visitedBtns,children:[(0,o.jsx)("p",{children:(0,o.jsx)(n(),{href:"/",children:"Home"})}),(0,o.jsx)("img",{width:10,style:{rotate:"270deg"},src:"/assets/icons/chevron.svg",alt:""}),(0,o.jsx)("p",{children:"Promo\xe7\xe3o"}),(0,o.jsx)("img",{width:10,style:{rotate:"270deg"},src:"/assets/icons/chevron.svg",alt:""}),(0,o.jsx)("p",{children:"Todas as promo\xe7\xf5es resultado"})]})]}),(0,o.jsxs)("div",{className:"flex items-center justify-between gap-10 mobi:gap-2 text-[60px] mobi:text-[21px] leading-[72px] font-black",children:[(0,o.jsx)("div",{className:"flex text-black outlinedGray",children:"promo\xe7\xf5es"}),(0,o.jsx)("div",{className:"flex text-white",children:"promo\xe7\xf5es"}),(0,o.jsx)("div",{className:"flex text-black outlinedGray",children:"promo\xe7\xf5es"})]}),(0,o.jsxs)("div",{className:l().categoryBtnContainer,ref:e,children:[(0,o.jsx)("div",{className:l().btnResultados,children:(0,o.jsx)(n(),{href:"/promocoes",scroll:!1,children:"ATIVAS"})}),(0,o.jsx)("div",{className:l().btnAtivas,children:"RESULTADO"})]}),(0,o.jsx)("div",{className:"w-screen bg-black h-[140px] mobi:h-[100px] absolute bottom-[-130px] mobi:bottom-[-95px]"})]}),(0,o.jsx)("div",{className:l().painelWrapper,children:(0,o.jsx)("div",{className:l().bottomContainer,children:!!m.length&&m.map(e=>(0,o.jsx)(n(),{href:"/promocao/"+(null==e?void 0:e.permalink),children:(0,o.jsxs)("div",{className:l().card,style:{cursor:"pointer"},children:[(0,o.jsx)("div",{className:l().image,style:{backgroundImage:"url(".concat(null==e?void 0:e.imagem,")")}}),(0,o.jsx)("h2",{className:l().cardTitle,children:null==e?void 0:e.titulo}),(0,o.jsx)("h3",{children:null==e?void 0:e.local}),(0,o.jsx)("p",{style:{background:null==e?void 0:e.cor_botao},children:"RESULTADO"}),(0,o.jsx)("div",{className:l().vip,style:{display:"0"===(null==e?void 0:e.promocao_vip)?"none":"block"},children:"VIP"})]})},e.id_promocao))})}),d?(0,o.jsx)("div",{className:l().loadMoreContainer,children:(0,o.jsx)("p",{onClick:function(){r(i+4),i<a.length-1?c(!0):c(!1)},children:"Carregar mais"})}):(0,o.jsx)("div",{})]})})}t(3631);var c=t(9008),m=t.n(c);function u(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(m(),{children:[(0,o.jsx)("meta",{property:"og:locale",content:"pt_BR"}),(0,o.jsx)("meta",{property:"og:type",content:"article"}),(0,o.jsx)("meta",{property:"og:title",content:"R\xe1dio Cidade | Resultado das Promo\xe7\xf5es"}),(0,o.jsx)("meta",{property:"og:description",content:"Veja o resultado das promo\xe7\xf5es da R\xe1dio Cidade. Concorra a ingressos de shows e cinemas, tatuagens, guitarras e principais eventos de Rock"}),(0,o.jsx)("meta",{property:"og:url",content:"https://radiocidade.fm/promocoes/"}),(0,o.jsx)("meta",{property:"og:image",content:"https://cdn.jb.fm/site_cidade/Imagem_Site_Cidade.jpg"}),(0,o.jsx)("meta",{property:"article:publisher",content:"https://www.facebook.com/CidadeOficial/"}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:creator",content:"@cidadeoficial"}),(0,o.jsx)("meta",{name:"twitter:site",content:"@cidadeoficial"}),(0,o.jsx)("title",{children:"R\xe1dio Cidade | Resultado das Promo\xe7\xf5es"})]}),(0,o.jsx)("div",{children:(0,o.jsx)(d,{})})]})}},3480:function(e){e.exports={cont:"PaginaResultadoPromo_cont__YimNH",painelPromoCont:"PaginaResultadoPromo_painelPromoCont__EradX",tituloWrapper:"PaginaResultadoPromo_tituloWrapper__dsMTM",titulo:"PaginaResultadoPromo_titulo__Y7fYC",tituloBtn:"PaginaResultadoPromo_tituloBtn__zM4Po",categoryBtnContainer:"PaginaResultadoPromo_categoryBtnContainer__XsMhR",btnAtivas:"PaginaResultadoPromo_btnAtivas__xfEFs",btnResultados:"PaginaResultadoPromo_btnResultados__qXESw",returnBtnContainer:"PaginaResultadoPromo_returnBtnContainer__TVo4F",btnHome:"PaginaResultadoPromo_btnHome__jC_MF",visitedBtns:"PaginaResultadoPromo_visitedBtns__e5Zom",sliderContainer:"PaginaResultadoPromo_sliderContainer__3_5BI",slide:"PaginaResultadoPromo_slide__f3tKe",sliderItem:"PaginaResultadoPromo_sliderItem__oCeY9",prevButton:"PaginaResultadoPromo_prevButton__EFN9R",nextButton:"PaginaResultadoPromo_nextButton__4XWrY",painelWrapper:"PaginaResultadoPromo_painelWrapper__Iscjn",upperLine:"PaginaResultadoPromo_upperLine__Xe4sn",cardBig:"PaginaResultadoPromo_cardBig__somG6",imageBig:"PaginaResultadoPromo_imageBig__raV9P",cardBigData:"PaginaResultadoPromo_cardBigData__U35IR",cardBigTitle:"PaginaResultadoPromo_cardBigTitle__3uu3M",card:"PaginaResultadoPromo_card___bTEJ",image:"PaginaResultadoPromo_image__mrA2J",cardTitle:"PaginaResultadoPromo_cardTitle__nuxI9",vip:"PaginaResultadoPromo_vip__hvZ2r",middleLine:"PaginaResultadoPromo_middleLine__bteJb",bottomContainer:"PaginaResultadoPromo_bottomContainer__C_G8l",bannerAd:"PaginaResultadoPromo_bannerAd__NSlRf",loadMoreContainer:"PaginaResultadoPromo_loadMoreContainer__lnojz"}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=1727)}),_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.