{"version":3,"file":"PartnerJsonLd.3tcQcQdS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/yprEEyBcFRIndEFSn1uJ/EkPjlrUNJRcSS9wW5foJ/PartnerJsonLd.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Partner JSON-LD\n *\n * Emits a raw JSON-LD block for the partner pages. The existing SchemaEmitter is shaped for\n * Lexikon and Blog items (DefinedTerm, Article); the partner set needs SoftwareApplication,\n * BreadcrumbList and an ItemList on the hub, so this one takes the payload as-is rather than\n * modelling every type as props.\n *\n * The whole point of the partner rebuild is that the live hub cannot be cited by an answer\n * engine: 319 words, zero partner names as text, no structured data. Names-as-text fixed the\n * first half; this is the second.\n *\n * Renders nothing visible. Invalid JSON is dropped rather than emitted, because a malformed\n * ld+json block is worse than none: it can invalidate the whole page's structured data.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PartnerJsonLd(props){const{payload=\"\"}=props;let ok=false;if(payload){try{JSON.parse(payload);ok=true;}catch{ok=false;}}// On the canvas, show whether the payload parses. Silent failure on a node that renders\n// nothing is how broken structured data ships unnoticed.\nif(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",minWidth:24,minHeight:16,fontSize:9,lineHeight:\"16px\",textAlign:\"center\",borderRadius:3,background:ok?\"#E8F5E9\":\"#FDECEA\",color:ok?\"#1B5E20\":\"#B71C1C\"},children:ok?\"JSON-LD\":\"JSON-LD ung\\xfcltig\"});}if(!ok)return null;return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:payload}});}addPropertyControls(PartnerJsonLd,{payload:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PartnerJsonLd\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PartnerJsonLd.map"],"mappings":"mKAoBG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,UAAQ,IAAI,EAAU,EAAG,GAAM,GAAG,EAAS,GAAG,CAAC,KAAK,MAAM,CAAO,EAAE,EAAG,EAAK,MAAM,CAAC,EAAG,EAAM,CAEgN,OAA9V,EAAa,QAAQ,IAAI,EAAa,OAA4B,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,SAAS,GAAG,UAAU,GAAG,SAAS,EAAE,WAAW,OAAO,UAAU,SAAS,aAAa,EAAE,WAAW,EAAG,UAAU,UAAU,MAAM,EAAG,UAAU,SAAS,EAAE,SAAS,EAAG,UAAU,kBAAqB,CAAC,EAAO,EAAmC,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,CAAO,CAAC,CAAC,EAA5G,IAA8G,iBAtBha,IAAiE,EAsBgW,EAAoB,EAAc,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,gBAAgB,GAAK,aAAa,EAAE,CAAC,CAAC"}