{"version":3,"file":"StructuredData.CuAJO1SV.mjs","names":["__esmMin","init_jsx_runtime","c","init_framer_CKT6jEEQ","addPropertyControls","ControlType","homeGraph","ORGANIZATION","SITE","blogPosting","url","p","parseJson","raw","StructuredData","data","props","html","init_StructuredData"],"sources":["https:/framerusercontent.com/modules/7ohyoWlkwrLSxEPW8RYL/UPbWn3ZPqtb4cMgb5jzF/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Renders schema.org JSON-LD into the server-rendered HTML, so search engines\n// and AI crawlers read it without running JavaScript. Invisible on the page.\nconst SITE=\"https://www.refinq.com\";const ORGANIZATION={\"@type\":\"Organization\",\"@id\":`${SITE}/#organization`,name:\"refinq\",legalName:\"refinq GmbH\",url:`${SITE}/`,logo:\"https://framerusercontent.com/images/l419kprManaGSHI2KtgWPmqMc.png\",email:\"office@refinq.com\",address:{\"@type\":\"PostalAddress\",streetAddress:\"K\\xfcnstlergasse 11/DG\",postalCode:\"1150\",addressLocality:\"Wien\",addressCountry:\"AT\"},vatID:\"ATU79703625\"};function homeGraph(){return{\"@context\":\"https://schema.org\",\"@graph\":[ORGANIZATION,{\"@type\":\"WebSite\",\"@id\":`${SITE}/#website`,url:`${SITE}/`,name:\"refinq\",inLanguage:\"en\",publisher:{\"@id\":`${SITE}/#organization`}},{\"@type\":\"SoftwareApplication\",name:\"refinq\",applicationCategory:\"BusinessApplication\",applicationSubCategory:\"Climate and nature risk analytics\",operatingSystem:\"Web\",url:`${SITE}/`,description:\"Asset-level physical climate, nature and transition risk analytics under IPCC scenarios, linking exposure to financial impact and adaptation actions.\",provider:{\"@id\":`${SITE}/#organization`}}]};}function blogPosting(p){const url=`${SITE}/blog/${p.slug}`;return{\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",mainEntityOfPage:url,url,headline:p.headline,description:p.description||undefined,image:p.image?.src||undefined,datePublished:p.date||undefined,// Posts credited to \"refinq\" are by the company, not a person.\nauthor:p.author&&p.author.trim().toLowerCase()!==\"refinq\"?{\"@type\":\"Person\",name:p.author}:{\"@id\":`${SITE}/#organization`},publisher:ORGANIZATION,inLanguage:\"en\"};}function parseJson(raw){try{return JSON.parse(raw);}catch{return null;}}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function StructuredData(props){const data=props.kind===\"Home\"?homeGraph():props.kind===\"BlogPosting\"?blogPosting(props):parseJson(props.json);if(!data)return null;// \"<\" is escaped so CMS text can never close the script tag early.\nconst html=JSON.stringify(data).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:html}});}StructuredData.defaultProps={kind:\"Home\",json:\"\"};addPropertyControls(StructuredData,{kind:{type:ControlType.Enum,title:\"Kind\",options:[\"Home\",\"BlogPosting\",\"Custom\"],defaultValue:\"Home\"},json:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true,hidden:p=>p.kind!==\"Custom\"},headline:{type:ControlType.String,title:\"Headline\",hidden:p=>p.kind!==\"BlogPosting\"},description:{type:ControlType.String,title:\"Description\",hidden:p=>p.kind!==\"BlogPosting\"},date:{type:ControlType.Date,title:\"Date\",hidden:p=>p.kind!==\"BlogPosting\"},image:{type:ControlType.ResponsiveImage,title:\"Image\",hidden:p=>p.kind!==\"BlogPosting\"},slug:{type:ControlType.String,title:\"Slug\",hidden:p=>p.kind!==\"BlogPosting\"},author:{type:ControlType.String,title:\"Author\",hidden:p=>p.kind!==\"BlogPosting\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,4JAEia,SAASM,GAAW,CAAC,MAAM,CAAC,WAAW,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