1"use strict";(self.webpackChunkinnovation_labs=self.webpackChunkinnovation_labs||[]).push([[739],{41108:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>c,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>p});const r=JSON.parse('{"id":"asione/asi-one-overview","title":"ASI:One Developer Platform","description":"ASIOne excels at finding the right AI Agents to help you solve everyday tasks involving language, reasoning, analysis, coding, and more.","source":"@site/docs/asione/overview.md","sourceDirName":"asione","slug":"/asione/asi-one-overview","permalink":"/resources/docs/next/asione/asi-one-overview","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"id":"asi-one-overview","title":"ASI:One Developer Platform","sidebar_label":"Overview"},"sidebar":"tutorialSidebar","previous":{"title":"Card Playground","permalink":"/resources/docs/next/interactive-cards/asi-card-playground"},"next":{"title":"Quickstart","permalink":"/resources/docs/next/asione/asi-one-quickstart"}}');var i=a(74848),s=a(28453),t=a(65537),o=a(79329);const l={id:"asi-one-overview",title:"ASI:One Developer Platform",sidebar_label:"Overview"},d="ASI Developer Platform",c={},p=[{value:"Models",id:"models",level:2},{value:"Key Features",id:"key-features",level:2},{value:"Start Building",id:"start-building",level:2}];function u(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsxs)(n.h1,{id:"asi-developer-platform",children:["ASI",":One"," Developer Platform"]})}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsxs)(n.p,{children:["ASI",":One"," is an intelligent AI platform built by ",(0,i.jsx)(n.a,{href:"https://fetch.ai/",children:"Fetch.ai"}),". ASI",":One"," excels at finding the right ",(0,i.jsx)(n.strong,{children:"AI Agents"})," to help you solve everyday tasks involving language, reasoning, analysis, coding, and more."]}),"\n",(0,i.jsxs)("div",{className:"quickstart-container",children:[(0,i.jsxs)("div",{className:"quickstart-content",children:[(0,i.jsx)("a",{href:"./asi-one-quickstart",className:"quickstart-link",children:(0,i.jsx)("h2",{children:"Developer Quickstart \u2192"})}),(0,i.jsx)("p",{children:(0,i.jsxs)(n.p,{children:["Make your first API request in minutes. Learn the basics of the ASI",":One"," platform."]})})]}),(0,i.jsx)("div",{className:"quickstart-code",children:(0,i.jsxs)(t.A,{groupId:"asione-quickstart-model",children:[(0,i.jsx)(o.A,{value:"asi1",label:"asi1",default:!0,children:(0,i.jsxs)(t.A,{groupId:"asione-quickstart-language",children:[(0,i.jsx)(o.A,{value:"curl",label:"cURL",default:!0,children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'curl -X POST https://api.asi1.ai/v1/chat/completions \\\n -H "Content-Type: application/json" \\\n -H "Authorization: Bearer $ASI_ONE_API_KEY" \\\n -d \'{\n "model": "asi1",\n "messages": [\n {"role": "user", "content": "Help me plan a trip to Tokyo"}\n ]\n }\'\n'})})})})}),(0,i.jsx)(o.A,{value:"python",label:"Python",children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-python",children:'import requests, os\n\nurl = "https://api.asi1.ai/v1/chat/completions"\nheaders = {\n "Content-Type": "application/json",\n "Authorization": f"Bearer {os.getenv(\'ASI_ONE_API_KEY\')}"\n}\ndata = {\n "model": "asi1",\n "messages": [{"role": "user", "content": "Help me plan a trip to Tokyo"}]\n}\n\nprint(requests.post(url, headers=headers, json=data).json())\n'})})})})}),(0,i.jsx)(o.A,{value:"javascript",label:"JavaScript",children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-javascript",children:"import OpenAI from 'openai';\nimport dotenv from 'dotenv';\n\ndotenv.config();\n\nconst client = new OpenAI({\n apiKey: process.env.ASI_ONE_API_KEY,\n baseURL: 'https://api.asi1.ai/v1',\n});
1\n\nconst response = await client.chat.completions.create({\n model: 'asi1',\n messages: [{ role: 'user', content: 'Help me plan a trip to Tokyo' }],\n});\n\nconsole.log(response.choices[0].message.content);\n"})})})})})]})}),(0,i.jsx)(o.A,{value:"asi1-ultra",label:"asi1-ultra",children:(0,i.jsxs)(t.A,{groupId:"asione-quickstart-language",children:[(0,i.jsx)(o.A,{value:"curl",label:"cURL",default:!0,children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'curl -X POST https://api.asi1.ai/v1/chat/completions \\\n -H "Content-Type: application/json" \\\n -H "Authorization: Bearer $ASI_ONE_API_KEY" \\\n -d \'{\n "model": "asi1-ultra",\n "messages": [\n {"role": "user", "content": "Audit this 800-line contract and flag the top five risks"}\n ]\n }\'\n'})})})})}),(0,i.jsx)(o.A,{value:"python",label:"Python",children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-python",children:'import requests, os\n\nurl = "https://api.asi1.ai/v1/chat/completions"\nheaders = {\n "Content-Type": "application/json",\n "Authorization": f"Bearer {os.getenv(\'ASI_ONE_API_KEY\')}"\n}\ndata = {\n "model": "asi1-ultra",\n "messages": [{"role": "user", "content": "Audit this 800-line contract and flag the top five risks"}]\n}\n\nprint(requests.post(url, headers=headers, json=data).json())\n'})})})})}),(0,i.jsx)(o.A,{value:"javascript",label:"JavaScript",children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-javascript",children:"import OpenAI from 'openai';\nimport dotenv from 'dotenv';\n\ndotenv.config();\n\nconst client = new OpenAI({\n apiKey: process.env.ASI_ONE_API_KEY,\n baseURL: 'https://api.asi1.ai/v1',\n});\n\nconst response = await client.chat.completions.create({\n model: 'asi1-ultra',\n messages: [\n { role: 'user', content: 'Audit this 800-line contract and flag the top five risks' },\n ],\n});\n\nconsole.log(response.choices[0].message.content);\n"})})})})})]})}),(0,i.jsx)(o.A,{value:"asi1-mini",label:"asi1-mini",children:(0,i.jsxs)(t.A,{groupId:"asione-quickstart-language",children:[(0,i.jsx)(o.A,{value:"curl",label:"cURL",default:!0,children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:'curl -X POST https://api.asi1.ai/v1/chat/completions \\\n -H "Content-Type: application/json" \\\n -H "Authorization: Bearer $ASI_ONE_API_KEY" \\\n -d \'{\n "model": "asi1-mini",\n "messages": [\n {"role": "user", "content": "Classify this support ticket as billing, bug, or feature request"}\n ]\n }\'\n'})})})})}),(0,i.jsx)(o.A,{value:"python",label:"Python",children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-python",children:'import requests, os\n\nurl = "https://api.asi1.ai/v1/chat/completions"\nheaders = {\n "Content-Type": "application/json",\n "Authorization": f"Bearer {os.getenv(\'ASI_ONE_API_KEY\')}"\n}\ndata = {\n "model": "asi1-mini",\n "messages": [{"role": "user", "content": "Classify this support ticket as billing, bug, or feature request"}]\n}\n\nprint(requests.post(url, headers=headers, json=data).json())\n'})})})})}),(0,i.jsx)(o.A,{value:"javascript",label:"JavaScript",children:(0,i.jsx)("div",{className:"code-wrapper",children:(0,i.jsx)("div",{className:"code-container",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-javascript",children:"import OpenAI from 'openai';\nimport dotenv from 'dotenv';\n\ndotenv.config();\n\nconst client = new OpenAI({\n apiKey: process.env.ASI_ONE_API_KEY,\n baseURL: 'https://api.asi1.ai/v1',\n});
1\n\nconst response = await client.chat.completions.create({\n model: 'asi1-mini',\n messages: [\n { role: 'user', content: 'Classify this support ticket as billing, bug, or feature request' },\n ],\n});\n\nconsole.log(response.choices[0].message.content);\n"})})})})})]})})]})})]}),"\n",(0,i.jsx)(n.h2,{id:"models",children:"Models"}),"\n",(0,i.jsxs)(n.p,{children:["The ASI",":One"," family offers three models that share the same API surface. Pick ",(0,i.jsx)(n.code,{children:"asi1"})," for general workloads, ",(0,i.jsx)(n.code,{children:"asi1-ultra"})," for the deepest reasoning, or ",(0,i.jsx)(n.code,{children:"asi1-mini"})," for the fastest, lightest responses."]}),"\n",(0,i.jsxs)("div",{className:"asione-models-grid",children:[(0,i.jsx)("a",{href:"./models/asi1",className:"asione-model-card-link",children:(0,i.jsxs)("div",{className:"asione-model-card",children:[(0,i.jsxs)("div",{className:"asione-model-card-header",children:[(0,i.jsx)("h3",{children:"asi1"}),(0,i.jsx)("span",{className:"asione-model-card-tag",children:"Adaptive default"})]}),(0,i.jsx)("p",{children:"Balances reasoning depth, speed, and cost. Activates the right capabilities based on your prompt. Start here."}),(0,i.jsx)("div",{className:"asione-model-card-best-for",children:(0,i.jsxs)(n.p,{children:[(0,i.jsx)("strong",{children:"Best for:"})," general agent workflows, chat, tool calling, mixed workloads."]})})]})}),(0,i.jsx)("a",{href:"./models/asi1-ultra",className:"asione-model-card-link",children:(0,i.jsxs)("div",{className:"asione-model-card",children:[(0,i.jsxs)("div",{className:"asione-model-card-header",children:[(0,i.jsx)("h3",{children:"asi1-ultra"}),(0,i.jsx)("span",{className:"asione-model-card-tag",children:"Deepest reasoning"})]}),(0,i.jsx)("p",{children:"Built for long agentic runs, multi-hop research, and complex code or contract analysis. Up to 500 tool calls per turn."}),(0,i.jsx)("div",{className:"asione-model-card-best-for",children:(0,i.jsxs)(n.p,{children:[(0,i.jsx)("strong",{children:"Best for:"})," long-running tasks, deep research, code audits, agent orchestration."]})})]})}),(0,i.jsx)("a",{href:"./models/asi1-mini",className:"asione-model-card-link",children:(0,i.jsxs)("div",{className:"asione-model-card",children:[(0,i.jsxs)("div",{className:"asione-model-card-header",children:[(0,i.jsx)("h3",{children:"asi1-mini"}),(0,i.jsx)("span",{className:"asione-model-card-tag",children:"Fastest, lightest"})]}),(0,i.jsx)("p",{children:"Optimized for low-latency interactive workloads. Same 200K context window as the rest of the family with a smaller cost and response footprint."}),(0,i.jsx)("div",{className:"asione-model-card-best-for",children:(0,i.jsxs)(n.p,{children:[(0,i.jsx)("strong",{children:"Best for:"})," real-time chat, classification, autocomplete, simple tool calls, voice."]})})]})})]}),"\n",(0,i.jsx)(n.h2,{id:"key-features",children:"Key Features"}),"\n",(0,i.jsxs)("div",{className:"key-features-grid",children:[(0,i.jsxs)("div",{className:"key-feature-card",children:[(0,i.jsx)("h3",{children:"Agentic Reasoning"}),(0,i.jsx)("p",{children:(0,i.jsx)(n.p,{children:"ASI1 can autonomously plan, execute, and adapt its approach based on\nevolving inputs and goals."})})]}),(0,i.jsxs)("div",{className:"key-feature-card",children:[(0,i.jsx)("h3",{children:"Natural Language Understanding"}),(0,i.jsx)("p",{children:(0,i.jsx)(n.p,{children:"ASI1 is highly proficient in understanding and generating human-like text\nacross multiple domains."})})]}),(0,i.jsxs)("div",{className:"key-feature-card",children:[(0,i.jsx)("h3",{children:"Multi-Step Task Execution"}),(0,i.jsx)("p",{children:(0,i.jsx)(n.p,{children:"Handle complex, goal-oriented tasks without constant user intervention."})})]}),(0,i.jsxs)("div",{className:"key-feature-card",children:[(0,i.jsx)("h3",{children:"Contextual Memory"}),(0,i.jsx)("p",{children:(0,i.jsx)(n.p,{children:"Retains and utilizes context for longer, more coherent interactions."})})]}),(0,i.jsxs)("div",{className:"key-feature-card",children:[(0,i.jsx)("h3",{children:"API-Driven Integration"}),(0,i.jsx)("p",{children:(0,i.jsx)(n.p,{children:"Easily embed ASI1 into your applications through a simple, powerful API."})})]}),(0,i.jsxs)("div",{className:"key-feature-card",children:[(0,i.jsx)("h3",{children:"Web3 Native"}),(0,i.jsx)("p",{children:(0,i.jsx)(n.p,{children:"Designed from the ground up for decentralized environments and blockchain\ninteractions."})})]})]}),"\n",(0,i.jsx)("style",{children:'\n/* Quickstart container */\n.quickstart-container {\n display: flex;\n flex-direction: row;\n gap: 32px;\n padding: 32px;\n margin: 40px 0;\n background-color: rgba(100, 66, 250, 0.1);\n border: 1px solid #e1e5e9;\n border-radius: 12px;\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);\n width: 100%;\n overflow: hidden;\n}\n\n.quickstart-content {\n flex: 0 0 35%;\n}\n\n.quickstart-link {\n text-decoration: none;\n color: var(--ifm-color-primary);\n}\n\n.quickstart-link h2 {\n margin: 20px 0 40px 0;\n}\n\n.quickstart-content p {\n margin-top: 16px;\n}\n\n.quickstart-code {\n flex: 0 0 65%;\n max-height: 300px;\n overflow: hidden;\n padding: 0 25px;\n}\n\n/* Code wrapper for tabs */\n.code-wrapper {\n max-height: 240px;\n overflow: hidden;\n padding: 0;\n background-color: transparent;\n border-radius: 8px;\n}\n\n.code-container {\n max-height: 240px;\n overflow: auto;\n padding: 16px;\n}\n\n/* Models grid */\n.models-grid {\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n}\n\n.model-card {\n position: relative;\n cursor: pointer;\n display: inline-block;\n width: 100%;\n max-width: 220px;\n margin: 0 auto;\n}\n\n.model-card img {\n width: 100%;\n aspect-ratio: 1 / 1;\n height: auto;\n object-fit: cover;\n display: block;\n border-radius: 8px;\n}\n\n.model-details {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 32px;\n height: 74%;\n padding: 0;\n border-radius: 0;\n background: rgba(0, 0, 0, 0.75);\n color: #fff;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n opacity: 0;\n transition: opacity 0.3s ease;\n}\n\n.model-details h3,\n.model-details p {\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n}\n\n.model-details h3 {\n font-size: 14px;\n margin-bottom: 2px;\n}\n\n.model-details p {\n font-size: 12px;\n margin: 0;\n}\n\n.model-card:hover .model-details {\n opacity: 1;\n}\n\n/* ASI:One models grid */\n.asione-models-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 24px;\n margin: 32px 0;\n}\n\n.asione-model-card-link {\n text-decoration: none !important;\n color: inherit;\n display: block;\n border-bottom: 0 !important;\n}\n\n.asione-model-card {\n height: 100%;\n box-sizing: border-box;\n padding: 24px;\n background-color: var(--fern-color-background-secondary, #f8f9fa);\n border: 1px solid var(--fern-color-border, #e1e5e9);\n border-radius: 12px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);\n color: var(--fern-color-text, #212529);\n transition: transform 0.2s ease, box-shadow 0.2s ease;\n}\n\n.asione-model-card:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);\n}\n\n.asione-model-card-header {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 12px;\n}\n\n.asione-model-card-header h3 {\n margin: 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n}\n\n.asione-model-card-tag {\n font-size: 12px;\n padding: 2px 8px;\n border-radius: 999px;\n background-color: rgba(100, 66, 250, 0.12);\n color: var(--ifm-color-primary, #6442fa);\n}\n\n.asione-model-card p {\n margin: 0 0 16px 0;\n line-height: 1.6;\n}\n\n.asione-model-card-best-for {\n font-size: 14px;\n line-height: 1.6;\n color: var(--fern-color-text-secondary, #6c757d);\n}\n\n.dark .asione-model-card {\n background-color: #1a1a1a !important;\n border-color: #333 !important;
1\n color: #e0e0e0 !important;\n}\n\n.dark .asione-model-card-best-for {\n color: #a0a0a0 !important;\n}\n\n/* Key features grid */\n.key-features-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n gap: 24px;\n margin: 48px 0;\n}\n\n/* Key feature cards */\n.key-feature-card {\n padding: 24px;\n background-color: var(--fern-color-background-secondary, #f8f9fa);\n border: 1px solid var(--fern-color-border, #e1e5e9);\n border-radius: 12px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);\n color: var(--fern-color-text, #212529);\n}\n\n.key-feature-card h3 {\n margin-top: 0;\n margin-bottom: 8px;\n min-height: 48px;\n}\n\n.key-feature-card p {\n margin: 0;\n min-height: 128px;\n}\n\n/* Building cards */\n.building-card {\n min-height: 104px;\n height: 100%;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 16px 18px;\n background-color: var(--fern-color-background-secondary, #f8f9fa);\n border: 1px solid var(--fern-color-border, #e1e5e9);\n border-radius: 12px;\n cursor: pointer;\n transition: all 0.2s ease;
1\n color: inherit;\n text-decoration: none;\n font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";\n line-height: 1.4;\n}\n\n.building-card h3,\n.building-card p {\n font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";\n line-height: 1.4;\n}\n\n.building-card h3 {\n margin: 0 0 4px 0;\n font-size: 16px;\n font-weight: 600;\n color: var(--fern-color-text, #212529);\n}\n\n.building-card p {\n margin: 0;\n font-size: 14px;\n color: var(--fern-color-text-secondary, #6c757d);\n}\n\n.building-card svg {\n width: 40px;\n height: 40px;\n display: block;\n color: currentColor;\n stroke: currentColor;\n}\n\n.building-card > div:first-child {\n width: 48px;\n height: 48px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n color: var(--fern-color-text, #212529);\n opacity: 0.9;\n}\n\n.building-card > div:nth-child(2) {\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n\n.building-card:hover {\n transform: translateY(-2px);\n transition: transform 0.2s ease;\n}\n\n.building-card-link {\n display: block;\n}\n\n/* Start building grid */\n.start-building-grid {\n display: grid;\n grid-template-columns: 1fr;\n grid-auto-rows: 104px;\n gap: 24px;\n margin: 32px 0;\n align-items: stretch;\n}\n\n.start-building-grid a,\n.start-building-grid a:hover,\n.start-building-grid a:focus,\n.start-building-grid a:visited {\n color: inherit;\n text-decoration: none !important;\n border-bottom: 0 !important;\n box-shadow: none !important;\n background-image: none !important;\n}\n\n/* Dark mode support */\n.dark [style*="backgroundColor: \'#f8f9fa\'"] {\n background-color: #1a1a1a !important;\n border-color: #333 !important;\n}\n\n.dark [style*="color: \'#212529\'"] {\n color: #e0e0e0 !important;\n}\n\n.dark [style*="color: \'#6c757d\'"] {\n color: #a0a0a0 !important;\n}\n\n.dark [style*="border: \'1px solid #e1e5e9\'"] {\n border-color: #333 !important;\n}\n\n.dark .key-feature-card {\n background-color: #1a1a1a !important;\n border-color: #333 !important;\n color: #e0e0e0 !important;\n}\n\n.dark .building-card {\n background-color: #1a1a1a !important;\n border-color: #333 !important;\n color: #e0e0e0 !important;\n}
1\n\n.dark .building-card h3 {\n color: #e0e0e0 !important;\n}\n\n.dark .building-card p {\n color: #a0a0a0 !important;\n}\n\n.dark .building-card-icon,\n.dark .building-card > div:first-child {\n color: #ffffff !important;\n opacity: 1;\n}\n\n.dark .building-card svg {\n color: #ffffff !important;\n stroke: #ffffff !important;\n}\n\n/* Responsive styles */\n@media (max-width: 768px) {\n .models-grid {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px;\n }\n .model-card {\n max-width: 100%;\n }\n .model-details h3 {\n font-size: 12px;\n }\n .model-details p {\n font-size: 10px;\n }\n .key-feature-card h3 {\n min-height: auto;\n }\n .key-feature-card p {\n min-height: auto;\n }\n}\n\n@media (min-width: 769px) and (max-width: 1024px) {\n .models-grid {\n grid-template-columns: repeat(3, 1fr);\n }\n .model-card {\n max-width: 200px;\n }\n}\n\n@media (min-width: 1024px) {\n .start-building-grid {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n }\n}\n\n@media (min-width: 1200px) {\n .models-grid {\n grid-template-columns: repeat(5, 1fr);\n }\n}\n'}),"\n",(0,i.jsx)(n.h2,{id:"start-building",children:"Start Building"}),"\n",(0,i.jsxs)("div",{className:"start-building-grid",children:[(0,i.jsx)("a",{href:"./build/chat-completion",className:"building-card-link",children:(0,i.jsxs)("div",{className:"building-card",children:[(0,i.jsx)("div",{className:"building-card-icon",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",children:(0,i.jsx)("path",{d:"M64 104L64 296C64 318.1 81.9 336 104 336L144 336C152.8 336 160 343.2 160 352L160 397.8L218.6 348.9C228.7 340.5 241.3 335.9 254.5 335.9L344 335.9C366.1 335.9 384 318 384 295.9L384 103.9C384 81.8 366.1 63.9 344 63.9L104 64C81.9 64 64 81.9 64 104zM104 32L344 32C383.8 32 416 64.2 416 104L416 296C416 335.8 383.8 368 344 368L254.5 368C248.9 368 243.4 370 239.1 373.6L154.2 444.3C149.4 448.3 142.8 449.1 137.2 446.5C131.6 443.9 128 438.2 128 432L128 368L104 368C64.2 368 32 335.8 32 296L32 104C32 64.2 64.2 32 104 32zM256 422L256 456C256 478.1 273.9 496 296 496L385.5 496C398.6 496 411.3 500.6 421.4 509L480 557.9L480 512.1C480 503.3 487.2 496.1 496 496.1L536 496.1C558.1 496.1 576 478.2 576 456.1L576 264.1C576 242 558.1 224.1 536 224.1L464 224.1L464 192.1L536 192.1C575.8 192.1 608 224.3 608 264.1L608 456.1C608 495.9 575.8 528.1 536 528.1L512 528.1L512 592.1C512 598.3 508.4 604 502.8 606.6C497.2 609.2 490.5 608.4 485.8 604.4L400.9 533.7C396.6 530.1 391.1 528.1 385.5 528.1L296 528C256.2 528 224 495.8 224 456L224 448.6L256 421.9z"})})}),(0,i.jsxs)("div",{className:"building-card-content",children:[(0,i.jsx)("h3",{children:"Chat
1Completion"}),(0,i.jsx)("p",{children:"Use the API to prompt a model and generate text"})]})]})}),(0,i.jsx)("a",{href:"./build/function-calling",className:"building-card-link",children:(0,i.jsxs)("div",{className:"building-card",children:[(0,i.jsx)("div",{className:"building-card-icon",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",children:(0,i.jsx)("path",{d:"M57.4 102.7C52 108.1 51.2 116.5 55.4 122.9L134.6 241.7C140.5 250.6 150.5 255.9 161.2 255.9L233.4 255.9L309.7 332.2C285.1 367.5 288.5 416.4 320 447.9L446.2 574.1C464.9 592.8 495.3 592.8 514.1 574.1L574.2 514C592.9 495.3 592.9 464.9 574.2 446.1L448.1 320C416.6 288.5 367.7 285.1 332.4 309.7L256.1 233.4L256.1 161.2C256.1 150.5 250.8 140.5 241.9 134.6L123 55.3C116.7 51.1 108.2 51.9 102.8 57.3L57.4 102.7zM224.1 224L161.2 224L89.3 116.1L116.2 89.2L224.1 161.1L224.1 224zM551.5 491.3L491.4 551.4C485.2 557.6 475 557.6 468.8 551.4L342.7 425.4C319.9 402.5 319.9 365.5 342.7 342.7C365.5 319.9 402.6 319.9 425.4 342.7L551.5 468.7C557.7 474.9 557.7 485.1 551.5 491.3zM77.2 461.1C49.1 489.2 49.1 534.8 77.2 562.9C105.3 591 150.9 591 179 562.9L274 468C267.2 459.1 261.6 449.5 257.2 439.5L156.4 540.3C140.8 555.9 115.5 555.9 99.8 540.3C84.1 524.7 84.2 499.4 99.8 483.7L246.6 337L224 314.3L77.2 461.1zM288.7 113.9C295.7 123.4 300.5 134.4 302.7 146.1C327.6 115.5 365.6 96 408.1 96C423 96 437.3 98.4 450.7 102.8L388.8 164.7C385.8 167.7 384.1 171.8 384.1 176L384.1 240C384.1 241.9 384.4 243.8 385.1 245.5C402.8 245.6 420.5 249.1 437.2 256L464.2 256C468.4 256 472.5 254.3 475.5 251.3L537.4 189.4C541.8 202.8 544.2 217.1 544.2 232C544.2 264.5 532.8 294.3 513.8 317.7L536.5 340.4C561.3 311.1 576.2 273.3 576.2 232C576.2 203.8 569.3 177.3 557 153.9C554.6 149.4 550.3 146.3 545.2 145.5C540.1 144.7 535.1 146.4 531.5 150L457.6 223.9L416.2 223.9L416.2 182.5L490.1 108.6C493.7 105 495.4 99.9 494.6 94.9C493.8 89.9 490.7 85.5 486.2 83.1C462.8 70.9 436.3 64 408.1 64C361.4 64 319.1 83.1 288.7 113.9z"})})}),(0,i.jsxs)("div",{className:"building-card-content",children:[(0,i.jsx)("h3",{children:"Function Calling"}),(0,i.jsx)("p",{children:"Enable models to use external tools and APIs"})]})]})}),(0,i.jsx)("a",{href:"./build/image-generation",className:"building-card-link",children:(0,i.jsxs)("div",{className:"building-card",children:[(0,i.jsx)("div",{className:"building-card-icon",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",children:(0,i.jsx)("path",{d:"M480 128C497.7 128 512 142.3 512 160L512 480C512 497.7 497.7 512 480 512L160 512C142.3 512 128 497.7 128 480L128 160C128 142.3 142.3 128 160 128L480 128zM160 96C124.7 96 96 124.7 96 160L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 160C544 124.7 515.3 96 480 96L160 96zM224 240C215.2 240 208 232.8 208 224C208 215.2 215.2 208 224 208C232.8 208 240 215.2 240 224C240 232.8 232.8 240 224 240zM176 224C176 250.5 197.5 272 224 272C250.5 272 272 250.5 272 224C272 197.5 250.5 176 224 176C197.5 176 176 197.5 176 224zM345.3 283.7C346.8 281.4 349.3 280 352 280C354.7 280 357.2 281.4 358.7 283.7L446.7 419.7C448.3 422.2 448.4 425.3 447 427.9C445.6 430.5 442.9 432.1 440 432.1L200 432.1C197 432.1 194.3 430.4 192.9 427.8C191.5 425.2 191.7 422 193.4 419.5L249.4 339.5C250.9 337.4 253.3 336.1 256 336.1C258.7 336.1 261.1 337.4 262.6 339.5L273.2 354.7C276.3 359.1 281.3 361.6 286.6 361.5C291.9 361.4 296.8 358.7 299.7 354.2L345.3 283.8zM352 248C338.4 248 325.8 254.9 318.4 266.3L285.5 317.1C278 308.8 267.3 304 255.9 304C242.8 304 230.6 310.4 223.1 321.1L167.1 401.1C158.5 413.3 157.5 429.3 164.4 442.5C171.3 455.7 185.1 464 200 464L440 464C454.7 464 468.1 456 475.1 443.1C482.1 430.2 481.5 414.6 473.5 402.3L385.5 266.3C378.1 254.9 365.5 248 351.9 248z"})})}),(0,i.jsxs)("div",{className:"building-card-content",children:[(0,i.jsx)("h3",{children:"Image Generation"}),(0,i.jsx)("p",{children:"Create images from text descriptions"})]})]})}),(0,i.jsx)("a",{href:"./../agent-communication/agent-chat-protocol",className:"building-card-link",children:(0,i.jsxs)("div",{className:"building-card",children:[(0,i.jsx)("div",{className:"building-card-icon",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",children:(0,i.jsx)("path",{d:"M336 48C336 39.2 328.8 32 320 32C311.2 32 304 39.2 304 48L304 128L192 128C139 128 96 171 96 224L96 448C96 501 139 544 192 544L448 544C501 544 544 501 544 448L544 224C544 171 501 128 448 128L336 128L336 48zM320 160L448 160C483.3 160 512 188.7 512 224L512 448C512 483.3 483.3 512 448 512L192 512C156.7 512 128 483.3 128 448L128 224C128 188.7 156.7 160 192 160L320 160zM192 432C192 440.8 199.2 448 208 448L240 448C248.8 448 256 440.8 256 432C256 423.2 248.8 416 240 416L208 416C199.2 416 192 423.2 192 432zM288 432C288 440.8 295.2 448 304 448L336 448C344.8 448 352 440.8 352 432C352 423.2 344.8 416 336 416L304 416C295.2 416 288 423.2 288 432zM384 432C384 440.8 391.2 448 400 448L432 448C440.8 448 448 440.8 448 432C448 423.2 440.8 416 432 416L400 416C391.2 416 384 423.2 384 432zM272 304C272 321.7 257.7 336 240 336C222.3 336 208 321.7 208 304C208 286.3 222.3 272 240 272C257.7 272 272 286.3 272 304zM240 240C204.7 240 176 268.7 176 304C176 339.3 204.7 368 240 368C275.3 368 304 339.3 304 304C304 268.7 275.3 240 240 240zM400 336C382.3 336 368 321.7 368 304C368 286.3 382.3 272 400 272C417.7 272 432 286.3 432 304C432 321.7 417.7 336 400 336zM336 304C336 339.3 364.7 368 400 368C435.3 368 464 339.3 464 304C464 268.7 435.3 240 400 240C364.7 240 336 268.7 336 304zM64 272C64 263.2 56.8 256 48 256C39.2 256 32 263.2 32 272L32 400C32 408.8 39.2 416 48 416C56.8 416 64 408.8 64 400L64 272zM592 256C583.2 256 576 263.2 576 272L576 400C576 408.8 583.2 416 592 416C600.8 416 608 408.8 608 400L608 272C608 263.2 600.8 256 592 256z"})})}),(0,i.jsxs)("div",{className:"building-card-content",children:[(0,i.jsx)("h3",{children:"Agent Chat Protocol"}),(0,i.jsx)("p",{children:"Enable agents to communicate with each other"})]})]})}),(0,i.jsx)("a",{href:"./build/agentic-llm",className:"building-card-link",children:(0,i.jsxs)("div",{className:"building-card",children:[(0,i.jsx)("div",{className:"building-card-icon",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",children:(0,i.jsx)("path",{d:"M296 120C29
16 106.7 306.7 96 320 96C333.3 96 344 106.7 344 120C344 133.3 333.3 144 320 144C306.7 144 296 133.3 296 120zM336 173.7C359.1 166.8 376 145.4 376 120C376 89.1 350.9 64 320 64C289.1 64 264 89.1 264 120C264 145.4 280.9 166.8 304 173.7L304 266.3C295.4 268.9 287.7 273.4 281.3 279.5L206.5 236.8C212 213.4 201.8 188.2 180 175.6C153.2 160 119 169.2 103.5 196C88 222.8 97.2 257 124 272.5C127.9 274.7 131.9 276.5 136 277.7L136 362.3C131.9 363.5 127.9 365.2 124 367.5C97.2 383 88 417.2 103.5 444C119 470.8 153.2 480 180 464.5C201.9 451.9 212 426.7 206.5 403.2L252.8 376.8C245.9 368.7 240.5 359.3 236.9 349L190.7 375.5C184.2 369.3 176.4 364.9 168 362.4L168 277.7C176.4 275.2 184.2 270.8 190.7 264.6L265.5 307.3C264.5 311.4 264 315.7 264 320C264 345.4 280.9 366.8 304 373.7L304 466.3C280.9 473.2 264 494.6 264 520C264 550.9 289.1 576 320 576C350.9 576 376 550.9 376 520C376 494.6 359.1 473.2 336 466.3L336 373.7C344.6 371.1 352.3 366.6 358.7 360.5L433.5 403.2C428 426.6 438.2 451.8 460 464.4C486.8 479.9 521 470.7 536.5 443.9C552 417.1 542.8 382.9 516 367.4C512.1 365.2 508.1 363.4 504 362.2L504 277.6C508.1 276.4 512.1 274.7 516 272.4C542.8 256.9 552 222.7 536.5 195.9C521 169.1 486.8 160 460 175.5C438.1 188.1 428 213.3 433.4 236.7L387.1 263.1C394 271.2 399.4 280.6 403 290.9L449.2 264.5C455.7 270.7 463.5 275.2 471.9 277.6L471.9 362.3C463.5 364.8 455.7 369.2 449.2 375.4L374.4 332.7C375.4 328.6 375.9 324.3 375.9 320C375.9 294.6 359 273.2 335.9 266.3L335.9 173.7zM476 203.2C487.5 196.6 502.2 200.5 508.8 212C515.4 223.5 511.5 238.2 500 244.8C488.5 251.4 473.8 247.5 467.2 236C460.6 224.5 464.5 209.8 476 203.2zM131.2 212C137.8 200.5 152.5 196.6 164 203.2C175.5 209.8 179.4 224.5 172.8 236C166.2 247.5 151.5 251.4 140 244.8C128.5 238.2 124.6 223.5 131.2 212zM296 520C296 506.7 306.7 496 320 496C333.3 496 344 506.7 344 520C344 533.3 333.3 544 320 544C306.7 544 296 533.3 296 520zM172.8 404C179.4 415.5 175.5 430.2 164 436.8C152.5 443.4 137.8 439.5 131.2 428C124.6 416.5 128.5 401.8 140 395.2C151.5 388.6 166.2 392.5 172.8 404zM476 436.8C464.5 430.2 460.6 415.5 467.2 404C473.8 392.5 488.5 388.6 500 395.2C511.5 401.8 515.4 416.5 508.8 428C502.2 439.5 487.5 443.4 476 436.8zM320 296C333.3 296 344 306.7 344 320C344 333.3 333.3 344 320 344C306.7 344 296 333.3 296 320C296 306.7 306.7 296 320 296z"})})}),(0,i.jsxs)("div",{className:"building-card-content",children:[(0,i.jsx)("h3",{children:"Agentic LLM"}),(0,i.jsx)("p",{children:"Call agents from Agentverse for complex tasks"})]})]})}),(0,i.jsx)("a",{href:"./build/structured-data",className:"building-card-link",children:(0,i.jsxs)("div",{className:"building-card",children:[(0,i.jsx)("div",{className:"building-card-icon",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",children:(0,i.jsx)("path",{d:"M512 480C512 482.4 511 487.4 503.6 494.9C496.1 502.5 483.7 510.8 465.8 518.5C430.1 533.8 378.6 544 320 544C261.4 544 209.9 533.8 174.2 518.5C156.3 510.8 143.9 502.5 136.4 494.9C129 487.4 128 482.4 128 480L128 395.5C145.2 404.4 166.1 411.8 189.2 417.4C226.7 426.6 271.7 431.9 320 431.9C368.3 431.9 413.3 426.6 450.8 417.4C473.9 411.7 494.8 404.4 512 395.5L512 480zM512 267.5L512 358.1C497.5 368.7 474.1 378.7 443.1 386.4C408.4 394.9 366 400 320 400C274 400 231.5 394.9 196.9 386.4C165.9 378.8 142.5 368.7 128 358.1L128 267.5C145.2 276.4 166.1 283.8 189.2 289.4C226.7 298.6 271.7 303.9 320 303.9C368.3 303.9 413.3 298.6 450.8 289.4C473.9 283.7 494.8 276.4 512 267.5zM512 230.1C497.5 240.7 474.1 250.7 443.1 258.4C408.4 266.9 366 272 320 272C274 272 231.5 266.9 196.9 258.4C165.9 250.8 142.5 240.7 128 230.1L128 160C128 157.6 129 152.6 136.4 145.1C143.9 137.5 156.3 129.2 174.2 121.5C209.9 106.2 261.4 96 320 96C378.6 96 430.1 106.2 465.8 121.5C483.7 129.2 496.1 137.5 503.6 145.1C511 152.6 512 157.6 512 160L512 230.1zM544 480L544 160C544 107 443.7 64 320 64C196.3 64 96 107 96 160L96 480C96 533 196.3 576 320 576C443.7 576 544 533 544 480z"})})}),(0,i.jsxs)("div",{className:"building-card-content",children:[(0,i.jsx)("h3",{children:"Structured Data"}),(0,i.jsx)("p",{children:"Get model responses that adhere to a JSON sc
1hema"})]})]})}),(0,i.jsx)("a",{href:"./build/openai-compatibility",className:"building-card-link",children:(0,i.jsxs)("div",{className:"building-card",children:[(0,i.jsx)("div",{className:"building-card-icon",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 640",fill:"currentColor",children:(0,i.jsx)("path",{d:"M260.4 249.8L260.4 201.2C260.4 197.1 261.9 194 265.5 192L363.3 135.7C376.6 128 392.5 124.4 408.9 124.4C470.3 124.4 509.3 172 509.3 222.7C509.3 226.3 509.3 230.4 508.8 234.5L407.3 175.1C401.2 171.5 395 171.5 388.9 175.1L260.4 249.8zM488.7 439.2L488.7 323C488.7 315.8 485.6 310.7 479.5 307.1L351 232.4L393 208.3C396.6 206.3 399.7 206.3 403.2 208.3L501 264.7C529.2 281.1 548.1 315.9 548.1 349.7C548.1 388.6 525.1 424.5 488.7 439.3L488.7 439.3zM230.2 336.8L188.2 312.2C184.6 310.2 183.1 307.1 183.1 303L183.1 190.4C183.1 135.6 225.1 94.1 281.9 94.1C303.4 94.1 323.4 101.3 340.3 114.1L239.4 172.5C233.3 176.1 230.2 181.2 230.2 188.4L230.2 336.9L230.2 336.9zM320.6 389L260.4 355.2L260.4 283.5L320.6 249.7L380.8 283.5L380.8 355.2L320.6 389zM359.3 544.7C337.8 544.7 317.8 537.5 300.9 524.7L401.8 466.3C407.9 462.7 411 457.6 411 450.4L411 301.9L453.5 326.5C457.1 328.5 458.6 331.6 458.6 335.7L458.6 448.3C458.6 503.1 416.1 544.6 359.3 544.6L359.3 544.6zM237.8 430.5L140.1 374.2C111.9 357.8 93 323 93 289.2C93 249.8 116.6 214.4 152.9 199.6L152.9 316.3C152.9 323.5 156 328.6 162.1 332.2L290.1 406.4L248.1 430.5C244.5 432.5 241.4 432.5 237.9 430.5zM232.2 514.5C174.3 514.5 131.8 471 131.8 417.2C131.8 413.1 132.3 409 132.8 404.9L233.7 463.3C239.8 466.9 246 466.9 252.1 463.3L380.6 389.1L380.6 437.7C380.6 441.8 379.1 444.9 375.5 446.9L277.7 503.2C264.4 510.9 248.5 514.5 232.1 514.5L232.1 514.5zM359.2 575.4C421.2 575.4 472.9 531.4 484.6 473C541.9 458.1 578.8 404.4 578.8 349.6C578.8 313.8 563.4 278.9 535.8 253.9C538.4 243.1 539.9 232.4 539.9 221.6C539.9 148.4 480.5 93.6 411.9 93.6C398.1 93.6 384.8 95.6 371.5 100.3C348.5 77.8 316.7 63.4 281.9 63.4C219.9 63.4 168.2 107.4 156.5 165.8C99.2 180.6 62.3 234.4 62.3 289.2C62.3 325 77.7 359.9 105.3 384.9C102.7 395.7 101.2 406.4 101.2 417.2C101.2 490.4 160.6 545.2 229.2 545.2C243 545.2 256.3 543.2 269.6 538.5C292.6 561 324.4 575.4 359.2 575.4z"})})}),(0,i.jsxs)("div",{className:"building-card-content",children:[(0,i.jsx)("h3",{children:"OpenAI Compatibility"}),(0,i.jsxs)("p",{children:["Use OpenAI SDK with ASI",":One"]})]})]})})]})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},79329:(e,n,a)=>{a.d(n,{A:()=>t});a(96540);var r=a(34164);const i={tabItem:"tabItem_Ymn6"};var s=a(74848);function t({children:e,hidden:n,className:a}){return(0,s.jsx)("div",{role:"tabpanel",className:(0,r.A)(i.tabItem,a),hidden:n,children:e})}},65537:(e,n,a)=>{a.d(n,{A:()=>L});var r=a(96540),i=a(34164),s=a(65627),t=a(56347),o=a(50372),l=a(30604),d=a(11861),c=a(78749);function p(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function u(e){const{values:n,children:a}=e;return(0,r.useMemo)((()=>{const e=n??function(e){return p(e).map((({props:{value:e,label:n,attributes:a,default:r}})=>({value:e,label:n,attributes:a,default:r})))}(a);return function(e){const n=(0,d.XI)(e,((e,n)=>e.value===n.value));if(n.length>0)throw new Error(`Docusaurus error: Duplicate values "${n.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[n,a])}function h({value:e,tabValues:n}){return n.some((n=>n.value===e))}function m({queryString:e=!1,groupId:n}){const a=(0,t.W6)(),i=function({queryString:e=!1,groupId:n}){if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:e,groupId:n});return[(0,l.aZ)(i),(0,r.useCallback)((e=>{if(!i)return;const n=new URLSearchParams(a.location.search);n.set(i,e),a.replace({...a.location,search:n.toString()})}),[i,a])]}function g(e){const{defaultValue:n,queryString:a=!1,groupId:i}=e,s=u(e),[t,l]=(0,r.useState)((()=>function({defaultValue:e,tabValues:n}){if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!h({value:e,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}const a=n.find((e=>e.default))??n[0];if(!a)throw new Error("Unexpected error: 0 tabValues");return a.value}({defaultValue:n,tabValues:s}))),[d,p]=m({queryString:a,groupId:i}),[g,x]=function({groupId:e}){const n=function(e){return e?`docusaurus.tab.${e}`:null}(e),[a,i]=(0,c.Dv)(n);return[a,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:i}),C=(()=>{const e=d??g;return h({value:e,tabValues:s})?e:null})();(0,o.A)((()=>{C&&l(C)}),[C]);return{selectedValue:t,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:s}))throw new Error(`Can't select invalid tab value=${e}`);l(e),p(e),x(e)}),[p,x,s]),tabValues:s}}var x=a(9136);const C={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var f=a(74848);function v({className:e,block:n,selectedValue:a,selectValue:r,tabValues:t}){const o=[],{blockElementScrollPositionUntilNextRender:l}=(0,s.a_)(),d=e=>{const n=e.currentTarget,i=o.indexOf(n),s=t[i].value;s!==a&&(l(n),r(s))},c=e=>{let n=null;switch(e.key){case"Enter":d(e);break;case"ArrowRight":{const a=o.indexOf(e.currentTarget)+1;n=o[a]??o[0];break}case"ArrowLeft":{const a=o.indexOf(e.currentTarget)-1;n=o[a]??o[o.length-1];break}}n?.focus()};return(0,f.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.A)("tabs",{"tabs--block":n},e),children:t.map((({value:e,label:n,attributes:r})=>(0,f.jsx)("li",{role:"tab",tabIndex:a===e?0:-1,"aria-selected":a===e,ref:e=>{o.push(e)},onKeyDown:c,onClick:d,...r,className:(0,i.A)("tabs__item",C.tabItem,r?.className,{"tabs__item--active":a===e}),children:n??e},e)))})}function b({lazy:e,children:n,selectedValue:a}
1){const s=(Array.isArray(n)?n:[n]).filter(Boolean);if(e){const e=s.find((e=>e.props.value===a));return e?(0,r.cloneElement)(e,{className:(0,i.A)("margin-top--md",e.props.className)}):null}return(0,f.jsx)("div",{className:"margin-top--md",children:s.map(((e,n)=>(0,r.cloneElement)(e,{key:n,hidden:e.props.value!==a})))})}function j(e){const n=g(e);return(0,f.jsxs)("div",{className:(0,i.A)("tabs-container",C.tabList),children:[(0,f.jsx)(v,{...n,...e}),(0,f.jsx)(b,{...n,...e})]})}function L(e){const n=(0,x.A)();return(0,f.jsx)(j,{...e,children:p(e.children)},String(n))}},28453:(e,n,a)=>{a.d(n,{R:()=>t,x:()=>o});var r=a(96540);const i={},s=r.createContext(i);function t(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.