import{_ as v}from"./Icon.DriN-LnI.js";import{_ as y}from"./Button.CpdQ1HRJ.js";import{_ as k}from"./Card.UdqPYTty.js";import{f as w,q as B,g as C,h as $,o as r,k as a,w as n,a as e,t as l,j as m,l as c,d as u,b as x,m as g}from"./entry.DV6a5_Hb.js";import{u as j}from"./useDatalayer.DeAqW70C.js";import{_ as M}from"./Modal.vue.D29_Gtp-.js";const N={class:""},V={class:"font-bold text-[var(--text-light-primary)] text-xl md:text-[32px] lg:text-2xl"},E={class:"py-4 p-0 sm:pt-4 xl:pr-14 sm:pb-10 h-full font-normal text-[var(--text-light-secondary)] text-md leading-7"},T=["innerHTML"],U={class:"flex flex-wrap sm:flex-nowrap gap-2 sm:gap-0 w-full self-end"},A=w({__name:"Cards",props:{title:{},text:{},button1:{},linkButton1:{},button2:{},linkButton2:{}},setup(h){B.get(C().public.ie);const _=$(),t=h;function b(){_.open(M,{template:"Accordion"})}const{trackEvent:i}=j();return(D,o)=>{const s=v,d=y,f=k;return r(),a(f,{class:"bg-[var(--bg-light-tertiary)] dark:bg-[var(--bg-light-tertiary)] shadow-sm",ui:{body:{base:"p-4 md:p-[40px] flex flex-col h-full justify-between"}}},{default:n(()=>[e("header",N,[e("h3",V,l(t.title),1)]),e("div",E,[e("p",{class:"mb-0 text-sm lg:text-base xl:text-xl",innerHTML:t.text},null,8,T)]),e("footer",U,[t!=null&&t.button1?(r(),a(d,{key:0,to:t==null?void 0:t.linkButton1,onClick:o[0]||(o[0]=p=>m(i)({event:"measure_click",content:"Botao Inscrever-se de "+(t==null?void 0:t.title)+"do card de Formas de Entrada "})),target:"_blank",class:c(`${t.linkButton1?"justify-center border-[var(--light-primary)] border-0 bg-[var(--light-primary)] hover:bg-[var(--light-hover)] active:bg-[var(--light-pressed)] dark:bg-[var(--light-primary)] mr-3 sm:px-4 p-3 rounded-lg w-full sm:w-auto font-bold !text-[var(--text-dark-primary)] text-sm hover:text-[var(--text-dark-primary)] dark:text-[var(--text-dark-primary)] no-underline leading-1 hover:transition-all":"w-full sm:w-auto cursor-not-allowed justify-center bg-[var(--light-disabled)] hover:bg-[var(--light-disabled)] sm:p-4 rounded-lg font-bold text-[var(--bg-light-primary)] hover:text-[var(--bg-light-primary)] text-base sm:text-sm no-underline !leading-none !outline-none mr-3 sm:px-4 p-3"}`)},{default:n(()=>[u(l(t.button1)+" ",1),x(s,{name:"i-heroicons-arrow-long-right",class:c(`font-bold text-xl ${t.linkButton1?"":"hidden"}`)},null,8,["class"])]),_:1},8,["to","class"])):g("",!0),t!=null&&t.linkButton2?(r(),a(d,{key:1,onClick:o[1]||(o[1]=p=>(b(),m(i)({event:"measure_click",content:"Botao Confira edital"+(t==null?void 0:t.title)+"do card de Formas de Entrada "}))),class:"justify-center border-[var(--light-primary)] border-0 hover:bg-[var(--light-hover-outline)] active:bg-[var(--light-pressed-outline)] sm:px-3 p-3 rounded-lg w-full sm:w-auto font-bold text-[var(--light-primary)] text-sm hover:text-[var(--light-primary)] no-underline leading-1 hover:transition-all",variant:"outline",color:"light-primary"},{default:n(()=>[u(l(t.button2)+" ",1),x(s,{name:"i-heroicons-arrow-long-right",class:"font-extrabold text-xl"})]),_:1})):g("",!0)])]),_:1})}}});export{A as _};