PageSourceSearch

https://app.interval-soft.com/431.2bbe50332fb931fc.js

js interval-soft.com collected 2026-10-04 09:12:29 UTC 65,609 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmetronic=self.webpackChunkmetronic||[]).push([[431],{3967:(k,P,o)=>{o.d(P,{l:()=>I});var n=o(92340),b=o(86942),l=o(22560),m=o(58987),a=o(68892),C=o(47465);let I=(()=>{const p=class{constructor(i,c,y){this.http=i,this.authService=c,this.subDomainService=y}fetchListing(){return this.http.get(n.N.baseApiUrl+`api/v2/${this.subDomainService.subDomain}/property-sub-types/listing`,{headers:this.authService.getAuthHeaders()}).pipe((0,b.U)(i=>i.data))}};let u=p;return p.\u0275fac=function(c){return new(c||p)(l.LFG(m.eN),l.LFG(a.O),l.LFG(C.$))},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),u})()},84005:(k,P,o)=>{o.d(P,{TQ:()=>v,jG:()=>e,XW:()=>r});var n=o(34929),b=o(28945),l=o(92852),m=o(59095),a=o(86942),C=o(61745),I=o(80199),u=o(92938),p=o(94415),d=o(14774),i=o(22560),c=o(58987),y=o(92340),h=o(90607),A=o(68892),O=o(47465);let D=(()=>{const t=class{constructor(T,g,N){this.http=T,this.authService=g,this.subDomainService=N}fetch(T){return this.http.get(y.N.baseApiUrl+`api/v2/${this.subDomainService.subDomain}/valuation-process/${T}`,{headers:this.authService.getAuthHeaders()}).pipe((0,a.U)(g=>({data:g.data,selectedComparables:g.data.selected_comparables.map(N=>(0,h.oJ)(N)),targetProperty:(0,h.RF)(g.meta.targetProperty),valuation:g.meta.valuation,additional:g.meta.additional,assumptionDepartures:g.meta.assumptionDepartures,vpga10Matters:g.meta.vpga10_matters,sers:g.meta.sers,notes:g.meta.notes,propertySubTypeIds:g.meta.property_sub_types})))}loadComparables(T){const g=this.authService.getAuthHeaders();return this.http.post(y.N.baseApiUrl+`api/v2/${this.subDomainService.subDomain}/valuation-process/comparables`,{filter:T},{headers:g}).pipe((0,a.U)(f=>f.data),(0,a.U)(f=>f.map(_=>(0,h.BZ)(_)).filter(_=>null!=_)))}loadFullComparables(T){const g=this.authService.getAuthHeaders(),N=y.N.baseApiUrl+`api/v2/${this.subDomainService.subDomain}/valuation-process/full-comparables`,f=(new c.LE).set("refNums",T.join(","));return this.http.get(N,{headers:g,params:f}).pipe((0,a.U)(_=>_.data),(0,a.U)(_=>_.map(E=>(0,h.oJ)(E)).filter(E=>null!=E)))}storeData(T,g,N){return this.http.post(y.N.baseApiUrl+`api/v2/${this.subDomainService.subDomain}/valuation-process/${T}`,{...N,isComplete:g},{headers:this.authService.getAuthHeaders()})}};let s=t;return t.\u0275fac=function(g){return new(g||t)(i.LFG(c.eN),i.LFG(A.O),i.LFG(O.$))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),s})();var w=o(725),z=o(94666);const M=class{constructor(t,G,T,g){this.actions=t,this.service=G,this.store=T,this.location=g,this.requestValuationProcessData$=this.actions.pipe((0,b.l4)(l.mu),(0,m.w)(({valuationId:N})=>this.service.fetch(N).pipe((0,a.U)(f=>{return l.KC({valuationProcess:{kind:"income",data:{selectedConsiderations:(s=f.data.selected_ref_nums,s.filter(t=>null!==t.selected_tenure_id).map(t=>({refNum:t.ref_num,id:t.selected_tenure_id}))),comparables:W(f.selectedComparables),leases:x(f.data.leases),propertyRevenues:F(f.data.property_revenues),valuationLeaseType:"capitalisation-method",comparableHeadlineToEffectives:$(f.data.comparable_headline_to_effectives),valuationDate:f.data.income_valuation&&f.data.income_valuation.valuation_date?new Date(f.data.income_valuation.valuation_date):null}},targetProperty:f.targetProperty,valuation:f.valuation,additional:f.additional,assumptionDepartures:e(f.assumptionDepartures),vpga10Matters:r(f.vpga10Matters),sers:f.sers,notes:L(f.notes),propertySubTypeIds:f.propertySubTypeIds,fullComparables:f.selectedComparables});var s})))),this.loadComparables$=this.actions.pipe((0,b.l4)(l.as),(0,m.w)(({filter:N})=>this.service.loadComparables(N).pipe((0,a.U)(f=>l.H7({items:f}))))),this.loadFullComparables$=this.actions.pipe((0,b.l4)(l.TO),(0,m.w)(({refNums:N})=>this.service.loadFullComparables(N).pipe((0,a.U)(f=>l.OB({items:f}))))),this.addedComparableRequested$=this.actions.pipe((0,b.l4)(l.LU),(0,m.w)(({refNum:N})=>this.service.loadFullComparables([N]).pipe((0,a.U)(f=>l.pg({item:f[0]}))))),this.storeData$=this.actions.pipe((0,b.l4)(l.xG),(0,C.M)(this.store.select(I.iv)),(0,m.w)(([N,f])=>this.service.storeData(f.valuation.valuationId,N.isComplete,function B(s){const t="income"===s.valuationProcess.kind?s.valuationProcess.data.leases:[],G="income"===s.valuationProcess.kind?s.valuationProcess.data.propertyRevenues:[],T="income"===s.valuationProcess.kind?s.valuationProcess.data.selectedConsiderations:[],g="income"===s.valuationProcess.kind?function H(s){return u.flatten(Object.values(s.data.comparables))}(s.valuationProcess):[],N=[];u.each(s.notes.entities,S=>N.push(S));const f=[];u.each(s.assumptionDeparture.default.entities,S=>f.push(S));const _=[];u.each(s.assumptionDeparture.special.entities,S=>_.push(S));const E=[];u.each(s.assumptionDeparture.departure.entities,S=>E.push(S));const Y=[];u.each(s.vpga10Matters.entities,S=>Y.push(S));const K=[];return u.each(s.srer.entities,S=>K.push(S)),{targetPropertyId:s.targetProperty.id,notes:N,leases:t.map(S=>({...S,startDate:(0,p.v)(S.startDate),subLease:S.subLease?{...S.subLease,startDate:(0,p.v)(S.subLease.startDate)}:null})),propertyRevenues:G.map(S=>({...S,startDate:(0,p.v)(S.startDate),subLease:S.subLease?{...S.subLease,startDate:(0,p.v)(S.subLease.startDate)}:null})),valuationDate:"income"===s.valuationProcess.kind?(0,p.v)(s.valuationProcess.data.valuationDate):null,selectedConsiderations:T,assumptionTabData:{assumptionDeparture:[...f,..._,...E],vpga10Matters:Y,sers:K},propertySubTypes:s.selectedPropertySubTypes,refNums:g.map(S=>S.refNum),comparableHeadlineEffectives:"income"===s.valuationProcess.kind?s.valuationProcess.data.comparableHeadlineToEffectives:[]}}(f)).pipe((0,a.U)(_=>(this.location.back(),l.vm({success:!0}))))))}};let v=M;function F(s){return s.map(t=>(0,d.ju)(t))}function x(s){return s.map(t=>(0,d.Hg)(t))}function $(s){return s.map(t=>({refNum:t.ref_num,meta:{mainMethod:t.main_method,subMethod:t.sub_method,targetRate:t.target_rate,targetRateJustification:t.target_rate_justification,capitalRate:t.capital_rate,capitalRateJustification:t.capital_rate_justification,growthRate:t.growth_rate,growthRateJustification:t.growth_rate_justification,effectiveRentJustification:t.effective_rent_justification,main:1==t.main,index:t.index}}))}function W(s){return s.reduce((t,G)=>({...t,[G.propertySubType]:[...t[G.propertySubType],G]}),{Apartment:[],House:[],Land:[],Office:[],"Retail Building":[],"Retail Shop":[],Parking:[],Warehouse:[],"Special Purpose":[]})}function e(s){let t=0;const G=[];s.default_assumptions.forEach(_=>{const E=Object.assign({},_);E.front_id=t,t++,G.push(E)});let T=0;const g=[];s.special_assumptions.forEach(_=>{const E=Object.assign({},_);E.front_id=T,T++,g.push(E)});let N=0;const f=[];
1return s.departures.forEach(_=>{const E=Object.assign({},_);E.front_id=N,N++,f.push(E)}),{default:G,def_id:t-1,special:g,sp_id:T-1,departure:f,dp_id:N-1}}function r(s){let t=0;const G=[];return s.forEach(T=>{const g=Object.assign({},T);g.front_id=t,t++,G.push(g)}),{data:G,id:t-1}}function L(s){let t=0;const G=[];return s.forEach(T=>{const g=Object.assign({},T);g.front_id=t,g.status=1==T.status,t++,G.push(g)}),{data:G,lastCreateId:t-1}}M.\u0275fac=function(G){return new(G||M)(i.LFG(b.eX),i.LFG(D),i.LFG(w.yh),i.LFG(z.Ye))},M.\u0275prov=i.Yz7({token:M,factory:M.\u0275fac}),(0,n.gn)([(0,b.Qm)()],v.prototype,"requestValuationProcessData$",void 0),(0,n.gn)([(0,b.Qm)()],v.prototype,"loadComparables$",void 0),(0,n.gn)([(0,b.Qm)()],v.prototype,"loadFullComparables$",void 0),(0,n.gn)([(0,b.Qm)()],v.prototype,"addedComparableRequested$",void 0),(0,n.gn)([(0,b.Qm)()],v.prototype,"storeData$",void 0)},37428:(k,P,o)=>{o.d(P,{an:()=>b,fW:()=>l});var b=(()=>{return(m=b||(b={}))[m.Desktop=1]="Desktop",m[m.Internal=3]="Internal",m[m.Full=4]="Full",b;var m})();function l(m,a){let C=m.path+"/"+m.name;return"/"==C.charAt(0)&&(C=C.substring(1,C.length)),`api/${a}/files/download?path=`+C}},90607:(k,P,o)=>{o.d(P,{oJ:()=>x,BZ:()=>$,RF:()=>U});var n=o(41565),b=o(25287),l=o(80001),m=o(97043),a=o(96932),C=o(10511),I=o(65461),u=o(19229),p=o(58833),w=o(22918),z=o(46593),v=o(75997);const F=3;function x(e){switch(e.property_sub_type_id){case 1:const r=(0,w.Pk)(e.considerations);return{id:e.id,refNum:e.refNum,propertySubType:"Apartment",propertySubTypeName:e.propertySubTypeName,propertyTypeName:e.topPropertyTypeName,propertyInfo:{bedrooms:e.propertyInfo.bedrooms,bathrooms:e.propertyInfo.bathrooms},locationData:{latitude:Number(e.locationData.latitude),longitude:Number(e.locationData.longitude),country:e.locationData.countryName,city:e.locationData.cityName,zipCode:e.locationData.zipCode,address:e.locationData.address,locationGrade:e.locationData.locationGradeName,locationSurrounding:null,timezoneOffset:e.locationData.timezoneOffset},internalAspect:(0,l.p3)(e.internalAspect),property:e.property,building:e.buildingInfo,sizes:e.sizes.map(M=>({standardMeasurementId:M.standardMeasurementId,standardMeasurementName:M.standard_measurement_name,unitOfAreaMeasurementId:M.unitOfAreaMeasurementId,unitOfAreaMeasurementAcronym:M.unit_of_area_measurement_acronym,size:M.size}
1)),considerations:r,displayConsiderations:(0,z.c)(r),pictures:e.pictures,status:e.status,usedTimes:e.usedTimes,oldBuildingInfo:e.oldBuildingInfo,ground:(0,m.Rl)(e.ground),esgIndicator:(0,n.P)(e.esgIndicator)};case 3:return(0,v.BU)(e);case 17:return(0,v.Jh)(e);case 5:return(0,v.k9)(e);case 11:return(0,v.GG)(e);case 7:return(0,v.qg)(e);case 2:return(0,v.ey)(e);case 13:return(0,v.Iq)(e);case 18:return(0,v.Uz)(e);default:return null}}function $(e){switch(e.propertySubTypeId){case 1:return{id:e.id,refNum:e.refNum,propertySubType:"Apartment",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 17:return{id:e.id,refNum:e.refNum,propertySubType:"House",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 3:return{id:e.id,refNum:e.refNum,propertySubType:"Office",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 5:return{id:e.id,refNum:e.refNum,propertySubType:"Retail Shop",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 11:return{id:e.id,refNum:e.refNum,propertySubType:"Retail Building",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 7:return{id:e.id,refNum:e.refNum,propertySubType:"Warehouse",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 2:return{id:e.id,refNum:e.refNum,propertySubType:"Parking",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 13:return{id:e.id,refNum:e.refNum,propertySubType:"Land",latitude:Number(e.latitude),longitude:Number(e.longitude)};case 18:return{id:e.id,refNum:e.refNum,propertySubType:"Special Purpose",latitude:Number(e.latitude),longitude:Number(e.longitude)};default:return null}}function U(e){const r=function W(e){switch(e.propertySubTypeId){case 1:return{propertyType:"Residential",propertyTypeName:e.propertyTypeName,propertySubType:"Apartment",propertySubTypeId:1,propertySubTypeName:e.propertySubTypeName,subTypeCategoryId:e.subTypeCategoryId,subTypeCategoryName:e.subTypeCategoryName,subCategoryId:e.subCategoryId,subCategoryName:e.subCategoryName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,bedroom:e.bedroom,selectedExternalArea:e.selectedExternalArea,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator)};case 3:return{propertyType:"Commercial",propertyTypeName:e.propertyTypeName,propertySubType:"Office",propertySubTypeId:3,propertySubTypeName:e.propertySubTypeName,subTypeCategoryId:e.subTypeCategoryId,subTypeCategoryName:e.subTypeCategoryName,subCategoryId:e.subCategoryId,subCategoryName:e.subCategoryName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,selectedExternalArea:e.selectedExternalArea,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator)};case 5:return{propertyType:"Commercial",propertyTypeName:e.propertyTypeName,propertySubType:"Retail Shop",propertySubTypeId:5,propertySubTypeName:e.propertySubTypeName,subTypeCategoryId:e.subTypeCategoryId,subTypeCategoryName:e.subTypeCategoryName,subCategoryId:e.subCategoryId,subCategoryName:e.subCategoryName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,selectedExternalArea:e.selectedExternalArea,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator)};
1case 11:return{propertyType:"Commercial",propertyTypeName:e.propertyTypeName,propertySubType:"Retail Building",propertySubTypeId:11,propertySubTypeName:e.propertySubTypeName,subTypeCategoryId:e.subTypeCategoryId,subTypeCategoryName:e.subTypeCategoryName,subCategoryId:e.subCategoryId,subCategoryName:e.subCategoryName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,propertyGrade:e.propertyGrade,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator)};case 17:return{propertyType:"Residential",propertyTypeName:e.propertyTypeName,propertySubType:"House",propertySubTypeId:17,propertySubTypeName:e.propertySubTypeName,subTypeCategoryId:e.subTypeCategoryId,subTypeCategoryName:e.subTypeCategoryName,subCategoryId:e.subCategoryId,subCategoryName:e.subCategoryName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,propertyGrade:e.propertyGrade,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator)};case 2:return{propertyType:"Commercial",propertyTypeName:e.propertyTypeName,propertySubType:"Parking",propertySubTypeId:2,propertySubTypeName:e.propertySubTypeName,subTypeCategoryId:e.subTypeCategoryId,subTypeCategoryName:e.subTypeCategoryName,subCategoryId:e.subCategoryId,subCategoryName:e.subCategoryName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator)};case 7:return{propertyType:"Industrial",propertyTypeName:e.propertyTypeName,propertySubType:"Warehouse",propertySubTypeId:7,propertySubTypeName:e.propertySubTypeName,subTypeCategoryId:e.subTypeCategoryId,subTypeCategoryName:e.subTypeCategoryName,subCategoryId:e.subCategoryId,subCategoryName:e.subCategoryName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,propertyGrade:e.propertyGrade,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator)};case 13:case 16:return B(e);case 18:return{propertySubType:"Special Purpose",propertySubTypeId:18,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:Number(e.locationData?.latitude),longitude:Number(e.locationData?.longitude),timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,measurementStandardId:e.measurementStandardId,measurementStandard:e.measurementStandardName,measurementStandardModel:e.measurementStandard,size:e.size.value,unitAreaMeasurementAcronym:e.size.unitAreaMeasurementAcronym,unitAreaMeasurementModel:e.size.unitAreaMeasurement,floorNumberingSchemeId:e.floorNumberingSchemeId,accommodation:e.accommodation,propertyGrade:e.propertyGrade,unitMeasurementName:e.size.unitMeasurementName,esgIndicator:(0,n.P)(e.esgIndicator),specialPurposeType:e.aboutProperty.specialPurposeType};default:return e.propertyTypeId==F?B(e):null}}(e);return{id:e.id,name:e.name,generalInfo:r,info:H(e,r),instructedToMeasure:e.instructedToMeasure,inspectionDate:e.inspectionDate,inspectionType:e.inspectionType,draftDate:e.draftDate,finalDate:e.finalDate,timezone:e.locationData.timezoneOffset,pictures:e.pictures,buildingInfo:e.buildingInfo,countryCurrency:e.country_currency,reportingCurrency:e.reporting_currency}}function B(e){const r=(0,b.q)(e.landParcel?.lp_path??[]),L=e.landParcel?.landAreas??[],M=L.length;
1let s=0,t="",G="";return M>0&&(t=L[0].unit_area_measurement_acronym,G=L[0].unit_area_measurement_name,s=L.reduce((g,N)=>g+N.surface,0)),{propertySubType:"Land",propertySubTypeId:13,propertyTypeName:e.propertyTypeName,propertySubTypeName:e.propertySubTypeName,locationData:{countryName:e.locationData?.countryName,cityName:e.locationData?.cityName,zipCode:e.locationData?.zipCode,address:e.locationData?.address,latitude:r.lat,longitude:r.lng,timezoneOffset:e.locationData?.timezoneOffset},locationGrade:e.locationGrade,planningStatusName:e.landParcel?.planningStatusName,coordinateReferenceSystemName:e.landParcel?.coordinateRefSystem,numOfBuilding:0==e.landParcel?.building_exists?e.landParcel.totalBuildings:"Unknown",totalLandArea:s,totalLandParcel:M,unitMeasurement:t,unitMeasurementName:G}}function H(e,r){if(!r)return null;switch(r.propertySubType){case"Apartment":return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,building:{name:e.buildingInfo.name,completionYear:e.buildingInfo.completionYear,buildingType:"N/A"==e.buildingInfo.buildingType||null==e.buildingInfo.buildingType?"Unknown":e.buildingInfo.buildingType,buildingTypeComment:e.buildingInfo.buildingTypeComment,buildingGrade:"N/A"==e.buildingInfo.buildingGrade||null==e.buildingInfo.buildingGrade?"Unknown":e.buildingInfo.buildingGrade,energyEfficiencyGrade:e.buildingInfo.energyEfficiencyGrade,developer:e.buildingInfo.developer,anchorTenant:e.buildingInfo.anchorTenant,foundationType:e.buildingInfo.foundationType,buildingDescription:e.buildingInfo.buildingDescription,pictures:e.buildingInfo.pictures},locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,timezoneOffset:r.locationData.timezoneOffset,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding},locationSurrounding:e.locationSurrounding,inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{subCategory:"N/A"==e.subCategoryName?"Unknown":e.subCategoryName,subTypeCategory:"N/A"==e.subTypeCategoryName?"Unknown":e.subTypeCategoryName,generalDescription:e.aboutProperty.generalDescription,stateOfRepair:e.aboutProperty.stateOfRepairName,handoverStandard:e.aboutProperty.handoverStandardName,floors:e.aboutProperty.floorLocation,energyEfficiencyGrade:e.aboutProperty.energyEfficiencyGradeName},pictures:e.pictures,oldBuildingInfo:e.oldBuildingInfo,internalAspect:(0,l.p3)(e.internalAspect),ground:(0,m.Rl)(e.ground),sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)};case"House":return function d(e,r){return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding,timezoneOffset:e.locationData?.timezoneOffset},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{subTypeCategory:"N/A"==e.subTypeCategoryName?null:e.subTypeCategoryName,subCategory:"N/A"==e.subCategoryName?null:e.subCategoryName,stateOfRepair:e.aboutProperty.stateOfRepairName,handoverStandard:e.aboutProperty.handoverStandardName,aboveFloors:Number(e.aboutProperty.above_floors),belowFloors:Number(e.aboutProperty.below_floors),energyEfficiencyGrade:e.aboutProperty.energyEfficiencyGradeName,generalDescription:e.aboutProperty.generalDescription,constructionDescription:e.aboutProperty.construction_desc,propertyGrade:e.aboutProperty.property_grade_name,completionYear:e.aboutProperty.completion_year,approximateYear:e.aboutProperty.apprx_year_extended,foundationType:e.aboutProperty.foundation_type_name},parcelIdentification:(0,u.h)(e.parcel_identification),pictures:e.pictures,internalAspect:(0,l.R8)(e.internalAspect),externalAspect:(0,I.Ni)(e.externalAspect),serviceAndInfra:(0,p.f)(e.service_and_infra),ground:(0,m.aM)(e.ground),sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)}}(e,r);
1case"Office":return function i(e,r){return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding,timezoneOffset:e.locationData?.timezoneOffset},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{subTypeCategory:"N/A"==e.subTypeCategoryName?null:e.subTypeCategoryName,subCategory:"N/A"==e.subCategoryName?null:e.subCategoryName,stateOfRepair:e.aboutProperty.stateOfRepairName,handoverStandard:e.aboutProperty.handoverStandardName,energyEfficiencyGrade:e.aboutProperty.energyEfficiencyGradeName,generalDescription:e.aboutProperty.generalDescription,floors:e.aboutProperty.floorLocation},building:{name:e.buildingInfo.name,completionYear:e.buildingInfo.completionYear,buildingType:"N/A"==e.buildingInfo.buildingType||null==e.buildingInfo.buildingType?null:e.buildingInfo.buildingType,buildingTypeComment:e.buildingInfo.buildingTypeComment,buildingGrade:"N/A"==e.buildingInfo.buildingGrade||null==e.buildingInfo.buildingGrade?null:e.buildingInfo.buildingGrade,energyEfficiencyGrade:e.buildingInfo.energyEfficiencyGrade,developer:e.buildingInfo.developer,anchorTenant:e.buildingInfo.anchorTenant,foundationType:e.buildingInfo.foundationType,buildingDescription:e.buildingInfo.buildingDescription,pictures:e.buildingInfo.pictures},oldBuildingInfo:e.oldBuildingInfo,pictures:e.pictures,internalAspect:(0,l.QE)(e.internalAspect),ground:(0,m.Ux)(e.ground),sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)}}(e,r);case"Retail Shop":return function h(e,r){return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding,timezoneOffset:r.locationData.timezoneOffset},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{subTypeCategory:"N/A"==e.subTypeCategoryName?null:e.subTypeCategoryName,subCategory:"N/A"==e.subCategoryName?null:e.subCategoryName,stateOfRepair:e.aboutProperty.stateOfRepairName,handoverStandard:e.aboutProperty.handoverStandardName,generalDescription:e.aboutProperty.generalDescription,floors:e.aboutProperty.floorLocation},internalAspect:(0,l.Lf)(e.internalAspect),ground:(0,m.Kt)(e.ground),building:{name:e.buildingInfo.name,completionYear:e.buildingInfo.completionYear,buildingType:"N/A"==e.buildingInfo.buildingType||null==e.buildingInfo.buildingType?null:e.buildingInfo.buildingType,buildingTypeComment:e.buildingInfo.buildingTypeComment,buildingGrade:"N/A"==e.buildingInfo.buildingGrade||null==e.buildingInfo.buildingGrade?null:e.buildingInfo.buildingGrade,energyEfficiencyGrade:e.buildingInfo.energyEfficiencyGrade,developer:e.buildingInfo.developer,anchorTenant:e.buildingInfo.anchorTenant,foundationType:e.buildingInfo.foundationType,buildingDescription:e.buildingInfo.buildingDescription,pictures:e.buildingInfo.pictures},oldBuildingInfo:e.oldBuildingInfo,pictures:e.pictures,sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)}}(e,r);case"Retail Building":return function y(e,r){return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding,timezoneOffset:e.locationData?.timezoneOffset},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{subTypeCategory:"N/A"==e.subTypeCategoryName?null:e.subTypeCategoryName,subCategory:"N/A"==e.subCategoryName?null:e.subCategoryName,stateOfRepair:e.aboutProperty.stateOfRepairName,handoverStandard:e.aboutProperty.handoverStandardName,aboveFloors:Number(e.aboutProperty.above_floors),belowFloors:Number(e.aboutProperty.below_floors),energyEfficiencyGrade:e.aboutProperty.energyEfficiencyGradeName,generalDescription:e.aboutProperty.generalDescription,constructionDescription:e.aboutProperty.construction_desc,propertyGrade:e.aboutProperty.property_grade_name,completionYear:e.aboutProperty.completion_year,approximateYear:e.aboutProperty.apprx_year_extended,foundationType:e.aboutProperty.foundation_type_name},parcelIdentification:(0,u.h)(e.parcel_identification),pictures:e.pictures,internalAspect:(0,l.nP)(e.internalAspect),externalAspect:(0,I.wY)(e.externalAspect),ground:(0,m.sF)(e.ground),sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)}}(e,r);case"Warehouse":return function A(e,r){return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding,timezoneOffset:e.locationData?.timezoneOffset},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{subTypeCategory:"N/A"==e.subTypeCategoryName?null:e.subTypeCategoryName,subCategory:"N/A"==e.subCategoryName?null:e.subCategoryName,stateOfRepair:e.aboutProperty.stateOfRepairName,handoverStandard:e.aboutProperty.handoverStandardName,aboveFloors:Number(e.aboutProperty.above_floors),belowFloors:Number(e.aboutProperty.below_floors),energyEfficiencyGrade:e.aboutProperty.energyEfficiencyGradeName,generalDescription:e.aboutProperty.generalDescription,constructionDescription:e.aboutProperty.construction_desc,propertyGrade:e.aboutProperty.property_grade_name,completionYear:e.aboutProperty.completion_year,foundationType:e.aboutProperty.foundation_type_name},parcelIdentification:(0,u.h)(e.parcel_identification),pictures:e.pictures,internalAspect:(0,l.kR)(e.internalAspect),externalAspect:(0,I.zY)(e.externalAspect),ground:(0,m.L3)(e.ground),sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)}}(e,r);case"Parking":return function c(e,r){return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding,timezoneOffset:e.locationData?.timezoneOffset},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{subCategory:"N/A"==e.subCategoryName?null:e.subCategoryName,subTypeCategory:"N/A"==e.subTypeCategoryName?null:e.subTypeCategoryName,stateOfRepair:e.aboutProperty.stateOfRepairName,handoverStandard:e.aboutProperty.handoverStandardName,generalDescription:e.aboutProperty.generalDescription,floors:e.aboutProperty.floorLocation,numberOfUnits:e.aboutProperty.number_of_units,parkingType:e.aboutProperty.parking_type,automation:e.aboutProperty.automation},building:e.buildingInfo,oldBuildingInfo:e.oldBuildingInfo,parcelIdentification:(0,u.h)(e.parcel_identification),pictures:e.pictures,sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)}}(e,r);case"Land":return function D(e,r){const L={landParcelName:null,coordinateReferencySystem:e.landParcel.coordinateRefSystem,qualityOfSoilDegradation:e.landParcel.qos_degradation_name,comparativeLandUse:e.landParcel.comparative_land_use_name,landCoverType:e.landParcel.land_cover_type,soureOfLandUseClassification:e.landParcel.sol_use_classification_name,otherCharacteristics:e.landParcel.other_
1characteristics,landUseApproval:e.landParcel.land_use_approval_implementation};return{refNum:"tp",propertySubType:"Land",locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,timezoneOffset:r.locationData.timezoneOffset,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,points:e.landParcel.lp_path.map(M=>({lat:Number(M.lat),lng:Number(M.lng)})).filter(M=>null!=M.lat&&null!=M.lng)},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},sizes:(0,a.a)(e.landParcel.landAreas),pictures:e.pictures,propertySubTypeName:e.propertySubTypeName,property:(0,C.o)(L,e.landParcel.building_exists,e.landParcel.buildings)}}(e,r);case"Special Purpose":return function O(e,r){return{refNum:"tp",propertySubType:r.propertySubType,propertySubTypeName:e.propertySubTypeName,locationData:{latitude:r.locationData.latitude,longitude:r.locationData.longitude,country:r.locationData.countryName,city:r.locationData.cityName,zipCode:r.locationData.zipCode,address:r.locationData.address,locationGrade:"N/A"==r.locationGrade?"Unknown":r.locationGrade,locationSurrounding:e.locationSurrounding,timezoneOffset:e.locationData?.timezoneOffset},inspectionInfo:{typeOfInspection:e.inspectionTypeId,inspectionDate:new Date(e.inspectionDate),anyLimitationOrRestriction:e.anyLimitationsOrRestrictions,limitationDescription:e.limitationDesc},property:{specialPurposeType:e.aboutProperty.specialPurposeType},parcelIdentification:(0,u.h)(e.parcel_identification),pictures:e.pictures,internalAspect:(0,l.kR)(e.internalAspect),externalAspect:(0,I.zY)(e.externalAspect),ground:(0,m.L3)(e.ground),sizes:(0,a.K)(e.sizes),esgIndicator:(0,n.P)(e.esgIndicator)}}(e,r);default:return null}}},79667:(k,P,o)=>{function b(a){if(null==a||null==a.generalInfo)return null;switch(a.generalInfo.propertySubType){case"Apartment":return{kind:"Apartment",targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,subTypeCategory:a.generalInfo.subTypeCategoryName,subCategory:a.generalInfo.subCategoryName,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId,bedroom:a.generalInfo.bedroom,selectedExternalAreas:a.generalInfo.selectedExternalArea,buildingGrade:a.buildingInfo.buildingGrade,buildingType:a.buildingInfo.buildingType};case"House":return{kind:"House",targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,subTypeCategory:a.generalInfo.subTypeCategoryName,subCategory:a.generalInfo.subCategoryName,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId,propertyGrade:a.generalInfo.propertyGrade};
1case"Office":return{kind:"Office",targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,subTypeCategory:a.generalInfo.subTypeCategoryName,subCategory:a.generalInfo.subCategoryName,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId,selectedExternalAreas:a.generalInfo.selectedExternalArea,buildingGrade:a.buildingInfo.buildingGrade,buildingType:a.buildingInfo.buildingType};case"Retail Shop":return{kind:"Retail Shop",targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,subTypeCategory:a.generalInfo.subTypeCategoryName,subCategory:a.generalInfo.subCategoryName,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId,selectedExternalAreas:a.generalInfo.selectedExternalArea,buildingGrade:a.buildingInfo.buildingGrade,buildingType:a.buildingInfo.buildingType};case"Retail Building":return{kind:"Retail Building",targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,subTypeCategory:a.generalInfo.subTypeCategoryName,subCategory:a.generalInfo.subCategoryName,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId,propertyGrade:a.generalInfo.propertyGrade};case"Parking":return{kind:"Parking",targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,subTypeCategory:a.generalInfo.subTypeCategoryName,subCategory:a.generalInfo.subCategoryName,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId};case"Warehouse":return{kind:"Warehouse",targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,subTypeCategory:a.generalInfo.subTypeCategoryName,subCategory:a.generalInfo.subCategoryName,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId,propertyGrade:a.generalInfo.propertyGrade};case"Land":return{kind:"Land",locationGrade:a.generalInfo.locationGrade,coordinateReferenceSystem:a.generalInfo.coordinateReferenceSystemName,landParcelNum:a.generalInfo.totalLandParcel,totalLandArea:a.generalInfo.totalLandArea,unitMeasurement:a.generalInfo.unitMeasurement,planningStatus:a.generalInfo.planningStatusName,numOfBuilding:a.generalInfo.numOfBuilding,targetPropertyId:a.id,propertyType:a.generalInfo.propertyTypeName,propertySubType:a.generalInfo.propertySubTypeName,longitude:a.generalInfo.locationData.longitude,latitude:a.generalInfo.locationData.latitude,address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`};case"Special Purpose":return{kind:"Special Purpose",address:`${a.generalInfo.locationData.address} - ${a.generalInfo.locationData.cityName} - ${a.generalInfo.locationData.zipCode?a.generalInfo.locationData.zipCode+" - ":""} ${a.generalInfo.locationData.countryName}`,latitude:a.generalInfo.locationData.latitude,longitude:a.generalInfo.locationData.longitude,propertySubType:null,propertyType:"Special Purpose",targetPropertyId:a.id,locationGrade:a.generalInfo.locationGrade,measurementStandard:l(a.generalInfo.measurementStandard),measurementStandardModel:a.generalInfo.measurementStandardModel,accommodation:a.generalInfo.accommodation,floorNumberinSchemeId:a.generalInfo.floorNumberingSchemeId,size:{value:a.generalInfo.size,unitAreaMeasurement:a.generalInfo.unitAreaMeasurementAcronym,isClickable:!1,unitAreaMeasurementModel:a.generalInfo.unitAreaMeasurementModel},specialPurposeType:a.generalInfo.specialPurposeType}}}function l(a){return-1==a.indexOf("-")?a:a.substring(0,a.indexOf("-"))}o.d(P,{y:()=>b}),o(94712)},44285:(k,P,o)=>{o.d(P,{Q:()=>C});var n=o(22560),b=o(84505),l=o(94666),m=o(15892);function a(I,u){if(1&I){const p=n.EpF();
1n.TgZ(0,"a",3),n.NdJ("click",function(){const c=n.CHM(p).index,y=n.oxw();return n.KtG(y.onHeaderClick(c))}),n.TgZ(1,"div",4),n._uU(2),n.qZA()()}if(2&I){const p=u.$implicit,d=u.index,i=n.oxw();n.Q6J("active",d==i.selectedIndex),n.xp6(2),n.hij(" ",p.label," ")}}let C=(()=>{const u=class{constructor(){this._headers$=new b.X([]),this.headers$=this._headers$.asObservable(),this.innerTop=null,this.tabChange=new n.vpe,this.top="0px",this.selectedIndex=0}set headers(d){this._headers$.next(d)}set selectedTabIndex(d){this.selectedIndex=d}onResize(){this.innerTop?this.top=this.innerTop:this.updateStickyPosition()}onScroll(){this.innerTop?this.top=this.innerTop:this.updateStickyPosition()}onHeaderClick(d){this.selectedIndex=d,this.tabChange.emit(d)}ngOnInit(){}ngAfterViewInit(){this.innerTop?this.top=this.innerTop:this.updateStickyPosition()}updateStickyPosition(){const d=document.querySelector(".header"),i=document.getElementsByTagName("kt-portlet-header").item(0);let c=0;null!=d&&(c+=d.offsetHeight),null!=i&&(c+=i.offsetHeight),this.top=c+"px"}};let I=u;return u.\u0275fac=function(i){return new(i||u)},u.\u0275cmp=n.Xpm({type:u,selectors:[["kt-tab-header-v2"]],hostVars:2,hostBindings:function(i,c){1&i&&n.NdJ("resize",function(h){return c.onResize(h)},!1,n.Jf7)("scroll",function(h){return c.onScroll(h)},!1,n.Jf7),2&i&&n.Udp("top",c.top)},inputs:{headers:"headers",innerTop:"innerTop",selectedTabIndex:"selectedTabIndex"},outputs:{tabChange:"tabChange"},decls:5,vars:3,consts:[["container",""],["mat-tab-nav-bar",""],["mat-tab-link","",3,"active","click",4,"ngFor","ngForOf"],["mat-tab-link","",3,"active","click"],[1,"d-flex","w-100","align-items-center"]],template:function(i,c){1&i&&(n.TgZ(0,"div",null,0)(2,"nav",1),n.YNc(3,a,3,2,"a",2),n.ALo(4,"async"),n.qZA()()),2&i&&(n.xp6(3),n.Q6J("ngForOf",n.lcZ(4,1,c.headers$)))},dependencies:[l.sg,m.BU,m.Nj,l.Ov],styles:["[_nghost-%COMP%]{display:block;z-index:2;background-color:#fff;position:sticky}a[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{gap:1rem}"]}),I})()},43018:(k,P,o)=>{o.d(P,{m:()=>c});var n=o(33893);const i={Apartment:[{header:"Sub-Type Category",field:"subTypeCategory"},{header:"Sub Category",field:"subCategory"},{header:"Property General Description",field:"generalDescription"},{header:"State of Repair",field:"stateOfRepair"},{header:"Handover Standard",field:"handoverStandard"},{header:"Floor location",field:"floors"},{header:"Energy Efficiency Grade",field:"energyEfficiencyGrade"}],House:[{header:"Sub-Type Category",field:"subTypeCategory"},{header:"Sub Category",field:"subCategory"},{header:"Property General Description",field:"generalDescription"},{header:"State of Repair",field:"stateOfRepair"},{header:"Handover Standard",field:"handoverStandard"},{header:"Number of floors (above ground)",field:"aboveFloors"},{header:"Energy Efficiency Grade",field:"energyEfficiencyGrade"},{header:"Basement floors",field:"belowFloors"},{header:"Construction Description",field:"constructionDescription"},{header:"Completion Year",field:"completionYear"},{header:"Approximate year the property was extended",field:"approximateYear"},{header:"Property Grade",field:"propertyGrade"},{header:"Foundation Type",field:"foundationType"}],Office:[{header:"Sub-Type Category",field:"subTypeCategory"},{header:"Sub Category",field:"subCategory"},{header:"Property General Description",field:"generalDescription"},{header:"State of Repair",field:"stateOfRepair"},{header:"Handover Standard",field:"handoverStandard"},{header:"Floor location",field:"floors"},{header:"Energy Efficiency Grade",field:"energyEfficiencyGrade"}],"Retail Shop":[{header:"Sub-Type Category",field:"subTypeCategory"},{header:"Sub Category",field:"subCategory"},{header:"Property General Description",field:"generalDescription"},{header:"State of Repair",field:"stateOfRepair"},{header:"Handover Standard",field:"handoverStandard"},{header:"Floor location",field:"floors"}],"Retail Building":[{header:"Sub-Type Category",field:"subTypeCategory"},{header:"Sub Category",field:"subCategory"},{header:"Property General Description",field:"generalDescription"},{header:"State of Repair",field:"stateOfRepair"},{header:"Handover Standard",field:"handoverStandard"},{header:"Number of floors (above ground)",field:"aboveFloors"},{header:"Energy Efficiency Grade",field:"energyEfficiencyGrade"},{header:"Basement floors",field:"belowFloors"},{header:"Construction Description",field:"constructionDescription"},{header:"Completion Year",field:"completionYear"},{header:"Approximate year the property was extended",field:"approximateYear"},{header:"Property Grade",field:"propertyGrade"},{header:"Foundation Type",field:"foundationType"}],Parking:[{header:"Sub-Type Category",field:"subTypeCategory"},{header:"Sub Category",field:"subCategory"},{header:"Property General Description",field:"generalDescription"},{header:"State of Repair",field:"stateOfRepair"},{header:"Handover Standard",field:"handoverStandard"},{header:"Floor location",field:"floors"},,{header:"Number of Units",field:"numberOfUnits"},{header:"Parking Type",field:"parkingType"},{header:"Automation",field:"automation"}],Warehouse:[{header:"Sub-Type Category",field:"subTypeCategory"},{header:"Sub Category",field:"subCategory"},{header:"Property General Description",field:"generalDescription"},{header:"State of Repair",field:"stateOfRepair"},{header:"Handover Standard",field:"handoverStandard"},{header:"Number of floors (above ground)",field:"aboveFloors"},{header:"Energy Efficiency Grade",field:"energyEfficiencyGrade"},{header:"Basement floors",field:"belowFloors"},{header:"Construction Description",field:"constructionDescription"},{header:"Completion Year",field:"completionYear"},{header:"Property Grade",field:"propertyGrade"},{header:"Foundation Type",field:"foundationType"}],Land:[{header:"Land Cover Type",field:"landCoverType"},{header:"Quality of soil and degradation",field:"qualityOfSoilDegradation"},{header:"Comparative land use",field:"comparativeLandUse"},{header:"Source of land use classification",field:"soureOfLandUseClassification"},{header:"Date of land use approval and implementation",field:"landUseApproval"},{header:"Other characteristics",field:"otherCharacteristics"}],"Special Purpose":[{header:"Special Purpose Type",field:"specialPurposeType"}]};function c(y){const h=y.map(O=>i[O.propertySubType].map(w=>{const z={};return z[O.refNum]=(0,n.hd)(O.property[w.field]),{header:w.header,cells:z,propertySubType:O.propertySubTypeName}})),A=(0,n._N)(h);return(0,n.YI)(A,y.map(O=>O.refNum))}},56619:(k,P,o)=>{o.d(P,{e:()=>l});var n=o(33893);const b=[{header:"Energy Performance Certificate",field:"energyPerformanceCertificate"},{header:"Primary Energy Consumption",field:"primaryEnergyConsumption",otherField:"primaryEnergyConsumptionRate"},{header:"Performance",field:"performance",otherField:"performanceRate"},{header:"Final Energy Consumption",field:"finalEnergyConsumption",otherField:"finalEnergyConsumptionRate"},{header:"Energy Intensity",field:"energyIntensity",otherField:"energyIntensityRate"},{header:"CO2 Emissions",field:"co2Emissions",otherField:"co2EmissionsRate"},{header:"Expiry Date",field:"expiryDate"},{header:"Improvements Since last energy rating",field:"improvementsSinceLastEnergyRating"},{header:"Comments / Justifications",field:"commentOrJustifications"}];function l(m,a){const C=m.map(u=>b.map(p=>{const d={};return d[u.refNum]=p.otherField?u.esgIndicator[p.field]?(0,n.hd)(`${a.transform(u.esgIndicator[p.field],"separator.2",{thousandSeparator:","})} ${u.esgIndicator[p.otherField]}`):{kind:"na"}:(0,n.hd)(u.esgIndicator[p.field]),{header:p.header,cells:d,propertySubType:u.propertySubTypeName}})),I=(0,n._N)(C);return(0,n.YI)(I,m.map(u=>u.refNum))}},19453:(k,P,o)=>{o.d(P,{g:()=>I});var n=o(33893);const C={House:[{header:"Chimney Stack",field:"chimneyStack"},{header:"Chimney Stack comment",field:"chimneyStackComment"},{header:"Roof Covering",field:"roofCovering"},{header:"Roof Covering comment",field:"roofCoveringComment"},{header:"Rainwater pipes and gutters",field:"rainwaterPipe"},{header:"Rainwater pipes and gutters comment",field:"rainwaterPipeComment"},{header:"Main wall",field:"mainWall"},{header:"Main wall comment",field:"mainWallComment"},{header:"Window",field:"window"},{header:"Window comment",field:"windowComment"},{header:"Outside door",field:"outsideDoor"},{header:"Outside door comment",field:"outsideDoorComment"},{header:"Conservatory and porches",field:"conservatory"},{header:"Conservatory and porches comment",field:"conservatoryComment"},{header:"Other joinery and finishes",field:"otherJoinery"},{header:"Other joinery and finishes comment",field:"otherJoineryComment"},{header:"Other aspect",field:"others"}],Warehouse:[{header:"Roof Covering",field:"roofCovering"},{header:"Roof Covering comment",field:"roofCoveringComment"},{header:"Rainwater pipes and gutters",field:"rainwaterPipe"},{header:"Rainwater pipes and gutters comment",field:"rainwaterPipeComment"},{header:"Main wall",field:"mainWall"},{header:"Main wall comment",field:"mainWallComment"},{header:"Window",field:"window"},{header:"Window comment",field:"windowComment"},{header:"Outside door",field:"outsideDoor"},{header:"Outside door comment",field:"outsideDoorComment"},{header:"Loading Docks",field:"loadingDock"},{header:"Other aspect",field:"others"}],"Retail Building":[{header:"Roof Covering",field:"roofCovering"},{header:"Roof Covering comment",field:"roofCoveringComment"},{header:"Rainwater pipes and gutters",field:"rainwaterPipe"},{header:"Rainwater pipes and gutters comment",field:"rainwaterPipeComment"},{header:"Main wall",field:"mainWall"},{header:"Main wall comment",field:"mainWallComment"},{header:"Window",field:"window"},{header:"Window comment",field:"windowComment"},{header:"Outside door",field:"outsideDoor"},{header:"Outside door comment",field:"outsideDoorComment"},{header:"Loading Docks",field:"loadingDock"},{header:"Other aspect",field:"others"}],"Special Purpose":[{header:"Roof Covering",field:"roofCovering"},{header:"Roof Covering comment",field:"roofCoveringComment"},{header:"Rainwater pipes and gutters",field:"rainwaterPipe"},{header:"Rainwater pipes and gutters comment",field:"rainwaterPipeComment"},{header:"Main wall",field:"mainWall"},{header:"Main wall comment",field:"mainWallComment"},{header:"Window",field:"window"},{header:"Window comment",field:"windowComment"},{header:"Outside door",field:"outsideDoor"},{header:"Outside door comment",field:"outsideDoorComment"},{header:"Loading Docks",field:"loadingDock"},{header:"Other aspect",field:"others"}]};function I(u){const p=u.map(i=>{const c=C[i.propertySubType];return c?c.map(y=>{const h={};return h[i.refNum]=(0,n.hd)(i.externalAspect[y.field]),{header:y.header,cells:h,propertySubType:i.propertySubTypeName}}):[]}),d=(0,n._N)(p);return(0,n.YI)(d,u.map(i=>i.refNum))}},76930:(k,P,o)=>{o.d(P,{D:()=>d});var n=o(33893);const p={Apartment:[{header:"Indoor Garage",field:"indoorGarage"},{header:"Indoor Garage comment",field:"indoorGarageComment"},{header:"Outdoor parking",field:"outdoorGarage"},{header:"Outdoor parking comment",field:"outdoorGarageComment"},{header:"External areas",field:"externalAreas"},{header:"External areas comment",field:"externalAreasComment"}],Office:[{header:"Indoor Garage",field:"indoorGarage"},{header:"Indoor Garage comment",field:"indoorGarageComment"},{header:"Outdoor parking",field:"outdoorGarage"},{header:"Outdoor parking comment",field:"outdoorGarageComment"},{header:"External areas",field:"externalAreas"},{header:"External areas comment",field:"externalAreasComment"}],House:[{header:"Indoor Garage",field:"indoorGarage"},{header:"Indoor Garage comment",field:"indoorGarageComment"},{header:"Outdoor parking",field:"outdoorGarage"},{header:"Outdoor parking comment",field:"outdoorGarageComment"},{header:"Garden",field:"garden"},{header:"Garden comment",field:"gardentComment"}],"Retail Shop":[{header:"Indoor Garage",field:"indoorGarage"},{header:"Indoor Garage comment",field:"indoorGarageComment"},{header:"Outdoor parking",field:"outdoorGarage"},{header:"Outdoor parking comment",field:"outdoorGarageComment"},{header:"External areas",field:"externalAreas"},{header:"External areas comment",field:"externalAreasComment"}],"Retail Building":[{header:"Indoor Garage",field:"indoorGarage"},{header:"Indoor Garage comment",field:"indoorGarageComment"},{header:"Outdoor parking",field:"outdoorGarage"},{header:"Outdoor parking comment",field:"outdoorGarageComment"},{header:"Outdoor space",field:"outdoorSpace"},{header:"Outdoor space comment",field:"outdoorSpaceComment"}],Warehouse:[{header:"Indoor Garage",field:"indoorGarage"},{header:"Indoor Garage comment",field:"indoorGarageComment"},{header:"Outdoor parking",field:"outdoorGarage"},{header:"Outdoor parking comment",field:"outdoorGarageComment"},{header:"Outdoor space",field:"outdoorSpace"},{header:"Outdoor space comment",field:"outdoorSpaceComment"}],"Special Purpose":[{header:"Indoor Garage",field:"indoorGarage"},{header:"Indoor Garage comment",field:"indoorGarageComment"},{header:"Outdoor parking",field:"outdoorGarage"},{header:"Outdoor parking comment",field:"outdoorGarageComment"},{header:"Outdoor space",field:"outdoorSpace"},{header:"Outdoor space comment",field:"outdoorSpaceComment"}]};function d(i){const c=i.map(h=>{const A=p[h.propertySubType];return A?A.map(O=>{const D={};return D[h.refNum]=(0,n.hd)(h.ground[O.field]),{header:O.header,cells:D,propertySubType:h.propertySubTypeName}}):[]}),y=(0,n._N)(c);return(0,n.YI)(y,i.map(h=>h.refNum))}},84593:(k,P,o)=>{o.d(P,{M:()=>c});var n=o(33893);const I="Automation equipment & technology",d=[{id:1,title:"Goods-to-person (GTP)",checked:!1}
1,{id:2,title:"Automated Storage and Retrieval Systems (AS/RS)",checked:!1},{id:3,title:"Automatic Guided Vehicles (AGVs)",checked:!1},{id:4,title:"Autonomous Mobile Robots",checked:!1},{id:5,title:"Pick-to-Light and Put-to-Light Systems",checked:!1},{id:6,title:"Voice Picking and Tasking",checked:!1},{id:7,title:"Automated Sortation Systems",checked:!1}],i={Apartment:[{header:"Windows",field:"windows"},{header:"Windows comment",field:"windowsComment"},{header:"Ceiling",field:"ceiling"},{header:"Ceiling comment",field:"ceilingComment"},{header:"Walls and partitions",field:"wallsAndPartition"},{header:"Walls and partitions comment",field:"wallsAndPartitionComment"},{header:"Floors",field:"floors"},{header:"Floors comment",field:"floorsComment"},{header:"Bathroom fitting",field:"bathroomFitting"},{header:"Bathroom fitting comment",field:"bathroomFittingComment"},{header:"Built-in fittings",field:"builtInFittings"},{header:"Other aspect",field:"others"}],Office:[{header:"Windows",field:"windows"},{header:"Windows comment",field:"windowsComment"},{header:"Ceiling",field:"ceiling"},{header:"Ceiling comment",field:"ceilingComment"},{header:"Walls and partitions",field:"wallsAndPartition"},{header:"Walls and partitions comment",field:"wallsAndPartitionComment"},{header:"Floors",field:"floors"},{header:"Floors comment",field:"floorsComment"},{header:"Built-in fittings",field:"builtInFittings"},{header:"Other aspect",field:"others"}],House:[{header:"Roof Structure",field:"roofStructure"},{header:"Roof Structure comment",field:"roofStructureComment"},{header:"Ceiling",field:"ceiling"},{header:"Ceiling comment",field:"ceilingComment"},{header:"Walls and partitions",field:"wallsAndPartition"},{header:"Walls and partitions comment",field:"wallsAndPartitionComment"},{header:"Floors",field:"floors"},{header:"Floors comment",field:"floorsComment"},{header:"Bathroom fitting",field:"bathroomFitting"},{header:"Bathroom fitting comment",field:"bathroomFittingComment"},{header:"Fireplaces, chimney breasts and flues",field:"fireplacesAndChimney"},{header:"Fireplaces, chimney breasts and flues comment",field:"fireplacesAndChimneyComment"},{header:"Woodwork",field:"woodwork"},{header:"Woodwork comment",field:"woodworkComment"},{header:"Built-in fittings",field:"builtInFittings"},{header:"Other aspect",field:"others"}],"Retail Shop":[{header:"Ceiling",field:"ceiling"},{header:"Ceiling comment",field:"ceilingComment"},{header:"Walls and partitions",field:"wallsAndPartition"},{header:"Walls and partitions comment",field:"wallsAndPartitionComment"},{header:"Floors",field:"floors"},{header:"Floors comment",field:"floorsComment"},{header:"Shop Front type",field:"shopFrontType"},{header:"Shop Front type comment",field:"shopFrontTypeComment"},{header:"Built-in fittings",field:"builtInFittings"},{header:"Other aspect",field:"others"}],"Retail Building":[{header:"Roof Structure",field:"roofStructure"},{header:"Roof Structure comment",field:"roofStructureComment"},{header:"Ceiling",field:"ceiling"},{header:"Ceiling comment",field:"ceilingComment"},{header:"Walls and partitions",field:"wallsAndPartition"},{header:"Walls and partitions comment",field:"wallsAndPartitionComment"},{header:"Floors",field:"floors"},{header:"Floors comment",field:"floorsComment"},{header:"Shop Front type",field:"shopFrontType"},{header:"Shop Front type comment",field:"shopFrontTypeComment"},{header:"Height",field:"height"},{header:"Height comment",field:"heightComment"},{header:"Cubic Content",field:"cubicContent"},{header:"Cubic Content comment",field:"cubicContentComment"},{header:"Built-in fittings",field:"builtInFittings"},{header:"Other aspect",field:"others"}],Warehouse:[{header:"Roof Structure",field:"roofStructure"},{header:"Roof Structure comment",field:"roofStructureComment"},{header:"Ceiling",field:"ceiling"},{header:"Ceiling comment",field:"ceilingComment"},{header:"Walls and partitions",field:"wallsAndPartition"},{header:"Walls and partitions comment",field:"wallsAndPartitionComment"},{header:"Floors",field:"floors"},{header:"Floors comment",field:"floorsComment"},{header:"Height",field:"height"},{header:"Height comment",field:"heightComment"},{header:"Cubic Content",field:"cubicContent"},{header:"Cubic Content comment",field:"cubicContentComment"},{header:"Storage type",field:"storageType"},{header:"Storage type comment",field:"storageTypeComment"},{header:"Built-in fittings",field:"builtInFittings"},{header:"Other aspect",field:"others"},{header:I,field:"automations"}],"Special Purpose":[{header:"Roof Structure",field:"roofStructure"},{header:"Roof Structure comment",field:"roofStructureComment"},{header:"Ceiling",field:"ceiling"},{header:"Ceiling comment",field:"ceilingComment"},{header:"Walls and partitions",field:"wallsAndPartition"},{header:"Walls and partitions comment",field:"wallsAndPartitionComment"},{header:"Floors",field:"floors"},{header:"Floors comment",field:"floorsComment"},{header:"Height",field:"height"},{header:"Height comment",field:"heightComment"},{header:"Cubic Content",field:"cubicContent"},{header:"Cubic Content comment",field:"cubicContentComment"},{header:"Storage type",field:"storageType"},{header:"Storage type comment",field:"storageTypeComment"},{header:"Built-in fittings",field:"builtInFittings"},{header:"Other aspect",field:"others"},{header:I,field:"automations"}]};function c(y){const h=y.map(D=>{const w=i[D.propertySubType];return w?w.map(z=>{const v={};return v[D.refNum]="automations"==z.field?(0,n.nK)(D.internalAspect[z.field].length>0):(0,n.hd)(D.internalAspect[z.field]),{header:z.header,cells:v,propertySubType:D.propertySubTypeName}}):[]}),A=(0,n._N)(h),O=A.findIndex(D=>D.header==I);if(-1!=O){const D=A[O];A.splice(O,1),A.push(D);const w=y.map(z=>{if(!z.internalAspect)return[];if(z.internalAspect.automations){const v=z.internalAspect.automations;return d.map(F=>{const x={};return x[z.refNum]=(0,n.nK)(v.includes(F.id)),{header:F.title,cells:x,propertySubType:z.propertySubTypeName}})}return[]});A.push(...(0,n._N)(w))}return(0,n.YI)(A,y.map(D=>D.refNum))}},33893:(k,P,o)=>{o.d(P,{NF:()=>p,V9:()=>a,YI:()=>u,_N:()=>C,hd:()=>m,nK:()=>l});var n=o(92938);function l(d){return{kind:"checklist",value:d}}function m(d){return null==d||null==d?{kind:"unknown"}
1:"string"==typeof d?0==d.trim().length||"Unknown"==d.trim()?{kind:"unknown"}:{kind:"simple",value:d}:{kind:"simple",value:d.toString()}}function a(d){let i=!0;return Object.values(d).forEach(c=>{i=i&&!("unknown"==c.kind||"na"==c.kind)}),i}function C(d){return d.reduce((i,c)=>(c.forEach(y=>{const h=i.find(A=>A.header==y.header);h?h.cells=I(h.cells,y.cells):i.push(y)}),i),[])}function I(d,i){return{...d,...i}}function u(d,i){return d.map(c=>{let y={};i.forEach(D=>{c.cells[D]||(y[D]={kind:"na"})});const h=0==Object.keys(y).length?c.header:`${c.header} (${c.propertySubType})`,A=I(c.cells,y);return{header:h,cells:A,type:a(A)?"countable":"simple"}})}function p(d,i){const c=1==Object.keys(n.groupBy(d,y=>y.propertySubType)).length;return d.map(y=>{let h={};i.forEach(w=>{y.cells[w]||(h[w]={kind:"not available"})});const A=c||0==Object.keys(h).length?y.header:`${y.header} (${y.propertySubType})`,O=I(y.cells,h);return{header:A,cells:O,type:a(O)?"countable":"simple"}})}}}]);
2//# sourceMappingURL=431.2bbe50332fb931fc.js.map

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.