import{w as c,j as i}from"./jsx-runtime-CgWCn3gT.js";import{L as l}from"./legacy-shell-D4JdMu14.js";import{l as p}from"./index-CU7135pm.js";import"./i18nInstance-C_7vXBXC.js";import"./useTranslation-CksCcIr-.js";import"./index-ao6ir_VS.js";import"./preload-helper-BXl3LOEh.js";const n="https://aihubmix.com",d={"@type":"Organization",name:"AIHubMix",url:n},m=["developers","developers/versioning"];function u(t,e){const r=[{name:"AIHubMix",url:n}];return e.parent&&r.push({name:e.parent[0],url:`${n}${e.parent[1]}`}),r.push({name:e.title,url:`${n}/${t}`}),{"@type":"BreadcrumbList","@id":`${n}/${t}#breadcrumb`,itemListElement:r.map((a,o)=>({"@type":"ListItem",position:o+1,name:a.name,item:a.url}))}}function h(t,e){if(!m.includes(t))return null;const r={"@type":t==="developers"?"CollectionPage":"TechArticle","@id":`${n}/${t}#page`,url:`${n}/${t}`,name:e.title,headline:e.title,description:e.description,inLanguage:"en",publisher:d,breadcrumb:{"@id":`${n}/${t}#breadcrumb`},about:{"@type":"SoftwareApplication",name:"AIHubMix API",applicationCategory:"DeveloperApplication",operatingSystem:"Web",url:n}};return t==="developers"&&(r.mainEntity={"@type":"ItemList",name:"AIHubMix developer resources",itemListElement:[{"@type":"APIReference",name:"AIHubMix API documentation",url:"https://docs.aihubmix.com/",description:"API endpoints, request parameters and response formats.",inLanguage:"en"},{"@type":"DigitalDocument",name:"AIHubMix OpenAPI specification",url:`${n}/openapi.json`,encodingFormat:"application/json",description:"OpenAPI 3.1 description of the AIHubMix REST API."},{"@type":"TechArticle",name:"AIHubMix API authentication and agent onboarding",url:`${n}/agents.md`,description:"Self-service key creation, protocols, verification and troubleshooting for automated clients."},{"@type":"TechArticle",name:"AIHubMix API versioning and deprecation policy",url:`${n}/developers/versioning`,description:"Versioned endpoints, model retirement notices, Deprecation and Sunset headers."},{"@type":"DigitalDocument",name:"AIHubMix free-tier limits",url:`${n}/call/free_quota_config`,encodingFormat:"application/json",description:"Live free-model quota configuration enforced by the gateway."}].map((a,o)=>({"@type":"ListItem",position:o+1,item:a}))}),{"@context":"https://schema.org","@graph":[r,u(t,e)]}}function x(t){const e=new RegExp("[\\u2028\\u2029]","g");return JSON.stringify(t).replace(/</g,"\\u003c").replace(e,r=>r.charCodeAt(0)===8232?"\\u2028":"\\u2029")}function v({data:t}){return[{title:t?.page.title||"AIHubMix"},{name:"description",content:t?.page.description},{tagName:"link",rel:"canonical",href:`https://aihubmix.com/${t?.slug}`}]}const $=c(function({loaderData:{page:e,slug:r}}){const a=h(r,e);return i.jsxs(l,{children:[a&&i.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:x(a)}}),i.jsx("style",{dangerouslySetInnerHTML:{__html:p}}),i.jsxs("article",{className:"legal-page",lang:"en",children:[i.jsxs("nav",{className:"legal-breadcrumb","aria-label":"Breadcrumb",children:[i.jsx("a",{href:"/",children:"AIHubMix"}),e.parent&&i.jsx("a",{href:e.parent[1],children:e.parent[0]}),i.jsx("span",{children:e.title})]}),i.jsxs("header",{className:"legal-header",children:[i.jsx("h1",{children:e.title}),i.jsx("p",{children:e.description})]}),i.jsxs("div",{className:"legal-prose",children:[e.sections.map(([o,s])=>i.jsxs("section",{children:[i.jsx("h2",{children:o}),i.jsx("p",{children:s})]},o)),i.jsxs("section",{children:[i.jsx("h2",{children:"Resources"}),i.jsx("ul",{children:e.links.map(([o,s])=>i.jsx("li",{children:i.jsx("a",{href:s,children:o})},s))})]})]})]})]})});export{$ as default,v as meta};
