1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2eb80634-3862-51f2-9c6a-7a568992e196")}catch(e){}}(); 3const u="rounded-[6px]",x="rounded-[8px]",B=u,N=x,p={hair:4,tight:8,group:12,gutter:16,section:24,break:32};[...Object.values(p)];const T="rounded-[14px]",C="px-3 py-2 md:px-4 md:py-2",E="px-3 py-2 md:px-4 md:py-3",m="px-3 pb-2 pt-3 md:px-4 md:pb-2",v="pl-[5px] md:pl-[9px] [@media(pointer:coarse)]:-ml-2",L="pr-[5px] md:pr-[9px] [@media(pointer:coarse)]:-mr-2",P="flex items-center min-h-7 mt-1 chat-meta-reveal [@media(hover:hover)]:opacity-0 [@media(hover:hover)]:group-hover:opacity-100 [@media(hover:hover)]:group-focus-within:opacity-100 [@media(hover:none)]:hidden [@media(hover:none)]:group-data-[meta-revealed=true]:flex",U="text-[16px] md:text-[15px] leading-[1.6]",M="h-[25.6px] md:h-6",A="bg-muted/40 dark:bg-white/[0.06]",_="bg-brand/[0.14] dark:bg-brand/[0.28]",D="w-8 mr-3",w="w-8 h-8",y="max-w-[min(100%,68ch)]",W="max-w-[min(86%,60ch)] md:max-w-[min(72%,60ch)]",X="mx-auto w-full max-w-[760px]",k="px-4",f=p.gutter,$="px-4",b="rounded-[8px]",g=120,F=`relative flex items-end gap-1 bg-card ${b} p-[5px]`,G="h-[34px] w-[34px] rounded-[6px] transition-colors [transition-duration:160ms]",H=`min-h-[34px] max-h-[${g}px] py-[7px] leading-5`,V=`flex-1 border-0 bg-transparent shadow-none focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 px-1 ${H} text-[15px] md:text-[14px] placeholder:text-muted-foreground/45 resize-none overflow-y-hidden text-foreground`,j="flex min-w-0 items-center gap-1 truncate text-[11px] leading-tight text-muted-foreground",K="px-[5px] pb-2",z="space-y-1",R="relative before:pointer-events-none before:absolute before:inset-x-0 before:bottom-full before:h-4 before:bg-gradient-to-t before:to-transparent",q=`${R} bg-background dark:bg-surface-0 before:from-background dark:before:from-surface-0`,J=`max(${f}px, env(safe-area-inset-bottom), var(--sim-disclaimer-clearance, 0px))`,Y="hover:bg-foreground
3/[0.06] hover:text-foreground",Q="text-brand-ink bg-brand/10",Z="relative inline-flex h-8 items-center gap-1 whitespace-nowrap px-2.5 rounded-[6px] border border-border dark:border-hairline text-xs font-medium leading-none transition-colors [transition-duration:160ms]",ee="text-[13px] font-semibold text-foreground/85",te="flex w-full items-center gap-3 h-11 px-3 rounded-[6px] text-[15px] leading-none text-foreground text-left active:bg-muted/60 disabled:opacity-50 disabled:active:bg-transparent",oe="mt-6",se="mt-1",ne="mt-0",l="border-[color:var(--hairline-rule)]",h="grouped",O={grouped:T,"user-only":"rounded-[18px]","both-flat":"rounded-[10px]",cards:"rounded-[12px]"},S={solo:T,first:"rounded-t-[14px]",middle:"rounded-none",last:"rounded-b-[14px]"},I={grouped:{user:_,assistant:A},"user-only":{user:_,assistant:""},"both-flat":{user:_,assistant:A},cards:{user:_,assistant:"bg-card"}};function re({role:n,treatment:o=h,position:a="solo"}){const e=o==="grouped",c=a==="solo"||a==="first",d=I[o][n];if(d==="")return{radius:"",pad:"",fill:"",border:"",bare:!0,className:""};const s=e?S[a]:O[o],t=e&&!c?m:o==="user-only"?E:C,i=o==="cards"?`border ${l}`:e&&!c?`border-t ${l}`:"";return{radius:s,pad:t,fill:d,border:i,bare:!1,className:[t,d,s,i].filter(Boolean).join(" ")}}function ae(n,o){const a=[];let e=[],c=0;const d=()=>{if(e.length===0)return;const r=e.map((s,t)=>({message:s,index:c+t,position:e.length===1?"solo":t===0?"first":t===e.length-1?"last":"middle"}));a.push({key:e[0].id,role:e[0].role,items:r}),e=[]};for(let r=0;r<n.length;r++){const s=n[r],t=e.length>0?e[e.length-1]:void 0;(t===void 0||t.role!==s.role||((o==null?void 0:o(t,s))??!1))&&(d(),c=r),e.push(s)}return d(),a}function de(n){return n instanceof Element?n.closest('button, a, [role="button"]')===null:!0}export{te as A,se as B,D as C,w as D,ee as E,P as F,L as G,v as H,de as I,ae as J,Q as K,Z as L,$ as M,q as N,oe as a,W as b,_ as c,U as d,C as e,T as f,re as g,y as h,ne as i,j,K as k,z as l,F as m,V as n,k as o,J as p,R as q,X as r,B as s,G as t,g as u,A as v,M as w,N as x,Y as y,h as z}; 4 5//# debugId=2eb80634-3862-51f2-9c6a-7a568992e196
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.