PageSourceSearch

https://ark.art/static/js/index-C_fxYRPQ.js

js ark.art collected 2026-10-09 22:54:43 UTC 2,510 bytes, 1 lines download raw bytes

1import{b as e,$ as a,aH as s,R as t,au as n,e8 as o}from"./index-BHKElW5-.js";import{P as l}from"./Panel-BbLGmxDg.js";/* empty css                                                                  */import{_ as i}from"./_plugin-vue_export-helper-BCo6x5W8.js";import{q as r,A as c,B as d,x as m,C as p,u as g,e as u,v,D as _,G as y,H as j,I as h,c as f}from"./runtime-core.esm-bundler-CSn0hs_e.js";import{o as b}from"./index-BM_Q9lVX.js";import"./video-editor-DTVSiof6.js";import"./runtime-dom.esm-bundler-DyrtEVhK.js";import"./konva-BpeUsT-l.js";import"./vueuse-CCQysXvv.js";import"./_commonjsHelpers-HLVOKCDG.js";import"./export-tools-BFBXm_DW.js";import"./floating-ui.dom-B-67nXkj.js";const x={class:"container"},k={class:"label"},A=i({__name:"add",setup:e=>(e,a)=>(r(),c(g(l),{"bg-color":"#121316",class:"project-list-item"},{default:d(()=>[m("div",x,[a[0]||(a[0]=m("div",{class:"icon"},[m("i",{class:"icon-add-project"})],-1)),m("div",k,p(e.$t("myAssetsKnowledgeLibManage")),1)])]),_:1}))},[["__scopeId","data-v-30c55b00"]]),C={class:"knowledge-lib"},w={class:"header"},I={class:"title"},M={class:"agent-list"},P=["onClick"],F={class:"agent-avatar"},H=["src"],L={key:1,class:"default-avatar"},N={class:"agent-name"},$={key:0,class:"empty-content"},q=i({__name:"index",setup(l){const i=e(),c=f([]),d=()=>{b({title:a("components.createAgent")})},x=()=>{return e=this,s=null,t=function*(){try{const e=yield n();if(200===e.code){let a=e.data||[];c.value=a}else o(e.msg||a("ecologyManage.getAgentListFailed"))}catch(e){console.error("Failed to fetch agent list:",e),o(a("ecologyManage.getAgentListFailed"))}},new Promise((a,n)=>{var o=e=>{try{i(t.next(e))}catch(a){n(a)}},l=e=>{try{i(t.throw(e))}catch(a){n(a)}},i=e=>e.done?a(e.value):Promise.resolve(e.value).then(o,l);i((t=t.apply(e,s)).next())});var e,s,t};return u(()=>{x()}),(e,n)=>(r(),v("div",C,[m("div",w,[m("div",I,p(g(a)("ecologyManage.agentManage")),1)]),m("div",M,[_(A,{class:"create-item",onClick:d}),(r(!0),v(y,null,j(c.value,e=>{var a;return r(),v("div",{class:"agent-item",key:e.id,onClick:a=>(e=>{i.push({name:"knowledge-table",params:{agentId:e.agentId}})})(e)},[m("div",F,[e.thumbnail?(r(),v("img",{key:0,src:g(s)(e.thumbnail),alt:"avatar"},null,8,H)):(r(),v("div",L,p(null==(a=e.agentName)?void 0:a.charAt(0)),1))]),m("div",N,p(e.agentName),1)],8,P)}),128)),0===c.value.length?(r(),v("div",$,[_(t,{class:"empty-container",size:"mini",description:"agent.noContent"})])):h("",!0)])]))}},[["__scopeId","data-v-d70fe4fc"]]);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.