1import{h as g,l as y}from"./index.esm-C8-Okse2.js";import{_}from"./ConsumerLayout-tjDWxGzL.js";import{a as w}from"./app-Dvzl3QXw.js";import{B as b}from"./piggy-bank-C2v63urG.js";import{C as k}from"./check-check-BBacMcIT.js";import{C as v}from"./chevron-right-DQnPt1ZE.js";import{o,a as p,w as u,d as n,u as i,b as s,f as r,F as h,j as C,t as a,h as l,g as B}from"./runtime-dom.esm-bundler-BFbfmLfl.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./AnimatedLogoMini-B6zedGia.js";/* empty css */import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./lock-BQyHxR7C.js";import"./createLucideIcon-H8VPBXjN.js";import"./x-gRRgfAF8.js";import"./house-BnH-U5r3.js";import"./search-DRuNnyPk.js";import"./sparkles-B9lXBQmj.js";import"./house-heart-BOl5N1QW.js";import"./shield-xlcuWJAH.js";import"./LoginModal-BMeMPme8.js";import"./circle-alert-ByG7DPjo.js";import"./loader-circle-BOF4Rcg5.js";import"./file-text-CxktRaAP.js";import"./chevron-down-CV0HnoXa.js";import"./clipboard-check-bysH7gwo.js";import"./arrow-left-right-CgpBd7hI.js";import"./calendar-clock-BpBm_Pbs.js";import"./bell-BnmfLsAP.js";import"./shield-check-CDldKyok.js";import"./file-key-D00z6oeF.js";import"./arrow-left-C_eslZG5.js";import"./menu-C8BKYvlP.js";import"./settings-kph8Slzw.js";import"./credit-card-Dn2M7EkH.js";import"./log-out-CydYSR5l.js";import"./ellipsis-pYE_Svwi.js";/* empty css */import"./echo-Cx0reEeH.js";import"./listingImageRemint-DdzXd0Qc.js";import"./chevron-left-BqH44XVe.js";import"./check-CYOYuDcY.js";import"./key-round-CDOVxIO1.js";import"./SavePropertyModal-C2h6jxhG.js";import"./map-pin-7NBWNz8E.js";const D={class:"mx-auto max-w-3xl px-4 py-6 sm:px-6 sm:py-8"},N={key:0,class:"mt-8 rounded-3xl bg-white p-8 text-center ring-1 ring-stone-200/70"},j={class:"mx-auto flex size-12 items-center justify-center rounded-2xl bg-stone-100 text-stone-400"},V={key:1,class:"mt-6 space-y-3"},L={class:"flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-xl bg-stone-50 ring-1 ring-stone-100"},q=["src","alt"],F={class:"min-w-0 flex-1"},P={class:"truncate text-sm font-bold text-stone-900"},S={class:"truncate text-xs text-stone-400"},T={key:0,class:"inline-flex shrink-0 items-center gap-1 rounded-full bg-emerald-50 px-2.5 py-1 text-[10px] font-bold uppercase tracking-wider text-emerald-600 ring-1 ring-emerald-200"},$={key:1,class:"shrink-0 text-xs font-extrabold text-stone-500"},Nt={__name:"Index",props:{packs:{type:Array,default:()=>[]}},setup(d){const f=m=>m?new Date(m).toLocaleDateString("en-GB",{day:"numeric",month:"short"}):"";return(m,e)=>(o(),p(_,null,{default:u(()=>[n(i(g),{title:"Property information"}),s("div",D,[e[3]||(e[3]=s("h1",{class:"text-xl font-bold text-stone-900 sm:text-2xl"},"Property information",-1)),e[4]||(e[4]=s("p",{class:"mt-1 text-sm text-stone-500"},"The property questionnaires your estate agent has asked you to complete.",-1)),d.packs.length?(o(),r("div",V,[(o(!0),r(h,null,C(d.packs,t=>(o(),p(i(y),{key:t.id,href:`/account/material-information/${t.id}
1`,class:"flex items-center gap-4 rounded-2xl bg-white p-4 ring-1 ring-stone-200/70 shadow-sm transition-shadow hover:shadow-md sm:p-5"},{default:u(()=>{var x,c;return[s("div",L,[(x=t.agent)!=null&&x.logo?(o(),r("img",{key:0,src:t.agent.logo,alt:t.agent.name,class:"max-h-10 max-w-10 object-contain"},null,8,q)):(o(),p(i(b),{key:1,class:"w-5 h-5 text-stone-400"}))]),s("div",F,[s("p",P,a(t.address),1),s("p",S,[l(a((c=t.agent)==null?void 0:c.name)+" ",1),t.submitted_at?(o(),r(h,{key:0},[l(" · sent "+a(f(t.submitted_at)),1)],64)):B("",!0)])]),t.submitted_at?(o(),r("span",T,[n(i(k),{class:"w-3 h-3"}),e[2]||(e[2]=l(" Done ",-1))])):(o(),r("span",$,a(t.percent)+"%",1)),n(i(v),{class:"w-4 h-4 shrink-0 text-stone-300"})]}),_:2},1032,["href"]))),128))])):(o(),r("div",N,[s("span",j,[n(i(w),{class:"w-6 h-6"})]),e[0]||(e[0]=s("p",{class:"mt-3 text-sm font-semibold text-stone-700"},"Nothing here yet",-1)),e[1]||(e[1]=s("p",{class:"mt-1 text-xs text-stone-400"},"When your agent invites you to complete a property questionnaire, it appears here.",-1))]))])]),_:1}))}};export{Nt as default};
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.