PageSourceSearch

https://studio--ght-command-center.us-central1.hosted.app/_next/static/chunks/5181-666762bdba73c5ac.js

js studio--ght-command-center.us-central1.hosted.app collected 2026-10-03 05:33:58 UTC 19,370 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5181],{40680:(e,a,t)=>{t.d(a,{W:()=>y});var s=t(95155),l=t(12115),r=t(30285),n=t(54165),c=t(62523),d=t(85057),i=t(47262),o=t(85127),m=t(77223),x=t(18046),h=t(7390),p=t(50172),f=t(59119),u=t(87481),j=t(34477);let b=(0,j.createServerReference)("708cc44a94d6f561788879cefbc3378d51a81663cf",j.callServer,void 0,j.findSourceMapURL,"saveWindowSills");var g=t(66766),v=t(52699),N=t.n(v),w=t(83013);function y(e){let{job:a,open:t,onOpenChange:j}=e,{toast:v}=(0,u.dj)(),[y,C]=(0,l.useTransition)(),[A,R]=(0,l.useState)([]),[S,J]=(0,l.useState)({}),[k,F]=(0,l.useState)(!1),E=(0,l.useRef)(null),T=(0,l.useRef)(null);(0,l.useEffect)(()=>{t&&(R((a.windowSills||[]).map((e,a)=>({...e,id:e.id||"sill_".concat(a,"_").concat(Date.now()),A:e.A||"",B:e.B||"",D:e.D||"",E:e.E||"",F:e.F||"",G:e.G||"",J:e.J||("endcaps"===e.type?{L:"",R:""}:""),K:e.K||""}))),J(a.windowSillsAdditional||{contract:a.ref||"",contractorSignature:"",colour:a.color||"Not decided yet",needUpstandAtReveals:!1}))},[t,a]);let B=(e,a,t)=>{R(s=>s.map(s=>s.id===e?{...s,[a]:t}:s))},D=(e,a,t)=>{R(s=>s.map(s=>{if(s.id===e&&"object"==typeof s.J){let e=s.J||{};return{...s,J:{...e,[a]:t}}}return s}))},L=e=>{let a={id:"sill_".concat(Date.now()),type:e,A:"",B:"",D:"",F:"",G:"",J:"endcaps"===e?{L:"",R:""}:"",K:"",E:""};R(e=>[...e,a]),F(!1),setTimeout(()=>{var e;null==(e=T.current)||e.scrollTo({top:T.current.scrollHeight,behavior:"smooth"})},100)},M=e=>{R(a=>a.filter(a=>a.id!==e))},G=(e,a)=>{J(t=>({...t,[e]:a}))},W=async()=>{v({title:"Generating image...",description:"Please wait a moment."});let e=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?1.5:2,t=E.current;if(!t)return void v({title:"Error",description:"Could not find content to capture.",variant:"destructive"});t.style.display="block";let s=0===A.length?1:Math.ceil(A.length/8),l=[];for(let a=0;a<s;a++){let s=A.slice(8*a,(a+1)*8),r=t.querySelector("tbody");if(r&&(r.innerHTML=s.map(e=>{var a,t;return'\n                <tr class="border-b">\n                    <td class="p-1 text-center font-semibold text-xs h-8">'.concat(e.A||"&nbsp;",'</td>\n                    <td class="p-1 text-center font-semibold text-xs h-8">').concat(e.B||"&nbsp;",'</td>\n                    <td class="p-1 text-center font-semibold text-xs h-8">').concat(e.D||"&nbsp;",'</td>\n                    <td class="p-1 text-center font-semibold text-xs h-8">').concat(e.F||"&nbsp;",'</td>\n                    <td class="p-1 text-center font-semibold text-xs h-8">').concat(e.G||"&nbsp;",'</td>\n                    <td class="p-1 text-center font-semibold text-xs h-8">\n                        ').concat("endcaps"===e.type&&"object"==typeof e.J?"L: ".concat((null==(a=e.J)?void 0:a.L)||""," R: ").concat((null==(t=e.J)?void 0:t.R)||""):e.J||"&nbsp;",'\n                    </td>\n                    <td class="p-1 text-center font-semibold text-xs h-8">').concat(e.K||"&nbsp;","</td>\n                </tr>\n            ")}).join(""),s.length<8))for(let e=0;e<8-s.length;e++)r.innerHTML+='<tr class="border-b"><td class="p-1 h-8" colspan="7">&nbsp;</td></tr>';try{let s=(await N()(t,{scale:e,useCORS:!0,backgroundColor:"#ffffff"})).toDataURL("image/png"),r=await (await fetch(s)).blob();l.push(new File([r],"sills-page-".concat(a+1,".png"),{type:"image/png"}))}catch(e){console.error("html2canvas error:",e),v({title:"Error",description:"Failed to capture screenshot.",variant:"destructive"}),t.style.display="none";return}}if(t.style.display="none",l.length>0&&navigator.share){let e="*Window Sills for ".concat(a.address,"*\n*Job Ref:* ").concat(S.contract||"N/A","\n*Date:* ").concat((0,w.GP)(new Date,"dd/MM/yyyy"));try{await navigator.clipboard.writeText(e),v({title:"Copied to clipboard",description:"Details text copied to clipboard. You can paste it into WhatsApp.",duration:5e3})}catch(e){console.error("Clipboard copy failed",e)}try{navigator.canShare&&navigator.canShare({files:l})?await navigator.share({title:"Window Sills Measures",text:e,files:l}):await navigator.share({title:"Window Sills Measures",text:e})}catch(e){"AbortError"!==e.name&&(console.error("Share failed:",e),v({title:"Share Failed",description:"Could not share the sills. Please try again.",variant:"destructive"}))}}else v({title:"Share not supported",description:"Web Share API is not available on this browser."})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.lG,{open:t,onOpenChange:j,children:(0,s.jsxs)(n.Cf,{className:"max-w-7xl w-full h-[95vh] flex flex-col p-2 sm:p-4",children:[(0,s.jsxs)(n.c7,{className:"px-4 pt-4 pb-2",children:[(0,s.jsx)(n.L3,{children:"Window Sill Measures"}),(0,s.jsxs)(n.rr,{children:["Take measures for the job at ",a.address,"."]})]}),(0,s.jsxs)("div",{ref:T,className:"flex-grow min-h-0 overflow-y-auto px-2",children:[(0,s.jsx)("div",{className:"flex-shrink-0 flex justify-center mb-2",children:(0,s.jsx)(g.default,{src:"https://casa-verde.b-cdn.net/window%20cills%20image.png",width:800,height:250,alt:"Windowsill diagram",className:"max-w-full h-auto object-contain max-h-[20vh]"})}),(0,s.jsx)("div",{className:"overflow-x-auto",children:(0,s.jsxs)(o.XI,{
1children:[(0,s.jsx)(o.A0,{children:(0,s.jsxs)(o.Hj,{children:[(0,s.jsx)(o.nd,{className:"p-1 text-center font-bold min-w-[120px]",children:"A"}),(0,s.jsx)(o.nd,{className:"p-1 text-center font-bold min-w-[120px]",children:"B"}),(0,s.jsx)(o.nd,{className:"p-1 text-center font-bold min-w-[120px]",children:"DE"}),(0,s.jsx)(o.nd,{className:"p-1 text-center font-bold min-w-[120px]",children:"F"}),(0,s.jsx)(o.nd,{className:"p-1 text-center font-bold min-w-[120px]",children:"G"}),(0,s.jsx)(o.nd,{className:"p-1 text-center font-bold min-w-[160px]",children:"J"}),(0,s.jsx)(o.nd,{className:"p-1 text-center font-bold min-w-[120px]",children:"K"}),(0,s.jsx)(o.nd,{className:"p-1 text-center w-10"})]})}),(0,s.jsx)(o.BF,{children:A.map(e=>{var a,t;return(0,s.jsxs)(o.Hj,{children:[(0,s.jsx)(o.nA,{className:"p-1",children:(0,s.jsx)(c.p,{placeholder:"A",className:"h-12 text-center text-lg w-full",value:e.A,onChange:a=>B(e.id,"A",a.target.value)})}),(0,s.jsx)(o.nA,{className:"p-1",children:(0,s.jsx)(c.p,{placeholder:"B",className:"h-12 text-center text-lg w-full",value:e.B,onChange:a=>B(e.id,"B",a.target.value)})}),(0,s.jsx)(o.nA,{className:"p-1",children:(0,s.jsx)(c.p,{placeholder:"DE",className:"h-12 text-center text-lg w-full",value:e.D,onChange:a=>B(e.id,"D",a.target.value)})}),(0,s.jsx)(o.nA,{className:"p-1",children:(0,s.jsx)(c.p,{placeholder:"F",className:"h-12 text-center text-lg w-full",value:e.F,onChange:a=>B(e.id,"F",a.target.value)})}),(0,s.jsx)(o.nA,{className:"p-1",children:(0,s.jsx)(c.p,{placeholder:"G",className:"h-12 text-center text-lg w-full",value:e.G,onChange:a=>B(e.id,"G",a.target.value)})}),(0,s.jsx)(o.nA,{className:"p-1",children:"endcaps"===e.type&&"object"==typeof e.J?(0,s.jsxs)("div",{className:"flex items-center gap-0.5 justify-center",children:[(0,s.jsx)(c.p,{value:(null==(a=e.J)?void 0:a.L)||"",onChange:a=>D(e.id,"L",a.target.value),placeholder:"L",className:"h-12 text-center text-lg w-1/2"}),(0,s.jsx)(c.p,{value:(null==(t=e.J)?void 0:t.R)||"",onChange:a=>D(e.id,"R",a.target.value),placeholder:"R",className:"h-12 text-center text-lg w-full"})]}):(0,s.jsx)(c.p,{placeholder:"J",value:e.J||"",onChange:a=>B(e.id,"J",a.target.value),className:"h-12 text-center text-lg w-full"})}),(0,s.jsx)(o.nA,{className:"p-1",children:(0,s.jsx)(c.p,{placeholder:"K",className:"h-12 text-center text-lg w-full",value:e.K,onChange:a=>B(e.id,"K",a.target.value)})}),(0,s.jsx)(o.nA,{className:"p-1",children:(0,s.jsx)(r.$,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>M(e.id),children:(0,s.jsx)(m.A,{className:"h-4 w-4 text-destructive"})})})]},e.id)})})]})}),(0,s.jsx)("div",{className:"mt-4 space-y-4 text-sm",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-x-4 gap-y-3",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(d.J,{className:"font-semibold",children:"Address"}),(0,s.jsx)("p",{className:"text-muted-foreground",children:a.address})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(d.J,{htmlFor:"contract",className:"font-semibold",children:"Job Ref"}),(0,s.jsx)(c.p,{id:"contract",className:"h-9",value:S.contract,onChange:e=>G("contract",e.target.value)})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(d.J,{htmlFor:"colour",className:"font-semibold",children:"RAL"}),(0,s.jsx)(c.p,{id:"colour",className:"h-9",value:S.colour,onChange:e=>G("colour",e.target.value)})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(d.J,{className:"font-semibold",children:"Total Cills"}),(0,s.jsx)("p",{className:"text-muted-foreground",children:A.length})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 pt-4",children:[(0,s.jsx)(i.S,{id:"needUpstandAtReveals",checked:S.needUpstandAtReveals,onCheckedChange:e=>G("needUpstandAtReveals",!!e)}),(0,s.jsx)(d.J,{htmlFor:"needUpstandAtReveals",className:"font-normal",children:"Upstand at reveals"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(d.J,{htmlFor:"contractorSignature",className:"font-semibold",children:"Measures by"}),(0,s.jsx)(c.p,{id:"contractorSignature",className:"h-9",value:S.contractorSignature,onChange:e=>G("contractorSignature",e.target.value),placeholder:"Enter your name"})]})]})})]}),(0,s.jsxs)(n.Es,{className:"flex-shrink-0 pt-4 border-t flex flex-col sm:flex-row sm:justify-between items-center gap-2 px-4 pb-2",children:[(0,s.jsxs)("div",{className:"relative w-full sm:w-auto",children:[(0,s.jsxs)(r.$,{onClick:()=>F(!k),className:"bg-green-600 hover:bg-green-700 w-full sm:w-auto",children:[(0,s.jsx)(x.A,{className:"mr-2 h-4 w-4"})," Add New Sill"]}),k&&(0,s.jsxs)("div",{className:"absolute z-10 bottom-full left-0 mb-2 bg-popover border rounded-md shadow-lg p-2 flex flex-col gap-2 w-full sm:w-auto",children:[(0,s.jsx)(r.$,{variant:"ghost",className:"w-full text-left justify-start",onClick:()=>L("standard"),children:"Standard"}),(0,s.jsx)(r.$,{variant:"ghost",className:"w-full text-left justify-start",onClick:()=>L("endcaps"),children:"End Caps (Nscap)"})]})]}),(0,s.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row gap-2 w-full sm:w-auto",children:[(0,s.jsx)(n.HM,{asChild:!0,children:(0,s.jsx)(r.$,{variant:"outline",className:"w-full sm:w-auto",children:"Close"})}),(0,s.jsxs)(r.$,{onClick:W,className:"w-full sm:w-auto bg-blue-600 hover:bg-blue-700 text-white",children:[(0,s.jsx)(h.A,{className:"mr-2 h-4 w-4"}),"Share"]}),(0,s.jsxs)(r.$,{onClick:()=>{C(async()=>{let e=A.map(e=>{let{id:a,...t}=e;return t}),t=await b(a.id,e,S);t.success?(v({title:"Success",description:"Window sill measurements saved."}),j(!1)):v({title:"Error",description:t.message,variant:"destructive"})})},disabled:y,className:"w-full sm:w-auto bg-black hover:bg-gray-800 text-white",children:[y?(0,s.jsx)(p.A,{className:"mr-2 h-4 w-4 animate-spin"}):(0,s.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"Save"]})]})]})]})}),(0,s.jsxs)("div",{ref:E,className:"fixed -left-[9999px] top-0",style:{width:"210mm",height:"297mm",padding:"10mm",backgroundColor:"white",fontFamily:"sans-serif"},children:[(0,s.jsx)("style",{children:"\n            .a4-header { display: flex; justify-content: center; margin-bottom: 1rem; }\n            .a4-table { width: 100%; border-collapse: collapse; font-size: 10px; }\n            .a4-table th, .a4-table td { border: 1px solid #ccc; padding: 4px; text-align: center; }\n            .a4-table th { background-color: #f2f2f2; font-weight: bold; }\n            .a4-footer { margin-top: 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; font-size: 10px; }\n            .a4-footer-item { display: flex; flex-direction: column; }\n            .a4-footer-label { font-weight: bold; color: #555; }\n        "}),(0,s.jsx)("div",{className:"a4-header",children:(0,s.jsx)("img",{src:"https://casa-verde.b-cdn.net/window%20cills%20image.png",style:{maxWidth:"100%",height:"auto"},alt:"Windowsill diagram"})}),(0,s.jsxs)("table",{className:"a4-table",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"A"}),(0,s.jsx)("th",{children:"B"}),(0,s.jsx)("th",{children:"DE"}),(0,s.jsx)("th",{children:"F"}),(0,s.jsx)("th",{children:"G"}),(0,s.jsx)("th",{children:"J"}),(0,s.jsx)("th",{children:"K"})]})}),(0,s.jsx)("tbody",{})]}),(0,s.jsxs)("div",{className:"a4-footer",children:[(0,s.jsxs)("div",{className:"a4-footer-item",children:[(0,s.jsx)("span",{className:"a4-footer-label",children:"Address:"}),(0,s.jsx)("span",{children:a.address})]}),(0,s.jsxs)("div",{className:"a4-footer-item",children:[(0,s.jsx)("span",{className:"a4-footer-label",children:"Job Ref:"}),(0,s.jsx)("span",{children:S.contract})]}),(0,s.jsxs)("div",{className:"a4-footer-item",children:[(0,s.jsx)("span",{className:"a4-footer-label",children:"RAL:"}),(0,s.jsx)("span",{children:S.colour})]}),(0,s.jsxs)("div",{className:"a4-footer-item",children:[(0,s.jsx)("span",{className:"a4-footer-label",children:"Total Cills:"}),(0,s.jsx)("span",{children:A.length})]}),(0,s.jsxs)("div",{className:"a4-footer-item",children:[(0,s.jsx)("span",{className:"a4-footer-label",children:"Upstand:"}),(0,s.jsx)("span",{children:S.needUpstandAtReveals?"Yes":"No"})]}),(0,s.jsxs)("div",{className:"a4-footer-item",children:[(0,s.jsx)("span",{className:"a4-footer-label",children:"Measures by:"}),(0,s.jsx)("span",{children:S.contractorSignature})]})]})]})]})}},54060:(e,a,t)=>{t.d(a,{C:()=>l});var s=t(34477);let l=(0,s.createServerReference)("4089e33a3a639ba55fda9aefe00e7dd7b031c45fb3",s.callServer,void 0,s.findSourceMapURL,"addSurveyImages")},61600:(e,a,t)=>{t.d(a,{y:()=>j});var s=t(95155),l=t(12115),r=t(47650),n=t(54165),c=t(30285),d=t(62523),i=t(88539),o=t(85057),m=t(87481),x=t(54060),h=t(50172),p=t(66424);function f(){let{pending:e}=(0,r.useFormStatus)();return(0,s.jsxs)(c.$,{type:"submit",disabled:e,children:[e?(0,s.jsx)(h.A,{className:"mr-2 h-4 w-4 animate-spin"}):null,e?"Saving...":"Save Changes"]})}function u(e){let{section:a,label:t,job:l}=e;return(0,s.jsxs)("div",{className:"space-y-3 rounded-lg border p-4",children:[(0,s.jsx)("h3",{className:"font-semibold",children:t}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(o.J,{htmlFor:"".concat(a,"Images"),children:"Add Images"}),(0,s.jsx)(d.p,{id:"".concat(a,"Images"),name:"".concat(a,"Images"),type:"file",multiple:!0,accept:"image/*"})]}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(o.J,{htmlFor:"".concat(a,"Comments"),children:"Comments"}),(0,s.jsx)(i.T,{id:"".concat(a,"Comments"),name:"".concat(a,"Comments"),defaultValue:l["".concat(a,"Comments")]||"",placeholder:"Comments for ".concat(t,"...")})]})]})}function j(e){let{job:a,open:t,onOpenChange:r}=e,{toast:d}=(0,m.dj)(),i=(0,l.useRef)(null),o=async e=>
1{e.append("jobId",a.id);let t=await (0,x.C)(e);t.success?(d({title:"Success",description:t.message}),r(!1)):d({title:"Error",description:t.message,variant:"destructive"})};return(0,s.jsx)(n.lG,{open:t,onOpenChange:e=>{if(!e){var a;null==(a=i.current)||a.reset()}r(e)},children:(0,s.jsxs)(n.Cf,{className:"sm:max-w-2xl",children:[(0,s.jsxs)(n.c7,{children:[(0,s.jsx)(n.L3,{children:"Add/Edit Survey Details"}),(0,s.jsxs)(n.rr,{children:["Upload images and add comments for the job at ",a.address,"."]})]}),(0,s.jsxs)("form",{ref:i,action:o,children:[(0,s.jsx)(p.F,{className:"h-[60vh] p-6 pt-0 -mx-6",children:(0,s.jsxs)("div",{className:"space-y-4 pt-4 px-6",children:[(0,s.jsx)(u,{section:"frontElevation",label:"Front Elevation",job:a}),(0,s.jsx)(u,{section:"sideElevation",label:"Side Elevation",job:a}),(0,s.jsx)(u,{section:"backElevation",label:"Back Elevation",job:a}),(0,s.jsx)(u,{section:"ventsPlan",label:"Vents Plan",job:a})]})}),(0,s.jsxs)(n.Es,{className:"mt-6 pt-4 border-t",children:[(0,s.jsx)(n.HM,{asChild:!0,children:(0,s.jsx)(c.$,{type:"button",variant:"secondary",children:"Cancel"})}),(0,s.jsx)(f,{})]})]})]})})}},66695:(e,a,t)=>{t.d(a,{BT:()=>i,Wu:()=>o,ZB:()=>d,Zp:()=>n,aR:()=>c,wL:()=>m});var s=t(95155),l=t(12115),r=t(59434);let n=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("div",{ref:a,className:(0,r.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...l})});n.displayName="Card";let c=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("div",{ref:a,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",t),...l})});c.displayName="CardHeader";let d=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("div",{ref:a,className:(0,r.cn)("text-2xl font-semibold leading-none tracking-tight",t),...l})});d.displayName="CardTitle";let i=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("div",{ref:a,className:(0,r.cn)("text-sm text-muted-foreground",t),...l})});i.displayName="CardDescription";let o=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("div",{ref:a,className:(0,r.cn)("p-6 pt-0",t),...l})});o.displayName="CardContent";let m=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("div",{ref:a,className:(0,r.cn)("flex items-center p-6 pt-0",t),...l})});m.displayName="CardFooter"},85127:(e,a,t)=>{t.d(a,{A0:()=>c,BF:()=>d,Hj:()=>i,XI:()=>n,nA:()=>m,nd:()=>o});var s=t(95155),l=t(12115),r=t(59434);let n=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("div",{className:"relative w-full overflow-auto",children:(0,s.jsx)("table",{ref:a,className:(0,r.cn)("w-full caption-bottom text-sm",t),...l})})});n.displayName="Table";let c=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("thead",{ref:a,className:(0,r.cn)("[&_tr]:border-b",t),...l})});c.displayName="TableHeader";let d=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("tbody",{ref:a,className:(0,r.cn)("[&_tr:last-child]:border-0",t),...l})});d.displayName="TableBody",l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("tfoot",{ref:a,className:(0,r.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...l})}).displayName="TableFooter";let i=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("tr",{ref:a,className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...l})});i.displayName="TableRow";let o=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("th",{ref:a,className:(0,r.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...l})});o.displayName="TableHead";let m=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("td",{ref:a,className:(0,r.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...l})});m.displayName="TableCell",l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("caption",{ref:a,className:(0,r.cn)("mt-4 text-sm text-muted-foreground",t),...l})}).displayName="TableCaption"},88539:(e,a,t)=>{t.d(a,{T:()=>n});var s=t(95155),l=t(12115),r=t(59434);let n=l.forwardRef((e,a)=>{let{className:t,...l}=e;return(0,s.jsx)("textarea",{className:(0,r.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:a,...l})});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.