PageSourceSearch

https://www.007icu.top/assets/List-CcXCJf3z.js

js 007icu.top collected 2026-10-09 04:35:18 UTC 5,567 bytes, 37 lines download raw bytes

1import{n as e,o as t}from"./rolldown-runtime-CMxvf4Kt.js";import{F as n,L as r}from"../vendor/vendor-data-runtime-nLFaCKB0.js";import{At as i,Bt as a}from"../vendor/vendor-ai-runtime-DrDK77gy.js";import{Ao as o,Oo as s,jo as c,ko as l}from"./app-const-BzFqCjOv.js";import{Do as u,Fn as d,bo as f,to as p,vo as m,wo as h,zn as g}from"./ScrollArea-CdDxdn_v.js";import{Ka as _,Sa as ee,cr as v,fa as y,n as b}from"./es-D7HWafs1.js";import{$p as x,Gg as S,et as C,hm as te,pd as w}from"../vendor/vendor-icons-BXJMWD35.js";import{n as T,t as ne}from"./discover-v4iycg4x.js";import{lr as E,ur as D}from"./index-Doip7UYu.js";import{n as O,t as k}from"./PublishedTime-DqeUpuK1.js";import{n as A,t as j}from"./useWorkspaceAwareNavigate--pLVtz2A.js";import{n as M,t as N}from"./WorkspaceLink-D9rct2St.js";import{n as P,t as F}from"./query-string-DCxvp9QO.js";import{n as I,t as L}from"./useQuery-mrP2tZDa.js";import{n as R,t as z}from"./AssistantEmpty-3L5int0h.js";import{n as B,t as V}from"./profileLink-C1Wc8_dm.js";var H,U,W,G,K=e((()=>{E(),b(),f(),C(),H=t(c()),n(),a(),U=t(o()),W=h(({css:e,cssVar:t})=>({token:e`
2      border-radius: 4px;
3
4      font-family: ${t.fontFamilyCode};
5      font-size: 11px;
6      color: ${t.colorTextSecondary};
7
8      background: ${t.colorFillTertiary};
9    `})),G=(0,H.memo)(({tokenUsage:e,pluginCount:t,knowledgeCount:n,forkCount:a,placement:o=`right`})=>{let{t:s}=r(`discover`);return(0,U.jsxs)(m,{horizontal:!0,align:`center`,gap:4,children:[(0,U.jsx)(g,{placement:o,styles:{root:{pointerEvents:`none`}},title:s(`assistants.tokenUsage`),children:(0,U.jsx)(y,{className:W.token,icon:(0,U.jsx)(p,{icon:x}),children:i(e)})}),!!(a&&a>0)&&(0,U.jsx)(g,{placement:o,styles:{root:{pointerEvents:`none`}},title:s(`fork.forksCount`,{count:a}),children:(0,U.jsx)(y,{className:W.token,icon:(0,U.jsx)(p,{icon:w}),children:i(a)})}),!!(t&&t>0)&&(0,U.jsx)(g,{placement:o,styles:{root:{pointerEvents:`none`}},title:s(`assistants.withPlugin`),children:(0,U.jsx)(y,{icon:(0,U.jsx)(p,{fill:u.colorTextSecondary,icon:D}),children:t})}),!!(n&&n>0)&&(0,U.jsx)(g,{placement:o,styles:{root:{pointerEvents:`none`}},title:s(`assistants.withKnowledge`),children:(0,U.jsx)(y,{icon:(0,U.jsx)(p,{icon:S}),children:n})})]})})})),q,J,Y,X,re=e((()=>{b(),f(),C(),F(),q=t(c()),n(),s(),O(),j(),M(),L(),V(),T(),K(),J=t(o()),Y=h(({css:e,cssVar:t})=>({author:e`
10      cursor: pointer;
11      color: ${t.colorTextDescription};
12
13      &:hover {
14        color: ${t.colorPrimary};
15      }
16    `,code:e`
17      font-family: ${t.fontFamilyCode};
18    `,desc:e`
19      flex: 1;
20      margin: 0 !important;
21      color: ${t.colorTextSecondary};
22    `,footer:e`
23      margin-block-start: 16px;
24      border-block-start: 1px dashed ${t.colorBorder};
25      background: ${t.colorBgContainer};
26    `,secondaryDesc:e`
27      font-size: 12px;
28      color: ${t.colorTextDescription};
29    `,title:e`
30      margin: 0 !important;
31      font-size: 16px !important;
32      font-weight: 500 !important;
33
34      &:hover {
35        color: ${t.colorLink};
36      }
37    `})),X=(0,q.memo)(({createdAt:e,updatedAt:t,author:n,avatar:i,title:a,description:o,category:s,identifier:c,tokenUsage:u,pluginCount:f,knowledgeCount:h,forkCount:g,backgroundColor:v,userName:b,ownerType:x,type:S})=>{let C=A(),{source:w}=I(),T=S===`agent-group`,E=T?`/community/group_agent`:`/community/agent`,D=P.stringifyUrl({query:{source:w},url:l(E,c)},{skipNull:!0}),{t:O}=r(`discover`),j=(0,q.useCallback)(e=>{e.stopPropagation(),b&&window.open(B(b,x),`_blank`,`noopener,noreferrer`)},[x,b]),M=(0,q.useCallback)(()=>{ne.reportAgentEvent({event:`click`,identifier:c,source:location.pathname}).catch(()=>{}),C(D)},[c,D,C]);return(0,J.jsxs)(_,{clickable:!0,"data-agent-type":S??`agent`,"data-testid":`assistant-item`,height:`100%`,variant:`outlined`,width:`100%`,style:{overflow:`hidden`,position:`relative`},onClick:M,children:[T&&(0,J.jsx)(y,{color:`info`,style:{position:`absolute`,right:12,top:12,zIndex:1},children:O(`groupAgents.tag`,{defaultValue:`群组`})}),(0,J.jsx)(m,{horizontal:!0,align:`flex-start`,gap:16,justify:`space-between`,padding:16,style:{paddingRight:T?80:16},width:`100%`,children:(0,J.jsxs)(m,{horizontal:!0,gap:12,title:c,style:{overflow:`hidden`},children:[(0,J.jsx)(ee,{avatar:i,background:v||`transparent`,shape:`square`,size:40,style:{flex:`none`}}),(0,J.jsxs)(m,{flex:1,gap:2,style:{overflow:`hidden`},children:[(0,J.jsx)(m,{horizontal:!0,align:`center`,flex:1,gap:8,style:{overflow:`hidden`},children:(0,J.jsx)(N,{style:{color:`inherit`,overflow:`hidden`},to:D,children:(0,J.jsx)(d,{ellipsis:!0,as:`h2`,className:Y.title,children:a})})}),n&&(0,J.jsx)(`div`,{className:b?Y.author:void 0,style:b?void 0:{color:`inherit`},onClick:b?j:void 0,children:n})]})]})}),(0,J.jsxs)(m,{flex:1,gap:12,paddingInline:16,children:[(0,J.jsx)(d,{as:`p`,className:Y.desc,ellipsis:{rows:3},children:o}),(0,J.jsx)(G,{forkCount:g,knowledgeCount:h,pluginCount:f,tokenUsage:u})]}),(0,J.jsx)(m,{horizontal:!0,align:`center`,className:Y.footer,justify:`space-between`,padding:16,children:(0,J.jsxs)(m,{horizontal:!0,align:`center`,className:Y.secondary
37Desc,justify:`space-between`,children:[(0,J.jsxs)(m,{horizontal:!0,align:`center`,gap:4,children:[(0,J.jsx)(p,{icon:te,size:14}),(0,J.jsx)(k,{className:Y.secondaryDesc,date:t||e,template:`MMM DD, YYYY`})]}),O(`category.assistant.${s}`)]})})]})})})),Z,Q,$,ie=e((()=>{b(),Z=t(c()),R(),re(),Q=t(o()),$=(0,Z.memo)(({data:e=[],rows:t=3})=>e.length===0?(0,Q.jsx)(z,{}):(0,Q.jsx)(v,{rows:t,width:`100%`,children:e.map((e,t)=>(0,Q.jsx)(X,{...e},t))}))}));export{K as i,ie as n,G as r,$ as t};

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.