{"version":3,"file":"ArticleSchema.CSQC3V68.mjs","names":[],"sources":["https:/framerusercontent.com/modules/QWlo7h8UPrvVZrY4QHvj/CVYldAoGIBIaUjy6pbo8/ArticleSchema.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";export default function ArticleSchema({headline,datePublished,authorSlug,pageUrl}){if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsxs(\"div\",{style:{background:\"#f0f4ff\",border:\"1px solid #c0d0ff\",borderRadius:6,padding:\"6px 10px\",fontSize:11,color:\"#4060cc\",fontFamily:\"monospace\",whiteSpace:\"nowrap\"},children:[\"Article JSON-LD \\xb7 \",authorSlug||\"no author slug set\"]});}const schema={\"@context\":\"https://schema.org\",\"@type\":\"Article\",headline:headline||\"\",datePublished:datePublished||\"\",url:pageUrl||\"\",author:{\"@type\":\"Person\",\"@id\":`https://element-consulting.com/team/${authorSlug||\"\"}#person`},publisher:{\"@type\":\"Organization\",name:\"Element Consulting\",\"@id\":\"https://element-consulting.com/#org\"}};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema,null,2)}});}addPropertyControls(ArticleSchema,{headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\",description:\"Bind to CMS: Title\"},datePublished:{type:ControlType.String,title:\"Date Published\",defaultValue:\"\",description:\"Bind to CMS: Date\"},authorSlug:{type:ControlType.String,title:\"Author Slug\",defaultValue:\"\",description:\"Bind to CMS: Author Slug\"},pageUrl:{type:ControlType.String,title:\"Page URL\",defaultValue:\"\",description:\"Bind to CMS: Slug (prepend base URL)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleSchema.map"],"mappings":"0KAA0H,SAAwB,EAAc,CAAC,WAAS,gBAAc,aAAW,WAAS,CAAC,GAAG,EAAa,SAAS,GAAG,EAAa,OAAQ,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,WAAW,UAAU,OAAO,oBAAoB,aAAa,EAAE,QAAQ,WAAW,SAAS,GAAG,MAAM,UAAU,WAAW,YAAY,WAAW,SAAS,CAAC,SAAS,CAAC,qBAAwB,GAAY,qBAAqB,CAAC,CAAC,CAAE,IAAM,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,SAAS,GAAU,GAAG,cAAc,GAAe,GAAG,IAAI,GAAS,GAAG,OAAO,CAAC,QAAQ,SAAS,MAAM,uCAAuC,GAAY,GAAG,SAAS,CAAC,UAAU,CAAC,QAAQ,eAAe,KAAK,qBAAqB,MAAM,sCAAsC,CAAC,CAAC,OAAoB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAU,EAAO,KAAK,EAAE,CAAC,CAAC,CAAC,kBAA35B,IAAiE,CAA41B,EAAoB,EAAc,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,GAAG,YAAY,qBAAqB,CAAC,cAAc,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,aAAa,GAAG,YAAY,oBAAoB,CAAC,WAAW,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,GAAG,YAAY,2BAA2B,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,GAAG,YAAY,uCAAuC,CAAC,CAAC"}