1import{G as C,a2 as S,f as L,g as $}from"./aLrIR-cP.js";import{_ as M}from"./0y-DGERM.js";import{_ as F}from"./DbfmHnsn.js";import{C as g,d as n,O as d,a0 as f,a2 as _,X as s,Y as c,B as i,f as h,b as v,c as y,ag as k,e as A,Z as u,E as b,$ as m}from"./D2PenvMZ.js";import{_ as E}from"./DmDH3tBg.js";import{r as N}from"./D9WzJr8y.js";import{u as T}from"./C69Yyx4j.js";import{aL as B,aM as W}from"./BBGT4EBI.js";import"./B98lbH4P.js";import"./CDohe6EK.js";import"./Hzq2TwJG.js";const O="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Icon'%20d='M5%2014.3333V7.66667H9V14.3333M1%205.66667L7%201L13%205.66667V13C13%2013.3536%2012.8595%2013.6928%2012.6095%2013.9428C12.3594%2014.1929%2012.0203%2014.3333%2011.6667%2014.3333H2.33333C1.97971%2014.3333%201.64057%2014.1929%201.39052%2013.9428C1.14048%2013.6928%201%2013.3536%201%2013V5.66667Z'%20stroke='%234A4A4A'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",P={class:"whitespace-nowrap"},V={class:f(["font-lora text-lg text-amc-gray-900 mobile-md:text-2xl"])},I={class:"whitespace-nowrap"},H={class:"whitespace-nowrap"},j=g({__name:"BenefitTile",props:{amount:{},type:{},rootClass:{}},setup(t){const e=t,o=v(""),r=v(""),l=v("");return e.type==="monthly-savings"?(o.value="Save",r.value=C(e.amount,!0),l.value="Monthly Savings"):e.type==="cashout"?(o.value="Get Up To",r.value=C(e.amount,!0),l.value="Cash Out"):e.type==="no-savings"?(o.value="No Savings",r.value="",l.value=""):e.type==="no-cashout"&&(o.value="No Cash Out",r.value="",l.value=""),(x,a)=>(n(),d("div",{class:f(["flex flex-col items-center justify-center rounded-md bg-[#F4F4F4] text-xs font-bold uppercase text-[#808080]",t.type==="monthly-savings"||t.type==="cashout"?"px-1.5 py-sp1 mobile-md:px-2.5":"p-sp2 mobile-md:p-sp3",e.rootClass])},[t.type==="monthly-savings"||t.type==="cashout"?(n(),d(_,{key:0},[s("div",P,c(i(o)),1),s("div",V,c(i(r)),1),s("div",I,c(i(l)),1)],64)):t.type==="no-savings"||t.type==="no-cashout"?(n(),d(_,{key:1},[s("div",H,c(i(o)),1),a[0]||(a[0]=s("div",{class:""},"Available",-1))],64)):h("",!0)],2))}}),D=["src"],G={class:"flex overflow-hidden whitespace-nowrap desktop:text-lg"},R={class:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap"},Z={class:"flex items-center justify-between gap-1.5"},z={class:"flex w-full max-w-[354px] gap-1.5 desktop:gap-6"},U={key:1,class:"border-t-[0.75px] border-[#CCC] p-1.5 text-center leading-4 desktop:p-0 desktop:pt-3 desktop:text-right"},X={class:"text-xs font-semibold text-[#4A4A4A] desktop:text-base"},Y=g({__name:"PropertyOfferCard",props:{address:{},displayAddress:{type:Boolean,default:!1},footer:{},benefits:{},rootClass:{},titleWrapperClass:{},bodyWrapperClass:{}},setup(t){const e=t,{mobile:o}=T(),r=b(()=>e.benefits.every(a=>a.type==="no-savings"||a.type==="no-cashout")),l=b(()=>o.value?void 0:"Next Step"),x=b(()=>o.value?N:void 0);return(a,p)=>(n(),d("div",{class:f(["rounded-md border-[0.75px] border-[#CCC] shadow-[0_4px_30px_0px_rgba(50,50,50,0.07)] desktop:cursor-pointer desktop:p-6",e.rootClass])},[t.address||e.displayAddress?(n(),d("div",{key:0,class:f(["mobile-md flex items-center gap-sp1 rounded-t-md border-b-[0.75px] border-[#CCC] px-3 py-1.5 text-sm font-bold text-[#4A4A4A] mobile-md:text-base desktop:px-0",e.titleWrapperClass])},[y(a.$slots,"title",{},()=>[s("img",{src:i(O),alt:"House Icon",class:"w-[12px]"},null,8,D),s("div",G,[s("span",R,c(e.address?.street),1),s("span",null,", "+c(e.address?.city),1),s("span",null,", "+c(e.address?.state),1)])])],2)):h("",!0),s("div",{class:f([`px-1.5 py-3 mobile-md:px-2.5 desktop:px-0 ${i(r)?"desktop:pb-6":"desktop:pb-0"}`,e.bodyWrapperClass])},[y(a.$slots,"body",{},()=>[s("div",Z,[s("div",z,[(n(!0),d(_,null,k(t.benefits,w=>(n(),A(j,{type:w.type,amount:w.amount,"root-class":"w-full max-w-[50%]"},null,8,["type","amount"]))),256))]),u(E,{label:i(l),rounded:i(o),icon:i(x),variant:"primary-blue","button-class":"self-center justify-end min-w-[30px] flex-none tablet:flex-1 max-w-[230px] ml-4"},null,8,["label","rounded","icon"])])])],2),t.footer?(n(),d("div",U,[y(a.$slots,"footer",{},()=>[s("span",X,c(t.footer),1)])])):h("",!0)],2))}}),q={},J={class:"flex w-full flex-col items-center gap-sp2"};function K(t,e){return n(),d("div",J,[y(t.$slots,"default")])}
1const Q=S(q,[["render",K]]),pe=g({__name:"real-estate-owned",setup(t){L({title:W,meta:[{name:"description",content:B}]});const e=[{id:"333 Super Long Name For A Street, Excalibur City, FL",address:{street:"333 Super Long Name For A Street",city:"Excalibur City",state:"FL"},benefits:[{type:"cashout",amount:19e5},{type:"monthly-savings",amount:1e4}]},{id:"444 Main Street, Miami FL",address:{street:"444 Main Street",city:"Miami",state:"FL"},benefits:[{type:"cashout",amount:2e5}]},{id:"555 Main Street, Miami FL",address:{street:"555 Main Street",city:"Miami",state:"FL"},benefits:[{type:"monthly-savings",amount:2e3}]},{id:"666 Main Street, Miami FL",address:{street:"666 Main Street",city:"Miami",state:"FL"},footer:"Let's look at refinance options",benefits:[{type:"no-cashout"},{type:"no-savings"}]}];return(o,r)=>{const l=$,x=M,a=F;return n(),A(a,null,{heading:m(()=>[...r[0]||(r[0]=[s("h1",{class:"mb-sp2 text-center text-xl text-[#4A4A4A] desktop:text-4xl"}," Please choose a property ",-1)])]),content:m(()=>[u(l,{class:"mx-auto"},{default:m(()=>[u(Q,{class:"col-span-full md:col-span-6 md:col-start-1 lg:col-span-6 lg:col-start-2 xl:col-span-8 xl:col-start-3"},{default:m(()=>[(n(),d(_,null,k(e,p=>u(Y,{key:p.id,address:p.address,benefits:p.benefits,footer:p.footer,"root-class":"w-full md:max-w-[786px]"},null,8,["address","benefits","footer"])),64))]),_:1})]),_:1})]),navigator:m(()=>[u(x,{"button-text":"Next Step","button-arrow":!1,"show-primary-button":!1,variant:"tertiary","container-class":"!pt-0 ","back-button-class":"!pt-0"})]),_:1})}}});
1export{pe 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.