1import{j as e,u as v,S as I,F as n,bI as c,co as y,ct as A,cu as k,cv as R,q}from"./elements-DVh2jUIM.js";import{B}from"./BoardDetailSlideOverLayout-CDAgiebb.js";import{M as L}from"./Messages-DZRyX-ge.js";import{A as S}from"./authorization-CE7gncHO.js";import{$ as C,aE as P,G as $,R as E,L as d}from"./index-DeQvL4I7.js";import{u as F}from"./useAttachmentViewer-CxkfXrEj.js";import{d as G}from"./board-portal-requests-BfgGLja0.js";import"./NoteContent-T4pgf4E0.js";import"./index-DWdRGcKw.js";import"./MessageForm-BADqpkoZ.js";import"./index.esm-BsOhZrKM.js";import"./useMessageComposer-DeQiPBu-.js";import"./useAuthorization-D7B2eQha.js";import"./grids-DXrfAsUA.js";import"./startOfDay-AazlW55I.js";import"./useMutation-CfDMVIpo.js";const se={requiresRedesignPage:"homeownersPage"};function oe(){return e.jsx(S,{controller:"Board_v2",action:"HomeownerList",children:e.jsx(H,{})})}function H(){const{t:s}=v(),{showAttachments:x}=F(),{id:t,itemId:p}=C(),{onClose:h}=P(),r=$(),{data:i,isLoading:b}=G({actionItemId:Number(p),associationId:(r==null?void 0:r.id)||0});if(b)return e.jsx("div",{className:"flex justify-center items-center h-full",children:e.jsx(I,{})});if(!i)return e.jsx(E,{to:`/board/homeowners/${t}`});const{actionItemId:o,homeownerName:f,accountNumber:u,propertyAddress:j,attachments:w,currentStep:l,requestType:m,details:g,arcTypeDetails:a}=i;return e.jsx("div",{className:"w-full px-9 py-6",children:e.jsxs(B,{title:s("board.homeowners.items.actionItem"),itemId:o,subtitle:l,onClose:h,children:[e.jsxs("div",{className:"max-w-[800px]",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-6",children:[e.jsx(d,{className:"text-base-link hover:underline",to:"/board/homeowners",children:s("board.homeowners.homeowners")}),e.jsx(n,{icon:c}),e.jsx(d,{className:"text-base-link hover:underline",to:`/board/homeowners/${t}`,children:s("board.homeowners.homeowner")}),e.jsx(n,{icon:c}),e.jsx("span",{children:o})]}),e.jsxs("div",{children:[e.jsx("div",{className:"flex flex-wrap justify-between items-center gap-7 mb-6",children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex gap-2 items-center",children:[e.jsx("span",{className:"text-lg",children:l}),w.length>0&&e.jsxs("button",{onClick:()=>x({actionItemId:o,title:s("board.homeowners.items.actionItem")}),children:[e.jsx("span",{className:"sr-only",children:s("board.messaging.viewAttachment")}),e.jsx(n,{icon:y})]})]}),e.jsx("span",{className:"font-semibold",children:m}),e.jsx("span",{children:g})]})}),e.jsxs("div",{className:"flex flex-wrap gap-x-12 gap-y-4 max-mobile:gap-x-6 px-5 py-4 rounded-md border border-base-border mb-6",children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"font-semibold",children:s("board.homeowners.items.columns.homeowner")}),e.jsx("p",{children:f})]}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"font-semibold",children:s("board.homeowners.items.columns.account")}),e.jsx("p",{children:u})]}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"font-semibold",children:s("board.homeowners.items.columns.propertyAddress")}),e.jsx("p",{children:j})]}),e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"font-semibold",children:s("board.homeowners.items.columns.type")}),e.jsx("p",{children:(a==null?void 0:a.description)??m})]})]})]})]}),e.jsx(A,{children:e.jsx(k,{className:"flex w-full flex-row border-b mb-6",children:e.jsx(R,{as:"button",className:({selected:N})=>q("py-2 px-4 text-center font-bold leading-5 text-input-fg underline-offset-4","focus:outline-none","border-b-2 hover:border-base-link -mb-[1px]",N&&"border-base-link text-base-link"),children:s("board.messaging.messages")})})}),e.jsx(L,{actionItemId:o})]})})}export{oe as Component,se as handle};
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.