{"version":3,"file":"ServiceStructuredData.oEVQhtAE.mjs","names":["__esmMin","init_jsx_runtime","c","init_framer_DKWANagr","addPropertyControls","ControlType","useLocaleInfo","clean","value","normalizePath","path","ServiceStructuredData","activeIsNl","activeLocale","mode","props","isNl","language","localePrefix","name","description","serviceType","serviceOutput","pageUrl","SITE_URL","serviceId","webPageId","breadcrumbId","service","ORG_ID","webPage","WEBSITE_ID","parentName","parentPath","crumbs","json","init_ServiceStructuredData"],"sources":["https:/framerusercontent.com/modules/yzYazUnwuzRhKjINRlNC/L8xlmf8skCBWMxuhY7NC/ServiceStructuredData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useLocaleInfo}from\"framer\";const SITE_URL=\"https://www.mangoproductdesign.com\";const ORG_ID=SITE_URL+\"/#organization\";const WEBSITE_ID=SITE_URL+\"/#website\";function clean(value){if(typeof value!==\"string\")return undefined;const text=value.trim();return text||undefined;}function normalizePath(value){const path=clean(value)||\"/\";return path.startsWith(\"/\")?path:\"/\"+path;}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ServiceStructuredData(props){const{activeLocale}=useLocaleInfo();const activeCode=activeLocale?.code||\"en-GB\";const activeIsNl=activeCode.toLowerCase().startsWith(\"nl\");const mode=props.languageMode||\"auto\";const isNl=mode===\"nl\"||mode===\"auto\"&&activeIsNl;const language=isNl?\"nl-NL\":\"en-GB\";const localePrefix=activeIsNl?\"/nl\":\"\";const name=clean(isNl?props.nameNl:props.nameEn)||clean(props.nameEn)||clean(props.nameNl)||\"Service\";const description=clean(isNl?props.descriptionNl:props.descriptionEn)||clean(props.descriptionEn)||clean(props.descriptionNl);const serviceType=clean(isNl?props.serviceTypeNl:props.serviceTypeEn)||clean(props.serviceTypeEn)||clean(props.serviceTypeNl)||name;const serviceOutput=clean(isNl?props.serviceOutputNl:props.serviceOutputEn)||clean(props.serviceOutputEn)||clean(props.serviceOutputNl);const path=normalizePath(props.path);const pageUrl=SITE_URL+localePrefix+(path===\"/\"?\"/\":path);const serviceId=pageUrl+\"#service\";const webPageId=pageUrl+\"#webpage\";const breadcrumbId=pageUrl+\"#breadcrumb\";const service={\"@type\":\"Service\",\"@id\":serviceId,name,...description?{description}:{},serviceType,...serviceOutput?{serviceOutput:{\"@type\":\"Thing\",name:serviceOutput}}:{},category:isNl?\"Productontwerp en productontwikkeling\":\"Product design and development\",inLanguage:language,url:pageUrl,provider:{\"@id\":ORG_ID},mainEntityOfPage:{\"@id\":webPageId}};const webPage={\"@type\":\"WebPage\",\"@id\":webPageId,url:pageUrl,name,...description?{description}:{},inLanguage:language,isPartOf:{\"@id\":WEBSITE_ID},publisher:{\"@id\":ORG_ID},mainEntity:{\"@id\":serviceId},about:{\"@id\":serviceId},breadcrumb:{\"@id\":breadcrumbId}};const parentName=clean(isNl?props.parentNameNl:props.parentNameEn)||clean(props.parentNameEn)||clean(props.parentNameNl);const parentPath=clean(props.parentPath);const crumbs=[{\"@type\":\"ListItem\",position:1,name:\"Home\",item:SITE_URL+localePrefix+\"/\"}];if(parentName&&parentPath){crumbs.push({\"@type\":\"ListItem\",position:2,name:parentName,item:SITE_URL+localePrefix+normalizePath(parentPath)});}crumbs.push({\"@type\":\"ListItem\",position:crumbs.length+1,name});const breadcrumb={\"@type\":\"BreadcrumbList\",\"@id\":breadcrumbId,itemListElement:crumbs};const organization={\"@type\":\"Organization\",\"@id\":ORG_ID,name:\"ManGo Product Design\",url:SITE_URL+\"/\"};const website={\"@type\":\"WebSite\",\"@id\":WEBSITE_ID,name:\"ManGo Product Design\",url:SITE_URL+\"/\",publisher:{\"@id\":ORG_ID}};const schema={\"@context\":\"https://schema.org\",\"@graph\":[organization,website,service,webPage,breadcrumb]};const json=JSON.stringify(schema).replace(/</g,\"<\");return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...props.style,width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(ServiceStructuredData,{nameEn:{type:ControlType.String,title:\"Name EN\"},nameNl:{type:ControlType.String,title:\"Name NL\"},descriptionEn:{type:ControlType.String,title:\"Description EN\"},descriptionNl:{type:ControlType.String,title:\"Description NL\"},serviceTypeEn:{type:ControlType.String,title:\"Type EN\"},serviceTypeNl:{type:ControlType.String,title:\"Type NL\"},serviceOutputEn:{type:ControlType.String,title:\"Output EN\"},serviceOutputNl:{type:ControlType.String,title:\"Output NL\"},path:{type:ControlType.String,title:\"Path\"},parentNameEn:{type:ControlType.String,title:\"Parent EN\"},parentNameNl:{type:ControlType.String,title:\"Parent NL\"},parentPath:{type:ControlType.String,title:\"Parent Path\"},languageMode:{type:ControlType.Enum,title:\"Language\",options:[\"auto\",\"en\",\"nl\"],optionTitles:[\"Auto\",\"English\",\"Dutch\"],defaultValue:\"auto\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ServiceStructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ServiceStructuredData.map"],"mappings":"A,oKAA8O,SAASO,EAAM,EAAM,CAAC,GAAG,OAAOC,GAAQ,SAAkD,OAAbA,EAAM,KAAiB,GAAG,IAAA,EAAU,CAAC,SAASC,EAAc,EAAM,CAAC,IAAMC,EAAKH,EAAMC,CAAK,GAAG,IAAI,OAAOE,EAAK,WAAW,GAAG,EAAEA,EAAK,IAAIA,CAAK,CAGlc,SAAwBC,EAAsB,EAAM,CAAC,GAAK,CAAC,gBAAcL,EAAc,EAAqDM,GAAlCC,GAAc,MAAM,QAAA,CAAoC,YAAY,CAAC,CAAC,WAAW,IAAI,EAAQC,EAAKC,EAAM,cAAc,OAAaC,EAAKF,IAAO,MAAMA,IA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