PageSourceSearch

https://www.mysanibelrealestate.com/_nuxt/M5TdVzQX.js

js mysanibelrealestate.com collected 2026-09-30 13:05:55 UTC 27,506 bytes, 37 lines download raw bytes

1import{i as $e,v as ze,u as Ue}from"./2lqvZRAN.js";import{d as Ve,aq as Re,M as je,ar as Oe,L as Ee,O as He,r as P,f as qe,e as C,w as fe,R as Ge,T as Ke,h as k,i as n,g as x,o as a,c as r,m as t,a as s,j as l,k as u,K as ee,F as U,q,p as te,l as c,G as Qe,aH as Xe,t as d,Q as Je,b as We}from"./B9XXNe5y.js";import{A as Ze}from"./Dy3AAMaa.js";import{g as et}from"./B4knwobn.js";import{u as tt}from"./D9OElnsh.js";import{_ as ot}from"./C8E0t2K_.js";import{u as it}from"./CC0v_A-3.js";import{u as at}from"./DoJ5f6Ws.js";import"./m33bvc5D.js";import"./A4R0aFLU.js";const st={key:0,class:"text-center pa-10"},nt={key:1,class:"text-center pa-10"},rt={key:2},lt={key:0,class:"mb-6"},ut={class:"fullscreen-button-container"},dt=["src"],ct={class:"text-h3 property-street-address mb-3"},mt={class:"text-h6 property-address mb-0"},pt={key:0,class:"mls-status-row"},ft={key:1,class:"property-beds-baths ml-0 mt-0"},yt={key:0},gt={class:"font-weight-bold"},vt={key:1,class:"jost-regular-text"},_t={key:2},ht={class:"font-weight-bold"},bt={key:3,class:"jost-regular-text"},xt={key:4},kt={class:"font-weight-bold"},Lt={key:5},At={class:"d-flex align-center mb-4 mt-3 flex-wrap"},Nt={class:"property-price mr-4"},wt={key:0,class:"ml-2 price-change-indicator"},Pt={key:0,class:"price-reduction-text pfeifer-green"},St={key:1,class:"price-increase-text"},Ct={class:"listing-details-subheader mt-3 mb-4"},Mt={key:0,class:"detail-item"},Tt={key:1,class:"detail-item"},Bt={key:2,class:"detail-item"},It=["href"],Ft={key:2,class:"text-body-1 mb-6"},Dt={key:3,class:"text-body-1 text-grey mb-6"},Yt={class:"d-flex align-center mb-1"},$t={class:"text-overline key-detail-label"},zt={class:"text-subtitle-1 key-detail-value"},Ut={key:4,style:{height:"400px",width:"100%"}},Vt={key:5,class:"text-body-1 text-grey mb-6"},Rt={key:6},jt={key:0,class:"text-center py-4"},Ot={key:1,class:"text-center py-4"},Et={key:2,class:"community-section"},Ht={class:"community-image-container-full"},qt={class:"pa-4 d-flex flex-column community-info"},Gt={class:"text-h6 mb-2 community-name"},Kt={key:0,class:"text-subtitle-2 mb-3"},Qt=["innerHTML"],Xt={class:"d-flex flex-wrap mt-5 mb-4 w-100"},Jt={key:2,class:"mb-4 w-100"},Wt={class:"d-flex flex-wrap"},Zt={class:"d-flex justify-end mt-auto"},eo={key:3,class:"text-center py-4"},to={class:"text-body-2 text-grey"},oo={class:"text-subtitle-1 font-weight-bold pfeifer-cyan jost-regular-text mb-1"},io={key:0,class:"jost-regular-text text-body-2 mb-2"},ao={key:1,class:"jost-regular-text text-body-2 d-flex align-center mb-1"},so=["href"],no={key:2,class:"jost-regular-text text-body-2 d-flex align-center mb-3"},ro=["href"],lo={class:"mt-auto"},uo={key:1,class:"listing-courtesy mt-4"},co={key:3,class:"text-center pa-10"},oe="https://www.mysanibelrealestate.com",mo=Ve({__name:"[listingId]",async setup(po){let ie,ae;const ye=Re(),{NUXT_PUBLIC_GMAPS_API_KEY:fo}=je().public,{setNavbarOpaque:yo,setNavbarTransparent:ge}=Oe(),S=Ee(),V=He(),ve=it(),G=P(!0);let R=null;const K=P(!1),b=P(null),se=async e=>{const o=(e||"").toString().trim();if(!o){console.log("[Agent Match] No ListAgentMlsId on property"),b.value=null;return}try{console.log("[Agent Match] Using ListAgentMlsId =",o);const f=await ve.fetchAgentByMlsId(o);b.value=f,f?console.log("[Agent Match] Found agent:",f.id,f.name):console.log("[Agent Match] No agent found for agent_id",o)}catch(f){const h=f instanceof Error?f:new Error("Failed to fetch agent");console.error("[Agent Match] Error fetching agent by MLS ID:",h),b.value=null}},T=()=>{K.value=!0,_e()},_e=()=>{K.value&&(G.value=!1,R!==null&&clearTimeout(R),R=setTimeout(()=>{G.value=!0,K.value=!1,R=null},3e4))},p=P(null),Q=P(!1),X=P(null);qe(()=>{ge(),i.value?.SubdivisionName?(console.log("Property has subdivision:",i.value.SubdivisionName),he(i.value.SubdivisionName)):console.log("No subdivision found in property data")});async function he(e){try{Q.value=!0,X.value=null,console.log("Fetching community for subdivision:",e);const{data:o}=await S.from("communities").select("id, name, subdivision").limit(20);console.log("Available communities:",o);const{data:f,error:h}=await S.from("communities").select(`
2        id,
3        name,
4        slug,
5        description,
6        primary_image,
7        image_gallery,
8        friendly_location,
9        subdivision,
10        year_built,
11        units,
12        deeded_beach
13      `).eq("subdivision",e).maybeSingle();if(h)throw console.error("Error fetching community:",h),h;if(f){console.log("Found community by direct subdivision match:",f);const{data:y}=await S.from("community_to_amenity_links").select("amenity_id").eq("community_id",f?.id||"");let m=[];
13if(y&&y.length>0){const g=y.map(L=>L.amenity_id),{data:_}=await S.from("community_amenities").select("id, name").in("id",g);m=_||[]}p.value={...f,amenities:m},console.log("Community data set with amenities:",p.value)}else{console.log("No exact match, trying partial match");const{data:y,error:m}=await S.from("communities").select(`
14          id,
15          name,
16          slug,
17          description,
18          primary_image,
19          image_gallery,
20          friendly_location,
21          subdivision,
22          year_built,
23          units,
24          deeded_beach
25        `).ilike("subdivision",`%${e}%`).limit(1);if(m)throw console.error("Error in partial match:",m),m;if(y&&y.length>0){console.log("Found by partial match:",y[0]);const{data:g}=await S.from("community_to_amenity_links").select("amenity_id").eq("community_id",y[0]?.id||"");let _=[];if(g&&g.length>0){const L=g.map(w=>w.amenity_id),{data:N}=await S.from("community_amenities").select("id, name").in("id",L);_=N||[]}p.value={...y[0],amenities:_},console.log("Community data set with amenities (partial match):",p.value)}else if(e.toUpperCase().includes("BANYAN BAY")){console.log("Special case: Looking up BANYAN BAY directly by name");const{data:g,error:_}=await S.from("communities").select(`
26              id,
27              name,
28              slug,
29              description,
30              primary_image,
31              image_gallery,
32              friendly_location,
33              subdivision,
34              year_built,
35              units,
36              deeded_beach
37            `).eq("name","BANYAN BAY").maybeSingle();if(!_&&g){const{data:L}=await S.from("community_to_amenity_links").select("amenity_id").eq("community_id",g?.id||"");let N=[];if(L&&L.length>0){const w=L.map(I=>I.amenity_id),{data:B}=await S.from("community_amenities").select("id, name").in("id",w);N=B||[]}p.value={...g,amenities:N},console.log("Found BANYAN BAY community by direct name lookup:",p.value)}else console.log("No community found for BANYAN BAY"),p.value=null}else console.log("No community found for subdivision:",e),p.value=null}}catch(o){console.error("Error fetching community data:",o),X.value=o instanceof Error?o:new Error("Unknown error")}finally{Q.value=!1}}const j=e=>typeof e=="boolean"?e?"Yes":"No":"N/A",Y=e=>Array.isArray(e)?e.join(", "):typeof e=="string"&&e.trim()!==""?e:"N/A",be=e=>typeof e=="number"?`$${e.toLocaleString()}`:"N/A",ne=(e,o)=>typeof e!="number"||typeof o!="number"?0:Math.abs(e-o),re=e=>e?`on ${new Date(e).toLocaleDateString(void 0,{month:"numeric",day:"numeric"})}`:"",xe=e=>e?new Date(e).toLocaleDateString(void 0,{year:"numeric",month:"long",day:"numeric"}):"N/A",le=C(()=>{if(!i.value)return[];const e=i.value,o=[];e.ListPrice&&o.push({label:"Price",value:E(e.ListPrice),icon:"mdi-currency-usd"}),e.BedroomsTotal&&o.push({label:"Bedrooms",value:e.BedroomsTotal,icon:"mdi-bed-king-outline"});const f=J.value;f&&o.push({label:"Bathrooms",value:f,icon:"mdi-shower"}),e.LivingArea&&o.push({label:"Living Area",value:`${e.LivingArea.toLocaleString()} SqFt`,icon:"mdi-floor-plan"}),e.YearBuilt&&o.push({label:"Year Built",value:e.YearBuilt,icon:"mdi-calendar-check"}),e.LotSizeAcres&&o.push({label:"Lot Size",value:`${e.LotSizeAcres} Acres`,icon:"mdi-image-filter-hdr"}),e.PropertyType&&o.push({label:"Property Type",value:e.PropertyType,icon:"mdi-home"}),e.PropertySubType&&o.push({label:"Property Subtype",value:e.PropertySubType,icon:"mdi-home-variant"}),e.CountyOrParish&&o.push({label:"County",value:e.CountyOrParish,icon:"mdi-map-marker-radius"}),e.SubdivisionName&&o.push({label:"Subdivision",value:e.SubdivisionName,icon:"mdi-home-group"});let h=j(e.PoolPrivateYN);const y=Y(e.PoolFeatures);e.PoolPrivateYN&&y!=="N/A"?h+=` (${y})`:(!e.PoolPrivateYN&&y!=="N/A"||y!=="N/A"&&h==="N/A")&&(h=y),(h!=="N/A"||y!=="N/A")&&o.push({label:"Pool",value:h,icon:"mdi-pool"});let m=j(e.CoolingYN);const g=Y(e.Cooling);e.CoolingYN&&g!=="N/A"?m+=` (${g})`:g!=="N/A"&&(m=g),(m!=="N/A"||g!=="N/A")&&o.push({label:"Cooling",value:m,icon:"mdi-snowflake"});let _=j(e.HeatingYN);const L=Y(e.Heating);e.HeatingYN&&L!=="N/A"?_+=` (${L})`:L!=="N/A"&&(_=L),(_!=="N/A"||L!=="N/A")&&o.push({label:"Heating",value:_,icon:"mdi-fire"});let N=j(e.FireplaceYN);e.FireplaceYN&&e.FireplacesTotal?N+=` (${e.FireplacesTotal} total)`:e.FireplacesTotal&&(N=`${e.FireplacesTotal} total`),(N!=="N/A"||e.FireplacesTotal)&&o.push({label:"Fireplace",value:N,icon:"mdi-fireplace"});const w=Y(e.Flooring);w!=="N/A"&&o.push({label:"Flooring",value:w,icon:"mdi-layers-outline"});const B=Y(e.Roof);if(B!=="N/A"&&o.push({label:"Roof",value:B,icon:"mdi-home-roof"}),e.TaxAnnualAmount){let I=be(e.TaxAnnualAmount);e.TaxYear&&(I+=` (Year: ${e.TaxYear})`),o.push({label:"Taxes (Annual)",value:I,icon:"mdi-calculator"})}else e.TaxYear&&o.push({label:"Tax Year",value:e.TaxYear,icon:"mdi-calculator"});return o}
37),J=C(()=>{if(!i.value)return 0;const e=i.value.BathroomsFull||0,o=i.value.BathroomsHalf||0;return e+o*.5}),ue=P(ye.params.listingId),A=P(0),$=P(!1),W=C(()=>i.value&&i.value.Media&&i.value.Media[A.value]?i.value.Media[A.value].MediaURL:"");function ke(e){i.value&&i.value.Media&&typeof i.value.Media[e]<"u"?(A.value=e,$.value=!0,console.log(`Opening fullscreen for image index: ${e}, URL: ${i.value.Media[e].MediaURL}`)):console.error("Cannot open fullscreen: Invalid index or media not available.")}function Le(){i.value&&i.value.Media&&i.value.Media.length>0&&(A.value=(A.value+1)%i.value.Media.length)}function Ae(){i.value&&i.value.Media&&i.value.Media.length>0&&(A.value=(A.value-1+i.value.Media.length)%i.value.Media.length)}const Ne=C(()=>i.value?.StandardStatus?i.value.StandardStatus==="Active"?"For Sale":i.value.StandardStatus:""),we=C(()=>{if(!i.value?.StandardStatus)return"mdi-information-outline";switch(i.value.StandardStatus){case"Active":return"mdi-check-circle-outline";case"Pending":return"mdi-clock-outline";case"ActiveUnderContract":return"mdi-file-document-edit-outline";case"Sold":return"mdi-currency-usd-off";case"Leased":return"mdi-key-variant";default:return"mdi-information-outline"}}),Pe=C(()=>
37{if(!i.value?.StandardStatus)return"grey-darken-3";switch(i.value.StandardStatus){case"Active":return"green-darken-1";case"Pending":return"orange-darken-1";case"ActiveUnderContract":return"blue-grey-darken-1";case"Closed":return"red-darken-2";default:return"grey-darken-3"}}),i=P(null),O=P(!0),z=P(null);tt(()=>O.value||z.value?null:i.value);const Z=C(()=>i.value?V.constructAddress(i.value):""),de=async()=>{O.value=!0,z.value=null;try{const e=await V.fetchPropertyById(ue.value);i.value=e,i.value&&!i.value.Address&&(i.value.Address=V.constructAddress(i.value)),await se(i.value?.ListAgentMlsId||null)}catch(e){z.value=e,console.error("Error fetching property:",e)}finally{O.value=!1}};fe(ue,()=>{de()}),fe(()=>i.value?.ListAgentMlsId,e=>{se(e||null)}),[ie,ae]=Ge(()=>at("property-detail",()=>de())),await ie,ae();const ce=C(()=>i.value?`${oe}/properties/${i.value.ListingId}`:oe);Ke({script:[{type:"application/ld+json",innerHTML:JSON.stringify((()=>{if(!i.value)return{};const e=i.value,o={"@type":"PostalAddress",streetAddress:Z.value||"",addressLocality:e.City||"",addressRegion:e.StateOrProvince||"",postalCode:e.PostalCode||""},f=e.Latitude&&e.Longitude?{"@type":"GeoCoordinates",latitude:e.Latitude,longitude:e.Longitude}:void 0,h=e.Media&&e.Media.length>0?e.Media[0].MediaURL:void 0,y={"@type":"Offer",url:ce.value,price:typeof e.ListPrice=="number"?e.ListPrice:void 0,priceCurrency:"USD",availability:"https://schema.org/InStock",availabilityStarts:e.ListingContractDate||void 0,priceValidUntil:e.ModificationTimestamp?new Date(new Date(e.ModificationTimestamp).getTime()+720*60*60*1e3).toISOString():void 0,seller:{"@type":"Organization",name:"Pfeifer Realty Group",url:oe}},m=(()=>{const _=(e.PropertySubType||e.PropertyType||"").toString().toLowerCase();return _.includes("condo")?"Condominium":_.includes("townhouse")?"Townhouse":_.includes("manufactured")?"MobileHome":_.includes("land")?"Land":_.includes("commercial")?"CommercialProperty":"SingleFamilyResidence"})(),g=typeof e.BathroomsTotalInteger=="number"?e.BathroomsTotalInteger:(e.BathroomsFull||0)+(e.BathroomsHalf||0)*.5;return{"@context":"https://schema.org","@type":"RealEstateListing",name:Z.value||"Property",url:ce.value,image:h,address:o,geo:f,datePosted:e.ListingContractDate||e.ModificationTimestamp||void 0,dateModified:e.ModificationTimestamp||void 0,identifier:e.ListingId||void 0,description:e.PublicRemarks||void 0,itemOffered:{"@type":m,name:Z.value||"Property",numberOfRooms:e.BedroomsTotal||void 0,numberOfBedrooms:e.BedroomsTotal||void 0,numberOfBathroomsTotal:g||void 0,floorSize:e.LivingArea?{"@type":"QuantitativeValue",value:e.LivingArea,unitCode:"FTK"}:void 0,address:o},offers:y,listingAgent:e.ListAgentFullName?{"@type":"Person",name:e.ListAgentFullName,identifier:e.ListAgentMlsId||void 0}:void 0}})())}]});const E=e=>e==null?"N/A":e.toLocaleString(),Se=(e,o)=>{if(!e)return"";if(e.length<=o)return e;const f=document.createElement("div");return f.innerHTML=e,(f.textContent||f.innerText||"").length<=o?e:e.substring(0,o)+"..."};return(e,o)=>{const f=x("v-progress-circular"),h=x("v-alert"),y=x("v-row"),m=x("v-icon"),g=x("v-btn"),_=x("v-carousel-item"),L=x("v-carousel"),N=x("v-img"),w=x("v-card"),B=x("v-slide-group-item"),I=x("v-slide-group"),Ce=x("v-sheet"),Me=x("v-dialog"),F=x("v-chip"),H=x("v-divider"),D=x("v-col"),Te=ze,Be=Ue,Ie=$e,Fe=Je,De=Ze,me=x("v-container");return a(),k(me,{fluid:"",class:"property-detail-page pa-0 ma-0 mt-n16"},{default:n(()=>[t(O)?(a(),r("div",st,[s(f,{indeterminate:"",color:"primary"}),o[6]||(o[6]=l("p",{class:"mt-4"},"Loading property details...",-1))])):t(z)?(a(),r("div",nt,[s(h,{type:"error",text:`Error loading property: ${t(z).message||"Unknown error"}`},null,8,["text"])])):t(i)?(a(),r("div",rt,[t(i).Media&&t(i).Media.length>0?(a(),r("div",lt,[s(L,{modelValue:t(A),"onUpdate:modelValue":o[0]||(o[0]=v=>ee(A)?A.value=v:null),height:"400","show-arrows":"hover","hide-delimiters":"",class:"property-image-carousel",cycle:t(G),interval:"7000",transition:"fade-transition","reverse-transition":"fade-transition","onClick:prev":T,"onClick:next":T},{default:n(()=>[(a(!0),r(U,null,q(t(i).Media,(v,M)=>(a(),k(_,{key:M,src:v.MediaURL,cover:""},{placeholder:n(()=>[s(y,{class:"fill-height ma-0",align:"center",justify:"center"},{default:n(()=>[s(f,{indeterminate:"",color:"grey-lighten-5"})]),_:1})]),default:n(()=>[l("div",ut,[s(g,{icon:"",variant:"flat",size:"small",color:"rgba(0,0,0,0.4)",onClick:te(pe=>ke(M),["stop"]),class:"ma-2"},{default:n(()=>[s(m,{color:"white"},{default:n(()=>[...o[7]||(o[7]=[c("mdi-fullscreen",-1)])]),_:1})]),_:1},8,["onClick"])])]),_:2}
37,1032,["src"]))),128))]),_:1},8,["modelValue","cycle"]),t(i).Media.length>1?(a(),k(I,{key:0,modelValue:t(A),"onUpdate:modelValue":o[1]||(o[1]=v=>ee(A)?A.value=v:null),class:"mt-2 property-image-thumbnails","center-active":"","show-arrows":"",onClick:T},{default:n(()=>[(a(!0),r(U,null,q(t(i).Media,(v,M)=>(a(),k(B,{key:M},{default:n(({isSelected:pe,toggle:Ye})=>[s(w,{class:Qe(["ma-1",{"thumbnail-selected":pe}]),height:"75",width:"100",onClick:Ye,ripple:"",hover:""},{default:n(()=>[s(N,{src:v.MediaURL,height:"75",width:"100",cover:"",class:"thumbnail-image",alt:`Property image ${M+1}`,onClick:T},{placeholder:n(()=>[s(y,{class:"fill-height ma-0",align:"center",justify:"center"},{default:n(()=>[s(f,{indeterminate:"",size:"20",color:"grey-lighten-5"})]),_:1})]),_:1},8,["src","alt"])]),_:2},1032,["class","onClick"])]),_:2},1024))),128))]),_:1},8,["modelValue"])):u("",!0)])):(a(),k(Ce,{key:1,height:"300",class:"d-flex align-center justify-center bg-grey-lighten-2 mb-6"},{default:n(()=>[...o[8]||(o[8]=[l("h3",{class:"text-h6 text-grey"},"No images available for this property.",-1)])]),_:1})),s(Me,{modelValue:t($),"onUpdate:modelValue":o[5]||(o[5]=v=>ee($)?$.value=v:null),fullscreen:"","hide-overlay":"",transition:"fade-transition"},{default:n(()=>[s(w,{color:"black",height:"100vh",width:"100vw",class:"d-flex align-center justify-center pa-0 ma-0",tile:""},{default:n(()=>[s(Xe,{name:"fade-image",mode:"out-in"},{default:n(()=>[t(W)?(a(),r("img",{key:t(W),src:t(W),style:{"max-width":"100%","max-height":"100%","object-fit":"contain",display:"block"},alt:"Fullscreen Property Image"},null,8,dt)):u("",!0)]),_:1}),t(i)&&t(i).Media&&t(i).Media.length>1?(a(),r(U,{key:0},[s(g,{icon:"mdi-chevron-left",onClick:o[2]||(o[2]=te(v=>{Ae(),T()},["stop"])),style:{position:"absolute",left:"20px",top:"50%",transform:"translateY(-50%)","z-index":"1001","background-color":"rgba(0,0,0,0.3)","border-radius":"50%"},color:"white",variant:"text",size:"large"}),s(g,{icon:"mdi-chevron-right",onClick:o[3]||(o[3]=te(v=>{Le(),T()},["stop"])),style:{position:"absolute",right:"20px",top:"50%",transform:"translateY(-50%)","z-index":"1001","background-color":"rgba(0,0,0,0.3)","border-radius":"50%"},color:"white",variant:"text",size:"large"})],64)):u("",!0)]),_:1}),s(g,{icon:"mdi-close",color:"white",variant:"text",onClick:o[4]||(o[4]=v=>$.value=!1),style:{position:"absolute",top:"20px",right:"20px","z-index":"1000","background-color":"rgba(0,0,0,0.3)","border-radius":"50%"}})]),_:1},8,["modelValue"]),s(me,null,{default:n(()=>[s(y,null,{default:n(()=>[s(D,{cols:"12",md:"8"},{default:n(()=>[l("h1",ct,d(t(i)?t(V).constructAddress(t(i)):""),1),l("h2",mt,d(t(i).City)+", "+d(t(i).StateOrProvince)+" "+d(t(i).PostalCode),1),t(i).StandardStatus?(a(),r("div",pt,[s(F,{color:t(Pe),label:"",size:"large",class:"mls-status-chip text-white"},{default:n(()=>[s(m,{start:"",icon:t(we)},null,8,["icon"]),c(" "+d(t(Ne)),1)]),_:1},8,["color"])])):u("",!0),t(i).LivingArea||t(i).BedroomsTotal||t(i).totalBathroomsDisplay?(a(),r("div",ft,[t(i).LivingArea?(a(),r("span",yt,[l("span",gt,d(E(t(i).LivingArea)),1),o[9]||(o[9]=l("span",{class:"jost-regular-text"}," sq ft",-1))])):u("",!0),t(i).LivingArea&&(t(i).BedroomsTotal||t(i).totalBathroomsDisplay)?(a(),r("span",vt," | ")):u("",!0),t(i).BedroomsTotal?(a(),r("span",_t,[l("span",ht,d(t(i).BedroomsTotal),1),o[10]||(o[10]=l("span",{class:"jost-regular-text"}," beds",-1))])):u("",!0),t(i).BedroomsTotal&&t(i).totalBathroomsDisplay?(a(),r("span",bt," | ")):u("",!0),t(J)?(a(),r("span",xt,[o[11]||(o[11]=l("span",{class:"jost-regular-text"}," | ",-1)),l("span",kt,d(t(J)),1),o[12]||(o[12]=l("span",{class:"jost-regular-text"}," baths",-1))])):t(i).BathroomsFull||t(i).BathroomsHalf||t(i).BathroomsTotalInteger?u("",!0):(a(),r("span",Lt))])):u("",!0),l("div",At,[l("span",Nt,"$"+d(t(i).ListPrice?.toLocaleString()),1),t(i).PreviousListPrice&&t(i).PriceChangeTimestamp&&t(i).PreviousListPrice!==t(i).ListPrice?(a(),r("div",wt,[t(i).PreviousListPrice>t(i).ListPrice?(a(),r("span",Pt,[o[14]||(o[14]=c(" (",-1)),s(m,{small:"",color:"green"},{default:n(()=>[...o[13]||(o[13]=[c("mdi-arrow-down",-1)])]),_:1}),c(" $"+d(E(ne(t(i).PreviousListPrice,t(i).ListPrice)))+" "+d(re(t(i).PriceChangeTimestamp))+") ",1)])):u("",!0),t(i).ListPrice>
37t(i).PreviousListPrice?(a(),r("span",St,[o[16]||(o[16]=c(" (",-1)),s(m,{small:"",color:"orange darken-2"},{default:n(()=>[...o[15]||(o[15]=[c("mdi-arrow-up",-1)])]),_:1}),c(" $"+d(E(ne(t(i).PreviousListPrice,t(i).ListPrice)))+" "+d(re(t(i).PriceChangeTimestamp))+") ",1)])):u("",!0)])):u("",!0)]),l("div",Ct,[t(i).ListingContractDate?(a(),r("div",Mt,[s(m,{small:"",left:"",class:"mr-1"},{default:n(()=>[...o[17]||(o[17]=[c("mdi-calendar-month",-1)])]),_:1}),c(" Listed: "+d(xe(t(i).ListingContractDate)),1)])):u("",!0),t(i).ListingId?(a(),r("div",Tt,[s(m,{small:"",left:"",class:"mr-1"},{default:n(()=>[...o[18]||(o[18]=[c("mdi-pound",-1)])]),_:1}),c(" MLS#: "+d(t(i).ListingId),1)])):u("",!0),t(i).VirtualTourURLUnbranded?(a(),r("div",Bt,[l("a",{href:t(i).VirtualTourURLUnbranded,target:"_blank",rel:"noopener noreferrer",class:"text-decoration-none"},[s(g,{variant:"text",color:"primary",size:"small",class:"pa-0",style:{"min-width":"auto"}},{default:n(()=>[s(m,{left:"",small:"",class:"mr-1"},{default:n(()=>[...o[19]||(o[19]=[c("mdi-virtual-reality",-1)])]),_:1}),o[20]||(o[20]=c(" Virtual Tour ",-1))]),_:1})],8,It)])):u("",!0)]),s(H,{class:"my-6"}),o[34]||(o[34]=l("h3",{class:"text-h5 mb-2"},"Property Description",-1)),t(i).PublicRemarks?(a(),r("p",Ft,d(t(i).PublicRemarks),1)):(a(),r("p",Dt," No description available. ")),s(H,{class:"my-6"}),o[35]||(o[35]=l("h3",{class:"text-h5 mb-4"},"Key Details",-1)),s(y,null,{default:n(()=>[(a(!0),r(U,null,q(t(le),(v,M)=>(a(),k(D,{key:M,cols:"12",sm:"6",md:"4"},{default:n(()=>[s(w,{flat:"",border:"",class:"pa-3 fill-height key-detail-card"},{default:n(()=>[l("div",Yt,[v.icon?(a(),k(m,{key:0,small:"",left:"",class:"mr-2 key-detail-icon"},{default:n(()=>[c(d(v.icon),1)]),_:2},1024)):u("",!0),l("div",$t,d(v.label),1)]),l("div",zt,d(v.value),1)]),_:2},1024)]),_:2},1024))),128)),!t(le).length&&t(i)?(a(),k(D,{key:0,cols:"12"},{default:n(()=>[...o[21]||(o[21]=[l("p",{class:"text-body-1 text-grey"},"No key details available for this property.",-1)])]),_:1})):u("",!0)]),_:1}),s(H,{class:"my-6"}),o[36]||(o[36]=l("h3",{class:"text-h5 mb-4"},"Location",-1)),t(i)&&typeof t(i).Latitude=="number"&&typeof t(i).Longitude=="number"?(a(),r("div",Ut,[s(Ie,{ref:"map",zoom:15,center:[t(i).Latitude,t(i).Longitude],useGlobalLeaflet:!1},{default:n(()=>[s(Te,{url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}),s(Be,{"lat-lng":[t(i).Latitude,t(i).Longitude]},null,8,["lat-lng"])]),_:1},8,["center"])])):(a(),r("div",Vt," Map data is not available for this property. ")),s(H,{class:"my-6"}),t(i).SubdivisionName?(a(),r("div",Rt,[o[33]||(o[33]=l("h3",{class:"text-h5 mb-4"},"Community",-1)),t(Q)?(a(),r("div",jt,[s(f,{indeterminate:"",color:"primary",size:"32"}),o[22]||(o[22]=l("p",{class:"mt-2"},"Loading community information...",-1))])):t(X)?(a(),r("div",Ot,[...o[23]||(o[23]=[l("p",{class:"text-body-2 text-grey"},"Unable to load community information.",-1)])])):t(p)?(a(),r("div",Et,[s(w,{variant:"outlined",class:"mb-4 community-card",border:"1px solid rgba(0, 0, 0, 0.12)"},{default:n(()=>[l("div",Ht,[s(N,{src:t(p).primary_image||"/assets/images/placeholder-community.jpg",height:"250",cover:"",class:"community-image"},null,8,["src"])]),l("div",qt,[l("h4",Gt,d(t(p).name),1),t(p).friendly_location?(a(),r("p",Kt,[s(m,{size:"small",class:"mr-1"},{default:n(()=>[...o[24]||(o[24]=[c("mdi-map-marker",-1)])]),_:1}),c(" "+d(t(p).friendly_location),1)])):u("",!0),t(p).description?(a(),r("div",{key:1,class:"text-body-2 mb-4",innerHTML:Se(t(p).description,1500)},null,8,Qt)):u("",!0),o[32]||(o[32]=l("p",{class:"text-subtitle-2 mb-2"},"Community Features:",-1)),l("div",Xt,[t(p).year_built?(a(),k(F,{key:0,size:"small",color:"green-lighten-4",variant:"elevated",class:"mr-2 mb-2 amenity-chip"},{default:n(()=>[s(m,{start:"",size:"small"},{default:n(()=>[...o[25]||(o[25]=[c("mdi-calendar",-1)])]),_:1}),c(" Built "+d(t(p).year_built),1)]),_:1})):u("",!0),t(p).units?(a(),k(F,{key:1,size:"small",color:"green-lighten-4",variant:"elevated",class:"mr-2 mb-2 amenity-chip"},{default:n(()=>[s(m,{start:"",size:"small"},{default:n(()=>[...o[26]||(o[26]=[c("mdi-home-group",-1)])]),_:1}),c(" "+d(t(p).units)+" Units ",1)]),_:1})):u("",!0),t(p).deeded_beach?(a(),k(F,{key:2,size:"small",color:"green-lighten-4",variant:"elevated",class:"mr-2 mb-2 amenity-chip"},{default:n(()=>[s(m,{start:"",size:"small"},{default:n(()=>[...o[27]||(o[27]=[c("mdi-beach",-1)])]),_:1}
37),o[28]||(o[28]=c(" Deeded Beach Access ",-1))]),_:1})):u("",!0)]),t(p).amenities&&Array.isArray(t(p).amenities)&&t(p).amenities.length>0?(a(),r("div",Jt,[o[29]||(o[29]=l("p",{class:"text-subtitle-2 mb-2"},"Amenities:",-1)),l("div",Wt,[(a(!0),r(U,null,q(t(p).amenities.slice(0,3),v=>(a(),k(F,{key:v.id,size:"small",color:"green-lighten-4",variant:"elevated",class:"mr-2 mb-2 amenity-chip"},{default:n(()=>[c(d(v.name),1)]),_:2},1024))),128)),t(p).amenities.length>3?(a(),k(F,{key:0,size:"small",color:"grey-lighten-2",variant:"elevated",class:"mr-2 mb-2 amenity-chip"},{default:n(()=>[c(" +"+d(t(p).amenities.length-3)+" more ",1)]),_:1})):u("",!0)])])):u("",!0),l("div",Zt,[t(p).slug?(a(),k(g,{key:0,to:`/communities/${t(p).slug}`,color:"primary",variant:"text",class:"px-0"},{default:n(()=>[o[31]||(o[31]=c(" VIEW COMMUNITY ",-1)),s(m,{end:""},{default:n(()=>[...o[30]||(o[30]=[c("mdi-arrow-right",-1)])]),_:1})]),_:1},8,["to"])):u("",!0)])])]),_:1})])):(a(),r("div",eo,[l("p",to,"No community information available for "+d(t(i).SubdivisionName)+".",1)]))])):u("",!0)]),_:1}),s(D,{cols:"12",md:"4"},{default:n(()=>[t(b)?(a(),k(w,{key:0,class:"mb-6",border:"",elevation:"0"},{default:n(()=>[s(y,{"no-gutters":""},{default:n(()=>[s(D,{cols:"4"},{default:n(()=>[s(N,{src:t(et)(t(b))||"",alt:t(b).name||"Agent photo",height:"100%",cover:""},null,8,["src","alt"])]),_:1}),s(D,{cols:"8",class:"pa-4 d-flex flex-column"},{default:n(()=>[l("div",oo,d(t(b).name),1),t(b).title?(a(),r("div",io,d(t(b).title),1)):u("",!0),t(b).phone?(a(),r("div",ao,[s(m,{size:"small",class:"mr-1"},{default:n(()=>[...o[37]||(o[37]=[c("mdi-phone",-1)])]),_:1}),l("a",{href:`tel:${t(b).phone}`},d(t(b).phone),9,so)])):u("",!0),t(b).email?(a(),r("div",no,[s(m,{size:"small",class:"mr-1"},{default:n(()=>[...o[38]||(o[38]=[c("mdi-email",-1)])]),_:1}),l("a",{href:`mailto:${t(b).email}`},d(t(b).email),9,ro)])):u("",!0),l("div",lo,[t(b).slug?(a(),k(Fe,{key:0,to:`/about/meet-our-agents/${t(b).slug}`,class:"jost-regular-text text-primary text-decoration-none pfeifer-cyan"},{default:n(()=>[o[40]||(o[40]=c(" View full profile ",-1)),s(m,{size:"small",class:"ml-1"},{default:n(()=>[...o[39]||(o[39]=[c("mdi-arrow-right",-1)])]),_:1})]),_:1},8,["to"])):u("",!0)])]),_:1})]),_:1})]),_:1})):u("",!0),s(ot,{"property-address":t(i)?`${t(i).StreetNumber||""} ${t(i).StreetName||""}, ${t(i).City||""}, ${t(i).StateOrProvince||""} ${t(i).PostalCode||""}`:"","property-mls-id":t(i)&&t(i).ListingId||""},null,8,["property-address","property-mls-id"]),s(De,{title:"Featured Articles","max-items":6,"max-height":"800px","featured-only":!0,class:"mb-4"}),t(i)&&t(i).ListOfficeMlsId!=="PRG"&&(t(i).ListAgentFullName||t(i).ListOfficeName)?(a(),r("div",uo," Listing courtesy of: "+d(t(i).ListAgentFullName||"N/A")+", "+d(t(i).ListOfficeName||"N/A"),1)):u("",!0)]),_:1})]),_:1})]),_:1}),o[41]||(o[41]=l("div",{class:"idx-disclaimer mt-6 mb-2"}," IDX information is provided exclusively for consumers’ personal, non-commercial use and that it may not be used for any purpose other than to identify prospective properties consumers may be interested in purchasing. Information deemed reliable but not guaranteed to be accurate. Listing information updated daily. ",-1))])):(a(),r("div",co,[s(h,{type:"warning",text:"Property data could not be loaded or property not found."})]))]),_:1})}}}),wo=We(mo,[["__scopeId","data-v-2825d97e"]]);export{wo 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.