{"version":3,"file":"StructuredData.DqFmnosE.mjs","names":["__esmMin","p","c","init_jsx_runtime","init_framer_DymZktPS","addPropertyControls","RenderTarget","ControlType","StructuredData","props","org","publisher","img","image","json","kind","date","author","authorRole","headline","year","genre","client","init_StructuredData"],"sources":["https:/framerusercontent.com/modules/EPW3aWfRbHlPUxhqpQ10/CgBjD4mgZN3omctIsgpn/StructuredData.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function StructuredData(props){const{kind,headline,description,image,date,year,author,authorRole,genre,client,publisher}=props;const org={\"@type\":\"Organization\",\"@id\":\"/#organization\",name:publisher};const img=image?.src?[image.src]:undefined;const data=kind===\"Article\"?{\"@context\":\"https://schema.org\",\"@type\":\"Article\",headline,description,image:img,datePublished:date||undefined,author:author?{\"@type\":\"Person\",name:author,jobTitle:authorRole||undefined,worksFor:org}:org,publisher:org}:{\"@context\":\"https://schema.org\",\"@type\":\"CreativeWork\",name:headline,headline,description,image:img,dateCreated:year||undefined,genre:genre||undefined,creator:org,sourceOrganization:client?{\"@type\":\"Organization\",name:client}:undefined};const json=JSON.stringify(data).replace(/</g,\"\\\\u003c\");if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,padding:\"6px 10px\",border:\"1px dashed rgba(22,22,22,.3)\",font:\"500 12px/1.3 sans-serif\",color:\"#76736c\",whiteSpace:\"nowrap\"},children:[\"Structured data \\xb7 \",kind===\"Article\"?\"Article\":\"Project\",\" (invisible on the site)\"]});}return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}});}addPropertyControls(StructuredData,{kind:{type:ControlType.Enum,title:\"Type\",options:[\"Article\",\"CreativeWork\"],optionTitles:[\"Article\",\"Project\"],defaultValue:\"Article\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"Page title\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\",displayTextArea:true},image:{type:ControlType.ResponsiveImage,title:\"Image\"},date:{type:ControlType.Date,title:\"Published\",hidden:p=>p.kind!==\"Article\"},author:{type:ControlType.String,title:\"Author\",defaultValue:\"\",hidden:p=>p.kind!==\"Article\"},authorRole:{type:ControlType.String,title:\"Author role\",defaultValue:\"\",hidden:p=>p.kind!==\"Article\"},year:{type:ControlType.String,title:\"Year\",defaultValue:\"\",hidden:p=>p.kind!==\"CreativeWork\"},genre:{type:ControlType.String,title:\"Discipline\",defaultValue:\"\",hidden:p=>p.kind!==\"CreativeWork\"},client:{type:ControlType.String,title:\"Client\",defaultValue:\"\",hidden:p=>p.kind!==\"CreativeWork\"},publisher:{type:ControlType.String,title:\"Studio name\",defaultValue:\"Oddform\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,2KAGG,SAAwBQ,EAAe,EAAM,CAAC,GAAK,CAAC,OAAK,WAAS,cAAY,QAAM,OAAK,OAAK,SAAO,aAAW,QAAM,SAAO,aAAWC,EAAYC,EAAI,CAAC,QAAQ,eAAe,MAAM,iBAAiB,KAAKC,CAAS,EAAQC,EAAIC,GAAO,IAAI,CAACA,EAAM,GAAG,EAAE,IAAA,GAAsfC,EAAK,KAAK,UAA3eC,IAAO,UAAU,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAS,cAAY,MAAMH,EAAI,cAAcI,GAAM,IAAA,GAAU,OAAOC,EAAO,CAAC,QAAQ,SAAS,KAAKA,EAAO,SAASC,GAAY,IAAA,GAAU,SAASR,CAAG,EAAEA,EAAI,UAAUA,CAAG,EA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