1import{u as p,r as N,j as e}from"./vendor-query-HuNr2OOg.js";import{P as ne,M as de}from"./PortalShellLayout-D0P_bjUL.js";import{c as Q,b8 as H,d as g,e as h,$,B as y,K as C,C as q,aK as ce,R as pe,a_ as G,aJ as W,aU as S,aN as xe,aT as me,h as u,u as ue,a2 as J,x as ve,G as ge,b9 as he,aM as we,H as fe,U as be,v as x}from"./index-B9EaWs5J.js";import{z as ye,E as Y,b as Pe,B as Ee}from"./EditionWorkspaceShell-Dc79wNhv.js";import{H as b}from"./HelpTip-B8vtt4R_.js";import{E as je}from"./EntryPassQr-DFjy058J.js";import{B as P}from"./badge-CoDR_tZG.js";import{P as Oe}from"./progress-DYCXqR3D.js";import{c as Z}from"./entity-hub-Bk8MRP2L.js";import{b as Ne,f as Ce,j as ke}from"./portal-apply-DBMLFac4.js";import{a as Te,L as c}from"./vendor-router-plbrcz1S.js";import{T as A}from"./ticket-check-CenC1viW.js";import{U as O}from"./users-round-U8AIGJ92.js";import{C as D}from"./calendar-check-2-B14zZ7py.js";import{T as X}from"./trending-up-m8_DB2Oc.js";import{L as qe}from"./list-ordered-CQ3UxIlL.js";import{C as ee}from"./circle-help-wB_TeIF8.js";import{U as Ae}from"./user-round-BB6pBisF.js";import{A as v}from"./arrow-right-C8XFVS0p.js";import{C as $e}from"./chevron-right-BiTiBttS.js";import{C as ae}from"./clock-3-Di8VDwXt.js";import{B as M}from"./badge-check-Dl4Nlaip.js";import{R as Ie}from"./route-C0Hzbk3h.js";import{C as Le}from"./calendar-clock-B57K43A8.js";import{C as _e}from"./chevron-down-CDMVS9ta.js";import"./vendor-react-BN0qJr-I.js";import"./useDocumentTitle-xTPWgVDR.js";import"./BrandLogo-t7LJ_z0w.js";import"./alert-dialog-CQoa8her.js";import"./vendor-radix-DCkeDM7m.js";import"./vendor-charts-CXqRGmUN.js";import"./menu-0kMVWNw1.js";import"./settings-2-CUWnb61Q.js";import"./chart-column--mdPfqU7.js";import"./arrow-left-CXgzbUuF.js";import"./map-pin-Bd4jW6pd.js";import"./vendor-motion-DjGcfsVB.js";import"./calendar-check-C-xph8b9.js";import"./file-text-D-z1nS5Y.js";/** 2 * @license lucide-react v0.453.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Re=Q("Footprints",[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]]);/** 7 * @license lucide-react v0.453.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const Se=Q("MapPinned",[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]]);function De(a,s){return a.map(t=>{if(t.key==="ficha"&&s.entity){const i=s.entity.completion.percentage>=100;return{...t,label:i?"Revisar tu ficha":"Completar tu ficha",detail:i?"Asà te ven los inversores de la edición.":`La tienen al ${s.entity.completion.percentage}% â remátala antes del evento.`,href:s.canEditEntity&&!i?W(s.entity.id):S(s.entity.id),badge:i?"Completa":`${s.entity.completion.percentage}%`}}if(t.key==="contacts"){const i=s.contacts?.unansweredCount??0;return{...t,badge:i>0?`${i} sin responder`:null}}return t.key==="meetings"?{...t,badge:s.meetingsCount>0?`${s.meetingsCount}`:null}:t.key==="pass"?{...t,badge:s.entryPassLabel}:t.key==="entities"?{...t,badge:s.startupsCount>0?`${s.startupsCount}`:null}:t.key==="agenda"?{...t,badge:s.agendaCount>0?`${s.agendaCount}`:null}:t.key==="directory"?{...t,badge:s.peopleCount>0?`${s.peopleCount}`:null}:t})}function Me(a,s){return a==="startup"?[{label:"Ficha",value:`${s.entity?.completion.percentage??0}%`},{label:"Reuniones",value:s.meetingsCount},{label:"Contactos aceptados",value:s.contacts?.acceptedCount??0},{label:"Pase",value:s.entryPassLabel}]:a==="inversor"?[{label:"Startups en la edición",value:s.startupsCount},{label:"Reuniones",value:s.meetingsCount},{label:"Contactos enviados",value:s.contacts?.outgoingCount??0},{label:"Pase",value:s.entryPassLabel}]:a==="asistente"?[{label:"Actividades guardadas",value:s.agendaCount},{label:"Próximos hitos",value:s.upcomingHits},{label:"Personas en el directorio",value:s.peopleCount},{label:"Pase",value:s.entryPassLabel}]:B(a)?[{label:"Ficha",value:`${s.entity?.completion.percentage??0}%`},{label:"Contactos aceptados",value:s.contacts?.acceptedCount??0},{label:"Personas en el directorio",value:s.peopleCount},{label:"Pase",value:s.entryPassLabel}]:[]}const L=[{key:"agenda",label:"Agenda",description:"Escaleta oficial, eventos registrables y tu programa personal.",helpTip:"La agenda reúne el programa oficial del evento (bloques
11y actos de la escaleta) junto a los eventos a los que puedes apuntarte. También muestra las reuniones 1Ã1 que tienes programadas.",Icon:Le},{key:"entities",label:"Entidades",description:"Startups e inversores aceptados con sus fichas completas.",helpTip:"Lista de entidades participantes en esta edición: startups buscando inversión e inversores asistentes. Cada ficha incluye sector, descripción, sede y personas vinculadas.",Icon:y},{key:"metrics",label:"Métricas",description:"Señales de interés: startups más visitadas y valoradas.",helpTip:"Métricas informales recogidas durante el evento: qué fichas de startup generan más visitas y cuáles reciben mejor valoración por los inversores. Refleja tracción espontánea, no evaluaciones formales.",Icon:X},{key:"directory",label:"Directorio",description:"Personas participantes. Inicia solicitudes de contacto desde aquÃ.",helpTip:"Lista de individuos inscritos en esta edición. Puedes filtrar por rol (inversor, startup, asistente) y enviar directamente una solicitud de contacto para iniciar una conexión.",Icon:O},{key:"contacts",label:"Contactos",description:"Solicitudes de contacto enviadas y recibidas. Gestiona tu red.",helpTip:"Cuando envÃas o recibes una solicitud de contacto, aparece aquÃ. Solo cuando ambas partes la aceptan se habilita el chat. Las solicitudes pendientes, rechazadas y aceptadas quedan registradas en este módulo.",Icon:C},{key:"meetings",label:"Reuniones 1Ã1",description:"Citas programadas con hora, mesa asignada y contraparte.",helpTip:"Reuniones formales programadas por el equipo organizador entre un inversor y una startup. Tienen slot de tiempo fijo, mesa o ubicación asignada y ambas partes confirmadas de antemano. Son distintas de los contactos libres.",Icon:D},{key:"chat",label:"Chat",description:"MensajerÃa directa con tus contactos aceptados en la edición.",helpTip:"Chat privado entre participantes que se han aceptado mutuamente como contactos. Solo puedes chatear con alguien cuya solicitud de contacto ya ha sido aceptada por ambas partes.",Icon:de},{key:"billing",label:"Facturación",description:"Solicita factura y gestiona datos fiscales de tu participación.",helpTip:"Si necesitas una factura por tu participación en el evento (para justificación empresarial o fiscal), desde aquà envÃas tus datos fiscales y el equipo gestor tramita la solicitud.",Icon:Pe},{key:"ayuda",label:"Ayuda",description:"Abre tickets de soporte al equipo organizador.",helpTip:"Sistema de soporte interno: puedes abrir una incidencia, hacer una consulta o reportar un problema al equipo organizador. Las respuestas quedan registradas en el mismo ticket.",Icon:ee},{key:"notifications",label:"Notificaciones",description:"Alertas sobre cambios relevantes en tu participación.",helpTip:"Centro de notificaciones de la edición: nuevas solicitudes de contacto, cambios en reuniones, mensajes del equipo gestor y otros eventos relacionados con tu membresÃa.",Icon:Ee},{key:"jury",label:"Jurado",description:"Evaluaciones formales si participas como jurado de la edición.",helpTip:"Panel exclusivo para miembros con permiso de jurado. Accedes a las fichas de startups asignadas y registras tus puntuaciones según los criterios de evaluación de la convocatoria.",Icon:M}],ze=[{term:"MembresÃa",definition:"Tu vÃnculo activo con esta edición del programa. Puede estar activa, pendiente o archivada, y determina qué puedes ver y hacer dentro del portal."},{term:"Escaleta",definition:"El programa oficial del evento: lista ordenada de bloques, ponencias y actos publicados por los organizadores."},{term:"Reunión 1Ã1",definition:"Cita formal entre un inversor y una startup, con hora fija y mesa asignada. Las programa el equipo gestor, no los participantes."},{term:"Solicitud de contacto",definition:"Petición de conexión enviada a otro participante. Solo cuando ambas partes la aceptan se habilita el chat entre ellas."},{term:"Entrada QR",definition:"Pase de acceso fÃsico al evento con un código QR único que se escanea en la puerta. Se emite cuando tu participación está confirmada según las reglas de la edición."},{term:"Permisos",definition:"Acciones especÃficas habilitadas para tu membresÃa más allá del rol base (p. ej. acceso a evaluaciones de jurado, directorio extendido o reuniones adicionales)."}],Be="Miembro";function Fe(a){if(!a)return"Pendiente";const s=new Date(a);
11return Number.isNaN(s.getTime())?"Pendiente":s.toLocaleString("es-ES",{weekday:"short",day:"2-digit",month:"short",hour:"2-digit",minute:"2-digit"})}function Ke(a,s){if(!a&&!s)return"Fechas por confirmar";const t=a?new Date(a).toLocaleDateString("es-ES",{day:"2-digit",month:"short",year:"numeric"}):"Inicio por confirmar",i=s?new Date(s).toLocaleDateString("es-ES",{day:"2-digit",month:"short",year:"numeric"}):"Fin por confirmar";return`${t} â ${i}`}function z(a,s){if(!a)return"Sin horario confirmado";const t=Fe(a);if(!s)return t;const i=new Date(s);return Number.isNaN(i.getTime())?t:`${t} â ${i.toLocaleTimeString("es-ES",{hour:"2-digit",minute:"2-digit"})}`}const Ve=new Set(["empresa","institucion","ecosystem_agent"]);function B(a){return Ve.has(a)}function Ue(a,s){const t=`/portal/edicion/${s}`;return B(a)?{eyebrow:`Vista ${$(a).label.toLowerCase()}`,headline:"Tu ficha, tus contactos y tu agenda en esta edición.",description:"Tu acceso prioriza la presencia y el contacto: ficha de la entidad, personas de la edición, agenda y pase de entrada.",primaryCta:{label:"Revisar tu ficha",href:"/portal/entidades"},secondaryCta:{label:"Ver mi pase",href:"#pase"},planTitle:"Tu plan en la edición",planDescription:"Cuatro accesos para llegar con la ficha lista y las conversaciones abiertas.",roleAccent:"#0ea5e9",roleDeep:"#0e321a",roleIcon:y,actions:[{key:"ficha",label:"Completar tu ficha",detail:"Asà te ven las demás entidades de la edición.",href:"/portal/entidades",Icon:y,featured:!0},{key:"contacts",label:"Responder contactos",detail:"No dejes solicitudes ni conversaciones sin respuesta.",href:`${t}/contacts`,Icon:C},{key:"agenda",label:"Construir tu agenda",detail:"Guarda los eventos y actividades que no quieras perder.",href:`${t}/agenda`,Icon:q},{key:"pass",label:"Entrada QR",detail:"Ten el pase listo para la puerta.",href:`${t}/entrada`,Icon:A}],modulePriority:["contacts","agenda","directory","entities","chat","events","store","notifications","billing","ayuda"]}:a==="inversor"?{eyebrow:"Vista inversora",headline:"Detecta startups, abre conversaciones y protege tu agenda.",description:"Tu acceso a la edición prioriza el scouting: fichas de startups, contactos, reuniones 1Ã1 y el siguiente bloque del programa.",primaryCta:{label:"Explorar startups",href:`${t}/entities`},secondaryCta:{label:"Ver mi pase",href:"#pase"},planTitle:"Tu plan de scouting",planDescription:"Cuatro movimientos para pasar de la lista de entidades al contacto operativo.",roleAccent:"#fbbf24",roleDeep:"#3f2a08",roleIcon:ce,actions:[{key:"entities",label:"Explorar startups",detail:"Filtra entidades y prepara tu short list.",href:`${t}/entities`,Icon:y,featured:!0},{key:"directory",label:"Contactar personas",detail:"Usa el directorio para abrir conversaciones con contexto.",href:`${t}/directory`,Icon:O},{key:"meetings",label:"Reuniones 1Ã1",detail:"Consulta mesa, slot y ubicación antes de moverte.",href:`${t}/meetings`,Icon:D},{key:"metrics",label:"Métricas de tracción",detail:"Qué fichas generan más visitas y valoraciones.",href:`${t}/metrics`,Icon:X}],modulePriority:["entities","directory","meetings","metrics","agenda","contacts","chat","store","notifications","billing","ayuda"]}:a==="startup"?{eyebrow:"Vista startup",headline:"Llega con tu ficha visible y cada contacto preparado.",description:"La edición se centra en visibilidad, seguimiento de inversores, reuniones confirmadas, entrada y facturación si aplica.",primaryCta:{label:"Ver inversores",href:`${t}/entities`},secondaryCta:{label:"Ver mi pase",href:"#pase"},planTitle:"Tu plan de visibilidad",planDescription:"Un recorrido para convertir presencia en conversaciones de calidad.",roleAccent:"#4ade80",roleDeep:"#0b3d24",roleIcon:pe,actions:[{key:"ficha",label:"Completar tu ficha",detail:"Los inversores la ven ahora mismo.",href:"/portal/entidades",Icon:y,featured:!0},{key:"contacts",label:"Responder contactos",detail:"No dejes solicitudes ni conversaciones sin respuesta.",href:`${t}/contacts`,Icon:C},{key:"meetings",label:"Reuniones 1Ã1",detail:"Comprueba hora, mesa y notas del gestor.",href:`${t}/meetings`,Icon:D}
11,{key:"pass",label:"Entrada QR",detail:"Ten el pase listo para la puerta.",href:`${t}/entrada`,Icon:A}],modulePriority:["meetings","entities","contacts","billing","agenda","directory","chat","metrics","store","notifications","ayuda"]}:a==="asistente"?{eyebrow:"Vista asistente",headline:"Organiza tu dÃa: entrada, agenda, actividades y contactos.",description:"Tu acceso prioriza la orientación onsite: QR, escaleta, eventos registrables, contactos permitidos y soporte de la edición.",primaryCta:{label:"Construir agenda",href:`${t}/agenda`},secondaryCta:{label:"Ver mi pase",href:"#pase"},planTitle:"Tu plan onsite",planDescription:"Un checklist corto para llegar y moverte por el evento sin fricción.",roleAccent:"#38bdf8",roleDeep:"#16324a",roleIcon:Re,actions:[{key:"agenda",label:"Construir tu agenda",detail:"Guarda los eventos y actividades que no quieras perder.",href:`${t}/agenda`,Icon:q,featured:!0},{key:"escaleta",label:"Escaleta oficial",detail:"El programa minuto a minuto de los dÃas del evento.",href:`${t}/escaleta`,Icon:qe},{key:"directory",label:"Conocer personas",detail:"Ubica perfiles y envÃa solicitudes de contacto.",href:`${t}/directory`,Icon:O},{key:"pass",label:"Entrada QR",detail:"Ten el pase localizado para la puerta.",href:`${t}/entrada`,Icon:A}],modulePriority:["agenda","escaleta","events","directory","contacts","chat","entities","meetings","notifications","store","billing","ayuda"]}:{eyebrow:"Vista de edición",headline:"Tu centro operativo para esta edición.",description:"Accede a entrada, agenda, contactos, reuniones, facturación y soporte desde una vista orientada a tu rol.",primaryCta:{label:"Abrir agenda",href:`${t}/agenda`},secondaryCta:{label:"Ver módulos",href:"#modulos"},planTitle:"Tus accesos principales",planDescription:"Los movimientos más habituales dentro de la edición.",roleAccent:"#c3d83e",roleDeep:"#0e321a",roleIcon:ye,actions:[{key:"agenda",label:"Abrir agenda",detail:"Eventos, escaleta y reuniones visibles.",href:`${t}/agenda`,Icon:q,featured:!0},{key:"entities",label:"Ver entidades",detail:"Startups e inversores aceptados.",href:`${t}/entities`,Icon:y}
11,{key:"directory",label:"Abrir directorio",detail:"Personas de la edición y networking.",href:`${t}/directory`,Icon:O},{key:"ayuda",label:"Abrir soporte",detail:"Tickets y respuesta del equipo gestor.",href:`${t}/ayuda`,Icon:ee}],modulePriority:[]}}function Qe(a){return a.assignment?[a.assignment.tableName??a.assignment.location,a.assignment.slotLabel].filter(Boolean).join(" · "):a.location}function f(a){if(!a)return 0;const s=new Date(a);return Number.isNaN(s.getTime())?0:s.getTime()}function He(a,s){if(!s)return[];const t=`/portal/edicion/${a}/agenda`,i=`/portal/edicion/${a}/meetings`,l=Date.now()-3600*1e3,r=[];for(const o of s.events)!o.startAt||f(o.startAt)<l||r.push({id:o.id,type:"event",title:o.name,subtitle:o.typeName??"Evento registrable",startsAt:o.startAt,endsAt:o.endAt,location:o.location,href:t});for(const o of s.scheduleItems)!o.startsAt||f(o.startsAt)<l||r.push({id:o.id,type:"schedule",title:o.title,subtitle:o.category??"Escaleta oficial",startsAt:o.startsAt,endsAt:o.endsAt,location:o.location,href:t});for(const o of s.meetings)!o.scheduledAt||f(o.scheduledAt)<l||o.status==="cancelled"||o.status==="no_show"||r.push({id:o.id,type:"meeting",title:o.counterpart?.entity?.name??o.counterpart?.userName??"Reunión 1Ã1",subtitle:G(o.status),startsAt:o.scheduledAt,endsAt:o.endAt,location:Qe(o),href:i});return r.sort((o,d)=>f(o.startsAt)-f(d.startsAt))}function Ge({item:a,isLoading:s}){const t=a?.type==="meeting"?"Reunión":a?.type==="schedule"?"Escaleta":"Evento";return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:850",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:851",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:852",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:853",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:e.jsx(Ie,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:854",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:856",className:"flex-1 min-w-0",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:857",className:"flex items-center gap-1.5",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:858",className:"text-sm font-semibold text-foreground",children:"Próximo movimiento"}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:861",content:"El siguiente hito de tu agenda: el evento, bloque de escaleta o reunión 1Ã1 más próximo con fecha confirmada."})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:863",className:"text-xs text-muted-foreground",children:"Siguiente hito de agenda, escaleta o reunión."})]})]}),s?e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:870",className:"mt-5 text-sm text-muted-foreground",children:"Cargando actividad de agendaâ¦"}):a?e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:874",className:"mt-5 space-y-3",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:875",className:"flex flex-wrap items-center gap-2",children:[e.jsx(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:876",className:"rounded-full bg-primary/10 text-primary",children:t}),e.jsx(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:879",variant:"outline",className:"rounded-full bg-white",children:a.subtitle})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:883",className:"font-semibold text-foreground leading-snug",children:a.title}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:886",className:"space-y-1.5 text-sm text-muted-foreground",children:[e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:887",className:"flex items-center gap-2",children:[e.jsx(fe,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:888",className:"h-3.5 w-3.5 shrink-0 text-primary"}),z(a.startsAt,a.endsAt)]}),a.location&&e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:892",className:"flex items-center gap-2",children:[e.jsx(Se,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:893",className:"h-3.5 w-3.5 shrink-0 text-amber-700"}),a.location]})]}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:898",size:"sm",className:"mt-1 rounded-full",asChild:!0,children:e.jsx(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:899",href:a.href,children:"Ver detalle"})})]}):e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:903",className:"mt-5 text-sm leading-6 text-muted-foreground",children:"No hay próximos hitos publicados para tu membresÃa. Revisa la agenda más adelante o contacta con soporte si esperabas una reunión."})]})})}function We({config:a,actions:s}){return e.jsxs("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:921",id:"plan","aria-labelledby":"overview-plan-title",className:"space-y-4",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:926",className:"flex flex-wrap items-center gap-3",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:927",className:"flex items-center gap-1.5",children:[e.jsx("h2",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:928",id:"overview-plan-title",className:"text-base font-semibold text-foreground",children:a.planTitle}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:934",content:"Los movimientos que más valor te aportan en esta edición, en orden de impacto. No son obligatorios: son tu atajo.",side:"right"})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:939",className:"text-xs text-muted-foreground",children:a.planDescription})]}),e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:944",className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-4",children:s.map((t,i)=>t.featured?e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:947",href:t.href,className:"group relative flex flex-col justify-between overflow-hidden rounded-2xl p-5 text-white transition-transform hover:-translate-y-0.5 hover:shadow-[0_14px_36px_rgba(28,37,34,0.16)]",style:{backgroundColor:a.roleDeep},children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:953",className:"pointer-events-none absolute -right-8 -top-8 h-28 w-28 rounded-full opacity-20",style:{backgroundColor:a.roleAccent},"aria-hidden":"true"}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:958",className:"flex items-start justify-between gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:959",className:"inline-flex h-10 w-10 items-center justify-center rounded-xl text-[#0e321a]",style:{backgroundColor:a.roleAccent},children:e.jsx(t.Icon,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:963",className:"h-5 w-5","aria-hidden":"true"})}),t.badge?e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:966",className:"rounded-full bg-white/15 px-2.5 py-1 text-[11px] font-semibold",children:t.badge}):null]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:971",className:"mt-8",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:972",className:"text-xs font-semibold uppercase tracking-[0.18em] text-white/60",children:"Empezar por aquÃ"}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:975",className:"mt-1.5 text-lg font-bold leading-snug",children:t.label}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:978",className:"mt-1 text-xs leading-5 text-white/70",children:t.detail})]}),e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:982",className:"mt-4 h-4 w-4 transition-transform group-hover:translate-x-1","aria-hidden":"true"})]},t.key):e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:988",href:t.href,className:"group flex flex-col justify-between rounded-2xl border border-stone-200/80 bg-white/90 p-5 transition-all hover:-translate-y-0.5 hover:border-primary/25 hover:shadow-[0_8px_20px_rgba(28,37,34,0.09)]",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:993",className:"flex items-start justify-between gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:994",className:"inline-flex h-10 w-10 items-center justify-center rounded-xl bg-stone-100 text-stone-600 transition-colors group-hover:bg-primary/10 group-hover:text-primary",children:e.jsx(t.Icon,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:995",className:"h-5 w-5","aria-hidden":"true"})}),t.badge?e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:998",className:"rounded-full bg-stone-100 px-2.5 py-1 text-[11px] font-semibold text-stone-600",children:t.badge}):e.jsxs("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1002",className:"text-[10px] font-bold uppercase tracking-[0.18em] text-stone-300",children:["0",i]})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1007",className:"mt-8",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1008",className:"text-sm font-bold leading-snug text-foreground",children:t.label}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1011",className:"mt-1 text-xs leading-5 text-muted-foreground",children:t.detail})]}),e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1015",className:"mt-4 h-4 w-4 text-muted-foreground transition-transform group-hover:translate-x-1 group-hover:text-primary","aria-hidden":"true"})]},t.key))})]})}function Je({kpis:a}){return a.length===0?null:e.jsx("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1032","aria-label":"Resumen de tu actividad",className:"border-t border-stone-200/70 pt-5",children:e.jsx("dl",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1036",className:"flex flex-wrap items-center gap-x-8 gap-y-3",children:a.map(s=>e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1038",className:"flex items-baseline gap-2",children:[e.jsx("dt",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1039",className:"text-xs text-muted-foreground",children:s.label}),e.jsx("dd",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1040",className:"text-sm font-semibold tabular-nums text-stone-500",children:s.value})]},s.label))})})}function Ye({slug:a,permissionKeys:s,priorityKeys:t=[]}){const[i,l]=N.useState(!1),r=L.filter(o=>!(o.key==="jury"&&!s.has("evaluations.score"))).sort((o,d)=>{const m=t.includes(o.key)?0:1,n=t.includes(d.key)?0:1;return m-n||L.indexOf(o)-L.indexOf(d)});return e.jsxs("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1074",id:"modulos","aria-labelledby":"other-modules-title",className:"scroll-mt-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1079",className:"flex items-center justify-between gap-3 border-t border-stone-200/70 pt-5",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1080",className:"flex items-center gap-1.5",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1081",id:"other-modules-title",className:"text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:"Otros módulos"}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1087",content:"El resto de secciones de la edición. Las que ya están en tu plan de acción no se repiten aquÃ.",side:"right"})]}),e.jsxs(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1092",variant:"ghost",size:"sm",className:"h-8 rounded-full text-xs font-semibold",onClick:()=>l(o=>!o),"aria-expanded":i,children:[i?"Ocultar":`Ver ${r.length}`,e.jsx(_e,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1100",className:`ml-1 h-3.5 w-3.5 transition-transform ${i?"rotate-180":""}`,"aria-hidden":"true"})]})]}),i?e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1108",className:"mt-3 grid gap-1 sm:grid-cols-2 xl:grid-cols-3",children:r.map(o=>e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1110",href:`/portal/edicion/${a}/${o.key}`,className:"flex items-center gap-2.5 rounded-lg px-2.5 py-2 text-sm text-muted-foreground transition-colors hover:bg-stone-100 hover:text-primary",children:[e.jsx(o.Icon,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1115",className:"h-4 w-4 shrink-0","aria-hidden":"true"}),e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1116",className:"truncate font-medium",children:o.label})]},o.key))}):null]})}function Ze({slug:a}){return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1127",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsx(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1128",className:"p-6",children:e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1129",className:"flex items-start gap-4",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1130",className:"mt-0.5 inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:e.jsx(ae,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1131",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1133",className:"min-w-0 flex-1",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1134",className:"text-sm font-semibold text-foreground",children:"Declara tu disponibilidad para reuniones 1Ã1"}),e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1137",className:"mt-1.5 text-sm leading-6 text-muted-foreground",children:["Puedes indicar los tramos horarios en los que estás libre durante los dÃas del evento. El equipo organizador usará esta información para asignarte reuniones en franjas que te vengan bien."," ",e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1141",className:"font-medium text-foreground",children:"Es opcional"})," â si no lo rellenas, el equipo te asignará un horario de todas formas."]}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1145",asChild:!0,size:"sm",variant:"outline",className:"mt-4 rounded-full",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1151",href:`/portal/edicion/${a}/meetings/availability`,children:["Configurar disponibilidad",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1153",className:"ml-1.5 h-3.5 w-3.5"})]})})]})]})})})}function K({slug:a,counterpartLabel:s="Inversor"}){const{data:t,isLoading:i}=p({queryKey:["portal","edition","meetings",a],queryFn:()=>x(`/portal/editions/${a}/meetings`),enabled:!!a,staleTime:6e4}),l=(t?.meetings??[]).filter(r=>
11r.status!=="cancelled"&&r.status!=="no_show").sort((r,o)=>f(r.scheduledAt)-f(o.scheduledAt)).slice(0,4);return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1184",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1185",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1186",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1187",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:e.jsx(C,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1188",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1190",className:"flex-1 min-w-0",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1191",className:"flex items-center gap-1.5",children:[e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1192",className:"text-sm font-semibold text-foreground",children:["Reuniones con ",s.toLowerCase(),"s"]}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1195",content:"Tus reuniones 1Ã1 confirmadas y pendientes de coordinar, ordenadas por fecha."})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1197",className:"text-xs text-muted-foreground",children:"Prepara cada conversación antes de la hora asignada."})]})]}),i?e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1204",className:"mt-5 text-sm text-muted-foreground",children:"Cargando reunionesâ¦"}):l.length>0?e.jsx("ul",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1208",className:"mt-5 space-y-2",children:l.map(r=>e.jsxs("li",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1210",className:"flex items-center justify-between gap-3 rounded-xl border border-stone-200/70 bg-white/70 px-4 py-3",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1214",className:"min-w-0",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1215",className:"truncate text-sm font-semibold text-foreground",children:r.counterpart?.entity?.name??r.counterpart?.userName??s}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1220",className:"text-xs text-muted-foreground",children:z(r.scheduledAt,r.endAt)})]}),e.jsx(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1224",variant:"outline",className:"shrink-0 rounded-full bg-white",children:G(r.status)})]},r.id))}):e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1234",className:"mt-5 text-sm leading-6 text-muted-foreground",children:"TodavÃa no tienes reuniones 1Ã1 asignadas para esta edición."}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1238",asChild:!0,size:"sm",variant:"outline",className:"mt-4 rounded-full",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1244",href:`/portal/edicion/${a}/meetings`,children:["Ver todas las reuniones",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1246",className:"ml-1.5 h-3.5 w-3.5"})]})})]})})}function Xe({slug:a}){const{data:s,isLoading:t}=p({queryKey:["portal","edition","evaluation-status",a],queryFn:()=>x(`/portal/editions/${a}/my-evaluation-status`),enabled:!!a,staleTime:6e4});return t||!s?.hasEvaluation||!s.phase?null:e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1268",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1269",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1270",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1271",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-amber-100 text-amber-800",children:e.jsx(M,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1272",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1274",className:"flex-1 min-w-0",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1275",className:"text-sm font-semibold text-foreground",children:"Estado de tu candidatura"}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1278",className:"text-xs text-muted-foreground",children:s.phase.name})]})]}),e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1281",className:"mt-4",children:s.status==="result_published"&&s.competitionStatus?e.jsx(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1283",className:"rounded-full bg-emerald-100 text-emerald-800",children:he(s.competitionStatus)}):e.jsx(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1287",variant:"outline",className:"rounded-full bg-white",children:"En evaluación"})})]})})}function ea({slug:a}){const{data:s,isLoading:t}=p({queryKey:["portal","edition","entities","startup-preview",a],queryFn:()=>x(`/portal/editions/${a}/entities?entityType=startup`),enabled:!!a,staleTime:6e4}),i=(s?.entities??[]).slice(0,6);return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1311",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1312",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1313",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1314",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-amber-100 text-amber-800",children:e.jsx(y,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1315",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1317",className:"flex-1 min-w-0",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1318",className:"flex items-center gap-1.5",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1319",className:"text-sm font-semibold text-foreground",children:"Startups de la edición"}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1322",content:"Un vistazo rápido a las startups aceptadas. Explora todas las fichas desde el módulo Entidades."})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1324",className:"text-xs text-muted-foreground",children:"Prepara tu short list de scouting."})]})]}),t?e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1331",className:"mt-5 text-sm text-muted-foreground",children:"Cargando startupsâ¦"}):i.length>0?e.jsx("ul",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1335",className:"mt-5 grid gap-2 sm:grid-cols-2",children:i.map(l=>e.jsxs("li",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1337",className:"flex items-center justify-between gap-3 rounded-xl border border-stone-200/70 bg-white/70 px-4 py-3",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1341",className:"min-w-0",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1342",className:"truncate text-sm font-semibold text-foreground",children:l.name}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1345",className:"truncate text-xs text-muted-foreground",children:l.sector??"Sector sin especificar"})]}),e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1349",className:"h-3.5 w-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"})]},l.id))}):e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1357",className:"mt-5 text-sm leading-6 text-muted-foreground",children:"TodavÃa no hay startups aceptadas visibles en esta edición."}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1361",asChild:!0,size:"sm",variant:"outline",className:"mt-4 rounded-full",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1367",href:`/portal/edicion/${a}/entities`,children:["Ver todas las startups",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1369",className:"ml-1.5 h-3.5 w-3.5"})]})})]})})}function _({slug:a,entityType:s,participationEntityId:t}){const{data:i,isLoading:l}=p({queryKey:["portal","entities"],queryFn:()=>x("/portal/entities"),enabled:!!(a&&t),staleTime:12e4}),r=N.useMemo(()=>(i?.entities??[]).find(w=>w.id===t)??null,[i?.entities,t]);if(!t)return null;const o=s==="startup"?"Mi startup":"Mi ficha",d=r?Z(r):!1,m=r?.completion??null,n=m!==null&&m.percentage>=100,E=m?.percentage??0;return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1409",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1410",className:"p-7",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1411",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1412",className:"inline-flex h-11 w-11 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:e.jsx(y,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1413",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1415",className:"flex-1 min-w-0",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1416",className:"flex items-center gap-1.5",children:[e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1417",className:"text-base font-bold text-foreground",children:[o," en esta edición"]}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1420",content:s==="startup"?"Tu ficha es lo primero que ven los inversores: sector, ronda, métricas y equipo. Cuanto más completa, más conversaciones de calida
11d puedes atraer.":s==="inversor"?"Tu ficha de inversor transmite tu tesis de inversión y tus intereses. Cuanto más completa, mejor saben las startups si tiene sentido contactarte.":"Tu ficha explica qué hace tu entidad y cómo colabora. Cuanto más completa, mejor te encuentran las demás entidades de la edición."})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1430",className:"text-xs text-muted-foreground",children:s==="startup"?"Presencia ante los inversores de la edición.":s==="inversor"?"Credibilidad ante las startups de la edición.":"Presencia ante las demás entidades de la edición."})]})]}),l?e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1441",className:"mt-6 text-sm text-muted-foreground",children:"Cargando tu fichaâ¦"}):r?e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1456",className:"mt-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1457",className:"flex items-center gap-4",children:[e.jsx(Y,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1458",name:r.name,logoUrl:r.logoUrl,primaryColor:void 0,className:"h-14 w-14 rounded-2xl"}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1464",className:"min-w-0 flex-1",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1465",className:"truncate text-lg font-bold tracking-tight text-foreground",children:r.name}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1468",className:"truncate text-sm text-muted-foreground",children:r.sector??"Sector sin especificar"})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1472",className:"shrink-0 text-right",children:[e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1473",className:`text-3xl font-extrabold tabular-nums tracking-tight ${n?"text-emerald-700":"text-foreground"}`,children:[E,"%"]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1480",className:"text-[11px] font-semibold uppercase tracking-[0.16em] text-muted-foreground",children:n?"Completa":"De tu ficha"})]})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1486",className:"mt-6 space-y-2",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1487",className:"flex items-center justify-between text-xs",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1488",className:"font-medium text-foreground",children:"Datos esenciales de la ficha"}),e.jsxs("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1491",className:"text-muted-foreground",children:[m?.completed??0," de ",m?.total??0]})]}),e.jsx(Oe,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1495",value:E,className:"h-2.5","aria-label":"Completitud de tu ficha"}),!n&&e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1501",className:"text-xs leading-5 text-muted-foreground",children:s==="startup"?"Los inversores ven esta ficha ahora mismo. Un perfil completo multiplica las solicitudes de contacto.":"Las startups miran tu ficha antes de contactarte. Un perfil completo te abre mejores conversaciones."})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1509",className:"mt-5 flex flex-wrap items-center gap-x-5 gap-y-1 text-xs text-muted-foreground",children:[e.jsxs("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1510",className:"inline-flex items-center gap-1.5",children:[e.jsx(O,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1511",className:"h-3.5 w-3.5","aria-hidden":"true"}),r.membersCount," ",r.membersCount===1?"miembro":"miembros"]}),r.pendingInvitesCount>0&&e.jsxs("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1516",className:"inline-flex items-center gap-1.5 text-amber-700",children:[e.jsx(ae,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1517",className:"h-3.5 w-3.5","aria-hidden":"true"}),r.pendingInvitesCount," invitaciones pendientes"]})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1523",className:"mt-6 flex flex-wrap gap-2",children:[e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1524",asChild:!0,size:"sm",className:"rounded-full",variant:d&&!n?"default":"outline",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1530",href:d&&!n?W(r.id):S(r.id),children:[d&&!n?"Completar ficha":"Ver mi ficha",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1538",className:"ml-1.5 h-3.5 w-3.5"})]})}),s==="startup"&&!n&&d&&e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1542",asChild:!0,size:"sm",variant:"ghost",className:"rounded-full",children:e.jsx(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1548",href:S(r.id),children:"Ver cómo me ven"})})]})]}):e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1445",className:"mt-6 text-sm leading-6 text-muted-foreground",children:["No encontramos tu ficha en el portal. Revisa"," ",e.jsx(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1447",href:"/portal/entidades",className:"font-medium text-primary hover:underline",children:"Mis entidades"}),"."]})]})})}function R({slug:a}){const{data:s,isLoading:t}=p({queryKey:["portal","edition","contacts",a],queryFn:()=>x(`/portal/editions/${a}/contacts`),enabled:!!a,staleTime:6e4}),i=s?.summary,l=(i?.incomingCount??0)+(i?.outgoingCount??0)>0;if(t)return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1576",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsx(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1577",className:"p-6 text-sm text-muted-foreground",children:"Cargando tu red de contactosâ¦"})});if(!i||!l)return null;const r=i.unansweredCount??0;return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1589",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1590",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1591",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1592",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:e.jsx(C,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1593",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1595",className:"flex-1 min-w-0",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1596",className:"flex items-center gap-1.5",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1597",className:"text-sm font-semibold text-foreground",children:"Networking"}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1600",content:"Tus solicitudes de contacto en esta edición: las que has recibido, las que has enviado y cuántas siguen sin responder."})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1602",className:"text-xs text-muted-foreground",children:"Solicitudes de contacto y conversaciones."})]})]}),e.jsxs("dl",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1608",className:"mt-5 grid grid-cols-3 gap-2",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1609",className:"rounded-xl border border-stone-200/70 bg-white/70 px-3 py-2.5 text-center",children:[e.jsx("dt",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1610",className:"text-xs text-muted-foreground",children:"Recibidas"}),e.jsx("dd",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1611",className:"text-lg font-bold tabular-nums text-foreground",children:i.incomingCount})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1615",className:"rounded-xl border border-stone-200/70 bg-white/70 px-3 py-2.5 text-center",children:[e.jsx("dt",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1616",className:"text-xs text-muted-foreground",children:"Enviadas"}),e.jsx("dd",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1617",className:"text-lg font-bold tabular-nums text-foreground",children:i.outgoingCount})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1621",className:"rounded-xl border border-stone-200/70 bg-white/70 px-3 py-2.5 text-center",children:[e.jsx("dt",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1622",className:"text-xs text-muted-foreground",children:"Aceptadas"}),e.jsx("dd",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1623",className:"text-lg font-bold tabular-nums text-foreground",children:i.acceptedCount})]})]}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1629",asChild:!0,size:"sm",className:"mt-4 rounded-full",variant:r>0?"default":"outline",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1635",href:`/portal/edicion/${a}/contacts`,children:[r>0?`Responder ${r} solicitudes`:"Ver contactos",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1639",className:"ml-1.5 h-3.5 w-3.5"})]})})]})})}function V({slug:a}){const{data:s,isLoading:t}=p({queryKey:["portal","edition","my-agenda",a],queryFn:()=>x(`/portal/editions/${a}/my-agenda`),enabled:!!a,staleTime:6e4}),i=s?.agendaItems??[],l=N.useMemo(()=>{const r=Date.now();return i.filter(o=>o.event.startAt&&f(o.event.startAt)>=r).sort((o,d)=>f(o.event.startAt)-f(d.event.startAt))[0]??null},[i]);return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1672",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1673",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1674",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1675",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:e.jsx(q,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1676",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1678",className:"flex-1 min-w-0",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1679",className:"flex items-center gap-1.5",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1680",className:"text-sm font-semibold text-foreground",children:"Tu programa personal"}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1683",content:"Los eventos y actividades que has guardado o a los que te has inscrito en esta edición. Los encontrarás dentro de tu agenda."})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1685",className:"text-xs text-muted-foreground",children:"Actividades guardadas para tus dÃas del evento."})]})]}),t?e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1692",className:"mt-5 text-sm text-muted-foreground",children:"Cargando tu agendaâ¦"}):i.length>0?e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1696",className:"mt-5 space-y-3",children:[e.jsxs(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1697",className:"rounded-full bg-primary/10 text-primary",children:[i.length," ",i.length===1?"actividad guardada":"actividades guardadas"]}),l?e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1704",className:"rounded-xl border border-stone-200/70 bg-white/70 px-4 py-3",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1705",className:"truncate text-sm font-semibold text-foreground",children:l.event.name}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1708",className:"mt-0.5 text-xs text-muted-foreground",children:z(l.event.startAt,l.event.endAt)})]}):null]}):e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1718",className:"mt-5 text-sm leading-6 text-muted-foreground",children:"TodavÃa no has guardado actividades. Explora la agenda y añade las que no quieras perderte."}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1723",asChild:!0,size:"sm",variant:"outline",className:"mt-4 rounded-full",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1729",href:`/portal/edicion/${a}/agenda`,children:["Abrir mi agenda",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1731",className:"ml-1.5 h-3.5 w-3.5"})]})})]})})}function U({slug:a}){const{data:s,isLoading:t}=p({queryKey:["portal","edition","directory",a,"overview-preview"],queryFn:()=>x(`/portal/editions/${a}/directory`),enabled:!!a,staleTime:6e4}),i=(s?.entries??[]).slice(0,5);return e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1751",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1752",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1753",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1754",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-primary/10 text-primary",children:e.jsx(O,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1755",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1757",className:"flex-1 min-w-0",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1758",className:"flex items-center gap-1.5",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1759",className:"text-sm font-semibold text-foreground",children:"Personas de la edición"}),e.jsx(b,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1762",content:"Un vistazo a los perfiles inscritos. Desde el directorio puedes filtrar por rol y enviar solicitudes de contacto."})]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1764",className:"text-xs text-muted-foreground",children:"Con quién compartirás el evento."})]})]}),t?e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1771",className:"mt-5 text-sm text-muted-foreground",children:"Cargando personasâ¦"}):i.length>0?e.jsx("ul",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1775",className:"mt-5 space-y-2",children:i.map(l=>e.jsxs("li",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1777",className:"flex items-center justify-between gap-3 rounded-xl border border-stone-200/70 bg-white/70 px-4 py-3",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1781",className:"min-w-0",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1782",className:"truncate text-sm font-semibold text-foreground",children:l.userName}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1785",className:"truncate text-xs text-muted-foreground",children:l.entity?.name??"Perfil individual"})]}),e.jsx(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1789",variant:"outline",className:"shrink-0 rounded-full bg-white",children:we(l.applicantType)})]},l.participationId))}):e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1799",className:"mt-5 text-sm leading-6 text-muted-foreground",children:"TodavÃa no hay perfiles visibles en el directorio."}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1803",asChild:!0,size:"sm",variant:"outline",className:"mt-4 rounded-full",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1809",href:`/portal/edicion/${a}/directory`,children:["Ver directorio",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1811",className:"ml-1.5 h-3.5 w-3.5"})]})})]})})}function aa({slug:a,entryPass:s,isLoading:t}){const i=s?H(s.status):"Pendiente",l=!!s;return e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1834",href:`/portal/edicion/${a}/entrada`,id:"pase",className:"group block scroll-mt-6 rounded-2xl border border-white/20 bg-white/10 p-5 backdrop-blur transition-colors hover:border-white/35 hover:bg-white/15","aria-label":`Mi pase de entrada: ${i}.
11Abrir la ruta de la entrada.`,children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1840",className:"flex items-center justify-between gap-3",children:[e.jsxs("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1841",className:"inline-flex items-center gap-2 text-sm font-bold text-white",children:[e.jsx(A,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1842",className:"h-4 w-4","aria-hidden":"true"}),"Mi pase / entrada"]}),e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1845",className:`rounded-full px-2.5 py-1 text-[11px] font-semibold ${l?"bg-emerald-300/20 text-emerald-200":"bg-white/15 text-white/80"}`,children:i})]}),t?e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1857",className:"mt-4 text-xs text-white/60",children:"Cargando paseâ¦"}):s?e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1859",className:"mt-4 flex items-center gap-4",children:[e.jsx(je,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1860",payload:s.qrPayload,label:"QR de entrada",className:"aspect-square w-24 shrink-0"}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1865",className:"min-w-0 flex-1",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1866",className:"text-xs leading-5 text-white/75",children:"QR emitido. Muéstralo en la puerta de acreditación."}),e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1869",className:"mt-2 inline-flex items-center gap-1 text-xs font-bold text-white group-hover:underline",children:["Ver y descargar",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1871",className:"h-3.5 w-3.5","aria-hidden":"true"})]})]})]}):e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1876",className:"mt-4 flex items-center gap-4",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1877",className:"flex aspect-square w-24 shrink-0 items-center justify-center rounded-xl border border-dashed border-white/40 bg-white/5 text-[10px] font-semibold uppercase tracking-[0.16em] text-white/60",children:"QR pendiente"}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1880",className:"min-w-0 flex-1",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1881",className:"text-xs leading-5 text-white/75",children:"Se emitirá cuando tu participación esté confirmada."}),e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1884",className:"mt-2 inline-flex items-center gap-1 text-xs font-bold text-white group-hover:underline",children:["Ver estado",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1886",className:"h-3.5 w-3.5","aria-hidden":"true"})]})]})]})]})}function ta({edition:a,role:s,config:t,participationStatus:i,slug:l,entryPass:r,entryPassLoading:o}){const d=t.roleIcon,m=a.primaryColor??"#185428",n=!!a.heroImageUrl;return e.jsxs("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1917","aria-labelledby":"edition-overview-hero",className:"relative overflow-hidden rounded-[2rem] text-white shadow-[0_14px_36px_rgba(28,37,34,0.14)]",children:[n?e.jsx("img",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1922",src:a.heroImageUrl??"",alt:"","aria-hidden":"true",className:"absolute inset-0 h-full w-full object-cover"}):null,e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1931",className:"absolute inset-0",style:{background:n?`linear-gradient(120deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, ${t.roleDeep}e6 100%)`:`linear-gradient(120deg, ${m}e0 0%, ${t.roleDeep} 100%)`}}),e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1939",className:"absolute inset-0",style:{background:`radial-gradient(90% 140% at 100% 0%, ${t.roleAccent}33 0%, transparent 55%)`},"aria-hidden":"true"}),e.jsx(d,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1948",className:"pointer-events-none absolute -bottom-14 -right-8 h-72 w-72 rotate-12 text-white/10","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1953",className:"relative z-10 px-6 py-10 sm:px-12 sm:py-14 lg:px-16",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1955",className:"flex flex-wrap items-center justify-between gap-4",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1956",className:"flex min-w-0 items-center gap-3",children:[e.jsx(Y,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1957",name:a.name,logoUrl:a.logoUrl,primaryColor:a.primaryColor,className:"h-12 w-12 rounded-2xl border-white/30 bg-white/15"}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1963",className:"min-w-0",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1964",className:"truncate text-sm font-bold uppercase tracking-[0.18em] text-white/80",children:a.name}),e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1967",className:"truncate text-xs text-white/60",children:[a.city||"Lugar por confirmar"," ·"," ",Ke(a.startDate,a.endDate)]})]})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1973",className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1974",className:"inline-flex items-center gap-1.5 rounded-full bg-white/15 px-3 py-1 text-xs font-bold backdrop-blur",children:[e.jsx(Ae,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1975",className:"h-3.5 w-3.5","aria-hidden":"true"}),t.eyebrow]}),e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1978",className:"inline-flex items-center gap-1.5 rounded-full bg-white/15 px-3 py-1 text-xs font-medium backdrop-blur",children:xe(a.status)}),e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1981",className:"hidden items-center gap-1.5 rounded-full bg-white/10 px-3 py-1 text-xs font-medium backdrop-blur sm:inline-flex",children:me(i)})]})]}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1988",className:"mt-12 grid items-end gap-8 lg:grid-cols-[minmax(0,1fr)_minmax(0,340p
11x)]",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1989",className:"max-w-3xl",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1990",className:"text-[11px] font-extrabold uppercase tracking-[0.28em] text-white/70",children:s==="startup"?"Hoy toca preparar tu presencia":s==="inversor"?"Hoy toca scouting":s==="asistente"?"Hoy toca organizar tu dÃa":"Tu acceso a la edición"}),e.jsx("h2",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:1999",id:"edition-overview-hero",className:"mt-4 text-3xl font-extrabold leading-[1.04] tracking-tight sm:text-4xl xl:text-5xl",children:t.headline}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2005",className:"mt-4 max-w-2xl text-sm leading-7 text-white/80 sm:text-base",children:t.description}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2010",className:"mt-9 flex flex-wrap gap-3",children:[e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2011",size:"lg",className:"rounded-full bg-[#c3d83e] font-bold text-[#0e321a] hover:bg-[#d2e35b]",asChild:!0,children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2016",href:t.primaryCta.href,children:[t.primaryCta.label,e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2018",className:"ml-1.5 h-4 w-4","aria-hidden":"true"})]})}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2021",size:"lg",variant:"outline",className:"rounded-full border-white/40 bg-white/10 font-semibold text-white hover:bg-white/20 hover:text-white",asChild:!0,children:t.secondaryCta.href.startsWith("#")?e.jsx("a",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2028",href:t.secondaryCta.href,children:t.secondaryCta.label}):e.jsx(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2032",href:t.secondaryCta.href,children:t.secondaryCta.label})})]})]}),e.jsx(aa,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2040",slug:l,entryPass:r,isLoading:o})]})]}),e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2049",className:"absolute inset-x-0 bottom-0 h-1.5",style:{backgroundColor:t.roleAccent},"aria-hidden":"true"})]})}function sa({slug:a}){const{data:s,isLoading:t}=p({queryKey:["portal","edition","jury-evaluations","preview",a],queryFn:()=>x(`/portal/editions/${a}/jury/evaluations`),enabled:!!a,staleTime:6e4}),l=(s?.phases??[]).map(r=>({...r,pending:r.summary.assignedCount-r.summary.completedCount})).filter(r=>r.pending>0);return t?e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2079",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsx(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2080",className:"p-6 text-sm text-muted-foreground",children:"Cargando evaluaciones de juradoâ¦"})}):l.length===0?null:e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2090",className:"portal-panel border-0 shadow-[0_14px_36px_rgba(28,37,34,0.08)]",children:e.jsxs(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2091",className:"p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2092",className:"flex items-center gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2093",className:"inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-amber-100 text-amber-800",children:e.jsx(M,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2094",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2096",className:"flex-1 min-w-0",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2097",className:"text-sm font-semibold text-foreground",children:"Evaluaciones de jurado"}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2100",className:"text-xs text-muted-foreground",children:"Tienes puntuaciones pendientes de completar."})]})]}),e.jsx("ul",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2105",className:"mt-5 space-y-2",children:l.map(r=>e.jsxs("li",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2107",className:"flex items-center justify-between gap-3 rounded-xl border border-stone-200/70 bg-white/70 px-4 py-3",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2111",className:"truncate text-sm font-semibold text-foreground",children:r.phase.name}),e.jsxs(P,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2114",variant:"outline",className:"shrink-0 rounded-full bg-white",children:[r.pending," pendientes"]})]},r.judgeId))}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2123",asChild:!0,size:"sm",variant:"outline",className:"mt-4 rounded-full",children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2129",href:`/portal/edicion/${a}/jury`,children:["Ir a evaluaciones",e.jsx(v,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2131",className:"ml-1.5 h-3.5 w-3.5"})]})})]})})}function ra({role:a,slug:s}){const t=a==="inversor"?"inversor":a==="startup"?"startup":a==="asistente"?"asistente":"miembro",i=a==="inversor"?"Como inversor, tu flujo habitual es explorar startups (Entidades), seleccionar con quién hablar (Directorio), gestionar las reuniones 1Ã1 asignadas y construir tu agenda personal.":a==="startup"?"Como startup, tu flujo habitual es mantener visibilidad ante inversores (tu ficha en Entidades), responder solicitudes de contacto y preparar las reuniones 1Ã1 asignadas por el equipo.":a==="asistente"?"Como asistente, lo más importante es tener tu entrada QR lista, consultar la escaleta para organizar tu dÃa y usar el directorio para ubicar personas con las que conectar.":"Desde este panel accedes a los módulos de la edición. Cada sección tiene una función concreta de
11scrita en los módulos de arriba.";return e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2159",className:"rounded-2xl border border-stone-200/60 bg-white/60 p-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2160",className:"flex items-start gap-3",children:[e.jsx("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2161",className:"mt-0.5 inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-stone-100 text-stone-500",children:e.jsx(be,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2162",className:"h-4 w-4"})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2164",className:"min-w-0 flex-1",children:[e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2165",className:"text-sm font-semibold text-foreground",children:["Orientación rápida · acceso como ",t]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2168",className:"mt-1 text-sm leading-6 text-muted-foreground",children:i})]})]}),e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2174",className:"mt-5 grid gap-3 sm:grid-cols-2 xl:grid-cols-3",children:ze.map(({term:l,definition:r})=>e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2176",className:"space-y-1",children:[e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2177",className:"text-xs font-semibold text-foreground",children:l}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2178",className:"text-xs leading-5 text-muted-foreground",children:r})]},l))}),e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2185",className:"mt-5 text-xs text-muted-foreground",children:["¿Tienes dudas concretas sobre el evento?"," ",e.jsx(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2187",href:`/portal/edicion/${s}/ayuda`,className:"font-medium text-primary hover:underline",children:"Abre un ticket de soporte"})," ","y el equipo gestor te responde directamente."]})]})}function ia(a,s){const t=a==="all"?s:a;return t==="startup"?"Aplicar como startup":t==="inversor"?"Aplicar como inversor":t==="asistente"?"Asistir":J(t)?`Aplicar como ${$(t).label.toLowerCase()}`:"Aplicar"}function oa({slug:a,userRole:s}){const{entities:t}=ue(),{data:i}=p({queryKey:["public","edition-calls",a],queryFn:()=>x(`/editions/${a}/calls`),staleTime:12e4}),{data:l}=p({queryKey:["portal","applications"],queryFn:()=>x("/portal/applications"),staleTime:12e4}),r=N.useMemo(()=>Ne(t),[t]),o=(i?.data??[]).filter(n=>n.status==="applications_open"),d=l?.applications??[],m=o.filter(n=>!Ce(d,a,n.slug));return m.length===0?null:e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2256",className:"space-y-2",children:m.map(n=>{const E=r.some(j=>ke(n,j)),w=J(n.targetRole)?n.targetRole:null,k=w?t.some(j=>j.type===w&&j.entityRole!=="owner"):!1;return E?e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2306",className:"flex flex-wrap items-center gap-4 roun
11ded-2xl border border-primary/20 bg-primary/5 px-5 py-4",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2310",className:"min-w-0 flex-1",children:[e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2311",className:"text-sm font-semibold text-foreground",children:["Convocatoria abierta: ",n.name]}),n.summary&&e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2315",className:"mt-0.5 text-xs leading-5 text-muted-foreground line-clamp-1",children:n.summary})]}),e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2320",size:"sm",className:"shrink-0 rounded-full",asChild:!0,children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2321",href:`/portal/ediciones/${a}/aplicar`,children:[ia(n.targetRole,s),n.product&&e.jsxs("span",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2324",className:"ml-1 opacity-80",children:["·"," ",parseFloat(n.product.price).toLocaleString("es-ES",{style:"currency",currency:n.product.currency,minimumFractionDigits:0})]}),e.jsx($e,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2333",className:"ml-1 h-3.5 w-3.5"})]})})]},n.slug):e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2273",className:"flex flex-wrap items-center gap-4 roun
11ded-2xl border border-[#d97706]/40 bg-[#fffaf0] px-5 py-4 shadow-[inset_3px_0_#d97706]",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2277",className:"min-w-0 flex-1",children:[e.jsxs("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2278",className:"text-sm font-semibold text-[#78350f]",children:["Convocatoria abierta: ",n.name]}),e.jsx("p",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2281",className:"mt-0.5 text-xs leading-5 text-[#92400e]",children:k?"Eres miembro de una entidad de este tipo, pero solo su propietario puede aplicar. Pide al propietario que te asigne ese rol o da de alta la tuya.":w?`Necesitas una entidad de tipo ${$(w).label.toLowerCase()} de la que seas propietario para aplicar.`:"Tu cuenta no cumple el tipo de identidad que exige esta convocatoria."})]}),w&&!k?e.jsx(u,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2290",size:"sm",className:"shrink-0 rounded-full bg-[#b45309] font-bold text-white shadow-[0_2px_8px_rgba(180,83,9,0.32)] hover:bg-[#92400e]",asChild:!0,children:e.jsxs(c,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2295",href:ve(w),children:[$(w).createLabel,e.jsx(ge,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2297",className:"ml-1 h-3.5 w-3.5"})]})}):null]},n.slug)})})}function Qa(){const{slug:a}
11=Te(),{data:s,isLoading:t}=p({queryKey:["portal","edition",a],queryFn:()=>x(`/portal/editions/${a}`),enabled:!!a,staleTime:12e4}),i=p({queryKey:["portal","edition","entry-pass",a],queryFn:()=>x(`/portal/editions/${a}/entry-pass`),enabled:!!a,staleTime:6e4}),l=p({queryKey:["portal","edition","agenda",a],queryFn:()=>x(`/portal/editions/${a}/agenda`),enabled:!!a,staleTime:6e4}),r=s??null,o=r?.edition??null,d=r?.participation.applicantType??Be,m=Ue(d,a??""),n=N.useMemo(()=>new Set(r?.membership.permissions??[]),[r?.membership.permissions]),E=N.useMemo(()=>He(a??"",l.data),[l.data,a]),w=E[0]??null,k=p({queryKey:["portal","entities"],queryFn:()=>x("/portal/entities"),enabled:!!(a&&r?.participation?.entityId),staleTime:12e4}),j=p({queryKey:["portal","edition","contacts",a],queryFn:()=>x(`/portal/editions/${a}/contacts`),enabled:!!a,staleTime:6e4}),te=p({queryKey:["portal","edition","meetings",a],queryFn:()=>x(`/portal/editions/${a}/meetings`),enabled:!!a,staleTime:6e4}),se=p({queryKey:["portal","edition","my-agenda",a],queryFn:()=>x(`/portal/editions/${a}/my-agenda`),enabled:!!a,staleTime:6e4}),re=p({queryKey:["portal","edition","directory",a,"overview-preview"],queryFn:()=>x(`/portal/editions/${a}/directory`),enabled:!!a,staleTime:6e4}),ie=p({queryKey:["portal","edition","entities","startup-preview",a],queryFn:()=>x(`/portal/editions/${a}/entities?entityType=startup`),enabled:!!a,staleTime:6e4}),I=r?.participation?.entityId?(k.data?.entities??[]).find(T=>T.id===r.participation.entityId)??null:null,F={entity:I,canEditEntity:I?Z(I):!1,contacts:j.data?.summary??null,meetingsCount:(te.data?.meetings??[]).filter(T=>T.status!=="cancelled"&&T.status!=="no_show").length,startupsCount:ie.data?.entities.length??0,peopleCount:re.data?.entries.length??0,agendaCount:se.data?.agendaItems.length??0,upcomingHits:E.length,entryPassLabel:i.data?.entryPass?H(i.data.entryPass.status):"Pendiente"},oe=De(m.actions,F),le=Me(d,F);return e.jsx(ne,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2457",title:"Overview",subtitle:"Vista general de la edición, adaptada a tu rol y a tus próximos movimientos.",breadcrumbs:[{label:"Portal",href:"/portal"},{label:"Ediciones",href:"/portal/ediciones"},{label:o?.name??a},{label:"Overview"}],edition:o,currentSectionKey:"overview",children:t||!r?e.jsx(g,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2470",className:"portal-panel border-0 shadow-none",children:e.jsx(h,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2471",className:"p-8 text-sm text-muted-foreground",children:"Cargando acceso de ediciónâ¦"})}):e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2476",className:"space-y-10",children:[e.jsx(ta,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2478",edition:r.edition,role:d,config:m,participationStatus:r.participation.status,slug:a??"",entryPass:i.data?.entryPass??null,entryPassLoading:i.isLoading}),e.jsx(oa,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2489",slug:a??"",userRole:d}),e.jsx(We,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2492",config:m,actions:oe}),d==="startup"&&e.jsxs("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2496","aria-label":"Tu presencia y actividad como startup",className:"space-y-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2500",className:"grid gap-6 xl:grid-cols-5 xl:items-start",children:[e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2501",className:"xl:col-span-3",children:e.jsx(_,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2502",slug:a??"",entityType:"startup",participationEntityId:r.participation.entityId})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2508",className:"space-y-6 xl:col-span-2",children:[e.jsx(Xe,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2509",slug:a??""}),e.jsx(R,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2510",slug:a??""})]})]}),e.jsx(K,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2513",slug:a??"",counterpartLabel:"Inversor"})]}),d==="inversor"&&e.jsxs("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2521","aria-label":"Tu actividad como inversor",className:"space-y-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2525",className:"grid gap-6 xl:grid-cols-5 xl:items-start",children:[e.jsx("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2526",className:"xl:col-span-3",children:e.jsx(ea,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2527",slug:a??""})}),e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2529",className:"space-y-6 xl:col-span-2",children:[e.jsx(_,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2530",slug:a??"",entityType:"inversor",participationEntityId:r.participation.entity
11Id}),e.jsx(R,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2535",slug:a??""})]})]}),e.jsx(K,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2538",slug:a??"",counterpartLabel:"Startup"})]}),d==="asistente"&&e.jsxs("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2546","aria-label":"Tu programa y las personas de la edición",className:"space-y-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2550",className:"grid gap-6 xl:grid-cols-2 xl:items-start",children:[e.jsx(V,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2551",slug:a??""}),e.jsx(U,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2552",slug:a??""})]}),e.jsx(R,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2554",slug:a??""})]}),B(d)&&e.jsxs("section",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2559","aria-label":"Tu presencia y las personas de la edición",className:"space-y-6",children:[e.jsxs("div",{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2563",className:"grid gap-6 xl:grid-cols-2 xl:items-start",children:[e.jsx(_,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2564",slug:a??"",entityType:d,participationEntityId:r.participation.entityId}),e.jsx(U,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2569",slug:a??""})]}),e.jsx(V,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2571",slug:a??""})]}),e.jsx(Ge,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2576",item:w,isLoading:l.isLoading}),n.has("evaluations.score")&&e.jsx(sa,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2583",slug:a??""}),(d==="startup"||d==="inversor")&&e.jsx(Ze,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2588",slug:a??""}),e.jsx(Je,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2592",kpis:le}),e.jsx(Ye,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2595",slug:a??"",permissionKeys:n,priorityKeys:m.modulePriority}),e.jsx(ra,{"data-loc":"src/pages/portal/PortalEditionOverview.tsx:2602",role:d,slug:a??""})]})})}export{Qa as default};
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.