(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2146],{47915:function(e,a,s){"use strict";var t=s(57437),l=s(2265),n=s(41991),c=s(82670),o=s(87957),r=s(96602),i=s.n(r),d=s(98955),u=s(83553),m=s(18617),x=s(7908);a.Z=e=>{let{course:a,onClose:s,redirect:r=!1,title:h,whatsAppNumber:p}=e,[f,g]=(0,l.useState)(!1),j=d.Z.get("IndicationVendedor"),[N,A]=(0,l.useState)(""),[v,b]=(0,l.useState)(""),{executeRecaptcha:C}=(0,m.xX)(),E=n.Ry({name:n.Z_().required(),cellphone:n.Z_().required(),email:n.Z_().required(),_graduado:n.Z_().required(),areainteresse:n.Z_(),ensinoMedioCompleto:n.Z_(),modalidadedeEnsino:n.Z_().required(),IdentifierSeller:n.Z_(),IdentifierIndication:n.Z_(),course:n.Z_()}).required();(0,l.useEffect)(()=>{if(j){let e=JSON.parse(j);w("IdentifierSeller",e.IdentifierSeller),w("IdentifierIndication",e.IdentifierIndication)}w("modalidadedeEnsino","EaD"),w("course",a)},[]);let{register:S,getValues:I,setValue:w,formState:{errors:D,isValid:O}}=(0,c.cI)({resolver:(0,o.X)(E),mode:"onChange",reValidateMode:"onChange"});(0,l.useEffect)(()=>{sessionStorage.getItem("UnicaDataForm")&&y()},[]);let y=()=>{window.open("https://api.whatsapp.com/send/?phone=".concat(p||"558007242300","&text=Ol%C3%A1%21+Gostaria+de+tirar+algumas+d%C3%BAvidas.&type=phone_number&app_absent=0"),"_blank"),s&&s()},R=async e=>{g(!0),A("");let a=I();a.areainteresse;let s={idform:363,codForm:"df7615cf6e8cf14f5fa0030fa9418d77",dataLayer:"disciplina-isolada",data:{fullname:a.name,email:a.email,phone:a.cellphone,rea_de_interesse:"Disciplina Isolada",est_cursando_uma_graduao:a._graduado,modalidade_de_ensino:a.modalidadedeEnsino,identificador_indicador:a.IdentifierIndication,identificador_vendedor:a.IdentifierSeller,curso_de_interesse:a.course}};if(null===a._graduado||""===a._graduado){g(!1),A('Campo "Voc\xea possui uma faculdade?" \xe9 obrigat\xf3rio');return}if(!/^[\w-]+(?:\.[\w-]+)*@(?:[\w-]+\.)+[a-zA-Z]{2,}$/.test(a.email)){g(!1),A("Email inv\xe1lido");return}(async function(){try{var t,l;let n=await (0,x.Z)({method:"post",url:"/api/contactFormSubmit",data:{gRecaptchaToken:e},headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json"}});if((null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.success)===!0){sessionStorage.setItem("UnicaDataFormIsolada",JSON.stringify(a));let e=[];if(["fullname","email","phone"].forEach(a=>{s.data[a]||e.push(a)}),e.length>0)g(!1),A("Todos os campos s\xe3o obrigat\xf3rios");else{await (0,u.Iz)(s),g(!1);let e=document.getElementById("pos-list-area");e&&e.scrollIntoView({behavior:"smooth"}),setInterval(()=>{window.location.reload()},300)}}else b("Failure with score: ".concat(null==n?void 0:null===(l=n.data)||void 0===l?void 0:l.score))}catch(e){b("Error submitting the form"),console.error(e)}})().then(()=>{})};return(0,t.jsxs)("div",{id:"form",children:[(0,t.jsx)("div",{className:"row",children:(0,t.jsx)("div",{className:"title-form mb-3 mt-4",style:{textAlign:"center"},children:h?(0,t.jsx)("h1",{children:h}):(0,t.jsxs)("h1",{children:["D\xea o primeiro passo para o sucesso profissional ",a]})})}),N?(0,t.jsx)("div",{className:"row",style:{textAlign:"right",color:"red"},children:(0,t.jsxs)("span",{children:[N,"*"]})}):null,(0,t.jsx)("div",{className:"row content-form",children:(0,t.jsx)("div",{className:"col",children:(0,t.jsxs)("div",{className:"form",children:[(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"nomeCompleto",children:"Nome Completo"}),(0,t.jsx)("input",{type:"text",className:"form-control",id:"fullname",placeholder:"Nome Completo",required:!0,...S("name")})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"Email",children:"E-mail"}),(0,t.jsx)("input",{type:"email",className:"form-control",id:"email",placeholder:"Digite seu e-mail",required:!0,...S("email")})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"WhatsApp",children:"WhatsApp"}),(0,t.jsx)(i(),{type:"text",id:"phone",mask:"+55 (99)9 9999-9999",required:!0,...S("cellphone"),placeholder:"Digite seu whatsapp"})]}),(0,t.jsxs)("div",{className:"form-group",children:[(0,t.jsx)("label",{htmlFor:"possuiEnsinoMedio",children:"Voc\xea possui uma faculdade?"}),(0,t.jsxs)("select",{required:!0,...S("_graduado"),children:[(0,t.jsx)("option",{}),(0,t.jsx)("option",{value:"N\xe3o",children:"N\xe3o"}),(0,t.jsx)("option",{value:"Sim",children:"Sim"})]})]}),(0,t.jsx)("div",{className:"container-button",style:{textAlign:"center"},children:(0,t.jsx)("button",{className:"primary button mt-3",onClick:function(e){if(e.preventDefault(),!C){console.log("Execute recaptcha not available yet"),b("Execute recaptcha not available yet likely meaning key not recaptcha key not set");return}C("enquiryFormSubmit").then(e=>{R(e)})},children:f?(0,t.jsxs)("div",{className:"leading-form-cta",children:[(0,t.jsx)("div",{className:"spinner-border text-light",role:"status"}),(0,t.jsx)("div",{children:"Carregando"})]}):"INICIAR INSCRI\xc7\xc3O"})})]})})})]})}},66038:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return r}});var t=s(57437),l=s(54813),n=s(52235),c=s(20703),o=s(2265);function r(){let[e,a]=(0,o.useState)(!1),s=(0,o.useRef)(null);return(0,t.jsxs)("div",{className:"mt-4 flex flex-col",children:[(0,t.jsxs)("div",{className:"mb-3 flex items-center gap-3",children:[(0,t.jsxs)("h2",{id:"consultarmec",className:"max-w-[750px] gap-3 text-lg font-semibold lg:cursor-pointer lg:text-2xl",onClick:()=>{if(a(!e),e){let e=document.getElementById("imagemEmec");e&&e.classList.remove("hidden")}else{let e=document.getElementById("imagemEmec");e&&e.classList.add("hidden")}},children:["Consulte ",(0,t.jsx)("span",{className:"text-[#2424d4]",children:"aqui"})," o cadastro da Institui\xe7\xe3o no Sistema E-Mec"," "]}),e?(0,t.jsx)(n.Z,{className:"h-6 w-6"}):(0,t.jsx)(l.Z,{className:"h-6 w-6"})]}),e?(0,t.jsx)("div",{className:"relative top-auto mb-4 flex overflow-auto rounded-[20px] ".concat(e?"z-20":"z-[-99999]"," ").concat(e?"menu-open":"menu-closed"),ref:s,children:(0,t.jsx)("iframe",{style:{width:"100%",height:"70vh"},src:"https://emec.mec.gov.br/emec/consulta-cadastro/detalhamento/d96957f455f6405d14c6542552b0f6eb/NDgyMQ=="})}):null,(0,t.jsx)(c.default,{src:"/faculdadeprominase-mec.webp",alt:"Selo EMEC da Faculdade \xdanica",width:97,height:161,className:"mb-3 xl:hidden"})]})}},69581:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return o}});var t=s(57437),l=s(8792);s(14461);var n=s(54562),c=s(89811);function o(){let{agencyPartner:e}=(0,n.gE)(),{whatsApp:a}=(0,n.Lh)();return(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"mt-4 text-lg font-semibold lg:text-2xl",children:"Links \xfateis:"}),(0,t.jsxs)("div",{className:"wrapper-links mt-4 space-y-4 lg:space-y-0",children:[e?null:(0,t.jsx)("div",{className:"flex items-center gap-3 text-base",children:(0,t.jsx)(l.default,{id:"seja-um-embaixador",href:"/indicacao",className:"hover-effect",style:{color:"var(--text-color)"},children:"Seja em embaixador"})}),(0,t.jsx)("div",{className:"flex items-center gap-3 text-base",children:(0,t.jsx)(l.default,{id:"fale-com-a-gente",href:a?"https://api.whatsapp.com/send?phone=".concat(a):"https://api.whatsapp.com/send?phone=553190674087",target:"_blank",className:"hover-effect",style:{color:"var(--text-color)"},children:"Fale com a gente"})}),(0,t.jsx)("div",{className:"flex items-center gap-3 text-base",children:(0,t.jsx)(l.default,{id:"privacidade",href:c.ce.term,target:"_blank",className:"hover-effect",style:{color:"var(--text-color)"},children:"Termos de Privacidade"})}),e?null:(0,t.jsx)("div",{className:"flex items-center gap-3 text-base",children:(0,t.jsxs)(l.default,{id:"relatorio-de-transparencia",href:"https://storage.googleapis.com/sites-grupo-prominas/faculdade-unica/Relato%CC%81rio%20-%20IGUALDADE%20SALARIAL.pdf",target:"_blank",className:"hover-effect",style:{color:"var(--text-color)"},children:[(0,t.jsx)("h2",{className:"min-[1023px]:hidden",children:"Relat\xf3rio de Transpar\xeancia e Igualdade Salarial"}),(0,t.jsx)("h2",{className:"max-[1023px]:hidden",children:"Relat\xf3rio de Transpar\xeancia"})]})})]})]})}},66:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return b}});var t=s(57437),l=s(67624),n=s(58570),c=s(27735),o=s(79849),r=s(76407);function i(e){let{title:a,icon:s,href:l,isActive:n}=e;return(0,t.jsxs)("a",{href:l||"/",className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},children:[(0,t.jsx)(s,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base ".concat(n?"isActive":""),style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:a})]})}var d=s(54562),u=s(47915),m=s(14178),x=s(6013),h=s(7725),p=s(19901),f=s(2265),g=s(89811),j=s(20703),N=s(67325),A=s(69100),v=s(91774);function b(e){let{pageRoute:a}=e,{agencyPartner:s}=(0,d.gE)(),[b,C]=(0,f.useState)(!1),[E,S]=(0,f.useState)(!1),[I,w]=(0,f.useState)(!1),[D,O]=(0,f.useState)(!1),[y,R]=(0,f.useState)(!1),[_,Z]=(0,f.useState)(!1),[G,U]=(0,f.useState)(!1),[F,k]=(0,f.useState)(!1),{theme:T}=(0,v.F)(),z="light"===T?"bg-white":"bg-black",M=()=>{R(!0)},P=()=>{R(!1)},L=()=>{Z(!0)},B=()=>{Z(!1)},V=()=>{U(!0)},X=()=>{U(!1)},q=()=>{k(!0)},J=()=>{k(!1)};(0,f.useEffect)(()=>{let e=sessionStorage.getItem("UnicaDataFormGrad"),a=sessionStorage.getItem("UnicaDataFormSeg"),s=sessionStorage.getItem("UnicaDataFormIsolada"),t=sessionStorage.getItem("UnicaDataFormGratis");e&&C(!0),a&&S(!0),s&&w(!0),t&&O(!0)},[]),console.log("modalIsolada",I);let W=()=>{window.open("https://api.whatsapp.com/send/?phone='558007242300'&text=Ol%C3%A1%21+Gostaria+de+tirar+algumas+d%C3%BAvidas.&type=phone_number&app_absent=0","_blank"),window.location.reload()};return(0,t.jsxs)(t.Fragment,{children:[b?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:M,children:[(0,t.jsx)(l.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Gradua\xe7\xe3o"})]}),(0,t.jsx)(m.R,{isOpen:y,placement:"center",onOpenChange:P,className:"rounded- mx-2 rounded-2xl  backdrop-blur-2xl ".concat(z," "),children:(0,t.jsx)(x.A,{children:(0,t.jsx)(h.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase ",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:W,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(j.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:M,children:[(0,t.jsx)(l.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Gradua\xe7\xe3o"})]}),(0,t.jsx)(m.R,{isOpen:y,placement:"center",onOpenChange:P,className:"mx-2  backdrop-blur-2xl sm:mx-3 ".concat(z," rounded-2xl"),children:(0,t.jsx)(x.A,{children:e=>(0,t.jsx)(h.I,{children:(0,t.jsx)(p.Z,{course:g.$2["Gradua\xe7\xe3o"],onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC",redirect:!0})})})})]}),E?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:L,children:[(0,t.jsx)(n.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Segunda Gradua\xe7\xe3o"})]}),(0,t.jsx)(m.R,{isOpen:_,placement:"center",onOpenChange:B,className:"rounded- mx-2 rounded-2xl  backdrop-blur-2xl ".concat(z," "),children:(0,t.jsx)(x.A,{children:(0,t.jsx)(h.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase ",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:W,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(j.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:L,children:[(0,t.jsx)(n.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Segunda Gradua\xe7\xe3o"})]}),(0,t.jsx)(m.R,{isOpen:_,placement:"center",onOpenChange:B,className:"mx-2  backdrop-blur-2xl sm:mx-3 ".concat(z," rounded-2xl"),children:(0,t.jsx)(x.A,{children:e=>(0,t.jsx)(h.I,{children:(0,t.jsx)(N.Z,{course:g.$2["Gradua\xe7\xe3o"],onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC",redirect:!0})})})})]}),(0,t.jsx)(i,{title:"P\xf3s-Gradua\xe7\xe3o",icon:c.Z,href:"/pos-graduacao",isActive:"/pos-graduacao"===a}),I?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:V,children:[(0,t.jsx)(o.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Disciplina Isolada"})]}),(0,t.jsx)(m.R,{isOpen:G,placement:"center",onOpenChange:X,className:"rounded- mx-2 rounded-2xl  backdrop-blur-2xl ".concat(z," "),children:(0,t.jsx)(x.A,{children:(0,t.jsx)(h.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase ",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:W,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(j.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:V,children:[(0,t.jsx)(o.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Disciplina Isolada"})]}),(0,t.jsx)(m.R,{isOpen:G,placement:"center",onOpenChange:X,className:"mx-2  backdrop-blur-2xl sm:mx-3 ".concat(z," rounded-2xl"),children:(0,t.jsx)(x.A,{children:e=>(0,t.jsx)(h.I,{children:(0,t.jsx)(u.Z,{course:g.$2["Gradua\xe7\xe3o"],onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC",redirect:!0})})})})]}),s?null:(0,t.jsx)(t.Fragment,{children:D?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:q,children:[(0,t.jsx)(r.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Cursos Gr\xe1tis"})]}),(0,t.jsx)(m.R,{isOpen:F,placement:"center",onOpenChange:J,className:"rounded- mx-2 rounded-2xl  backdrop-blur-2xl ".concat(z," "),children:(0,t.jsx)(x.A,{children:(0,t.jsx)(h.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase ",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:W,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(j.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{className:"group flex items-center gap-2 rounded p-2 lg:gap-1 xl:gap-3",style:{color:"var(--text-color)"},onClick:q,children:[(0,t.jsx)(r.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect text-sm font-normal xl:text-base",style:{color:"var(--text-color)",fontFamily:"Poppins, sans-serif"},children:"Cursos Gr\xe1tis"})]}),(0,t.jsx)(m.R,{isOpen:F,placement:"center",onOpenChange:J,className:"mx-2  backdrop-blur-2xl sm:mx-3 ".concat(z," rounded-2xl"),children:(0,t.jsx)(x.A,{children:e=>(0,t.jsx)(h.I,{children:(0,t.jsx)(A.Z,{onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC"})})})})]})})]})}},96295:function(e,a,s){"use strict";s.d(a,{L:function(){return n}});var t=s(57437),l=s(37805);function n(e){let{title:a,icon:s,href:n,isActive:c,target:o,id:r}=e;return(0,t.jsxs)("a",{href:n||"/",target:o,className:"group flex items-center gap-3 border-b py-4",id:r||"".concat(r,"-area"),children:[(0,t.jsx)(s,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700 ".concat(c?"isActive":""),style:{color:"var(--text-color)"},children:a}),(0,t.jsx)(l.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]})}},39389:function(e,a,s){"use strict";s.r(a),s.d(a,{FirstHeaderSectionMobile:function(){return S}});var t=s(57437),l=s(2265),n=s(52235),c=s(23441),o=s(67624),r=s(37805),i=s(58570),d=s(27735),u=s(79849),m=s(76407),x=s(96295),h=s(54562),p=s(47915),f=s(14178),g=s(6013),j=s(7725),N=s(20703),A=s(19901),v=s(89811),b=s(67325),C=s(69100),E=s(91774);function S(e){let{pageRoute:a}=e,[s,S]=(0,l.useState)(!1),I=(0,l.useRef)(null),[w,D]=(0,l.useState)(!1),[O,y]=(0,l.useState)(!1),[R,_]=(0,l.useState)(!1),[Z,G]=(0,l.useState)(!1),[U,F]=(0,l.useState)(!1),[k,T]=(0,l.useState)(!1),[z,M]=(0,l.useState)(!1),[P,L]=(0,l.useState)(!1),{theme:B}=(0,E.F)(),V="light"===B?"bg-white":"bg-black",X=()=>{F(!0)},q=()=>{F(!1)},J=()=>{T(!0)},W=()=>{T(!1)},H=()=>{M(!0)},$=()=>{M(!1)},K=()=>{L(!0)},Q=()=>{L(!1)};(0,l.useEffect)(()=>{let e=sessionStorage.getItem("UnicaDataFormGrad"),a=sessionStorage.getItem("UnicaDataFormSeg"),s=sessionStorage.getItem("UnicaDataFormIsolada"),t=sessionStorage.getItem("UnicaDataFormGratis");e&&D(!0),a&&y(!0),s&&_(!0),t&&G(!0)},[]),console.log("modalIsolada",R);let Y=()=>{window.open("https://api.whatsapp.com/send/?phone='558007242300'&text=Ol%C3%A1%21+Gostaria+de+tirar+algumas+d%C3%BAvidas.&type=phone_number&app_absent=0","_blank"),window.location.reload()},ee=()=>{S(!s),s?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden")},{agencyPartner:ea}=(0,h.gE)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{id:"dropdown-menu",children:s?(0,t.jsx)(n.Z,{className:"icon-transition",onClick:ee}):(0,t.jsx)(c.Z,{className:"icon-transition",onClick:ee})}),s?(0,t.jsx)("div",{className:"fixed left-0 top-12 flex h-full w-full lg:top-16 ".concat(s?"z-[99999]":"z-[-99999]"," ").concat(s?"menu-open":"menu-closed"),style:{backgroundColor:"var(--bg-color)"},ref:I,children:(0,t.jsxs)("div",{className:"w-full rounded-lg px-7",children:[w?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:X,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(o.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Gradua\xe7\xe3o"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:U,placement:"center",onOpenChange:q,className:"rounded- mx-2 rounded-2xl backdrop-blur-2xl ".concat(V," "),children:(0,t.jsx)(g.A,{children:(0,t.jsx)(j.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:Y,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(N.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:X,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(o.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Gradua\xe7\xe3o"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:U,placement:"center",onOpenChange:q,className:"mx-2 backdrop-blur-2xl sm:mx-3 ".concat(V),children:(0,t.jsx)(g.A,{children:e=>(0,t.jsx)(j.I,{children:(0,t.jsx)(A.Z,{course:v.$2["Gradua\xe7\xe3o"],onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC",redirect:!0})})})})]}),O?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:J,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(i.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Segunda Gradua\xe7\xe3o"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:k,placement:"center",onOpenChange:W,className:"rounded- mx-2 rounded-2xl backdrop-blur-2xl ".concat(V," "),children:(0,t.jsx)(g.A,{children:(0,t.jsx)(j.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:Y,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(N.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:J,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(i.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Segunda Gradua\xe7\xe3o"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:k,placement:"center",onOpenChange:W,className:"mx-2 backdrop-blur-2xl sm:mx-3 ".concat(V),children:(0,t.jsx)(g.A,{children:e=>(0,t.jsx)(j.I,{children:(0,t.jsx)(b.Z,{course:v.$2["Gradua\xe7\xe3o"],onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC",redirect:!0})})})})]}),(0,t.jsx)(x.L,{title:"P\xf3s-Gradua\xe7\xe3o",icon:d.Z,href:"/pos-graduacao",isActive:"/pos-graduacao"===a}),R?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:H,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(u.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Disciplina Isolada"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:z,placement:"center",onOpenChange:$,className:"rounded- mx-2 rounded-2xl backdrop-blur-2xl ".concat(V," "),children:(0,t.jsx)(g.A,{children:(0,t.jsx)(j.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:Y,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(N.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:H,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(u.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Disciplina Isolada"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:z,placement:"center",onOpenChange:$,className:"mx-2 backdrop-blur-2xl sm:mx-3 ".concat(V),children:(0,t.jsx)(g.A,{children:e=>(0,t.jsx)(j.I,{children:(0,t.jsx)(p.Z,{course:v.$2["Gradua\xe7\xe3o"],onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC",redirect:!0})})})})]}),ea?null:(0,t.jsx)(t.Fragment,{children:Z?(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:K,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(m.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Cursos Gr\xe1tis"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:P,placement:"center",onOpenChange:Q,className:"rounded- mx-2 rounded-2xl backdrop-blur-2xl ".concat(V," "),children:(0,t.jsx)(g.A,{children:(0,t.jsx)(j.I,{children:(0,t.jsxs)("div",{className:"mx-auto w-[80%] text-center uppercase",children:[(0,t.jsx)("h2",{className:"mt-4 text-lg lg:text-xl",children:"Seu interesse nessa modalidade j\xe1 foi registrado!"}),(0,t.jsx)("p",{className:"mt-4",children:"Para mais informa\xe7\xf5es, entre em contato com um de nossos agentes abaixo"}),(0,t.jsx)("button",{onClick:Y,className:"mb-4 mt-7 rounded-2xl bg-[#2424d4] p-3",children:(0,t.jsxs)("h2",{className:"flex items-center gap-4 uppercase text-white",children:["Falar com um agente"," ",(0,t.jsx)(N.default,{src:"/icon/wpp.svg",alt:"logoWhatsApp",width:20,height:20})]})})]})})})})]}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:K,className:"group flex w-full items-center gap-3 border-b py-4",children:[(0,t.jsx)(m.Z,{className:"h-4 w-4 text-zinc-500 lg:h-4 lg:w-4"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700",style:{color:"var(--text-color)"},children:"Cursos Gr\xe1tis"}),(0,t.jsx)(r.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),(0,t.jsx)(f.R,{isOpen:P,placement:"center",onOpenChange:Q,className:"mx-2 backdrop-blur-2xl sm:mx-3 ".concat(V),children:(0,t.jsx)(g.A,{children:e=>(0,t.jsx)(j.I,{children:(0,t.jsx)(C.Z,{onClose:e,title:"MODALIDADE EM BREVE! DEMONSTRE SEU INTERESSE ABAIXO \uD83D\uDC47\uD83C\uDFFC"})})})})]})})]})}):null]})}},37613:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return I}});var t=s(57437),l=s(83484),n=s(54562),c=s(2265);s(66963);var o=s(75527),r=s(14178),i=s(6013),d=s(7725),u=s(91774),m=s(96602),x=s.n(m),h=s(7908),p=s(8792),f=s(55578),g=s(99074),j=s(6689),N=s(87915),A=s(91510),v=s(2470),b=s(81347),C=s(21325);function E(e){let{users:a}=e,[s,l]=c.useState(1),n=Math.ceil(a.length/7),o=c.useMemo(()=>{let e=(s-1)*7;return a.slice(e,e+7)},[s,a]);return(0,t.jsxs)(f.b,{"aria-label":"Example table with client side pagination",bottomContent:(0,t.jsx)("div",{className:"flex w-full justify-center",children:(0,t.jsx)(g.g,{isCompact:!0,showControls:!0,showShadow:!0,color:"secondary",page:s,total:n,onChange:e=>l(e)})}),classNames:{wrapper:"min-h-[222px] header-tables-indication"},children:[(0,t.jsxs)(j.J,{children:[(0,t.jsx)(N.j,{children:"NOME"},"name"),(0,t.jsx)(N.j,{children:"DATA"},"createdAt"),(0,t.jsx)(N.j,{children:"STATUS"},"useVoucher")]}),(0,t.jsx)(A.y,{items:o,children:o.map((e,a)=>(0,t.jsxs)(v.g,{children:[(0,t.jsx)(b.X,{children:e.name}),(0,t.jsx)(b.X,{children:C.iQ.format(new Date(e.createdAt))}),(0,t.jsx)(b.X,{children:!0===e.useVoucher?(0,t.jsx)("span",{className:"intidationActive",children:"Cadastrado"}):(0,t.jsx)("span",{className:" indicationDesactive ",children:"Aguardando"})})]},a))})]})}var S=e=>{let{className:a}=e,{theme:s}=(0,u.F)(),{isOpen:l,onOpen:n,onOpenChange:m}=(0,o.q)(),[f,g]=(0,c.useState)(""),[j,N]=(0,c.useState)(""),[A,v]=(0,c.useState)(!1),[b,C]=(0,c.useState)(""),[S,I]=(0,c.useState)([]),[w,D]=(0,c.useState)(!1),[O,y]=c.useState("md"),R=async e=>{if(e.preventDefault(),v(!0),!f||!b){N("CPF e Data de Nascimento s\xe3o campos obrigat\xf3rios"),v(!1),setTimeout(()=>{N("")},5e3);return}let a=f.replace(/[.-]/g,""),s=b.split("-").reverse().join("-");try{let e=await h.Z.get("/api/indication?cpf=".concat(a,"&birthDate=").concat(s));D(!0),I(e.data.data),y("2xl"),v(!1)}catch(e){N("N\xe3o foi encontrado um aluno com os dados passados."),v(!1),setTimeout(()=>{N("")},8e3)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.default,{className:a,href:"#",color:"foreground",onClick:n,children:"Consultar indica\xe7\xf5es"}),(0,t.jsx)(r.R,{isOpen:l,size:O,placement:"center",onOpenChange:m,className:"".concat("light"===s?"bg-gray-100":"bg-gray-900"," mx-2 sm:mx-3"),children:(0,t.jsx)(i.A,{children:()=>(0,t.jsx)(d.I,{children:w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mt-4 mb-1 title-form",style:{textAlign:"center"},children:(0,t.jsx)("h1",{children:"Minhas Indica\xe7\xf5es"})}),(0,t.jsx)(E,{users:S.indications.paginatedResults})]}):(0,t.jsxs)("div",{className:"container-form",children:[(0,t.jsx)("div",{className:"alert-Form",children:(0,t.jsx)("span",{children:j})}),(0,t.jsxs)("form",{onSubmit:R,children:[(0,t.jsxs)("div",{className:"mt-3 form-group",children:[(0,t.jsx)("label",{className:"label-form-indication",htmlFor:"cpf",children:"Digite seu CPF"}),(0,t.jsx)(x(),{mask:"999.999.999-99",className:"input-form-indication",id:"inputCPF",value:f,placeholder:"Seu CPF",onChange:e=>g(e.target.value)})]}),(0,t.jsxs)("div",{className:"mt-3 form-group",children:[(0,t.jsx)("label",{className:"label-form-indication",htmlFor:"cpf",children:"Digite sua data de Nacimento"}),(0,t.jsx)("input",{className:"input-form-indication",type:"date",placeholder:"Data de nascimento",value:b,onChange:e=>C(e.target.value)})]}),(0,t.jsx)("div",{className:"container-form-button",children:(0,t.jsx)("button",{className:"mt-3 mb-1 cursor-pointer primary button cta-banner",type:"submit",children:A?(0,t.jsxs)("div",{className:"leading-form-cta",children:[(0,t.jsx)("div",{className:"spinner-border text-light",role:"status"}),(0,t.jsx)("div",{children:"Carregando"})]}):"CONSULTAR"})})]})]})})})})]})};function I(e){let{pageRoute:a}=e,{agencyPartner:s}=(0,n.gE)();return s?null:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"hover-effect mr-2 flex items-center",style:{color:"var(--text-color"},children:"/cursos-gratis"!==a?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Z,{className:"mr-3 h-4 w-4 text-zinc-500"}),(0,t.jsx)(S,{})]})})})}},58757:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return m}});var t=s(57437),l=s(18046),n=s(54813),c=s(52235),o=s(2265),r=s(96295),i=s(89811),d=s(67624);function u(e){let{title:a,icon:s,isActive:l,pageRoute:u}=e,[m,x]=(0,o.useState)(!1),h=(0,o.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("h2",{className:"hover-effect duration-50 group flex cursor-pointer items-center gap-2 rounded p-2 transition ease-in-out xl:gap-3",onClick:()=>{x(!m)},id:"nossasareas",children:[(0,t.jsx)(s,{className:"h-4 w-4 text-zinc-500"}),(0,t.jsxs)("span",{className:"hover-effect flex items-center gap-2 text-sm font-medium text-white ease-in-out xl:text-base ".concat(l?"isActive":""),children:[a,m?(0,t.jsx)(c.Z,{className:"h-6 w-6 text-zinc-500"}):(0,t.jsx)(n.Z,{className:"h-6 w-6 text-zinc-500"})]})]}),m?(0,t.jsx)("div",{className:"fixed top-56 flex h-[400px] overflow-auto rounded-b-[20px] lg:top-16 ".concat(m?"z-20":"z-[-99999]"," ").concat(m?"menu-open":"menu-closed"),ref:h,style:{backgroundColor:"var(--bg-color)"},children:(0,t.jsx)("div",{className:"flex w-full flex-col px-7",id:"pegararea",children:(function(e){let{pageRoute:a}=e;return[{title:"Educa\xe7\xe3o",href:"".concat(a+i.ce.EDUCACAO),icon:d.Z,id:"areaeducacao"},{title:"Jur\xeddica",href:"".concat(a+i.ce.JURIDICA),icon:d.Z,id:"areajuridica"},{title:"Engenharias",href:"".concat(a+i.ce.ENGENHARIAS),icon:d.Z,id:"areaengenharias"},{title:"Ci\xeancias da Sa\xfade",href:"".concat(a+i.ce.CIENCIAS_DA_SAUDE),icon:d.Z,id:"areacienciasdasaude"},{title:"Empresarial, TI e Neg\xf3cios",href:"".concat(a+i.ce.EMPRESARIAL_TI_E_NEGOCIOS),icon:d.Z,id:"areaempresarialtienegocios"},{title:"Psicologia",href:"".concat(a+i.ce.PSICOLOGIA),icon:d.Z,id:"areapsicologia"},{title:"Meio Ambiente",href:"".concat(a+i.ce.MEIO_AMBIENTE),icon:d.Z,id:"areameioambiente"},{title:"MBA Executivo",href:"".concat(a+i.ce.MBA_EXECUTIVO),icon:d.Z,id:"areambaexecutivo"},{title:"Servi\xe7o Social",href:"".concat(a+i.ce.SERVICO_SOCIAL),icon:d.Z,id:"areaservi\xe7osocial"},{title:"Est\xe9tica",href:"".concat(a+i.ce.ESTETICA),icon:d.Z,id:"areaestetica"},{title:"Gastronomia",href:"".concat(a+i.ce.GASTRONOMIA),icon:d.Z,id:"areagastronomia"}]})({pageRoute:u}).map(e=>(0,t.jsx)(r.L,{title:e.title,icon:e.icon,href:e.href,id:e.id},e.title))})}):null]})}function m(e){let{pageRoute:a}=e;return(0,t.jsx)(u,{title:"Nossas Areas",icon:l.Z,pageRoute:a})}},89342:function(e,a,s){"use strict";s.r(a),s.d(a,{SecondHeaderSectionMobile:function(){return N}});var t=s(57437),l=s(2265),n=s(52235),c=s(25786),o=s(18046),r=s(83484),i=s(93459),d=s(96295),u=s(37805),m=s(67624),x=s(89811);function h(e){let{title:a,icon:s,isActive:c,pageRoute:o}=e,[r,i]=(0,l.useState)(!1),[h,p]=(0,l.useState)(!1),f=(0,l.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("h2",{className:"group flex items-center gap-3 border-b py-4",onClick:()=>{i(!r),p(!h)},children:[(0,t.jsx)(s,{className:"h-5 w-5 text-zinc-500"}),(0,t.jsx)("span",{className:"hover-effect font-medium text-zinc-700 ".concat(h?"isActive":""),style:{color:"var(--text-color)"},children:a}),r?(0,t.jsx)(n.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"}):(0,t.jsx)(u.Z,{className:"hover-effect ml-auto h-5 w-5 text-zinc-400"})]}),r?(0,t.jsx)("div",{className:"fixed left-0 top-56 flex h-[400px] w-full overflow-auto lg:top-16 ".concat(r?"z-20":"z-[-99999]"," ").concat(r?"menu-open":"menu-closed"),ref:f,style:{backgroundColor:"var(--bg-color)"},children:(0,t.jsx)("div",{className:"flex w-full flex-col px-7",children:(function(e){let{pageRoute:a}=e;return[{title:"Educa\xe7\xe3o",href:"".concat(a+x.ce.EDUCACAO),icon:m.Z},{title:"Jur\xeddica",href:"".concat(a+x.ce.JURIDICA),icon:m.Z},{title:"Engenharias",href:"".concat(a+x.ce.ENGENHARIAS),icon:m.Z},{title:"Ci\xeancias da Sa\xfade",href:"".concat(a+x.ce.CIENCIAS_DA_SAUDE),icon:m.Z},{title:"Empresarial, TI e Neg\xf3cios",href:"".concat(a+x.ce.EMPRESARIAL_TI_E_NEGOCIOS),icon:m.Z},{title:"Psicologia",href:"".concat(a+x.ce.PSICOLOGIA),icon:m.Z},{title:"Meio Ambiente",href:"".concat(a+x.ce.MEIO_AMBIENTE),icon:m.Z},{title:"MBA Executivo",href:"".concat(a+x.ce.MBA_EXECUTIVO),icon:m.Z},{title:"Servi\xe7o Social",href:"".concat(a+x.ce.SERVICO_SOCIAL),icon:m.Z},{title:"Est\xe9tica",href:"".concat(a+x.ce.ESTETICA),icon:m.Z},{title:"Gastronomia",href:"".concat(a+x.ce.GASTRONOMIA),icon:m.Z}]})({pageRoute:o}).map(e=>(0,t.jsx)(d.L,{title:e.title,icon:e.icon,href:e.href},e.title))})}):null]})}var p=s(54562),f=s(54813);function g(e){let{agencyPartner:a}=e,[s,c]=(0,l.useState)(!1),o=(0,l.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{className:"mt-3 flex w-full items-center justify-between rounded-full px-4 py-2 font-semibold lg:hidden",style:{backgroundColor:"var(--secondary-bg-color)"},onClick:()=>{c(!s)},children:["J\xe1 sou aluno",s?(0,t.jsx)(n.Z,{}):(0,t.jsx)(f.Z,{})]}),s?(0,t.jsx)("div",{className:"fixed left-0 top-auto flex h-[400px] w-full overflow-auto lg:top-16 ".concat(s?"z-20":"z-[-99999]"," ").concat(s?"menu-open":"menu-closed"),ref:o,style:{backgroundColor:"var(--bg-color)"},children:(0,t.jsx)("div",{className:"flex w-full flex-col px-7",children:(function(e){let{agencyPartner:a}=e;return a?[{title:"Gradua\xe7\xe3o",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z},{title:"Segunda Gradua\xe7\xe3o",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z},{title:"P\xf3s-Gradua\xe7\xe3o",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z}]:[{title:"Gradua\xe7\xe3o",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z},{title:"Segunda Gradua\xe7\xe3o",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z},{title:"P\xf3s-Gradua\xe7\xe3o",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z},{title:"Disciplina Isolada",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z},{title:"Cursos Gr\xe1tis",href:x.ce.GRADUACAO_OUTSIDE,icon:m.Z}]})({agencyPartner:a}).map(e=>(0,t.jsx)(d.L,{title:e.title,icon:e.icon,href:e.href,target:"_blank"},e.title))})}):null]})}function j(e){let{pageRoute:a}=e,s=(e=>{switch(e){case"/graduacao":return x.ce.GRADUACAO_OUTSIDE;case"/pos-graduacao":return x.ce.POS_GRADUACAO_OUTSIDE;case"/segunda-graduacao":return x.ce.SEGUNDA_GRADUACAO_OUTSIDE;case"/disciplina-isolada":return x.ce.DICIPLINA_ISOLADA_OUTSIDE;case"/cursos-gratis":return x.ce.CURSOS_GRATIS_OUTSIDE}})(a);return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("a",{href:s,className:"mt-3 flex w-full items-center justify-center rounded-full px-4 py-2 font-semibold lg:hidden",style:{backgroundColor:"var(--secondary-bg-color)"},target:"_blank",children:"J\xe1 sou aluno"})})}function N(e){let{pageRoute:a}=e,[s,u]=(0,l.useState)(!1),m=(0,l.useRef)(null),x=()=>{u(!s),s?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden")},{agencyPartner:f}=(0,p.gE)(),{whatsApp:N}=(0,p.Lh)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:s?(0,t.jsx)(n.Z,{className:"icon-transition",onClick:x}):(0,t.jsx)(c.Z,{className:"icon-transition",onClick:x})}),s?(0,t.jsx)("div",{className:"fixed left-0 top-28 flex h-full w-full lg:top-16 ".concat(s?"z-20":"z-[-99999]"," ").concat(s?"menu-open":"menu-closed"),ref:m,style:{backgroundColor:"var(--bg-color)"},children:(0,t.jsxs)("div",{className:"w-full rounded-lg p-7",id:"clicarnossasareas",children:["/pos-graduacao"===a||"/cursos-gratis"===a?(0,t.jsx)(h,{title:"Nossas \xe1reas",icon:o.Z,pageRoute:a}):null,f?null:(0,t.jsx)(d.L,{title:"Indica\xe7\xe3o premiada",icon:r.Z,href:"/indicacao"}),(0,t.jsx)(d.L,{title:"Ajuda",icon:i.Z,href:N?"https://api.whatsapp.com/send?phone=".concat(N):"https://api.whatsapp.com/send?phone=553190674087"}),"/"!==a&&"/central-de-ajuda"!==a?(0,t.jsx)(j,{pageRoute:a}):(0,t.jsx)(g,{agencyPartner:f})]})}):null]})}},7820:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return p}});var t=s(57437),l=s(2265),n=s(96295),c=s(89811),o=s(54813),r=s(52235),i=s(67624),d=s(58570),u=s(27735),m=s(79849),x=s(76407),h=s(54562);function p(){let[e,a]=(0,l.useState)(!1),s=(0,l.useRef)(null),{agencyPartner:p}=(0,h.gE)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{id:"jasoualuno",className:"flex items-center gap-2 rounded-[6px] border px-4 py-2 font-semibold text-white",onClick:()=>{a(!e)},children:["J\xe1 sou aluno",e?(0,t.jsx)(r.Z,{}):(0,t.jsx)(o.Z,{})]}),e?(0,t.jsx)("div",{className:"fixed right-0 top-56 flex ".concat(p?"h-[250px]":" h-[400px]"," w-[30%] overflow-auto rounded-b-[20px] lg:top-16 ").concat(e?"z-20":"z-[-99999]"," ").concat(e?"menu-open":"menu-closed"),ref:s,style:{backgroundColor:"var(--bg-color)"},children:(0,t.jsx)("div",{className:"flex w-full flex-col px-7",children:(function(e){let{agencyPartner:a}=e;return a?[{title:"Gradua\xe7\xe3o",href:c.ce.GRADUACAO_OUTSIDE,icon:i.Z},{title:"Segunda Gradua\xe7\xe3o",href:c.ce.GRADUACAO_OUTSIDE,icon:d.Z},{title:"P\xf3s-Gradua\xe7\xe3o",href:c.ce.GRADUACAO_OUTSIDE,icon:u.Z}]:[{title:"Gradua\xe7\xe3o",href:c.ce.GRADUACAO_OUTSIDE,icon:i.Z},{title:"Segunda Gradua\xe7\xe3o",href:c.ce.GRADUACAO_OUTSIDE,icon:d.Z},{title:"P\xf3s-Gradua\xe7\xe3o",href:c.ce.GRADUACAO_OUTSIDE,icon:u.Z},{title:"Disciplina Isolada",href:c.ce.GRADUACAO_OUTSIDE,icon:m.Z},{title:"Cursos Gr\xe1tis",href:c.ce.GRADUACAO_OUTSIDE,icon:x.Z}]})({agencyPartner:p}).map(e=>(0,t.jsx)(n.L,{title:e.title,icon:e.icon,href:e.href},e.title))})}):null]})}},20472:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return r}});var t=s(57437),l=s(91774),n=s(20703),c=s(8792),o=s(2265);function r(e){let{pageRoute:a}=e,{theme:s}=(0,l.F)(),[r,i]=(0,o.useState)("/prominas-logo-white.svg");return(0,o.useEffect)(()=>{let e=()=>{window.innerWidth<1023?i("dark"===s?"/prominas-logo-white.svg":"/prominas-logo.svg"):i("/prominas-logo-white.svg")};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[s]),(0,t.jsx)(c.default,{href:"".concat(a),children:(0,t.jsx)(n.default,{src:r,alt:"Logo da Faculdade \xdanica",width:125,height:22,className:"lg:h-[55px] lg:w-[182px] lg:pr-10"})})}},89811:function(e,a,s){"use strict";var t,l,n,c,o,r,i,d,u,m,x,h;s.d(a,{$2:function(){return n},ce:function(){return l},q7:function(){return c}}),(i=t||(t={}))["Faculdade Prominas"]="Faculdade Prominas",i["Faculdade \xdaNICA"]="Faculdade \xdaNICA",(d=l||(l={})).HOME="/",d.POS_GRADUACAO="/pos-graduacao",d.SEGUNDA_GRADUACAO="/segunda-graduacao",d.GRADUACAO="/graduacao",d.GRADUACAO_ESCOLHA="/graduacao/escolha",d.GRADUACAO_EAD="/graduacao",d.DICIPLINA_ISOLADA="/disciplina-isolada",d.CURSOS_GRATIS="/cursos-gratis",d.BOLSAS_DE_ESTUDO="/bolsas-de-estudo",d.CHECKOUT="/checkout",d.POLOS="/polos",d.INDICACAO="/indicacao",d.AJUDA="/central-de-ajuda",d.INDICARAMIGO="/cursos-gratis/indicacao-premiada",d.term="/termos/privacidade",d.CIENCIAS_DA_SAUDE="/ciencias-da-saude",d.EDUCACAO="/educacao",d.EMPRESARIAL_TI_E_NEGOCIOS="/empresarial-ti-e-negocios",d.ESTETICA="/estetica",d.MBA_EXECUTIVO="/mba-executivo",d.MEIO_AMBIENTE="/meio-ambiente",d.PSICOLOGIA="/psicologia",d.JURIDICA="/juridica",d.ENGENHARIAS="/engenharias",d.SERVICO_SOCIAL="/servico-social",d.GASTRONOMIA="/gastronomia",d.FACEBOOK_PROMINAS="https://www.facebook.com/unicaeadoficial/",d.INSTAGRAM_PROMINAS="https://www.instagram.com/unicaeadoficial/",d.YOUTUBE_PROMINAS="https://www.youtube.com/user/institutoprominas/featureds",d.PLAY_STORE_PROMINAS="https://play.google.com/store/apps/details?id=com.lyratec.prominasapp",d.APPLE_STORE_PROMINAS="https://apps.apple.com/br/app/app-prominas/id1523832772",d.POS_GRADUACAO_OUTSIDE="https://alunos.institutoprominas.com.br/auth/login",d.SEGUNDA_GRADUACAO_OUTSIDE="https://faculdadeunica.pincelatomico.net.br/",d.GRADUACAO_OUTSIDE="https://faculdadeunica.pincelatomico.net.br/",d.DICIPLINA_ISOLADA_OUTSIDE="https://faculdadeunica.pincelatomico.net.br/",d.CURSOS_GRATIS_OUTSIDE="https://alunos.institutoprominas.com.br/auth/login",(u=n||(n={}))["P\xf3s-Gradua\xe7\xe3o"]="P\xf3s-Gradua\xe7\xe3o",u["Gradua\xe7\xe3o"]="Gradua\xe7\xe3o",u.Disciplinas_Isoladas="Disciplinas Isoladas",u["Cursos_Gr\xe1tis"]="Cursos Gr\xe1tis",u["Segunda_Gradua\xe7\xe3o"]="Segunda Gradua\xe7\xe3o",(m=c||(c={}))["pos-graduacao"]="pos-graduacao",m.graduacao="graduacao",m["disciplina-isolada"]="disciplina-isolada",m["cursos-gratis"]="extensao",m.extensao="extensao",m["segunda-graduacao"]="segunda-graduacao",m["bolsas-de-estudo"]="bolsas-de-estudo",(x=o||(o={}))["pos-graduacao"]="P\xf3s-Gradua\xe7\xe3o",x.graduacao="Gradua\xe7\xe3o",x["disciplina-isolada"]="Disciplinas Isoladas",x["cursos-gratis"]="Cursos Gr\xe1tis",x.extensao="Extens\xe3o",x["segunda-graduacao"]="Segunda_Gradua\xe7\xe3o",(h=r||(r={})).exact="exact",h.nearby="nearby"},91865:function(e,a,s){"use strict";s.r(a),s.d(a,{default:function(){return d}});var t=s(57437),l=s(72891),n=s(31047),c=s(91774),o=s(98955);let r=(e,a)=>{o.Z.set(e,a)};var i=s(2265),d=()=>{let[e,a]=(0,i.useState)(!1),{theme:s,setTheme:o}=(0,c.F)(),d="light"===s,u=()=>{o(d?"dark":"light"),r("preferedTheme",d?"dark":"light")};return(0,i.useEffect)(()=>{a(!0)},[]),(0,t.jsx)(t.Fragment,{children:e?(0,t.jsxs)("div",{className:"relative flex h-8 w-16 cursor-pointer items-center rounded-full bg-[#F6F6F7] p-1 transition-all duration-500",style:{backgroundColor:"var(--secondary-bg-color)"},id:"temapretoebranco",onClick:u,children:[(0,t.jsx)(l.Z,{className:"text-[#3C3C47]",size:18}),(0,t.jsx)("div",{className:"dark:bg-medium absolute h-6 w-6 rounded-full bg-white shadow-md",style:{transition:"left cubic-bezier(0.4, 0, 1, 1) .35s",left:"dark"===s?"2px":"calc(100% - 26px)"}}),(0,t.jsx)(n.Z,{className:"ml-auto text-yellow-400",size:18})]}):(0,t.jsxs)("div",{className:"relative flex h-8 w-16 cursor-pointer items-center rounded-full bg-[#F6F6F7] p-1 transition-all duration-500",style:{backgroundColor:"var(--bg-color)"},onClick:u,children:[(0,t.jsx)(l.Z,{className:"text-[#3C3C47]",size:18}),(0,t.jsx)(n.Z,{className:"ml-auto text-yellow-400",size:18})]})})}},92085:function(){},14461:function(){},66963:function(){}}]);