{"version":3,"file":"Schema_Location.CBwiZj50.mjs","names":[],"sources":["https:/framerusercontent.com/modules/bZvsz65f0qwT83YZcVQf/FF2TWi5CuJOJ7ulTyBqL/Schema_Location.js"],"sourcesContent":["// Schema_Location — LocalBusiness + BreadcrumbList + WebPage structured data\n// Inject on: all /locations/* pages\n// Configure per page using the property controls in Framer\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const officeData={Hamilton:{telephone:\"+441698285885\",streetAddress:\"1 Barrack Street\",postalCode:\"ML3 0DG\",addressRegion:\"South Lanarkshire\"},Glasgow:{telephone:\"+441413455735\",streetAddress:\"20-23 Woodside Place\",postalCode:\"G3 7QL\",addressRegion:\"Glasgow City\"}};export default function Schema_Location({cityName=\"Glasgow\",serviceType=\"Criminal Defence\",serviceSlug=\"services/criminal\",pageSlug=\"locations/criminal/glasgow\",officeLocation=\"Glasgow\",description=\"Criminal defence lawyers serving Glasgow. Expert representation at Glasgow Sheriff Court and the High Court of Justiciary. Legal Aid available.\"}){const baseUrl=\"https://charlesferguson.co.uk\";const pageUrl=`${baseUrl}/${pageSlug}`;const officeKey=officeLocation in officeData?officeLocation:\"Hamilton\";const office=officeData[officeKey];const schema={\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":[\"LegalService\",\"LocalBusiness\"],\"@id\":`${pageUrl}#local`,\"name\":`Charles Ferguson Solicitors — ${serviceType} ${cityName}`,\"parentOrganization\":{\"@id\":\"https://charlesferguson.co.uk/#organization\"},\"url\":pageUrl,\"telephone\":office.telephone,\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":office.streetAddress,\"addressLocality\":cityName,\"postalCode\":office.postalCode,\"addressRegion\":office.addressRegion,\"addressCountry\":\"GB\"},\"areaServed\":{\"@type\":\"City\",\"name\":cityName},\"serviceType\":serviceType,\"description\":description},{\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":baseUrl},{\"@type\":\"ListItem\",\"position\":2,\"name\":serviceType,\"item\":`${baseUrl}/${serviceSlug}`},{\"@type\":\"ListItem\",\"position\":3,\"name\":cityName,\"item\":pageUrl}]},{\"@type\":\"WebPage\",\"@id\":`${pageUrl}#webpage`,\"url\":pageUrl,\"name\":`${serviceType} Lawyer ${cityName} — Charles Ferguson Solicitors`,\"isPartOf\":{\"@id\":\"https://charlesferguson.co.uk/#website\"},\"datePublished\":\"2025-01-01\",\"dateModified\":\"2026-04-11\",\"inLanguage\":\"en-GB\"}]};return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)},style:{display:\"none\"}});}addPropertyControls(Schema_Location,{cityName:{type:ControlType.String,title:\"City Name\",defaultValue:\"Glasgow\"},serviceType:{type:ControlType.Enum,title:\"Service Type\",options:[\"Criminal Defence\",\"Road Traffic Law\"],defaultValue:\"Criminal Defence\"},serviceSlug:{type:ControlType.String,title:\"Service Page Slug\",description:\"e.g. services/criminal or services/road-traffic\",defaultValue:\"services/criminal\"},pageSlug:{type:ControlType.String,title:\"This Page Slug\",description:\"e.g. locations/criminal/glasgow\",defaultValue:\"locations/criminal/glasgow\"},officeLocation:{type:ControlType.Enum,title:\"Nearest Office\",options:[\"Hamilton\",\"Glasgow\"],defaultValue:\"Glasgow\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"Criminal defence lawyers serving Glasgow. Expert representation at Glasgow Sheriff Court and the High Court of Justiciary. Legal Aid available.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Schema_Location\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Schema_Location.map"],"mappings":"4JAGyW,SAAwB,EAAgB,CAAC,WAAS,UAAU,cAAY,mBAAmB,cAAY,oBAAoB,WAAS,6BAA6B,iBAAe,UAAU,cAAY,mJAAmJ,CAAC,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