PageSourceSearch

https://www.ucv.edu.pe/chunk-NLJZ3BOD.js

js ucv.edu.pe collected 2026-09-24 18:32:16 UTC 4,218 bytes, 1 lines download raw bytes

1import{a as s}from"./chunk-XS6OYBCG.js";import{Z as n,cd as i,da as c}from"./chunk-P6F3PPPU.js";var l=class o{_document=c(i);getCareerSchema(e,t){return{"@context":"https://schema.org","@type":"Course",name:e?.namePage||"",alternateName:e?.seo?.title||"",url:s.SITE+(t||"").replace("/",""),provider:{"@type":"CollegeOrUniversity",name:"Universidad C\xE9sar Vallejo",url:"https://www.ucv.edu.pe",logo:"https://www.ucv.edu.pe/media/logo_completo_color-6E6VDOZV.png"},description:e?.seo?.description||"",educationalCredentialAwarded:e?.components?.caracteristicas_carrera?.data?.item_caracteristicas_carrera?.[3]?.texto||"",hasCourseInstance:{"@type":"CourseInstance",courseMode:e?.components?.caracteristicas_carrera?.data?.item_caracteristicas_carrera?.[1]?.texto||"",offers:{"@type":"Offer",url:s.SITE+(t||"").replace("/",""),price:"Consultar",priceCurrency:"PEN",availability:"https://schema.org/InStock",validFrom:""}},timeRequired:"P4Y",educationalLevel:"Pregrado",learningResourceType:"Programa Universitario",sameAs:["https://www.facebook.com/UCV.Peru","https://www.instagram.com/ucv_peru/","https://www.linkedin.com/school/ucvperu/","https://www.youtube.com/user/UnivCesarVallejo"]}}getFacultySchema(e,t){return["/facultades-presencial/pregrado-p","/facultades-presencial/pregrado-semi","/facultades-presencial/pregrado-d","/facultades-presencial/posgrado-p","/facultades-semipresencial/posgrado-s","/facultades-distancia/posgrado-d","/facultades-semipresencial/sube-s","/facultades-distancia/sube-d","/facultades-presencial/cursos-escuelas-profesionales","/facultades-presencial/programas-especialidades","/curso-educacioncontinua/cursos-educacion"].includes(t)?{}:{"@context":"https://schema.org","@type":"CollegeOrUniversity",name:e?.namePage||"",alternateName:e?.namePage||"",url:s.SITE+(t||"").replace("/",""),logo:"https://www.ucv.edu.pe/media/logo_completo_color-6E6VDOZV.png",image:e?.components?.imagen_banner?.data?.url_image||"",description:e?.seo?.description||"",department:Array.isArray(e?.components?.facultades?.data?.carreras)?e.components.facultades.data.carreras.map(a=>({"@type":"EducationalOrganization",name:e?.namePage||"",hasCourse:{"@type":"Course",name:a?.titulo||"",url:s.SITE+(a?.slug||"").replace("/","")}})):[],foundingDate:"1991",parentOrganization:{"@type":"CollegeOrUniversity",name:"Universidad C\xE9sar Vallejo",url:"https://www.ucv.edu.pe"},sameAs:["https://www.facebook.com/UCV","https://www.instagram.com/ucv.pe","https://www.linkedin.com/school/universidad-cesar-vallejo"]}}getCampusSchema(e){return{"@context":"https://schema.org","@type":"CollegeOrUniversity",name:e.seo.title,description:e.seo.description,url:s.SITE+e.seo.friendly_url,logo:"https://www.ucv.edu.pe/media/logo_completo_color-6E6VDOZV.png",address:{"@type":"PostalAddress",streetAddress:this.decodeHTMLEntities(e.components.campus_cards_contacto.data.item_campus_cards_contacto[2].contenido.replace(/<[^>]*>/g,"")),addressCountry:"PE"},telephone:this.extractAndCleanFirstParagraph(e.components.campus_cards_contacto.data.item_campus_cards_contacto[1].contenido),parentOrganization:{"@type":"CollegeOrUniversity",name:"Universidad C\xE9sar Vallejo",url:"https://www.ucv.edu.pe"},sameAs:["https://www.facebook.com/UCV.Peru","https://www.instagram.com/ucv_peru","https://www.linkedin.com/school/ucvperu/","https://www.youtube.com/user/UnivCesarVallejo"]}}removeElementHeadByClass(e){let t=this._document.head.getElementsByClassName(`${e}`);if(t?.length>0)for(let r=0;r<t.length;r++){let a=t[r];this._document.head.removeChild(a)}}insertSchema(e,t){let{className:r}=t;this.removeElementHeadByClass(r);let a=this._document.createElement("script");a.setAttribute("class",r),a.setAttribute("type","application/ld+json"),a.text=JSON.stringify(e),this._document.head.appendChild(a)}decodeHTMLEntities(e){let t=this._document.createElement("textarea");return t.innerHTML=e,t.value}extractAndCleanFirstParagraph(e){let t=e.match(/<p>(.*?)<\/p>/s);if(!t||!t[1])return"";let r=t[1],a=this._document.createElement("textarea");return a.innerHTML=r,a.value.replace(/<[^>]*>/g,"")?.trim()}static \u0275fac=function(t){return new(t||o)};static \u0275prov=n({token:o,factory:o.\u0275fac,providedIn:"root"})};export{l as a};

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.