1import{j as e,a0 as d,F as a,_ as i,az as r,G as l,ai as o,B as m}from"./index-DIct5IN3.js";import{B as p}from"./badge2-BZFw_zfL.js";import{D as x,C as u,a as h}from"./DirectiveImplicationsAccordion-Crtxbwnl.js";import{u as f}from"./useAnalysis-Bzb_SjJS.js";import{f as j}from"./offerExpiration-N_7uRgR4.js";import{u as g}from"./use-upgrade-study-Dr5vuFxt.js";import"./accordion-DEGiPKR3.js";import"./chevron-down-DjdwqxTw.js";import"./index-DW5t21p9.js";import"./index-VejVWyTc.js";import"./index-CScVcec0.js";import"./index-CsVdQ5K-.js";import"./index-CEYjpLQx.js";import"./studioApi-DNbIE-gp.js";import"./study-B_Olahzq.js";import"./mutations-D-XoMMtx.js";import"./queries-BamOrK82.js";import"./useGetStudy-LtwO5Dzt.js";import"./useStudioAsyncProcess-TParTLs6.js";import"./error-builder-DOHE_rE6.js";import"./extraInfo-BmrqKIPd.js";import"./hooks-BksrsTS2.js";const H=()=>{const{setIsUpgradeStudyDialogOpen:t}=g(),{study:s,loading:c}=f(),n=s?.highest_difficulty?x[s.highest_difficulty]:"";return c?e.jsx(d,{message:"Analizando tu producto y buscando normativas aplicables..."}):e.jsxs("div",{className:"pt-10 pb-6 gap-y-8 grid md:grid-cols-8",children:[e.jsx("header",{className:"col-span-full",children:e.jsx("h1",{className:"text-3xl-title mb-2",children:"Resultados del Estudio Lite"})}),e.jsxs("section",{className:"col-span-full md:col-span-6 md:col-end-8",children:[e.jsx("h2",{className:"sr-only",children:"Resultados"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs(a,{className:"py-4 rounded-md bg-transparent border-grey-light",children:[e.jsx(i,{className:"px-4",children:e.jsxs(r,{className:"flex items-center gap-2",children:[e.jsxs(p,{variant:"warning",className:"text-m-body-bold!",children:[s?.highest_difficulty||"-","/5"]}),e.jsx("h2",{className:"text-m-body-regular!",children:"Dificultad normativa de tu producto*"})]})}),e.jsx(l,{className:"px-4",children:e.jsx("p",{className:"text-m-body-regular! text-grey-softwhite",dangerouslySetInnerHTML:{__html:n}})}),e.jsx(o,{className:"px-4",children:e.jsx("p",{className:"text-caption-regular!",children:"*Esta clasificación de Zertify tiene un caracter informativo y orientativo."})})]}),e.jsx(u,{requiredCE:s?.CE_mark_required||!1,onClick:()=>t(!0)})]})]}),e.jsxs("section",{className:"col-span-full md:col-span-6 md:col-end-8",children:[e.jsx("h2",{className:"text-xl-title mb-6",children:"Normativas que aplican en tu Estudio Lite"}),e.jsx("div",{className:"space-y-4",children:Array.isArray(s?.directives)&&s.directives.length>0?e.jsx(h,{directives:s.directives}):e.jsx("p",{className:"text-grey-soft",children:"No se encontraron normativas aplicables."})})]}),e.jsx("footer",{className:"col-span-full md:col-span-6 md:col-end-8",children:e.jsxs(a,{className:"bg-linear-to-l border-0 gap-0 to-primary-orange-light from-aux-blue-medium",children:[e.jsx(i,{children:e.jsx(r,{className:"text-2xl-title! text-grey-soft",children:"Mejora tu estudio"})}),e.jsx(l,{children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("p",{className:"text-caption-medium! text-grey-soft",children:"Transforma tu Estudio Lite en Expediente Técnico Completo y paga sólo la diferencia."}),e.jsx(m,{type:"button",variant:"action",onClick:()=>t(!0),children:"Saber más"})]})}),e.jsx(o,{children:e.jsx("p",{className:"text-helper! text-grey-light",children:j(s?.updatedAt)})})]})})]})};export{H as Component};
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.