import{d as m,f as b,r as f,_,o as n,k as a,n as e,t as g,F as x,v as k,p}from"./app-DZcRemIr.js";const h=m({__name:"SIIF_Info_cons01",props:{title:{type:String,default:"Información"},message:{type:String,required:!0},isDismissible:{type:Boolean,default:!1}},setup(d,{expose:t}){t();const r=d,s=f(!0);function u(){s.value=!1}const c=b(()=>(r.message||"").trim().split(/\n\s*\n/).map(l=>{let i=l.replace(/\n/g,"<br/>").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>");return i=i.replace(/¡Importante!/gi,'<span class="block font-extrabold text-red-700 dark:text-red-300 text-base mb-1">¡Importante!</span>'),i})),o={props:r,isVisible:s,dismiss:u,formattedParagraphs:c};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),v={key:0,class:"bg-blue-50 dark:bg-blue-900/30 border border-blue-200 dark:border-blue-700 text-blue-800 dark:text-blue-100 rounded-lg shadow-sm px-4 py-4 sm:px-6 sm:py-5",role:"alert"},w={class:"flex items-start gap-3 sm:gap-4"},y={class:"flex-grow"},I={class:"font-bold text-lg text-blue-900 dark:text-blue-100 mb-1"},S={class:"space-y-3 text-sm leading-relaxed"},B=["innerHTML"];function C(d,t,r,s,u,c){return s.isVisible?(n(),a("div",v,[e("div",w,[t[1]||(t[1]=e("svg",{class:"w-6 h-6 text-blue-500 dark:text-blue-400 mt-1 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),e("div",y,[e("h3",I,g(r.title),1),e("div",S,[(n(!0),a(x,null,k(s.formattedParagraphs,(o,l)=>(n(),a("p",{key:l,innerHTML:o},null,8,B))),128))])]),r.isDismissible?(n(),a("button",{key:0,type:"button",onClick:s.dismiss,class:"ml-auto p-1.5 rounded-md text-blue-500 dark:text-blue-200 hover:bg-blue-200/50 dark:hover:bg-blue-800 focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Cerrar"},[...t[0]||(t[0]=[e("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):p("v-if",!0)])])):p("v-if",!0)}const F=_(h,[["render",C],["__file","/var/www/resources/js/components/SIIF_Info_cons01.vue"]]);export{F as S};
