1import{i as e,n as t,t as n}from"./jsx-runtime-CY_MMzgk.js";import{t as r}from"./link-BGlm3VjD.js";import{E as i,G as a,O as o,P as s,U as c,W as l,ct as u,dt as d,j as f,p,pt as m}from"./index-BRwNxp4M.js";import{t as h}from"./createLucideIcon-DyymOcrj.js";import{i as g,t as _}from"./socials-_OtmI_0N.js";import{t as v}from"./plus-C0veIjU-.js";import{t as y}from"./x-DEFMujMV.js";var b=h(`accessibility`,[[`circle`,{cx:`16`,cy:`4`,r:`1`,key:`1grugj`}],[`path`,{d:`m18 19 1-7-6 1`,key:`r0i19z`}],[`path`,{d:`m5 8 3-3 5.5 3-2.36 3.5`,key:`9ptxx2`}],[`path`,{d:`M4.24 14.5a5 5 0 0 0 6.88 6`,key:`10kmtu`}],[`path`,{d:`M13.76 17.5a5 5 0 0 0-6.88-6`,key:`2qq6rc`}]]),x=h(`badge-check`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),S=h(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),C=h(`building-2`,[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]]),w=h(`calendar-check`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`m9 16 2 2 4-4`,key:`19s6y9`}]]),T=h(`calendar-days`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 14h.01`,key:`6423bh`}],[`path`,{d:`M12 14h.01`,key:`1etili`}],[`path`,{d:`M16 14h.01`,key:`1gbofw`}],[`path`,{d:`M8 18h.01`,key:`lrp35t`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}],[`path`,{d:`M16 18h.01`,key:`kzsmim`}]]),E=h(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),D=h(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),O=h(`ellipsis-vertical`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}]]),k=h(`handshake`,[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`,key:`efffak`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`,key:`9pr0kb`}],[`path`,{d:`m21 3 1 11h-2`,key:`1tisrp`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`,key:`1uvwmv`}],[`path`,{d:`M3 4h8`,key:`1ep09j`}]]),A=h(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),j=h(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]),M=h(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),N=h(`map-pin`,[[`path`,{d:`M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0`,key:`1r0f0z`}],[`circle`,{cx:`12`,cy:`10`,r:`3`,key:`ilqhr7`}]]),ee=h(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),P=h(`monitor-down`,[[`path`,{d:`M12 13V7`,key:`h0r20n`}],[`path`,{d:`m15 10-3 3-3-3`,key:`lzhmyn`}],[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}]]),F=h(`phone`,[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2
10 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),I=h(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),L=h(`share`,[[`path`,{d:`M12 2v13`,key:`1km8f5`}],[`path`,{d:`m16 6-4-4-4 4`,key:`13yo43`}],[`path`,{d:`M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8`,key:`1b2hhj`}]]),R=h(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),z=e(t(),1),B={version:1,asset_id:`c7d75e35-4ea3-40b1-9225-219c843368b8`,project_id:`b56b6d0e-85e1-4245-a24a-305899ee62d7`,url:`/__l5e/assets-v1/c7d75e35-4ea3-40b1-9225-219c843368b8/logo-industriae-moodle.png`,r2_key:`a/v1/b56b6d0e-85e1-4245-a24a-305899ee62d7/c7d75e35-4ea3-40b1-9225-219c843368b8/logo-industriae-moodle.png`,original_filename:`logo-industriae-moodle.png`,size:8177,content_type:`image/png`,created_at:`2026-07-15T16:46:40Z`},V=n();function H(){let{language:e,setLanguage:t,t:n}=a();return(0,V.jsx)(`div`,{role:`group`,"aria-label":n(`lang.aria`),className:`inline-flex items-center rounded-full border border-white/10 bg-white/5 p-0.5 text-xs`,children:[`es`,`en`].map(n=>(0,V.jsx)(`button`,{onClick:()=>t(n),"aria-pressed":e===n,className:`rounded-full px-3 py-1 font-medium uppercase transition ${e===n?`bg-primary text-primary-foreground`:`text-muted-foreground hover:text-foreground`}`,children:n},n))})}function U({label:e,to:t,items:n}){let[i,a]=(0,z.useState)(!1),o=(0,z.useRef)(null),s=()=>{o.current&&=(clearTimeout(o.current),null)},c=()=>{s(),o.current=setTimeout(()=>a(!1),150)};return(0,z.useEffect)(()=>()=>s(),[]),(0,V.jsxs)(`div`,{className:`relative`,onMouseEnter:()=>{s(),a(!0)},onMouseLeave:c,onFocus:()=>{s(),a(!0)},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||c()},children:[(0,V.jsxs)(r,{to:t,className:`inline-flex items-center gap-1 text-sm font-medium text-foreground/80 transition hover:text-foreground`,"aria-haspopup":`menu`,"aria-expanded":i,onClick:()=>a(!1),onKeyDown:e=>{e.key===`Escape`&&a(!1)},children:[e,(0,V.jsx)(E,{className:`h-4 w-4 transition-transform ${i?`rotate-180`:``}`,"aria-hidden":!0})]}),i&&(0,V.jsx)(`div`,{role:`menu`,className:`absolute left-1/2 top-full z-50 w-72 -translate-x-1/2 pt-3`,children:(0,V.jsx)(`div`,{className:`rounded-2xl border border-white/10 bg-background/95 p-2 shadow-2xl backdrop-blur-xl`,children:n.map(e=>(0,V.jsxs)(`a`,{href:e.href,role:`menuitem`,onClick:()=>a(!1),className:`group flex items-center justify-between gap-3 rounded-xl px-3 py-2 text-sm text-foreground/80 transition hover:bg-primary/10 hover:pl-4 hover:text-primary focus:bg-primary/10 focus:text-primary focus:outline-none`,children:[(0,V.jsx)(`span`,{children:e.name}),(0,V.jsx)(`span`,{"aria-hidden":!0,className:`opacity-0 transition group-hover:opacity-100`,children:`â`})]},e.href))})})]})}function W(){let[e,t]=(0,z.useState)(!1),[n,l]=(0,z.useState)(!1),{t:u,language:h}=a(),_=d({select:e=>e.location.pathname}),v=m();return(0,z.useEffect)(()=>{let e=()=>t(window.scrollY>8);return e(),window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,z.useEffect)(()=>{if(!n)return;let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,()=>{document.body.style.overflow=e}},[n]),(0,z.useEffect)(()=>
1{l(!1)},[_]),(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(`div`,{className:`pointer-events-none fixed inset-x-3 z-40 flex items-center justify-between md:hidden`,style:{top:`calc(env(safe-area-inset-top) + 0.25rem)`},children:[(0,V.jsx)(`div`,{className:`pointer-events-auto rounded-full border border-white/10 bg-background/70 p-0.5 backdrop-blur-xl`,children:(0,V.jsx)(H,{})}),(0,V.jsx)(`button`,{type:`button`,onClick:()=>l(!0),"aria-label":u(`nav.menu`),"aria-expanded":n,className:`pointer-events-auto inline-flex h-11 w-11 items-center justify-center rounded-full border border-white/10 bg-background/70 text-white backdrop-blur-xl transition hover:bg-white/10`,children:(0,V.jsx)(ee,{className:`h-5 w-5`,"aria-hidden":!0})})]}),n&&(0,V.jsxs)(`div`,{className:`fixed inset-0 z-50 md:hidden`,children:[(0,V.jsx)(`button`,{type:`button`,"aria-label":u(`nav.close`),onClick:()=>l(!1),className:`absolute inset-0 bg-black/60 backdrop-blur-sm`}),(0,V.jsxs)(`div`,{role:`dialog`,"aria-modal":`true`,className:`absolute right-0 top-0 flex h-full w-[86%] max-w-sm flex-col border-l border-white/10 bg-background/95 backdrop-blur-xl`,style:{paddingTop:`calc(env(safe-area-inset-top) + 1rem)`},children:[(0,V.jsxs)(`div`,{className:`flex items-center justify-between px-5 pb-4`,children:[(0,V.jsx)(`img`,{src:B.url,alt:`Industria Elearning`,className:`h-10 w-auto`}),(0,V.jsx)(`button`,{type:`button`,onClick:()=>l(!1),"aria-label":u(`nav.close`),className:`inline-flex h-10 w-10 items-center justify-center rounded-full border border-white/10 bg-white/5 text-white transition hover:bg-white/10`,children:(0,V.jsx)(y,{className:`h-5 w-5`,"aria-hidden":!0})})]}),(0,V.jsxs)(`nav`,{className:`flex-1 overflow-y-auto px-3 pb-6`,children:[(0,V.jsx)(`ul`,{className:`flex flex-col gap-1`,children:[{to:`/`,key:`nav.home`,icon:A},{to:`/sectores`,key:`nav.sectors`,icon:C},{to:`/soluciones`,key:`nav.solutions`,icon:j},{to:`/eventos`,key:`nav.events`,icon:T},{to:`/alianzas`,key:`nav.partners`,icon:k},{to:`/noticias`,key:`nav.blog`,icon:S},{to:`/agenda`,key:`nav.agenda`,icon:w}].map(({to:e,key:t,icon:n})=>(0,V.jsx)(`li`,{children:(0,V.jsxs)(r,{to:e,onClick:()=>l(!1),className:`flex items-center gap-3 rounded-xl px-4 py-3 text-base font-medium text-white/90 transition hover:bg-white/5 hover:text-white`,children:[(0,V.jsx)(n,{className:`h-5 w-5 text-white/60`,"aria-hidden":!0}),u(t)]})},e))}),(0,V.jsxs)(`div`,{className:`mt-6`,children:[(0,V.jsx)(`p`,{className:`mb-2 px-4 text-[10px] font-semibold uppercase tracking-wider text-white/40`,children:u(`nav.sectors`)}),(0,V.jsx)(`ul`,{className:`grid grid-cols-2 gap-1 px-1`,children:o.map(e=>(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:p[e.slug]?`/sectores/${p[e.slug]}`:`/sectores#${e.slug}`,onClick:()=>l(!1),className:`block rounded-lg px-3 py-2 text-sm text-white/80 transition hover:bg-white/5 hover:text-white`,children:u(`sector.${e.slug}`)})},e.slug))})]}),(0,V.jsxs)(`div`,{className:`mt-6`,children:[(0,V.jsx)(`p`,{className:`mb-2 px-4 text-[10px] font-semibold uppercase tracking-wider text-white/40`,children:u(`nav.solutions`)}),(0,V.jsx)(`ul`,{className:`flex flex-col gap-1 px-1`,children:f.map(e=>(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:`/soluciones#${e.slug}`,onClick:()=>l(!1),className:`block rounded-lg px-3 py-2 text-sm text-white/80 transition hover:bg-white/5 hover:text-white`,children:s(e.name,h)})},e.slug))})]})]}),(0,V.jsx)(`div`,{className:`border-t border-white/10 p-4`,children:(0,V.jsxs)(`a`,{href:`https://wa.me/${i.phoneRaw}`,onClick:()=>c(`whatsapp_click`,{location:`navbar`}),target:`_blank`,rel:`noopener noreferrer`,className:`flex w-full items-center justify-center gap-2 rounded-full bg-whatsapp px-5 py-3 text-sm font-semibold text-black transition hover:brightness-110`,children:[(0,V.jsx)(g,{className:`h-4 w-4`,"aria-hidden":!0}),` `,u(`cta.contact`)]})})]})]}),(0,V.jsx)(`header`,{className:`fixed inset-x-0 top-0 z-40 hidden transition-all duration-300 md:block ${e?`px-4 pt-4`:`px-4 pt-6`}`,children:(0,V.jsxs)(`nav`,{"aria-label":u(`nav.home`),className:`mx-auto flex max-w-7xl items-center justify-between gap-6 transition-all duration-300 ${e?`h-16 rounded-full border border-white/10 bg-background/70 px-6 shadow-lg shadow-black/30 backdrop-blur-xl`:`h-24 border border-transparent px-6`}`,children:[(0,V.jsx)(r,{to:`/`,onClick:e=>{_===`/`?(e.preventDefault(),window.scrollTo({top:0,behavior:`smooth`})):(e.preventDefault(),v({to:`/`}).then(()=>window.scrollTo({top:0,behavior:`smooth`})))},className:`group flex cursor-pointer items-center rounded-full transition hover:opacity-90 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/60`,"aria-label":`Ir al inicio · Industria Elearning`,title:`Ir al inicio`,children:(0,V.jsx)(`img`,{src:B.url,alt:`Industria Elearning · Moodle Certified Partner`,className:`w-auto cursor-pointer transition-all duration-300 group-hover:scale-[1.03] ${e?`h-14`:`h-20`}`})}),(0,V.jsxs)(`div`,{className:`flex items-center gap-6`,children:[(0,V.jsx)(r,{to:`/`,className:`text-sm font-medium text-foreground
1/80 hover:text-foreground`,children:u(`nav.home`)}),(0,V.jsx)(U,{label:u(`nav.sectors`),to:`/sectores`,items:o.map(e=>({name:u(`sector.${e.slug}`),href:p[e.slug]?`/sectores/${p[e.slug]}`:`/sectores#${e.slug}`}))}),(0,V.jsx)(U,{label:u(`nav.solutions`),to:`/soluciones`,items:f.map(e=>({name:s(e.name,h),href:`/soluciones#${e.slug}`}))}),(0,V.jsx)(r,{to:`/eventos`,className:`text-sm font-medium text-foreground/80 hover:text-foreground`,children:u(`nav.events`)}),(0,V.jsx)(r,{to:`/alianzas`,className:`text-sm font-medium text-foreground/80 hover:text-foreground`,children:u(`nav.partners`)}),(0,V.jsx)(r,{to:`/noticias`,className:`text-sm font-medium text-foreground/80 hover:text-foreground`,children:u(`nav.blog`)})]}),(0,V.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,V.jsx)(H,{}),(0,V.jsx)(`a`,{href:`/agenda`,className:`inline-flex items-center rounded-full bg-primary px-5 py-2 text-sm font-semibold text-primary-foreground shadow-lg shadow-primary/20 transition hover:bg-primary/90`,children:u(`cta.book`)})]})]})})]})}var G=[{to:`/`,key:`nav.home`,icon:A},{to:`/sectores`,key:`nav.sectors`,icon:C},{to:`/soluciones`,key:`nav.solutions`,icon:j},{to:`/alianzas`,key:`nav.partners`,icon:k},{to:`/noticias`,key:`nav.blog`,icon:S},{to:`/agenda`,key:`nav.agenda`,icon:w}];function K(){let e=d({select:e=>e.location.pathname}),{t}=a();return(0,V.jsx)(`nav`,{"aria-label":t(`nav.home`),className:`fixed inset-x-0 bottom-0 z-40 border-t border-white/10 bg-background/70 backdrop-blur-xl md:hidden`,style:{paddingBottom:`env(safe-area-inset-bottom)`},children:(0,V.jsx)(`ul`,{className:`mx-auto flex max-w-md items-center justify-around px-1 py-2`,children:G.map(({to:n,key:i,icon:a})=>{let o=n===`/`?e===`/`:e.startsWith(n),s=t(i);return(0,V.jsx)(`li`,{children:(0,V.jsxs)(r,{to:n,"aria-label":s,"aria-current":o?`page`:void 0,className:`flex flex-col items-center gap-1 rounded-xl px-2 py-1.5 text-[11px] font-medium transition ${o?`text-primary`:`text-muted-foreground hover:text-foreground`}`,children:[(0,V.jsx)(a,{className:`h-5 w-5`,"aria-hidden":!0}),(0,V.jsx)(`span`,{children:s})]})},n)})})})}var q={version:1,asset_id:`2ba90d3c-2ce8-42c5-a376-6190abe43ff4`,project_id:`b56b6d0e-85e1-4245-a24a-305899ee62d7`,url:`/__l5e/assets-v1/2ba90d3c-2ce8-42c5-a376-6190abe43ff4/logo-industriae-white.png`,r2_key:`a/v1/b56b6d0e-85e1-4245-a24a-305899ee62d7/2ba90d3c-2ce8-42c5-a376-6190abe43ff4/logo-industriae-white.png`,original_filename:`logo-industriae-white.png`,size:3168,content_type:`image/png`,created_at:`2026-07-15T20:10:53Z`};function J(){let{t:e,language:t}=a(),n=t===`es`,r=n?`/politica-de-privacidad`:`/en/privacy-policy`,o=n?`/terminos-y-condiciones`:`/en/terms-and-conditions`,[s,l]=(0,z.useState)([]);return(0,z.useEffect)(()=>{let e=!1;return(async()=>{let{data:t}=await u.from(`site_socials`).select(`id,platform,url,sort_order`).eq(`is_active`,!0).order(`sort_order`,{ascending:!0});!e&&t&&l(t)})(),()=>{e=!0}},[]),(0,V.jsxs)(`footer`,{className:`border-t border-white/10 bg-background pb-24 pt-16 text-foreground md:pb-16`,children:[(0,V.jsxs)(`div`,{className:`mx-auto grid max-w-7xl grid-cols-1 items-start gap-8 px-6 md:grid-cols-4`,children:[(0,V.jsxs)(`div`,{className:`space-y-4`,children:[(0,V.jsx)(`img`,{src:q.url,alt:`Industria Elearning`,className:`h-20 w-auto`,loading:`lazy`}),(0,V.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e(`footer.desc`)}),(0,V.jsxs)(`div`,{className:`inline-flex items-center gap-2 rounded-full border border-secondary/40 bg-secondary/10 px-3 py-1.5 text-xs font-semibold text-secondary`,children:[(0,V.jsx)(x,{className:`h-4 w-4`,"aria-hidden":!0}),`Moodle Certified Partner`]}),s.length>0&&(0,V.jsx)(`div`,{className:`flex flex-wrap items-center gap-3 pt-1`,children:s.map(e=>{let t=_[e.platform]??_.other,n=t.Icon;return(0,V.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,"aria-label":t.label,className:`flex h-10 w-10 items-center justify-center rounded-full border border-white/10 bg-white/5 text-foreground/70 transition hover:border-primary/40 hover:text-primary`,children:(0,V.jsx)(n,{className:`h-4 w-4`,"aria-hidden":!0})},e.id)})})]}),(0,V.jsxs)(`div`,{children:[(0,V.jsx)(`h3`,{className:`mb-4 text-sm font-semibold uppercase tracking-wider text-foreground`,children:n?`Contacto`:`Contact`}),(0,V.jsxs)(`ul`,{className:`space-y-3 text-sm text-muted-foreground`,children:[(0,V.jsx)(`li`,{children:(0,V.jsxs)(`a`,{href:`tel:+${i.phoneRaw}`,className:`-mx-2 flex min-h-11 items-center gap-2 rounded-lg px-2 transition hover:text-foreground`,children:[(0,V.jsx)(F,{className:`h-4 w-4 shrink-0 text-secondary`,"aria-hidden":!0}),(0,V.jsxs)(`span`,{children:[(0,V.jsxs)(`span`,{className:`text-foreground
1/80`,children:[n?`Ventas`:`Sales`,`:`]}),` `,i.phone]})]})}),(0,V.jsx)(`li`,{children:(0,V.jsxs)(`a`,{href:`tel:+${i.phoneCorporateRaw}`,className:`-mx-2 flex min-h-11 items-center gap-2 rounded-lg px-2 transition hover:text-foreground`,children:[(0,V.jsx)(F,{className:`h-4 w-4 shrink-0 text-secondary`,"aria-hidden":!0}),(0,V.jsxs)(`span`,{children:[(0,V.jsxs)(`span`,{className:`text-foreground/80`,children:[n?`Corporativo`:`Corporate`,`:`]}),` `,i.phoneCorporate]})]})}),(0,V.jsx)(`li`,{children:(0,V.jsxs)(`a`,{href:`mailto:[email protected]`,onClick:()=>c(`email_click`,{destination:`ventas`,location:`footer`}),className:`-mx-2 flex min-h-11 items-center gap-2 rounded-lg px-2 transition hover:text-foreground`,children:[(0,V.jsx)(M,{className:`h-4 w-4 shrink-0 text-secondary`,"aria-hidden":!0}),(0,V.jsx)(`span`,{className:`break-all`,children:`[email protected]`})]})})]})]}),(0,V.jsxs)(`div`,{children:[(0,V.jsx)(`h3`,{className:`mb-4 text-sm font-semibold uppercase tracking-wider text-foreground`,children:n?`Secciones y legal`:`Sections & legal`}),(0,V.jsxs)(`ul`,{className:`space-y-3 text-sm text-muted-foreground`,children:[(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:`/alianzas`,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`Alianzas`:`Partners`})}),(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:`/comparativas`,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`Comparativas`:`Comparisons`})}),(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:`/recursos`,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`Recursos`:`Resources`})}),(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:`/como-trabajamos`,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`Cómo trabajamos`:`How we work`})}),(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:`/preguntas-frecuentes`,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`Preguntas frecuentes`:`FAQ`})}),(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:`/glosario`,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`Glosario`:`Glossary`})}),(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:r,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`PolÃtica de privacidad`:`Privacy Policy`})}),(0,V.jsx)(`li`,{children:(0,V.jsx)(`a`,{href:o,className:`-mx-2 flex min-h-11 items-center rounded-lg px-2 transition hover:text-foreground`,children:n?`Términos y condiciones`:`Terms and Conditions`})})]})]}),(0,V.jsxs)(`div`,{children:[(0,V.jsx)(`h3`,{className:`mb-4 text-sm font-semibold uppercase tracking-wider text-foreground`,children:n?`Dirección`:`Address`}),(0,V.jsxs)(`address`,{className:`flex gap-2 text-sm not-italic leading-relaxed text-muted-foreground`,children:[(0,V.jsx)(N,{className:`mt-0.5 h-4 w-4 shrink-0 text-secondary`,"aria-hidden":!0}),(0,V.jsxs)(`span`,{children:[`Av. Alfredo Benavides 1180, Dpto. 703`,(0,V.jsx)(`br`,{}),`Urb. Prolongación Benavides`,(0,V.jsx)(`br`,{}),`Miraflores, Lima 15076, Perú`]})]})]})]}),(0,V.jsx)(`div`,{className:`mx-auto mt-12 max-w-7xl border-t border-white/10 px-6 pt-6`,children:(0,V.jsxs)(`div`,{className:`space-y-1.5 text-center`,children:[(0,V.jsx)(`p`,{className:`text-xs text-muted-foreground sm:text-sm`,children:`INDUSTRIA E ASOCIADOS S.A.C. · RUC 20608444735`}),(0,V.jsxs)(`p`,{className:`text-xs text-muted-foreground sm:text-sm`,children:[`© 2026 Industria E Asociados S.A.C. `,n?`Todos los derechos reservados.`:`All rights reserved.`]}),(0,V.jsxs)(`p`,{className:`text-xs text-muted-foreground/70`,children:[`Moodle⢠`,n?`es una marca registrada de Moodle Pty Ltd. Industria Elearning es Moodle Certified Partner en Perú.`:`is a registered trademark of Moodle Pty Ltd. Industria Elearning is a Moodle Certified Partner in Peru.`]})]})})]})}function te({raised:e=!1}){let{t}=a(),[n,r]=(0,z.useState)(!1),{highContrast:i,grayscale:o,dyslexicFont:s,toggle:c,reset:u}=l(),d=[{key:`highContrast`,label:t(`a11y.contrast`),value:i},{key:`grayscale`,label:t(`a11y.grayscale`),value:o},{key:`dyslexicFont`,label:t(`a11y.dyslexic`),value:s}];return(0,V.jsxs)(`div`,{className:`fixed left-6 z-[60] transition-all duration-300 ${e?`bottom-40 md:bottom-24`:`bottom-24 md:bottom-6`}`,children:[n&&(0,V.jsxs)(`div`,{role:`dialog`,"aria-label":t(`a11y.dialog`),className:`mb-3 w-64 roun
1ded-2xl border border-white/10 bg-background/80 p-4 shadow-2xl backdrop-blur-xl`,children:[(0,V.jsxs)(`div`,{className:`mb-3 flex items-center justify-between`,children:[(0,V.jsx)(`span`,{className:`text-sm font-semibold text-foreground`,children:t(`a11y.title`)}),(0,V.jsx)(`button`,{"aria-label":t(`common.close`),onClick:()=>r(!1),className:`rounded-full p-1 text-muted-foreground hover:text-foreground`,children:(0,V.jsx)(y,{className:`h-4 w-4`})})]}),(0,V.jsxs)(`div`,{className:`space-y-2`,children:[d.map(e=>(0,V.jsxs)(`button`,{onClick:()=>c(e.key),"aria-pressed":e.value,className:`flex w-full items-center justify-between rounded-xl border px-3 py-2 text-sm transition ${e.value?`border-primary/50 bg-primary/15 text-foreground`:`border-white/10 bg-white/5 text-foreground/80 hover:border-white/20`}`,children:[(0,V.jsx)(`span`,{children:e.label}),(0,V.jsx)(`span`,{className:`inline-flex h-5 w-9 items-center rounded-full p-0.5 transition ${e.value?`bg-primary`:`bg-white/10`}`,children:(0,V.jsx)(`span`,{className:`h-4 w-4 rounded-full bg-white transition ${e.value?`translate-x-4`:``}`})})]},e.key)),(0,V.jsx)(`button`,{onClick:u,className:`w-full rounded-xl border border-white/10 px-3 py-2 text-xs text-muted-foreground transition hover:text-foreground`,children:t(`a11y.reset`)})]})]}),(0,V.jsx)(`button`,{onClick:()=>r(e=>!e),"aria-label":t(`a11y.open`),"aria-expanded":n,className:`flex h-14 w-14 items-center justify-center rounded-full border border-white/10 bg-background/70 text-foreground shadow-xl backdrop-blur-xl transition hover:border-primary/50 hover:text-primary`,children:(0,V.jsx)(b,{className:`h-6 w-6`,"aria-hidden":!0})})]})}var Y=`ie-cookie-consent`;function ne({onVisibilityChange:e}){let{t}=a(),[n,r]=(0,z.useState)(!1);(0,z.useEffect)(()=>{try{window.localStorage.getItem(Y)||r(!0)}catch{}},[]),(0,z.useEffect)(()=>{e?.(n)},[n,e]);let i=e=>{try{window.localStorage.setItem(Y,e)}catch{}r(!1)};return n?(0,V.jsxs)(`div`,{role:`dialog`,"aria-label":t(`cookie.dialog`),className:`fixed inset-x-4 bottom-24 z-50 mx-auto max-w-xl rounded-2xl border border-white/10 bg-background/80 p-5 shadow-2xl backdrop-blur-xl md:bottom-6 md:left-6 md:right-auto md:mx-0`,children:[(0,V.jsxs)(`p`,{className:`text-sm text-foreground/90`,children:[t(`cookie.textBanner`),` `,(0,V.jsx)(`a`,{href:`/politica-de-privacidad`,className:`text-secondary underline underline-offset-2 hover:text-secondary/80`,children:t(`cookie.policy`)}),`.`]}),(0,V.jsxs)(`div`,{className:`mt-4 flex flex-wrap justify-end gap-2`,children:[(0,V.jsx)(`button`,{onClick:()=>i(`rejected`),className:`rounded-full border border-white/15 bg-transparent px-4 py-2 text-sm font-medium text-foreground/80 transition hover:border-white/30 hover:text-foreground`,children:t(`cookie.reject`)}),(0,V.jsx)(`button`,{onClick:()=>i(`accepted`),className:`rounded-full bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground shadow-lg shadow-primary/20 transition hover:bg-primary/90`,children:t(`cookie.accept`)})]})]}):null}function re(){let[e,t]=(0,z.useState)(!1),{t:n}=a();return(0,z.useEffect)(()=>{let e=()=>t(window.scrollY>600);return e(),window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,V.jsx)(`div`,{"aria-hidden":!e,className:`pointer-events-none fixed right-4 top-1/2 z-40 hidden -translate-y-1/2 transition-all duration-300 md:block ${e?`translate-x-0 opacity-100`:`translate-x-8 opacity-0`}`,children:(0,V.jsxs)(`div`,{className:`pointer-events-auto flex flex-col items-center gap-2 rounded-full border border-white/10 bg-background/80 p-2 shadow-2xl shadow-black/40 backdrop-blur-xl`,children:[(0,V.jsxs)(`a`,{href:`/agenda`,"aria-label":n(`cta.book`),title:n(`cta.book`),className:`group flex items-center gap-2 rounded-full bg-primary px-3 py-3 text-sm font-semibold text-primary-foreground shadow-lg shadow-primary/20 transition hover:bg-primary/90`,children:[(0,V.jsx)(w,{className:`h-5 w-5 shrink-0`,"aria-hidden":!0}),(0,V.jsx)(`span`,{className:`max-w-0 overflow-hidden whitespace-nowrap opacity-0 transition-all duration-300 group-hover:max-w-[10rem] group-hover:opacity-100`,children:n(`cta.book`)})]}),(0,V.jsxs)(`a`,{href:`https://wa.me/${i.phoneRaw}`,onClick:()=>c(`whatsapp_click`,{location:`sticky_cta`}),target:`_blank`,rel:`noopener noreferrer`,"aria-label":`EscrÃbenos por WhatsApp`,title:`WhatsApp`,className:`group flex items-center gap-2 rounded-full bg-whatsapp px-3 py-3 text-sm font-semibold text-white shadow-lg shadow-[0_10px_30px_rgba(37,211,102,0.35)] transition hover:brightness-110`,children:[(0,V.jsx)(g,{className:`h-5 w-5 shrink-0`,"aria-hidden":!0}),(0,V.jsx)(`span`,{className:`max-w-0 overflow-hidden whitespace-nowrap opacity-0 transition-all duration-300 group-hover:max-w-[10rem] group-hover:opacity-100`,children:`WhatsApp`})]})]})})}var ie={version:1,asset_id:`5f07da57-6398-403d-b6fa-3ca8d9c8d64d`,project_id:`b56b6d0e-85e1-4245-a24a-305899ee62d7`,url:`/__l5e/assets-v1/5f
107da57-6398-403d-b6fa-3ca8d9c8d64d/bot.mp4`,r2_key:`a/v1/b56b6d0e-85e1-4245-a24a-305899ee62d7/5f07da57-6398-403d-b6fa-3ca8d9c8d64d/bot.mp4`,original_filename:`bot.mp4`,size:91348,content_type:`video/mp4`,created_at:`2026-09-06T21:52:03Z`},X={version:1,asset_id:`27c14adb-476f-4dcc-abb4-c4dcc50b57fe`,project_id:`b56b6d0e-85e1-4245-a24a-305899ee62d7`,url:`/__l5e/assets-v1/27c14adb-476f-4dcc-abb4-c4dcc50b57fe/bot-poster.webp`,r2_key:`a/v1/b56b6d0e-85e1-4245-a24a-305899ee62d7/27c14adb-476f-4dcc-abb4-c4dcc50b57fe/bot-poster.webp`,original_filename:`bot-poster.webp`,size:6524,content_type:`image/webp`,created_at:`2026-09-06T21:52:08Z`};function Z({active:e,className:t}){return e?(0,V.jsx)(`video`,{src:ie.url,poster:X.url,muted:!0,loop:!0,playsInline:!0,autoPlay:!0,preload:`none`,"aria-hidden":!0,className:t}):(0,V.jsx)(`img`,{src:X.url,alt:``,className:t,loading:`lazy`,decoding:`async`})}function ae(){let{t:e,language:t}=a(),n={role:`assistant`,content:e(`chat.initial`)},[r,i]=(0,z.useState)(!1),[o,s]=(0,z.useState)(``),[l,u]=(0,z.useState)([n]),[d,f]=(0,z.useState)(!1),p=(0,z.useRef)(null),m=(0,z.useRef)(null),[h,g]=(0,z.useState)(!1),_=h||r;(0,z.useEffect)(()=>{let e,t=()=>{let t=m.current;!t||typeof IntersectionObserver>`u`||(e=new IntersectionObserver(t=>{t.some(e=>e.isIntersecting)&&(g(!0),e?.disconnect())},{rootMargin:`200px`}),e.observe(t))},n=window.requestIdleCallback,r=n?n(t,{timeout:3e3}):window.setTimeout(t,2e3);return()=>{e?.disconnect(),n||window.clearTimeout(r)}},[]),(0,z.useEffect)(()=>{u(t=>t.length<=1?[{role:`assistant`,content:e(`chat.initial`)}]:t)},[e]),(0,z.useEffect)(()=>{p.current&&(p.current.scrollTop=p.current.scrollHeight)},[l,r]);async function v(){let n=o.trim();if(!n||d)return;l.filter(e=>e.role===`user`).length===0&&(c(`chat_lead`,{language:t}),c(`generate_lead`,{language:t,method:`chatbot`}));let r=[...l,{role:`user`,content:n}];
1u(r),s(``),f(!0);try{let e=await fetch(`/api/chat`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({messages:r})});if(!e.ok||!e.body)throw Error(`status ${e.status}`);u(e=>[...e,{role:`assistant`,content:``}]);let t=e.body.pipeThrough(new TextDecoderStream).getReader(),n=``;for(;;){let{value:e,done:r}=await t.read();if(r)break;n+=e;let i=n.split(` 2`);n=i.pop()??``;for(let e of i){let t=e.trim();if(!t.startsWith(`data:`))continue;let n=t.slice(5).trim();if(!(!n||n===`[DONE]`))try{let e=JSON.parse(n)?.choices?.[0]?.delta?.content;e&&u(t=>{let n=[...t],r=n[n.length-1];return r?.role===`assistant`&&(n[n.length-1]={...r,content:r.content+e}),n})}catch{}}}}catch{u(t=>[...t,{role:`assistant`,content:e(`chat.error`)}])}finally{f(!1)}}return(0,V.jsxs)(V.Fragment,{children:[!r&&(0,V.jsx)(`div`,{className:`pointer-events-none fixed bottom-44 right-6 z-[60] hidden max-w-[220px] animate-in fade-in slide-in-from-bottom-2 items-center gap-2 rounded-2xl rounded-br-sm border border-white/10 bg-background/90 px-3 py-2 text-xs text-white/90 shadow-2xl backdrop-blur-xl md:bottom-28 md:flex`,"aria-hidden":!0,children:(0,V.jsx)(`span`,{children:e(`chat.greeting`)})}),(0,V.jsxs)(`button`,{ref:m,"aria-label":e(`chat.open`),onClick:()=>i(e=>!e),className:`fixed bottom-24 right-3 z-[60] flex h-14 w-14 items-center justify-center overflow-hidden rounded-full border border-white/10 bg-background text-white shadow-2xl shadow-primary/40 transition-transform duration-300 hover:scale-125 md:bottom-6 md:right-6 md:h-20 md:w-20`,children:[r?(0,V.jsx)(y,{className:`h-6 w-6`}):(0,V.jsx)(Z,{active:_,className:`h-full w-full object-cover`}),!r&&(0,V.jsxs)(`span`,{className:`absolute -right-0.5 -top-0.5 flex h-3 w-3`,children:[(0,V.jsx)(`span`,{className:`absolute inline-flex h-full w-full animate-ping rounded-full bg-secondary opacity-75`}),(0,V.jsx)(`span`,{className:`relative inline-flex h-3 w-3 rounded-full bg-secondary`})]})]}),r&&(0,V.jsxs)(`div`,{role:`dialog`,"aria-label":e(`chat.title`),className:`fixed bottom-44 right-6 z-[60] flex h-[520px] w-[calc(100vw-3rem)] max-w-sm flex-col overflow-hidden rounded-2xl border border-white/10 bg-background/95 shadow-2xl backdrop-blur-xl md:bottom-24`,children:[(0,V.jsxs)(`header`,{className:`flex items-center gap-3 border-b border-white/10 px-4 py-3`,children:[(0,V.jsx)(`div`,{className:`h-10 w-10 overflow-hidden rounded-full border border-white/10 bg-background`,children:(0,V.jsx)(Z,{active:r,className:`h-full w-full object-cover`})}),(0,V.jsxs)(`div`,{className:`flex-1`,children:[(0,V.jsx)(`p`,{className:`text-sm font-semibold text-white`,children:e(`chat.title`)}),(0,V.jsx)(`p`,{className:`text-xs text-white/60`,children:e(`chat.status`)})]})]}),(0,V.jsx)(`div`,{ref:p,className:`flex-1 space-y-3 overflow-y-auto px-4 py-4`,children:l.map((e,t)=>(0,V.jsx)(`div`,{className:`flex ${e.role===`user`?`justify-end`:`justify-start`}`,children:(0,V.jsx)(`div`,{className:`max-w-[85%] whitespace-pre-wrap rounded-2xl px-3 py-2 text-sm ${e.role===`user`?`bg-primary text-primary-foreground`:`bg-white/5 text-white/90`}`,children:e.content||(d?`â¦`:``)})},t))}),(0,V.jsxs)(`form`,{onSubmit:e=>{e.preventDefault(),v()},className:`flex items-center gap-2 border-t border-white/10 p-3`,children:[(0,V.jsx)(`input`,{value:o,onChange:e=>s(e.target.value),placeholder:e(`chat.placeholder`),className:`flex-1 rounded-full border border-white/10 bg-white/[0.04] px-4 py-2 text-sm text-white placeholder:text-white/40 focus:border-primary focus:outline-none`,disabled:d}),(0,V.jsx)(`button`,{type:`submit`,disabled:d||!o.trim(),"aria-label":e(`chat.send`),className:`flex h-10 w-10 items-center justify-center rounded-full bg-primary text-primary-foreground shadow-lg shadow-primary/30 transition hover:bg-primary/90 disabled:opacity-50`,children:(0,V.jsx)(I,{className:`h-4 w-4`})})]})]})]})}var Q=`ie_pwa_seen`,$=`ie_pwa_mode`;function oe(){if(typeof window>`u`)return`desktop`;let e=window.navigator.userAgent;return/iPad|iPhone|iPod/.test(e)||e.includes(`Mac`)&&`ontouchend`in document?/Safari/.test(e)&&!/CriOS|FxiOS|EdgiOS|OPiOS|GSA/.test(e)?`ios-safari`:`ios-other`:/Android/.test(e)?`android`:/Chrome|Chromium|Edg|OPR|Brave/.test(e)&&!/Mobile/.test(e)?`desktop`:`unsupported`}function se(){let{t:e}=a(),[t,n]=(0,z.useState)(null),[r,i]=(0,z.useState)(`hidden`),[o,s]=(0,z.useState)(`desktop`),c=o===`ios-safari`||o===`ios-other`,l=!!t&&(o===`android`||o===`desktop`),u=(0,z.useRef)(null),d=(0,z.useRef)(null),f=(0,z.useRef)(null),p=(0,z.useRef)(null),m=(0,z.useRef)(null),h=(0,z.useRef)(null);(0,z.useEffect)(()=>
2{if(typeof window>`u`||window.matchMedia(`(display-mode: standalone)`).matches||window.navigator.standalone===!0)return;let e=oe();s(e);let t=localStorage.getItem(Q)===`1`,r=localStorage.getItem($),a=e=>{e.preventDefault(),n(e),i(e=>e===`hidden`?t?r===`tab`?`tab`:`banner`:`modal`:e)};window.addEventListener(`beforeinstallprompt`,a),(e===`ios-safari`||e===`ios-other`)&&i(t?r===`tab`?`tab`:`banner`:`modal`);let o=()=>i(`hidden`);return window.addEventListener(`appinstalled`,o),()=>{window.removeEventListener(`beforeinstallprompt`,a),window.removeEventListener(`appinstalled`,o)}},[]),(0,z.useEffect)(()=>{if(r!==`modal`)return;h.current=document.activeElement??null;let e=document.body.style.overflow;document.body.style.overflow=`hidden`;let t=window.setTimeout(()=>{d.current?.focus()},20),n=e=>{if(e.key===`Escape`){e.stopPropagation(),x();return}if(e.key===`Tab`&&u.current){let t=u.current.querySelectorAll(`button, [href], [tabindex]:not([tabindex="-1"])`);if(t.length===0)return;let n=t[0],r=t[t.length-1],i=document.activeElement;e.shiftKey&&i===n?(e.preventDefault(),r.focus()):!e.shiftKey&&i===r&&(e.preventDefault(),n.focus())}};return document.addEventListener(`keydown`,n),()=>{document.removeEventListener(`keydown`,n),document.body.style.overflow=e,window.clearTimeout(t),h.current?.focus?.()}},[r]),(0,z.useEffect)(()=>{if(r!==`banner`)return;let e=e=>{e.key===`Escape`&&_()};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[r]),(0,z.useEffect)(()=>{if(r===`tab`){let e=window.setTimeout(()=>m.current?.focus?.({preventScroll:!0}),30);return()=>window.clearTimeout(e)}},[r]);let g=()=>localStorage.setItem(Q,`1`),_=()=>{g(),localStorage.setItem($,`tab`),i(`tab`)},b=()=>{localStorage.setItem($,`banner`),i(`banner`)},x=()=>{g(),localStorage.setItem($,`banner`),i(`banner`)},S=async()=>{if(g(),!t){i(`modal`);return}await t.prompt();let{outcome:e}=await t.userChoice;n(null),e===`accepted`?i(`hidden`):_()},C=(0,z.useMemo)(()=>e(c?`pwa.installIos`:o===`android`?`pwa.installAndroid`:`pwa.installDesktop`),[o,c,e]),w=(0,z.useMemo)(()=>e(o===`ios-safari`?`pwa.iosHint`:o===`ios-other`?`pwa.iosOnlySafari`:o===`unsupported`?`pwa.unsupported`:`pwa.desc`),[o,e]),T=(0,z.useMemo)(()=>e(c?`pwa.modalDescIos`:o===`android`?`pwa.modalDescAndroid`:o===`desktop`?`pwa.modalDescDesktop`:`pwa.modalDesc`),[o,c,e]),E=(0,z.useMemo)(()=>o===`ios-safari`||o===`ios-other`?[{icon:L,text:e(`pwa.iosStep1`)},{icon:v,text:e(`pwa.iosStep2`)},{icon:R,text:e(`pwa.iosStep3`)}]:o===`android`&&!t?[{icon:O,text:e(`pwa.androidManual1`)},{icon:v,text:e(`pwa.androidManual2`)}]:o===`desktop`&&!t?[{icon:P,text:e(`pwa.desktopManual1`)},{icon:O,text:e(`pwa.desktopManual2`)}]:[],[o,t,e]);return o===`unsupported`&&!t||r===`hidden`?null:r===`modal`?(0,V.jsxs)(`div`,{className:`fixed inset-0 z-[80] flex items-center justify-center p-4`,role:`dialog`,"aria-modal":`true`,"aria-labelledby":`pwa-modal-title`,"aria-describedby":`pwa-modal-desc`,children:[(0,V.jsx)(`div`,{className:`absolute inset-0 bg-[#050510]/70 backdrop-blur-sm motion-safe:animate-in motion-safe:fade-in motion-safe:duration-200`,onClick:x,"aria-hidden":!0}),(0,V.jsxs)(`div`,{ref:u,className:`relative w-full max-w-md overflow-hidden rounded-3xl border border-white/10 bg-background/95 p-6 text-center shadow-2xl backdrop-blur-xl motion-safe:animate-in motion-safe:fade-in motion-safe:zoom-in-95 motion-safe:duration-200`,children:[(0,V.jsx)(`button`,{ref:d,type:`button`,onClick:x,"aria-label":e(`common.close`),className:`absolute right-3 top-3 flex h-11 w-11 items-center justify-center rounded-full text-muted-foreground transition hover:bg-white/10 hover:text-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[#111222]`,children:(0,V.jsx)(y,{className:`h-4 w-4`,"aria-hidden":!0})}),(0,V.jsx)(`div`,{className:`mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-2xl bg-primary/15 text-primary ring-1 ring-primary/30`,children:(0,V.jsx)(R,{className:`h-7 w-7`,"aria-hidden":!0})}),(0,V.jsx)(`h3`,{id:`pwa-modal-title`,className:`text-lg font-semibold text-foreground`,children:e(`pwa.modalTitle`)}),(0,V.jsx)(`p`,{id:`pwa-modal-desc`,className:`mt-2 text-sm text-muted-foreground`,children:T}),E.length>0&&(0,V.jsxs)(`div`,{className:`mt-5 rounded-2xl border border-white/10 bg-white/[0.03] p-4 text-left`,children:[(0,V.jsx)(`p`,{className:`mb-3 text-xs font-semibold uppercase tracking-wide text-muted-foreground`,children:e(`pwa.stepsTitle`)}),(0,V.jsx)(`ol`,{className:`space-y-3`,children:E.map((e,t)=>(0,V.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,V.jsx)(`span`,{className:`mt-0.5 flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-primary/15 text-primary ring-1 ring-primary/30`,children:(0,V.jsx)(e.icon,{className:`h-3.5 w-3.5`,"aria-hidden":!0})}
2),(0,V.jsxs)(`span`,{className:`text-sm text-foreground/90`,children:[(0,V.jsxs)(`span`,{className:`mr-1 font-semibold text-muted-foreground`,children:[t+1,`.`]}),e.text]})]},t))})]}),(0,V.jsxs)(`div`,{className:`mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-center`,children:[(0,V.jsx)(`button`,{type:`button`,onClick:x,className:`min-h-11 rounded-full border border-white/10 px-4 py-2 text-sm font-medium text-muted-foreground transition hover:bg-white/5 hover:text-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[#111222]`,children:e(`pwa.later`)}),l&&(0,V.jsx)(`button`,{type:`button`,onClick:S,className:`min-h-11 rounded-full bg-primary px-5 py-2 text-sm font-semibold text-primary-foreground shadow-lg shadow-primary/20 transition hover:bg-primary/90 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[#111222]`,children:C})]})]})]}):r===`tab`?(0,V.jsxs)(`button`,{ref:m,type:`button`,onClick:b,"aria-expanded":`false`,"aria-controls":`pwa-install-banner`,"aria-label":C,title:C,style:{backgroundColor:`#F38020`},className:`group fixed left-0 top-1/2 z-[65] -translate-y-1/2 flex min-h-10 items-center gap-1.5 rounded-r-full border border-l-0 border-white/20 py-1.5 pl-1.5 pr-2 text-[11px] font-semibold text-white shadow-lg shadow-black/30 backdrop-blur-md transition-all duration-200 hover:brightness-110 hover:pl-2 hover:pr-3 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-background motion-safe:animate-in motion-safe:slide-in-from-left-2 motion-safe:duration-300 sm:min-h-11 sm:gap-2 sm:py-2 sm:pl-2 sm:pr-3 sm:text-xs`,children:[(0,V.jsxs)(`span`,{className:`relative flex h-3.5 w-3.5 items-center justify-center sm:h-4 sm:w-4`,children:[(0,V.jsx)(`span`,{"aria-hidden":!0,className:`absolute inline-flex h-full w-full rounded-full bg-white/40 motion-safe:animate-ping motion-reduce:hidden`}),(0,V.jsx)(D,{className:`relative h-3.5 w-3.5 sm:h-4 sm:w-4`,"aria-hidden":!0})]}),(0,V.jsx)(`span`,{children:`App`})]}):(0,V.jsx)(`section`,{id:`pwa-install-banner`,role:`region`,"aria-label":e(`pwa.title`),className:`pointer-events-none fixed bottom-24 left-1/2 z-[65] w-[min(92vw,22rem)] -translate-x-1/2 md:bottom-6 md:left-6 md:translate-x-0`,children:(0,V.jsxs)(`div`,{className:`pointer-events-auto flex items-center gap-3 rounded-2xl border border-white/10 bg-background/85 p-3 pr-2 shadow-2xl backdrop-blur-xl motion-safe:animate-in motion-safe:fade-in motion-safe:slide-in-from-bottom-2 motion-safe:duration-300`,children:[(0,V.jsx)(`span`,{className:`flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-primary/15 text-primary`,children:(0,V.jsx)(D,{className:`h-5 w-5`,"aria-hidden":!0})}),(0,V.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,V.jsx)(`p`,{className:`text-sm font-semibold text-foreground`,children:e(`pwa.title`)}),(0,V.jsx)(`p`,{className:`truncate text-xs text-muted-foreground`,children:w})]}),(0,V.jsx)(`button`,{ref:f,type:`button`,onClick:S,className:`shrink-0 min-h-11 rounded-full bg-primary px-3 py-2 text-xs font-semibold text-primary-foreground shadow-lg shadow-primary/20 transition hover:bg-primary/90 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[#111222]`,children:l?C:e(`pwa.stepsTitle`)}),(0,V.jsx)(`button`,{ref:p,type:`button`,onClick:_,"aria-label":e(`pwa.minimize`),title:e(`pwa.minimize`),className:`flex h-11 w-11 shrink-0 items-center justify-center rounded-full text-muted-foreground transition hover:bg-white/5 hover:text-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[#111222]`,children:(0,V.jsx)(y,{className:`h-4 w-4`,"aria-hidden":!0})})]})})}function ce({children:e}){let[t,n]=(0,z.useState)(!1),r=d({select:e=>e.location.pathname})===`/`;return(0,V.jsxs)(`div`,{className:`flex min-h-screen flex-col bg-background text-foreground`,children:[(0,V.jsx)(W,{}),(0,V.jsx)(`main`,{className:`flex-1 pb-20 md:pb-0`,children:e}),(0,V.jsx)(J,{}),(0,V.jsx)(K,{}),(0,V.jsx)(re,{}),(0,V.jsx)(ae,{}),(0,V.jsx)(te,{raised:t}),(0,V.jsx)(se,{}),!r&&(0,V.jsx)(ne,{onVisibilityChange:n})]})}export{N as a,A as c,T as d,w as f,x as h,F as i,k as l,S as m,q as n,M as o,C as p,R as r,j as
2s,ce as t,E as u};
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.