PageSourceSearch

https://dash.adtiming.com/p__ai__chat.0642659c.async.js

js adtiming.com collected 2026-10-01 14:41:44 UTC 5,797 bytes, 1 lines download raw bytes

1(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5573],{90141:function(q,I,e){"use strict";var u=e(32059),i=e(11849),V=e(3182),B=e(2824),A=e(94043),w=e.n(A),O=e(63804),$=e.n(O),R=e(43581),L=e(89989),U=e(44038),a=e(5365),W=e(35945),F=e(4052),y=e(2504),N=e(89339),Z=e(2370),G=e(78402),s=e(85893),T=function(c){var S=c.menuShow,E=c.setShowSideBar,C=c.sideBarInfo,_=C===void 0?{}:C,m=_.answer,M=m===void 0?[]:m,D=_.csv_source,f=D===void 0?[]:D,p=(0,R.YB)(),h=(0,O.useState)(0),r=(0,B.Z)(h,2),n=r[0],d=r[1],o=function(){E(0)};return(0,s.jsxs)("div",{className:"metric-conv-side-bar",children:[(0,s.jsxs)("div",{className:"side-bar-header",children:[(0,s.jsxs)("div",{className:"switch-box",children:[(0,s.jsx)("div",{className:n===0?"switch-item active":"switch-item",onClick:function(){return d(0)},children:p.formatMessage({id:"ai.activity"})}),f.length?(0,s.jsxs)("div",{className:n===1?"switch-item active":"switch-item",onClick:function(){return d(1)},children:[f.length,p.formatMessage({id:"ai.file"})]}):""]}),(0,s.jsx)("div",{className:"close-box",onClick:o,children:(0,s.jsx)(L.Z,{type:14,fillColor:"#666666"})})]}),(0,s.jsxs)("div",{className:"side-bar-content",children:[(0,s.jsx)(k,{answer:M,show:n===0}),(0,s.jsx)(b,{csv_source:f,show:n===1})]})]})},k=function(c){var S=c.answer,E=S===void 0?[]:S,C=c.show;return(0,s.jsx)("div",{style:{width:"100%",display:C?"block":"none"},children:E.map(function(_,m){return(0,s.jsxs)("div",{children:[_.tool_name?(0,s.jsx)(U.Z,{tool_name:_.tool_name}):"",_.task_detail?(0,s.jsx)(a.Z,{task_detail:_.task_detail}):"",_.dsl?(0,s.jsx)(W.Z,{dsl:_.dsl}):"",_.csv?(0,s.jsx)(F.Z,{csv:_.csv}):"",_.evaluate?(0,s.jsx)(y.Z,{evaluate:_.evaluate}):""]},m)})})},b=function(c){var S=c.csv_source,E=S===void 0?[]:S,C=c.show,_=(0,O.useState)({}),m=(0,B.Z)(_,2),M=m[0],D=m[1],f=function(){var h=(0,V.Z)(w().mark(function r(n,d,o){var l,P;return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(!d||M[n]===1)){t.next=2;break}return t.abrupt("return");case 2:return D(function(j){return(0,i.Z)((0,i.Z)({},j),{},(0,u.Z)({},n,1))}),t.prev=3,t.next=6,fetch(G.hW+"/file/download?file_path="+d,{method:"POST",headers:{"Content-Type":"application/json"}});case 6:if(l=t.sent,l.ok){t.next=9;break}throw new Error("HTTP error! status: ".concat(l.status));case 9:return t.next=11,l.text();case 11:P=t.sent,p(P,o),t.next=17;break;case 15:t.prev=15,t.t0=t.catch(3);case 17:return t.prev=17,D(function(j){return(0,i.Z)((0,i.Z)({},j),{},(0,u.Z)({},n,2))}),t.finish(17);case 20:case"end":return t.stop()}},r,null,[[3,15,17,20]])}));return function(n,d,o){return h.apply(this,arguments)}}(),p=function(r,n){if(!!r){var d=new Blob([r],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a"),l=URL.createObjectURL(d);o.setAttribute("href",l),o.setAttribute("download",n||"data.csv"),o.style.visibility="hidden",document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(l)}};return(0,s.jsx)("div",{style:{width:"100%",display:C?"block":"none"},children:E.map(function(h,r){return(0,s.jsxs)("div",{className:"side-bar-csv-item",children:[(0,s.jsxs)("div",{className:"left",children:[(0,s.jsx)("div",{className:"icon",children:(0,s.jsx)(N.Z,{})}),(0,s.jsx)("div",{className:"title",children:h.brief})]}),(0,s.jsx)("div",{className:"right",children:(0,s.jsx)("div",{className:"right-btn download",onClick:function(){return f(r,h.filename,h.brief)},children:(0,s.jsx)(Z.Z,{})})})]},r)})})};I.Z=T},78169:function(q,I,e){"use strict";e.r(I);var u=e(2824),i=e(63804),V=e.n(i),B=e(9855),A=e(87009),w=e(60363),O=e(93285),$=e(43581),R=e(51281),L=e(24738),U=e(90141),a=e(85893),W=function(){var y=(0,$.tT)("@@initialState"),N=y.initialState,Z=N||{},G=Z.currentUser,s=(0,i.useState)(!1),T=(0,u.Z)(s,2),k=T[0],b=T[1],x=(0,i.useState)(!1),c=(0,u.Z)(x,2),S=c[0],E=c[1],C=(0,i.useState)(""),_=(0,u.Z)(C,2),m=_[0],M=_[1],D=(0,i.useState)(""),f=(0,u.Z)(D,2),p=f[0],h=f[1],r=(0,i.useState)(0),n=(0,u.Z)(r,2),d=n[0],o=n[1],l=(0,i.useState)({}),P=(0,u.Z)(l,2),K=P[0],t=P[1],j=(0,i.useState)(!0),Y=(0,u.Z)(j,2),v=Y[0],g=Y[1],ee=(0,i.useState)(!1),z=(0,u.Z)(ee,2),se=z[0],J=z[1],Q=function(){M(""),b(!0),h(""),J(!1)};return(0,a.jsxs)("div",{className:"em-chat-container",children:[(0,a.jsx)("div",{className:v?"chat-left-side-bar open":"chat-left-side-bar",children:(0,a.jsx)(B.Z,{menuShow:v,setMenuShow:g,reHistorySwitch:S,setReHistorySwitch:E,currentConvId:m,setCurrentConvId:M,setHistoryCovIdSelected:h,onAddNewChat:Q})}),(0,a.jsxs)("div",{className:v?"chat-main-container menu-open":"chat-main-container",children:[(0,a.jsxs)("div",{className:"em-chat-ai-card",children:[(0,a.jsx)("div",{className:"em-chat-ai-card-header",children:(0,a.jsxs)("div",{className:"card-header-item",children:[(0,a.jsx)("div",{className:"em-show-menu-item",style:{display:v?"none":"flex"},onClick:function(){g(!0)},children:(0,a.jsx)(R.Z,{})}),(0,a.jsx)("div",{className:"em-show-menu-item",style:{display:v?"none":"flex",marginLeft:8},onClick:function(){Q()},children:(0,a.jsx)(L.Z,{fillColor:"#333333"})})]})}),(0,a.jsx)("div",{className:"em-chat-ai-card-content",children:(0,a.jsx)(w.Z,{menuShow:v,refreshSwitch:k,setRefreshSwitch:b,setReHistorySwitch:E,setCurrentConvId:M,historyCovIdSelected:p,setSideBarInfo:t,setShowSideBar:function(X){X&&g(!1),o(X)},showSideBar:d,isShowShare:se,setIsShowShare:J})})]}),(0,a.jsxs)("div",{className:d?"ecac-side-bar ".concat(v?"menu-open":"open"):"ecac-side-bar",children:[(0,a.jsx)("div",{style:{width:"100%",height:"100%",display:d===1?"block":"none"},children:(0,a.jsx)(O.Z,{menuShow:v,setShowSideBar:o,sideBarInfo:K})}),(0,a.jsx)("div",{style:{width:"100%",height:"100%",display:d===3?"block":"none"},children:(0,a.jsx)(U.Z,{menuShow:v,setShowSideBar:o,sideBarInfo:K})})]})]})]})};I.default=(0,A.Z)(W)}}]);

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.