{"version":3,"file":"StructuredPageData.BrUacd0D.mjs","names":["__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_Bf4_tcb2","ControlType","StructuredPageData","kind","slug","origin","url","path","person","author","known","organization","entity","title","description","date","image","graph","style","init_StructuredPageData"],"sources":["https:/framerusercontent.com/modules/QTTRV64ZQVTq1ja4lZVC/u9Nr5nNF8Iqsq4WDhoKJ/StructuredPageData.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fixed */export default function StructuredPageData({title=\"\",description=\"\",path=\"/\",slug=\"\",author=\"\",date=\"\",image=\"\",kind=\"WebPage\",style}){if(kind===\"BlogPosting\"&&!slug)return null;const origin=\"https://sbg-gaming.com\",url=kind===\"BlogPosting\"?origin+\"/blog/\"+encodeURIComponent(slug):origin+path;const person=author.replace(/^Geschrieben von:\\s*/i,\"\").trim(),known=person===\"Thorben Steenmanns\";const organization={\"@type\":\"Organization\",\"@id\":origin+\"/#organization\",name:\"SBG Serious Business Gaming GmbH\",url:origin,brand:{\"@type\":\"Brand\",name:\"What The Hack!\"}};const entity={\"@type\":kind===\"BlogPosting\"?\"BlogPosting\":\"WebPage\",\"@id\":url+\"#main\",url,name:title,headline:kind===\"BlogPosting\"?title:undefined,description:description||undefined,inLanguage:\"de\",publisher:{\"@id\":origin+\"/#organization\"}};if(kind===\"BlogPosting\"){entity.mainEntityOfPage=url;if(person&&!/^Herausgeber:/i.test(person))entity.author={\"@type\":\"Person\",name:person,...known?{url:origin+\"/vortraege-keynotes#thorben-steenmanns\"}:{}};if(date&&!Number.isNaN(Date.parse(date)))entity.datePublished=new Date(date).toISOString();if(image)entity.image=image;}const graph=[organization,entity];if(path===\"/vortraege-keynotes\")graph.push({\"@type\":\"Person\",\"@id\":origin+\"/vortraege-keynotes#thorben-steenmanns\",name:\"Thorben Steenmanns\",url:origin+\"/vortraege-keynotes#thorben-steenmanns\",worksFor:{\"@id\":origin+\"/#organization\"}},{\"@type\":\"Person\",\"@id\":origin+\"/vortraege-keynotes#marcus-schaper\",name:\"Marcus Schaper\",url:origin+\"/vortraege-keynotes#marcus-schaper\",worksFor:{\"@id\":origin+\"/#organization\"}});return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,height:1,width:\"100%\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify({\"@context\":\"https://schema.org\",\"@graph\":graph}).replace(/</g,\"\\\\u003c\")}})});}addPropertyControls(StructuredPageData,{title:{type:ControlType.String,title:\"Titel\"},description:{type:ControlType.String,title:\"Beschreibung\"},path:{type:ControlType.String,title:\"Pfad\",defaultValue:\"/\"},slug:{type:ControlType.String,title:\"Artikel-Slug\"},author:{type:ControlType.String,title:\"Autor\"},date:{type:ControlType.String,title:\"Publiziert\"},image:{type:ControlType.Image,title:\"Artikelbild\"},kind:{type:ControlType.Enum,title:\"Typ\",options:[\"WebPage\",\"BlogPosting\"],defaultValue:\"WebPage\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredPageData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredPageData.map"],"mappings":"A,4JACwC,SAAwBM,EAAmB,CAAC,QAAM,GAAG,cAAY,GAAG,OAAK,IAAI,OAAK,GAAG,SAAO,GAAG,OAAK,GAAG,QAAM,GAAG,OAAK,UAAU,SAAO,CAAC,GAAGC,IAAO,eAAe,CAACC,EAAK,OAAO,KAAK,IAAMC,EAAO,yBAAyBC,EAAIH,IAAO,cAAcE,EAAO,SAAS,mBAAmBD,CAAI,EAAEC,EAAOE,EAAWC,EAAOC,EAAO,QAAQ,wBAAwB,EAA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