{"version":3,"file":"SchemaMarkup.DxBYECwe.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","RenderTarget","ControlType","init_framer_DKtAEkcX","absolute","value","url","site","SITE","isoDate","imageUrl","prune","input","list","v","out","key","buildSchema","props","image","author","PERSON_ID","base","entities","item","items","index","crumbLabel","segment","word","linkPath","autoBreadcrumbs","segments","crumbs","parentUrl","parentSlug","walked","label","schema","crumb","missingRequired","schemaType","thinFields","gaps","SchemaMarkup","problem","extra","parsed","skipCrumbs","output","context","primary","json","warning","init_SchemaMarkup"],"sources":["https:/framerusercontent.com/modules/7MUWktK1UHDzjSucBWWM/2rMtnYJCx5F323jT8AJO/SchemaMarkup.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const SITE=\"https://www.benjaminwalsh.co.uk\";// The site-wide head code defines Person and WebSite nodes under these ids. Page\n// schema references them rather than restating the person, so the whole site\n// resolves to one entity instead of forty unconnected copies.\nconst PERSON_ID=SITE+\"/#person\";function absolute(url,site){const value=(url||\"\").trim();if(!value)return\"\";if(/^https?:\\/\\//i.test(value))return value;return(site||SITE).replace(/\\/$/,\"\")+\"/\"+value.replace(/^\\//,\"\");}function isoDate(value){if(!value)return\"\";if(typeof value===\"string\")return value.trim();if(typeof value===\"number\")return new Date(value).toISOString().slice(0,10);if(typeof value.toISOString===\"function\")return value.toISOString().slice(0,10);return\"\";}function imageUrl(value){if(!value)return\"\";if(typeof value===\"string\")return value;return value.src||value.url||\"\";}// Explicit annotations: prune recurses, so TypeScript cannot infer its type.\nfunction prune(input){if(Array.isArray(input)){const list=input.map(prune).filter(v=>v!==undefined);return list.length?list:undefined;}if(input&&typeof input===\"object\"){const out={};for(const key of Object.keys(input)){const value=prune(input[key]);if(value!==undefined)out[key]=value;}return Object.keys(out).length?out:undefined;}if(typeof input===\"string\")return input.trim()?input.trim():undefined;return input===undefined||input===null?undefined:input;}function buildSchema(props){const site=props.siteBase||SITE;const url=absolute(props.url,site);const image=absolute(imageUrl(props.image),site);const author=prune({\"@type\":\"Person\",\"@id\":PERSON_ID,name:props.authorName,url:absolute(props.authorUrl,site)});const base={\"@context\":\"https://schema.org\"};if(props.schemaType===\"FAQPage\"){const entities=(props.faqs||[]).filter(item=>item&&item.question&&item.answer).map(item=>({\"@type\":\"Question\",name:item.question,acceptedAnswer:{\"@type\":\"Answer\",text:item.answer}}));return prune({...base,\"@type\":\"FAQPage\",mainEntity:entities});}if(props.schemaType===\"BreadcrumbList\"){const items=(props.breadcrumbs||[]).filter(item=>item&&item.name).map((item,index)=>({\"@type\":\"ListItem\",position:index+1,name:item.name,item:absolute(item.url,site)}));return prune({...base,\"@type\":\"BreadcrumbList\",itemListElement:items});}if(props.schemaType===\"SoftwareApplication\"){return prune({...base,\"@type\":\"SoftwareApplication\",name:props.headline,description:props.description,url,image,applicationCategory:props.applicationCategory,operatingSystem:props.operatingSystem,offers:props.price?{\"@type\":\"Offer\",price:props.price,priceCurrency:props.priceCurrency||\"GBP\"}:undefined,author});}if(props.schemaType===\"Service\"){return prune({...base,\"@type\":\"Service\",name:props.headline,description:props.description,url,image,areaServed:props.areaServed,provider:author,offers:props.price?{\"@type\":\"Offer\",price:props.price,priceCurrency:props.priceCurrency||\"GBP\"}:undefined});}// A pillar (hub) page: the CMS item that groups a topic's posts.\nif(props.schemaType===\"CollectionPage\"){return prune({...base,\"@type\":\"CollectionPage\",name:props.headline,description:props.description,url,image,inLanguage:\"en-GB\",author});}if(props.schemaType===\"CreativeWork\"){return prune({...base,\"@type\":\"CreativeWork\",name:props.headline,description:props.description,url,image,datePublished:isoDate(props.datePublished),creator:author,about:props.aboutOrganization?{\"@type\":\"Organization\",name:props.aboutOrganization}:undefined,keywords:props.keywords});}if(props.schemaType===\"ProfilePage\"){return prune({...base,\"@type\":\"ProfilePage\",url,mainEntity:prune({\"@type\":\"Person\",\"@id\":PERSON_ID,name:props.authorName,url:absolute(props.authorUrl,site),description:props.description,image})});}return prune({...base,\"@type\":props.schemaType===\"Article\"?\"Article\":\"BlogPosting\",headline:props.headline,description:props.description,url,image,datePublished:isoDate(props.datePublished),dateModified:isoDate(props.dateModified)||isoDate(props.datePublished),author,publisher:author,mainEntityOfPage:url?{\"@type\":\"WebPage\",\"@id\":url}:undefined});}function crumbLabel(segment){return segment.split(\"-\").map(word=>word?word.charAt(0).toUpperCase()+word.slice(1):word).join(\" \");}// A Link control hands back \"./accessibility\" for a page in this project.\nfunction linkPath(value){const text=typeof value===\"string\"?value.trim():\"\";return text.replace(/^\\.\\//,\"/\");}// Derived from the URL rather than typed per page, so every instance gets a\n// breadcrumb trail without forty separate crumb arrays to keep in sync. The\n// final crumb uses the page's own headline; the rest are title-cased path\n// segments, which matches how the paths are already written. Posts sit at the\n// root, so a pillar can't come from the path: a bound parent link adds it\n// between Home and the page.\nfunction autoBreadcrumbs(props,schema){const site=(props.siteBase||SITE).replace(/\\/$/,\"\");const url=absolute(props.url,site);if(!url||url.indexOf(site)!==0)return undefined;const path=url.slice(site.length).split(\"?\")[0].split(\"#\")[0];const segments=path.split(\"/\").filter(Boolean);if(!segments.length)return undefined;const crumbs=[{name:\"Home\",item:site+\"/\"}];const parentUrl=absolute(linkPath(props.crumbParentUrl),site).replace(/\\/$/,\"\");if(parentUrl&&parentUrl!==url.replace(/\\/$/,\"\")){const parentSlug=parentUrl.split(\"/\").pop()||\"\";crumbs.push({name:(props.crumbParentName||\"\").trim()||crumbLabel(parentSlug),item:parentUrl});}let walked=\"\";segments.forEach((segment,index)=>{walked+=\"/\"+segment;const isLast=index===segments.length-1;const label=isLast?schema.headline||schema.name||crumbLabel(segment):crumbLabel(segment);crumbs.push({name:label,item:site+walked});});const items=crumbs.map((crumb,index)=>({\"@type\":\"ListItem\",position:index+1,...crumb}));return{\"@type\":\"BreadcrumbList\",itemListElement:items};}// Google reports a JSON-LD block that declares a type but carries no content as\n// an error (\"missing field headline\"), so a half-filled instance is worse than\n// no instance. Anything that fails this renders nothing at all.\nfunction missingRequired(schemaType,schema){if(!schema||typeof schema!==\"object\")return\"Nothing to output\";if(schemaType===\"FAQPage\"){return Array.isArray(schema.mainEntity)&&schema.mainEntity.length?\"\":\"No questions\";}if(schemaType===\"BreadcrumbList\"){const list=schema.itemListElement;return Array.isArray(list)&&list.length>1?\"\":\"Needs two or more crumbs\";}if(schemaType===\"Custom\"){return Object.keys(schema).some(key=>key!==\"@context\")?\"\":\"Nothing to output\";}if(schemaType===\"ProfilePage\"){return schema.mainEntity&&schema.mainEntity.name?\"\":\"No person name\";}// Article, BlogPosting, Service, SoftwareApplication and CreativeWork all carry the headline\n// through to either \"headline\" or \"name\".\nreturn schema.headline||schema.name?\"\":\"No headline\";}// Valid, but Google will warn. Surfaced on the canvas only so an unbound CMS\n// field is visible in the editor instead of silently shipping a thin block.\nfunction thinFields(schemaType,schema){if(schemaType!==\"BlogPosting\"&&schemaType!==\"Article\")return\"\";const gaps=[];if(!schema.image)gaps.push(\"image\");if(!schema.datePublished)gaps.push(\"datePublished\");return gaps.length?\"missing \"+gaps.join(\", \"):\"\";}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 260\n * @framerIntrinsicHeight 44\n */export default function SchemaMarkup(props){let schema=buildSchema(props);let problem=\"\";const extra=(props.extraJson||\"\").trim();if(extra){try{const parsed=JSON.parse(extra);if(props.schemaType===\"Custom\")schema=parsed;else schema={...schema,...parsed};}catch(error){problem=\"Extra JSON is not valid JSON\";}}if(props.schemaType===\"Custom\"&&!extra){problem=\"Custom selected but no JSON provided\";}if(!problem)problem=missingRequired(props.schemaType,schema);// A page carries one script, not two: the primary type and its breadcrumb\n// trail go in a single @graph. FAQ blocks opt out because they sit beside a\n// Service block that already emits the trail for that page.\nconst skipCrumbs=props.autoBreadcrumbs===false||props.schemaType===\"FAQPage\"||props.schemaType===\"BreadcrumbList\"||props.schemaType===\"Custom\";const crumbs=problem||skipCrumbs?undefined:autoBreadcrumbs(props,schema);let output=schema;if(crumbs){const{\"@context\":context,...primary}=schema;output={\"@context\":context||\"https://schema.org\",\"@graph\":[primary,crumbs]};}const json=problem?\"\":JSON.stringify(output);const warning=problem?\"\":thinFields(props.schemaType,schema);const onCanvas=RenderTarget?.current?.()===RenderTarget?.canvas;if(onCanvas){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",gap:8,padding:\"8px 12px\",borderRadius:8,border:`1px dashed ${problem?\"#D93025\":warning?\"#E37400\":\"#9AA0A6\"}`,background:problem?\"#FDECEA\":warning?\"#FEF7E0\":\"#F1F3F4\",font:\"500 12px/1.3 Inter, system-ui, sans-serif\",color:problem?\"#B3261E\":warning?\"#8A5300\":\"#3C4043\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:problem||warning?\"!\":\"{ }\"}),/*#__PURE__*/_jsx(\"span\",{children:problem?`Not output: ${problem}`:`JSON-LD \\xb7 ${props.schemaType} \\xb7 ${json.length} chars${warning?\" \\xb7 \"+warning:\"\"}`})]});}if(!json)return null;return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}});}SchemaMarkup.defaultProps={schemaType:\"BlogPosting\",autoBreadcrumbs:true,siteBase:SITE,authorName:\"Ben Walsh\",authorUrl:SITE,priceCurrency:\"GBP\"};addPropertyControls(SchemaMarkup,{schemaType:{type:ControlType.Enum,title:\"Type\",options:[\"BlogPosting\",\"Article\",\"CreativeWork\",\"ProfilePage\",\"FAQPage\",\"Service\",\"SoftwareApplication\",\"BreadcrumbList\",\"CollectionPage\",\"Custom\"],optionTitles:[\"Blog post\",\"Article\",\"Case study\",\"Profile / about\",\"FAQ page\",\"Service\",\"Software / tool\",\"Breadcrumbs\",\"Pillar / hub\",\"Custom JSON\"],defaultValue:\"BlogPosting\"},headline:{type:ControlType.String,title:\"Headline\",description:\"Bind to the H1 field on a CMS template\",hidden:p=>[\"ProfilePage\",\"FAQPage\",\"BreadcrumbList\",\"Custom\"].includes(p.schemaType)},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,hidden:p=>[\"FAQPage\",\"BreadcrumbList\",\"Custom\"].includes(p.schemaType)},url:{type:ControlType.String,title:\"URL\",description:\"Path or full URL. Leave blank to omit.\",hidden:p=>[\"Custom\"].includes(p.schemaType)},image:{type:ControlType.Image,title:\"Image\",description:\"Bind to the CMS Image field, or upload one\",hidden:p=>[\"FAQPage\",\"BreadcrumbList\",\"Custom\"].includes(p.schemaType)},datePublished:{type:ControlType.Date,title:\"Published\",description:\"Bind to the CMS Date field\",hidden:p=>![\"BlogPosting\",\"Article\",\"CreativeWork\"].includes(p.schemaType)},dateModified:{type:ControlType.Date,title:\"Updated\",hidden:p=>![\"BlogPosting\",\"Article\"].includes(p.schemaType)},faqs:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Q\"},answer:{type:ControlType.String,title:\"A\",displayTextArea:true}}},hidden:p=>p.schemaType!==\"FAQPage\"},breadcrumbs:{type:ControlType.Array,title:\"Crumbs\",control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Name\"},url:{type:ControlType.String,title:\"URL\"}}},hidden:p=>p.schemaType!==\"BreadcrumbList\"},applicationCategory:{type:ControlType.String,title:\"Category\",placeholder:\"DesignApplication\",hidden:p=>p.schemaType!==\"SoftwareApplication\"},operatingSystem:{type:ControlType.String,title:\"Platform\",placeholder:\"Web\",hidden:p=>p.schemaType!==\"SoftwareApplication\"},areaServed:{type:ControlType.String,title:\"Area served\",placeholder:\"United Kingdom\",hidden:p=>p.schemaType!==\"Service\"},price:{type:ControlType.String,title:\"Price\",hidden:p=>![\"Service\",\"SoftwareApplication\"].includes(p.schemaType)},priceCurrency:{type:ControlType.String,title:\"Currency\",hidden:p=>![\"Service\",\"SoftwareApplication\"].includes(p.schemaType)},aboutOrganization:{type:ControlType.String,title:\"Client\",placeholder:\"Pearson\",description:\"The organisation the work was for. Emitted as about.\",hidden:p=>p.schemaType!==\"CreativeWork\"},keywords:{type:ControlType.String,title:\"Keywords\",placeholder:\"design systems, accessibility\",hidden:p=>p.schemaType!==\"CreativeWork\"},autoBreadcrumbs:{type:ControlType.Boolean,title:\"Breadcrumbs\",enabledTitle:\"Auto\",disabledTitle:\"Off\",defaultValue:true,description:\"Adds a BreadcrumbList built from the URL path\",hidden:p=>[\"FAQPage\",\"BreadcrumbList\",\"Custom\"].includes(p.schemaType)},crumbParentUrl:{type:ControlType.Link,title:\"Crumb parent link\",description:\"Bind to the CMS Pillar Page field. Adds that page between Home and this one.\",hidden:p=>p.autoBreadcrumbs===false||[\"FAQPage\",\"BreadcrumbList\",\"Custom\"].includes(p.schemaType)},crumbParentName:{type:ControlType.String,title:\"Crumb parent name\",description:\"Optional. Falls back to the parent link's slug, title-cased.\",hidden:p=>p.autoBreadcrumbs===false||[\"FAQPage\",\"BreadcrumbList\",\"Custom\"].includes(p.schemaType)},authorName:{type:ControlType.String,title:\"Author\"},authorUrl:{type:ControlType.String,title:\"Author URL\"},siteBase:{type:ControlType.String,title:\"Site base\",description:\"Used to make relative URLs absolute\"},extraJson:{type:ControlType.String,title:\"Extra JSON\",displayTextArea:true,description:\"Merged over the generated schema. Required for Custom.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaMarkup\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"44\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"260\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaMarkup.map"],"mappings":"A,4KAGgC,SAASQ,EAAS,EAAI,EAAK,CAAC,IAAMC,GAAOC,GAAK,GAAA,CAAI,KAAK,EAAiE,OAA3DD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