1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,446777,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(618566),a=e.i(948148),s=e.i(856423),i=e.i(129768),l=e.i(304729),o=e.i(226091),c=e.i(611568),d=e.i(615227),u=e.i(566595),m=e.i(765649),p=e.i(263676),h=e.i(29320),f=e.i(881151),x=e.i(67909),g=e.i(523488);let b=["courses","publications","members","sessions"],v=["all",...b],y={courses:s.BookOpen,publications:d.MessageCircle,members:m.UserRound,sessions:i.CalendarDays};function w(e,r){let n=r.trim();if(!n)return e;let a=e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase());return a<0?e:(0,t.jsxs)(t.Fragment,{children:[e.slice(0,a),(0,t.jsx)("mark",{className:"rounded-sm bg-[var(--accent-soft)] px-0.5 text-[var(--fg)]",children:e.slice(a,a+n.length)}),e.slice(a+n.length)]})}function j({source:e}){let r="member"===e?m.UserRound:"booking"===e?i.CalendarDays:"post"===e||"comment"===e?d.MessageCircle:"transcript"===e?o.FileText:s.BookOpen;return(0,t.jsx)(r,{size:17,"aria-hidden":!0})}e.s(["CampusSearchDialog",0,function({open:e,onClose:s,localePrefix:i,studentPreview:o,ownerEditing:d,storageKey:m}){let k=(0,a.useTranslations)("CampusSearch"),N=(0,n.useRouter)(),C=(0,r.useRef)(null),[S,$]=(0,r.useState)(""),[I,M]=(0,r.useState)(!1),[E,P]=(0,r.useState)(!1),[z,L]=(0,r.useState)(null),[O,R]=(0,r.useState)([]),[U,_]=(0,r.useState)(!1),[A,K]=(0,r.useState)("all"),[T,H]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(!e)return;let t=window.setTimeout(()=>{_(!1),K("all"),P(!1),M(!1),C.current?.focus();try{let e=JSON.parse(window.localStorage.getItem(m)??"[]");Array.isArray(e)&&R(e.filter(e=>"string"==typeof e).slice(0,5))}catch{R([])}},0);return()=>window.clearTimeout(t)},[e,m]),(0,r.useEffect)(()=>{if(!e)return;let t=document.body.style.overflow;function r(e){"Escape"===e.key&&s()}return document.body.style.overflow="hidden",document.addEventListener("keydown",r),()=>{document.body.style.overflow=t,document.removeEventListener("keydown",r)}},[s,e]),(0,r.useEffect)(()=>{let t=S.trim();if(!e||t.length<2)return;let r=new AbortController,n=window.setTimeout(()=>
1{M(!0),P(!1),(0,f.fetchCampusSearch)({query:t,limit:U?40:4,signal:r.signal}).then(L).catch(()=>{r.signal.aborted||P(!0)}).finally(()=>{r.signal.aborted||M(!1)})},220);return()=>{window.clearTimeout(n),r.abort()}},[U,e,S,T]);let V=(0,r.useMemo)(()=>{let e=z?.results??[];return b.map(t=>({category:t,results:e.filter(e=>e.category===t)})).filter(e=>e.results.length>0)},[z]),B=(0,r.useMemo)(()=>(z?.results??[]).filter(e=>"all"===A||e.category===A),[z,A]);function D(e){R(e);try{e.length>0?window.localStorage.setItem(m,JSON.stringify(e)):window.localStorage.removeItem(m)}catch{}}function F(e){let t=e.trim();t.length<2||D([t,...O.filter(e=>e!==t)].slice(0,5))}function q(e){D(null===e?[]:O.filter(t=>t!==e)),C.current?.focus()}function W(e){F(S),s(),N.push((0,g.withOwnerEditMode)((0,x.withStudentPreview)(`${i}${e.href}`,o),d))}function X(e=S){let t=e.trim();t.length<2||(F(t),$(t),U||L(null),P(!1),K("all"),_(!0))}if(!e)return null;let G=V.length>0;return(0,t.jsx)("div",{className:`fixed inset-0 z-[90] bg-black/45 backdrop-blur-[2px] ${U?"flex items-end px-0 sm:px-6":"px-3 pt-[8vh] sm:px-6"}`,role:"presentation",onMouseDown:e=>{e.target===e.currentTarget&&s()},children:(0,t.jsxs)("section",{role:"dialog","aria-modal":"true","aria-label":k("dialogTitle"),className:`mx-auto flex w-full flex-col overflow-hidden border border-[var(--border)] bg-[var(--surface)] text-[var(--fg)] shadow-2xl ${U?"h-[min(90vh,58rem)] max-w-6xl rounded-t-[calc(var(--radius-lg)*1.4)] border-b-0":"max-h-[78vh] max-w-3xl rounded-[var(--radius-lg)]"}`,children:[U?(0,t.jsx)("div",{className:"flex justify-center pt-2.5","aria-hidden":!0,children:(0,t.jsx)("span",{className:"h-1 w-10 rounded-full bg-[var(--border-strong)]"})}):null,(0,t.jsx)("div",{className:"border-b border-[var(--border)] p-4 sm:p-5",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("form",{"data-campo-compuesto":!0,className:"flex min-w-0 flex-1 items-center gap-3 rounded-[var(--radius-md)] border border-[var(--border-field)] bg-[var(--field)] px-3 transition-colors focus-within:border-[var(--accent)]",onSubmit:e=>{e.preventDefault(),X()},children:[I?(0,t.jsx)(c.LoaderCircle,{className:"animate-spin text-[var(--accent)]",size:21,"aria-hidden":!0}):(0,t.jsx)(u.Search,{className:"text-[var(--fg-muted)]",size:21,"aria-hidden":!0}),(0,t.jsx)("input",{ref:C,type:"search",value:S,onChange:e=>{$(e.target.value),M(!1),L(null),K("all")},placeholder:k("placeholder"),"aria-label":k("placeholder"),className:"min-w-0 flex-1 appearance-none border-0 bg-transparent py-3 text-base outline-none placeholder:text-[var(--fg-faint)] focus-visible:shadow-none sm:text-lg [&::-webkit-search-cancel-button]:hidden"}),S?(0,t.jsx)("button",{type:"button",onClick:()=>{$(""),M(!1),L(null),_(!1),K("all")},className:"rounded-[var(--radius)] px-2 py-1 text-xs font-semibold text-[var(--fg-muted)] transition-colors hover:bg-[var(--bg-subtle)] hover:text-[var(--fg)]",children:k("clearShort")}):(0,t.jsx)("kbd",{className:"hidden rounded border border-[var(--border)] bg-[var(--bg-subtle)] px-2 py-1 text-xs text-[var(--fg-muted)] sm:block",children:k("escapeKey")})]}),(0,t.jsx)("button",{type:"button",onClick:s,"aria-label":k("close"),className:"grid h-11 w-11 flex-none place-items-center rounded-full text-[var(--fg-muted)] transition-colors hover:bg-[var(--bg-subtle)] hover:text-[var(--fg)]",children:(0,t.jsx)(p.X,{size:21})})]})}),(0,t.jsx)("div",{className:"min-h-[10rem] flex-1 overflow-y-auto p-4 sm:p-6",children:U?(0,t.jsxs)("div",{className:"mx-auto w-full max-w-5xl",children:[(0,t.jsx)("h2",{className:"break-all text-xl font-semibold sm:text-2xl",children:k("resultsFor",{query:S.trim()})}),(0,t.jsx)("div",{className:"mt-4 flex flex-wrap gap-1 border-b border-[var(--border)] sm:flex-nowrap sm:overflow-x-auto",children:v.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>K(e),className:`whitespace-nowrap border-b-2 px-3 py-2.5 text-sm font-medium transition-colors ${A===e?"border-[var(--accent)] text-[var(--fg)]":"border-transparent text-[var(--fg-muted)] hover:text-[var(--fg)]"}`,children:[k(`tabs.${e}`),z?` ${!z?0:"all"===e?z.results.length:z.counts[e]}`:""]},e))}),E?(0,t.jsxs)("div",{className:"py-12 text-center text-sm text-[var(--danger)]",children:[(0,t.jsx)("p",{children:k("loadError")}),(0,t.jsx)("button",{type:"button",onClick:()=>H(e=>e+1),className:"mt-3 font-semibold text-[var(--accent)] hover:underline",children:k("retry")})]}):I&&!z?(0,t.jsx)("div",{className:"grid min-h-56 place-items-center text-[var(--accent)]",children:(0,t.jsx)(c.LoaderCircle,{className:"animate-spin",size:28,"aria-hidden":!0})}):!I&&z&&0===B.length?(0,t.jsx)("p",{className:"py-12 text-center text-sm text-[var(--fg-muted)]",children:k("empty",{query:S.trim()})}):(0,t.jsx)("div",{className:"divide-y divide-[var(--border)]",children:B.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>
1W(e),className:"flex min-w-0 w-full gap-4 py-5 text-left transition-colors hover:bg-[var(--bg-subtle)] sm:px-3",children:[(0,t.jsx)("span",{className:"grid h-10 w-10 flex-none place-items-center rounded-[var(--radius)] bg-[var(--accent-soft)] text-[var(--accent)]",children:(0,t.jsx)(j,{source:e.source})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"block break-all text-base font-semibold",children:w(e.title,S)}),e.excerpt?(0,t.jsx)("span",{className:"mt-1 line-clamp-2 block break-all text-sm leading-6 text-[var(--fg-muted)]",children:w(e.excerpt,S)}):null,(0,t.jsxs)("span",{className:"mt-1.5 block break-words text-xs text-[var(--fg-muted)]",children:[k((0,h.campusSearchLabel)(e)),e.context?` \xb7 ${e.context}`:""]})]})]},e.id))})]}):S.trim()?S.trim().length<2?(0,t.jsx)("p",{className:"px-2 py-10 text-center text-sm text-[var(--fg-muted)]",children:k("minimum")}):E?(0,t.jsxs)("div",{className:"px-2 py-10 text-center text-sm text-[var(--danger)]",children:[(0,t.jsx)("p",{children:k("loadError")}),(0,t.jsx)("button",{type:"button",onClick:()=>H(e=>e+1),className:"mt-3 font-semibold text-[var(--accent)] hover:underline",children:k("retry")})]}):I||!z||G?(0,t.jsx)("div",{className:"space-y-5",children:V.map(({category:e,results:r})=>{let n=y[e];return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-1 flex items-center gap-2 px-2 text-xs font-semibold uppercase tracking-[0.1em] text-[var(--fg-muted)]",children:[(0,t.jsx)(n,{size:14,"aria-hidden":!0}),(0,t.jsx)("span",{children:k(`categories.${e}`)})]}),(0,t.jsx)("div",{className:"space-y-0.5",children:r.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>W(e),className:"flex w-full items-start gap-3 rounded-[var(--radius)] px-3 py-2.5 text-left hover:bg-[var(--bg-subtle)]",children:[(0,t.jsx)("span",{className:"mt-0.5 grid h-8 w-8 flex-none place-items-center rounded-[var(--radius)] bg-[var(--accent-soft)] text-[var(--accent)]",children:(0,t.jsx)(j,{source:e.source})}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"block truncate text-sm font-semibold",children:w(e.title,S)}),e.excerpt?(0,t.jsx)("span",{className:"mt-0.5 block truncate text-xs text-[var(--fg-muted)]",children:w(e.excerpt,S)}):null,(0,t.jsxs)("span",{className:"mt-1 block whitespace-normal text-xs text-[var(--fg-muted)]",children:[k((0,h.campusSearchLabel)(e)),e.context?` \xb7 ${e.context}`:""]})]})]},e.id))})]},e)})}):(0,t.jsx)("p",{className:"px-2 py-10 text-center text-sm text-[var(--fg-muted)]",children:k("empty",{query:z.query})}):(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 px-2 pb-2",children:[(0,t.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.12em] text-[var(--fg-muted)]",children:k("recent")}),O.length>0?(0,t.jsx)("button",{type:"button",onClick:()=>q(null),className:"rounded-[var(--radius)] px-2 py-1 text-sm font-medium text-[var(--fg-muted)] transition-colors hover:bg-[var(--bg-subtle)] hover:text-[var(--fg)]",children:k("clearRecent")}):null]}),O.length>0?(0,t.jsx)("ul",{className:"space-y-1",children:O.map(e=>(0,t.jsxs)("li",{className:"group flex items-center rounded-[var(--radius)] hover:bg-[var(--bg-subtle)]",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>$(e),className:"flex min-w-0 flex-1 items-center gap-3 px-3 py-2.5 text-left",children:[(0,t.jsx)(l.Clock3,{size:17,className:"flex-none text-[var(--fg-muted)]"}),(0,t.jsx)("span",{className:"truncate",children:e})]}),(0,t.jsx)("button",{type:"button",onClick:()=>q(e),"aria-label":k("removeRecent",{query:e}),className:"grid h-11 w-11 flex-none place-items-center rounded-full text-[var(--fg-muted)] transition-colors hover:bg-[var(--bg)] hover:text-[var(--fg)] focus-visible:opacity-100 sm:opacity-0 sm:group-hover:opacity-100",children:(0,t.jsx)(p.X,{size:16,"aria-hidden":!0})})]},e))}):(0,t.jsx)("p",{className:"px-2 py-6 text-sm text-[var(--fg-muted)]",children:k("recentEmpty")})]})}),!U&&S.trim().length>=2?(0,t.jsx)("button",{type:"button",onClick:()=>X(),className:"border-t border-[var(--border)] px-5 py-3 text-left text-sm font-semibold text-[var(--accent)] hover:bg-[var(--bg-subtle)]",children:k("viewAll",{query:S.trim()})}):null]})})}])},632602,787867,e=>{"use strict";var t=e.i(843476);function r({name:e,logoUrl:n,display:a="both",height:s}){let i="name"!==a&&!!n,l="logo"!==a||!n;return(0,t.jsxs)(t.Fragment,{children:[i?(0,t.jsx)("img",{src:n,alt:l?"":e,className:void 0===s&&"both"===a?"h-9 w-9 rounded-[var(--radius)] object-contain flex-shrink-0":"w-auto max-w-[min(12rem,35vw)] object-contain flex-shrink-0",style:void 0!==s||"logo"===a?{height:s??36}:void 0}):null,l?(0,t.jsx)("span",{className:"min-w-0 truncate text-lg font-semibold tracking-tight",children:e}):null]})}var n=e.i(271645),a=e.i(522016),s=e.i(618566),i=e.i(948148),l=e.i(593583),o=e.i(263676),c=e.i(566595),d=e.i(263448),u=e.i(174080),m=e.i(861745),p=e.i(367784),h=e.i(901279),f=e.i(81971);function x(e){return"en"===e?"/en":"ca"===e?"/ca":""}function g({viewer:e,variant:r,color:s}){let l=(0,i.useTranslations)("Sitio"),o=(0,m.useLocale)(),[c,d]=(0,n.use
1State)(!1),[b,v]=(0,n.useState)(!1),y=(0,n.useRef)(null),w=(0,n.useRef)(null),j=(0,n.useRef)(null),[k,N]=(0,n.useState)(null);if((0,n.useEffect)(()=>{if(c)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){let t=e.target;y.current?.contains(t)||j.current?.contains(t)||d(!1)}},[c]),(0,n.useEffect)(()=>{if(c)return window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)};function e(){let e=w.current?.getBoundingClientRect();e&&N({top:e.bottom+4,right:window.innerWidth-e.right})}},[c]),e){let r=e.name?.trim()||null,n=(r||e.email||"?").charAt(0).toUpperCase(),i=e.photoUrl?.trim()||null;return(0,t.jsxs)("div",{ref:y,className:"relative",children:[(0,t.jsx)("button",{ref:w,type:"button",onClick:e=>{if(!c){let t=e.currentTarget.getBoundingClientRect();N({top:t.bottom+4,right:window.innerWidth-t.right})}d(e=>!e)},"aria-label":e.email,"aria-haspopup":"menu","aria-expanded":c,className:"grid place-items-center w-10 h-10 rounded-full overflow-hidden bg-[var(--accent)] text-[var(--accent-fg)] text-base font-semibold hover:opacity-90 transition-opacity",style:s?{backgroundColor:s,color:(0,f.textOn)(s)}:void 0,children:i?(0,t.jsx)("img",{src:i,alt:r||e.email,width:40,height:40,className:"w-10 h-10 object-cover"}):n}),c&&k?(0,u.createPortal)((0,t.jsxs)("div",{ref:j,role:"menu",style:k,className:"fixed z-[60] w-64 max-w-[calc(100vw-2rem)] overflow-hidden rounded-[var(--radius-md)] border border-[var(--border)] bg-[var(--surface)] shadow-[var(--shadow-md)] py-1",children:[(0,t.jsxs)("div",{className:"px-3 py-2.5 border-b border-[var(--border)]",children:[r?(0,t.jsx)("div",{className:"text-sm font-medium truncate",children:r}):null,(0,t.jsx)("div",{className:"text-xs text-[var(--fg-muted)] truncate",children:e.email})]}),(0,t.jsxs)(a.default,{role:"menuitem",href:`${x(o)}/cuenta`,onClick:()=>d(!1),className:"w-full flex items-center gap-2 px-3 py-2 text-sm text-[var(--fg)] hover:bg-[var(--bg-subtle)]",children:[(0,t.jsx)(h.User,{size:15}),l("myAccount")]}),(0,t.jsxs)("button",{type:"button",role:"menuitem",onClick:function(){v(!0),d(!1),window.location.assign(`/api/hosted/auth/signout?locale=${encodeURIComponent(o)}`)},disabled:b,className:"w-full flex items-center gap-2 px-3 py-2 text-sm text-[var(--fg)] hover:bg-[var(--bg-subtle)] disabled:opacity-50",children:[(0,t.jsx)(p.LogOut,{size:15}),l("signOut")]})]}),document.getElementById("clonify-site-root")??document.body):null]})}let C=function(e,t=function(e){return`${x(e)}/mis-productos`}(e)){return`${x(e)}/acceso?next=${encodeURIComponent(t)}`}(o),S=r??"outline",$="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-[var(--radius)] text-sm font-medium whitespace-nowrap flex-shrink-0 transition-colors",I="solid"===S?`${$} ${s?"":"bg-[var(--accent)] text-[var(--accent-fg)]"} hover:opacity-90`:`${$} border ${s?"":"border-[var(--border)] text-[var(--fg)]"} hover:bg-[var(--bg-subtle)]`,M=s?"solid"===S?{backgroundColor:s,color:(0,f.textOn)(s)}:{borderColor:s,color:s}:void 0;return(0,t.jsxs)(a.default,{href:C,className:I,style:M,children:[(0,t.jsx)(h.User,{size:15,className:"flex-shrink-0"}),(0,t.jsx)("span",{children:l("signInShort")})]})}var b=e.i(446777),v=e.i(62275),y=e.i(945430),w=e.i(67909),j=e.i(523488);function k(e,t){return 0===t||[e.left,e.center,e.right].some(e=>e.some(e=>"menu"!==e.type))}let N=(e,t)=>({id:e,type:t});function C(e){let t=N("logo","logo"),r=N("menu","menu"),n=N("account","account");switch(e){case"centrado":return{template:e,rows:[{left:[t],center:[r],right:[n]}]};case"derecha":return{template:e,rows:[{left:[t],center:[],right:[r,n]}]};case"apilado":return{template:e,rows:[{left:[],center:[t],right:[n]},{left:[],center:[r],right:[]}]};default:return{template:e,rows:[{left:[t,r],center:[],right:[n]}]}}}e.s(["buildTemplateLayout",0,C,"deriveDefaultHeaderLayout",0,function(e){return C("center"===e?"centrado":"right"===e?"derecha":"izquierda")},"headerRowVisibleOnMobile",0,k,"withMemberHeaderUtilities",0,function(e){let t=function(e){if(!e.rows.some(e=>e.left.some(e=>"menu"===e.type))){if("izquierda"!==e.template)return e;let t=e.rows.some(e=>e.center.some(e=>"menu"===e.type));return{...e,template:t?"centrado":"derecha"}}let t=e.rows.map(e=>{let t=e.left.filter(e=>"menu"===e.type);return 0===t.length?e:{...e,left:e.left.filter(e=>
1"menu"!==e.type),right:[...t,...e.right]}});return{...e,template:"derecha",rows:t}}(e),r=t.rows.map(e=>({left:e.left.filter(e=>"cart"!==e.type),center:e.center.filter(e=>"cart"!==e.type),right:e.right.filter(e=>"cart"!==e.type)})),n=r.flatMap(e=>[...e.left,...e.center,...e.right]),a=new Set(n.map(e=>e.id)),s=e=>{let t=e,r=2;for(;a.has(t);)t=`${e}-${r++}`;return a.add(t),t},i=r[0];if(!i){let e,t;return e=N("search","search"),t=N("account","account"),{template:"derecha",rows:[{left:[N("logo","logo")],center:[],right:[e,t]}]}}let l=[...i.right];if(!n.some(e=>"search"===e.type)){let e=l.findIndex(e=>"account"===e.type),t=N(s("member-search"),"search");e<0?l.push(t):l.splice(e,0,t)}return n.some(e=>"account"===e.type)||l.push(N(s("member-account"),"account")),r[0]={...i,right:l},{...t,rows:r}}],787867);var S=e.i(120273),$=e.i(904297);e.s(["PublicSiteHeader",0,function({preview:e=!1,fullWidth:u=!1,brandName:m,brandLogoUrl:p=null,brandDisplay:h,logoHeight:N,nav:C,navAlign:I="left",homeHref:M,cloneSlug:E=null,locale:P,pageSlugById:z,communityProductIds:L,externalProductUrls:O,offProductPageLinks:R,viewer:U=null,layout:_=null,socials:A=[],headerBg:K,headerFg:T,themeScope:H,cartCount:V=0,studentPreview:B=!1,ownerEditing:D=!1,memberSearch:F,campusSidebar:q=!1,campusSidebarOnFocused:W=!1}){let X=(0,s.usePathname)(),G=(0,i.useTranslations)("Sitio"),J=(0,i.useTranslations)("CampusSearch"),[Y,Z]=(0,n.useState)(!1),[Q,ee]=(0,n.use
1State)(!1),et=(0,n.useRef)(null),er=(0,S.isCampusFocusedPath)((0,$.normalizeSiteChromePath)(X??"/")),en=q&&(W||!er);function ea(){en?window.dispatchEvent(new Event(S.CAMPUS_SIDEBAR_OPEN_EVENT)):Z(e=>!e)}if((0,n.useEffect)(()=>{if(Y)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){et.current&&!et.current.contains(e.target)&&Z(!1)}},[Y]),(0,n.useEffect)(()=>{if(F&&!e)return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t);function t(e){(e.metaKey||e.ctrlKey)&&"k"===e.key.toLocaleLowerCase()&&(e.preventDefault(),ee(!0))}},[F,e]),/\/checkout\//.test(X??""))return null;let es=x(P),ei=e=>(0,j.withOwnerEditMode)((0,w.withStudentPreview)(e,B),D),el=ei(M??`${es}/`),eo=C.filter(e=>e.visible);function ec(e,r){return eo.map(n=>{let s=(0,y.resolveSiteNavHref)(n.target,es,E,z,L,O,R);return s?s.external?(0,t.jsx)("a",{href:s.href,target:"_blank",rel:"noopener noreferrer",className:e,onClick:r,children:n.label},n.id):(0,t.jsx)(a.default,{href:ei(s.href),className:e,onClick:r,children:n.label},n.id):null})}let ed="text-base font-medium tracking-tight whitespace-nowrap text-[color:var(--hfg,var(--fg))] opacity-80 hover:opacity-100 transition-opacity",eu="block py-2.5 text-base text-[color:var(--hfg,var(--fg))] hover:text-[var(--accent)] transition-colors",em=T||(K?(0,f.textOn)(K):void 0),ep={...H,...K?{backgroundColor:K}:{},...em?{color:em,"--hfg":em}:{}},eh=u?"w-full px-4 sm:px-6":"cl-carril mx-auto w-full max-w-6xl px-4 sm:px-6";if(_){let n=_.rows.some(e=>[e.left,e.center,e.right].some(e=>e.some(e=>"menu"===e.type))),s=en||n&&eo.length>0,i=(n,s,i)=>{if(0===n.length&&"center"!==s)return null;let l=n.some(e=>"menu"===e.type)||"center"===s&&!i,o=n.some(e=>"logo"===e.type),u=["flex items-center gap-5 min-w-0",l?"flex-1":o?"flex-1 overflow-hidden md:flex-initial":"flex-shrink-0","center"===s?"justify-center":"right"===s?"justify-end":"justify-start","right"===s?"ml-auto":""].filter(Boolean).join(" ");return(0,t.jsx)("div",{className:u,children:n.map(n=>((n,s)=>{switch(n.type){case"logo":return(0,t.jsx)(a.default,{href:el,className:"inline-flex max-w-full min-w-0 items-center gap-2 overflow-hidden font-semibold","aria-label":m,children:(0,t.jsx)(r,{name:m,logoUrl:p,display:h,height:N})},n.id);case"menu":return(0,t.jsx)("nav",{className:`hidden md:flex items-center gap-5 flex-1 min-w-0 overflow-x-auto scrollbar-none ${"center"===s?"justify-center":"right"===s?"justify-end":"justify-start"}`,children:ec(ed)},n.id);case"account":return(0,t.jsx)(g,{viewer:U,variant:n.style?.variant,color:n.style?.color},n.id);case"link":{let e=n.target?(0,y.resolveSiteNavHref)(n.target,es,E,z,L,O,R):null;if(!e)return null;return e.external?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:ed,children:n.label??""},n.id):(0,t.jsx)(a.default,{href:ei(e.href),className:ed,children:n.label??""},n.id)}case"button":{let e=n.target?(0,y.resolveSiteNavHref)(n.target,es,E,z,L,O,R):null;if(!e)return null;let r=n.style?.variant??"solid",s=n.style?.color,i="inline-flex items-center rounded-[var(--radius)] px-4 py-2 text-sm font-semibold whitespace-nowrap transition-opacity hover:opacity-90 flex-shrink-0",l="outline"===r?`${i} border ${s?"":"border-[color:var(--hfg,var(--border))] text-[color:var(--hfg,var(--fg))]"}`:`${i} ${s?"":"bg-[var(--accent)] text-[var(--accent-fg)]"}`,o=s?"outline"===r?{borderColor:s,color:s}:{backgroundColor:s,color:(0,f.textOn)(s)}:void 0;return e.external?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:l,style:o,children:n.label??""},n.id):(0,t.jsx)(a.default,{href:ei(e.href),className:l,style:o,children:n.label??""},n.id)}case"social":if(0===A.length)break;return(0,t.jsx)("div",{className:"flex items-center gap-2.5 flex-shrink-0",children:A.map(e=>(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":e.platform,className:"text-[color:var(--hfg,var(--fg-muted))] hover:text-[var(--accent)] transition-colors",children:(0,t.jsx)(v.SocialIcon,{platform:e.platform,size:18})},e.id))},n.id);case"search":if(F&&!e)return(0,t.jsxs)("button",{type:"button",onClick:()=>ee(!0),"aria-label":J("open"),className:"inline-flex h-9 flex-shrink-0 items-center justify-center gap-1.5 rounded-full border border-[var(--border)] bg-transparent px-3 text-sm font-normal text-[color:var(--hfg,var(--fg))] opacity-80 transition-[border-color,opacity] hover:border-[var(--border-strong)] hover:opacity-100",children:[(0,t.jsx)(c.Search,{size:16}),(0,t.jsx)("span",{className:"hidden lg:inline",children:J("open")})]},n.id);return(0,t.jsx)("span",{className:"inline-flex items-center justify-center w-9 h-9 rounded-[var(--radius)] text-[var(--fg-muted)] flex-shrink-0","aria-hidden":!0,
1children:(0,t.jsx)(c.Search,{size:18})},n.id);case"cart":return(0,t.jsxs)(a.default,{href:ei(`${es}/carrito`),"aria-label":G("cart"),className:"relative inline-flex items-center justify-center w-9 h-9 rounded-[var(--radius)] text-[color:var(--hfg,var(--fg))] hover:text-[var(--accent)] transition-colors flex-shrink-0",children:[(0,t.jsx)(d.ShoppingBag,{size:19}),V>0?(0,t.jsx)("span",{className:"absolute -top-0.5 -right-0.5 min-w-[16px] h-4 px-1 grid place-items-center rounded-full bg-[var(--accent)] text-[var(--accent-fg)] text-[10px] font-semibold leading-none",children:V>9?"9+":V}):null]},n.id)}return null})(n,s))})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{ref:et,style:ep,className:(e?"relative z-0":"sticky top-[var(--owner-bar-height)] z-30")+" border-b border-[var(--border)] bg-[var(--bg)]/90 backdrop-blur",children:[_.rows.map((e,r)=>{let n=[e.left,e.center,e.right].some(e=>e.some(e=>"menu"===e.type)),a=k(e,r);return(0,t.jsxs)("div",{className:`${a?"flex":"hidden md:flex"} ${eh} items-center gap-5 h-[68px]`,children:[0===r&&s?(0,t.jsx)("button",{type:"button",onClick:ea,"aria-label":G("menu"),"aria-expanded":en?void 0:Y,className:`${en?"lg:hidden":"md:hidden"} grid place-items-center w-11 h-11 -ml-1.5 rounded-[var(--radius)] text-[var(--fg)] hover:bg-[var(--bg-subtle)] transition-colors flex-shrink-0`,children:!en&&Y?(0,t.jsx)(o.X,{size:20}):(0,t.jsx)(l.Menu,{size:20})}):null,i(e.left,"left",n),i(e.center,"center",n),i(e.right,"right",n)]},r)}),Y&&s&&!en?(0,t.jsx)("nav",{className:`${eh} md:hidden border-t border-[var(--border)] py-2`,children:ec(eu,()=>Z(!1))}):null]}),F?(0,t.jsx)(b.CampusSearchDialog,{open:Q,onClose:()=>ee(!1),localePrefix:F.localePrefix,studentPreview:F.studentPreview,ownerEditing:F.ownerEditing,storageKey:F.storageKey}):null]})}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{ref:et,style:ep,className:(e?"relative z-0":"sticky top-[var(--owner-bar-height)] z-30")+" border-b border-[var(--border)] bg-[var(--bg)]/90 backdrop-blur",children:[(0,t.jsxs)("div",{className:`${eh} flex items-center gap-5 h-[68px]`,children:[en||eo.length>0?(0,t.jsx)("button",{type:"button",onClick:ea,"aria-label":G("menu"),"aria-expanded":en?void 0:Y,className:`${en?"lg:hidden":"md:hidden"} grid place-items-center w-11 h-11 -ml-1.5 rounded-[var(--radius)] text-[var(--fg)] hover:bg-[var(--bg-subtle)] transition-colors flex-shrink-0`,children:!en&&Y?(0,t.jsx)(o.X,{size:20}):(0,t.jsx)(l.Menu,{size:20})}):null,(0,t.jsx)(a.default,{href:el,className:"inline-flex max-w-full min-w-0 items-center gap-2 overflow-hidden font-semibold","aria-label":m,children:(0,t.jsx)(r,{name:m,logoUrl:p,display:h,height:N})}),(0,t.jsx)("nav",{className:`hidden md:flex items-center gap-5 flex-1 min-w-0 overflow-x-auto scrollbar-none ${"center"===I?"justify-center":"right"===I?"justify-end":"justify-start"}`,children:ec(ed)}),(0,t.jsxs)("div",{className:"flex items-center gap-2 ml-auto md:ml-0 flex-shrink-0",children:[F&&!e?(0,t.jsxs)("button",{type:"button",onClick:()=>ee(!0),"aria-label":J("open"),className:"inline-flex h-9 items-center justify-center gap-1.5 rounded-full border border-[var(--border)] bg-transparent px-3 text-sm font-normal text-[var(--fg)] opacity-80 transition-[border-color,opacity] hover:border-[var(--border-strong)] hover:opacity-100",children:[(0,t.jsx)(c.Search,{size:16}),(0,t.jsx)("span",{className:"hidden lg:inline",children:J("open")})]}):null,(0,t.jsx)(g,{viewer:U})]})]}),Y&&eo.length>0&&!en?(0,t.jsx)("nav",{className:"md:hidden mx-auto w-full max-w-6xl border-t border-[var(--border)] px-4 sm:px-6 py-2",children:ec(eu,()=>Z(!1))}):null]}),F?(0,t.jsx)(b.CampusSearchDialog,{open:Q,onClose:()=>ee(!1),localePrefix:F.localePrefix,studentPreview:F.studentPreview,ownerEditing:F.ownerEditing,storageKey:F.storageKey}):null]})}],632602)},62275,e=>{"use strict";var t=e.i(843476),r=e.i(91511);let n={youtube:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z",instagram:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.00
17-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077",tiktok:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z",linkedin:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z",x:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z",facebook:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"};e.s(["SocialIcon",0,function({platform:e,size:a=18}){if("website"===e)return(0,t.jsx)(r.Globe,{size:a,"aria-hidden":!0});let s=n[e];return s?(0,t.jsx)("svg",{role:"img","aria-hidden":!0,width:a,height:a,viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:s})}):(0,t.jsx)(r.Globe,{size:a,"aria-hidden":!0})}])},29320,881151,e=>{"use strict";let t=new Set(["course","masterclass","consulting","downloadable","capsules","community","clone_access","bundle","live_sessions","exam"]);async function r(e){let t=new AbortController,r=!1,n=()=>t.abort();e.signal.addEventListener("abort",n,{once:!0});let a=window.setTimeout(()=>{r=!0,t.abort()},1e4);try{let r=await fetch(`/api/hosted/campus-search?q=${encodeURIComponent(e.query)}&limit=${e.limit}`,{signal:t.signal,cache:"no-store"});if(!r.ok)throw Error("campus_search_failed");return await r.json()}catch(e){if(r)throw Error("campus_search_timeout");throw e}finally{window.clearTimeout(a),e.signal.removeEventListener("abort",n)}}e.s(["campusSearchLabel",0,function(e){if("product"===e.source&&e.productKind&&t.has(e.productKind))return`productTypes.${e.productKind}`;if("lesson"===e.source){if("capsules"===e.productKind)return"sources.update";if(e.productKind&&!["course","masterclass"].includes(e.productKind))return"sources.content"}return`sources.${e.source}`}
1],29320),e.s(["fetchCampusSearch",0,r],881151)},250117,e=>{"use strict";let t=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;e.s(["MEETING_TYPE_DURATIONS",0,[15,30,45,60,90,120],"isValidSlug",0,function(e){return e.length>=2&&e.length<=80&&t.test(e)},"meetingConsultingShareState",0,function(e){return e?.paymentEnabled?"published"===e.publishStatus&&e.active&&"number"==typeof e.price&&Number.isFinite(e.price)&&e.price>0?"paid_ready":"paid_draft":"free"},"normalizeMeetingRedirectUrl",0,function(e){let t;if(null==e)return{ok:!0,value:null};if("string"!=typeof e)return{ok:!1};let r=e.trim();if(!r)return{ok:!0,value:null};let n=/^[a-z][a-z0-9+.-]*:/i.test(r)?r:`https://${r}`;try{t=new URL(n)}catch{return{ok:!1}}if("https:"!==t.protocol&&"http:"!==t.protocol||!t.hostname.includes(".")||t.username||t.password)return{ok:!1};let a=t.toString();return a.length>2e3?{ok:!1}:{ok:!0,value:a}}])},120273,e=>{"use strict";var t=e.i(945430),r=e.i(904297),n=e.i(250117);let a=["/curso/","/examen/"];function s(e){return a.some(t=>e.startsWith(t))}let i=["cursos","tienda","biblioteca","calendario","miembros","cuenta","contacto","clon","blog","inicio"];e.s(["CAMPUS_EMOJI_MAX",0,8,"CAMPUS_GROUPS_MAX",0,12,"CAMPUS_GROUP_ITEMS_MAX",0,30,"CAMPUS_GROUP_LABEL_MAX",0,40,"CAMPUS_ICON_COLORS",0,["#ef4444","#f97316","#f59e0b","#eab308","#84cc16","#22c55e","#10b981","#14b8a6","#06b6d4","#0ea5e9","#3b82f6","#6366f1","#8b5cf6","#a855f7","#d946ef","#ec4899","#64748b","#171717"],"CAMPUS_ICON_SHAPES",0,["circle","square"],"CAMPUS_SIDEBAR_OPEN_EVENT",0,"clonify:campus-sidebar-open","campusEditorItemCanNavigate",0,function(e,t){let r;if("product"!==e.target.type&&"sala"!==e.target.type)return!0;if("number"!=typeof e.target.productId)return!1;let n=t[e.target.productId];return void 0!==n&&(!!("product"===e.target.type&&(r=e.examAccess,r?.mode==="all_members"||r?.mode==="products"&&r.productIds.length>0&&r.productIds.every(e=>"number"==typeof e&&Number.isInteger(e)&&e>0)))||"published"===n)},"campusItemIncomplete",0,function(e){var r;return 0===e.label.trim().length||!("clone"===(r=e.target).type||("page"===r.type?i.some(e=>e===r.pageKey)&&("clon"!==r.pageKey||void 0===r.clonVersionId||Number.isSafeInteger(r.clonVersionId)&&r.clonVersionId>0):"product"===r.type?"number"==typeof r.productId&&Number.isInteger(r.productId)&&r.productId>0:"external"===r.type?"string"==typeof r.url&&/^https?:\/\//i.test(r.url.trim()):"customPage"===r.type||"memberPage"===r.type||"members"===r.type||"leaderboard"===r.type||"directs"===r.type?"string"==typeof r.pageId&&r.pageId.trim().length>0:"booking"===r.type?"string"==typeof r.meetingSlug&&(0,n.isValidSlug)(r.meetingSlug.trim())&&(void 0===r.personSlug||null===r.personSlug||"string"==typeof r.personSlug&&(0,n.isValidSlug)(r.personSlug.trim())):"anchor"===r.type?(0,t.normalizeAnchorId)(r.anchorId).length>0:"publications"===r.type?"number"==typeof r.roomId&&Number.isInteger(r.roomId)&&r.roomId>0:"sala"===r.type&&"number"==typeof r.productId&&Number.isInteger(r.productId)&&r.productId>0&&"number"==typeof r.roomId&&Number.isInteger(r.roomId)&&r.roomId>0))},"campusStudentChromeAtPath",0,function(e,t){let n=(0,r.normalizeSiteChromePath)(e);return s(n)?"focused":n.startsWith("/checkout/")||(0,r.isSiteChromeHiddenAtPath)(n,t.visibilityRules)?"plain":t.hasSidebar?"sidebar":"plain"},"isCampusFocusedPath",0,s])},904297,e=>{"use strict";function t(e){let t=(e.split(/[?#]/,1)[0]||"/").replace(/^\/(?:es|en|ca)(?=\/|$)/,""),r=t.startsWith("/")?t:`/${t}`;return"/"===r?"/":r.replace(/\/+$/,"")||"/"}e.s(["isSiteChromeHiddenAtPath",0,function(e,r){let n=t(e);return!!r.hiddenExactPaths.includes(n)||r.hiddenPathPrefixes.some(e=>n===e.replace(/\/+$/,"")||n.startsWith(e))},"normalizeSiteChromePath",0,t])},945430,e=>{"use strict";let t={tienda:{slug:"tienda",path:"/tienda",section:"tienda"},contacto:{slug:"contacto",path:"/contacto",section:"contacto"}};function r(e){return"string"!=typeof e?"":e.normalize("NFD").replace(/\p{Diacritic}/gu,"").toLowerCase().replace(/[^a-z0-9-]+/g,"-").replace(/^-+|-+$/g,"").slice(0,40)}let n={tienda:{menus:["visitor","student"],pageKey:"tienda",label:"Tienda"},misProductos:{menus:["student"],pageKey:"biblioteca",label:"Mis productos"},contacto:{menus:["visitor","student"],pageKey:"contacto",label:"Contacto"},calendario:{menus:["student"],pageKey:"calendario",label:"Calendario"},clon:{menus:["visitor","student"],pageKey:"clon",label:"Habla con mi clon"},blog:{menus:["visitor"],pageKey:"blog",label:"Blog"}},a={cursos:[],tienda:["visitor","student"],biblioteca:["student"],calendario:["student"],miembros:["student"],cuenta:["student"],contacto:["visitor","student"],clon:["visitor","student"],blog:["visitor"],inicio:[]},s={tienda:"tienda",contacto:"contacto",biblioteca:"misProductos",clon:"clon",blog:"blog"};e.s(["SITE_SOCIAL_PLATFORMS",0,["youtube","instagram","tiktok","linkedin","x","facebook","website"],"applyModuleNavToggle",0,function(e,t,r,a,s){var i;let l=n[r];if(!l||!l.menus.includes(e))return t;let o=(i=l.pageKey,t.some(e=>"page"===e.target.type&&e.target.pageKey===i));return a&&!o?[...t,{id:`auto_${r}_${e}_${s}`,label:l.label,visible:!0,target:{type:"page",pageKey:l.pageKey}}]:!a&&o?t.filter(e=>"page"!==e.target.type||e.target.pageKey!==l.pageKey):t},"availablePageTargets",0,function(e,t){return Object.keys(a).filter(r=>{if(!a[r].includes(e))return!1;let n=s[r];return!n||!!t.has(n)})},"customPageLinkedOnStudentFace",0,function(e,t){let r=e=>
1"customPage"===e.type&&e.pageId===t;return!!(e.studentHome&&r(e.studentHome)||e.studentNav.some(e=>!1!==e.visible&&r(e.target)))||e.campus.groups.some(e=>e.items.some(e=>!1!==e.visible&&r(e.target)))},"normalizeAnchorId",0,r,"pageLinkedOnStudentFace",0,function(e,t){let r=e=>"page"===e.type&&e.pageKey===t;return!!(e.studentHome&&r(e.studentHome)||e.studentNav.some(e=>!1!==e.visible&&r(e.target)))||e.campus.groups.some(e=>e.items.some(e=>!1!==e.visible&&r(e.target)))},"resolveSiteNavHref",0,function(e,n,a,s,i,l,o){if("external"===e.type){let t=e.url?.trim();return t?{href:t,external:!0}:null}if("anchor"===e.type){let t=r(e.anchorId);return t?{href:`#${t}`,external:!1}:null}if("product"===e.type){if(!e.productId)return null;if(l&&e.productId in l){let t=l[e.productId]?.trim();return t?{href:t,external:!0}:null}if(o&&e.productId in o)return o[e.productId];let t=i?.includes(e.productId)?"comunidad":"curso";return{href:`${n}/${t}/${e.productId}`,external:!1}}if("sala"===e.type)return e.productId&&e.roomId?{href:`${n}/comunidad/${e.productId}?sala=${e.roomId}`,external:!1}:null;if("publications"===e.type)return e.roomId?{href:`${n}/publicaciones/${e.roomId}`,external:!1}:null;if("clone"===e.type)return a?{href:`${n}/c/${a}`,external:!1}:null;if("customPage"===e.type){let r=e.pageId?s?.[e.pageId]:void 0;if(!r)return null;let a=Object.prototype.hasOwnProperty.call(t,r)?t[r].path:null;return a?{href:`${n}${a}`,external:!1}:{href:`${n}/p/${r}`,external:!1}}if("memberPage"===e.type){let t=e.pageId?.trim();return t?{href:`${n}/espacio/${encodeURIComponent(t)}`,external:!1}:null}if("members"===e.type){let t=e.pageId?.trim();return t?{href:`${n}/miembros/${encodeURIComponent(t)}`,external:!1}:null}if("leaderboard"===e.type){let t=e.pageId?.trim();return t?{href:`${n}/clasificacion/${encodeURIComponent(t)}`,external:!1}:null}if("directs"===e.type){let t=e.pageId?.trim();return t?{href:`${n}/directos/espacio/${encodeURIComponent(t)}`,external:!1}:null}if("booking"===e.type){let t=e.meetingSlug?.trim(),r=e.personSlug?.trim();if(!t)return null;let a=r?`${encodeURIComponent(r)}/${encodeURIComponent(t)}`:encodeURIComponent(t);return{href:`${n}/reservar-sesion/${a}`,external:!1}}switch(e.pageKey){case"cursos":case"tienda":return{href:`${n}/tienda`,external:!1};case"biblioteca":return{href:`${n}/mis-productos`,external:!1};case"calendario":return{href:`${n}/calendario`,external:!1};case"miembros":return{href:`${n}/miembros`,external:!1};case"clon":return{href:e.clonVersionId?`${n}/clon/${e.clonVersionId}`:`${n}/clon`,external:!1};case"blog":return{href:`${n}/blog`,external:!1};case"cuenta":return{href:`${n}/cuenta`,external:!1};case"contacto":return{href:`${n}/contacto`,external:!1};default:return{href:`${n}/`||"/",external:!1}}}],945430)},523488,e=>{"use strict";function t(e,t){if(!e.startsWith("/")||e.startsWith("//"))return e;let r=e.indexOf("#"),n=r>=0?e.slice(r):"",a=r>=0?e.slice(0,r):e,s=a.indexOf("?"),i=s>=0?a.slice(0,s):a,l=new URLSearchParams(s>=0?a.slice(s+1):"");t(l);let o=l.toString();return`${i}${o?`?${o}`:""}${n}`}function r(e,r){return r?t(e,e=>{e.delete("vista"),e.set("modo","editar")}):e}function n(e){return t(e,e=>{e.delete("vista"),e.set("modo","editar"),e.set("editarCurso","1")})}e.s(["isOwnerEditMode",0,function(e){return"string"==typeof e?"editar"===new URLSearchParams(e).get("modo"):e instanceof URLSearchParams?"editar"===e.get("modo"):"editar"===e.modo},"memberAreaEditBridgeHref",0,function(e){let t="es"===e?"":`/${e}`,r=`${t}/mis-productos?modo=editar`;return`/api/admin/ver-mi-sitio?next=${encodeURIComponent(r)}`},"withOwnerCourseEditMode",0,n,"withOwnerEditMode",0,r,"withOwnerPreviewMode",0,function(e){return t(e,e=>{e.delete("modo");let t=e.get("editarLeccion");e.delete("editarCurso"),e.delete("editarLeccion"),t&&!e.has("leccion")&&e.set("leccion",t),e.set("vista","alumno")})},"withOwnerSpaceEditMode",0,function(e){let t=e.split("#",1)[0].split("?",1)[0];return/^\/(?:[a-z]{2}\/)?curso\/[^/]+\/?$/.test(t)?n(e):r(e,!0)}])},67909,e=>{"use strict";var t=e.i(523488);e.s(["withStudentPreview",0,function(e,r){return r?(0,t.withOwnerPreviewMode)(e):e}])},304729,e=>{"use strict";let t=(0,e.i(456420).default)("clock-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]);e.s(["Clock3",0,t],304729)},611568,e=>{"use strict";var t=e.i(758379);e.s(["LoaderCircle",()=>t.default])},367784,e=>{"use strict";let t=(0,e.i(456420).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",0,t],367784)},593583,e=>{"use strict";let t=(0,e.i(456420).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,t],593583)},615227,e=>{"use strict";let t=(0,e.i(456420).default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]);e.s(["MessageCircle",0,t],615227)},263448,e=>{"use strict";let t=(0,e.i(456420).default)("shopping-bag",[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7
1a2 2 0 0 0-1.6.8z",key:"o988cm"}]]);e.s(["ShoppingBag",0,t],263448)},765649,e=>{"use strict";let t=(0,e.i(456420).default)("user-round",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);e.s(["UserRound",0,t],765649)},901279,e=>{"use strict";let t=(0,e.i(456420).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",0,t],901279)}]);
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.