{"version":3,"file":"HGSStructuredData.D2fMoMKY.mjs","names":[],"sources":["https:/framerusercontent.com/modules/96xJognlLI3MLuyiSZpC/L00JhSdLJS0rXQSkBtWU/HGSStructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const site=\"https://homegrownstrategies.work\";const organization={\"@type\":\"Organization\",\"@id\":`${site}/#organization`,name:\"HomeGrown Strategies\",url:`${site}/`,sameAs:[\"https://www.linkedin.com/company/hg-strategies/\"]};/** @framerSupportedLayoutWidth fixed *//** @framerSupportedLayoutHeight fixed */export default function HGSStructuredData(props){let value={\"@context\":\"https://schema.org\",...organization};if(props.kind===\"Person\")value={\"@context\":\"https://schema.org\",\"@type\":\"Person\",\"@id\":`${site}/about#sheila-weber`,name:\"Sheila Weber\",url:`${site}/about`,worksFor:{\"@id\":organization[\"@id\"]}};if(props.kind===\"Article\"){if(!props.title||!props.slug)return null;value={\"@context\":\"https://schema.org\",\"@type\":\"Article\",headline:props.title,mainEntityOfPage:`${site}/blog/${props.slug}`,publisher:{\"@id\":organization[\"@id\"]}};if(props.description)value.description=props.description;if(props.image)value.image=props.image;// Author and dates stay omitted until confirmed and visibly displayed\n// on the article. Current CMS dates are not visible in the layout.\n}return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...props.style,width:1,height:1,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(value).replace(/</g,\"\\\\u003c\")}})});}addPropertyControls(HGSStructuredData,{kind:{type:ControlType.Enum,options:[\"Organization\",\"Person\",\"Article\"],defaultValue:\"Organization\"},title:{type:ControlType.String,title:\"Headline\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true},slug:{type:ControlType.String,title:\"Article Slug\"},date:{type:ControlType.String,title:\"Published Date\"},image:{type:ControlType.Image,title:\"Article Image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HGSStructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"\",\"framerSupportedLayoutHeight\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HGSStructuredData.map"],"mappings":"4JAA8Y,SAAwB,EAAkB,EAAM,CAAC,IAAI,EAAM,CAAC,WAAW,qBAAqB,GAAG,CAAY,EAAoM,GAA/L,EAAM,OAAO,WAAS,EAAM,CAAC,WAAW,qBAAqB,QAAQ,SAAS,MAAM,GAAG,EAAK,qBAAqB,KAAK,eAAe,IAAI,GAAG,EAAK,QAAQ,SAAS,CAAC,MAAM,EAAa,MAAM,CAAC,GAAK,EAAM,OAAO,UAAU,CAAC,GAAG,CAAC,EAAM,OAAO,CAAC,EAAM,KAAK,OAAO,KAAK,EAAM,CAAC,WAAW,qBAAqB,QAAQ,UAAU,SAAS,EAAM,MAAM,iBAAiB,GAAG,EAAK,QAAQ,EAAM,OAAO,UAAU,CAAC,MAAM,EAAa,MAAM,CAAC,EAAK,EAAM,cAAY,EAAM,YAAY,EAAM,aAAe,EAAM,QAAM,EAAM,MAAM,EAAM,MAE9/B,CAAC,OAAoB,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,EAAE,OAAO,EAAE,cAAc,MAAM,EAAE,SAAsB,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAU,CAAK,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,qBAF5N,IAAoD,EAAO,EAAK,mCAAyC,EAAa,CAAC,QAAQ,eAAe,MAAM,GAAG,EAAK,gBAAgB,KAAK,uBAAuB,IAAI,GAAG,EAAK,GAAG,OAAO,CAAC,iDAAiD,CAAC,EAEpD,EAAoB,EAAkB,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,QAAQ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