1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[527],{1884:(e,t,r)=>{"use strict";r.d(t,{Yq:()=>l,im:()=>s,qH:()=>a});let a=e=>e?e.replace(/[()\s-]/g,""):"",l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";let r=new Date("".concat(e,"T00:00:00-03:00"));return isNaN(r.getTime())?"":r.toLocaleDateString("pt-BR",{...t,timeZone:"America/Sao_Paulo"})},s=e=>e.padStart(2,"0")},2596:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=function(){for(var e,t,r=0,a="",l=arguments.length;r<l;r++)(e=arguments[r])&&(t=function e(t){var r,a,l="";if("string"==typeof t||"number"==typeof t)l+=t;else if("object"==typeof t)if(Array.isArray(t)){var s=t.length;for(r=0;r<s;r++)t[r]&&(a=e(t[r]))&&(l&&(l+=" "),l+=a)}else for(a in t)t[a]&&(l&&(l+=" "),l+=a);return l}(e))&&(a&&(a+=" "),a+=t);return a}},2909:e=>{e.exports={"calendar-page":"style_calendar-page__KIWql","c-list":"style_c-list__PRdYK","c-list__item":"style_c-list__item__bgUJK","bg-schedule":"style_bg-schedule__X5VG7","c-list__month":"style_c-list__month__m__WC","c-list__day":"style_c-list__day__E0uQh",corporate:"style_corporate__CvMyI","c-list__name":"style_c-list__name__i_oWO","c-list__city":"style_c-list__city__nxI2h","c-list__corporate":"style_c-list__corporate__wybEW","c-list__details":"style_c-list__details___kqlH","swipper-navigation":"style_swipper-navigation___QoI_","swiper-nav-button":"style_swiper-nav-button__bZeX0","custom-prev-button":"style_custom-prev-button__99Mb7","custom-next-button":"style_custom-next-button__qb5KB","swiper-button-disabled":"style_swiper-button-disabled__jEd9y"}},3288:(e,t,r)=>{Promise.resolve().then(r.bind(r,6515))},6515:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var a=r(5155),l=r(2909),s=r.n(l),i=r(8443),c=r(1884);function n(e){let{data:t}=e;return(0,a.jsx)("section",{className:s()["calendar-page"],children:(0,a.jsxs)("div",{className:"container md:max-w-4xl",children:[(0,a.jsx)("h1",{className:"o-title !font-bold mb-5 md:mb-0 text-center",children:"Agenda"}),(0,a.jsx)("aside",{className:"grid grid-cols-1 gap-10",children:Object.entries(t).map(e=>{let[t,r]=e,[l,n]=t.split("-"),o=new Date(Date.UTC(Number(l),Number(n)-1)).toLocaleString("pt-BR",{month:"long",timeZone:"UTC"});return(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"uppercase font-secondary text-primary font-bold text-3xl tracking-wider w-full mb-4 text-center md:text-left",children:"".concat(o," ").concat(l)}),(0,a.jsx)("div",{className:"grid grid-cols-1 gap-5",children:r.map((e,t)=>(0,a.jsxs)("div",{className:"".concat(s()["c-list__item"]," ").concat(e.corporate?s().corporate:""," ").concat(e.corporate?"grayscale":"grayscale-0"),children:[(0,a.jsxs)("div",{className:"relative w-12 flex flex-col justify-center items-center",children:[(0,a.jsx)("p",{className:s()["c-list__day"],children:(0,c.Yq)(e.date,{day:"numeric"})}),(0,a.jsx)("p",{className:s()["c-list__month"],children:(0,c.Yq)(e.date,{month:"long"})})]}),(0,a.jsx)("div",{className:"w-full md:w-auto md:h-full border-b md:border-r-2 border-primary"}),(0,a.jsx)("div",{className:"h-full flex-1 flex flex-col items-center justify-center relative z-[2] gap-3 md:gap-5",children:e.corporate?(0,a.jsx)("div",{className:"w-full flex-1 flex items-center",children:(0,a.jsx)("p",{className:s()["c-list__corporate"],children:e.name})}):e.district?(0,a.jsx)("div",{className:"flex-1 flex justify-end",children:(0,a.jsxs)("p",{className:"text-sm font-light text-black uppercase",title:"".concat(e.district," \xe9 distrito de ").concat(e.city_name," ").concat(e.state_uf),children:[e.district," | ",e.state_uf]})}):(0,a.jsxs)("div",{className:"w-full flex flex-col justify-center",children:[(0,a.jsx)("p",{className:s()["c-list__name"],children:e.name}),(0,a.jsxs)("p",{className:s()["c-list__city"],children:[e.city_name," â ",e.state_uf]})]})}),!e.corporate&&(0,a.jsx)(i.$,{type:"a",href:"/agenda/".concat(e.url),color:"primary",className:"w-full md:w-auto",children:"Mais detalhes"})]},t))})]},t)})})]})})}},8443:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var a=r(5155);r(2115);var l=r(6874),s=r.n(l),i=r(2596);function c(e){let{size:t="md",color:r="primary",type:l="button",disabled:c=!1,loading:n=!1,target:o,href:d,onClick:_,className:m="",children:b,...p}=e,u=(0,i.A)("flex items-center justify-center whitespace-nowrap rounded uppercase text-center font-bold tracking-wide focus:outline-none transition duration-300 ease-in-out appearance-none w-full",{xs:"text-xs px-4 py-2",sm:"text-[0.9375rem] px-5 py-2 leading-[1.1]",lg:"text-base md:text-lg leading-[0.875] px-3 md:px-6 py-4",md:"text-base leading-[0.875] px-3 md:px-6 py-3.5"}[t],{primary:"bg-primary text-black","outline-primary":"border border-primary text-primary","outline-light":"border border-white text-white",black:"bg-black text-white hover:bg-black/80",secondary:"bg-secondary hover:bg-primary-dark border border-secondary hover:border-primary-dark text-white"}[r]||"",n?({primary:"is-loading before:text-gray before:border-r-black",black:"is-loading before:text-white/90 before:border-r-black"})[r]||"is-loading before:text-gray-light before:border-r-white":"",c&&({success:"disabled:hover:bg-gray-light disabled:bg-gray-light disabled:border-gray-light disabled:cursor-not-allowed",black:"disabled:hover:bg-black-light disabled:bg-black-light disabled:cursor-not-allowed"})[r]||"",m);return"a"===l&&d?(0,a.jsx)("a",{href:d,target:o,className:u,...p,rel:"noopener noreferrer",children:b}):"link"===l&&d?(0,a.jsx)(s(),{href:d,className:u,...p,children:b}):(0,a.jsx)("button",{type:"string"==typeof l&&["button","submit","reset"].includes(l)?l:"button",disabled:c||n,onClick:_,className:u,...p,"aria-label":"Botao",children:b})}}},e=>{e.O(0,[806,874,441,964,358],()=>e(e.s=3288)),_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.