{"version":3,"file":"StructuredData.CexdY7rq.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gTlRS3yzTUl3ceFd5y42/s3FGo56wGPOEtdcTw7Uo/StructuredData.js"],"sourcesContent":["// StructuredData: puts a JSON-LD block (schema.org) into the page, so search engines\n// and AI assistants can read who OpenPlay is, what the products are, and the FAQs.\n// Invisible on the site. On the canvas it shows a small label, or a warning if the\n// JSON doesn't parse. The JSON for each page is kept in framer/structured-data/.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Structured data\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{json=\"\",style}=props;let valid=true;let minified=\"\";try{minified=JSON.stringify(JSON.parse(json));}catch{valid=false;}if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:{...style,minWidth:140,padding:\"4px 8px\",borderRadius:6,fontSize:11,fontFamily:\"Roboto, sans-serif\",background:valid?\"#F2EDFE\":\"#FBEBEB\",color:valid?\"#3E2DAC\":\"#B3261E\",whiteSpace:\"nowrap\"},children:valid?\"Structured data (invisible)\":\"Structured data: invalid JSON\"});}if(!valid||!minified)return null;// \"</\" can't appear inside a script block, so escape it\nconst safe=minified.replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:safe}});}addPropertyControls(StructuredData,{json:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true,defaultValue:\"\",description:\"schema.org JSON-LD. Keep a copy in framer/structured-data/ in the repo.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"8JAYG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,OAAK,GAAG,SAAO,EAAU,EAAM,GAAS,EAAS,GAAG,GAAG,CAAC,EAAS,KAAK,UAAU,KAAK,MAAM,CAAI,CAAC,CAAE,MAAM,CAAC,EAAM,EAAM,CAChI,OADoI,EAAa,QAAQ,IAAI,EAAa,OAA4B,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,IAAI,QAAQ,UAAU,aAAa,EAAE,SAAS,GAAG,WAAW,qBAAqB,WAAW,EAAM,UAAU,UAAU,MAAM,EAAM,UAAU,UAAU,WAAW,QAAQ,EAAE,SAAS,EAAM,8BAA8B,+BAA+B,CAAC,EAAM,CAAC,GAAO,CAAC,EAAgB,KAC9e,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAxH,EAAS,QAAQ,KAAK,SAA4G,CAAC,CAAC,CAAC,CAAE,iBATxG,IAAiE,EASwC,EAAoB,EAAe,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,gBAAgB,GAAK,aAAa,GAAG,YAAY,yEAAyE,CAAC,CAAC"}