PageSourceSearch

https://spacemit.com/assets/js/SoftwareSDK-DUVmFatt.js

js spacemit.com collected 2026-09-24 20:02:02 UTC 2,295 bytes, 1 lines download raw bytes

1import{P as h}from"./ProductBottomBanner-C30mRP87.js";import{b as S,u as D}from"./vue-router-DvxZXMKK.js";import{u as k}from"./vue-i18n-DB8TWyTj.js";import{_ as K,g as C}from"./index-CKS83R_P.js";import{c,w as p,ab as n,ae as u,ac as t,k as I,ao as i,ap as f,u as _,F as U}from"./vue-core-ChiBto-t.js";import"./antd-vendor-CCWKs8P6.js";import"./utils-vendor-JQb4SikA.js";const A={class:"product-view"},R={class:"header"},y={class:"title"},B={class:"buttons"},x={class:"button-text"},E={class:"button-text"},T={class:"image-container"},$=["src","alt"],L={__name:"SoftwareSDK",setup(N){const l=S(),v=D(),{t:o,locale:m}=k(),g=new Map([["AI-COMPUTER-SDK",{name:"AI Computer SDK",documentUrl:"",resourceUrl:"",image:"https://cdn-resource.spacemit.com/file/officialweb/assets/images/products/sdk/AIComputerSDK.webp",imageEn:"https://cdn-resource.spacemit.com/file/officialweb/assets/images/products/sdk/AIComputerSDK_en.webp"}],["AI-ROBOT-SDK",{name:"AI Robot SDK",documentUrl:"",resourceUrl:"",image:"https://cdn-resource.spacemit.com/file/officialweb/assets/images/products/sdk/AIRobotSDK.webp",imageEn:"https://cdn-resource.spacemit.com/file/officialweb/assets/images/products/sdk/AIRobotSDK_en.webp"}]]),w=c(()=>!!m.value.startsWith("zh")),r=c(()=>String(v.params.sdkType).toUpperCase()),e=c(()=>g.get(r.value));p(r,a=>{document.title=o(`menu.${a.toLowerCase()}`)},{immediate:!0}),p(m,()=>{document.title=o(`menu.${r.value.toLowerCase()}`)});const d=(a,s)=>{s==="document"?l.push({name:"documentInfo",query:{nodepath:a,lang:C()}}):s==="resource"&&l.push({name:"resourcesDownload"})};return(a,s)=>(u(),n(U,null,[t("div",A,[t("div",R,[t("div",y,i(e.value.name),1),t("div",B,[e.value.documentUrl?(u(),n("div",{key:0,class:"button",onClick:s[0]||(s[0]=b=>d(e.value.documentUrl,"document"))},[t("div",x,i(_(o)("products.softwareSDK.relatedDocument")),1)])):f("",!0),e.value.resourceUrl?(u(),n("div",{key:1,class:"button",onClick:s[1]||(s[1]=b=>d(e.value.resourceUrl,"resource"))},[t("div",E,i(_(o)("products.softwareSDK.relatedResource")),1)])):f("",!0)])]),t("div",T,[t("img",{src:w.value?e.value.image:e.value.imageEn||e.value.image,alt:e.value.name,class:"product-image",loading:"lazy"},null,8,$)])]),I(h,{buttonType:"joinus"})],64))}},q=K(L,[["__scopeId","data-v-d04dec56"]]);export{q as default};

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.