1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1816],{7172:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});let s={src:"/_next/static/media/playStore.93bd579e.svg",height:40,width:136,blurWidth:0,blurHeight:0}},10225:(e,t,a)=>{"use strict";a.d(t,{R:()=>o});var s=a(95155),l=a(17164),r=a(64269);function o(e){let{className:t,title:a="Carregando",...o}=e;return(0,s.jsxs)("div",{className:(0,r.cn)("animate-blink inset-0 flex size-full flex-col items-center justify-center gap-5 p-16",t),...o,children:[(0,s.jsx)(l.I,{name:"field_loading_spin",size:48,className:"animate-spin text-green-600"}),(0,s.jsx)("p",{className:"text-[20px] font-semibold text-orange-900",children:a})]})}},16618:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>V});var s=a(95155),l=a(62692),r=a(26615),o=a(20063),i=a(12115),n=a(3998);let c=()=>{let[e,t]=(0,i.useState)(!0),a=(0,o.useRouter)();return((0,i.useEffect)(()=>{Promise.resolve((0,l.hasCookie)("localConsent")).then(e=>{t(e)})},[]),e)?null:(0,s.jsx)("div",{className:"fixed inset-0 z-[9999] bg-slate-700 bg-opacity-70",children:(0,s.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 flex flex-col gap-4 bg-[#1D4A2B] px-12 py-8",children:[(0,s.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,s.jsx)("span",{className:"font-galano text-xl font-bold text-white",children:"Este site utiliza cookies"}),(0,s.jsx)(n.$,{className:"bg-transparent p-2 hover:bg-transparent",onClick:()=>{t(!0)},children:(0,s.jsx)(r.A,{className:"text-white"})})]}),(0,s.jsxs)("span",{className:"font-galano text-white",children:["Utilizamos cookies para melhorar sua experi\xeancia, personalizar conte\xfados e analisar nosso tr\xe1fego. Ao continuar navegando, voc\xea concorda com o uso de cookies. Para mais informa\xe7\xf5es, consulte nossa"," ",(0,s.jsx)(n.$,{variant:"link",className:"-mt-2 p-0 text-white underline",onClick:()=>{t(!0),a.push("/terms-of-use")},children:"Pol\xedtica de Privacidade"}),"."]}),(0,s.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,s.jsx)(n.$,{className:"rounded bg-yellow-500 px-8 py-2 text-[#0155AE] hover:bg-yellow-600",onClick:()=>{t(!0),(0,l.setCookie)("localConsent","true",{})},children:"Aceitar"}),(0,s.jsx)(n.$,{className:"rounded-sm border-2 border-white bg-transparent px-8 py-2 font-bold text-white hover:bg-white hover:text-[#0155AE]",onClick:()=>{t(!0),(0,l.setCookie)("localConsent","false",{})},children:"Recusar"})]})]})})};var d=a(15239),h=a(52619),u=a.n(h),x=a(33854),m=a(7172);let f={src:"/_next/static/media/Rota-22-mapa-brasil.7d52259f.webp",height:617,width:571,blurDataURL:"data:image/webp;base64,UklGRs4AAABXRUJQVlA4WAoAAAAQAAAABgAABwAAQUxQSDkAAAAADF+fKh8AAEP////BKwDI+f////6MBUj/////jgAAuf//8QQAAIX/8H8AAASk8xcAAAAAZUYAAAAAVlA4IG4AAABwAgCdASoHAAgAAkA4JbACdDBLxsAB9TSK7GUAAPa9df+Tnx0u3zmiWUXCRlL/3uT8OYoE8u9a9fp8fNHcLPX71iK6VGinBcVo/+RU3/HhkQCg7Q7+6an8G/xt2/H/6B/0rlJUljakT2pMxUAAAA==",blurWidth:7,blurHeight:8};var b=a(17164),p=a(66942),g=a(92033),v=a(22544),j=a(18720),w=a(15653),N=a(43281),y=a(65142),A=a(80549);let C=a(12870).A.create({timeout:6e4,headers:{common:{Accept:"application/json","Content-Type":"application/json"}},baseURL:"https://leadspl.maxmeio.com/api"}),k=async e=>{let{email:t}=e;return(await C.post("/contact-form-submit",{email:t})).data},F=w.z.object({email:w.z.string().nonempty("Email \xe9 obrigat\xf3rio")});function S(){let{mutate:e,isPending:t}=(0,A.n)({mutationFn:e=>k(e)}),a=(0,v.mN)({resolver:(0,p.u)(F),defaultValues:{email:""}});return(0,s.jsx)("div",{className:"flex w-full max-w-[527px] flex-col items-center justify-center gap-4 p-8 md:flex-row",children:(0,s.jsx)(N.lV,{...a,children:(0,s.jsxs)("form",{onSubmit:a.handleSubmit(function(t){let{email:s}=t;e({email:s},{onSuccess:()=>{j.oR.success("Inscri\xe7\xe3o realizada com sucesso."),a.reset()},onError:()=>{j.oR.error("Ocorreu um problema ao tentar realizar a inscri\xe7\xe3o.",{description:"Verifique se os dados est\xe3o corretos e tente novamente."})}})}),className:"flex w-full flex-col items-center justify-center gap-6 md:flex-row",children:[(0,s.jsx)(N.zB,{control:a.control,name:"email",render:e=>{let{field:a}=e;return(0,s.jsxs)(N.eI,{className:"grid w-full gap-1.5",children:[(0,s.jsx)(N.MJ,{children:(0,s.jsx)(y.p,{id:"login",placeholder:"Insira seu e-mail para receber not\xedcias...",type:"email",disabled:t,className:"text-black",...a})}),(0,s.jsx)(N.C5,{})]})}}),(0,s.jsx)(n.$,{type:"submit",className:"w-full rounded-sm border-2 border-[#0F62FE] bg-[#0F62FE] px-6 py-4 font-galano text-white hover:bg-white hover:text-[#0F62FE] md:w-auto",disabled:t,children:t?(0,s.jsx)(g.A,{className:"size-5 animate-spin"}):"Inscrever"})]})})})}function E(){return(0,s.jsxs)("footer",{className:"w-full bg-gradient-to-br from-[#0155AE] to-[#003785] text-white",children:[(0,s.jsx)("div",{className:"container mx-auto px-6 py-12 lg:px-16",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-between gap-8 lg:flex-row lg:gap-12",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,s.jsx)(d.default,{src:f,alt:"Rota22 Logo",className:"h-20 w-auto drop-shadow-lg md:h-24"}),(0,s.jsx)("div",{className:"hidden text-left md:block",children:(0,s.jsx)("h2",{className:"text-2xl font-bold",children:"Rota22"})})]}),(0,s.jsx)("div",{className:"w-full max-w-md",children:(0,s.jsx)(S,{})})]})}),(0,s.jsx)("div",{className:"border-t border-blue-400/20",children:(0,s.jsx)("div",{className:"container mx-auto px-6 py-12 lg:px-16",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4",children:[(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-bold text-yellow-300",children:"Navega\xe7\xe3o"}),(0,s.jsxs)("nav",{className:"space-y-3",children:[(0,s.jsx)(u(),{href:"/about",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Sobre"}),(0,s.jsx)(u(),{href:"/events",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Agenda"}),(0,s.jsx)(u(),{href:"/investments",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Investimentos"}),(0,s.jsx)(u(),{href:"/plan",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Fala, Patriota!"})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-bold text-yellow-300",children:"Recursos"}),(0,s.jsxs)("nav",{className:"space-y-3",children:[(0,s.jsx)(u(),{href:"/news",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Not\xedcias"}),(0,s.jsx)(u(),{href:"/photos",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Galeria"}),(0,s.jsx)(u(),{href:"/terms-of-use",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Termos de Uso"}),(0,s.jsx)(u(),{href:"/privacy-policy",className:"block text-blue-100 transition-colors hover:text-yellow-300 hover:underline",children:"Privacidade"})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-bold text-yellow-300",children:"Baixe o App"}),(0,s.jsx)("p",{className:"text-sm text-blue-100",children:"Tenha acesso completo \xe0s informa\xe7\xf5es na palma da sua m\xe3o"}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)(u(),{href:"https://apps.apple.com/br/app/rota-22/id6744206810",target:"_blank",rel:"noopener noreferrer",className:"block transition-transform hover:scale-105",children:(0,s.jsx)(d.default,{src:x.default,alt:"Baixar na App Store",className:"h-10 w-auto"})}),(0,s.jsx)(u(),{href:"https://play.google.com/store/apps/details?id=br.com.nut.rota22app",target:"_blank",rel:"noopener noreferrer",className:"block transition-transform hover:scale-105",children:(0,s.jsx)(d.default,{src:m.default,alt:"Baixar no Google Play",className:"h-10 w-auto"})})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h3",{className:"text-lg font-bold text-yellow-300",children:"Siga-nos"}),(0,s.jsx)("p",{className:"text-sm text-blue-100",children:"Fique por dentro de todas as novida
1des"}),(0,s.jsxs)("div",{className:"flex space-x-4",children:[(0,s.jsx)(u(),{href:"https://www.youtube.com/channel/UCu4JabMGEbbOvjNouDa5uAA",target:"_blank",rel:"noopener noreferrer",className:"group",children:(0,s.jsx)(b.I,{name:"youtube",className:"h-8 w-8 rounded-lg bg-white/10 p-2 transition-all group-hover:scale-110 group-hover:bg-red-600"})}),(0,s.jsx)(u(),{href:"https://www.facebook.com/plnacional22",target:"_blank",rel:"noopener noreferrer",className:"group",children:(0,s.jsx)(b.I,{name:"facebook",className:"h-8 w-8 rounded-lg bg-white/10 p-2 transition-all group-hover:scale-110 group-hover:bg-blue-600"})}),(0,s.jsx)(u(),{href:"https://www.instagram.com/pl22rn/",target:"_blank",rel:"noopener noreferrer",className:"group",children:(0,s.jsx)(b.I,{name:"instagram",className:"h-8 w-8 rounded-lg bg-white/10 p-2 transition-all group-hover:scale-110 group-hover:bg-pink-600"})})]})]})]})})}),(0,s.jsx)("div",{className:"border-t border-blue-400/20 bg-black/20",children:(0,s.jsx)("div",{className:"container mx-auto px-6 py-6 lg:px-16",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-between gap-4 text-sm text-blue-100 md:flex-row",children:[(0,s.jsx)("p",{children:"\xa9 2025 Rota 22. Todos os direitos reservados."}),(0,s.jsxs)("p",{children:["Desenvolvido pela",(0,s.jsxs)(u(),{href:"https://nutit.com.br/",className:"cursor-pointer hover:underline",children:[" ","NUT"]})]})]})})})]})}var R=a(59007),L=a(44622);let I={src:"/_next/static/media/fiav-logo.0ab82049.svg",height:48,width:84,blurWidth:0,blurHeight:0},z={src:"/_next/static/media/pl-logo.85b8044a.svg",height:48,width:45,blurWidth:0,blurHeight:0};var U=a(70957),_=a(10225),B=a(45333),P=a(35080),H=a(35409),$=a(51444),G=a(85406);function O(){let[e,t]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1),c=(0,i.useRef)(null),{isAuthenticated:h,logout:x,userLogged:m}=(0,$.n)(),b=(0,o.useRouter)(),p=(0,o.usePathname)(),{state:g,updateState:v}=(0,G.y)(),{state:w,getLocation:N,loading:y}=(0,P.A)(),{data:A,isPending:C}=(0,H.K)(),k=(0,i.useMemo)(()=>A?A.content.map(e=>({label:e.name,value:String(e.id),abbreviation:e.abbreviation})):[],[A]),F=()=>{x(),j.oR.success("Saiu com sucesso!"),l(!1),localStorage.removeItem("selectedState")},S=()=>{t(!1);let e=encodeURIComponent(p);b.push("/login?returnUrl=".concat(e))},E=()=>{b.push("/home#get-the-app"),t(!1)},O=[{href:"/home",label:"Home"},{href:"/about",label:"Sobre"},{href:"/events",label:"Agenda"},{href:"/investments",label:"O que fizemos!"},{href:"/plan",label:"Fala, Patriota!"},{href:"/photos",label:"Fotos"},{href:"/news",label:"Not\xedcias"}],V=e=>"/home"===e?"/"===p||"/home"===p:p.startsWith(e);return(0,i.useEffect)(()=>{function e(e){c.current&&!c.current.contains(e.target)&&l(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[c]),(0,i.useEffect)(()=>{if(h&&(null==m?void 0:m.state)){let e={id:m.state.id,name:m.state.name,abbreviation:m.state.abbreviation};v(e),localStorage.setItem("selectedState",JSON.stringify(e));return}let e=localStorage.getItem("selectedState");if(e)try{let t=JSON.parse(e);v(t);return}catch(e){localStorage.removeItem("selectedState")}if(w){v(w),localStorage.setItem("selectedState",JSON.stringify(w));return}N()},[h,null==m?void 0:m.state,w,v,N]),(0,s.jsxs)("nav",{className:"fixed top-0 z-[999] w-full",children:[(0,s.jsx)("div",{className:"mx-auto flex max-w-[2084px] justify-center bg-[#FFC43C] py-1",children:(0,s.jsx)("div",{className:"max-h-[45px] w-full max-w-[200px]",children:C||y&&null==g?(0,s.jsx)(_.R,{title:""}):(0,s.jsx)(U.G,{id:"state",searchPlaceHolder:"Buscar estado",options:k,defaultValue:k.map(e=>({id:e.value,name:e.label})).find(e=>e.id===String(null==g?void 0:g.id)),value:String(null==g?void 0:g.id),onChange:e=>{let t=k.find(t=>t.value===e.value),a={id:Number(e.value),name:e.label,abbreviation:null==t?void 0:t.abbreviation};v(a),localStorage.setItem("selectedState",JSON.stringify(a))},navBarVersion:!0})})}),(0,s.jsx)("div",{className:"mx-auto max-w-[2084px] bg-[#0155AE]",children:(0,s.jsxs)("div",{className:"flex items-center justify-between px-4 py-3",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-6",children:[(0,s.jsx)(u(),{href:"/home",className:"transition-transform hover:scale-105",children:(0,s.jsx)("div",{className:"h-[54px] w-[38px]",children:(0,s.jsx)(d.default,{src:f,alt:"Rota 22 Logo",className:"h-full w-full object-contain",priority:!0})})}),(0,s.jsx)("div",{className:"hidden h-8 w-px bg-white/30 sm:block"}),(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)(u(),{href:"/home",className:"transition-transform hover:scale-105",children:(0,s.jsx)("div",{className:"h-[40px] w-[36px]",children:(0,s.jsx)(d.default,{src:z,alt:"PL Logo",className:"h-full w-full object-contain"})})}),(0,s.jsx)(u(),{href:"/home",className:"transition-transform hover:scale-105",children:(0,s.jsx)("div",{className:"h-[40px] w-[70px]",children:(0,s.jsx)(d.default,{src:I,alt:"FIAV Logo",className:"h-full w-full object-contain"})})})]})]}),(0,s.jsxs)("div",{className:"hidden items-center space-x-6 xl:flex",children:[O.map(e=>(0,s.jsxs)(u(),{href:e.href,className:"relative px-3 py-2 text-sm font-medium transition-all duration-200 hover:text-[#FFC43C] ".concat(V(e.href)?"text-[#FFC43C]":"text-white"),children:[e.label,V(e.href)&&(0,s.jsx)("div",{className:"absolute -bottom-1 left-0 h-0.5 w-full bg-[#FFC43C]"})]},e.href)),(0,s.jsxs)("div",{className:"ml-6 flex items-center space-x-7",children:[h?(0,s.jsxs)("div",{className:"relative",ref:c,children:[(0,s.jsxs)("button",{onClick:()=>l(!a),className:"flex items-center justify-center rounded-full bg-transparent text-[#FFC43C] transition-all duration-200",children:[(0,s.jsx)(B.yC,{size:32}),(0,s.jsx)(R.A,{size:20})]}),a&&(0,s.jsxs)("div",{className:"absolute right-0 mt-2 w-48 origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-black ring-opacity-5",children:[(0,s.jsx)(u(),{href:"/profile",className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100",onClick:()=>l(!1),children:"Meu perfil"}),(0,s.jsx)("button",{onClick:F,className:"block w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",children:"Sair"})]})]}):(0,s.jsx)(n.$,{onClick:S,variant:"outline",className:"border-[#FFC43C] bg-transparent text-[#FFC43C] transition-all duration-200 hover:bg-[#FFC43C] hover:text-[#0155AE]",children:"Login"}),(0,s.jsx)(n.$,{onClick:E,className:"bg-[#FFC43C] text-[#0155AE] transition-all duration-200 hover:bg-yellow-400",children:"Baixar o App"})]})]}),(0,s.jsx)("button",{className:"rounded-lg p-2 text-white transition-colors duration-200 hover:bg-white/10 xl:hidden",onClick:()=>t(!e),"aria-label":e?"Fechar menu":"Abrir menu",children:e?(0,s.jsx)(r.A,{className:"h-6 w-6"}):(0,s.jsx)(L.A,{className:"h-6 w-6"})})]})}),e&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute left-0 top-full w-full bg-[#0155AE]/95 shadow-2xl backdrop-blur-md xl:hidden",children:(0,s.jsxs)("div",{className:"mx-auto max-w-[2084px] px-4 py-6",children:[(0,s.jsx)("div",{className:"space-y-1",children:O.map(e=>(0,s.jsxs)(u(),{href:e.href,className:"flex items-center justify-between rounded-lg px-4 py-3 text-sm font-medium transition-all duration-200 ".concat(V(e.href)?"border-l-4 border-[#FFC43C] bg-[#FFC43C]/10 text-[#FFC43C]":"text-white hover:bg-white/5 hover:text-[#FFC43C]"),onClick:()=>t(!1),children:[(0,s.jsx)("span",{children:e.label}),V(e.href)&&(0,s.jsx)("div",{className:"h-2 w-2 rounded-full bg-[#FFC43C]"})]},e.href))}),(0,s.jsxs)("div",{className:"mt-6 space-y-3 border-t border-white/20 pt-6",children:[h?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u(),{href:"/profile",className:"w-full",onClick:()=>t(!1),children:(0,s.jsx)(n.$,{variant:"outline",className:"w-full border-white bg-transparent text-white transition-all duration-200 hover:bg-white hover:text-[#0155AE]",children:"Meu perfil"})}),(0,s.jsx)(n.$,{onClick:F,variant:"outline",className:"w-full border-white bg-transparent text-white transition-all duration-200 hover:bg-white hover:text-[#0155AE]",children:"Sair"})]}):(0,s.jsx)(n.$,{onClick:S,variant:"outline",className:"w-full border-[#FFC43C] bg-transparent text-[#FFC43C] transition-all duration-200 hover:bg-[#FFC43C] hover:text-[#0155AE]",children:"Login"}),(0,s.jsx)(n.$,{onClick:E,className:"w-full bg-[#FFC43C] text-[#0155AE] transition-all duration-200 hover:bg-yellow-400",children:"Baixar o App"})]})]})}),(0,s.jsx)("div",{className:"fixed inset-0 -z-10 bg-black/30 backdrop-blur-sm xl:hidden",onClick:()=>t(!1)})]})]})}function V(e){let{children:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(O,{}),(0,s.jsx)(c,{}),(0,s.jsx)("main",{className:"mx-auto max-w-[2084px]",children:(0,s.jsx)("div",{className:"min-h-screen pt-24",children:t})}),(0,s.jsx)(E,{})]})}},33854:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>s});let s={src:"/_next/static/media/appleStore.83726d2d.svg",height:40,width:120,blurWidth:0,blurHeight:0}},35080:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(12115),l=a(85406),r=a(35409);let o="https://nominatim.openstreetmap.org/reverse",i=new Set([o]),n=async(e,t)=>{if(!Number.isFinite(e)||!Number.isFinite(t)||e<-90||e>90||t<-180||t>180)throw Error("Coordenadas inv\xe1lidas");let a=new URLSearchParams({format:"json",lat:e.toFixed(6),lon:t.toFixed(6),addressdetails:"1"});if(i.has(o)){let e=await fetch("".concat(o,"?").concat(a.toString()));if(!e.ok)throw Error("Erro ao buscar estado");return(await e.json()).address.state||null}throw Error("Servi\xe7o de geolocaliza\xe7\xe3o n\xe3o permitido")},c=()=>
1{let[e,t]=(0,s.useState)(null),[a,o]=(0,s.useState)(null),[i,c]=(0,s.useState)(!1),[d,h]=(0,s.useState)(null),{data:u,isLoading:x}=(0,r.K)(),{updateState:m}=(0,l.y)(),f=(0,s.useRef)(!1);return{location:e,state:d,error:a,loading:i,getLocation:(0,s.useCallback)(()=>{if(!f.current){if(f.current=!0,!("geolocation"in navigator)){o({code:0,message:"Geolocaliza\xe7\xe3o n\xe3o \xe9 suportada neste navegador."}),h({id:0,name:"global",abbreviation:"global"}),m({id:0,name:"global",abbreviation:"global"});return}if(x||!u){f.current=!1;return}c(!0),navigator.geolocation.getCurrentPosition(async e=>{let{coords:a}=e;try{let{latitude:e,longitude:s}=a,l=await n(e,s),r=null;l&&u.content&&(r=u.content.find(e=>e.name.toLowerCase()===l.toLowerCase()||e.abbreviation.toLowerCase()===l.toLowerCase())||null),t({latitude:e,longitude:s}),h(r),c(!1)}catch(e){o({code:500,message:"Falha ao obter estado"}),c(!1)}},e=>{o({code:e.code,message:e.message}),c(!1)})}},[x,u,m])}}},35196:(e,t,a)=>{Promise.resolve().then(a.bind(a,16618))},65142:(e,t,a)=>{"use strict";a.d(t,{p:()=>o});var s=a(95155),l=a(12115),r=a(64269);let o=(0,l.forwardRef)((e,t)=>{let{className:a,type:o,onChange:i,resetTrigger:n,...c}=e,[d,h]=(0,l.useState)("Selecione os arquivos");return((0,l.useEffect)(()=>{n&&h("Selecione os arquivos")},[n]),"file"===o)?(0,s.jsxs)("label",{className:"flex h-10 w-full cursor-pointer items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 md:text-sm",children:[(0,s.jsx)("span",{className:"truncate text-muted-foreground",children:d}),(0,s.jsx)("input",{type:"file",className:"hidden",ref:t,multiple:!0,onChange:e=>{let t=e.target.files;if(null==t?void 0:t.length){let e=Array.from(t).map(e=>e.name);h(e.length>1?"".concat(e.length," arquivos selecionados"):e[0])}else h("Selecione os arquivos");i&&i(e)},...c})]}):(0,s.jsx)("input",{type:o,className:(0,r.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,onChange:i,...c})});o.displayName="Input"},85406:(e,t,a)=>{"use strict";a.d(t,{y:()=>o});var s=a(25959),l=a(89863);let r={state:null,city:null,_hasHydratedLocation:!1},o=(0,s.v)((0,l.Zr)(e=>({...r,updateCity:t=>{e({city:t})},updateState:t=>{e({state:t})},resetCity:()=>e({city:null}),resetLocation:()=>e(r)}),{name:"rota-22-location",storage:(0,l.KU)(()=>localStorage),onRehydrateStorage:()=>e=>{e&&(e._hasHydratedLocation=!0)}}))}},e=>{e.O(0,[1356,5707,2619,1186,131,1753,583,5518,8633,4106,3499,6421,8441,1255,7358],()=>e(e.s=35196)),_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.