{"version":3,"file":"StructuredData.69haCxHG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/lkg0xR9uCaQnupimS7Lu/YGckWe9UMUq2deKYiebU/StructuredData.js"],"sourcesContent":["// Emits JSON-LD structured data. This is the whole AEO gap: the published site currently has NO\n// structured data on any page, so answer engines can read Re-skill but cannot reliably cite it.\n//\n// WHY THIS WORKS THROUGH A CODE COMPONENT: JSON-LD does not have to live in <head>. Google\n// explicitly supports it anywhere in the document, including <body>. Framer's Site Settings custom\n// code panel is unreachable through the plugin API, but a rendered <script type=\"application/ld+json\">\n// is server-rendered by Framer and parsed the same way. Same trick as GlobalStyles.\n//\n// Renders nothing visible: 0×0, aria-hidden, pointer-events none. Position on the canvas is\n// irrelevant.\n//\n// PLACEMENT\n//   kind=\"organization\" → once, on the homepage. Identifies the company sitewide.\n//   kind=\"faq\"          → on the homepage, beside the FAQ section. Highest-value single addition,\n//                         because the answers already exist and address real buyer questions.\n//   kind=\"software\"     → on /pricing.\n//\n// FAQ LIST IS CANONICAL IN CODE (15 Sep 2026): array props cannot be written through the plugin API,\n// so the homepage instance would keep a stale list forever. FAQS below is what ships. Keep it in step\n// with the visible homepage FAQ, which is a native Framer component edited by hand.\n//\n// ⚠️ Every value here is a public claim in machine-readable form, which is exactly what gets\n// quoted back. Do not put anything in it that is not already true and approved on the site.\n// Prices in particular must match /pricing exactly.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useLang,dictFor,trStr}from\"https://framerusercontent.com/modules/ZICnxbSKm28rdWdBUiaI/ELKng01z06lrgI8Lv6w8/i18n.js\";// 4 Oct 2026: the FAQ schema mirrors the visible homepage FAQ word for word (LmsSecurity.tsx FAQS).\n// Google requires FAQ structured data to match what the page shows. Change both together.\nconst FAQS=[{question:\"What does a finished course include?\",answer:\"Lessons, narrated video, quizzes and slides built from your documents, packaged as SCORM or xAPI for your LMS.\"},{question:\"Can we edit what it generates?\",answer:\"Yes. Every lesson, quiz and slide opens in the editor, so your team can change anything before it is exported.\"},{question:\"Which languages do you support?\",answer:\"Arabic, Russian and English, plus any other language you request. Arabic courses are written and narrated in Arabic from your source, not translated afterwards.\"},{question:\"Can we deploy on-premise?\",answer:\"Yes, on the Enterprise plan. Cloud is the default, and on-premise or VPC deployment is available on request.\"},{question:\"What do we need to start?\",answer:\"Your source documents and someone who can approve the result. A single policy is enough for a first course.\"},{question:\"Can we try it first?\",answer:\"Yes. Request free access for 3,000 credits, no card needed. Exporting to your LMS is on the paid plan.\"}];/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 0\n * @framerIntrinsicHeight 0\n */export default function StructuredData(props){const{kind=\"organization\",orgName,orgUrl,orgLogo,orgDescription,sameAs,appName,appCategory,priceLow,priceCurrency}=props;// On /ru/ and /ar/ the FAQ answers and descriptions match the translated copy on the page.\nconst lang=useLang();const D=dictFor(lang);const T=v=>D&&v?trStr(v,D):v;let data=null;if(kind===\"organization\"){const links=(sameAs||\"\").split(\",\").map(s=>s.trim()).filter(Boolean);data={\"@context\":\"https://schema.org\",\"@type\":\"Organization\",name:orgName,url:orgUrl,description:T(orgDescription),...orgLogo?{logo:orgLogo}:{},...links.length?{sameAs:links}:{},contactPoint:{\"@type\":\"ContactPoint\",contactType:\"sales\",url:`${(orgUrl||\"\").replace(/\\/$/,\"\")}/contact`}};}else if(kind===\"faq\"){data={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",inLanguage:lang,mainEntity:FAQS.map(f=>({\"@type\":\"Question\",name:T(f.question),acceptedAnswer:{\"@type\":\"Answer\",text:T(f.answer)}}))};}else if(kind===\"article\"){// 4 Oct 2026: blog posts and customer stories. Bind Headline, Description, Image, Published and\n// Author to the CMS fields on the detail page so every item carries its own BlogPosting.\nconst p=props;data={\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",headline:p.headline||undefined,description:p.articleDescription||undefined,image:p.articleImage?.src||undefined,datePublished:p.published||undefined,author:p.author?{\"@type\":\"Person\",name:p.author}:{\"@type\":\"Organization\",name:orgName},publisher:{\"@type\":\"Organization\",name:orgName,url:orgUrl,logo:orgLogo||undefined}};}else if(kind===\"software\"){data={\"@context\":\"https://schema.org\",\"@type\":\"SoftwareApplication\",name:appName,applicationCategory:appCategory,operatingSystem:\"Web\",description:T(\"Turns an organisation's own documents into finished, reviewed courses and exports them as SCORM, cmi5 or xAPI.\"),offers:{\"@type\":\"AggregateOffer\",lowPrice:priceLow,highPrice:\"550\",offerCount:3,priceCurrency:priceCurrency,url:`${(orgUrl||\"\").replace(/\\/$/,\"\")}/pricing`}};}if(!data)return null;// JSON.stringify escapes quotes correctly; the </script> guard prevents an early tag close.\nconst json=JSON.stringify(data).replace(/<\\/script/gi,\"<\\\\/script\");return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:0,height:0,overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(StructuredData,{kind:{type:ControlType.Enum,title:\"Schema\",defaultValue:\"organization\",options:[\"organization\",\"faq\",\"software\",\"article\"],optionTitles:[\"Organization\",\"FAQ page\",\"Software / pricing\",\"Article (CMS)\"]},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"\",hidden:p=>p.kind!==\"article\"},articleDescription:{type:ControlType.String,title:\"Summary\",defaultValue:\"\",hidden:p=>p.kind!==\"article\"},articleImage:{type:ControlType.ResponsiveImage,title:\"Article image\",hidden:p=>p.kind!==\"article\"},published:{type:ControlType.Date,title:\"Published\",hidden:p=>p.kind!==\"article\"},author:{type:ControlType.String,title:\"Author\",defaultValue:\"\",hidden:p=>p.kind!==\"article\"},orgName:{type:ControlType.String,title:\"Name\",defaultValue:\"Re-skill\"},orgUrl:{type:ControlType.String,title:\"URL\",defaultValue:\"https://re-skill.io\"},orgLogo:{type:ControlType.String,title:\"Logo URL\",defaultValue:\"\"},orgDescription:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"Re-skill turns the documents an organisation has already written into finished, reviewed courses to one standard, in Arabic, Russian, English or any language requested, packaged for the LMS it already runs.\",hidden:p=>p.kind!==\"organization\"},sameAs:{type:ControlType.String,title:\"Profiles\",placeholder:\"comma separated URLs\",defaultValue:\"https://www.linkedin.com/company/re-skill-io\",hidden:p=>p.kind!==\"organization\"},appName:{type:ControlType.String,title:\"Product\",defaultValue:\"Re-skill\",hidden:p=>p.kind!==\"software\"},appCategory:{type:ControlType.String,title:\"Category\",defaultValue:\"BusinessApplication\",hidden:p=>p.kind!==\"software\"},priceLow:{type:ControlType.String,title:\"From\",defaultValue:\"0\",hidden:p=>p.kind!==\"software\"},priceCurrency:{type:ControlType.String,title:\"Currency\",defaultValue:\"USD\",hidden:p=>p.kind!==\"software\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"0\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"0\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yNA+BG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,OAAK,eAAe,UAAQ,SAAO,UAAQ,iBAAe,SAAO,UAAQ,cAAY,WAAS,iBAAe,EAC9J,EAAK,EAAQ,EAAQ,EAAE,EAAQ,CAAI,EAAQ,EAAE,GAAG,GAAG,EAAE,EAAM,EAAE,CAAC,EAAE,EAAM,EAAK,KAAK,GAAG,IAAO,eAAe,CAAC,IAAM,GAAO,GAAQ,GAAA,CAAI,MAAM,GAAG,CAAC,CAAC,IAAI,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,OAAO,EAAE,EAAK,CAAC,WAAW,qBAAqB,QAAQ,eAAe,KAAK,EAAQ,IAAI,EAAO,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