{"version":3,"file":"FuWvKCuE8.ObCUuuNj.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/CtoDXnsrkVtOvwRQws3b/ZbDBSAfl9os4aFNjd5uP/ArticleSchema.js","https:/framerusercontent.com/modules/ymGEL8P2UmQnDe7AEgI9/FIRENSh2VUjitYWVDzTb/FuWvKCuE8.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Article Schema Markup (JSON-LD)\n * Dynamically reads the page title for CMS template pages.\n * Add this to article/detail pages — it renders invisibly.\n */export default function ArticleSchema(props){const{siteName,siteUrl,sectionName,sectionUrl,authorName}=props;const[pageTitle,setPageTitle]=useState(\"\");const[pageUrl,setPageUrl]=useState(\"\");const[metaDesc,setMetaDesc]=useState(\"\");useEffect(()=>{setPageTitle(document.title||\"\");setPageUrl(window.location.href||\"\");const desc=document.querySelector('meta[name=\"description\"]');if(desc)setMetaDesc(desc.getAttribute(\"content\")||\"\");},[]);if(!pageTitle)return null;const schema={\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Article\",headline:pageTitle,description:metaDesc||pageTitle,url:pageUrl,author:{\"@type\":\"Organization\",name:authorName,url:siteUrl},publisher:{\"@type\":\"Organization\",name:siteName,url:siteUrl},isPartOf:{\"@type\":\"WebSite\",name:siteName,url:siteUrl}},{\"@type\":\"BreadcrumbList\",itemListElement:[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:siteUrl},{\"@type\":\"ListItem\",position:2,name:sectionName,item:sectionUrl},{\"@type\":\"ListItem\",position:3,name:pageTitle,item:pageUrl}]}]};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}});}ArticleSchema.defaultProps={siteName:\"ourteam\",siteUrl:\"https://ourteam.ai\",sectionName:\"Guides\",sectionUrl:\"https://ourteam.ai/guides\",authorName:\"ourteam\"};addPropertyControls(ArticleSchema,{siteName:{type:ControlType.String,title:\"Site Name\",defaultValue:\"ourteam\"},siteUrl:{type:ControlType.String,title:\"Site URL\",defaultValue:\"https://ourteam.ai\"},sectionName:{type:ControlType.String,title:\"Section Name\",defaultValue:\"Guides\"},sectionUrl:{type:ControlType.String,title:\"Section URL\",defaultValue:\"https://ourteam.ai/guides\"},authorName:{type:ControlType.String,title:\"Author Name\",defaultValue:\"ourteam\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ArticleSchema\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ArticleSchema.map","// Generated by Framer (fe89999)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Fragment Mono-regular\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Fragment Mono\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/fragmentmono/v4/4iCr6K5wfMRRjxp0DA6-2CLnN4FNh4UI_1U.woff2\",weight:\"400\"}]}];export const css=['.framer-dBP8N .framer-styles-preset-vlfevi { --framer-code-font-family: \"Fragment Mono\", monospace; --framer-code-font-style: normal; --framer-code-font-weight: 400; --framer-code-text-color: #333; --framer-font-size-scale: 1; background-color: rgba(0, 0, 0, 0.1); border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; border-top-left-radius: 6px; border-top-right-radius: 6px; padding-bottom: 0.1em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.1em; }'];export const className=\"framer-dBP8N\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"sMAIG,SAAwB,EAAc,EAAM,CAAC,G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