1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5376],{55376:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var s=n(73609),a=n(11527),i=n(50959),o=n(32362),l=n(25376),r=n(37110),c=n(15890),d=n(75600),u=n(35828);let h=e=>{let{children:t,isReasoning:n}=e,{colors:h,translations:g}=(0,o.T)(),[x,m]=(0,i.useState)(-1),[p,f]=(0,i.useState)(!1),v=(0,l.X)(),{isHover:j}=v,b=(0,s._)(v,["isHover"]);return(0,i.useEffect)(()=>{let e=null;return n?(m(0),e=setInterval(()=>{m(e=>e+1)},1e3)):(e&&clearInterval(e),f(!1)),()=>{e&&clearInterval(e)}},[n]),(0,a.jsxs)(r.E.div,Object.assign({className:"flex flex-col mb-2",initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,ease:"easeInOut"}},{children:[(0,a.jsxs)("div",Object.assign({className:"flex flex-row gap-2 items-center"},{children:[(0,a.jsx)("div",Object.assign({className:"text-sm",style:{color:h.text+"80"}},{children:n?(null==g?void 0:g.thinking)||"Thinking...":x>=0?"".concat((null==g?void 0:g["thought-for"])||"Thought for"," ").concat(x," ").concat((null==g?void 0:g.seconds)||"seconds"):(null==g?void 0:g.thought)||"Thought"})),(0,a.jsx)("button",Object.assign({className:"rounded-full cursor-pointer outline-none text-c-secondary transition-colors duration-300",style:{backgroundColor:p||j?h.secondary+"80":"transparent"},onClick:()=>{f(!p)}},b,{children:(0,a.jsx)(p?u.Z:d.Z,{className:"w-3 h-3 shrink-0"})}))]})),(0,a.jsx)(c.M,Object.assign({initial:!1},{children:p&&(0,a.jsx)(r.E.div,Object.assign({className:"flex flex-col pl-3 text-sm",style:{color:h.text+"80",borderLeftColor:h.secondary+"80"},initial:"collapsed",animate:"expanded",exit:"collapsed",variants:{collapsed:{height:0,opacity:0,marginTop:0,marginBottom:0},expanded:{height:"auto",opacity:1,marginTop:"1rem",marginBottom:0}},transition:{duration:.2,ease:"easeInOut"}},{children:t}),"reasoning")}))]}))}}}]);
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.