"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),(()=>{const t=exports.los,a=document.querySelector("#form--searchFilters"),e=document.querySelector("#container--searchResults"),s=Number.parseInt(document.querySelector("#searchFilter--limit").value,10),c=document.querySelector("#searchFilter--offset");function n(a){var c,n,l,i,d,p,u,h,y,f,v,m;if(0===a.lotOccupancies.length)return void(e.innerHTML=`
`);const g=document.createElement("tbody"),L=cityssm.dateToString(new Date);for(const e of a.lotOccupancies){let a="";a=e.occupancyStartDateString<=L&&(""===e.occupancyEndDateString||e.occupancyEndDateString>=L)?`\n \n `:e.occupancyStartDateString>L?`\n \n `:`\n \n `;let s="";for(const t of e.lotOccupancyOccupants)s+=' '+cityssm.escapeHTML(null!==(l=t.occupantName)&&void 0!==l?l:"")+"| \n | ${t.escapedAliases.Occupancy} Type | \n${t.escapedAliases.Lot} | \n${t.escapedAliases.OccupancyStartDate} | \nEnd Date | \n${t.escapedAliases.Occupants} | \nFees and Transactions | \n
|---|