{"version":3,"file":"SchemaJsonLd.DFEWcli0.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ngTmbaVvjb691MaVObV8/PqCwJ3ln4iDBA2YFL0tt/SchemaJsonLd.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const SITE=\"https://asurbe.com.co\";const ORG={\"@type\":\"Organization\",\"@id\":`${SITE}/#organization`,name:\"ASURBE\",legalName:\"ASURBE - Asociaci\\xf3n de Propietarios, Arrendatarios y Administradores de Propiedad Horizontal de Colombia\",url:`${SITE}/`,logo:\"https://framerusercontent.com/images/qAOQirYmdtaoaI47wRl2dCOCY.webp\",email:\"asurbe@asurbe.com.co\",telephone:\"+57 310 837 3751\",sameAs:[\"https://www.facebook.com/ASURBEPH/\",\"https://www.instagram.com/asurbeph/\",\"https://www.youtube.com/@asurbeph\"]};function clean(value){if(Array.isArray(value))return value.map(clean);if(value&&typeof value===\"object\"){const out={};for(const[k,v]of Object.entries(value)){if(v===undefined||v===null||v===\"\")continue;out[k]=clean(v);}return out;}return value;}function buildSchema(props){const{type,title,description,image,slug}=props;if(type===\"Organization\"){return{\"@context\":\"https://schema.org\",\"@graph\":[{...ORG,description},{\"@type\":\"WebSite\",\"@id\":`${SITE}/#website`,url:`${SITE}/`,name:\"ASURBE\",inLanguage:\"es-CO\",publisher:{\"@id\":`${SITE}/#organization`}}]};}if(type===\"Article\"){const url=`${SITE}/infoasurbe/${slug}`;return{\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",\"@id\":`${url}#article`,mainEntityOfPage:url,url,headline:title,description,image:image?.src,datePublished:props.datePublished,dateModified:props.dateModified||props.datePublished,inLanguage:\"es-CO\",author:props.authorName?{\"@type\":\"Person\",name:props.authorName,jobTitle:props.authorJobTitle}:{\"@id\":`${SITE}/#organization`},publisher:ORG,isPartOf:{\"@type\":\"Blog\",name:\"InfoASURBE\",url:`${SITE}/infoasurbe`}};}const url=`${SITE}/eventos/${slug}`;const online=/virtual|online|en l[ií]nea|zoom|meet/i.test(props.mode||\"\");return{\"@context\":\"https://schema.org\",\"@type\":\"Event\",\"@id\":`${url}#event`,url,name:title,description,image:image?.src,startDate:props.startDate,eventStatus:\"https://schema.org/EventScheduled\",eventAttendanceMode:online?\"https://schema.org/OnlineEventAttendanceMode\":\"https://schema.org/OfflineEventAttendanceMode\",location:online?{\"@type\":\"VirtualLocation\",url:props.registrationUrl||url}:props.location?{\"@type\":\"Place\",name:props.location,address:props.location}:undefined,offers:props.price>0?{\"@type\":\"Offer\",price:props.price,priceCurrency:\"COP\",url:props.registrationUrl||url,availability:\"https://schema.org/InStock\"}:undefined,organizer:{\"@type\":\"Organization\",name:\"ASURBE\",url:`${SITE}/`}};}/**\n * Schema JSON-LD\n *\n * Renders structured data for the page type. Invisible on the page.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SchemaJsonLd(props){const json=JSON.stringify(clean(buildSchema(props))).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(SchemaJsonLd,{type:{type:ControlType.Enum,title:\"Tipo\",options:[\"Organization\",\"Article\",\"Event\"],optionTitles:[\"Organizaci\\xf3n (portada)\",\"Art\\xedculo (InfoAsurbe)\",\"Evento\"],defaultValue:\"Organization\"},title:{type:ControlType.String,title:\"T\\xedtulo\",defaultValue:\"ASURBE\"},description:{type:ControlType.String,title:\"Descripci\\xf3n\",displayTextArea:true,defaultValue:\"ASURBE acompa\\xf1a a comunidades y administradores de propiedad horizontal con formaci\\xf3n, asesor\\xeda, afiliaciones, eventos y soluciones para construir comunidades m\\xe1s felices.\"},image:{type:ControlType.ResponsiveImage,title:\"Imagen\",hidden:p=>p.type===\"Organization\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\",hidden:p=>p.type===\"Organization\"},datePublished:{type:ControlType.Date,title:\"Publicado\",optional:true,hidden:p=>p.type!==\"Article\"},dateModified:{type:ControlType.Date,title:\"Modificado\",optional:true,hidden:p=>p.type!==\"Article\"},authorName:{type:ControlType.String,title:\"Autor\",defaultValue:\"\",hidden:p=>p.type!==\"Article\"},authorJobTitle:{type:ControlType.String,title:\"Cargo autor\",defaultValue:\"\",hidden:p=>p.type!==\"Article\"},startDate:{type:ControlType.Date,title:\"Fecha evento\",optional:true,hidden:p=>p.type!==\"Event\"},location:{type:ControlType.String,title:\"Lugar\",defaultValue:\"\",hidden:p=>p.type!==\"Event\"},mode:{type:ControlType.String,title:\"Medio\",defaultValue:\"\",hidden:p=>p.type!==\"Event\"},price:{type:ControlType.Number,title:\"Precio\",defaultValue:0,min:0,hidden:p=>p.type!==\"Event\"},registrationUrl:{type:ControlType.Link,title:\"Inscripci\\xf3n\",hidden:p=>p.type!==\"Event\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaJsonLd\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaJsonLd.map"],"mappings":"4JAAqlB,SAAS,EAAM,EAAM,CAAC,GAAG,MAAM,QAAQ,CAAK,EAAE,OAAO,EAAM,IAAI,CAAK,EAAE,GAAG,GAAO,OAAO,GAAQ,SAAS,CAAC,IAAM,EAAI,CAAC,EAAE,IAAI,GAAK,CAAC,EAAE,KAAK,OAAO,QAAQ,CAAK,EAAM,GAAmB,MAAM,IAAI,KAAY,EAAI,GAAG,EAAM,CAAC,GAAG,OAAO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