{"version":3,"file":"StructuredData.CosW1d8e.mjs","names":["__esmMin","window","init_ssg_sandbox_shims","c","init_jsx_runtime","init_framer_BWFVvmND","addPropertyControls","ControlType","StructuredData","props","pageUrl","url","imgSrc","image","data","schemaType","sa","sameAs","s","authorName","authorUrl","description","publisherName","datePublished","dateModified","json","init_StructuredData","p"],"sources":["https:/framerusercontent.com/modules/O1mIdKUc8ev0BbJEroK4/6XKHe8lnZATbTjt70Pdq/StructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Structured Data (JSON-LD)\n *\n * Emits schema.org JSON-LD for SEO / GEO. Renders nothing visible.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{schemaType=\"article\",headline=\"\",description=\"\",image,datePublished,dateModified,authorName=\"Francisc Toth\",authorUrl=\"https://framer-expert.com\",publisherName=\"Francisc Toth — Framer Expert\",jobTitle=\"Framer Expert\",sameAs=\"\",url=\"\"}=props;const pageUrl=url||(typeof window!==\"undefined\"?window.location.href.split(\"?\")[0].split(\"#\")[0]:\"\");const imgSrc=image&&image.src?image.src:\"\";let data;if(schemaType===\"profile\"){const sa=sameAs.split(\",\").map(s=>s.trim()).filter(Boolean);data={\"@context\":\"https://schema.org\",\"@type\":\"Person\",name:authorName,jobTitle,url:authorUrl};if(description)data.description=description;if(imgSrc)data.image=imgSrc;if(sa.length)data.sameAs=sa;}else{const type=schemaType===\"creativeWork\"?\"CreativeWork\":\"Article\";data={\"@context\":\"https://schema.org\",\"@type\":type,headline:headline,author:{\"@type\":\"Person\",name:authorName,url:authorUrl},publisher:{\"@type\":\"Organization\",name:publisherName}};if(description)data.description=description;if(imgSrc)data.image=imgSrc;if(datePublished)data.datePublished=datePublished;if(dateModified)data.dateModified=dateModified;if(pageUrl){data.url=pageUrl;data.mainEntityOfPage={\"@type\":\"WebPage\",\"@id\":pageUrl};}}const json=JSON.stringify(data).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,position:\"relative\",width:0,height:0,overflow:\"hidden\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(StructuredData,{schemaType:{type:ControlType.Enum,title:\"Type\",options:[\"article\",\"creativeWork\",\"profile\"],optionTitles:[\"Article\",\"Case study\",\"Profile / Person\"],defaultValue:\"article\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},datePublished:{type:ControlType.Date,title:\"Published\",optional:true},dateModified:{type:ControlType.Date,title:\"Modified\",optional:true},authorName:{type:ControlType.String,title:\"Author\",defaultValue:\"Francisc Toth\"},authorUrl:{type:ControlType.String,title:\"Author URL\",defaultValue:\"https://framer-expert.com\"},publisherName:{type:ControlType.String,title:\"Publisher\",defaultValue:\"Francisc Toth — Framer Expert\"},jobTitle:{type:ControlType.String,title:\"Job Title\",defaultValue:\"Framer Expert\",hidden:p=>p.schemaType!==\"profile\"},sameAs:{type:ControlType.String,title:\"Social URLs\",placeholder:\"comma,separated,urls\",defaultValue:\"\",hidden:p=>p.schemaType!==\"profile\"},url:{type:ControlType.String,title:\"Canonical URL\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,0KAUG,SAAwBQ,EAAe,EAAM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