PageSourceSearch

https://helper-pocket.vercel.app/_next/static/chunks/4275.e9d23eb3898976b9.js

js helper-pocket.vercel.app collected 2026-10-03 07:04:50 UTC 19,052 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4275],{1657:(e,t,s)=>{s.d(t,{E:()=>i});var r=s(49765),a=s(94876);s(17537);var n=s(46407);let l=(0,a.F)("inline-flex h-5 items-center whitespace-nowrap rounded px-2 uppercase tracking-wide transition-colors focus:outline-hidden",{variants:{variant:{default:"text-foreground bg-secondary",dark:"text-primary-foreground bg-primary",bright:"text-bright-foreground bg-bright",success:"text-success-foreground bg-success","success-light":"text-success bg-success/10",destructive:"text-destructive-foreground bg-destructive",gray:"text-muted-foreground bg-muted/80"},size:{default:"text-xxs"}},defaultVariants:{variant:"default",size:"default"}});function i(e){let{className:t,variant:s,size:a,...i}=e;return(0,r.jsx)("div",{className:(0,n.cn)(l({variant:s,size:a}),t),...i})}},10080:(e,t,s)=>{s.d(t,{d:()=>l});var r=s(49765),a=s(74161);s(17537);var n=s(46407);let l=e=>{let{className:t,ref:s,...l}=e;return(0,r.jsx)(a.bL,{className:(0,n.cn)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-bright data-[state=unchecked]:bg-border",t),...l,ref:s,children:(0,r.jsx)(a.zi,{className:(0,n.cn)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})})};l.displayName=a.bL.displayName},30626:(e,t,s)=>{s.d(t,{Label:()=>o});var r=s(49765),a=s(73187),n=s(94876);s(17537);var l=s(46407);let i=(0,n.F)("mb-1 block text-sm border-border focus:border-transparent focus:outline-hidden focus:ring-muted-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)(a.b,{ref:s,className:(0,l.cn)(i(),t),...n})};o.displayName=a.b.displayName},36680:(e,t,s)=>{s.d(t,{Cf:()=>u,Es:()=>x,L3:()=>h,c7:()=>m,lG:()=>i,rr:()=>p,zM:()=>o});var r=s(49765),a=s(3707),n=s(80937);s(17537);var l=s(46407);let i=a.bL,o=a.l9,d=a.ZL;a.bm;let c=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)(a.hJ,{ref:s,className:(0,l.cn)("fixed inset-0 z-50 bg-black/60  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n})};c.displayName=a.hJ.displayName;let u=e=>{let{className:t,children:s,ref:i,...o}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(c,{}),(0,r.jsxs)(a.UC,{ref:i,translate:"no",className:(0,l.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",t),...o,children:[s,(0,r.jsxs)(a.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(n.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})};u.displayName=a.UC.displayName;let m=e=>{let{className:t,...s}=e;return(0,r.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};m.displayName="DialogHeader";let x=e=>{let{className:t,...s}=e;return(0,r.jsx)("div",{className:(0,l.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};x.displayName="DialogFooter";let h=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)(a.hE,{ref:s,className:(0,l.cn)("text-lg leading-none tracking-tight",t),...n})};h.displayName=a.hE.displayName;let p=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)(a.VY,{ref:s,className:(0,l.cn)("text-sm text-muted-foreground",t),...n})};p.displayName=a.VY.displayName},45728:(e,t,s)=>{s.d(t,{y:()=>o});var r=s(49765),a=s(12375),n=s(75361),l=s(80937),i=s(46407);function o(e){let{state:t,className:s}=e;return"idle"===t?null:(0,r.jsxs)("div",{className:(0,i.cn)("flex items-center gap-1 px-1.5 py-0.5 rounded text-xs font-medium transition-all duration-200",{"text-muted-foreground":"saving"===t||"saved"===t,"bg-destructive/10 text-destructive border border-destructive/20":"error"===t},s),children:["saving"===t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.A,{className:"h-2.5 w-2.5 animate-spin"}),(0,r.jsx)("span",{children:"Saving..."})]}),"saved"===t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.A,{className:"h-2.5 w-2.5"}),(0,r.jsx)("span",{children:"Saved"})]}),"error"===t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.A,{className:"h-2.5 w-2.5"}),(0,r.jsx)("span",{children:"Error"})]})]})}},71812:(e,t,s)=>{s.d(t,{A0:()=>l,BF:()=>i,Gg:()=>o,Hj:()=>d,XI:()=>n,nA:()=>u,nd:()=>c});var r=s(49765);s(17537);var a=s(46407);let n=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)("div",{className:"relative w-full overflow-auto",children:(0,r.jsx)("table",{ref:s,className:(0,a.cn)("w-full caption-bottom text-sm",t),...n})})};n.displayName="Table";let l=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)("thead",{ref:s,className:(0,a.cn)("[&_tr]:border-b",t),...n})};l.displayName="TableHeader";let i=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)("tbody",{ref:s,className:(0,a.cn)("[&_tr:last-child]:border-0",t),...n})};i.displayName="TableBody";let o=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)("tfoot",{ref:s,className:(0,a.cn)("border-t bg-muted/50 font-medium last:[&>tr]:border-b-0",t),...n})};o.displayName="TableFooter";let d=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)("tr",{ref:s,className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...n})};d.displayName="TableRow";let c=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)("th",{ref:s,className:(0,a.cn)("h-12 px-4 text-left align-middle text-xs font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...n})};c.displayName="TableHead";let u=e=>{let{className:t,ref:s,...n}=e;return(0,r.jsx)("td",{ref:s,className:(0,a.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...n})};u.displayName="TableCell"},72920:(e,t,s)=>{s.d(t,{A:()=>c,r:()=>d});var r=s(49765),a=s(17537),n=s(1657),l=s(10080),i=s(46407);let o=e=>{let{title:t,description:s,fullWidth:a,className:n,action:l,children:o}=e;return(0,r.jsxs)("section",{className:"flex flex-col gap-4 border-b py-8 first:pt-4 lg:flex-row",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col gap-3 lg:max-w-xs",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col gap-1",children:[(0,r.jsx)("h2",{className:"text-base flex items-center gap-2",children:t}),(0,r.jsx)("div",{className:"w-full text-sm text-muted-foreground",children:s})]}),l]}),(0,r.jsx)("div",{className:(0,i.cn)("grow",!a&&"max-w-xl",n),children:o})]})},d=e=>{let{title:t,description:s,fullWidth:i,initialSwitchChecked:d,onSwitchChange:c,className:u,children:m}=e,[x,h]=(0,a.useState)(d);return(0,r.jsx)(o,{title:(0,r.jsxs)(r.Fragment,{children:[t,(0,r.jsx)(n.E,{variant:x?"dark":"default",children:x?"On":"Off"})]}),description:s,fullWidth:i,className:u,action:(0,r.jsx)(l.d,{"aria-label":"".concat(t," Switch"),checked:x,onCheckedChange:e=>{h(e),c&&c(e)}}),children:m})},c=o},74460:(e,t,s)=>{s.d(t,{D:()=>a});var r=s(17537);function a(){let[e,t]=(0,r.useState)("idle"),s=(0,r.useRef)(null);return(0,r.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),{state:e,setState:e=>{s.current&&(clearTimeout(s.current),s.current=null),t(e),"saved"===e&&(s.current=setTimeout(()=>t("idle"),2e3))},reset:()=>{s.current&&(clearTimeout(s.current),s.current=null),t("idle")}}}},79503:(e,t,s)=>{s.d(t,{L:()=>a});var r=s(26885);let a=function(){let{target:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e?document.getElementById(e):null,s=null==t?void 0:t.getBoundingClientRect(),a=s?{x:(s.left+s.width/2)/window.innerWidth,y:(s.top+s.height/2)/window.innerHeight}:{y:.7,x:.5};(0,r.A)({origin:a,particleCount:150,spread:100,disableForReducedMotion:!0,scalar:.6})}},84275:(e,t,s)=>{s.r(t),s.d(t,{default:()=>R});var r=s(49765),a=s(21724),n=s(38624),l=s(74460),i=s(45728),o=s(92961),d=s(72920);let c=()=>{var e,t,s;let{user:c}=null!=(t=(0,a.w)())?t:{},u=(0,l.D)(),m=o.F.useUtils(),{mutate:x}=o.F.user.update.useMutation({onSuccess:()=>{m.user.currentUser.invalidate(),u.setState("saved")},onError:e=>{u.setState("error"),n.oR.error("Error updating preferences",{description:e.message})}});return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute top-2 right-4 z-10",children:(0,r.jsx)(i.y,{state:u.state})}),(0,r.jsx)(d.r,{title:"Auto-assign on reply",description:"Automatically assign unassigned conversations to yourself when replying",initialSwitchChecked:null!=(s=null==c||null==(e=c.preferences)?void 0:e.autoAssignOnReply)&&s,onSwitchChange:e=>{u.setState("saving"),x({preferences:{autoAssignOnReply:e}})},children:(0,r.jsx)(r.Fragment,{})})]})};var u=s(17537),m=s(79503),x=s(30248);let h=()=>{var e,t,s;let{user:c}=null!=(t=(0,a.w)())?t:{},[h,p]=(0,u.useState)(null!=(s=null==c||null==(e=c.preferences)?void 0:e.confetti)&&s),f=(0,l.D)(),g=o.F.useUtils(),{mutate:v}=o.F.user.update.useMutation({onSuccess:()=>{g.user.currentUser.invalidate(),f.setState("saved")},onError:e=>{f.setState("error"),n.oR.error("Error updating preferences",{description:e.message})}});return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute top-2 right-4 z-10",children:(0,r.jsx)(i.y,{state:f.state})}),(0,r.jsx)(d.r,{title:"Confetti Settings",description:"Enable full-page confetti animation when closing a ticket",initialSwitchChecked:h,onSwitchChange:e=>{p(e),f.setState("saving"),v({preferences:{confetti:e}})},children:h&&(0,r.jsx)(x.$,{onClick:()=>{(0,m.L)()},children:"Test Confetti"})})]})},p=()=>{var e,t,s;let{user:c}=null!=(t=(0,a.w)())?t:{},u=(0,l.D)(),m=o.F.useUtils(),{mutate:x}=o.F.user.update.useMutation({onSuccess:()=>{m.user.currentUser.invalidate(),u.setState("saved")},onError:e=>{u.setState("error"),n.oR.error("Error updating preferences",{description:e.message})}});return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute top-2 right-4 z-10",children:(0,r.jsx)(i.y,{state:u.state})}),(0,r.jsx)(d.r,{title:"Disable keyboard shortcuts",description:"Turn off dashboard keyboard shortcuts for your account, including inbox navigation and reply-composer hotkeys.",initialSwitchChecked:null!=(s=null==c||null==(e=c.preferences)?void 0:e.disableKeyboardShortcuts)&&s,onSwitchChange:e=>{u.setState("saving"),x({preferences:{disableKeyboardShortcuts:e}})},children:(0,r.jsx)(r.Fragment,{})})]})};var f=s(15603),g=s(16862),v=s(11692),b=s(36680),j=s(5124),y=s(30626),N=s(10080),w=s(71812),S=s(89242);let k=e=>{var t,s;let{footer:a,open:l,onOpenChange:i}=e,[d,c]=(0,u.useState)(null!=(t=null==a?void 0:a.name)?t:""),[m,h]=(0,u.useState)(null!=(s=null==a?void 0:a.content)?s:""),p=o.F.useUtils();(0,u.useEffect)(()=>{var e,t;c(null!=(e=null==a?void 0:a.name)?e:""),h(null!=(t=null==a?void 0:a.content)?t:"")},[a,l]);let f=async e=>
1{await p.mailbox.emailFooters.list.invalidate(),n.oR.success(e),i(!1)},g=o.F.mailbox.emailFooters.create.useMutation({onSuccess:()=>f("Email footer created"),onError:e=>n.oR.error("Could not create footer",{description:e.message})}),v=o.F.mailbox.emailFooters.update.useMutation({onSuccess:()=>f("Email footer updated"),onError:e=>n.oR.error("Could not update footer",{description:e.message})}),N=g.isPending||v.isPending;return(0,r.jsx)(b.lG,{open:l,onOpenChange:i,children:(0,r.jsx)(b.Cf,{children:(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),a?v.mutate({id:a.id,name:d,content:m}):g.mutate({name:d,content:m})},className:"space-y-5",children:[(0,r.jsxs)(b.c7,{children:[(0,r.jsx)(b.L3,{children:a?"Edit email footer":"Add email footer"}),(0,r.jsx)(b.rr,{children:"Use Markdown for links and emphasis. One active footer is selected automatically for each reply."})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(y.Label,{htmlFor:"email-footer-name",children:"Name"}),(0,r.jsx)(j.p,{id:"email-footer-name",value:d,onChange:e=>c(e.target.value),placeholder:"Referral footer",maxLength:100,required:!0})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(y.Label,{htmlFor:"email-footer-content",children:"Footer content"}),(0,r.jsx)(S.T,{id:"email-footer-content",value:m,onChange:e=>h(e.target.value),placeholder:"Love Pocket? **[Refer](https://example.com)** a friend \uD83E\uDD1D",rows:5,maxLength:2e3,required:!0})]}),(0,r.jsxs)(b.Es,{children:[(0,r.jsx)(x.$,{type:"button",variant:"outlined_subtle",onClick:()=>i(!1),children:"Cancel"}),(0,r.jsx)(x.$,{type:"submit",disabled:N||!d.trim()||!m.trim(),children:N?"Saving...":"Save footer"})]})]})})})},F=()=>{let[e,t]=(0,u.useState)(!1),[s,a]=(0,u.useState)(null),l=o.F.useUtils(),{data:i=[],isLoading:c}=o.F.mailbox.emailFooters.list.useQuery(),m=o.F.mailbox.emailFooters.update.useMutation({onSuccess:()=>l.mailbox.emailFooters.list.invalidate(),onError:e=>n.oR.error("Could not update footer",{description:e.message})}),h=o.F.mailbox.emailFooters.delete.useMutation({onSuccess:async()=>{await l.mailbox.emailFooters.list.invalidate(),n.oR.success("Email footer deleted")},onError:e=>n.oR.error("Could not delete footer",{description:e.message})}),p=e=>{window.confirm("Delete “".concat(e.name,"”? Previously sent replies will keep their saved footer."))&&h.mutate({id:e.id})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.A,{title:"Email footers",description:"Create multiple footers and control which ones participate in automatic reply rotation.",fullWidth:!0,action:(0,r.jsxs)(x.$,{type:"button",size:"sm",variant:"outlined_subtle",onClick:()=>{a(null),t(!0)},children:[(0,r.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"Add footer"]}),children:(0,r.jsx)("div",{className:"rounded-lg border",children:(0,r.jsxs)(w.XI,{children:[(0,r.jsx)(w.A0,{children:(0,r.jsxs)(w.Hj,{children:[(0,r.jsx)(w.nd,{className:"w-48",children:"Name"}),(0,r.jsx)(w.nd,{children:"Content"}),(0,r.jsx)(w.nd,{className:"w-24",children:"Active"}),(0,r.jsx)(w.nd,{className:"w-24 text-right",children:"Actions"})]})}),(0,r.jsxs)(w.BF,{children:[i.map(e=>(0,r.jsxs)(w.Hj,{children:[(0,r.jsx)(w.nA,{className:"font-medium",children:e.name}),(0,r.jsx)(w.nA,{className:"max-w-md whitespace-pre-wrap text-muted-foreground",children:e.content}),(0,r.jsx)(w.nA,{children:(0,r.jsx)(N.d,{"aria-label":"".concat(e.name," active"),checked:e.isActive,disabled:m.isPending,onCheckedChange:t=>m.mutate({id:e.id,isActive:t})})}),(0,r.jsx)(w.nA,{children:(0,r.jsxs)("div",{className:"flex justify-end gap-1",children:[(0,r.jsx)(x.$,{type:"button",variant:"ghost",size:"sm",iconOnly:!0,"aria-label":"Edit ".concat(e.name),onClick:()=>{a(e),t(!0)},children:(0,r.jsx)(g.A,{className:"h-4 w-4"})}),(0,r.jsx)(x.$,{type:"button",variant:"ghost",size:"sm",iconOnly:!0,"aria-label":"Delete ".concat(e.name),disabled:h.isPending,onClick:()=>p(e),children:(0,r.jsx)(v.A,{className:"h-4 w-4"})})]})})]},e.id)),c||0!==i.length?null:(0,r.jsx)(w.Hj,{children:(0,r.jsx)(w.nA,{colSpan:4,className:"py-8 text-center text-muted-foreground",children:"No footers are configured. Replies will be sent without a footer."})}),c?(0,r.jsx)(w.Hj,{children:(0,r.jsx)(w.nA,{colSpan:4,className:"py-8 text-center text-muted-foreground",children:"Loading footers..."})}):null]})]})})}),(0,r.jsx)(k,{footer:s,open:e,onOpenChange:t})]})},C=()=>{var e,t;let{user:s}=null!=(t=(0,a.w)())?t:{},[c,m]=(0,u.useState)(!(null==s||null==(e=s.preferences)?void 0:e.disableEmailSignature)),x=(0,l.D)(),h=o.F.useUtils(),{mutate:p}=o.F.user.update.useMutation({onSuccess:()=>{h.user.currentUser.invalidate(),x.setState("saved")},onError:e=>{x.setState("error"),n.oR.error("Error updating preferences",{description:e.message})}});return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute top-2 right-4 z-10",children:(0,r.jsx)(i.y,{state:x.state})}),(0,r.jsx)(d.r,{title:"Email Signature",description:"Include an automatic signature (Best, [Your Name]) in email responses",initialSwitchChecked:c,onSwitchChange:e=>{m(e),x.setState("saving"),p({preferences:{disableEmailSignature:!e}})},children:(0,r.jsx)(r.Fragment,{})})]})};function E(){var e,t;let{data:s,isLoading:a}=o.F.mailbox.get.useQuery(),l=o.F.useUtils(),i=o.F.mailbox.update.useMutation({onSuccess:async()=>{await l.mailbox.get.invalidate(),n.oR.success("Email ticket grouping updated")},onError:e=>n.oR.error("Could not update email ticket grouping",{description:e.message})});return(0,r.jsx)(d.A,{title:"Group emails from the same customer",description:"When enabled, new email threads reuse the customer's most recently active ticket in this mailbox, including closed tickets. When disabled, new threads create separate tickets. Replies to existing threads stay together in either mode.",children:(0,r.jsx)(N.d,{"aria-label":"Group emails from the same customer",checked:null!=(t=null==s||null==(e=s.preferences)?void 0:e.reuseEmailTicketsBySender)&&t,disabled:a||!s||i.isPending,onCheckedChange:e=>i.mutate({preferences:{reuseEmailTicketsBySender:e}}
1)})})}let A=()=>{var e,t;let{user:s}=null!=(t=(0,a.w)())?t:{},[c,m]=(0,u.useState)(!(null==s||null==(e=s.preferences)?void 0:e.disableHoverPreview)),x=(0,l.D)(),h=o.F.useUtils(),{mutate:p}=o.F.user.update.useMutation({onSuccess:()=>{h.user.currentUser.invalidate(),x.setState("saved")},onError:e=>{x.setState("error"),n.oR.error("Error updating preferences",{description:e.message})}});return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute top-2 right-4 z-10",children:(0,r.jsx)(i.y,{state:x.state})}),(0,r.jsx)(d.r,{title:"Show Hover Preview",description:"Display a preview sidebar when hovering over conversations in the list",initialSwitchChecked:c,onSwitchChange:e=>{m(e),x.setState("saving"),p({preferences:{disableHoverPreview:!e}})},children:(0,r.jsx)(r.Fragment,{})})]})},R=()=>{var e;let{user:t}=null!=(e=(0,a.w)())?e:{};return t?(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsx)(c,{}),(0,r.jsx)(h,{}),(0,r.jsx)(p,{}),(0,r.jsx)(A,{}),(0,r.jsx)(C,{}),"admin"===t.permissions?(0,r.jsx)(E,{}):null,"admin"===t.permissions?(0,r.jsx)(F,{}):null]}):null}},89242:(e,t,s)=>{s.d(t,{T:()=>l});var r=s(49765);s(17537);var a=s(99219),n=s(46407);let l=e=>{let{className:t,onModEnter:s,ref:l,...i}=e;return(0,r.jsx)("textarea",{className:(0,n.cn)("w-full rounded-lg bg-background border-border text-sm focus:border-transparent focus:outline-hidden focus:ring-muted-foreground disabled:cursor-not-allowed disabled:opacity-50","placeholder:text-muted-foreground",t),ref:l,onKeyDown:i.onKeyDown||(s?(0,a.R)(s):void 0),...i})};l.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.