import"./chunk-QTnfLwEv.js";import{n as e}from"./index-7yDgay5u.js";import{i as t,o as n,r,t as i}from"./jsx-runtime-DHSfUA5-.js";import{P as a,v as o}from"./test.id-DxQrYxPk.js";import{t as s}from"./navigationService-BNBSAd9W.js";import{t as c}from"./PageHeader-CzIJsNRF.js";import{t as l}from"./chevron-right-359IEfVc.js";import{i as u}from"./selectors-DZWoTA9D.js";import{t as d}from"./useDiaryModel-BQGj9xs8.js";import{t as f}from"./IdentityItem-toejfr9O.js";n();var p=i();function m(){let n=d(),i=a(s),m=u(n);return(0,p.jsxs)(`div`,{className:t.Page.GroupedRoot,"data-test-id":o.page,children:[(0,p.jsx)(c,{title:e(`identity.archivedTitle`,`Archived identities`),showBack:!0}),(0,p.jsx)(`main`,{className:t.Page.Content,"data-test-id":o.content,children:m.length>0?(0,p.jsx)(`div`,{className:t.Cell.InsetGroup,"data-test-id":o.list,children:m.map(e=>(0,p.jsx)(f,{model:n,identity:e,testId:o.item,nameTestId:o.itemName,onClick:()=>i.navigate({path:`/identity/${e.id}`}),trailing:(0,p.jsx)(l,{size:18,className:t.CellList.Chevron,strokeWidth:1.9})},e.id))}):(0,p.jsx)(`div`,{className:r(t.Cell.InsetGroup,t.IdentityListPage.Empty),"data-test-id":o.empty,children:e(`identity.archivedEmpty`,`No archived identities`)})})]})}export{m as IdentitiesArchivedPage};
//# sourceMappingURL=archived-D0ZxFXxQ.js.map