PageSourceSearch

https://www.octoparse.fr/_next/static/chunks/pages/console/task/[taskId]/chat-4677537414daf716.js

js octoparse.fr collected 2026-10-04 07:06:37 UTC 12,963 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2887,3343],{25869:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/console/task/[taskId]/chat",function(){return t(23672)}])},22217:function(n,e,t){"use strict";t.d(e,{OO:function(){return v},WU:function(){return u},gO:function(){return o},lH:function(){return h},lh:function(){return c},yU:function(){return i},yo:function(){return m}});var r=t(20571);let i="/console/task/agentic",o="/console/task/agentic",u=2e3,l=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/iu;function a(n){return"".concat("octoparse:agentic-handoff:").concat(n)}function s(n){return l.test(n)}function c(n,e,t,r){let o=n.trim();if(!o||o.length>u)return null;try{let n=null!=r?r:{storage:window.sessionStorage,randomUUID:()=>window.crypto.randomUUID(),now:Date.now},u=n.randomUUID();if(!s(u))return null;let l={prompt:o,createdAt:n.now(),entry:e,journeyId:t};return n.storage.setItem(a(u),JSON.stringify(l)),"".concat(i,"?").concat(new URLSearchParams({handoffId:u}).toString())}catch(n){return null}}function d(n){return"string"==typeof n&&!!n&&n===n.trim()&&n.length<=u}function f(n,e){if(!s(n))return null;try{let t=e.getItem(a(n));if(!t)return null;let r=JSON.parse(t);if(!r||"object"!=typeof r||Array.isArray(r))return null;return r}catch(n){return null}}function h(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),r=f(n,e);if(!r)return null;let{prompt:i,createdAt:o}=r;return!d(i)||"number"!=typeof o||!Number.isFinite(o)||o>t||t-o>18e5?null:i}function m(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),i=f(n,e);if(!i)return{status:"missing"};let{prompt:o,createdAt:u,entry:l,journeyId:a}=i;return d(o)&&"number"==typeof u&&Number.isFinite(u)&&!(u>t)?t-u>18e5?{status:"expired"}:(0,r.Q)(l)&&"string"==typeof a&&a?{status:"ok",entry:l,journeyId:a}:{status:"missing"}:{status:"missing"}}function v(n,e){if(s(n))try{e.removeItem(a(n))}catch(n){}}},15872:function(n,e,t){"use strict";t.d(e,{Li:function(){return l},Ry:function(){return a}});var r=t(11527),i=t(39702),o=t(59255);let u=()=>(0,r.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[(0,r.jsx)("div",{className:"flex h-14 shrink-0 items-center border-border border-b px-4",children:(0,r.jsx)(l,{})}),(0,r.jsx)(o.o,{fillViewport:!0,className:"min-h-0 flex-1",children:(0,r.jsx)(i.N,{})}),(0,r.jsx)(a,{})]});e.ZP=u;let l=()=>(0,r.jsx)("span",{className:"min-w-0 flex-1","aria-hidden":"true",children:(0,r.jsx)("span",{className:"block h-4 w-64 max-w-full animate-pulse rounded bg-muted"})}),a=()=>(0,r.jsx)("div",{className:"mx-auto w-full max-w-[49rem] shrink-0 px-3 pb-4 md:pb-6","aria-hidden":"true",children:(0,r.jsxs)("div",{className:"flex h-[120px] animate-pulse flex-col justify-between rounded-[16px] border border-border-lv3 bg-background p-4 shadow-[0_4px_16px_rgba(0,0,0,0.06)]",children:[(0,r.jsx)("div",{className:"h-4 w-1/2 roun
1ded bg-muted"}),(0,r.jsx)("div",{className:"size-8 self-end rounded-full bg-muted"})]})})},94694:function(n,e,t){"use strict";t.d(e,{Y:function(){return i},h:function(){return o}});var r=t(50959);let i=(0,r.createContext)(null),o=()=>(0,r.useContext)(i)},18592:function(n,e,t){"use strict";let r,i;t.d(e,{DO:function(){return m},eB:function(){return f},o8:function(){return v},wF:function(){return h}});let o=!1,u=null,l=null,a=!1;function s(){u&&r&&u.config({user_unique_id:r})}function c(){if(!u||!i)return;let{sessionId:n,sessionType:e,unifiedSessionId:t}=i;u.config({evtParams:{...n?{sessionId:n}:{},sessionType:e,unifiedSessionId:t}})}async function d(n){if(u)return u;if(l)return l;let e="".concat(window.location.origin,"/api/df");return l=t.e(4790).then(t.bind(t,1141)).then(t=>{let{default:r}=t;return r.init({app_id:n,channel:"cn",channel_domain:e,ab_channel_domain:e,disable_debug:!0,autotrack:{track_attr:"data-track-id"},spa:!0,filter:n=>o?n:null}),r.start(),u=r,s(),c(),r})}function f(n){o=!0,a||(a=!0,document.addEventListener("click",n=>{var e;if(!o||!(n.target instanceof Element)||n.target.hasAttribute("data-track-id"))return;let t=null===(e=n.target.closest("[data-track-id]"))||void 0===e?void 0:e.getAttribute("data-track-id");t&&n.target.setAttribute("data-track-id",t)},!0)),d(n)}function h(){o=!1}function m(n){r!==n&&(r=n,s())}function v(n){((null==i?void 0:i.sessionId)!==n.sessionId||(null==i?void 0:i.sessionType)!==n.sessionType||(null==i?void 0:i.unifiedSessionId)!==n.unifiedSessionId)&&(i=n,c())}},23672:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return b}});var r=t(11527),i=t(15872),o=t(22217),u=t(94694),l=t(18592),a=t(76935),s=t(835),c=t(31263),d=t(48706),f=t(10505),h=t(38150),m=t.n(h),v=t(69864),y=t(50959),p=t(94027);let x=m()(()=>Promise.all([t.e(1631),t.e(1358),t.e(4898),t.e(6327),t.e(9325),t.e(3669),t.e(1249),t.e(9757),t.e(3238)]).then(t.bind(t,66043)),{loadableGenerated:{webpack:()=>[66043]},ssr:!1,loading:()=>(0,r.jsx)(i.ZP,{})}),g=Number("20002122"),w=()=>{var n;let e=(0,v.useRouter)(),{data:t}=(0,c.mA)(),a=e.isReady?e.query.taskId:void 0,h=null===(n=Array.isArray(a)?a[0]:a)||void 0===n?void 0:n.trim();(0,s.iK)(h?{taskId:h}:null);let m=(0,y.useCallback)(()=>void e.push(o.yU),[e]);return(0,y.useEffect)(()=>((0,l.eB)(g),l.wF),[]),(0,y.useEffect)(()=>{(0,l.DO)(null==t?void 0:t.userId)},[null==t?void 0:t.userId]),(0,y.useEffect)(()=>{var n;if(!e.isReady||!h)return;let t=e.query.journeyId,r=null===(n=Array.isArray(t)?t[0]:t)||void 0===n?void 0:n.trim(),i=(0,f.t)(h),o=r||(null==i?void 0:i.journeyId);o&&(0,d.q1)(o,null==i?void 0:i.entry),(0,d.Xq)(h)},[e.isReady,e.query.journeyId,h]),(0,r.jsx)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden",children:(0,r.jsx)("div",{className:"agentic-chat-root flex min-h-0 w-full flex-1 flex-col overflow-clip rounded-16 bg-white",children:(0,r.jsx)(u.Y.Provider,{value:m,children:h?(0,r.jsx)(x,{initialTaskId:h}):(0,r.jsx)(i.ZP,{})})})})};w.consolePage=(0,p.G)({title:"task:TaskList.RightMenu.ContinueChat",parent:"/console/task/task-list",fullHeight:!0}),w.getLayout=n=>(0,a.G)(n,!0);var b=!0;e.default=w},48706:function(n,e,t){"use strict";let r;t.d(e,{Ax:function(){return y},Ay:function(){return v},Vo:function(){return f},Xq:function(){return p},df:function(){return w},fz:function(){return h},q1:function(){return m},xp:function(){return x}});let i="op_ai_journey_id",o="op_ai_journey_entry",u={},l=0,a=!1;function s(n){try{var e;return null!==(e=sessionStorage.getItem(n))&&void 0!==e?e:void 0}catch(n){return}}function c(n,e){try{sessionStorage.setItem(n,e)}catch(n){}}function d(){var n,e;if(a||u.journeyId)return;a=!0;let t=s(i);if(!t)return;let r=s(o);u={...u,journeyId:t,entry:null!==(n=u.entry)&&void 0!==n?n:r,lastEntry:null!==(e=u.lastEntry)&&void 0!==e?e:r}}function f(){return d(),u}function h(n){let e=crypto.randomUUID();return l=0,a=!0,u={...u,journeyId:e,entry:n,lastEntry:n,sessionType:void 0,sessionId:void 0,taskId:void 0},c(i,e),c(o,n),e}function m(n,e){var t;d();let r=u.journeyId===n;r||(l=0),a=!0,u={...u,journeyId:n,entry:null!==(t=u.entry)&&void 0!==t?t:e,lastEntry:null!=e?e:u.lastEntry},c(i,n),u.entry&&c(o,u.entry)}function v(n){var e;d(),u={...u,entry:null!==(e=u.entry)&&void 0!==e?e:n,lastEntry:n}}function y(n,e){u={...u,sessionType:n,sessionId:e}}function p(n){u={...u,taskId:n}}function x(){return l+=1}let g=new Set;function w(n,e){let{journeyId:t}=f();r!==t&&(r=t,g=new Set);let i="".concat(n,":").concat(e);return!g.has(i)&&(g.add(i),!0)}},5265:function(n,e,t){"use strict";t.d(e,{j:function(){return o}});var r=t(61567),i=t(48706);let{track:o}=(0,r.z_)({getContext:()=>(0,i.Vo)()})},20571:function(n,e,t){"use strict";t.d(e,{Q:function(){return i}});let r=["home_hero","home_quick_question","console_overview","agentic_direct","task_list_create","new_chat"];function i(n){return"string"==typeof n&&r.includes(n)}},60053:function(n,e,t){"use strict";t.d(e,{Q:function(){return o}});
1var r=t(11527),i=t(81746);function o({style:n,size:e=16,...t}){return(0,r.jsx)("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...n,width:(0,i.h)(e),height:(0,i.h)(e),display:"block"},...t,children:(0,r.jsx)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}t(50959),o.displayName="@mantine/core/AccordionChevron"},39723:function(n,e,t){"use strict";t.d(e,{U:function(){return p}});var r=t(11527),i=t(91538),o=t(50959),u=t(19198),l=t(76882),a=t(95218),s=t(29151),c=t(10723),d=t(10422),f=t(62605),h=t(27849);function m(n){return n?.current?n.current.scrollHeight:"auto"}let v="undefined"!=typeof window&&window.requestAnimationFrame,y={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},p=(0,c.d5)((n,e)=>{let{children:t,in:c,transitionDuration:p,transitionTimingFunction:x,style:g,onTransitionEnd:w,animateOpacity:b,..._}=(0,l.w)("Collapse",y,n),j=(0,u.rZ)(),k=(0,i.J)(),N=!!j.respectReducedMotion&&k,I=N?0:p,C=function({transitionDuration:n,transitionTimingFunction:e="ease",onTransitionEnd:t=()=>{},opened:r}){let i=(0,o.useRef)(null),u={display:"none",height:0,overflow:"hidden"},[l,a]=(0,o.useState)(r?{}:u),s=n=>{(0,d.flushSync)(()=>a(n))},c=n=>{s(e=>({...e,...n}))};function y(t){let r=n||function(n){if(!n||"string"==typeof n)return 0;let e=n/36;return Math.round((4+15*e**.25+e/5)*10)}(t);return{transition:`height ${r}ms ${e}, opacity ${r}ms ${e}`}}(0,f.l)(()=>{"function"==typeof v&&(r?v(()=>{c({willChange:"height",display:"block",overflow:"hidden"}),v(()=>{let n=m(i);c({...y(n),height:n})})}):v(()=>{let n=m(i);c({...y(n),willChange:"height",height:n}),v(()=>c({height:0,overflow:"hidden"}))}))},[r]);let p=n=>{if(n.target===i.current&&"height"===n.propertyName){if(r){let n=m(i);n===l.height?s({}):c({height:n}),t()}else 0===l.height&&(s(u),t())}};return function({style:n={},refKey:e="ref",...t}={}){let o=t[e];return{"aria-hidden":!r,...t,[e]:(0,h.lq)(i,o),onTransitionEnd:p,style:{boxSizing:"border-box",...n,...l}}}}({opened:c,transitionDuration:I,transitionTimingFunction:x,onTransitionEnd:w});return 0===I?c?(0,r.jsx)(s.x,{..._,children:t}):null:(0,r.jsx)(s.x,{...C({style:{opacity:c||!b?1:0,transition:b?`opacity ${I}ms ${x}`:"none",...(0,a.c)(g,j)},ref:e,..._}),children:t})});p.displayName="@mantine/core/Collapse"},68976:function(n,e,t){"use strict";t.d(e,{O:function(){return p}});var r=t(11527),i=t(12210);t(50959);var o=t(1422),u=t(84817),l=t(76882),a=t(97878),s=t(29151),c=t(19760),d=t(60053),f=t(39723),h=t(68188),m={root:"m_f0824112",description:"m_57492dcc",section:"m_690090b5",label:"m_1f6ac4c4",body:"m_f07af9d2",children:"m_e17b862f",chevron:"m_1fd8a00b"};let v={},y=(0,u.Z)((n,{variant:e,color:t,childrenOffset:r,autoContrast:i})=>{let u=n.variantColorResolver({color:t||n.primaryColor,theme:n,variant:e||"light",autoContrast:i});return{root:{"--nl-bg":t||e?u.background:void 0,"--nl-hover":t||e?u.hover:void 0,"--nl-color":t||e?u.color:void 0},children:{"--nl-offset":(0,o.bG)(r)}}}),p=(0,c.b)((n,e)=>{let t=(0,l.w)("NavLink",v,n),{classNames:o,className:u,style:c,styles:p,unstyled:x,vars:g,opened:w,defaultOpened:b,onChange:_,children:j,onClick:k,active:N,disabled:I,leftSection:C,rightSection:E,label:A,description:S,disableRightSectionRotation:D,noWrap:U,childrenOffset:q,onKeyDown:L,autoContrast:R,mod:O,...P}=t,T=(0,a.y)({name:"NavLink",props:t,classes:m,className:u,style:c,classNames:o,styles:p,unstyled:x,vars:g,varsResolver:y}),[F,$]=(0,i.C)({value:w,defaultValue:b,finalValue:!1,onChange:_}),Z=!!j,G=n=>{k?.(n),Z&&(n.preventDefault(),$(!F))};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.k,{...T("root"),component:"a",ref:e,onClick:G,onKeyDown:n=>{L?.(n),"Space"===n.nativeEvent.code&&Z&&(n.preventDefault(),$(!F))},unstyled:x,mod:[{disabled:I,active:N,expanded:F}
1,O],...P,children:[C&&(0,r.jsx)(s.x,{component:"span",...T("section"),mod:{position:"left"},children:C}),(0,r.jsxs)(s.x,{...T("body"),mod:{"no-wrap":U},children:[(0,r.jsx)(s.x,{component:"span",...T("label"),children:A}),(0,r.jsx)(s.x,{component:"span",mod:{active:N},...T("description"),children:S})]}),(Z||E)&&(0,r.jsx)(s.x,{...T("section"),component:"span",mod:{rotate:F&&!D,position:"right"},children:Z?E||(0,r.jsx)(d.Q,{...T("chevron")}):E})]}),(0,r.jsx)(f.U,{in:F,...T("collapse"),children:(0,r.jsx)("div",{...T("children"),children:j})})]})});p.classes=m,p.displayName="@mantine/core/NavLink"},95218:function(n,e,t){"use strict";t.d(e,{c:function(){return function n(e,t){return Array.isArray(e)?[...e].reduce((e,r)=>({...e,...n(r,t)}),{}):"function"==typeof e?e(t):null==e?{}:e}}})}},function(n){n.O(0,[6841,5989,8827,1460,6678,166,45,4766,4608,7180,6919,835,6935,7664,836,6008,8250,9774,2888,179],function(){return n(n.s=25869)}),_N_E=n.O()}]);

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.