{"version":3,"file":"StructuredPageData.CEEd7Tku.mjs","names":["_jsx","__esmMin","c","init_jsx_runtime","addPropertyControls","init_framer_ChujFWHC","ControlType","StructuredPageData","title","description","path","slug","author","date","image","kind","style","origin","url","person","known","organization","entity","graph","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,SAAwBO,EAAmB,CAACC,QAAM,GAAGC,cAAY,GAAGC,OAAK,IAAIC,OAAK,GAAGC,SAAO,GAAGC,OAAK,GAAGC,QAAM,GAAGC,OAAK,UAAUC,SAAO,CAAC,GAAGD,IAAO,eAAe,CAACJ,EAAK,OAAO,KAAK,IAAMM,EAAO,yBAAyBC,EAAIH,IAAO,cAAcE,EAAO,SAAS,mBAAmBN,CAAI,EAAEM,EAAOP,EAAWS,EAAOP,EAAO,QAA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