{"version":3,"file":"DatosEstructurados.Cpithj9C.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","RenderTarget","ControlType","init_framer_CaDWdxiz","DatosEstructurados","props","limpio","json","init_DatosEstructurados"],"sources":["https:/framerusercontent.com/modules/DUlkfyMxrFyPAXKrO8VN/qdVSeEO9YMsJJNQTiYwQ/DatosEstructurados.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Datos estructurados (JSON-LD) de la página. No se ve en la web: solo lo leen Google y los buscadores de IA.\n * Pega el JSON-LD en el control \"JSON-LD\". Si el JSON no es válido, no se publica nada.\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function DatosEstructurados(props){const{json}=props;let limpio=\"\";try{limpio=JSON.stringify(JSON.parse(json||\"\"));}catch(e){limpio=\"\";}if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",padding:\"4px 10px\",borderRadius:8,background:limpio?\"#0A1128\":\"#FF6B35\",color:\"#FFFFFF\",font:\"600 11px/1.4 system-ui, sans-serif\",whiteSpace:\"nowrap\"},children:limpio?\"JSON-LD (datos estructurados)\":\"JSON-LD no v\\xe1lido\"});}if(!limpio)return null;return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:limpio.split(\"<\").join(String.fromCharCode(92)+\"u003c\")}});}addPropertyControls(DatosEstructurados,{json:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DatosEstructurados\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DatosEstructurados.map"],"mappings":"A,oKAMG,SAAwBO,EAAmB,EAAM,CAAC,GAAK,CAAC,QAAMC,EAAUC,EAAO,GAAG,GAAG,CAAC,EAAO,KAAK,UAAU,KAAK,MAAMC,GAAM,EAAE,CAAC,CAAE,MAAS,CAAC,EAAO,EAAG,CAA2X,OAAvXN,EAAa,QAAQ,IAAIA,EAAa,OAA4B,gBAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,QAAQ,WAAW,aAAa,EAAE,WAAWK,EAAO,UAAU,UAAU,MAAM,UAAU,KAAK,qCAAqC,WAAW,QAAQ,EAAE,SAASA,EAAO,gCAAgC,mBAAsB,CAAC,EAAOA,EAAuC,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOA,EAAO,MAAM,GAAG,CAAC,CAAC,KAAK,SAA+B,CAAC,CAAC,CAAC,EAA5J,IAA8J,C,sCAACN,EAAoBI,EAAmB,CAAC,KAAK,CAAC,KAAKF,EAAY,OAAO,MAAM,UAAU,gBAAgB,GAAK,aAAa,EAAE,CAAC,CAAC,C"}