PageSourceSearch

https://aibossbrainz.vercel.app/_next/static/chunks/20898.ae243164b1707556.js

js aibossbrainz.vercel.app collected 2026-10-03 06:16:51 UTC 2,490 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ac4cbcd3-d0d2-4164-8938-b3bdff50216c",e._sentryDebugIdIdentifier="sentry-dbid-ac4cbcd3-d0d2-4164-8938-b3bdff50216c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20898],{20898:(e,t,a)=>{a.r(t),a.d(t,{MessageEditor:()=>u});var r=a(64942),d=a(5567),s=a(57361),n=a(8921);let l=(0,n.createServerReference)("40875239117c23709caa5418fa90ee05ca964a6c35",n.callServer,void 0,n.findSourceMapURL,"deleteTrailingMessages");var i=a(97878),o=a(12521),c=a(62223);function u(e){let{message:t,setMode:a,setMessages:n,regenerate:u}=e,[f,b]=(0,s.useState)(!1),[x,g]=(0,s.useState)((0,i.JZ)(t)),p=(0,s.useRef)(null),h=(0,s.useCallback)(()=>{p.current&&(p.current.style.height="auto",p.current.style.height="".concat(p.current.scrollHeight+2,"px"))},[]);return(0,s.useEffect)(()=>{p.current&&h()},[h]),(0,r.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,r.jsx)(c.T,{className:"w-full resize-none overflow-hidden rounded-xl bg-transparent text-base! outline-hidden","data-testid":"message-editor",onChange:e=>{g(e.target.value),h()},ref:p,value:x}),(0,r.jsxs)("div",{className:"flex flex-row justify-end gap-2",children:[(0,r.jsx)(o.$,{className:"h-fit px-3 py-2",onClick:()=>{a("view")},variant:"outline",children:"Cancel"}),(0,r.jsx)(o.$,{className:"h-fit px-3 py-2","data-testid":"message-editor-send-button",disabled:f,onClick:async()=>{b(!0),await l({id:t.id});let e=(0,d.$C)();n(a=>{let r=a.findIndex(e=>e.id===t.id);if(-1!==r){let d={...t,id:e,parts:[{type:"text",text:x}]};return[...a.slice(0,r),d]}return a}),a("view"),u()},variant:"default",children:f?"Sending...":"Send"})]})]})}},62223:(e,t,a)=>{a.d(t,{T:()=>n});var r=a(64942),d=a(57361),s=a(97878);let n=d.forwardRef((e,t)=>{let{className:a,...d}=e;return(0,r.jsx)("textarea",{className:(0,s.cn)("flex min-h-[80px] w-full rounded-xl border border-input bg-background px-3 py-2 text-base transition-[box-shadow,border-color] duration-[var(--duration-base)] ease-[var(--ease-out-quart)] placeholder:text-muted-foreground focus-visible:outline-none focus-visible:border-red-400 focus-visible:ring-[3px] focus-visible:ring-red-600/15 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...d})});n.displayName="Textarea"}}]);

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.