1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43848],{1699:(e,r,t)=>{t.d(r,{I:()=>o});var n=t(53757),l=t(24361),i=t(58428),a=t(88684),s=t(95492);function o(e){let{profileUrl:r,avatarUrl:t,cardTitle:o,handle:d,fallback:c,followers:u,following:x,description:m,label:h,unknownUser:f,openXProfileLabel:p}=e,[w,b]=(0,l.useState)(!1),[k,z]=(0,l.useState)(null),g=(0,l.useRef)(null),v=w&&k?(0,n.jsx)("div",{style:{position:"fixed",top:k.top,left:k.left,zIndex:9999,width:280,pointerEvents:"none"},className:"rounded-2xl border border-zinc-200 bg-white px-3 py-3 text-zinc-700 shadow-2xl dark:border-zinc-700 dark:bg-zinc-900 dark:text-zinc-200",children:(0,n.jsxs)("div",{className:"flex items-start gap-3",children:[(0,n.jsx)("div",{className:"h-11 w-11 shrink-0 overflow-hidden rounded-full border border-zinc-200 bg-zinc-100 dark:border-zinc-700 dark:bg-zinc-800",children:t?(0,n.jsx)("img",{src:t,alt:d?`@${d}`:o,className:"h-full w-full object-cover",loading:"lazy",referrerPolicy:"no-referrer",onError:e=>(0,s.$8)(e,{username:d,profileUrl:r??void 0})}):null}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("div",{className:"truncate text-base font-semibold text-zinc-900 dark:text-zinc-50",children:o}),(0,n.jsx)("div",{className:"truncate text-xs font-medium text-zinc-500 dark:text-zinc-400",children:d?`@${d}`:c||"--"}),(0,n.jsxs)("div",{className:"mt-1 flex items-center gap-3 text-[11px] font-semibold text-zinc-600 dark:text-zinc-300",children:[(0,n.jsx)("span",{children:u?`${u} followers`:"-- followers"}),(0,n.jsx)("span",{children:x?`${x} following`:"-- following"})]}),m?(0,n.jsx)("div",{className:"mt-2 line-clamp-3 text-[11px] font-normal leading-relaxed text-zinc-600 dark:text-zinc-300",children:m}):null]})]})}):null;return(0,n.jsxs)("div",{ref:g,className:"w-fit max-w-full",onMouseEnter:()=>{if(g.current){let e=g.current.getBoundingClientRect(),r=window.innerWidth,t=e.left;t+280>r-8&&(t=Math.max(8,r-280-8)),z({top:e.bottom+6,left:t})}b(!0)},onMouseLeave:()=>{b(!1),z(null)},children:[r?(0,n.jsx)("a",{href:r,target:"_blank",rel:"noreferrer",className:"inline-flex max-w-full items-center gap-1 whitespace-pre-wrap break-words rounded-md px-1 py-0.5 text-zinc-600 underline decoration-dotted underline-offset-2 transition hover:text-zinc-900 dark:text-zinc-300 dark:hover:text-zinc-100",title:p,children:(0,n.jsx)(a.h,{text:h||c||f,speedMs:10})}):(0,n.jsx)("div",{className:"whitespace-pre-wrap break-words",children:h||c||f}),"u">typeof document?(0,i.createPortal)(v,document.body):null]})}},33004:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(56059).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},38925:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(56059).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},56059:(e,r,t)=>{t.d(r,{A:()=>o});var n=t(24361);let l=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},i=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,n.forwardRef)((e,r)=>{let{color:t="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:d="",children:c,iconNode:u,...x}=e;return(0,n.createElement)("svg",{ref:r,...a,width:l,height:l,stroke:t,strokeWidth:o?24*Number(s)/Number(l):s,className:i("lucide",d),...!c&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(x)&&{"aria-hidden":"true"},...x},[...u.map(e=>{let[r,t]=e;return(0,n.createElement)(r,t)}),...Array.isArray(c)?c:[c]])}),o=(e,r)=>{let t=(0,n.forwardRef)((t,a)=>{let{className:o,...d}=t;return(0,n.createElement)(s,{ref:a,iconNode:r,className:i(`lucide-${l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...d})});return t.displayName=l(e),t}},57651:(e,r,t)=>{t.d(r,{A:()=>d});var n=t(53757),l=t(38925),i=t(33004),a=t(88684),s=t(1699),o=t(95492);function d(e){let{uiLang:r,loading:t,thinkingLabel:d,progressExpanded:c,setProgressExpandedAction:u,progressLog:x,painPointStream:m,accountStream:h,leadProgressItems:f,chainStage:p,hasSearched:w,chainCompleted:b,canExpandProgress:k}=e;return t||x.length>0||f.length>0||p?(0,n.jsxs)("div",{className:"mx-auto w-full max-w-6xl",children:[t||!b&&w?(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("div",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-zinc-400 dark:bg-zinc-500"}),(0,n.jsx)("div",{className:"truncate whitespace-nowrap text-xs font-semibold text-zinc-600 dark:text-zinc-300",children:d}),k?(0,n.jsx)("button",{type:"button",onClick:()=>u(!c),className:"ml-auto inline-flex items-center gap-1 rounded-md border border-zinc-200 bg-white px-2 py-1 text-[11px] font-semibold text-zinc-500 hover:bg-zinc-50 dark:border-zinc-800 dark:bg-zinc-950 dark:text-zinc-400 dark:hover:bg-zinc-900",children:c?(0,n.jsx)(l.A,{className:"h-3 w-3"}):(0,n.jsx)(i.A,{className:"h-3 w-3"})}):null]}):null,c?(0,n.jsxs)("div",{className:"mt-2 space-y-1 text-xs font-semibold text-zinc-500 dark:text-zinc-400",children:[x.map((e,r)=>(0,n.jsx)("div",{className:"whitespace-pre-wrap break-words key-words",children:e},`${e}-${r}`)),"pain"===p&&m.length>0?(0,n.jsx)("div",{className:"mt-2 space-y-1 text-xs font-semibold text-zinc-500 dark:text-zinc-400",children:m.map((e,r)=>(0,n.jsx)("div",{className:"whitespace-pre-wrap break-words",children:(0,n.jsx)(a.h,{text:e,speedMs:12})},`${e}-${r}`))}):null,h.length>0?(0,n.jsx)("div",{className:"mt-2 space-y-1 text-xs font-semibold text-zinc-500 dark:text-zinc-400",children:h.map(e=>{let t=(e.username??"").toString().replace(/^@+/,"").trim(),l=(e.name??"").toString().trim(),i=[l,t?`@${t}
1`:""].filter(Boolean).join(" \xb7 "),a=(e.twitterUserId??"").toString().trim(),d=(0,o.PC)(e.username,e.twitterUserId),c=(0,o.TW)({profileImageUrl:e.profileImageUrl,username:e.username}),u=(0,o.wk)(e.followersCount),x="number"==typeof e.followingCount&&Number.isFinite(e.followingCount)?e.followingCount:null,m=null===x||0===x&&(Number(e.followersCount)||0)>=50&&(Number(e.tweetCount)||0)>=10?null:x,h=(0,o.wk)(m),f=l||(t?`@${t}`:a||("zh"===r?"æªç¥ç¨æ·":"Unknown User"));return(0,n.jsx)(s.I,{profileUrl:d,avatarUrl:c,cardTitle:f,handle:t,fallback:a,followers:u,following:h,description:e.description??null,label:i,unknownUser:"zh"===r?"æªç¥ç¨æ·":"Unknown User",openXProfileLabel:"zh"===r?"ç¹å»è·³è½¬å° X 主页":"Open X profile"},e.id)})}):null,f.length>0?(0,n.jsx)("div",{className:"mt-2 space-y-2",children:f.map(e=>(0,n.jsxs)("div",{className:"flex items-start gap-2 rounded-xl border border-zinc-200 bg-white px-2.5 py-1.5 text-xs font-semibold text-zinc-700 dark:border-zinc-800 dark:bg-zinc-900/50 dark:text-zinc-200",children:[e.profileUrl?(0,n.jsx)("a",{href:e.profileUrl,target:"_blank",rel:"noreferrer",className:"mt-0.5 inline-flex h-6 w-6 shrink-0 items-center justify-center overflow-hidden rounded-full border border-zinc-300 bg-zinc-100 dark:border-zinc-700 dark:bg-zinc-800",title:e.username?`@${e.username}`:"X è´¦å·",children:e.avatarUrl?(0,n.jsx)("img",{src:e.avatarUrl,alt:e.username?`@${e.username}`:"avatar",className:"h-full w-full object-cover",loading:"lazy",referrerPolicy:"no-referrer",onError:r=>(0,o.$8)(r,{username:e.username,profileUrl:e.profileUrl??void 0})}):(0,n.jsx)("span",{className:"text-[10px] font-bold text-zinc-600 dark:text-zinc-300",children:"@"})}):(0,n.jsx)("span",{className:"mt-0.5 inline-flex h-6 w-6 shrink-0 items-center justify-center overflow-hidden rounded-full border border-zinc-300 bg-zinc-100 text-[10px] font-bold text-zinc-600 dark:border-zinc-700 dark:bg-zinc-800 dark:text-zinc-300",children:"@"}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("div",{className:"whitespace-pre-wrap break-words",children:e.line}),e.sourceTweetUrl?(0,n.jsx)("a",{href:e.sourceTweetUrl,target:"_blank",rel:"noreferrer",className:"block truncate text-[11px] font-normal text-zinc-400 underline decoration-dotted underline-offset-2 transition hover:text-zinc-600 dark:text-zinc-500 dark:hover:text-zinc-300",children:e.sourceTweetText||e.sourceTweetUrl}):null]})]},e.id))}):null]}):null]}):null}},65207:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(56059).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},79428:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(56059).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},88684:(e,r,t)=>{t.d(r,{h:()=>i});var n=t(53757),l=t(24361);function i(e){let{text:r,speedMs:t=14,cursor:i=!0}=e,[a,s]=(0,l.useState)(0);(0,l.useEffect)(()=>{let e=(r??"").toString();if(!e){let e=window.setTimeout(()=>s(0),0);return()=>window.clearTimeout(e)}if(window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches){let r=window.setTimeout(()=>s(e.length),0);return()=>window.clearTimeout(r)}let n=window.setTimeout(()=>s(0),0),l=window.setInterval(()=>{s(r=>r>=e.length?r:r+1)},Math.max(6,Math.floor(t)));return()=>{window.clearTimeout(n),window.clearInterval(l)}},[t,r]);let o=(r??"").toString(),d=a>=o.length;return(0,n.jsxs)("span",{className:"whitespace-pre-wrap break-words",children:[o.slice(0,a),i&&!d?(0,n.jsx)("span",{className:"inline-block w-[0.7ch] animate-pulse",children:"â"}):null]})}}}]);
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.