PageSourceSearch

https://www.crematrix.com/edge/static/js/main.54f5f53e.chunk.js

js crematrix.com collected 2026-10-05 00:09:07 UTC 1,871,972 bytes, 2 lines download raw bytes

1(this["webpackJsonpcre-revamp"]=this["webpackJsonpcre-revamp"]||[]).push([[2],{1080:function(t,e){},1081:function(t,e){},1082:function(t,e){},1083:function(t,e){},1084:function(t,e){},1094:function(t,e,a){},1102:function(t,e,a){"use strict";a.r(e);var s=a(1),i=a.n(s),l=a(37),o=a.n(l),c=(a(805),a(806),a(220)),n=a(8),r=a(198),d=a.n(r),h=a(9),p=a(5),j=a(3),A=(a(626),a(449)),x=a(455),b=a(457),m=a(32);function g(t){return t.data.error.length>0?{status:t.status,error:t.data.error,data:t.data.error}:t.data.success.length>0&&"undefined"===typeof t.data.data?{status:t.status,success:t.data.success,data:t.data.success}:{status:t.status,data:t.data.data}}function O(t){return t.response?{status:t.response.status,data:t.response.data}:(t.request,{status:400,data:{}})}d.a.defaults.withCredentials=!0;const u="https://www.crematrix.com",y=t=>d.a.get("".concat(u,"/").concat(t)).then(g).catch(O),f=(t,e)=>d.a.post("".concat(u,"/").concat(t),e).then(g).catch(O);class w{constructor(t){t.get&&(this.get=e=>y("undefined"===typeof e?t.url:t.url+e)),t.post&&(this.post=e=>f(t.url,e))}}const N=new w({get:!0,post:!0,url:"api/screener/get_data"});var S=a(143),D=a(7),M=a(0);const C=Object(S.b)((t=>{const e={onMouseDown:t=>{t.preventDefault(),t.stopPropagation()}};return Object(M.jsx)(m.q.MultiValue,Object(h.a)(Object(h.a)({},t),{},{innerProps:e}))})),F=Object(S.a)(b.a);var B=Object(D.b)((t=>({filter:t.filter})),null)((function(t){const[e,a]=Object(s.useState)(null),[i,l]=Object(s.useState)(null);Object(s.useEffect)((()=>{a(t.defaultVal),t.dispatch({type:"ADD_TO_FILTER",payload:{key:t.filter_name,value:t.defaultVal}})}),[t.defaultVal]);const o={container:t=>Object(h.a)(Object(h.a)({},t),{},{width:"60%"}),placeholder:t=>Object(h.a)(Object(h.a)({},t),{},{fontSize:"11px"})};return Object(M.jsx)(F,{axis:"xy",distance:4,getHelperDimensions:t=>{let{node:e}=t;return e.getBoundingClientRect()},onSortEnd:s=>{let{oldIndex:i,newIndex:l}=s;const o=(n=i,r=l,(c=(c=e).slice()).splice(r<0?c.length+r:r,0,c.splice(n,1)[0]),c);var c,n,r;a(o),t.dispatch({type:"ADD_TO_FILTER",payload:{key:t.filter_name,value:o}}),t.onChange(t.component_name,o)},defaultOptions:i,value:e,defaultValue:e,getOptionLabel:t=>t.label,getOptionValue:t=>t.id,loadOptions:e=>{var a="";return Object.keys(t.filter).map(((e,s)=>{Object.values(t.filter)[s].map((t=>{a+="&"+e+"[]="+encodeURIComponent(t.value)}))})),N.get("?q=".concat(t.component_name).concat(a,"&screener=edge_office&search_term=").concat(e)).then((t=>t.data.suggestions))},onFocus:e=>{var a="";Object.keys(t.filter).map(((e,s)=>{Object.values(t.filter)[s].map((t=>{a+="&"+e+"[]="+encodeURIComponent(t.value)}))})),N.get("?q=".concat(t.component_name).concat(a,"&screener=edge_office")).then((t=>{l(t.data.suggestions)}))},onChange:s=>{s.length>e.length?t.dispatch({type:"ADD_TO_FILTER",payload:{key:t.filter_name,value:s}}):t.dispatch({type:"REMOVE_FROM_FILTER",payload:{key:t.filter_name,value:s}}),a(s),t.onChange(t.component_name,s)},isMulti:!0,styles:o,maxMenuHeight:200,components:{MultiValue:C},backspaceRemovesValue:!0})})),v=a(56),T=a(1143),I=a(1128),_=a(1141),E=a(1140),U=a(330),R=a(47),Y=a.n(R),Q=a(755),k=a(84);const P=new w({get:!0,post:!0,url:"api/screener/load_filters"}),G=new w({get:!0,post:!0,url:"api/screener/save-filter"}),L=new w({get:!0,post:!0,url:"api/screener/save-recent-searches"});var V=a(13),z=(a(45),a(40)),J=a.n(z);const W={get get(){var t={};return 0!==window.location.search.length&&window.location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(e,a,s){a=decodeURIComponent(a),"undefined"===typeof t[a]?t[a]=decodeURIComponent(s):t[a]=[].concat(t[a],decodeURIComponent(s))})),t}}
1,H=(t,e)=>{if(null===e||"undefined"==e)return"#";if("owner"==t){var a='{"owner":[{"id":"o-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/owner/?filter="+encodeURIComponent(a)}if("complex"==t){a='{"complex":[{"id":"b-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/asset/?filter="+encodeURIComponent(a)}if("tenant"==t){a='{"tenant":[{"id":"t-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/occupier/?filter="+encodeURIComponent(a)}if("micromarket"==t){a='{"micromarket":[{"id":"sm-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/region/?filter="+encodeURIComponent(a)}if("developer"==t){a='{"developer":[{"id":"d-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/developer/?filter="+encodeURIComponent(a)}if("city"==t){a='{"city":[{"id":"c-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/region/?filter="+encodeURIComponent(a)}if("macromarket"==t){a='{"macromarket":[{"id":"mam-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/region/?filter="+encodeURIComponent(a)}if("leaseId"==t){a='{"Lease_Id":[{"id":"cre-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/custom/?filter="+encodeURIComponent(a)}if("building_grade"==t){a='{"building_grade":[{"id":"bg-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/asset/?filter="+encodeURIComponent(a)}if("brands_parent"==t){a='{"brands_parent":[{"id":"bp-'.concat(J()(e),'","value":"').concat(e,'","label":"').concat(e,'"}]}');return a="/office/occupier/?filter="+encodeURIComponent(a)}return"#"},Z=t=>{var e=new FormData;return e.append("filter",t),e},X=t=>{if("undefined"===typeof t)return{};let e=JSON.parse(t),a={city_tier:"markets-tier",city:"markets",region:"region",macromarket:"macromarkets",micromarket:"micromarkets",pincode:"pincodes",complex:"complexes",building:"buildings",building_grade:"building-grade",building_category:"buildingCategory",spacetype:"spaceTypes",property_condition:"propertyCondition",tenant:"tenants",sector:"sector",developer:"developers",landlord:"landlords",ownership_type:"ownershipType",owner:"owners",renewed_lease:"renewed-lease",document_type:"documentType",active:"lease-status",Lease_Id:"creid",Sale_Id:"cresaleid",seller:"seller",purchaser:"purchaser",brand_sub_category:"brand_sub_category",brands_parent:"brandsParent",end_status:"endStatus",securityDeposit:"securityDeposit",startingRent:"startingRent",startingRentCarpet:"startingRentCarpet",currentRent:"currentRent",currentRentCarpet:"currentRentCarpet",leaseTerm:"leaseTerm",rentFreePeriod:"rentFreePeriod",lockinPeriod:"lockinPeriod",transactionSize:"transactionSize",perSqFt:"perSqFt",totalConsideration:"totalConsideration",areaPurchased:"areaPurchased",rsStartingRentPercent:"rsStartingRentPercent",rsCurrentRentPercent:"rsCurrentRentPercent",start_leaseExpiryDate:"leaseExpiryDateMin",end_leaseExpiryDate:"leaseExpiryDateMax",start_lockinPeriodEndDate:"lockinPeriodEndDateMin",end_lockinPeriodEndDate:"lockinPeriodEndDateMax",start_executionDate:"executionDateMin",end_executionDate:"executionDateMax",start_commencementDate:"commencementDateMin",end_commencementDate:"commencementDateMax",start_absorptionDate:"absorptionDateMin",end_absorptionDate:"absorptionDateMax",start_occupancy_date_orig:"occupancy_date_origMin",end_occupancy_date_orig:"occupancy_date_origMax",start_exitDate:"exitDateMin",end_exitDate:"exitDateMax",floor_number:"floor_number",complexChargeableArea:"complexChargeableArea",buildingChargeableArea:"buildingChargeableArea",bounds:"bounds"};var s={};return Object.keys(e).map(((t,i)=>{null===e[t]||0===e[t].length||""===e[t]||Array.isArray(e[t])&&e[t].join("|")===[0,0].join("|")||("securityDeposit"==t||"startingRent"==t||"startingRentCarpet"==t||"currentRent"==t||"currentRentCarpet"==t||"leaseTerm"==t||"rentFreePeriod"==t||"lockinPeriod"==t||"transactionSize"==t||"perSqFt"==t||"totalConsideration"==t||"areaPurchased"==t||"rsStartingRentPercent"==t||"rsCurrentRentPercent"==t||"complexChargeableArea"==t||"buildingChargeableArea"==t?(s[t+"Start"]=[{value:e[t][0].toString(),id:"",label:e[t][0].toString()}],s[t+"End"]=[{value:e[t][1].toString(),id:"",label:e[t][1].toString()}]):"start_leaseExpiryDate"==t||"end_leaseExpiryDate"==t||"start_lockinPeriodEndDate"==t||"end_lockinPeriodEndDate"==t||"start_executionDate"==t||"end_executionDate"==t||"start_commencementDate"==t||"end_commencementDate"==t||"start_absorptionDate"==t||"end_absorptionDate"==t||"start_occupancy_date_orig"==t||"end_occupancy_date_orig"==t||"start_exitDate"==t||"end_exitDate"==t?s[a[t]]=[{value:Y()(e[t]).format("X"),id:"",label:Y()(e[t]).format("YYYY-MM-DD")}]:"undefined"!==typeof a[t]&&(s[a[t]]=e[t]))})),s},K=t=>{let e=JSON.parse(t),a={"markets-tier":"city_tier",markets:"city",macromarkets:"macromarket",micromarkets:"micromarket",pincodes:"pincode",complexes:"complex",buildings:"building","building-grade":"building_grade",buildingCategory:"building_category",spaceTypes:"spacetype",propertyCondition:"property_condition",tenants:"tenant",sector:"sector",developers:"developer",landlords:"landlord",ownershipType:"ownership_type",owners:"owner","renewed-lease":"renewed_lease",documentType:"document_type","lease-status":"active",creid:"Lease_Id",cresaleid:"Sale_Id",seller:"seller",purchaser:"purchaser",brand_sub_category:"brand_sub_category",brandsParent:"brands_parent",endStatus:"end_status",securityDepositStart:"securityDeposit",startingRentStart:"startingRent",startingRentCarpetStart:"startingRentCarpet",currentRentStart:"currentRent",currentRentC
1arpetStart:"currentRentCarpet",leaseTermStart:"leaseTerm",rentFreePeriodStart:"rentFreePeriod",lockinPeriodStart:"lockinPeriod",transactionSizeStart:"transactionSize",perSqFtStart:"perSqFt",totalConsiderationStart:"totalConsideration",areaPurchasedStart:"areaPurchased",rsStartingRentPercentStart:"rsStartingRentPercent",rsCurrentRentPercentStart:"rsCurrentRentPercent",leaseExpiryDateMin:"start_leaseExpiryDate",leaseExpiryDateMax:"end_leaseExpiryDate",lockinPeriodEndDateMin:"start_lockinPeriodEndDate",lockinPeriodEndDateMax:"end_lockinPeriodEndDate",executionDateMin:"start_executionDate",executionDateMax:"end_executionDate",commencementDateMin:"start_commencementDate",commencementDateMax:"end_commencementDate",absorptionDateMin:"start_absorptionDate",absorptionDateMax:"end_absorptionDate",occupancy_date_origMin:"start_occupancy_date_orig",occupancy_date_origMax:"end_occupancy_date_orig",exitDateMin:"start_exitDate",exitDateMax:"end_exitDate",floor_number:"floor_number",complexChargeableArea:"complexChargeableArea",buildingChargeableArea:"buildingChargeableArea",bounds:"bounds"};var s={};return Object.keys(e).map(((t,i)=>{if(null===e[t]||0===e[t].length||""===e[t]||Array.isArray(e[t])&&e[t].join("|")===[0,0].join("|"));else if("securityDepositStart"==t||"startingRentStart"==t||"startingRentCarpetStart"==t||"currentRentStart"==t||"currentRentCarpetStart"==t||"leaseTermStart"==t||"rentFreePeriodStart"==t||"lockinPeriodStart"==t||"transactionSizeStart"==t||"perSqFtStart"==t||"totalConsiderationStart"==t||"areaPurchasedStart"==t||"rsStartingRentPercentStart"==t||"rsCurrentRentPercentStart"==t||"complexChargeableArea"==t||"buildingChargeableArea"==t){let a=t.replace(/Start$/g,"");s[a]=[parseInt(e[a+"Start"][0].label),parseInt(e[a+"End"][0].label)]}else if("leaseExpiryDateMin"==t||"lockinPeriodEndDateMin"==t||"executionDateMin"==t||"commencementDateMin"==t||"absorptionDateMin"==t||"occupancy_date_origMin"==t||"exitDateMin"==t){let a=t.replace(/Min$/g,"");s["start_"+a]=Y()(Y()(e[a+"Min"][0].label,"DD-MM-YYYY").format("YYYY-MM-DD")).utcOffset(330).format()}else if("leaseExpiryDateMax"==t||"lockinPeriodEndDateMax"==t||"executionDateMax"==t||"commencementDateMax"==t||"absorptionDateMax"==t||"occupancy_date_origMax"==t||"exitDateMax"==t){let a=t.replace(/Max$/g,"");s["end_"+a]=Y()(Y()(e[a+"Max"][0].label,"DD-MM-YYYY").format("YYYY-MM-DD")).utcOffset(330).format()}else"undefined"!==typeof a[t]&&(s[a[t]]=e[t])})),JSON.stringify(s)},q=(t,e)=>{const a=new V.default({orientation:"landscape"});a.addFileToVFS("poppins.ttf","AAEAAAANAIAAAwBQR0RFRgkWCRkAAAFYAAAAQEdQT1MXRyG6AAAjKAAAE+ZHU1VChSeQLgAAWagAACZ0T1MvMtnrd+0AAAGYAAAAYGNtYXA1CTsUAAAB+AAAAtJnbHlmUcOS0wAAgBwAAeoCaGVhZBrJJGEAAAEgAAAANmhoZWEMdQYgAAAA/AAAACRobXR4ZsjwMQAAEpwAABCKbG9jYQsjgYUAAApUAAAISG1heHAEpQEsAAAA3AAAACBuYW1luw0UrAAABMwAAAWIcG9zdDq/aJsAADcQAAAilQABAAAEIwCVAAwAdgAGAAEAAgAeAAYAAABkAAAAAwACAAEAAAQa/qIAZAnt/e35bgoHAAEAAAAAAAAAAAAAAAAAAAQiAAEAAAAEAQab98VTXw889QADA+gAAAAA2KSpvgAAAADbFjbM/e39xAoHBCkAAAAHAAIAAAAAAAAAAQAAAAwAAAAAAAAAAgAIABgAHwADACIAIgADAHkAegADAH0AfQADAJIAkgADAlwCXwADAmcCbAADAnMCcwADAAQDUwGQAAUAAAKKAlgAAABLAooCWAAAAV4AMgFIAAAAAAUAAAAAAAAAAACABwAAAAAAAAAAAAAAAElURk8AwAAA+wIEGv6iAGQEbwJzIAAAkwAAAAACJAK6AAAAIAAEAAAAAgAAAAMAAAAUAAMAAQAAABQABAK+AAAAmgCAAAYAGgAAAA0AIAB+AQcBGwEjATEBNwFIAVsBZQF+AY8BkgH9AhsCWQK8AscCyQLdA8AJAwkLCQ0JEQkUCSgJMAkzCTkJRQlJCU0JUAleCWUJbwlwCXIehR69HvMe+SANIBQgGiAeICIgJiAwIDogRCCoIKwguiC9IRMhIiEmIS4iAiIGIg8iEiIVI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AhAqIAIQKiACECogAhA4QADAMEACsCAQBNAgEATQIBAE0CAQBNAPYABwD2AAcA9v/wAPb/9QLVAAkCvwBNAxIAKwMSACsDEgArAxIAKwMSACsCgwBnAxIAIwKjAEsCowBLAqMASwKjAEsCSAATAkMATQKpADwCpAArAqQAKwKkACsCpAArAqQAKwKkACsESQArAl8AKwJsACsCbAArAmwAKwJsACsA9gAHAPYABwD2//AA9v/1An4AKwKAAE0CgAArAoAAKwKAACsCgAArAoAAKwKRAE4CgAAmAoAASAKAAEgCgABIAoAASAIzAAwCpABNAjMADAKiACECpAArAqIAIQKkACsCogAhAqQAKwMEACsCXwArAwQAKwJfACsDBAArAl8AKwLDAE0C8gArAtUACQKjACsCAQBNAmwAKwIBAE0CbAArAgEATQJsACsCAQBNAmwAKwIBAE0CbAArAwoAKwKkACsDCgArAqQAKwMKACsCpAArAPb/6AD2/+gA9v/KAPb/ygD2/+wA9v/sAPb/6gD2/+oA9gBGAPYATQJXAE0CAwBNAbAATQD2AAcBsABNAPYASwG+AE0BcQBNAbAATQEnAE0BtQAJAPsACQK/AE0CgABNAr8ATQKAAE0CvwBNAoAATQMSACsCgAArAxIAKwKAACsDEgArAoAAKwQ+ACsEOAArAmAATQF1AE0CYABNAXUASwJgAE0BdQBNAksAOQIKAC8CSwA5AgoALwJLADkCCgAvAh0AIgFsABoCHQAiAW8AGgKjAEsCgABIAqMASwKAAEgCowBLAoAASAKjAEsCgABIAqMASwKAAEgCowBLAoAASAPQABcDNAAMAkgAEwIzAAwCSAATAh0ALgHHACkCHQAuAccAKQIdAC4BxwApAxIARAFM/9ADhAAMBEwAKwJLADkCCgAvAh0AIgFsABoCbAArANsAIAE3ABEBNwARAYMAEQFAABEAjwATAPMADwDxABQBWQARAVgAEQLGACcD0AAXAzQADAPQABcDNAAMA9AAFwM0AAwCAQBNAmwAKwJIABMCMwAMAkgAEwIzAAwCpQBMA3UATADbABgA2wAgALr//gF8ABgBfAAgAV7//gIiACwCIwAtAZwAUwJFACwD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GoAZABeAFgAUgBMAEYAQAA6ADQALgAoAjUAAgCpAjEAAgCgAi0AAgCfAioAAgCVAjsAAgBCAjoAAgBAAjkAAgA9AjcAAgA8AjYAAgA5AjQAAgA4AjIAAgAyAi8AAgAvAisAAgAuAikAAgAkAjgAAwBoAD0CMwADAF4APQIwAAMAWwA9Ai4AAwBaAEACLAADAFoAPQAMAFwAVgBQAEoARAA+ADgAMgAsACYAIAAaAh4AAgBIAigAAgBBAicAAgBAAiYAAgA/AiUAAgA9AiQAAgA8AiMAAgA3AiIAAgAzAiEAAgAuAiAAAgAqAh8AAgApAh0AAgAkAAUAJAAeABgAEgAMAhwAAgBEAhsAAgBAAhoAAgA/AhkAAgA9AhgAAgA3ABsA2gDSAMoAwgC8ALYAsACqAKQAngCYAJIAjACGAIAAegB0AG4AaABiAFwAVgBQAEoARAA+ADgCCwACAKYCAgACAEsCFwACAEQCFgACAEMCFAACAEACEgACAD8CEQACAD0CEAACADwCDwACADsCDgACADoCDQACADkCDAACADgCCgACADUCCAACADQCBwACADMCBgACADECBQACADACBAACAC8CAwACAC4CAQACACsCAAACACYB/wACACUB/QACACQCFQADAGwAMAITAAMAawA9AgkAAwBgAD0B/gADAFAAPQACAAwABgH6AAIAPQH5AAIANwATAJgAkACIAIIAfAB2AHAAagBkAF4AWABSAEwARgBAADoANAAuACgB8AACAKwB7QACAKsB6gACAKkB+AACAEQB9wACAEMB9gACAEEB9QACAEAB9AACAD8B8wACAD0B8gACADwB7gACADsB6wACADoB6QACADgB6AACADcB5wACADUB5gACADMB8QADAGcAQAHvAAMAZwA9AewAAwBmAD0ABAAcABYAEAAKAeUAAgBAAeQAAgA/AeIAAgA9AeEAAgA3ABIAkACIAIAAegB0AG4AaABiAFwAVgBQAEoARAA+ADgAMgAsACYB2gACAKwB0AACAEsB4AACAEMB3wACAEEB3gACAEAB3AACAD8B2wACAD0B2QACADsB2AACADoB1wACADcB1QACADYB1AACADUB0wACADMB0gACACwBzwACACsB3QADAGsAPQHWAAMAYgBAAdEAAwBXAD0ACQBEAD4AOAAyACwAJgAgABoAFAHNAAIAQQHMAAIAP
1wHLAAIAPQHJAAIAOQHIAAIAOAHHAAIANwHFAAIAMwHEAAIALgHCAAIAKwAMAFwAVgBQAEoARAA+ADgAMgAsACYAIAAaAcEAAgBDAcAAAgBAAb8AAgA/Ab4AAgA9Ab0AAgA8AbwAAgA5AbsAAgA4AboAAgA3AbgAAgAzAbcAAgAvAbYAAgAuAbkAAwBfAD0AJgFIAUABOAEwASgBIAEYARABCAEAAPgA8ADoAOAA2ADSAMwAxgDAALoAtACuAKgAogCcAJYAkACKAIQAfgB4AHIAbABmAGAAWgBUAE4BqQACAKoBpwACAKkBogACAKcBngACAKYBmAACAKQBtQACAEQBsQACAEMBsAACAEABrwACAD0BrQACADwBqgACADsBqAACADkBpgACADgBpAACADcBoAACADYBnQACADUBmgACADQBlgACADMBlQACADABlAACAC4BkwACACoBkgACACkBkAACACQBtAADAG8APQGyAAMAbwAuAa4AAwBoAD0BrAADAGcAQAGrAAMAZwA9AaUAAwBjAD0BowADAGIAQAGhAAMAYgA9AZ8AAwBhAEABnAADAGAAQAGbAAMAYAA9AZkAAwBfAEMBlwADAF8APQGRAAMAUABDAbMABABvAGgAPQAFACQAHgAYABIADAGPAAIAQAGOAAIAPQGNAAIAPAGLAAIANwGMAAMAYwA9AAwAXABWAFAASgBEAD4AOAAyACwAJgAgABoBhgACAKsBgAACAJcBigACAEABiQACAD0BiAACADwBhwACADsBhQACADoBhAACADcBgwACADYBggACADUBgQACACcBfwACACYAAwAUAA4ACAF+AAIAQAF9AAIAPQF8AAIANwAaAN4A1gDOAMYAvgC2AK4ApgCeAJYAkACKAIQAfgB4AHIAbABmAGAAWgBUAE4ASABCADwANgFvAAIAqQFnAAIAlgFjAAIAlQFlAAIARgF4AAIAQwF3AAIAQAF2AAIAPwF0AAIAPQFyAAIAPAFxAAIAOQFuAAIAOAFsAAIANwFrAAIANAFoAAIAMwFmAAIAJQFhAAIAJAF7AA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AIAlAABAAQAsgACAJQAAQAEALEAAgCUAAEABACwAAIAlAABAAQArwACAJQAAQAEAK4AAgCUAAEABACtAAIAlAABAAQArAACAJQAAQAEAKsAAgCUAAEABACqAAIAlAABAAQAqQACAJQAAQAEAKgAAgCUAAEABACnAAIAlAABAAQApgACAJQAAQAEAKUAAgCUAAEABACkAAIAlAABAAQAowACAJQAAQAEAKIAAgCUAAEABAChAAIAlAABAAQAoAACAJQAAQAEAJ8AAgCUAAEABACeAAIAlAABAAQAnQACAJQAAQAEAJwAAgCUAAEABACbAAIAlAABAAQAmgACAJQAAQAEAJkAAgCUAAEABACYAAIAlAABAAQAlwACAJQAAQAEAJYAAgCUAAEABACVAAIAlAACAAcAJAA9AAAAPwBFABoASABLACEATgBOACUAUABpACYAawBxAEAAdAB4AEcABAAAAAEACAABAc4AJgHEAboBsAGmAZwBkgGIAX4BdAFqAWABVgFMAUIBOAEuASQBGgEQAQYA/ADyAOgA3gDUAMoAwAC2AKwAogCYAI4AhAB6AHAAZgBcAFIAAQAEAOAAAgB9AAEABADfAAIAfQABAAQA3gACAH0AAQAEAN0AAgB9AAEABADcAAIAfQABAAQA2wACAH0AAQAEANoAAgB9AAEABADZAAIAfQABAAQA2AACAH0AAQAEANcAAgB9AAEABADWAAIAfQABAAQA1QACAH0AAQAEANQAAgB9AAEABADTAAIAfQABAAQA0gACAH0AAQAEANEAAgB9AAEABADQAAIAfQABAAQAzwACAH0AAQAEAM4AAgB9AAEABADNAAIAfQABAAQAzAACAH0AAQAEAMsAAgB9AAEABADKAAIAfQABAAQAyQACAH0AAQAEAMgAAgB9AAEABADHAAIAfQABAAQAxgACAH0AAQAEAMUAAgB9AAEABADEAAIAfQABAAQAwwACAH0AAQAEAMIAAgB9AAEABADBAAIAfQABAAQAwAACAH0AAQAEAL8AAgB9AAEABAC+AAIAfQABAAQAvQACAH0AAQAEALwAAgB9AAEABAC7AAIAfQACAAEAlQC6AAAABAAAAAEACAABAfQAKgHqAeAB1gHMAcIBuAG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IwPOAK8AAAACBBQAAAACACX/+AKZAt0AKAA1AAAhJwYGIyImJjU0NjYzMycmJjU0NjYzMhYWFRQHIzY1NCYjIgYVFBYXASQ2NTQmJiMiBhUUFjMCLHQPbUg4Xzg0WDQICiQiKlE4OlMqB1oGMiooMBQYAXX+kEgkOyI0Rko1kEJWNV89PFwzCy1HKCpKLi1KKRYXDxUpMzIkGi0e/itESzclPiNIOjpMAAABADkAAAIaAtUAGQAAATY2NTQmIyIGByM+AjMyFhUUBgcHIRUhNQEKWkdEQ0RKAlgBPmhCaXlSZpEBXP4fAQtXbjc7RVdKTWw2cV1EiGOMTEEAAQA1//sCHwLUABoAAAAWFRQGIyImJzMWFjMyNjU0JiMjNTchNSEVBwGke4NyZ4YIWwZRRUZSUEVmyP7NAaDIAbp0aWh6b2Y9TFBGR1BB00xG0gAAAgA6//cCJwLTABIAHgAAABYWFRQGBiMiJiY1NDcTMwM2MxI2NTQmIyIGFRQWMwGCajs+cEdJcT5NuGO7Jy9AV1dLS1paSwHVO2tFRm4/QHBFanABDf7zD/5uW0xMW1tLTFwAAAIAKv/8AhgC2AATAB8AAAAWFhUUBgcDIxMGIyImJjU0NjYzAhYzMjY1NCYjIgYVAWpwPiUouGW8JyxHazs/cEikWUtLWFhLS1kC2EBwRTlrOf72AQgOPGtGR28//r1cXE1OXFxNAAA="),a.addFont("poppins.ttf","poppins","regular","Identity-H"),a.setFont("poppins"),a.autoTable({html:t,theme:"striped",margin:{top:10},headerStyles:{fillColor:[255,255,255],textColor:[0,0,0],font:"poppins"},columnStyles:{font:"poppins"}}),a.save("".concat(e,".pdf"))},$=t=>{var e=!1;if(null==t||"undefined"===typeof t)return!1;if(Array.isArray(t)&&t.length<=0)return!1;for(let a=0;a<t.length;a++)null!=t[a]&&""!=t[a]&&0!=t[a]&&"0"!=t[a]&&(e=!0);return e},tt=t=>{const e=[];for(let a=0;a<t.data.x.length;a++){let s={};"undefined"!=typeof t.data.axis&&"undefined"!=typeof t.data.axis.x&&"undefined"!=typeof t.data.x&&(s[t.data.axis.x]=isNaN(t.data.x[a])?t.data.x[a]:parseFloat(t.data.x[a])),"undefined"!=typeof t.data.axis&&"undefined"!=typeof t.data.axis.x&&"undefined"!=typeof t.data.label&&(s[t.data.axis.x]=isNaN(t.data.label[a])?t.data.label[a]:parseFloat(t.data.label[a])),"undefined"!=typeof t.data.legend.y1&&"undefined"!=typeof t.data.datapoints.y1&&t.data.datapoints.y1&&(s[t.data.legend.y1]=isNaN(t.data.datapoints.y1[a])?t.data.datapoints.y1[a]:null==t.data.datapoints.y1[a]?"-":parseFloat(t.data.datapoints.y1[a])),"undefined"!=typeof t.data.legend.y2&&"undefined"!=typeof t.data.datapoints.y2&&t.data.datapoints.y2&&(s[t.data.legend.y2]=isNaN(t.data.datapoints.y2[a])?t.data.datapoints.y2[a]:null==t.data.datapoints.y2[a]?"-":parseFloat(t.data.datapoints.y2[a])),"undefined"!=typeof t.data.legend.y3&&"undefined"!=typeof t.data.datapoints.y3&&t.data.datapoints.y3&&(s[t.data.legend.y3]=isNaN(t.data.datapoints.y3[a])?t.data.datapoints.y3[a]:null==t.data.datapoints.y3[a]?"-":parseFloat(t.data.datapoints.y3[a])),"undefined"!=typeof t.data.legend.y4&&"undefined"!=typeof t.data.datapoints.y4&&t.data.datapoints.y4&&(s[t.data.legend.y4]=isNaN(t.data.datapoints.y4[a])?t.data.datapoints.y4[a]:null==t.data.datapoints.y4[a]?"-":parseFloat(t.data.datapoints.y4[a])),"undefined"!=typeof t.data.legend.y5&&"undefined"!=typeof t.data.datapoints.y5&&(s[t.data.legend.y5]=isNaN(t.data.datapoints.y5[a])?t.data.datapoints.y5[a]:null==t.data.datapoints.y5[a]?"-":parseFloat(t.data.datapoints.y5[a])),"undefined"!=typeof t.data.legend.y6&&"undefined"!=typeof t.data.datapoints.y6&&(s[t.data.legend.y6]=isNaN(t.data.datapoints.y6[a])?t.data.datapoints.y6[a]:null==t.data.datapoints.y6[a]?"-":parseFloat(t.data.datapoints.y6[a])),"undefined"!=typeof t.data.legend.y1&&"undefined"!=typeof t.data.datapoints['"5k_to_10k"']&&(s[t.data.legend.y1]=isNaN(t.data.datapoints['"5k_to_10k"'][a])?t.data.datapoints['"5k_to_10k"'][a]:p
1arseFloat(t.data.datapoints['"5k_to_10k"'][a])),"undefined"!=typeof t.data.legend.y2&&"undefined"!=typeof t.data.datapoints["10k_to_20k"]&&(s[t.data.legend.y2]=isNaN(t.data.datapoints["10k_to_20k"][a])?t.data.datapoints["20k_to_50k"][a]:parseFloat(t.data.datapoints["20k_to_50k"][a])),"undefined"!=typeof t.data.legend.y3&&"undefined"!=typeof t.data.datapoints["20k_to_50k"]&&(s[t.data.legend.y3]=isNaN(t.data.datapoints["20k_to_50k"][a])?t.data.datapoints["20k_to_50k"][a]:parseFloat(t.data.datapoints["20k_to_50k"][a])),"undefined"!=typeof t.data.legend.y4&&"undefined"!=typeof t.data.datapoints["50k_to_100k"]&&(s[t.data.legend.y4]=isNaN(t.data.datapoints["50k_to_100k"][a])?t.data.datapoints["50k_to_100k"][a]:parseFloat(t.data.datapoints["50k_to_100k"][a])),"undefined"!=typeof t.data.legend.y5&&"undefined"!=typeof t.data.datapoints["<_5k"]&&(s[t.data.legend.y5]=isNaN(t.data.datapoints["<_5k"][a])?t.data.datapoints["<_5k"][a]:parseFloat(t.data.datapoints["<_5k"][a])),"undefined"!=typeof t.data.legend.y6&&"undefined"!=typeof t.data.datapoints["<_100k"]&&(s[t.data.legend.y6]=isNaN(t.data.datapoints["<_100k"][a])?t.data.datapoints["<_100k"][a]:parseFloat(t.data.datapoints["<_100k"][a])),"undefined"!=typeof t.data.legend&&"undefined"!=typeof t.data.y&&(s[t.data.legend]=isNaN(t.data.y[a])?t.data.y[a]:parseFloat(t.data.y[a])),"undefined"!=typeof t.data.legend.y1&&"undefined"!=typeof t.data.datapoints.y1&&t.data.datapoints.y1&&"undefined"!=typeof t.data.datapoints.y1.data&&null!=t.data.datapoints.y1.data&&(s[t.data.legend.y1]=isNaN(t.data.datapoints.y1.data[a])?t.data.datapoints.y1.data[a]:parseFloat(t.data.datapoints.y1.data[a])),"undefined"!=typeof t.data.legend.y2&&"undefined"!=typeof t.data.datapoints.y2&&t.data.datapoints.y2&&"undefined"!=typeof t.data.datapoints.y2.data&&null!=t.data.datapoints.y2.data&&(s[t.data.legend.y2]=isNaN(t.data.datapoints.y2.data[a])?t.data.datapoints.y2.data[a]:parseFloat(t.data.datapoints.y2.data[a])),"undefined"!=typeof t.data.legend.y3&&"undefined"!=typeof t.data.datapoints.y3&&t.data.datapoints.y3&&"undefined"!=typeof t.data.datapoints.y3.data&&null!=t.data.datapoints.y3.data&&(s[t.data.legend.y3]=isNaN(t.data.datapoints.y3.data[a])?t.data.datapoints.y3.data[a]:parseFloat(t.data.datapoints.y3.data[a])),"undefined"!=typeof t.data.legend.y4&&"undefined"!=typeof t.data.datapoints.y4&&t.data.datapoints.y4&&"undefined"!=typeof t.data.datapoints.y4.data&&null!=t.data.datapoints.y4.data&&(s[t.data.legend.y4]=isNaN(t.data.datapoints.y4.data[a])?t.data.datapoints.y4.data[a]:parseFloat(t.data.datapoints.y4.data[a])),"undefined"!=typeof t.data.legend.y5&&"undefined"!=typeof t.data.datapoints.y5&&t.data.datapoints.y5&&"undefined"!=typeof t.data.datapoints.y5.data&&null!=t.data.datapoints.y5.data&&(s[t.data.legend.y5]=isNaN(t.data.datapoints.y5.data[a])?t.data.datapoints.y5.data[a]:parseFloat(t.data.datapoints.y5.data[a])),"undefined"!=typeof t.data.legend.y6&&"undefined"!=typeof t.data.datapoints.y6&&t.data.datapoints.y6&&"undefined"!=typeof t.data.datapoints.y6.data&&null!=t.data.datapoints.y6.data&&(s[t.data.legend.y6]=isNaN(t.data.datapoints.y6.data[a])?t.data.datapoints.y6.data[a]:parseFloat(t.data.datapoints.y6.data[a])),e.push(s)}return e},et=(t,e,a)=>{const s=[];for(let i=0;i<t.data.x.length;i++){let l={};"undefined"!=typeof t.data.x&&(l[e]=t.data.x[i]),"undefined"!=typeof t.data.y&&(l[a]=t.data.y[i]),s.push(l)}return s},at=(t,e,a)=>{const s=[];for(let i=0;i<t.data.x.length;i++){let l={};"undefined"!=typeof t.data.x&&(l[a]=t.data.y[i]),"undefined"!=typeof t.data.y&&(l[e]=Number(t.data.x[i])),s.push(l)}return s},st=(t,e)=>{if(e.length>0&&"ull"!=e&&t.length>0&&"ull"!=t){const a=new Date(t),s=new Date(e),i=Math.abs(s-a);if(Math.ceil(i/864e5)>720)return!0}return!1},it=(t,e)=>{var a=[];for(let i=0;i<t.length;i++){var s={};for(const a in e)if(t[i].hasOwnProperty(a))if("string"==e[a].type)s[e[a].name]=t[i][a];else if("int"==e[a].type&&null!=t[i][a]){let l=t[i][a].toString().replaceAll(",","");s[e[a].name]="-"==l?"-":parseFloat(l)}a.push(s)}return a},lt=t=>{let e=[],a=[];if(0==t.length)return{columns:a,data:e};a=[{title:"Region",field:"region"}];let s=Object.keys(t["Pan India"].data);for(let l=0;l<s.length;l++){const t=s[l];a.push({title:t,field:t})}let i=1;
1for(const[l,o]of Object.entries(t)){let t=o.data;t.id=i,t.region=l,e.push(t);let a=Object.keys(o);for(let s=0;s<a.length;s++)if("data"!==a[s]){i++;let l=o[a[s]].data;l.id=i,l.region=a[s],l.parentId=t.id,e.push(l);let c=Object.keys(o[a[s]]);for(let t=0;t<c.length;t++)if("data"!==c[t]){i++;let n=o[a[s]][c[t]].data;n.id=i,n.region=c[t],n.parentId=l.id,e.push(n)}}i++}return{columns:a,data:e}},ot={city_tier:"markets-tier",city:"markets",region:"region",macromarket:"macromarkets",micromarket:"micromarkets",pincode:"pincodes",complex:"complexes",building:"buildings",building_grade:"building-grade",building_category:"buildingCategory",spacetype:"spaceTypes",property_condition:"propertyCondition",tenant:"tenants",sector:"sector",developer:"developers",landlord:"landlords",ownership_type:"ownershipType",owner:"owners",renewed_lease:"renewed-lease",document_type:"documentType",active:"lease-status",Lease_Id:"creid",Sale_Id:"cresaleid",seller:"seller",purchaser:"purchaser",end_status:"endStatus",brands_parent:"brandsParent",securityDeposit:"securityDeposit",startingRent:"startingRent",startingRentCarpet:"startingRentCarpet",currentRent:"currentRent",currentRentCarpet:"currentRentCarpet",leaseTerm:"leaseTerm",rentFreePeriod:"rentFreePeriod",lockinPeriod:"lockinPeriod",transactionSize:"transactionSize",perSqFt:"perSqFt",totalConsideration:"totalConsideration",areaPurchased:"areaPurchased",start_leaseExpiryDate:"leaseExpiryDateMin",end_leaseExpiryDate:"leaseExpiryDateMax",start_lockinPeriodEndDate:"lockinPeriodEndDateMin",end_lockinPeriodEndDate:"lockinPeriodEndDateMax",start_executionDate:"executionDateMin",end_executionDate:"executionDateMax",start_commencementDate:"commencementDateMin",end_commencementDate:"commencementDateMax",start_absorptionDate:"absorptionDateMin",end_absorptionDate:"absorptionDateMax",start_occupancy_date_orig:"occupancy_date_origMin",end_occupancy_date_orig:"occupancy_date_origMax",start_exitDate:"exitDateMin",end_exitDate:"exitDateMax",floor_number:"floor_number",complexChargeableArea:"complexChargeableArea",buildingChargeableArea:"buildingChargeableArea",bounds:"bounds"};var ct=a(739),nt=a.n(ct),rt=a(86);const dt=Object(S.b)((t=>{const e={onMouseDown:t=>{t.preventDefault(),t.stopPropagation()}};return Object(M.jsx)(m.q.MultiValue,Object(h.a)(Object(h.a)({},t),{},{innerProps:e}))})),ht=Object(S.a)(rt.a);var pt=Object(D.b)((t=>({filter:t.filter})),null)((function(t){const[e,a]=Object(s.useState)(null),[i,l]=Object(s.useState)(null);Object(s.useEffect)((()=>{a(t.defaultVal),l(t.options)}),[t.defaultVal,t.options]);const o={container:t=>Object(h.a)(Object(h.a)({},t),{},{width:"60%"})};return Object(M.jsx)(ht,{axis:"xy",distance:4,getHelperDimensions:t=>{let{node:e}=t;return e.getBoundingClientRect()},onSortEnd:s=>{let{oldIndex:i,newIndex:l}=s;const o=(n=i,r=l,(c=(c=e).slice()).splice(r<0?c.length+r:r,0,c.splice(n,1)[0]),c);var c,n,r;a(o),t.onChange(t.component_name,o)},value:e,onChange:e=>{a(e),t.onChange(t.component_name,e)},options:i,isMulti:!0,components:{MultiValue:dt},styles:o,maxMenuHeight:100})}));const jt=new class{constructor(t){t.get&&(this.get=(t,e)=>y("undefined"===typeof e?t:t+e)),t.post&&(this.post=(t,e)=>f(t,e))}}({get:!0,post:!0});var At=a(185);let xt=!1;const bt=()=>{xt||(At.a.init("d04c8f769571c131abee7f24554e5d07",{debug:!1,track_pageview:!0,persistence:"localStorage"}),xt=!0)},mt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{xt||bt(),At.a.track(t,e)}catch(a){console.error("Mixpanel track failed:",a)}},gt="pdf_download",Ot="excel_download",ut="image_download",yt="csv_download",ft="date_range_selected",wt="chart_expanded",Nt="view_mode_switched",St="filter_applied",Dt="search_result_selected",Mt=()=>{try{const t=window.location.pathname.split("/").filter(Boolean),e=t[t.length-1]||"";return e.charAt(0).toUpperCase()+e.slice(1)}catch(t){return""}},Ct=function(t){let{moduleName:e,chartName:a,productName:s="cre-edge",mode:i,filters:l,extra:o={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};mt(t,Object(h.a)(Object(h.a)(Object(h.a)({module_name:e||Mt(),chart_name:a,product_name:s,component_type:"chart"},void 0!==i&&null!==i&&""!==i?{mode:i}:{}),void 0!==l&&null!==l&&""!==l?{filters:l}:{}),o))},Ft=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ct(t,Object(h.a)(Object(h.a)({},e),{},{extra:Object(h.a)({component_type:"table"},e.extra||{})}))};class Bt extends i.a.Component{constructor(t){super(t),this.handleSaveFilterChange=()=>{let t={};
1Object.keys(this.state.filters).forEach((e=>{this.state.filters[e].forEach((e=>{let a=null;if("autocompleteSourceDialog"===e.type||"autocompleteSourceLocal"===e.type)a=e.params;else if("range"===e.type)a=e["filter-name"];else if("date"===e.type){const a=e["filter-name"],s="start_"+a,i="end_"+a,l="months_"+a;return this.state[s]&&(t[s]=this.state[s]),this.state[i]&&(t[i]=this.state[i]),void(this.state[l]&&(t[l]=this.state[l]))}if(!a)return;const s=this.state[a];if(!(null===s||""===s||Array.isArray(s)&&0===s.length)){if(Array.isArray(s)&&this.state.original_range_min_max[a]){const t=this.state.original_range_min_max[a];if(s[0]===t[0]&&s[1]===t[1])return}t[a]=s}}))}));const e=new FormData;e.append("filter-name",this.state.saveFilterVal),e.append("action",2),e.append("filter-value",JSON.stringify(t)),e.append("screener","edge_office"),jt.post("api/screener/save-filter",e).then((t=>{if(t&&t.success&&t.success.length>0){t.success[0].trim().toLowerCase().includes("filter saved successfully")&&(this.setState({alertMessage:"Filter saved successfully!",alertType:"success"}),setTimeout((()=>this.setState({alertMessage:"",alertType:""})),3e3))}else if(t&&t.error&&t.error.length>0){const e=t.error[0].trim();this.setState({alertMessage:e,alertType:"warning"}),setTimeout((()=>this.setState({alertMessage:"",alertType:""})),3e3)}this.props.onFilterSave&&this.props.onFilterSave()}))},this.closeModal=()=>this.setState({isOpen:!1}),this.state={alertMessage:"",alertType:"",showSuccessAlert:!1,saveFilterChecked:!1,saveFilterVal:"",isSaveFilter:!1,isSaveFilterBlock:!1,isChecked:!1,errorMsg:"",isOpen:!1,city_tier:[],city:[],region:[],macromarket:[],micromarket:[],pincode:[],complex:[],building:[],building_grade:[],building_category:[],spacetype:[],property_condition:[],tenant:[],sector:[],developer:[],landlord:[],ownership_type:[],owner:[],renewed_lease:[],document_type:[],active:[],Lease_Id:[],Sale_Id:[],seller:[],purchaser:[],end_status:[],brands_parent:[],securityDeposit:[0,0],startingRent:[0,0],startingRentCarpet:[0,0],currentRent:[0,0],currentRentCarpet:[0,0],leaseTerm:[0,0],rentFreePeriod:[0,0],lockinPeriod:[0,0],transactionSize:[0,0],perSqFt:[0,0],totalConsideration:[0,0],areaPurchased:[0,0],complexChargeableArea:[0,0],buildingChargeableArea:[0,0],start_leaseExpiryDate:null,end_leaseExpiryDate:null,months_leaseExpiryDate:"",start_lockinPeriodEndDate:null,end_lockinPeriodEndDate:null,months_lockinPeriodEndDate:"",start_executionDate:null,end_executionDate:null,months_executionDate:"",start_commencementDate:null,end_commencementDate:null,months_commencementDate:"",start_absorptionDate:null,end_absorptionDate:null,months_absorptionDate:"",start_occupancy_date_orig:null,end_occupancy_date_orig:null,months_occupancy_date_orig:"",start_exitDate:null,end_exitDate:null,months_exitDate:"",floor_number:[],redirect:!1,uri:"",showAlert:!1,showFilter:!1,filters:[],filterSaveName:"",saveClicked:!1,original_range_min_max:[],activeFilterTab:"Location"},this.filterRef=i.a.createRef()}componentDidMount(){if(window.location.href.includes("filter")?this.setState({isSaveFilter:!0}):this.setState({isSaveFilter:!1}),this.setState({filters:this.props.filtersGroup,showFilter:this.props.showFilter}),(new FormData).append("screener","edge_office"),"undefined"!==typeof W.get.filter){let e=[];Object.keys(this.props.filtersGroup).map(((t,a)=>Object.values(this.props.filtersGroup)[a].map((t=>{if("range"===t.type){let a=t["filter-name"];this.setState({[a]:[t.min,t.max]}),e[t["filter-name"]]=[t.min,t.max],this.setState({original_range_min_max:e})}}))));var t=JSON.parse(W.get.filter);this.setState({city_tier:"undefined"!==typeof t.city_tier?t.city_tier:[],city:"undefined"!==typeof t.city?t.city:[],region:"undefined"!==typeof t.region?t.region:[],macromarket:"undefined"!==typeof t.macromarket?t.macromarket:[],micromarket:"undefined"!==typeof t.micromarket?t.micromarket:[],pincode:"undefined"!==typeof t.pincode?t.pincode:[],complex:"undefined"!==typeof t.complex?t.complex:[],building:"undefined"!==typeof t.building?t.building:[],building_grade:"undefined"!==typeof t.building_grade?t.building_grade:[],building_category:"undefined"!==typeof t.building_category?t.building_category:[],spacetype:"undefined"!==typeof t.spacetype?t.spacetype:[],property_condition:"undefined"!==typeof t.property_condition?t.property_condition:[],tenant:"undefined"!==typeof t.tenant?t.tenant:[],sector:"undefined"!==typeof t.sector?t.sector:[],developer:"undefined"!==typeof t.developer?t.developer:[],landlord:"undefined"!==typeof t.landlord?t.landlord:[],ownership_type:"undefined"!==typeof t.ownership_type?t.ownership_type:[],owner:"undefined"!==typeof t.owner?t.owner:[],renewed_lease:"undefined"!==typeof t.renewed_lease?t.renewed_lease:[],document_type:"undefined"!==typeof t.document_type?t.document_type:[],active:"undefined"!==typeof t.active?t.active:[],end_status:"undefined"!==typeof t.end_status?t.end_status:[],Lease_Id:"undefined"!==typeof t.Lease_Id?t.Lease_Id:[],Sale_Id:"undefined"!==typeof t.Sale_Id?t.Sale_Id:[],seller:"undefined"!==typeof t.seller?t.seller:[],purchaser:"undefined"!==typeof t.purchaser?t.purchaser:[],brands_parent:"undefined"!==typeof t.brands_parent?t.brands_parent:[],securityDeposit:"undefined"!==typeof t.securityDeposit?t.securityDeposit:e.securityDeposit,startingRent:"undefined"!==typeof t.startingRent?t.startingRent:e.startingRent,startingRentCarpet:"undefined"!==typeof t.startingRentCarpet?t.startingRentCarpet:e.startingRentCarpet,currentRent:"undefined"!==typeof t.currentRent?t.currentRent:e.currentRent,currentRentC
1arpet:"undefined"!==typeof t.currentRentCarpet?t.currentRentCarpet:e.currentRentCarpet,leaseTerm:"undefined"!==typeof t.leaseTerm?t.leaseTerm:e.leaseTerm,rentFreePeriod:"undefined"!==typeof t.rentFreePeriod?t.rentFreePeriod:e.rentFreePeriod,lockinPeriod:"undefined"!==typeof t.lockinPeriod?t.lockinPeriod:e.lockinPeriod,transactionSize:"undefined"!==typeof t.transactionSize?t.transactionSize:e.transactionSize,perSqFt:"undefined"!==typeof t.perSqFt?t.perSqFt:e.perSqFt,totalConsideration:"undefined"!==typeof t.totalConsideration?t.totalConsideration:e.totalConsideration,areaPurchased:"undefined"!==typeof t.areaPurchased?t.areaPurchased:e.areaPurchased,start_leaseExpiryDate:"undefined"!==typeof t.start_leaseExpiryDate?Y()(t.start_leaseExpiryDate).toDate():null,end_leaseExpiryDate:"undefined"!==typeof t.end_leaseExpiryDate?Y()(t.end_leaseExpiryDate).toDate():null,months_leaseExpiryDate:"undefined"!==typeof t.months_leaseExpiryDate?t.months_leaseExpiryDate:"",start_lockinPeriodEndDate:"undefined"!==typeof t.start_lockinPeriodEndDate?Y()(t.start_lockinPeriodEndDate).toDate():null,end_lockinPeriodEndDate:"undefined"!==typeof t.end_lockinPeriodEndDate?Y()(t.end_lockinPeriodEndDate).toDate():null,months_lockinPeriodEndDate:"undefined"!==typeof t.months_lockinPeriodEndDate?t.months_lockinPeriodEndDate:"",start_executionDate:"undefined"!==typeof t.start_executionDate?Y()(t.start_executionDate).toDate():null,end_executionDate:"undefined"!==typeof t.end_executionDate?Y()(t.end_executionDate).toDate():null,months_executionDate:"undefined"!==typeof t.months_executionDate?t.months_executionDate:"",start_commencementDate:"undefined"!==typeof t.start_commencementDate?Y()(t.start_commencementDate).toDate():null,end_commencementDate:"undefined"!==typeof t.end_commencementDate?Y()(t.end_commencementDate).toDate():null,months_commencementDate:"undefined"!==typeof t.months_commencementDate?t.months_commencementDate:"",start_absorptionDate:"undefined"!==typeof t.start_absorptionDate?Y()(t.start_absorptionDate).toDate():null,end_absorptionDate:"undefined"!==typeof t.end_absorptionDate?Y()(t.end_absorptionDate).toDate():null,months_absorptionDate:"undefined"!==typeof t.months_absorptionDate?t.months_absorptionDate:"",start_occupancy_date_orig:"undefined"!==typeof t.start_occupancy_date_orig?Y()(t.start_occupancy_date_orig).toDate():null,end_occupancy_date_orig:"undefined"!==typeof t.end_occupancy_date_orig?Y()(t.end_occupancy_date_orig).toDate():null,months_occupancy_date_orig:"undefined"!==typeof t.months_occupancy_date_orig?t.months_occupancy_date_orig:"",floor_number:"undefined"!==typeof t.floor_number?t.floor_number:[],complexChargeableArea:"undefined"!==typeof t.complexChargeableArea?t.complexChargeableArea:e.complexChargeableArea,buildingChargeableArea:"undefined"!==typeof t.buildingChargeableArea?t.buildingChargeableArea:e.buildingChargeableArea,start_exitDate:"undefined"!==typeof t.start_exitDate?Y()(t.start_exitDate).toDate():null,end_exitDate:"undefined"!==typeof t.end_exitDate?Y()(t.end_exitDate).toDate():null,months_exitDate:"undefined"!==typeof t.months_exitDate?t.months_exitDate:""})}else{let t=[];Object.keys(this.props.filtersGroup).map(((e,a)=>Object.values(this.props.filtersGroup)[a].map((e=>{if("range"===e.type){let a=e["filter-name"];this.setState({[a]:[e.min,e.max]}),t[e["filter-name"]]=[e.min,e.max],this.setState({original_range_min_max:t})}}))))}}openModal(){this.setState({isOpen:!0})}closeSearchBox(t){this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})}rangeLimit(t){return!(t>0)}handleChild(t){t.stopPropagation()}render(){var t=this;const{before:e}=T.a,a=(t,e)=>{this.setState({[t]:e,isSaveFilter:!0})},s=(t,e)=>{this.setState({[t]:e,isSaveFilter:!0})},i=(t,e)=>{this.setState({["start_"+t]:e,isSaveFilter:!0}),null!==this.state["end_"+t]&&new Date(this.state["end_"+t])<new Date(e)&&this.setState({["end_"+t]:null})},l=(t,e)=>{this.setState({["end_"+t]:e,isSaveFilter:!0})},o=function(e,a){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!s&&13!==a.keyCode)return;const i=parseInt(a.target.value);if(!i||i<0)return;const l=new Date,o=Y()(l).add(i,"M").toDate();"leaseExpiryDate"!==e?t.setState({["start_"+e]:l,["end_"+e]:o,["months_"+e]:a.target.value}):t.setState({start_leaseExpiryDate:l,end_leaseExpiryDate:o,months_leaseExpiryDate:a.target.value})},n=function(e,a){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!s&&13!==a.keyCode)return;const i=parseInt(a.target.value);if(!i||i<0)return;const l=new Date,o=Y()(l).subtract(i,"M").toDate();t.setState({["end_"+e]:l,["start_"+e]:o,["months_"+e]:a.target.value})},r=t=>{const e={};let a={};return Object.keys(t).map(((e,s)=>{let i=null;i="securityDeposit"==e||"startingRent"==e||"startingRentCarpet"==e||"currentRent"==e||"currentRentC
1arpet"==e||"leaseTerm"==e||"rentFreePeriod"==e||"lockinPeriod"==e||"transactionSize"==e||"perSqFt"==e||"totalConsideration"==e||"areaPurchased"==e||"complexChargeableArea"==e||"buildingChargeableArea"==e?this.state.original_range_min_max[e].join("|"):[0,0].join("|"),null===t[e]||0===t[e].length||""===t[e]||Array.isArray(t[e])&&void 0!==typeof this.state.original_range_min_max[e]&&t[e].join("|")===i||(a[e]=t[e])})),0===Object.keys(a).length&&(e.error="Select at least one filter",this.setState({showAlert:!0})),e},d=t=>{var e=this.props.location.pathname;this.props.history.push(e),this.setState({city_tier:[],city:[],region:[],macromarket:[],micromarket:[],pincode:[],complex:[],building:[],building_grade:[],building_category:[],spacetype:[],property_condition:[],tenant:[],sector:[],developer:[],landlord:[],ownership_type:[],owner:[],renewed_lease:[],document_type:[],active:[],Lease_Id:[],Sale_Id:[],seller:[],purchaser:[],end_status:[],brands_parent:[],securityDeposit:[0,0],startingRent:[0,0],startingRentCarpet:[0,0],currentRent:[0,0],currentRentCarpet:[0,0],leaseTerm:[0,0],rentFreePeriod:[0,0],lockinPeriod:[0,0],transactionSize:[0,0],perSqFt:[0,0],totalConsideration:[0,0],areaPurchased:[0,0],start_leaseExpiryDate:null,end_leaseExpiryDate:null,months_leaseExpiryDate:"",start_lockinPeriodEndDate:null,end_lockinPeriodEndDate:null,months_lockinPeriodEndDate:"",start_executionDate:null,end_executionDate:null,months_executionDate:"",start_commencementDate:null,end_commencementDate:null,months_commencementDate:"",start_absorptionDate:null,end_absorptionDate:null,months_absorptionDate:"",start_occupancy_date_orig:null,end_occupancy_date_orig:null,months_occupancy_date_orig:"",start_exitDate:null,end_exitDate:null,months_exitDate:"",floor_number:[],complexChargeableArea:[0,0],buildingChargeableArea:[0,0]}),this.props.dispatch({type:"CHANGE_SELECTED_FILTER",payload:{}}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})};return!0===this.state.redirect?(this.state.redirect=!1,Object(M.jsx)(c.a,{to:this.state.uri})):!1===this.state.showFilter?Object(M.jsx)("div",{className:"row filterContainer",ref:this.filterRef,children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{children:"Loading Filters"})})}):!0===this.state.showFilter?Object(M.jsx)("div",{className:"searchboxWrapper",style:{height:"100vh"},onClick:t=>{this.closeSearchBox(t)},children:Object(M.jsxs)("div",{className:"row filterContainer",ref:this.filterRef,onClick:t=>{this.handleChild(t)},children:[Object(M.jsxs)("div",{className:"col-lg-12",style:{position:"relative"},children:[Object(M.jsx)(v.d,{initialValues:{city_tier:this.state.city_tier,city:this.state.city,region:this.state.region,macromarket:this.state.macromarket,micromarket:this.state.micromarket,pincode:this.state.pincode,complex:this.state.complex,building:this.state.building,building_grade:this.state.building_grade,building_category:this.state.building_category,spacetype:this.state.spacetype,property_condition:this.state.property_condition,tenant:this.state.tenant,sector:this.state.sector,developer:this.state.developer,landlord:this.state.landlord,ownership_type:this.state.ownership_type,owner:this.state.owner,renewed_lease:this.state.renewed_lease,document_type:this.state.document_type,active:this.state.active,Lease_Id:this.state.Lease_Id,Sale_Id:this.state.Sale_Id,seller:this.state.seller,purchaser:this.state.purchaser,end_status:this.state.end_status,brands_parent:this.state.brands_parent,securityDeposit:this.state.securityDeposit,startingRent:this.state.startingRent,startingRentCarpet:this.state.startingRentCarpet,currentRent:this.state.currentRent,currentRentCarpet:this.state.currentRentCarpet,leaseTerm:this.state.leaseTerm,rentFreePeriod:this.state.rentFreePeriod,lockinPeriod:this.state.lockinPeriod,transactionSize:this.state.transactionSize,perSqFt:this.state.perSqFt,totalConsideration:this.state.totalConsideration,areaPurchased:this.state.areaPurchased,start_leaseExpiryDate:this.state.start_leaseExpiryDate,end_leaseExpiryDate:this.state.end_leaseExpiryDate,months_leaseExpiryDate:this.state.months_leaseExpiryDate,start_lockinPeriodEndDate:this.state.start_lockinPeriodEndDate,end_lockinPeriodEndDate:this.state.end_lockinPeriodEndDate,months_lockinPeriodEndDate:this.state.months_lockinPeriodEndDate,start_executionDate:this.state.start_executionDate,end_executionDate:this.state.end_executionDate,months_executionDate:this.state.months_executionDate,start_commencementDate:this.state.start_commencementDate,end_commencementDate:this.state.end_commencementDate,months_commencementDate:this.state.months_commencementDate,start_absorptionDate:this.state.start_absorptionDate,end_absorptionDate:this.state.end_absorptionDate,months_absorptionDate:this.state.months_absorptionDate,start_exitDate:this.state.start_exitDate,end_exitDate:this.state.end_exitDate,months_exitDate:this.state.months_exitDate,start_occupancy_date_orig:this.state.start_occupancy_date_orig,end_occupancy_date_orig:this.state.end_occupancy_date_orig,months_occupancy_date_orig:this.state.months_occupancy_date_orig,floor_number:this.state.floor_number,complexChargeableArea:this.state.complexChargeableArea,buildingChargeableArea:this.state.buildingChargeableArea},enableReinitialize:!0,validate:r,onSubmit:(t,e)=>{let{setFieldError:a}=e,s={},i={};if(Object.keys(t).map(((e,a)=>{null===t[e]||0===t[e].length||""===t[e]||Array.isArray(t[e])&&t[e].join("|")===[0,0].join("|")||("securityDeposit"==e||"startingRent"==e||"startingRentCarpet"==e||"currentRent"==e||"currentRentC
1arpet"==e||"leaseTerm"==e||"rentFreePeriod"==e||"lockinPeriod"==e||"transactionSize"==e||"perSqFt"==e||"totalConsideration"==e||"areaPurchased"==e||"complexChargeableArea"==e||"buildingChargeableArea"==e?this.state[e].join("|")!==this.state.original_range_min_max[e].join("|")&&(s[e+"Start"]=[{value:t[e][0].toString(),id:"",label:t[e][0].toString()}],s[e+"End"]=[{value:t[e][1].toString(),id:"",label:t[e][1].toString()}]):"start_leaseExpiryDate"==e||"end_leaseExpiryDate"==e||"start_lockinPeriodEndDate"==e||"end_lockinPeriodEndDate"==e||"start_executionDate"==e||"end_executionDate"==e||"start_commencementDate"==e||"end_commencementDate"==e||"start_absorptionDate"==e||"end_absorptionDate"==e||"start_occupancy_date_orig"==e||"end_occupancy_date_orig"==e||"start_exitDate"==e||"end_exitDate"==e?s[ot[e]]=[{value:Y()(t[e]).format("X"),id:"",label:Y()(t[e]).format("YYYY-MM-DD")}]:"undefined"!==typeof ot[e]&&(s[ot[e]]=t[e]),"securityDeposit"==e||"startingRent"==e||"startingRentCarpet"==e||"currentRent"==e||"currentRentCarpet"==e||"leaseTerm"==e||"rentFreePeriod"==e||"lockinPeriod"==e||"transactionSize"==e||"perSqFt"==e||"totalConsideration"==e||"areaPurchased"==e||"complexChargeableArea"==e||"buildingChargeableArea"==e?this.state[e].join("|")!==this.state.original_range_min_max[e].join("|")&&(i[e]=t[e]):i[e]=t[e])})),this.state.saveClicked)return this.setState({showAlert:!0}),""==this.state.filterSaveName?(a("error","Filter name is empty"),!1):((l=new FormData).append("filter-name",this.state.filterSaveName),l.append("action",2),l.append("filter-id",0),l.append("mode",1),l.append("present-count",100),l.append("filter-value",JSON.stringify(s)),l.append("screener","edge_office"),jt.post("api/screener/save-filter",l).then((t=>{a("error",t.data[0])})),!1);if(0!==Object.keys(s).length){var l;console.log(s),(l=new FormData).append("filter-value",JSON.stringify(s)),l.append("screener","edge_office"),L.post(l).then((t=>{a("error",t.data[0])}));var o=this.props.location.pathname+"?filter="+encodeURIComponent(JSON.stringify(i));this.setState({uri:o,redirect:!0}),this.props.dispatch({type:"CHANGE_SELECTED_FILTER",payload:s}),this.props.onChange(),Ct(St,{chartName:"Filter Search Box",filters:JSON.stringify(i),extra:{component_type:"filter",tab_name:this.state.activeFilterTab,filter_names:Object.keys(i).join(", ")}})}},children:t=>{let{errors:c,touched:r}=t;return Object(M.jsxs)(v.c,{children:[Object(M.jsx)(A.a,{defaultActiveKey:"Location",onSelect:t=>this.setState({activeFilterTab:t}),id:"uncontrolled-tab-example",className:"mb-3",children:Object.keys(this.state.filters).map(((t,c)=>Object(M.jsx)(x.a,{eventKey:t,title:t,children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsx)("div",{className:"row",children:Object.values(this.state.filters)[c].map((t=>Object(M.jsx)("div",{className:"col-lg-4 mb-2",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("label",{children:t.title})}),Object(M.jsxs)("div",{className:"col-lg-12",children:["autocompleteSourceDialog"===t.type?Object(M.jsx)(M.Fragment,{children:Object(M.jsx)(B,{component_name:t.params,filter_name:t["filter-name"],onChange:a,defaultVal:this.state[t.params]})}):null,"range"===t.type?Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)(I.a,{style:{border:1==this.state[t["filter-name"]].showError?"1px solid red":""},children:[Object(M.jsx)(_.a,{min:t.min,max:t.max,value:this.state[t["filter-name"]][0],defaultValue:this.state[t["filter-name"]][0],onChange:e=>{""==e&&(e=0),e=parseInt(e);this.state[t["filter-name"]][0];const a=this.state[t["filter-name"]][1],i=t.min,l=t.max;return e<i||e>l?(this.setState({errorMsg:"Value out of range of ["+i+","+l+"]"}),void(this.state[t["filter-name"]].showError=!0)):e>a?(this.setState({errorMsg:"Value more than end value"}),void(this.state[t["filter-name"]].showError=!0)):void s(t["filter-name"],[e,a])}}),Object(M.jsx)(I.a.Addon,{children:"to"}),Object(M.jsx)(_.a,{min:t.min,max:t.max,value:this.state[t["filter-name"]][1],defaultValue:this.state[t["filter-name"]][1],onChange:e=>{""==e&&(e=0),e=parseInt(e);const a=this.state[t["filter-name"]][0],i=(this.state[t["filter-name"]][1],t.min),l=t.max;return e<i||e>l?(this.setState({errorMsg:"Value out of range of ["+i+","+l+"]"}),void(this.state[t["filter-name"]].showError=!0)):e<a?(this.setState({errorMsg:"Value less than start value"}),void(this.state[t["filter-name"]].showError=!0)):void s(t["filter-name"],[a,e])}})]}),Object(M.jsx)(E.a,{className:"mb-3",component_name:t["filter-name"],min:t.min,max:t.max,onChange:e=>{s(t["filter-name"],e)},defaultValue:this.state[t["filter-name"]],value:this.state[t["filter-name"]],progress:!0}),this.state[t["filter-name"]].showError&&Object(M.jsx)("p",{style:{fontSize:"12px",color:"red"},children:this.state.errorMsg})]}):null,"date"===t.type?"leaseExpiryDate"===t["filter-name"]||"lockinPeriodEndDate"===t["filter-name"]?Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("div",{className:"row inputWidth100",children:[Object(M.jsx)("div",{className:"col-lg-6 m-0",children:Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"From",ranges:[],oneTap:!0,onChange:e=>i(t["filter-name"],e),value:this.state["start_"+t["filter-name"]]})}),Object(M.jsx)("div",{className:"col-lg-6 m-0",children:Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"To",ranges:[],oneTap:!0,onChange:e=>l(t["filter-name"],e),disabledDate:e(new Date(this.state["start_"+t["filter-name"]])),value:this.state["end_"+t["filter-name"]]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center my-2",children:Object(M.jsx)("label",{className:"m-0",children:"OR"})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.b,{autoComplete:"off",type:"text",name:"months_"+t["filter-name"],placeholder:t["date-helper-text-pre"]+" (months)",onKeyDown:e=>o(t["filter-name"],e,!1),onBlur:e=>o(t["filter-name"],e,!0)})})]})}):"executionDate"===t["filter-name"]?Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("div",{className:"row inputWidth100",children:[Object(M.jsx)("div",{className:"col-lg-6 m-0",children:Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"From",ranges:[],oneTap:!0,onChange:e=>i(t["filter-name"],e),value:this.state["start_"+t["filter-name"]]})}),Object(M.jsx)("div",{className:"col-lg-6 m-0",children:Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"To",ranges:[],oneTap:!0,onChange:e=>l(t["filter-name"],e),disabledDate:e(new Date(this.state["start_"+t["filter-name"]])),value:this.state["end_"+t["filter-name"]]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center my-2",children:Object(M.jsx)("label",{className:"m-0",children:"OR"})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.b,{autoComplete:"off",type:"text",name:"months_"+t["filter-name"],placeholder:t["date-helper-text-pre"]+" (months)",onKeyDown:e=>n(t["filter-name"],e,!1),onBlur:e=>n(t["filter-name"],e,!0)})})]})}):"commencementDate"===t["filter-name"]||"absorptionDate"===t["filter-name"]||"occupancy_date_orig"===t["filter-name"]||"exitDate"===t["filter-name"]?Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6 m-0",children:Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"From",ranges:[],oneTap:!0,onChange:e=>i(t["filter-name"],e),value:this.state["start_"+t["filter-name"]]})}),Object(M.jsx)("div",{className:"col-lg-6 m-0",children:Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"To",ranges:[],oneTap:!0,onChange:e=>l(t["filter-name"],e),disabledDate:e(new Date(this.state["start_"+t["filter-name"]])),value:this.state["end_"+t["filter-name"]]})})]})}):null:null,"autocompleteSourceLocal"===t.type?Object(M.jsx)(pt,{component_name:t["filter-name"],filter_name:t["filter-name"],onChange:a,defaultVal:this.state[t["filter-name"]],options:t.filters}):null]})]})})))})})},t)))}),Object(M.jsxs)("div",{className:"row filterErrMsg px-4 d-flex mt-3 justify-content-end flex-row flex-wrap align-content-stretch align-items-center",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsxs)("div",{className:"save_filter d-flex",children:[!this.state.isSaveFilter&&Object(M.jsxs)("button",{className:"saveFilterBtn",disabled:!this.state.isSaveFilter,style:{backgroundColor:"#f5f5f5",color:"#313131"},children:[Object(M.jsx)("img",{src:"/edge/images/save-icon.svg"})," Save Filter"]}),this.state.isSaveFilter&&Object(M.jsxs)("span",{className:"saveFilterBtn",style:{display:"inline-block",cursor:"pointer",textAlign:"center"},onClick:t=>{t.stopPropagation(),this.setState({isSaveFilterBlock:!0})},children:[Object(M.jsx)("img",{src:"/edge/images/save-2.svg"})," Save Filter"]}),this.state.isSaveFilterBlock&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"d-flex align-items-center",children:[Object(M.jsx)("input",{type:"text",className:"saveFilterText",placeholder:"Filter Name",value:this.state.saveFilterVal,onChange:t=>{this.setState({saveFilterVal:t.target.value})}}),Object(M.jsx)("span",{onClick:t=>{t.stopPropagation(),this.handleSaveFilterChange(t)}
1,style:{color:"#fff",borderRadius:"4px",background:"#4c8fea",padding:"9px 14px",cursor:"pointer"},children:"Save"})]}),Object(M.jsx)("div",{class:"form-check d-inline-block p-0"}),this.state.alertMessage&&Object(M.jsxs)("div",{className:"alert alert-".concat(this.state.alertType," alert-dismissible fade show d-inline-block"),role:"alert",style:{height:"38px",padding:"7px 10px",width:"245px",margin:"0",marginLeft:"10px"},children:[this.state.alertMessage,Object(M.jsx)("button",{type:"button",className:"btn-close","data-bs-dismiss":"alert","aria-label":"Close",onClick:()=>this.setState({alertMessage:"",alertType:""})})]})]})]})}),Object(M.jsxs)("div",{className:"col-lg-4 d-flex justify-content-end",children:[c.error&&!0===this.state.showAlert&&Object(M.jsx)(Q.a,{variant:"danger",onClose:()=>this.setState({showAlert:!1}),dismissible:!0,show:this.state.showAlert,children:Object(M.jsx)(Q.a.Heading,{children:c.error})}),Object(M.jsx)("button",{className:"tabFormButton applyBtn",type:"submit",onClick:()=>{this.setState({saveClicked:!1})},children:"Apply"}),Object(M.jsx)("button",{className:"tabFormButton",type:"button",onClick:d,children:"Clear"})]})]})]})}}),Object(M.jsx)(p.a,{icon:j.t,className:"filterCloseBtn",onClick:t=>{this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})}})]}),Object(M.jsx)("div",{className:"row saveFilterPopup",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpen,onHide:this.closeModal,size:"md",className:"documentModal",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("h2",{children:"Save Filter"})})})})})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)(v.d,{initialValues:{filterName:""},children:Object(M.jsxs)(v.c,{children:[Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)(v.b,{type:"text",name:"filterName",className:"filterNameInput"})}),Object(M.jsxs)("div",{className:"col-lg-12 text-center mt-4",children:[Object(M.jsx)("button",{className:"saveFilterBtn",type:"button",children:"Save"}),Object(M.jsx)(nt.a,{checked:!0,onlabel:"Notification On",offlabel:"Notification Off"})]})]})})})})})]})})})]})}):void 0}}var vt=Object(c.f)(Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Bt)),Tt=a(756),It=a.n(Tt),_t=(a(1030),a(48)),Et=a(17),Ut=a.n(Et),Rt=a(471);let Yt={city_tier:"markets-tier",markets:"city",region:"region",macromarkets:"macromarket",micromarkets:"micromarket",pincodes:"pincode",complexes:"complex",buildings:"building",buildingCategory:"building_category",spaceTypes:"spacetype",propertyCondition:"property_condition",tenants:"tenant",sector:"sector",developers:"developer",landlords:"landlord",ownershipType:"ownership_type",owners:"owner",renewed_lease:"renewed-lease",documentType:"document_type",creid:"Lease_Id",cresaleid:"Sale_Id",seller:"seller",purchaser:"purchaser",redirect:!1,uri:"",endStatus:"end_status",brandsParent:"brands_parent",creid:"Lease_Id"};class Qt extends i.a.Component{constructor(){var t;super(...arguments),t=this,this.state={toast:{show:!1,message:"",type:"success"},editingFilterId:null,newFilterLabel:"",showFilter:!1,filters:{},searchKey:0,searchVal:"",searchResult:[],menuShow:!1,searchArr:[],showFilterArr:[],mountHref:"",displayFilters:{},fixedToggle:!1,savedFilters:[],deNotifyConfirm:null},this.handleFilterSaved=()=>{var t=new FormData;t.append("screener","edge_office"),jt.post("api/screener/load_filters",t).then((t=>{this.setState({savedFilters:t.data[0].filters})}))},this.handleClick=()=>{this.props.dispatch({type:"SHOW_FILTER_DIV",payload:{showFilterDiv:!0}})},this.closePopup=()=>{this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},this.deleteSavedFilter=(t,e)=>{if(t.stopPropagation(),!window.confirm("Are you sure you want to delete this saved filter?"))return;const a=this.state.savedFilters.find((t=>t.id===e));if(!a)return void console.error("Filter object not found for deleti
1on:",e);const s=e.replace("sf-","");var i=new FormData;i.append("screener","lease"),i.append("filter-name",a.label),i.append("filter-id",s),i.append("action","3"),jt.post("api/screener/save-filter",i).then((t=>{console.log("Filter deleted successfully on server:",t.data);const a=this.state.savedFilters.filter((t=>t.id!==e));this.setState({savedFilters:a})})).catch((t=>{console.error("Error deleting filter:",t),alert("Failed to delete filter. Please try again.")}))},this.clearAllFilters=()=>{this.props.dispatch({type:"CHANGE_SELECTED_FILTER",payload:{}});let t=this.props.location.pathname;this.props.history.push(t)},this.notifyFilter=t=>{const e=new FormData;e.append("filter-name",t.value),e.append("action",4),e.append("filter-value",t.filter_value),e.append("screener","edge_office"),e.append("filter-id",t.id.split("sf-")[1]),jt.post("api/screener/save-filter",e).then((t=>{const e=t.success,a=t.error;e&&e.length>0?this.showPopup(e[0].trim(),"success"):a&&a.length>0?this.showPopup(a[0].trim(),"danger"):this.showPopup("Notification saved successfully!","success"),this.props.onFilterSave&&this.props.onFilterSave(),setTimeout((()=>{var t=new FormData;t.append("screener","edge_office"),jt.post("api/screener/load_filters",t).then((t=>{this.setState({savedFilters:t.data[0].filters})}))}),5100)})).catch((t=>{this.showPopup("Something went wrong. Please try again.","danger")}))},this.deNotifyFilter=t=>{this.setState({deNotifyConfirm:t})},this.confirmDeNotify=()=>{const t=this.state.deNotifyConfirm;this.setState({deNotifyConfirm:null});const e=new FormData;e.append("filter-name",t.value),e.append("action",5),e.append("filter-value",t.filter_value),e.append("screener","edge_office"),e.append("filter-id",t.id.split("sf-")[1]),jt.post("api/screener/save-filter",e).then((t=>{const e=t.success,a=t.error;e&&e.length>0?this.showPopup(e[0].trim(),"success"):a&&a.length>0?this.showPopup(a[0].trim(),"danger"):this.showPopup("Notification saved successfully!","success"),this.props.onFilterSave&&this.props.onFilterSave(),setTimeout((()=>{var t=new FormData;t.append("screener","edge_office"),jt.post("api/screener/load_filters",t).then((t=>{this.setState({savedFilters:t.data[0].filters})}))}),5100)})).catch((t=>{this.showPopup("Something went wrong. Please try again.","danger")}))},this.showPopup=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success";setTimeout((()=>{t.setState({toast:{show:!0,message:e,type:a}})}),100),setTimeout((()=>{t.setState({toast:{show:!1,message:"",type:"success"}})}),5100)}}componentDidMount(){this.state.displayFilters=this.props.filters,this.setState({});for(const e in this.state.displayFilters)for(let t=0;t<this.state.displayFilters[e].length;t++)this.state.showFilterArr.push(this.state.displayFilters[e][t].label);var t=new FormData;t.append("screener","edge_office"),jt.post("api/screener/load_filters",t).then((t=>{let e=t.data[0].filters;this.setState({savedFilters:e});var a={};for(let s in t.data)"undefined"!==typeof t.data[s].main_category&&(a[t.data[s].main_category]=[]);for(let s in t.data)"undefined"!==typeof t.data[s].main_category&&a[t.data[s].main_category].push(t.data[s]);this.setState({showFilter:!0,filters:a}),this.setState({searchKey:Math.random()})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!==JSON.stringify(this.state.displayFilters)){this.state.showFilterArr=[],this.state.displayFilters=this.props.filters,this.setState({}),0===Object.keys(this.state.displayFilters).length&&this.setState({showFilterArr:[]});for(const t in this.state.displayFilters)for(let e=0;e<this.state.displayFilters[t].length;e++)this.state.showFilterArr[e]!==this.state.displayFilters[t][e].label&&this.state.showFilterArr.push(this.state.displayFilters[t][e].label)}}getSearchResult(t){""!==this.state.searchVal?jt.post("api/screener/search?search_term=".concat(this.state.searchVal,"&screener=edge_office")).then((t=>{this.setState({searchResult:t.data.suggestions,menuShow:!0},(()=>{for(let t=0;t<this.state.searchResult.length;t++){let e={};e.label=this.state.searchResult[t].value+" "+this.state.searchResult[t].value,this.state.searchArr.push(e)}}))})):this.setState({menuShow:!1})}redirectToResult(t,e){"brands_parent"==e.meta.filter_name&&(e.meta.filter_name="brandsParent"),"Micromarket"==e.meta.type||"Macromarket"==e.meta.type||"Market"==e.meta.type?this.props.location.pathname="/office/region/":"Tenant Parent"==e.meta.type||"Tenant SP
1V"==e.meta.type?this.props.location.pathname="/office/occupier/":"Developer"==e.meta.type?this.props.location.pathname="/office/developer/":"Property"==e.meta.type?this.props.location.pathname="/office/asset/":"CRE-ID"==e.meta.type&&(this.props.location.pathname="/office/custom/");let a='{"'.concat(Yt[e.meta.filter_name],'":[{"id":"').concat(e.id,'","value":"').concat(e.value,'","label":"').concat(e.label,'"}]}'),s='{"'.concat([e.meta.filter_name],'":[{"id":"').concat(e.id,'","value":"').concat(e.value,'","label":"').concat(e.label,'"}]}');var i=this.props.location.pathname+"?filter="+encodeURIComponent(a);this.setState({uri:i,redirect:!0}),this.props.dispatch({type:"CHANGE_SELECTED_FILTER_MENU",payload:JSON.parse(s),selectMenu:e.meta.type}),Ct(Dt,{chartName:"Global Search",filters:JSON.stringify({filter_name:e.meta.filter_name,value:e.value,label:e.label}),extra:{component_type:"search",search_term:this.state.searchVal,result_type:e.meta.type,destination:this.props.location.pathname}}),this.setState({searchVal:"",menuShow:!1})}removeFilter(t){let e=JSON.parse(W.get.filter);if("mapSearch"===t.type)delete e.bounds,delete e.rangeArea,delete e.polygonBoundries;else if("arrayObject"===t.type){const a=e[t.key]||[],s=a.findIndex((e=>e.id===t.id));-1!==s&&a.splice(s,1),0===a.length?delete e[t.key]:e[t.key]=a}else delete e[t.key];Object.keys(e).forEach((t=>{const a=e[t];(null===a||""===a||Array.isArray(a)&&0===a.length||"object"===typeof a&&0===Object.keys(a).length)&&delete e[t]}));let a=this.props.location.pathname;Object.keys(e).length>0&&(a+="?filter="+encodeURIComponent(JSON.stringify(e))),this.props.history.push(a),window.location.reload()}displaySelectedFilters(){var t=0,e=[],a=this;if(void 0!=W.get.filter){var s=JSON.parse(W.get.filter),i=["bounds","rangeArea","polygonBoundries"];return s.bounds&&(s.rangeArea||s.polygonBoundries)&&(e[t]={},e[t].label="Map Search",e[t].key="mapSearch",e[t].type="mapSearch",t++),Object.keys(s).map(((a,l)=>{i.includes(a)||("object"===typeof s[a][0]?s[a].map((s=>{e[t]=s,e[t].key=a,e[t].type="arrayObject",t++})):"string"===typeof s[a]?(e[t]={},e[t].label=s[a],e[t].key=a,e[t].type="string",t++):Array.isArray(s[a])&&s[a].length>0&&(e[t]={},e[t].label=s[a][0]+" - "+s[a][1],e[t].rangeKey=a.replace(/([A-Z])/g," $1").replace(/^./,(t=>t.toUpperCase())).trim(),e[t].key=a,e[t].type="array",t++))})),Object(M.jsxs)(M.Fragment,{children:[console.log(e),e.slice(0,3).map((t=>Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)("span",{className:"selectedFilters selectedFiltersText",children:(()=>{let e=t.label;return"string"===typeof e&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/.test(e)&&(e=e.split("T")[0]),"string"===typeof e&&e.includes("T1")&&(e=e.split("T1")[0]),Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)("span",{style:{display:"block",lineHeight:"1.2",fontSize:t.rangeKey?"10px":void 0},children:e}),t.rangeKey&&Object(M.jsx)("span",{style:{display:"block",fontSize:"9px",lineHeight:"1",opacity:.7,marginTop:"1px"},children:t.rangeKey})]})})()}),Object(M.jsx)("span",{className:"selectedFilters",style:{marginLeft:"0"},onClick:()=>{a.removeFilter(t)},children:Object(M.jsx)(p.a,{icon:j.t})})]}))),e.length>3&&Object(M.jsxs)("span",{className:"selectedFilters totalFiltersSpan",children:[e.length-3,Object(M.jsx)("ul",{className:"selectedFiltersDropdown",children:e.slice(3,e.length).map((function(t){return Object(M.jsxs)("li",{className:"position-relative",children:[(()=>{let e=t.label;return"string"===typeof e&&e.includes("T")&&(e=e.split("T")[0]),"string"===typeof e&&e.includes("T1")&&(e=e.split("T1")[0]),Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)("span",{style:{display:"block",lineHeight:"1.2",fontSize:t.rangeKey?"10px":void 0},children:e}),t.rangeKey&&Object(M.jsx)("span",{style:{display:"block",fontSize:"9px",lineHeight:"1",opacity:.7,marginTop:"1px"},children:t.rangeKey})]})})(),Object(M.jsx)("span",{style:{position:"absolute",top:"4px",right:"15px"},onClick:()=>{a.removeFilter(t)},children:Object(M.jsx)(p.a,{icon:j.t})})]})}))})]})]})}}getPdf(){let t=window.location.href.split("office/")[1].replace("/","");
1t.includes("?")&&(t=t.split("?")[0]);const e=document.getElementById("root");Ut()(e).then((e=>{const a=e.toDataURL("image/png"),s=new V.default("p","pt",[e.width,e.height]),i=s.getImageProperties(a),l=s.internal.pageSize.getWidth(),o=i.height*l/i.width;s.addImage(a,"JPEG",0,0,l,o),s.save("".concat(t,".pdf"))}))}changeAreaType(t){1==t?this.props.dispatch({type:"CHANGE_CHARGEABLE_TO_CARPET",payload:{areaType:"carpet"}}):this.props.dispatch({type:"CHANGE_CHARGEABLE_TO_CARPET",payload:{areaType:"chargeable"}})}changeMode(t){1==t?this.props.dispatch({type:"CHANGE_QUARTERLY_TO_YEARLY",payload:{globalMode:"yearly"}}):this.props.dispatch({type:"CHANGE_QUARTERLY_TO_YEARLY",payload:{globalMode:"quarterly"}})}redirectToFilter(t,e){t.stopPropagation();const a=new URL(window.location.href),s="".concat(a.origin).concat(a.pathname);if(e&&e.filter_value){const t="string"===typeof e.filter_value?e.filter_value:JSON.stringify(e.filter_value),a=encodeURIComponent(t),i="".concat(s,"?filter=").concat(a);window.location.href=i}else console.error("Filter value is missing from the input object.")}handleSaveEdit(){const{editingFilterId:t,newFilterLabel:e,savedFilters:a}=this.state,s=e.trim();if(!t||!s)return void this.setState({editingFilterId:null,newFilterLabel:""});const i=a.find((e=>e.id===t));if(!i||!i.filter_value)return console.error("Filter object or its filter_value is missing for the ID:",t),void this.setState({editingFilterId:null,newFilterLabel:""});const l=i.filter_value,o=t.replace("sf-","");var c=new FormData;c.append("screener","edge_office"),c.append("filter-name",s),c.append("filter-id",o),c.append("action","1"),c.append("filter-value",l),jt.post("api/screener/save-filter",c).then((e=>{console.log("Filter updated successfully on server:",e.data);const i=a.map((e=>e.id===t?Object(h.a)(Object(h.a)({},e),{},{label:s,filter_value:l}):e));this.setState({savedFilters:i,editingFilterId:null,newFilterLabel:""})})).catch((t=>{console.error("Error updating filter on server:",t),alert("Failed to save filter changes. Please try again."),this.setState({editingFilterId:null,newFilterLabel:""})}))}render(){return!0===this.state.redirect?(this.state.redirect=!1,Object(M.jsx)(c.a,{to:this.state.uri})):Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)("div",{className:"container-fluid header",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1",children:Object(M.jsx)(n.b,{to:"/office/dashboard/",children:Object(M.jsx)("img",{alt:"CRE Matrix Logo",src:"/edge/images/edge_logo_new.png",className:"creMatrixLogo"})})}),Object(M.jsxs)("div",{className:"col-lg-9 searchBarContainer",ref:t=>this.node=t,children:[Object(M.jsx)(It.a,{inputProps:{placeholder:"Search Property, Tenant, Landlord, Anything..."},getItemValue:t=>t.label,items:this.state.searchResult,renderItem:(t,e)=>Object(M.jsxs)("div",{style:{background:e?"#4c8fea":"white",padding:"10px",color:e?"#fff":"#000"},children:[t.label,Object(M.jsx)("span",{style:{float:"right",fontSize:"12px"},children:t.meta.type})]}),value:this.state.searchVal,onChange:t=>{this.setState({searchVal:t.target.value},(()=>{this.getSearchResult(t)}))},onSelect:(t,e)=>{this.redirectToResult(t,e)},open:this.state.menuShow}),Object(M.jsxs)("span",{className:"filterBtn",onClick:this.handleClick,style:{width:"85px"},children:[Object(M.jsx)(p.a,{icon:j.j})," Filters"]}),Object(M.jsxs)("div",{className:"newDropDownn dropdown ".concat(this.state.isDropdownOpen?"hello":""),children:[Object(M.jsx)("a",{className:"d-flex align-items-center",href:"#",role:"button","data-bs-toggle":"dropdown","aria-expanded":"false",children:Object(M.jsx)("button",{className:"getFilterIcon",children:Object(M.jsx)("img",{src:"/edge/images/save-icon.svg",width:"30px",height:"30px",alt:"Save Filters"})})}),Object(M.jsxs)("ul",{className:"dropdown-menu dropdown-menu-new shadow-lg mt-2",style:{minWidth:"250px",padding:"6px"},children:[Object(M.jsxs)("li",{className:"dropdown-header",children:[Object(M.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(M.jsx)("path",{d:"M8.59326 3.92188H3.40658C2.26658 3.92188 1.33325 4.8552 1.33325 5.9952V13.5685C1.33325 14.5352 2.02658 14.9485 2.87325 14.4752L5.49325 13.0152C5.77325 12.8619 6.22659 12.8619 6.49992 13.0152L9.11991 14.4752C9.96658 14.9485 10.6599 14.5352 10.6599 13.5685V5.9952C10.6666 4.8552 9.73326 3.92188 8.59326 3.92188Z",stroke:"#333333",strokeWidth:"1.125",strokeLinecap:"round",strokeLinejoin:"round"}
1),Object(M.jsx)("path",{d:"M10.6666 5.9952V13.5685C10.6666 14.5352 9.97325 14.9419 9.12659 14.4752L6.50659 13.0152C6.22659 12.8619 5.77325 12.8619 5.49325 13.0152L2.87325 14.4752C2.02658 14.9419 1.33325 14.5352 1.33325 13.5685V5.9952C1.33325 4.8552 2.26658 3.92188 3.40658 3.92188H8.59326C9.73326 3.92188 10.6666 4.8552 10.6666 5.9952Z",stroke:"#333333",strokeWidth:"1.125",strokeLinecap:"round",strokeLinejoin:"round"}),Object(M.jsx)("path",{d:"M14.6666 3.40926V10.9826C14.6666 11.9493 13.9733 12.3559 13.1266 11.8893L10.6666 10.5159V5.99593C10.6666 4.85593 9.73326 3.92261 8.59326 3.92261H5.33325V3.40926C5.33325 2.26926 6.26658 1.33594 7.40658 1.33594H12.5933C13.7333 1.33594 14.6666 2.26926 14.6666 3.40926Z",stroke:"#333333",strokeWidth:"1.125",strokeLinecap:"round",strokeLinejoin:"round"})]}),"Saved Filters"]}),Object(M.jsx)("ul",{className:"innerUl p-0 m-0",children:this.state.savedFilters&&this.state.savedFilters.length>0?this.state.savedFilters.map(((t,e)=>{const a=this.state.editingFilterId===t.id;return Object(M.jsxs)("li",{className:"d-flex justify-content-between align-items-center mb-2 position-relative ".concat(t.isActive?"active-filter-item":""),children:[a?Object(M.jsx)("input",{type:"text",className:"form-control form-control-sm mx-2 flex-grow-1",style:{width:"auto"},value:this.state.newFilterLabel,onChange:t=>this.setState({newFilterLabel:t.target.value}),onKeyDown:t=>{"Enter"===t.key&&(this.handleSaveEdit(),t.stopPropagation())}}):Object(M.jsx)("a",{className:"dropdown-item flex-grow-1",href:"#",onClick:e=>{this.redirectToFilter(e,t)},children:t.label}),!a&&Object(M.jsx)("img",{src:"/edge/images/edge_edit_btn.svg",style:{cursor:"pointer",width:"25px",marginRight:"5px"},onClick:e=>{e.stopPropagation(),this.setState({editingFilterId:t.id,newFilterLabel:t.label})}}),a&&Object(M.jsx)("img",{src:"/edge/images/tick-square.svg",style:{cursor:"pointer",width:"25px",marginRight:"5px"},onClick:t=>{t.stopPropagation(),this.handleSaveEdit()}}),Object(M.jsx)("img",{src:"/edge/images/edge_delete_btn.svg",style:{cursor:"pointer",width:"25px",marginRight:"5px"},onClick:e=>{e.stopPropagation(),this.deleteSavedFilter(e,t.id)}}),1!==t.send_notification&&Object(M.jsxs)("span",{style:{background:"#3587FF",display:"flex",width:"200px",color:"#FFF",fontSize:"12px",borderRadius:"3px",padding:"5px 10px",justifyContent:"space-around",cursor:"pointer"},onClick:e=>{e.stopPropagation(),e.preventDefault(),this.notifyFilter(t)},children:[Object(M.jsx)("img",{style:{opacity:"1"},src:"/edge/images/notify_icon.svg"})," ","Notify Me"]}),1==t.send_notification&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)("span",{children:Object(M.jsx)("img",{className:"customOpacity",src:"/edge/images/notified_icon.svg"})}),Object(M.jsxs)("span",{className:"customOpacity1",style:{background:"#FF4C4C",width:"200px",color:"#FFF",fontSize:"12px",borderRadius:"3px",padding:"5px 10px",justifyContent:"space-around",cursor:"pointer"},onClick:e=>{e.stopPropagation(),e.preventDefault(),this.deNotifyFilter(t)},children:[Object(M.jsx)("img",{src:"/edge/images/denotify_icon.svg"})," ","Disable"]})]})]},t.id)})):Object(M.jsx)("li",{className:"text-muted text-center",style:{fontSize:"13px"},children:"No saved filters found."})})]})]}),this.displaySelectedFilters(),W.get.filter&&(()=>{try{const t=JSON.parse(W.get.filter);return Object.keys(t).length>0?Object(M.jsx)("img",{src:"/edge/images/header_close_btn.svg",style:{cursor:"pointer",width:"32px",marginLeft:"10px"},onClick:t=>{t.stopPropagation(),this.clearAllFilters()}}):null}catch(t){return null}})()]}),Object(M.jsxs)("div",{className:"col-lg-2 iconContainer",children:[Object(M.jsxs)(_t.a,{children:[Object(M.jsx)(_t.a.Toggle,{id:"dropdown-basic",style:{backgroundColor:"transparent",border:"0"},children:Object(M.jsx)("img",{alt:"CRE Matrix Logo",src:"/edge/images/header_user_icon.svg",className:"creMatrixLogo",style:{padding:"0",width:"35px",height:"35px"}})}),Object(M.jsx)(_t.a.Menu,{children:Object(M.jsx)(_t.a.Item,{href:"https://www.crematrix.com/logout?redirect=/",children:"Logout"})})]}),Object(M.jsx)("img",{onClick:t=>{this.getPdf()},alt:"Edge Pdf",src:"/edge/images/pdf_export_btn.svg",style:{padding:"0",width:"35px",height:"35px",marginLeft:"15px",cursor:"pointer"}})]}),this.props.showFilterDiv&&0!==this.state.searchKey&&Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(vt,{onChange:this.closePopup,filtersGroup:this.state.filters,showFilter:this.state.showFilter,onFilterSave:this.handleFilterSaved},this.state.searchKey)})]})}),this.state.deNotifyConfirm&&Object(M.jsx)("div",{style:{position:"fixed",inset:0,zIndex:99999,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.45)"},onClick:()=>this.setState({deNotifyConfirm:null}),children:Object(M.jsxs)("div",{style:{background:"#fff",borderRadius:"10px",padding:"28px 32px",minWidth:"340px",maxWidth:"420px",boxShadow:"0 8px 32px rgba(0,0,0,0.18)",textAlign:"center"},onClick:t=>t.stopPropagation(),children:[Object(M.jsx)("div",{style:{marginBottom:"8px"},children:Object(M.jsx)("img",{src:"/edge/images/denotify_icon.svg",style:{width:"36px",marginBottom:"10px"},alt:"disable notification"})}),Object(M.jsx)("p",{style:{fontSize:"15px",color:"#333",marginBottom:"24px",lineHeight:"1.5"},children:"You'll stop receiving email for this saved filter. You can enable alerts again anytime."}),Object(M.jsxs)("div",{style:{display:"flex",gap:"12px",justifyContent:"center"},children:[Object(M.jsx)("button",{style:{padding:"8px 28px",borderRadius:"5px",border:"1px solid #ccc",background:"#fff",color:"#555",fontSize:"14px",cursor:"pointer",fontWeight:"500"},onClick:()=>this.setState({deNotifyConfirm:null}),children:"Cancel"}),Object(M.jsx)("button",{style:{padding:"8px 28px",borderRadius:"5px",border:"none",background:"#FF4C4C",color:"#fff",fontSize:"14px",cursor:"pointer",fontWeight:"500"},onClick:this.confirmDeNotify,children:"Disable"})]})]})}),Object(M.jsxs)(Rt.a,{show:this.state.toast.show,onClose:()=>this.setState({toast:{show:!1,message:"",type:"success"}}),style:{position:"fixed",top:20,right:20,zIndex:9999,minWidth:"300px"},children:[Object(M.jsx)(Rt.a.Header,{style:{backgroundColor:"success"===this.state.toast.type?"#d4edda":"#f8d7da",color:"success"===this.state.toast.type?"#155724":"#721c24"},children:Object(M.jsx)("strong",{className:"mr-auto",children:"success"===this.state.toast.type?"\u2705 Success":"\u274c Error"})}),Object(M.jsx)(Rt.a.Body,{children:this.state.toast.message})]})]})}}var kt=Object(c.f)(Object(D.b)((t=>({showFilterDiv:t.showFilterDiv,filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode})),null)(Qt)),Pt=a(107);class Gt extends i.a.Component{constructor(t){super(t),this.state={activeKey:this.props.activeKey,propertyType:this.props.propertyType,selectMenu:""}}componentDidUpdate(){""!=this.props.selectMenu&&this.props.selectMenu!=this.state.selectMenu?(this.setState({selectMenu:this.props.selectMenu,activeKey:this.props.activeKey}),this.props.dispatch({type:"CHANGE_SELECTED_SIDE_MENU",selectMenuNew:""})):this.props.selectMenu!=this.state.selectMenu&&this.setState({selectMenu:""})}render(){return Object(M.jsx)("div",{className:"leftNav",children:Object(M.jsxs)("ul",{children:[Object(M.jsx)("li",{className:"Dashboard"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/dashboard/")+this.props.location.search,className:"Dashboard"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Dashboard"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"material-symbols:dashboard"})}),Object(M.jsx)("p",{className:"text-center",children:"Dashboard"})]})}),Object(M.jsx)("li",{className:"Micromarket"===this.state.activeKey||"Macromarket"===this.state.activeKey||"Market"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/region/")+this.props.location.search,className:"Micromarket"===this.state.activeKey||"Macromarket"===this.state.activeKey||"Market"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Market"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"mdi:location"})}),Object(M.jsx)("p",{className:"text-center",children:"Region"})]})}),Object(M.jsx)("li",{className:"Developer"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/developer/").concat(this.props.location.search),className:"Developer"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Developer"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"bi:buildings-fill"})}),Object(M.jsx)("p",{className:"text-center",children:"Developer"})]})}),Object(M.jsx)("li",{className:"Property"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/asset/").concat(this.props.location.search),className:"Property"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Property"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"bi:houses-fill"})}),Object(M.jsx)("p",{className:"text-center",children:"Asset"})]})}),Object(M.jsx)("li",{className:"Tenant"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/occupier/").concat(this.props.location.search),className:"Tenant"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Tenant"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"fa-solid:house-user"})}),Object(M.jsx)("p",{className:"text-center",children:"Occupier"})]})}),Object(M.jsx)("li",{className:"Map"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/map/").concat(this.props.location.search),className:"Map"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Map"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"clarity:map-solid"})}),Object(M.jsx)("p",{className:"text-center",children:"Map"})]})}),Object(M.jsx)("li",{className:"Custom"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/custom/").concat(this.props.location.search),className:"Custom"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Custom"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"bi:stack"})}),Object(M.jsx)("p",{className:"text-center",children:"Custom"})]})}),Object(M.jsx)("li",{className:"Transaction"===this.state.activeKey?"activeLi":"",children:Object(M.jsxs)(n.b,{to:"/".concat(this.state.propertyType,"/transaction/").concat(this.props.location.search),className:"Transaction"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"Transaction"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)(Pt.a,{icon:"tabler:arrows-exchange"})}),Object(M.jsx)("p",{className:"text-center",children:"Transaction"})]})})]})})}}var Lt=Object(D.b)((function(t){return{selectMenu:t.selectedMenu}}))(Object(c.f)(Gt));const Vt=()=>Object(M.jsx)("div",{children:"Error Occured"}),zt=i.a.createContext(),Jt=zt.Provider;zt.Consumer;var Wt=zt,Ht=a(34),Zt=a.n(Ht);Zt()(["/edge/images/updated_logos/cities.svg"]);class Xt extends i.a.Component{constructor(){super(...arguments),this.state={isError:0,cityCount:0,microMarketCount:0,filters:{},urlFilter:""},this.fetchCoverage=t=>{jt.post("api/edge/office/get_current_coverage",Z(JSON.stringify(t))).then((t=>{200!==t.status?this.setState({isError:1}):this.setState({cityCount:t.data.city_count,microMarketCount:t.data.micromarket_count})})).catch((()=>{this.setState({isError:1})}))}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters;this.setState({filters:t,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchCoverage(t)}componentDidUpdate(t){JSON.stringify(this.props.filters)!==JSON.stringify(t.filters)&&(this.setState({filters:this.props.filters,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchCoverage(this.props.filters))}render(){return 1===this.state.isError?Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)(Vt,{})}),Object(M.jsx)("p",{className:"widgetName",children:"Current Coverage"})]})}):Object(M.jsx)(n.b,{to:"/office/region/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/updated_logos/cities.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.cityCount," Cities"]}),Object(M.jsxs)("p",{children:["(",this.state.microMarketCount," Micro-markets)"]})]})]})})}}Xt.contextType=Wt;var Kt=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Xt);Zt()(["/edge/images/updated_logos/officestock.svg"]);class qt extends i.a.Component{constructor(){super(...arguments),this.state={sumOfChargeableArea:0,noOfComplexes:0,filters:{},urlFilter:"",areaType:""},this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",JSON.stringify(t)),e&&a.append("area_type",e),jt.post("api/edge/office/get_total_office_stock_build",a).then((t=>{t&&t.data&&this.setState({sumOfChargeableArea:t.data.sum_of_chargeable_area,noOfComplexes:t.data.no_of_complxes})})).catch((t=>{console.error("Failed to fetch total office stock build:",t)}))}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters,e=this.props.areaType;this.setState({filters:t,areaType:e,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchData(t,e)}componentDidUpdate(t){const e=JSON.stringify(this.props.filters),a=JSON.stringify(t.filters),s=this.props.areaType!==t.areaType;(e!==a||s)&&(this.setState({filters:this.props.filters,areaType:this.props.areaType,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchData(this.props.filters,this.props.areaType))}render(){return Object(M.jsx)(n.b,{to:"/office/asset/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Total Office Stock Built Icon",src:"/edge/images/updated_logos/officestock.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.sumOfChargeableArea," msf"," ",Object(M.jsxs)("span",{children:["(",this.state.noOfComplexes," assets)"]})," "]}),Object(M.jsx)("p",{children:"Completed Office Stock"})]})]})})}}qt.contextType=Wt;var $t=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(qt);Zt()(["/edge/images/updated_logos/vacancy.svg"]);class te extends i.a.Component{constructor(t){super(t),this.state={areaActual:0,areaPerc:0,filters:{},isOpen:!1},this.fetchData=t=>{jt.post("api/edge/office/get_current_vacancy",Z(JSON.stringify(t))).then((t=>{t&&t.data&&this.setState({areaActual:t.data.area_actual,areaPerc:t.data.area_perc})})).catch((t=>{console.error("Failed to fetch current vacancy:",t)}))},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>{this.setState({isOpen:!1})}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters;this.setState({filters:t}),this.fetchData(t)}componentDidUpdate(t){JSON.stringi
1fy(this.props.filters)!==JSON.stringify(t.filters)&&(this.setState({filters:this.props.filters}),this.fetchData(this.props.filters))}render(){return Object(M.jsxs)("div",{className:"newWidgetClass position-relative",children:[Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/updated_logos/vacancy.svg",className:"imgWidth100"}),1===this.props.isCreUser&&Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsxs)("h2",{children:[this.state.areaPerc," % ",Object(M.jsxs)("span",{children:["(",this.state.areaActual," msf)"]})]}),Object(M.jsx)("p",{children:"Vacancy"})]}),0===this.props.isCreUser&&Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsx)("h2",{children:"-"}),Object(M.jsx)("p",{children:"Vacancy"})]}),Object(M.jsxs)("div",{className:"infoCircle",children:[Object(M.jsx)(p.a,{icon:j.k,style:{color:"#cccccc"}}),Object(M.jsx)("div",{className:"vacancyInfo",style:{display:"none"},children:Object(M.jsx)("p",{className:"text-center",children:"Vacancy is based on registered leases only"})})]})]})}}te.contextType=Wt;var ee=Object(D.b)((function(t){return{filters:t.selectedFilters,isCreUser:t.creUser}}))(te);Zt()(["/edge/images/updated_logos/passingrent.svg"]);class ae extends i.a.Component{constructor(){super(...arguments),this.state={currentPassingRent:0,filters:{}},this.fetchData=t=>{jt.post("api/edge/office/get_current_passing_rent",Z(JSON.stringify(t))).then((t=>{t&&t.data&&this.setState({currentPassingRent:t.data.current_passing_rent})})).catch((t=>{console.error("Failed to fetch current passing rent:",t)}))}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters;this.setState({filters:t}),this.fetchData(t)}componentDidUpdate(t){JSON.stringify(this.props.filters)!==JSON.stringify(t.filters)&&(this.setState({filters:this.props.filters}),this.fetchData(this.props.filters))}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:["\u20b9",this.state.currentPassingRent," ",Object(M.jsx)("span",{className:"smallText",children:" sqft/month"})]}),Object(M.jsx)("p",{children:"Wt. Avg. Passing Rent"})]})]})}}ae.contextType=Wt;var se=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ae);Zt()(["/edge/images/updated_logos/developer.svg"]);class ie extends i.a.Component{constructor(){super(...arguments),this.state={noOfDevelopers:0,noOfGroupCompanies:0,filters:{},urlFilter:""},this.fetchData=t=>{jt.post("api/edge/office/get_pan_india_commercial",Z(JSON.stringify(t))).then((t=>{t&&t.data&&this.setState({noOfDevelopers:t.data.no_of_developers})})).catch((t=>{console.error("Failed to fetch pan india commercial data:",t)}))}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters;this.setState({filters:t,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchData(t)}componentDidUpdate(t){JSON.stringify(this.props.filters)!==JSON.stringify(t.filters)&&(this.setState({filters:this.props.filters,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchData(this.props.filters))}render(){return Object(M.jsx)(n.b,{to:"/office/developer/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Pan India Commercial Icon",src:"/edge/images/updated_logos/developer.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsxs)("h2",{children:[this.state.noOfDevelopers," "]}),Object(M.jsx)("p",{children:"Developers"})]})]})})}}ie.contextType=Wt;var le=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ie);Zt()(["/edge/images/updated_logos/upcomingsupply.svg"]);class oe extends i.a.Component{constructor(){super(...arguments),this.state={sumOfChargeableArea:0,noOfComplexes:0,filters:{},areaType:""},this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",JSON.stringify(t)),e&&a.append("area_type",e),jt.post("api/edge/office/get_upcoming_supply",a).then((t=>{t&&t.data&&this.setState({sumOfChargeableArea:t.data.sum_of_chargeable_area,noOfComplexes:t.data.no_of_complxes})})).catch((t=>{console.error("Failed to fetch upcoming supply:",t)}))}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters,e=this.props.areaType;this.setState({filters:t,areaType:e}),this.fetchData(t,e)}componentDidUpdate(t){const e=JSON.stringify(this.props.filters),a=JSON.stringify(t.filters),s=this.props.areaType!==t.areaType;(e!==a||s)&&(this.setState({filters:this.props.filters,areaType:this.props.areaType}),this.fetchData(this.props.filters,this.props.areaType))}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"upcoming Supply Icon",src:"/edge/images/updated_logos/upcomingsupply.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsxs)("h2",{children:[this.state.sumOfChargeableArea," msf"," ",Object(M.jsxs)("span",{children:["(",this.state.noOfComplexes," assets)"]})]}),Object(M.jsx)("p",{children:"Upcoming Supply - 36 months"})]})]})}}oe.contextType=Wt;var ce=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(oe),ne=a(19),re=a(14),de=a(138),he=a(137);class pe extends i.a.Component{constructor(t){super(t),this.state={dataload:!0,startDate:this.props.parentData.startDate,endD
1ate:this.props.parentData.endDate,TypeDateArr:[{value:"executiondate",label:"Sign Date"},{value:"commencementdate",label:"Commencement Date"},{value:"absorptiondate",label:"Absorption Date"}],initialValues:{dateTypeName:this.props.parentData.dateTypeName,dateType:this.props.parentData.dateType?this.props.parentData.dateType:"executiondate"}}}handlestartSelect(t){this.setState({startDate:t})}handleendSelect(t){this.setState({endDate:t})}handleClear(t){this.setState({startDate:"",endDate:"",initialValues:{dateTypeName:"",dateType:""}})}handleChangeDatetype(t){this.setState({initialValues:{dateType:t.target.value}})}checksubmit(){return""!=this.state.startDate&&"ull"!=this.state.startDate&&"undefined"!=this.state.startDate&&""!=this.state.endDate&&"ull"!=this.state.endDate&&"undefined"!=this.state.endDate}dateConvert(t){if(""!=t&&"ull"!=t&&"undefined"!=t){const e=JSON.stringify(t).slice(1,11).split("-");return new Date(e[0],e[1]-1,e[2])}return null}render(){new Date,new Date;return Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("h4",{className:"searchDateModalHeading",children:"Select Date Range"}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.d,{initialValues:this.state.initialValues,enableReinitialize:!0,onSubmit:t=>{t.startDate=JSON.stringify(new Date(this.state.startDate)).slice(1,11),t.endDate=JSON.stringify(new Date(this.state.endDate)).slice(1,11),t.dateType=this.state.initialValues.dateType,this.props.datechildFilter(t)},children:t=>{let{values:e,errors:a,touched:s,handleChange:i,handleBlur:l,handleSubmit:o,isSubmitting:c}=t;return Object(M.jsxs)(v.c,{children:[Object(M.jsxs)("div",{className:"form-control",children:[Object(M.jsx)("label",{children:"Date Type"}),Object(M.jsx)(v.b,{name:"dateType",as:"select",onChange:t=>{this.handleChangeDatetype(t),i(t)},children:this.state.TypeDateArr.map((t=>Object(M.jsx)("option",{value:t.value,children:t.label},t.value)))}),Object(M.jsx)(v.a,{name:"dateType",component:"div"})]}),Object(M.jsx)("div",{className:"form-control",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"From"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(he.a)(t,this.dateConvert(this.state.endDate)),defaultValue:this.dateConvert(this.state.startDate),onChange:t=>{this.handlestartSelect(t)}})]}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"To"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(de.a)(t,this.dateConvert(this.state.startDate)),defaultValue:this.dateConvert(this.state.endDate),onChange:t=>{this.handleendSelect(t)}})]})]})}),Object(M.jsxs)("div",{className:"btnWrapper text-center",children:[this.checksubmit()&&Object(M.jsx)("button",{type:"submit",children:"Apply"}),Object(M.jsx)("button",{onClick:()=>{this.handleClear()},children:"Clear"})]})]})}})})]})})}}var je=Object(c.f)(pe);class Ae extends i.a.Component{constructor(t){super(t),this.state={isOpen:this.props.openModal,chartName:this.props.chartName},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1})}render(){return Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Document"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(this.state.chartName,{filters:this.props.filters,isModal:!0,chartHeightClass:this.props.chartHeightClass,showEllipsis:!1,bodyParams:this.props.bodyParams})})]})})})})}}var xe=Object(c.f)(Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Ae));const be="Office Demand & Supply";class me extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:be,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isLoad:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",barThicknesS:10,bodyParams:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:"",tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],downloadExcel:!1,xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType,globalMode:this.props.globalMode}),t="{}"==JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,this.state.filters=JSON.stringify(t),this.setState({}),"undefined"!=typeof this.props.bodyParams&&""!=this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",JSON.stringify(t));const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return a.state.xAxis,/\s/.test(a.state.xAxis)?"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):"":(a.state.xAxis,a.state.xAxis.length>0?a.state.xAxis[e]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_office_demand_supply_chart",e).then((t=>{const e=tt(t);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x});const i={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y3,data:t.data.datapoints.y3,backgroundColor:t.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?a.setState({noGraph:!1}):a.setState({noGraph:!0}),console.log(e),a.setState({chartOtions:s,chartData:i,isLoad:!0,exceldata:e})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this;let s={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return a.state.xAxis,/\s/.test(a.state.xAxis)?"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):"":(a.state.xAxis,a.state.xAxis.length>0?a.state.xAxis[e]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var e=new FormData;e.append("filter",JSON.stringify(this.props.filters)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date),e.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),jt.post("api/edge/office/get_office_demand_supply_chart",e).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y3,data:t.data.datapoints.y3,backgroundColor:t.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?a.setState({noGraph:!1}):a.setState({noGraph:!0});const i=tt(t);a.setState({chartOtions:s,chartData:e,isLoad:!0,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:be,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("divToPrint");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("Of\ufb01ceDemandSupply.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Office Demand Supply chart"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:be,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return t.state.xAxis,/\s/.test(t.state.xAxis)?"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"":(t.state.xAxis,t.state.xAxis.length>0?t.state.xAxis[a]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_demand_supply_chart",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y3,data:a.data.datapoints.y3,backgroundColor:a.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y2,data:a.data.datapoints.y2,backgroundColor:a.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(a.data.datapoints.y1)||$(a.data.datapoints.y2)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return t.state.xAxis,/\s/.test(t.state.xAxis)?"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"":(t.state.xAxis,t.state.xAxis.length>0?t.state.xAxis[a]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_demand_supply_chart",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y3,data:a.data.datapoints.y3,backgroundColor:a.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y2,data:a.data.datapoints.y2,backgroundColor:a.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(a.data.datapoints.y1)||$(a.data.datapoints.y2)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"divToPrint",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Of\ufb01ce Demand & Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Of\ufb01ce Demand & Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:"Download as PDF"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:be,mode:this.state.mode,filters:this.state.filters})},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"Of\ufb01ceDemandSupply",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:be,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"250px"},children:this.state.isLoad&&Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:me,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}me.contextType=Wt;var ge=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(me);const Oe="Rental Analysis";class ue extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Oe,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,isLoad:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],downloadExcel:!1,showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType,globalMode:this.props.globalMode}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);const a=this;jt.post("api/edge/office/get_rentals_anlysis_chart",e).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({xAxis:t.data.x});let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?a.setState({noGraph:!1}):a.setState({noGraph:!0});const s=tt(t);a.setState({chartData:e,isLoad:!0,exceldata:s})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this;var e=new FormData;e.append("filter",JSON.stringify(this.props.filters)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date),e.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),jt.post("api/edge/office/get_rentals_anlysis_chart",e).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x});let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?a.setState({noGraph:!1}):a.setState({noGraph:!0});const s=tt(t);a.setState({chartData:e,isLoad:!0,exceldata:s})}))}}downloadPdf(){Ct(gt,{chartName:Oe,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("rentalsAnalysis");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("RentalsAnalysis.pdf")}));let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rental Analysis chart"),jt.post("api/user-activity/log-activity",e).then((t=>{}))}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Oe,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis[a]&&/\s/.test(t.state.xAxis)?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis[a]&&t.state.xAxis.length>0?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_rentals_anlysis_chart",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x});let s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderColor:a.data.bgcolor.y1},{label:a.data.legend.y2,data:a.data.datapoints.y2,backgroundColor:a.data.bgcolor.y2,borderColor:a.data.bgcolor.y2}]};$(a.data.datapoints.y1)||$(a.data.datapoints.y2)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis[a]&&/\s/.test(t.state.xAxis)?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis[a]&&t.state.xAxis.length>0?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_rentals_anlysis_chart",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x});let s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderColor:a.data.bgcolor.y1},{label:a.data.legend.y2,data:a.data.datapoints.y2,backgroundColor:a.data.bgcolor.y2,borderColor:a.data.bgcolor.y2}]};$(a.data.datapoints.y1)||$(a.data.datapoints.y2)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name;const e=this,a={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a].split(" "):"undefined"!=typeof e.state.xAxis[a]&&e.state.xAxis.length>0?e.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,animation:!1,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalsAnalysis",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Analysis"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Analysis"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Oe,mode:this.state.mode,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rental Analysis chart"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"RentalsAnalysis",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Oe,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"250px"},children:this.state.isLoad&&Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:a,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:ue,filters:this.state.filters,chartHe
1ightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}ue.contextType=Wt;var ye=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(ue),fe=a(20);const we="Major Recent Lease Transactions";class Ne extends i.a.Component{constructor(){super(...arguments),this.apiTimeout=null,this.lastFetchedPayload=null,this.state={majorRecentLeaseTransactions:[],showLoader:!1,showGraph:!1,isOpenErrorDisplayModal:!1,jsonForExcel:[]},this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e=JSON.stringify({filter:t,area_type:this.props.areaType||""});if(this.lastFetchedPayload!==e){this.lastFetchedPayload=e,this.setState({showLoader:!0,showGraph:!1});var a=new FormData;a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_major_recent_lease_transactions",a).then((t=>{let e=t.data.slice(0,8);this.setState({showLoader:!1,showGraph:!0,majorRecentLeaseTransactions:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})})).catch((()=>{this.setState({showLoader:!1,showGraph:!0})}))}},this.verifyUser=t=>{if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loading"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Lease Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:we,filters:JSON.stringify(this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Lease Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"RecentLease",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:we,filters:JSON.stringify(this.props.filters)}),q("#recentLease","RecentLease");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Lease Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"recentLease",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"View"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"ChargeableArea"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Rent"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:this.state.majorRecentLeaseTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("leaseId",t.lease_id),children:Object(M.jsx)(p.a,{icon:j.g})})}),Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.rent}
1),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city})})]},e)))})]})})]}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}Ne.contextType=Wt;var Se=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(Ne);Zt()(["/edge/images/updated_logos/incomplete_icon.svg"]);class De extends i.a.Component{constructor(){super(...arguments),this.state={upcomingProjectCompletions:[],filters:"",areaType:""},this.fetchUpcomingProjectCompletions=(t,e)=>{var a=new FormData;a.append("filter",t),a.append("area_type",e),jt.post("api/edge/office/get_upcoming_project_completions",a).then((t=>{this.setState({upcomingProjectCompletions:t.data.slice(0,3)})}))}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({areaType:this.props.areaType,filters:t}),this.fetchUpcomingProjectCompletions(t,this.props.areaType)}componentDidUpdate(){const t=JSON.stringify(this.props.filters);t===this.state.filters&&this.state.areaType==this.props.areaType||(this.setState({filters:t,areaType:this.props.areaType}),this.fetchUpcomingProjectCompletions(t,this.props.areaType))}render(){return Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsxs)("div",{className:"widget widgetUpcoming",children:[Object(M.jsx)("h3",{children:"Upcoming Project Completions"}),this.state.upcomingProjectCompletions.map(((t,e)=>Object(M.jsxs)("div",{className:"customWrapper",children:[Object(M.jsx)("h5",{className:"mt-3",children:Object(M.jsx)(n.b,{target:"_blank",to:'/office/asset/?filter={"complex":[{"id":"b-'.concat(J()(t.complex),'","value":"').concat(t.complex,'","label":"').concat(t.complex,'"}]}'),children:t.complex})}),t.complex!==t.building&&Object(M.jsx)("h5",{className:"",children:t.building}),Object(M.jsxs)("h5",{children:["Leasable Area: ",t.area]}),Object(M.jsx)("div",{className:"row mt-3 ms-0 me-1",children:Object(M.jsx)("div",{className:"darkBlueBg",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("img",{alt:"Project Incomplete Icon",src:"/edge/images/incomplete_icon.png"})}),Object(M.jsxs)("div",{className:"col-lg-8 upcomingTableFlex",children:[Object(M.jsx)("p",{className:"text-start",children:"Completion Date"}),Object(M.jsx)("h5",{className:"completionDate",children:t.completion_date})]})]})})})]},e)))]})})}}De.contextType=Wt;var Me=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(De);const Ce="Top Of\ufb01ce Projects - By Leasable Area";class Fe extends i.a.Component{constructor(){super(...arguments),this.apiTimeout=null,this.lastFetchedPayload=null,this.state={topOfficeProjects:[],jsonForExcel:null},this.queueFetchProjectData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchProjectData()}),300)},this.fetchProjectData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e=JSON.stringify({filter:t,area_type:this.props.areaType||""});if(this.lastFetchedPayload!==e){this.lastFetchedPayload=e;var a=new FormData;a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_top_office_projects",a).then((t=>{let e=t.data.slice(0,5);this.setState({topOfficeProjects:e,jsonForExcel:it(e,{complex:{name:"Asset",type:"string"},total_leasable_area:{name:"Leasable Area (sqft)",type:"int"},passing_rent:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},rent:{name:"Starting Rent (Market Rent) (\u20b9/sqft/month)",type:"int"},wale:{name:"WALE (months)",type:"string"}})})}))}}}componentDidMount(){this.queueFetchProjectData()}componentDidUpdate(){this.queueFetchProjectData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Of\ufb01ce Projects - By Leasable Area"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Ce,filters:JSON.stringify(this.props.filters)});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Of\ufb01ce Projects - By Leasable Area"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopOfficeProjects",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Ce,filters:JSON.stringify(this.props.filters)}),q("#topOfficeProject","TopOfficeProject");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Of\ufb01ce Projects - By Leasable Area"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topOfficeProject",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leasable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Passing Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Starting Rent (Market Rent)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Occupancy"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(months)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.topOfficeProjects.map(((t,e)=>{var a;return Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:null===(a=t.total_leasable_area)||void 0===a?void 0:a.toLocaleString()}),Object(M.jsx)("td",{className:"text-end",children:t.passing_rent}),Object(M.jsx)("td",{className:"text-end",children:t.rent}),Object(M.jsx)("td",{className:"text-end",children:t.occupancy}),Object(M.jsx)("td",{className:"text-end",children:t.wale})]},e)}))})]})})]})})})}}Fe.contextType=Wt;var Be=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Fe),ve=a(62),Te=a.n(ve);const Ie="Top Office Occupiers - By Area Leased";class _e extends i.a.Component{constructor(){super(...arguments),this.state={topOfficeTenants:[],filters:"",jsonForExcel:[],areaType:""},this.fetchTopOfficeTenants=(t,e)=>{var a=new FormData;a.append("filter",t),a.append("area_type",e),jt.post("api/edge/office/get_top_office_tenants",a).then((t=>{let e=t.data.splice(0,5);this.setState({topOfficeTenants:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},current_rent:{name:"Current Rent (\u20b9/sqft/month)",type:"int"},area_leased:{name:"Area Leased (msf)",type:"int"},last_2yr_rent:{name:"Last 2 Yrs. Rent (\u20b9/sqft/month)",type:"int"},wale:{name:"WALE (months)",type:"int"}})})}))}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({areaType:this.props.areaType,filters:t}),this.fetchTopOfficeTenants(t,this.props.areaType)}componentDidUpdate(){const t=JSON.stringify(this.props.filters);t===this.state.filters&&this.state.areaType==this.props.areaType||(this.setState({filters:t,areaType:this.props.areaType}),this.fetchTopOfficeTenants(t,this.props.areaType))}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Office Occupiers - By Area Leased"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Ie,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Office Occupiers - By Area Leased"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopOfficeTenants",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Ie,filters:this.state.filters}),q("#topOfficeOccupier","TopOfficeOccupier");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Office Occupiers - By Area Leased"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topOfficeOccupier",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Current Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area Leased"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Last 2 Yrs. Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(months)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.topOfficeTenants.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("brands_parent",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{className:"text-end",children:t.current_rent}),Object(M.jsx)("td",{className:"text-end",children:t.area_leased}),Object(M.jsx)("td",{className:"text-end",children:t.last_2yr_rent}),Object(M.jsx)("td",{className:"text-end",children:t.wale})]},e)))})]})})]})})})}}_e.contextType=Wt;var Ee=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(_e);class Ue extends i.a.Component{constructor(t){super(t),this.state={dataload:!0,startDate:this.props.parentData.startDate,endDate:this.props.parentData.endDate,topXX:this.props.parentData.topXX,TypeDateArr:[{value:"executiondate",label:"Sign Date"},{value:"commencementdate",label:"Commencement Date"},{value:"absorptiondate",label:"Absorption Date"}],initialValues:{dateType:this.props.parentData.dateType?this.props.parentData.dateType:"executiondate"}}}handlestartSelect(t){this.setState({startDate:t})}handleendSelect(t){this.setState({endDate:t})}handleClear(t){this.setState({startDate:"",endDate:"",topXX:"",initialValues:{dateType:""}})}handleChangeDatetype(t){this.setState({initialValues:{dateType:t.target.value}})}handleChangeTopxx(t){this.setState({topXX:t.target.value})}dateConvert(t){if(""!=t&&"ull"!=t&&"undefined"!=t){const e=JSON.stringify(t).slice(1,11).split("-");return new Date(e[0],e[1]-1,e[2])}return null}checksubmit(){return""!=this.state.startDate&&"ull"!=this.state.startDate&&"undefined"!=this.state.startDate&&""!=this.state.endDate&&"ull"!=this.state.endDate&&"undefined"!=this.state.endDate||!(""==this.state.topXX||"ull"==this.state.topXX||"undefined"==this.state.topXX||""!==this.state.startDate&&"ull"!==this.state.startDate&&"undefined"!==this.state.startDate||""!==this.state.endDate&&"ull"!==this.state.endDate&&"undefined"!==this.state.endDate)}render(){return Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("h4",{className:"searchDateModalHeading",children:"Select Date Range"}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.d,{initialValues:this.state.initialValues,enableReinitialize:!0,onSubmit:t=>{t.startDate=JSON.stringify(new Date(this.state.startDate)).slice(1,11),t.endDate=JSON.stringify(new Date(this.state.endDate)).slice(1,11),t.dateType=this.state.initialValues.dateType,t.topXX=this.state.topXX,this.props.datechildFilter(t)},children:t=>{let{values:e,errors:a,touched:s,handleChange:i,handleBlur:l,handleSubmit:o,isSubmitting:c}=t;return Object(M.jsxs)(v.c,{children:[Object(M.jsxs)("div",{className:"form-control",children:[Object(M.jsx)("label",{children:"Date Type"}),Object(M.jsx)(v.b,{name:"dateType",as:"select",onChange:t=>{this.handleChangeDatetype(t),i(t)},children:this.state.TypeDateArr.map((t=>Object(M.jsx)("option",{value:t.value,children:t.label},t.value)))}),Object(M.jsx)(v.a,{name:"dateType",component:"div"})]}),Object(M.jsx)("div",{className:"form-control",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"From"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(he.a)(t,this.dateConvert(this.state.endDate)),defaultValue:this.dateConvert(this.state.startDate),onChange:t=>{this.handlestartSelect(t)}})]}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"To"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(de.a)(t,this.dateConvert(this.state.startDate)),defaultValue:this.dateConvert(this.state.endDate),onChange:t=>{this.handleendSelect(t)}})]})]})}),Object(M.jsxs)("div",{className:"form-control",children:[Object(M.jsx)("label",{htmlFor:"topXX",children:"Top XX"}),Object(M.jsx)(v.b,{type:"number",max:"50",min:"1",id:"topXX",name:"topXX",onChange:t=>{this.handleChangeTopxx(t)},value:this.state.topXX}),Object(M.jsx)(v.a,{name:"topXX"})]}),Object(M.jsxs)("div",{className:"btnWrapper text-center",children:[this.checksubmit()&&Object(M.jsx)("button",{type:"submit",children:"Apply"}
1),Object(M.jsx)("button",{onClick:()=>{this.handleClear()},children:"Clear"})]})]})}})})]})})}}var Re=Object(c.f)(Ue),Ye=a(73);const Qe="Top Sectors in Of\ufb01ce Leasing - By Area Leased";const ke={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#b3d2ff","#91bcfd","#70a6fa","#4e90f8","#2d7af5","#1c6ff4","#1f4bc0","#22339e","#241b7b","#260359"]};class Pe extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t,e={};if("undefined"!==typeof this.props.bodyParams)t=this.props.bodyParams,t.forEach(((t,a)=>{e[a]=t}));else{let a="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;if(t=new FormData,t.append("filter",JSON.stringify(a)),t.append("area_type",this.props.areaType||""),e={filter:JSON.stringify(a),area_type:this.props.areaType||""},this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date),e.start_date=this.state.start_date,e.end_date=this.state.end_date,e.which_date=this.state.which_date),this.state.top_xx>0){let a=this.state.top_xx<51?this.state.top_xx:50;t.append("top_xx",a),e.top_xx=a}}const a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({bodyParams:t}),jt.post("api/edge/office/get_top_sectors_in_office_leasing_chart",t).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Sectors","area"]),this.setState({googlePieChartData:s,noGraph:!$(t.data.y),exceldata:et(t,"Sector","Area(msf)")})})))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,top_xx:t.topXX,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Qe,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={googlePieChartData:[["data","0"]],showWatermark:!1,noGraph:!1,expandChartKey:Math.random(),expandChart:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",top_xx:"",bodyParams:"",exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight maxCanvasHeightAuto"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:Qe,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("of\ufb01ceLeasing");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("Of\ufb01ceLeasing.pdf")})),this.setState({showWatermark:!1})}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,topXX:this.state.top_xx};return Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:this.state.showWatermark?"widget widgetGraph watermark":"widget widgetGraph",id:"of\ufb01ceLeasing",children:[this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader mb-3",children:[Object(M.jsx)("p",{children:"Top Sectors in Of\ufb01ce Leasing - By Area Leased"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Data"})})]}
1),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader mb-3",children:[Object(M.jsx)("p",{children:"Top Sectors in Of\ufb01ce Leasing - By Area Leased"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.setState({showWatermark:!0},(()=>{this.downloadPdf()}));let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Sectors in Of\ufb01ce Leasing - By Area Leased"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Qe,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Sectors in Of\ufb01ce Leasing - By Area Leased"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"TopSectorsInOf\ufb01ceLeasing",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Qe,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:ke,width:"100%",height:"400px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Re,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Pe,filters:this.context.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Pe.contextType=Wt;var Ge=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Pe);class Le extends i.a.Component{constructor(t){super(t),this.state={dataload:!0,startDate:this.props.parentData.startDate,endDate:this.props.parentData.endDate,initialValues:{topXX:this.props.parentData.topXX}}}handlestartSelect(t){this.setState({startDate:t})}handleendSelect(t){this.setState({endDate:t})}handleClear(t){this.setState({startDate:"",endDate:"",initialValues:{topXX:""}})}handleChangeTopxx(t){this.setState({initialValues:{topXX:t.target.value}})}dateConvert(t){if(""!=t&&"ull"!=t&&"undefined"!=t){const e=JSON.stringify(t).slice(1,11).split("-");return new Date(e[0],e[1]-1,e[2])}return null}checksubmit(){return""!=this.state.startDate&&"ull"!=this.state.startDate&&"undefined"!=this.state.startDate&&""!=this.state.endDate&&"ull"!=this.state.endDate&&"undefined"!=this.state.endDate||!(""==this.state.initialValues.topXX||"ull"==this.state.initialValues.topXX||"undefined"==this.state.initialValues.topXX||""!==this.state.startDate&&"ull"!==this.state.startDate&&"undefined"!==this.state.startDate||""!==this.state.endDate&&"ull"!==this.state.endDate&&"undefined"!==this.state.endDate)}render(){new Date,new Date;return Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("h4",{className:"searchDateModalHeading",children:"Select Date Range"}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.d,{initialValues:this.state.initialValues,enableReinitialize:!0,onSubmit:t=>{t.startDate=JSON.stringify(new Date(this.state.startDate)).slice(1,11),t.endDate=JSON.stringify(new Date(this.state.endDate)).slice(1,11),t.topXX=this.state.initialValues.topXX,this.props.datechildFilter(t)},children:t=>{let{values:e,errors:a,touched:s,handleChange:i,handleBlur:l,handleSubmit:o,isSubmitting:c}=t;return Object(M.jsxs)(v.c,{children:[Object(M.jsx)("div",{className:"form-control",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"From"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(he.a)(t,this.dateConvert(this.state.endDate)),defaultValue:this.dateConvert(this.state.startDate),onChange:t=>{this.handlestartSelect(t)}})]}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"To"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(de.a)(t,this.dateConvert(this.state.startDate)),defaultValue:this.dateConvert(this.state.endDate),onChange:t=>{this.handleendSelect(t)}})]})]})}),Object(M.jsxs)("div",{className:"form-control",children:[Object(M.jsx)("label",{htmlFor:"topXX",children:"Top XX"}),Object(M.jsx)(v.b,{type:"number",max:"50",min:"1",id:"topXX",name:"topXX",onChange:t=>{this.handleChangeTopxx(t)},value:this.state.initialValues.topXX}),Object(M.jsx)(v.a,{name:"topXX"})]}),Object(M.jsxs)("div",{className:"btnWrapper text-center",children:[this.checksubmit()&&Object(M.jsx)("button",{type:"submit",children:"Apply"}
1),Object(M.jsx)("button",{onClick:()=>{this.handleClear()},children:"Clear"})]})]})}})})]})})}}var Ve=Object(c.f)(Le);const ze="Top Developers in Of\ufb01ce Development - By Leasable Area";const Je={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#9ae0dc","#b5eeea","#d0fdf9","#7fd1cd","#64c2be","#48b5ad","#399d95","#2a847d","#1b6c65","#0c534d"]};class We extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,top_xx:t.topXX,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:ze,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,filters:"",isOpen:!1,start_date:"",end_date:"",top_xx:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight maxCanvasHeightAuto"}}componentDidMount(){var t;if(this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);jt.post("api/edge/office/get_top_developers_in_office_development_chart",e).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Developers","area"]),this.setState({googlePieChartData:s}),$(t.data.y)||$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Developers","Area(msf)");this.setState({exceldata:i})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.state.top_xx>0&&(this.state.top_xx<51?t.append("top_xx",this.state.top_xx):t.append("top_xx",50)),this.setState({bodyParams:t}),jt.post("api/edge/office/get_top_developers_in_office_development_chart",t).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Developers","area"]),this.setState({googlePieChartData:s}),$(t.data.y)||$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Developers","Area(msf)");this.setState({exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:ze,filters:this.state.filters});const t=document.getElementById("topDevelopersOf\ufb01ceDevelopment");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("TopDevelopersOf\ufb01ceDevelopment.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.topXX=this.state.top_xx,Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"widget widgetGraph",id:"topDevelopersOf\ufb01ceDevelopment",children:[this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader mb-3",children:[Object(M.jsx)("p",{children:"Top Developers in Of\ufb01ce Development - By Leasable Area"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}
1),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader mb-3",children:[Object(M.jsx)("p",{children:"Top Developers in Of\ufb01ce Development - By Leasable Area"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Developers in Of\ufb01ce Development - By Leasable Area"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:ze,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Developers in Of\ufb01ce Development - By Leasable Area"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"TopDevelopersOf\ufb01ceDevelopment",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:ze,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Je,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Ve,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:We,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}We.contextType=Wt;var He=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(We);const Ze="Major Recent Sale Transactions";class Xe extends i.a.Component{constructor(){super(...arguments),this.apiTimeout=null,this.lastFetchedPayload=null,this.state={majorRecentSaleTransactions:[],isOpenErrorDisplayModal:!1,jsonForExcel:[]},this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e=JSON.stringify({filter:t,area_type:this.props.areaType||""});if(this.lastFetchedPayload!==e){this.lastFetchedPayload=e;var a=new FormData;a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_major_recent_sale_transactions",a).then((t=>{let e=t.data.slice(0,5);this.setState({majorRecentSaleTransactions:e,jsonForExcel:it(e,{buyer:{name:"Buyer",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"Chargeable Area (sqft)",type:"int"},sale_price:{name:"Chargeable Sale Price (\u20b9/sqft)",type:"int"},carpet_area:{name:"Carpet Area (sqft)",type:"int"},carpet_sale_price:{name:"Carpet Sale Price (\u20b9/sqft)",type:"int"}
1,city:{name:"city",type:"string"},seller:{name:"Seller",type:"string"},"ef\ufb01ciency":{name:"Ef\ufb01ciency",type:"int"},micromarket:{name:"Micro-Market",type:"string"}})})}))}},this.verifyUser=t=>{if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"col-lg-12",children:[Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 5 Sale Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Ze,filters:JSON.stringify(this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Sale Transaction"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"MajorRecentSaleTransaction",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Ze,filters:JSON.stringify(this.props.filters)}),q("#recentSale","RecentSale");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Sale Transaction"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"recentSale",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Buyer"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Chargeable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Sale Price (Chargeable)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Carpet Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Sale Price (Carpet)"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Seller"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Ef\ufb01ciency"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-market"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:this.state.majorRecentSaleTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{title:t.buyer,children:t.buyer}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.sale_price}),Object(M.jsx)("td",{className:"text-end",children:t.carpet_area}),Object(M.jsx)("td",{className:"text-end",children:t.carpet_sale_price}),Object(M.jsx)("td",{children:t.city}),Object(M.jsx)("td",{title:t.seller,children:t.seller}
1),Object(M.jsx)("td",{className:"text-end",children:t.efficiency}),Object(M.jsx)("td",{title:t.micromarket,children:Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",t.micromarket),children:t.micromarket})})]},e)))})]})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}Xe.contextType=Wt;var Ke=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(Xe);const qe="Asset Type Mix";class $e extends i.a.Component{constructor(){super(...arguments),this.state={assetSummary:[],filters:"",jsonForExcel:[],areaType:""}}componentDidMount(){var t;this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.setState({}),jt.post("api/edge/office/get_asset_summary",Z(t)).then((t=>{let e=t.data.splice(0,8);this.setState({assetSummary:t.data}),this.setState({assetSummary:e,jsonForExcel:it(e,{asset_type:{name:"Type",type:"string"},project:{name:"Project",type:"int"},total_area:{name:"Total Area (msf)",type:"int"},perc_contribution:{name:"Contribution",type:"int"},vacancy:{name:"Vacancy (%)",type:"int"}})})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_asset_summary",t).then((t=>{let e=t.data.splice(0,8);this.setState({assetSummary:t.data}),this.setState({assetSummary:e,jsonForExcel:it(e,{asset_type:{name:"Type",type:"string"},project:{name:"Project",type:"int"},total_area:{name:"Total Area (msf)",type:"int"},perc_contribution:{name:"Contribution",type:"int"},vacancy:{name:"Vacancy (%)",type:"int"}})})}))}}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Asset Type Mix"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:qe,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Asset Type Mix"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"assetSummary",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:qe,filters:this.state.filters}),q("#assetSummary","assetSummary");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Asset Type Mix"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"assetSummary",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Type"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Projects"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Total Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"% Contribution"})}),Object(M.jsxs)("th",{className:"text-end",children:[Object(M.jsx)("span",{children:"Vacancy"}),Object(M.jsxs)("span",{className:"infoCircle",children:[Object(M.jsx)(p.a,{icon:j.k,style:{color:"#cccccc"}}),Object(M.jsx)("div",{className:"vacancyInfo2",style:{display:"none"},children:Object(M.jsx)("p",{className:"text-center",children:"Vacancy is based on registered leases only"})})]})]})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end"}
1),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.assetSummary.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:t.asset_type}),Object(M.jsx)("td",{className:"text-end",children:t.project}),Object(M.jsx)("td",{className:"text-end",children:t.total_area}),Object(M.jsx)("td",{className:"text-end",children:t.perc_contribution}),Object(M.jsxs)("td",{className:"text-end",children:[t.vacancy,"%"]})]},e)))})]})})]})})}}$e.contextType=Wt;var ta=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))($e);const ea=new w({get:!0,post:!0,url:"api/edge/office/get_recent_searches"});class aa extends i.a.Component{constructor(){super(...arguments),this.state={recentSearches:[]}}componentDidMount(){ea.get().then((t=>{"undefined"===typeof t.error&&this.setState({recentSearches:t.data})}))}render(){return Object(M.jsx)("div",{className:"widget widgetRightSideBar text-start mb-4",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Your Recent Searches"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(p.a,{icon:j.n})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4 colorBlack searchTip",children:Object.keys(this.state.recentSearches).map(((t,e)=>Object(M.jsxs)("div",{className:"newSearchTipInner",children:[Object(M.jsx)("p",{children:t}),Object(M.jsx)("div",{className:"row m-0 recentSearch",children:Object(M.jsx)("div",{className:"col-12 px-0 recentBorderBottom",children:Object.values(this.state.recentSearches[t]).map(((t,e)=>Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{target:"_blank",to:"?filter="+encodeURIComponent(K(t.filter_value)),children:t.label})},t.id)))})})]},e)))})]})})}}var sa=aa;new w({get:!0,post:!0,url:"api/edge/office/get_saved_filters"});i.a.Component;class ia extends i.a.Component{constructor(){super(...arguments),this.state={recentTransactions:[],filters:"",showLoader:!1,showGraph:!1}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_recently_added_transactions",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({recentTransactions:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_recently_added_transactions",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({recentTransactions:t.data})})))}render(){return Object(M.jsxs)("div",{className:"widget widgetRightSideBar text-start widgetBlueBg",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recently Added Transactions"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4 colorBlack searchTip",children:this.state.recentTransactions.map(((t,e)=>Object(M.jsx)("div",{className:"transactionInnerDiv",children:Object(M.jsxs)(n.b,{target:"_blank",to:H("leaseId",t.lease_id),children:[Object(M.jsx)("p",{className:"dateTag",children:t.date}),Object(M.jsx)("div",{className:"recentSearch recentTransaction",children:Object(M.jsxs)("div",{className:"recentBorderBottom",children:[Object(M.jsxs)("h2",{children:[t.tenant," - ",t.complex]}),Object(M.jsxs)("span",{children:[t.micromarket,", ",t.city]}),Object(M.jsxs)("div",{className:"areaDiv",children:[Object(M.jsxs)("p",{className:"area",children:["Area:"," ",null==t.area||0==t.area?t.carpet_area:t.area," ","sft"," ",Object(M.jsxs)("span",{className:"area",title:null==t.area||0==t.area?"Carpet Area":"Chargeable Area",children:["(",null==t.area||0==t.area?"Car...":"Char...",")"]})]}),Object(M.jsxs)("p",{className:"area",children:["Rent: ",t.rent," \u20b9 / sqft / month"]})]})]})})]})},e)))})]})]})}}ia.contextType=Wt;var la=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ia);Zt()(["/edge/images/updated_logos/occupiedstock.svg"]);class oa extends i.a.Component{constructor(){super(...arguments),this.state={isError:0,occupiedArea:0,filters:{},urlFilter:"",areaType:""},this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",JSON.stringify(t)),e&&a.append("area_type",e),jt.post("api/edge/office/get_dashboard_occupied_stock",a).then((t=>{200!==t.status?this.setState({isError:1}):this.setState({occupiedArea:t.data.occupied_area})}
1)).catch((t=>{this.setState({isError:1})}))}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters,e=this.props.areaType;this.setState({filters:t,areaType:e,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchData(t,e)}componentDidUpdate(t){const e=JSON.stringify(this.props.filters),a=JSON.stringify(t.filters),s=this.props.areaType!==t.areaType;(e!==a||s)&&(this.setState({filters:this.props.filters,areaType:this.props.areaType,urlFilter:void 0!==W.get.filter?"?filter="+W.get.filter:""}),this.fetchData(this.props.filters,this.props.areaType))}render(){return 1===this.state.isError?Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)(Vt,{})}),Object(M.jsx)("p",{className:"widgetName",children:"Occupied Stock"})]})}):Object(M.jsx)(n.b,{to:"/office/region/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"OccupiedStock Icon",src:"/edge/images/updated_logos/occupiedstock.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsxs)("h2",{children:[this.state.occupiedArea," msf"]}),Object(M.jsx)("p",{children:"Occupied Stock"})]})]})})}}oa.contextType=Wt;var ca=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(oa);Zt()(["/edge/images/updated_logos/marketrent.svg"]);class na extends i.a.Component{constructor(){super(...arguments),this.state={marketRent:0,filters:{}},this.fetchData=t=>{jt.post("api/edge/office/get_dashboard_market_rent",Z(JSON.stringify(t))).then((t=>{t&&t.data&&this.setState({marketRent:t.data.market_rent})})).catch((t=>{console.error("Failed to fetch market rent:",t)}))}}componentDidMount(){let t=0===Object.keys(this.props.filters||{}).length?this.context.filters:this.props.filters;this.setState({filters:t}),this.fetchData(t)}componentDidUpdate(t){JSON.stringify(this.props.filters)!==JSON.stringify(t.filters)&&(this.setState({filters:this.props.filters}),this.fetchData(this.props.filters))}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/updated_logos/marketrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:["\u20b9",this.state.marketRent," ",Object(M.jsx)("span",{className:"smallText",children:" sqft/month"})]}),Object(M.jsx)("p",{children:"Starting Rent (Market Rent)"})]})]})}}na.contextType=Wt;var ra=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(na);a(78);const da="Rent By Sectors";class ha extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:da,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:void 0,barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.setState({}),"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Sectors"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}};jt.post("api/edge/office/get_rental_by_cities_and_sectors",e).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.sector_with_cities_data.labels});const e=t.data.sector_with_cities_data;let i=[];e.datasets.length&&(i=e.labels.map(((t,a)=>{const s={Sectors:t};return e.datasets.forEach((t=>{s[t.label]=Number(t.data[a])})),s}))),a.setState({chartOtions:s,chartData:e,excelData:i})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1});const e=this,a={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Sectors"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),jt.post("api/edge/office/get_rental_by_cities_and_sectors",t).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.sector_with_cities_data.labels}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s=t.data.sector_with_cities_data;let i=[];s.datasets.length&&(i=s.labels.map(((t,e)=>{const a={Sectors:t};return s.datasets.forEach((t=>{a[t.label]=Number(t.data[e])})),a}))),e.setState({chartOtions:a,chartData:s,excelData:i})}))}}downloadPdf(){Ct(gt,{chartName:da,filters:this.state.filters});const t=document.getElementById("rentBySectors");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("rentBySectors.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentBySectors",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rent By Sectors"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rent By Sectors"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Asset Type Mix"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:da,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rent By Sectors"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"rentBySectors",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:da,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),console.log(this.state.filters),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:ha,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}ha.contextType=Wt;var pa=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(ha);class ja extends i.a.Component{constructor(t){super(t),this.state={isNotesmodal:!1,mode:"yearly",modeText:"Switch To Quarterly",gradeText:"Switch To All Grade",grade:"AA+",assetMarketAnalysis:[],filters:"",showLoader:!1,showGraph:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",noteTxt:"",jsonForExcel:[]},this.openNotesModal=()=>{this.setState({isNotesmodal:!0})},this.closeNotesModal=()=>this.setState({isNotesmodal:!1}),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1})}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t}),jt.post("api/edge/office/get_demand_supply_vacancy_data",Z(t)).then((t=>{let e=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({assetMarketAnalysis:e,jsonForExcel:it(e,{index:{name:"Year/
1Quarter",type:"string"},stock:{name:"Stock",type:"string"},new_supply:{name:"New Supply",type:"string"},demand:{name:"Demand",type:"string"},vacancy:{name:"Vacancy",type:"string"}})})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date),t.append("mode",this.state.mode)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_demand_supply_vacancy_data",t).then((t=>{let e=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({assetMarketAnalysis:e,jsonForExcel:it(e,{index:{name:"Year/Quarter",type:"string"},stock:{name:"Stock",type:"string"},new_supply:{name:"New Supply",type:"string"},demand:{name:"Demand",type:"string"},vacancy:{name:"Vacancy",type:"string"}})})}))}}getModeData(){"yearly"==this.state.mode?this.setState({mode:"quarterly"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("mode",this.state.mode),jt.post("api/edge/office/get_demand_supply_vacancy_data",t).then((t=>{let e=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({assetMarketAnalysis:e,jsonForExcel:it(e,{index:{name:"Year/Quarter",type:"string"},stock:{name:"Stock",type:"string"},new_supply:{name:"New Supply",type:"string"},demand:{name:"Demand",type:"string"},vacancy:{name:"Vacancy",type:"string"}})})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("mode",this.state.mode),jt.post("api/edge/office/get_demand_supply_vacancy_data",t).then((t=>{let e=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({assetMarketAnalysis:e,jsonForExcel:it(e,{index:{name:"Year/Quarter",type:"string"},stock:{name:"Stock",type:"string"},new_supply:{name:"New Supply",type:"string"},demand:{name:"Demand",type:"string"},vacancy:{name:"Vacancy",type:"string"}})})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"widget widgetTable",style:{display:"hide"==this.state.assetMarketAnalysis?"none":"block"},children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Stock Demand Supply & Vacancy"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Stock Demand Supply Vacancy"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"StockDemandSupplyVacancy",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#StockDemandSupplyVacancy","StockDemandSupplyVacancy");let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Stock Demand Supply Vacancy"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:this.state.modeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openNotesModal()},children:"Notes to Chart"})]})]})}),"hide"!==this.state.assetMarketAnalysis&&Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{className:"StockDemandSupplyVacancy",responsive:!0,hover:!0,id:"StockDemandSupplyVacancy",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Quarter/Year"})}),Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("span",{children:"Stock"})}),Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("span",{children:"New Supply"})}),Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("span",{children:"Demand"})}),1===this.props.creUser&&Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("span",{children:"Vacancy"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),1===this.props.creUser&&Object(M.jsx)("th",{className:"text-end thBorderBottom",children:Object(M.jsx)("b",{children:"(%)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.assetMarketAnalysis.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:t.index}),Object(M.jsx)("td",{className:"text-end",children:t.stock}),Object(M.jsx)("td",{className:"text-end",children:t.new_supply}),Object(M.jsx)("td",{className:"text-end",children:t.demand}),1===this.props.creUser&&Object(M.jsx)("td",{className:"text-end",children:t.vacancy})]},e)))})]})}),"hide"==this.state.assetMarketAnalysis&&Object(M.jsx)("p",{className:"text-center my-3",style:{color:"#000"},children:"Table only available when Assets selected belong to same Macro-market"})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]})]}),Object(M.jsxs)(k.a,{show:this.state.isNotesmodal,onHide:this.closeNotesModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"sm",children:[Object(M.jsx)("p",{style:{padding:"10px",background:"#4c8fea",fontWeight:"600",color:"#fff",fontSize:"18px",fontFamily:"Poppins"},children:"Notes"}),Object(M.jsx)(k.a.Body,{style:{padding:"15px"},children:Object(M.jsx)("p",{className:"mt-3",style:{color:"#000",fontFamily:"Poppins"},children:"Above data is only for Grade A/A+ spaces"})})]})]})}}ja.contextType=Wt;Object(D.b)((function(t){return{filters:t.selectedFilters,creUser:t.creUser}}))(ja);var Aa=a(147);const{Column:xa,HeaderCell:ba,Cell:ma}=fe.a;class ga extends i.a.Component{constructor(){super(...arguments),this.state={filters:"",showLoader:!1,showGraph:!1,data:[],loading:!1,tableHeight:400,bodyParams:"",page:1,newsLoading:!1,hasMore:!1},this.fetchMoreData=()=>{this.setState({hasMore:!0});var t,e=this.state.page+1;this.setState({page:e}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters);var a=new FormData;a.append("filter",t),a.append("section","dashboard"),a.append("page",e),jt.post("api/edge/office/get_recent_news",a).then((t=>{var e=[...this.state.data,...t.data];this.setState({data:e,hasMore:!1})}
1))},this.handleScroll=(t,e)=>{if(console.log(t,e),this.state.data.length>0){const t=46*this.state.data.length;console.log(t);const a=Math.abs(e);console.log(a),console.log(this.state.tableHeight),t-a-this.state.tableHeight<300&&0==this.state.newsLoading&&(this.setState({newsLoading:!0}),console.log("api call"),this.loadMore())}}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.setState({});var e=new FormData;e.append("filter",t),e.append("section","dashboard"),e.append("page",1),jt.post("api/edge/office/get_recent_news",e).then((t=>{this.setState({data:t.data,newsLoading:!1},(()=>{}))}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("section","asset"),t.append("page",this.state.page),jt.post("api/edge/office/get_recent_news",t).then((t=>{this.setState({data:t.data,newsLoading:!1},(()=>{}))}))}}getComplexNames(t){return t.split(",").map((t=>Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t),children:t})))}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recent News"})}),this.state.data.length>0&&Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(Aa.a,{dataLength:this.state.data.length,next:this.fetchMoreData,hasMore:!!this.state.data.length,height:200,endMessage:Object(M.jsx)("p",{style:{textAlign:"center"},children:Object(M.jsx)("b",{children:"Yay! You have seen it all"})}),children:Object(M.jsxs)(fe.a,{striped:!0,bordered:!0,style:{width:"100%",height:"200px"},className:"newsTable",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:"News Heading"}),Object(M.jsx)("th",{children:"Segment"}),Object(M.jsx)("th",{children:"Assets in News"}),Object(M.jsx)("th",{children:"Source"}),Object(M.jsx)("th",{children:"Date"})]})}),Object(M.jsx)("tbody",{children:this.state.data.map(((t,e)=>Object(M.jsxs)("tr",{style:{height:"60px"},children:[Object(M.jsx)("td",{children:Object(M.jsx)("a",{href:t.link,target:"_blank",children:t.title})}),Object(M.jsx)("td",{children:t.segment}),Object(M.jsx)("td",{children:this.getComplexNames(t.complex_names)}),Object(M.jsx)("td",{children:t.source}),Object(M.jsx)("td",{children:R(t.timestamp).format("Do MMM YYYY")})]})))})]})})}),0==this.state.data.length&&Object(M.jsx)("h6",{className:"mt-3",children:"No Data Found"})]})})}}ga.contextType=Wt;var Oa=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ga),ua=a(324);const ya="Denotification";class fa extends i.a.Component{constructor(t){super(t),this.handleClose=()=>this.setState({show:!1}),this.handleShow=()=>this.setState({show:!0}),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:ya,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.handleClick=t=>{const e=this.chartRef.current;if(!e)return;const a=Object(ne.e)(e,t);if(a.length>0){const{datasetIndex:t,index:e}=a[0],i=this.state.chartData.labels[e];this.state.chartData.datasets[t].data[e];this.setState({barLabel:i});var s=new FormData;s.append("filter",JSON.stringify(this.props.filters)),s.append("area_type",this.state.area),s.append("which_quarter",i),jt.post("api/edge/office/get_sez_denotification_table_data",s).then((t=>{this.setState({tableData:t.data},(()=>{this.handleShow()}))}))}},this.customRenderCellElement={complex:t=>Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex}),city:t=>Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city}),link1:t=>"-"==t.link1?"-":Object(M.jsx)("a",{href:t.link1,target:"_blank",rel:"noopener noreferrer",children:"Link"}),link2:t=>"-"==t.link2?"-":Object(M.jsx)("a",{href:t.link2,target:"_blank",rel:"noopener noreferrer",children:"Link"}),building:t=>Object(M.jsx)(n.b,{to:'/office/asset/?filter={"complex":[{"id":"b-'.concat(J()(t.complex),'","value":"').concat(t.complex,'","label":"').concat(t.complex,'"}],"building":[{"id":"b-').concat(J()(t.building),'","value":"').concat(t.building,'","label":"').concat(t.building,'"}]}'),target:"_blank",rel:"noopener noreferrer",children:t.building})},this.sortTable=t=>{const e=t.target.closest("th.react-table-lite-header");if(!e)return void console.log("Header element not found");const a=e.querySelector(":scope > span:first-child"),s=null===a||void 0===a?void 0:a.textContent.trim();var i=new FormData;i.append("filter",JSON.stringify(this.props.filters)),i.append("area_type",this.state.area),i.append("which_quarter",this.state.barLabel),i.append("sortBy",s),i.append("sortOrder",this.state.sortOrder),jt.post("api/edge/office/get_sez_denotification_table_data",i).then((t=>{"asc"==this.state.sortOrder?this.setState({tableData:t.data,sortOrder:"desc"}):this.setState({tableData:t.data,sortOrder:"asc"})}))},this.chartRef=Object(s.createRef)(),this.state={sortOrder:"asc",barLabel:"",tableColumns:["date","city","complex","building","area","floor","units","link1","link2","status","remark  "],tableData:[],show:!1,area:"chargeable",areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",areaText:"Switch To Carpet Area",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHe
1ightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType,globalMode:this.props.globalMode}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t),e.append("mode",this.state.mode);const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return"undefined"!=typeof a.state.xAxis&&/\s/.test(a.state.xAxis)&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):"undefined"!=typeof a.state.xAxis&&a.state.xAxis.length>0&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (sqft)"},position:"left"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_sez_denotification_data",e).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x});const e={labels:t.data.x,datasets:[{type:"bar",label:t.data.legend,data:t.data.y,backgroundColor:t.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(t.data.y)?a.setState({noGraph:!1}):a.setState({noGraph:!0});const i=tt(t);a.setState({chartOtions:s,chartData:e,exceldata:i})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters){this.setState({filters:JSON.stringify(this.props.filters),showLoader:!0,showGraph:!1});const e=this,a={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return"undefined"!=typeof e.state.xAxis&&/\s/.test(e.state.xAxis)&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a].split(" "):"undefined"!=typeof e.state.xAxis&&e.state.xAxis.length>0&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (sqft)"},position:"left"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("mode",this.state.mode),t.append("area_type",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),jt.post("api/edge/office/get_sez_denotification_data",t).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:t.data.x,datasets:[{type:"bar",label:t.data.legend,data:t.data.y,backgroundColor:t.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(t.data.y)?e.setState({noGraph:!1}):e.setState({noGraph:!0});const i=tt(t);e.setState({chartOtions:a,chartData:s,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:ya,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("denotification");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("denotification.pdf")}))}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:ya,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis&&/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis&&t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (sqft)"},position:"left"}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),a.append("area_type",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_sez_denotification_data",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{type:"bar",label:a.data.legend,data:a.data.y,backgroundColor:a.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.y)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis&&/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis&&t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (sqft)"},position:"left"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),a.append("area_type",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_sez_denotification_data",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{type:"bar",label:a.data.legend,data:a.data.y,backgroundColor:a.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.y)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}getAreaWiseData(){"carpet"==this.state.area?this.setState({area:"chargeable"},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis&&/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis&&t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (sqft)"},position:"left"}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),a.append("area_type",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_sez_denotification_data",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{type:"bar",label:a.data.legend,data:a.data.y,backgroundColor:a.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.y)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})):"chargeable"==this.state.area&&this.setState({area:"carpet"},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis&&/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis&&t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (sqft)"},position:"left"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),a.append("area_type",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_sez_denotification_data",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{type:"bar",label:a.data.legend,data:a.data.y,backgroundColor:a.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.y)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})),"Switch To Chargeable Area"==this.state.areaText?this.setState({areaText:"Switch To Carpet Area"}):"Switch To Carpet Area"==this.state.areaText&&this.setState({areaText:"Switch To Chargeable Area"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"denotification",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Denotification"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Denotification"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Denotification"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:ya,mode:this.state.mode,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Denotification"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"Denotification",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:ya,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getAreaWiseData()},children:this.state.areaText})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData,onClick:this.handleClick,ref:this.chartRef})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.show,onHide:this.handleClose,className:"denotifyModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Table"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(ua.a,{data:this.state.tableData,headers:this.state.tableColumns,customRenderCell:this.customRenderCellElement,sortBy:["date","city","complex","building","area","floor","units","status"],sortable:!0,onSort:t=>this.sortTable(t),customHeaders:{link1:"Circular link 1",link2:"Circular link 2",remark:"Commments"}})})]})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:fa,filters:this.state.filters,chartHe
1ightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}fa.contextType=Wt;var wa=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(fa);class Na extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"p-0 dashboard spacingClassForDashboard",id:"dash",children:[Object(M.jsxs)("div",{className:"row m-0",children:[Object(M.jsxs)("div",{className:"col-lg-9 p-0",children:[Object(M.jsxs)("div",{className:"newDashboard dashboardWidgetRow",children:[Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(Kt,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)($t,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(ca,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(ee,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(ra,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(se,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(le,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(ce,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ge,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ye,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Se,{})}),Object(M.jsx)(Me,{})]}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)(Be,{}),Object(M.jsx)(Ee,{})]}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Ge,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(He,{})})]}),Object(M.jsx)("div",{className:"row mt-4",children:Object(M.jsx)(Ke,{})}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ta,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(wa,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(pa,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(Oa,{})})]})]}),Object(M.jsxs)("div",{className:"col-lg-3 rightSideBar",children:[Object(M.jsx)(sa,{}),Object(M.jsx)(la,{})]})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12"})})]})}}var Sa=Na;Zt()(["/edge/images/updated_logos/passingrent.svg"]);class Da extends i.a.Component{constructor(){super(...arguments),this.state={currentPassingRent:0,filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_current_passing_rent",Z(t)).then((t=>{this.setState({currentPassingRent:t.data.current_passing_rent})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_current_passing_rent",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({currentPassingRent:t.data.current_passing_rent})})))}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:["\u20b9",this.state.currentPassingRent," ",Object(M.jsx)("span",{className:"smallText",children:" sqft/month"})]}),Object(M.jsx)("p",{children:"Current Passing Rent"})]})]})}}Da.contextType=Wt;var Ma=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Da);const Ca="Office Demand";class Fa extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Ca,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isLoad:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",barThicknesS:10,bodyParams:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:"",tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],downloadExcel:!1,xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"},this.chartWrapperRef=i.a.createRef()}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType,globalMode:this.props.globalMode}),t="{}"==JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,this.state.filters=JSON.stringify(t),this.setState({}),"undefined"!=typeof this.props.bodyParams&&""!=this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",JSON.stringify(t));const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_office_demand_new_renewal_chart_by_cities",e).then((t=>{t.data.datasets.length&&t.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),"undefined"!=typeof t.data.datasets&&null!=t.data.datasets||a.setState({noGraph:!0}),"undefined"!==typeof t.data.datasets&&null!==t.data.datasets&&t.data.datasets.forEach((t=>{t.borderRadius=10})),this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.labels});const e={labels:t.data.labels,datasets:t.data.datasets};let i=[];if(t.data.datasets.length)for(let a=0;a<t.data.datasets.length;a++){var l=[];for(let e=0;e<t.data.datasets[a].data.length;e++)l[t.data.labels[e]]=Number(t.data.datasets[a].data[e]);i.push(Object(h.a)({City:t.data.datasets[a].label},l))}a.setState({chartOtions:s,chartData:e,isLoad:!0,exceldata:i},(()=>{}))}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this;let s={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var e=new FormData;e.append("filter",JSON.stringify(this.props.filters)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date),e.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),jt.post("api/edge/office/get_office_demand_new_renewal_chart_by_cities",e).then((t=>
1{t.data.datasets.length&&t.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.labels}),"undefined"!=typeof t.data.datasets&&null!=t.data.datasets||a.setState({noGraph:!0}),"undefined"!==typeof t.data.datasets&&null!==t.data.datasets&&t.data.datasets.forEach((t=>{t.borderRadius=10})),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const e={labels:t.data.labels,datasets:t.data.datasets};let i=[];if(t.data.datasets.length)for(let a=0;a<t.data.datasets.length;a++){var l=[];for(let e=0;e<t.data.datasets[a].data.length;e++)l[t.data.labels[e]]=Number(t.data.datasets[a].data[e]);i.push(Object(h.a)({City:t.data.datasets[a].label},l))}a.setState({chartOtions:s,chartData:e,isLoad:!0,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:Ca,mode:this.state.mode,filters:this.state.filters});const t=this.chartWrapperRef.current?this.chartWrapperRef.current.querySelector("canvas"):null;t?Ut()(t,{scale:10}).then((t=>{const e=document.createElement("canvas");e.width=t.height,e.height=t.width;const a=e.getContext("2d");a.translate(e.width/2,e.height/2),a.rotate(Math.PI/2),a.drawImage(t,-t.width/2,-t.height/2);const s=e.toDataURL("image/png"),i=new V.default({orientation:"portrait",unit:"mm",format:"a4"}),l=i.internal.pageSize.getWidth(),o=i.internal.pageSize.getHeight(),c=e.width,n=e.height,r=t=>.264583*t,d=r(c),h=r(n)*(l/d),p=o,j=Math.ceil(h/p),A=new Image;A.src=s,A.onload=()=>{for(let t=0;t<j;t++){const e=-t*p;t>0&&i.addPage(),i.addImage(A,"PNG",0,e,l,h,void 0,"FAST")}i.save("OfficeDemandSupply.pdf")};let x=new FormData;x.append("path",window.location.pathname),x.append("action","pdf_download"),x.append("count",1),x.append("hash",window.location.search.split("?").pop()),x.append("screen_sub_type","Office Demand chart"),jt.post("api/user-activity/log-activity",x).then((t=>{console.log(t)}))})):console.warn("OfficeDemandSupplyChart: chart canvas not found yet, skipping PDF download.")}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Ca,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_demand_new_renewal_chart_by_cities",a).then((a=>{a.data.datasets.length&&a.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),"undefined"!=typeof a.data.datasets&&null!=a.data.datasets||t.setState({noGraph:!0}),"undefined"!==typeof a.data.datasets&&null!==a.data.datasets&&a.data.datasets.forEac
1h((t=>{t.borderRadius=10})),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10}),this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.labels});const s={labels:a.data.labels,datasets:a.data.datasets};let i=[];if(a.data.datasets.length)for(let t=0;t<a.data.datasets.length;t++){var l=[];for(let e=0;e<a.data.datasets[t].data.length;e++)l[a.data.labels[e]]=Number(a.data.datasets[t].data[e]);i.push(Object(h.a)({City:a.data.datasets[t].label},l))}t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_demand_new_renewal_chart_by_cities",a).then((a=>{a.data.datasets.length&&a.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),"undefined"!=typeof a.data.datasets&&null!=a.data.datasets||t.setState({noGraph:!0}),"undefined"!==typeof a.data.datasets&&null!==a.data.datasets&&a.data.datasets.forEach((t=>{t.borderRadius=10})),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10}),this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.labels});const s={labels:a.data.labels,datasets:a.data.datasets};let i=[];if(a.data.datasets.length)for(let t=0;t<a.data.datasets.length;t++){var l=[];l.City=a.data.datasets[t].label;for(let e=0;e<a.data.datasets[t].data.length;e++){l[String(a.data.labels[e])+" "]=Number(a.data.datasets[t].data[e])}i.push(Object(h.a)({},l))}t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph widgetGraphWithScroll",id:"divToPrint",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Office Demand "}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Office Demand"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:"Download as PDF"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Ca,mode:this.state.mode,filters:this.state.filters})},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"Of\ufb01ceDemandNewRenewal",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Ca,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 overflowxclass",ref:this.chartWrapperRef,children:Object(M.jsx)("div",{className:"innerWidthHeighDiv",style:{width:"100vw",height:"300px"},children:this.state.isLoad&&Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Fa,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Fa.contextType=Wt;var Ba=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Fa);const va="New Completions";class Ta extends i.a.Component{constructor(t){super(t),this.state={areaType:"",newCompletions:[],filters:"",showLoader:!1,showGraph:!1,jsonForExcel:[]}}componentDidMount(){var t;this.setState({areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_new_completions",Z(t)).then((t=>{if(this.setState({showLoader:!1,showGraph:!0}),void 0!=t.data&&t.data.length>0){let e=t.data;this.setState({newCompletions:t.data,jsonForExcel:it(e,{complex:{name:"Asset",type:"string"},building_chargeable_area:{name:"Area",type:"string"},micromarket:{name:"Micro-Market",type:"string"}})})}}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_new_completions",t).then((t=>{if(this.setState({showLoader:!1,showGraph:!0}),void 0!=t.data&&t.data.length>0){let e=t.data;this.setState({newCompletions:t.data,jsonForExcel:it(e,{complex:{name:"Asset",type:"string"},building_chargeable_area:{name:"Area",type:"string"},micromarket:{name:"Micro-Market",type:"string"}})})}}))}}sortData(t){if(console.log(this.state.newCompletions),"complex"==t){const t=[...this.state.newCompletions].sort(((t,e)=>t.complex<e.complex?-1:t.complex>e.complex?1:0));this.setState({newCompletions:t})}else if("area"==t){const t=[...this.state.newCompletions].sort(((t,e)=>t.building_chargeable_area<e.building_chargeable_area?-1:t.building_chargeable_area>e.building_chargeable_area?1:0));this.setState({newCompletions:t})}else if("micro"==t){const t=[...this.state.newCompletions].sort(((t,e)=>t.micromarket<e.micromarket?-1:t.micromarket>e.micromarket?1:0));this.setState({newCompletions:t})}}render(){return Object(M.jsxs)("div",{class:"widget widgetRightSideBar text-start mb-4 newCompletionHeight",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"New Completions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:va,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","New Completions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"NewCompletion",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:va,filters:this.state.filters}),q("#newCompletion","NewCompletion");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","New Completions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{class:"col-lg-12 mt-4 colorBlack tableCompletion newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"newCompletion",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsxs)("th",{children:[Object(M.jsx)("span",{children:"Asset"})," "]}),Object(M.jsxs)("th",{className:"text-end",children:[Object(M.jsx)("span",{children:"Area"})," "]}),Object(M.jsxs)("th",{children:[Object(M.jsx)("span",{children:"Micro-Market"})," "]})]})}),Object(M.jsx)("tbody",{children:void 0!=this.state.newCompletions&&this.state.newCompletions.length>0&&this.state.newCompletions.map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.building_chargeable_area}),Object(M.jsx)("td",{children:t.micromarket})]},e)))})]})})]})]})}}Ta.contextType=Wt;var Ia=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Ta);const _a="Office Stock";class Ea extends i.a.Component{constructor(t){super(t),this.state={areaType:"",officeStock:[],filters:"",showLoader:!1,showGraph:!1,jsonForExcel:[]}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_office_stock",Z(t)).then((t=>{let e=[];for(const[s,i]of Object.entries(t.data))e.push(i);let a=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({officeStock:a,jsonForExcel:it(e,{building_grade:{name:"Grade",type:"string"},no_of_buildings:{name:"Building",type:"int"},area:{name:"Area (msf)",type:"int"},passing_rent:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},market_rent:{name:"Rent (\u20b9/sqft/month)",type:"int"}})})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_office_stock",t).then((t=>{let e=[];for(const[s,i]of Object.entries(t.data))e.push(i);let a=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({officeStock:a,jsonForExcel:it(e,{building_grade:{name:"Grade",type:"string"},no_of_buildings:{name:"Building",type:"int"},area:{name:"Area (msf)",type:"int"},passing_rent:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},market_rent:{name:"Rent (\u20b9/sqft/month)",type:"int"}})})}))}}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",style:{height:"auto!important"},children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Office Stock"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:_a,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Office Stock"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"OfficeStock",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:_a,filters:this.state.filters}),q("#officeStock","OfficeStock");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Office Stock"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"officeStock",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Grade"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Building"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Passing Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Starting Rent (Market Rent)"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})})]})]}),Object(M.jsx)("tbody",{children:void 0!=this.state.officeStock&&Object.keys(this.state.officeStock).length>0&&Object.keys(this.state.officeStock).map((function(t,e){return Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:void 0!==this.state.officeStock[t].building_grade?Object(M.jsx)(n.b,{target:"_blank",to:H("building_grade",this.state.officeStock[t].building_grade),children:this.state.officeStock[t].building_grade}):this.state.officeStock[t].building_grade}),Object(M.jsx)("td",{className:"text-end",children:this.state.officeStock[t].no_of_buildings}),Object(M.jsx)("td",{className:"text-end",children:this.state.officeStock[t].area}),Object(M.jsx)("td",{className:"text-end",children:this.state.officeStock[t].passing_rent}),Object(M.jsx)("td",{className:"text-end",children:this.state.officeStock[t].market_rent})]},"officeStock"+e)}),this)})]})})]})]})}}Ea.contextType=Wt;var Ua=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Ea);const Ra="Grade-wise Office Absorption Trend";class Ya extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode;this.props.globalMode&&this.props.globalMode!==this.state.globalMode&&(e=this.props.globalMode);let a,s={filter:t,area_type:this.props.areaType||"",mode:e};"undefined"!==typeof this.props.bodyParams?(a=this.props.bodyParams,a.forEach(((t,e)=>{s[e]=t}))):(a=new FormData,a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),a.append("mode",e),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date),s.start_date=this.state.start_date,s.end_date=this.state.end_date,s.which_date=this.state.which_date));const i=JSON.stringify(s);this.lastFetchedPayload!==i&&(this.lastFetchedPayload=i,this.setState({showLoader:!0,showGraph:!1,isLoad:!1,globalMode:this.props.globalMode,mode:e,bodyParams:a}),jt.post("api/edge/office/get_gradewise_office_absorption",a).then((t=>{let e=st(this.state.start_date,this.state.end_date)?5:10,a={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.data,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:e,borderRadius:10},{label:t.data.legend.y2,data:t.data.datapoints.y2.data,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:e,borderRadius:10},{label:t.data.legend.y3,data:t.data.datapoints.y3.data,backgroundColor:t.data.bgcolor.y3,borderWidth:0,barThickness:e,borderRadius:10},{label:t.data.legend.y4,data:t.data.datapoints.y4.data,backgroundColor:t.data.bgcolor.y4,borderWidth:0,barThickness:e,borderRadius:10}]},s=!0;($(t.data.datapoints.y1.data)||$(t.data.datapoints.y2.data)||$(t.data.datapoints.y3.data)||$(t.data.datapoints.y4.data))&&(s=!1);const i=t.data.datapoints,l=t.data.x.map(((t,e)=>{const a={Quarter:t};for(const s in i)a[i[s].name]=Number(i[s].data[e]);return a})),o=this.generateChartOptions(t.data.x);this.setState({showLoader:!1,showGraph:!0,noGraph:s,xAxis:t.data.x,barThicknesS:e,chartData:a,chartOtions:o,exceldata:l,absorptionKey:Math.random(),isLoad:!0}),this.closeModal()})))},this.generateChartOptions=t=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:(e,a)=>/\s/.test(t)&&"undefined"!==typeof t[a]?t[a].split(" "):t.length>0&&"undefined"!==typeof t[a]?t[a]:"",autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:t=>{if("undefined"!==typeof t.tooltip.dataPoints){let e="colorGreen",a=j.d,s=t.tooltip.dataPoints[0].dataIndex,i=0===s?0:s-1,l=parseFloat(t.tooltip.dataPoints[0].dataset.data[s]),o=parseFloat(t.tooltip.dataPoints[0].dataset.data[i]);l<o&&(e="colorRed",a=j.c);let c=parseFloat(100*(l-o)/o).toFixed(2)+"%";"Infinity%"!==c&&"NaN%"!==c||(c=""),this.setState({tooltipClassname:e,tooltipArrow:a,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:c})}}}}}),this.downloadPdf=()=>{Ct(gt,{chartName:Ra,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("gradewiseOfficeAbsorptionTrend");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("GradewiseOfficeAbsorptionTrend.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Grade-wise Office Absorption Trend"),jt.post("api/user-activity/log-activity",o).then((t=>{}))}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Ra,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="quarterly"===this.state.mode||"quarter"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Ra,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),this.setState({mode:t})},this.state={globalMode:"",absorptionKey:1,mode:"quarterly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,isLoad:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",barThicknesS:10,bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,exceldata:[],chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"gradewiseOfficeAbsorptionTrend",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Grade-wise Office Absorption Trend"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Data"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Grade-wise Office Absorption Trend"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:this.downloadPdf,children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Ra,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Grade-wise Office Absorption Trend"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"GradewiseOfficeAbsorptionTrend",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Ra,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:"Switch to ".concat("quarterly"===this.state.mode||"quarter"===this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:this.state.isLoad&&Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData},this.state.absorptionKey)})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Ya,filters:this.context.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Ya.contextType=Wt;var Qa=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Ya);class ka extends i.a.Component{constructor(t){super(t),this.state={SummaryTable:{},filters:"",areaType:""}}componentDidMount(){var t;this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_region_summary",Z(t)).then((t=>{this.setState({SummaryTable:t.data})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_region_summary",t).then((t=>{this.setState({SummaryTable:t.data})}))}}render(){return Object(M.jsx)("div",{class:"widget widgetRightSideBar widgetGreen text-start mb-4",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Summary"})}),Object(M.jsx)("div",{class:"col-lg-3 text-end"}
1),Object(M.jsx)("div",{class:"col-lg-12 mt-4 colorBlack tableCompletion",children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Assets"}),Object(M.jsx)("td",{children:this.state.SummaryTable.total_asset})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Active Leases"}),Object(M.jsx)("td",{children:this.state.SummaryTable.total_active_lease})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Inctive Leases"}),Object(M.jsx)("td",{children:this.state.SummaryTable.total_inactive_lease})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Sales Transaction"}),Object(M.jsx)("td",{children:this.state.SummaryTable.total_sales})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Occupancy"}),Object(M.jsx)("td",{children:this.state.SummaryTable.avg_occupancy_percent})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Wt. Avg Current Rent"}),Object(M.jsx)("td",{children:this.state.SummaryTable.average_passing_rent})]})]})})})]})})}}ka.contextType=Wt;var Pa=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(ka);const Ga="Projects";class La extends i.a.Component{constructor(t){super(t),this.state={areaType:"",regionProjects:[],filters:"",jsonForExcel:[]}}componentDidMount(){var t;this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_projects",Z(t)).then((t=>{let e=t.data.splice(0,5);this.setState({regionProjects:e,jsonForExcel:it(e,{asset:{name:"Building",type:"string"},area:{name:"Area (msf)",type:"int"},completion_date:{name:"Completion",type:"string"},current_rent:{name:"Current Rent",type:"int"},occupancy:{name:"Occupancy (%)",type:"int"}})})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_projects",t).then((t=>{let e=t.data.splice(0,5);this.setState({regionProjects:e,jsonForExcel:it(e,{asset:{name:"Building",type:"string"},area:{name:"Area (msf)",type:"int"},completion_date:{name:"Completion",type:"string"},current_rent:{name:"Current Rent",type:"int"},occupancy:{name:"Occupancy (%)",type:"int"}})})}))}}sortData(t){if("building"==t){const t=[...this.state.regionProjects].sort(((t,e)=>t.asset<e.asset?-1:t.asset>e.asset?1:0));this.setState({regionProjects:t})}else if("area"==t){const t=[...this.state.regionProjects].sort(((t,e)=>t.area<e.area?-1:t.area>e.area?1:0));this.setState({regionProjects:t})}else if("current_rent"==t){const t=[...this.state.regionProjects].sort(((t,e)=>t.current_rent<e.current_rent?-1:t.current_rent>e.current_rent?1:0));this.setState({regionProjects:t})}else if("occupancy"==t){const t=[...this.state.regionProjects].sort(((t,e)=>t.occupancy<e.occupancy?-1:t.occupancy>e.occupancy?1:0));this.setState({regionProjects:t})}}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Projects"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Ga,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Projects"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"Projects",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Ga,filters:this.state.filters}),q("#projects","Projects");let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Projects"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"projects",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Building"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area"})}),Object(M.jsxs)("th",{children:[Object(M.jsx)("span",{children:"Completion Date"})," "]}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Current Rent"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupancy"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})})]})]}),Object(M.jsx)("tbody",{children:void 0!=typeof this.state.regionProjects&&this.state.regionProjects.length>0&&this.state.regionProjects.map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:t.asset}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{children:t.completion_date}),Object(M.jsx)("td",{className:"text-end",children:t.current_rent}),Object(M.jsx)("td",{className:"text-end",children:t.occupancy})]},e)))})]})})]})})}}La.contextType=Wt;var Va=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(La);const za="Future Supply (msf)- Cumulative";class Ja extends i.a.Component{constructor(t){super(t),this.state={areaType:"",futureSupply:[],filters:"",jsonForExcel:[],isNotesmodal:!1},this.openNotesModal=()=>{this.setState({isNotesmodal:!0})},this.closeNotesModal=()=>this.setState({isNotesmodal:!1})}componentDidMount(){var t;this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_future_supply",Z(t)).then((t=>{if(void 0!=t.data&&t.data.length>0){let e=t.data.splice(0,8);this.setState({futureSupply:e,jsonForExcel:it(e,{building_grade:{name:"Grade",type:"string"},supply_in_next_3_months:{name:"3 Months",type:"int"},supply_in_next_6_months:{name:"6 Months",type:"int"},supply_in_next_9_months:{name:"9 Months",type:"int"},supply_in_next_12_months:{name:"12 Months",type:"int"},supply_in_next_24_months:{name:"24 Months",type:"int"},supply_in_next_36_months:{name:"36 Months",type:"int"},supply_in_next_120_months:{name:"10 Years",type:"int"}})})}}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_future_supply",t).then((t=>{if(void 0!=t.data&&t.data.length>0){let e=t.data.splice(0,8);this.setState({futureSupply:e,jsonForExcel:it(e,{building_grade:{name:"Grade",type:"string"},supply_in_next_3_months:{name:"3 Months",type:"int"},supply_in_next_6_months:{name:"6 Months",type:"int"},supply_in_next_9_months:{name:"9 Months",type:"int"},supply_in_next_12_months:{name:"12 Months",type:"int"},supply_in_next_24_months:{name:"24 Months",type:"int"},supply_in_next_36_months:{name:"36 Months",type:"int"},supply_in_next_120_months:{name:"10 Years",type:"int"}})})}}))}}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Future Supply (msf)- Cumulative"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:za,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Future Supply (msf)- Cumulative"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"FutureSupply",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:za,filters:this.state.filters}),q("#futureSupply","FutureSupply");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Future Supply (msf)- Cumulative"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openNotesModal()},children:"Notes to Chart"})]})]})}),Object(M.jsxs)("div",{className:"col-lg-12 mt-2 newFixedTable",children:[Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"futureSupply",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Grade"}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"3 Months"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"6 Months"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"9 Months"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"12 Months"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"24 Months"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"36 Months"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"10 Years"})})]})}),Object(M.jsx)("tbody",{children:this.state.futureSupply.map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:t.building_grade}),Object(M.jsx)("td",{className:"text-end",children:t.supply_in_next_3_months}),Object(M.jsx)("td",{className:"text-end",children:t.supply_in_next_6_months}),Object(M.jsx)("td",{className:"text-end",children:t.supply_in_next_9_months}),Object(M.jsx)("td",{className:"text-end",children:t.supply_in_next_12_months}),Object(M.jsx)("td",{className:"text-end",children:t.supply_in_next_24_months}),Object(M.jsx)("td",{className:"text-end",children:t.supply_in_next_36_months}),Object(M.jsx)("td",{className:"text-end",children:t.supply_in_next_120_months})]},e)))})]}),Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsxs)(k.a,{show:this.state.isNotesmodal,onHide:this.closeNotesModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"sm",children:[Object(M.jsx)("p",{style:{padding:"10px",background:"#4c8fea",fontWeight:"600",color:"#fff",fontSize:"18px",fontFamily:"Poppins"},children:"Notes"}),Object(M.jsx)(k.a.Body,{style:{padding:"15px"},children:Object(M.jsx)("p",{className:"mt-3",style:{color:"#000"},children:"Includes planned & proposed development also."})})]})})]})]})})}}Ja.contextType=Wt;var Wa=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Ja);const Ha="Upcoming Project Completions";class Za extends i.a.Component{constructor(t){super(t),this.state={areaType:"",UpcomingProjectCompletionsRegion:[],filters:"",jsonForExcel:[]}}componentDidMount(){var t;this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_upcoming_project_completions",Z(t)).then((t=>{let e=t.data.splice(0,8);this.setState({UpcomingProjectCompletionsRegion:e,jsonForExcel:it(e,{complex:{name:"Asset",type:"string"},area:{name:"Leaseable Area",type:"int"},completion_date:{name:"Completion Date",type:"string"},micromarket:{name:"Micro-Market",type:"string"},config:{name:"Config",type:"string"}})})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_upcoming_project_completions",t).then((t=>{let e=t.data.splice(0,8);this.setState({UpcomingProjectCompletionsRegion:e,jsonForExcel:it(e,{complex:{name:"Asset",type:"string"},area:{name:"Leaseable Area",type:"int"},completion_date:{name:"Completion Date",type:"string"},micromarket:{name:"Micro-Market",type:"string"},config:{name:"Config",type:"string"}})})}))}}render(){return Object(M.jsx)("div",{className:"widget widgetTable tableBlue",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start widgetTableHeader",children:Object(M.jsx)("p",{children:"Upcoming Project Completions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Ha,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Upcoming Project Completions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"UpcomingProjectsCompletion",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Ha,filters:this.state.filters}),q("#upcomingProjects","UpcomingProjectsCompletion");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Upcoming Project Completions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"upcomingProjects",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Asset"}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leaseable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Completion Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Config"})})]})}),Object(M.jsx)("tbody",{children:this.state.UpcomingProjectCompletionsRegion.map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.completion_date}),Object(M.jsx)("td",{title:t.micromarket,children:Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",t.micromarket),children:t.micromarket})}),Object(M.jsx)("td",{children:t.config})]},e)))})]})})]})})}}Za.contextType=Wt;var Xa=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Za);const Ka="Year-Wise Analysis";class qa extends i.a.Component{constructor(t){super(t),this.state={YearWiseAnalysis:[],filters:"",areaType:""}}componentDidMount(){var t;this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_yearwise_analysis",Z(t)).then((t=>{let e=[];for(const[s,i]of Object.entries(t.data))e.push(i);let a=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({YearWiseAnalysis:a,jsonForExcel:it(e,{year:{name:"Year",type:"int"},total_stock:{name:"Year-end Stock (msf)",type:"int"},gross_leasing:{name:"Gross Leasing (msf)",type:"int"},avg_lease_rentals:{name:"Avg Starting Rent (Market Rent) (\u20b9/sqft/month)",type:"int"},new_supply_added:{name:"New Supply (msf)",type:"int"},new_supply_leasing:{name:"Leasing in New Supply (msf)",type:"int"},avg_lease_rentals_new_supply:{name:"Avg. Lease Rental in New Supply (\u20b9/sqft/month)",type:"int"},top_complexes:{name:"Top New Assets",type:"string"},top_tenants:{name:"Top Occupiers",type:"string"}})})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_yearwise_analysis",t).then((t=>{let e=[];for(const[s,i]of Object.entries(t.data))e.push(i);let a=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({YearWiseAnalysis:a,jsonForExcel:it(e,{year:{name:"Year",type:"int"},total_stock:{name:"Year-end Stock (msf)",type:"int"},gross_leasing:{name:"Gross Leasing (msf)",type:"int"},avg_lease_rentals:{name:"Avg Starting Rent (Market Rent) (\u20b9/sqft/month)",type:"int"},new_supply_added:{name:"New Supply (msf)",type:"int"},new_supply_leasing:{name:"Leasing in New Supply (msf)",type:"int"},avg_lease_rentals_new_supply:{name:"Avg. Lease Rental in New Supply (\u20b9/sqft/month)",type:"int"},top_complexes:{name:"Top New Assets",type:"string"},top_tenants:{name:"Top Occupiers",type:"string"}})})}))}}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Year-Wise Analysis"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Ka,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Year-Wise Analysis"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"Year-Wise Analysis",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Ka,filters:this.state.filters}),q("#yearAnalysis","YearWiseAnalysis");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Year-Wise Analysis"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"yearAnalysis",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Year"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Year-end Stock"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Gross Leasing"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Avg. Starting Rent (Market Rent)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"New Supply"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leasing in New Supply"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Avg. Lease Rental in New Supply"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Top New Assets"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Top Occupiers"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:Object.keys(this.state.YearWiseAnalysis).map((function(t,e){return Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:this.state.YearWiseAnalysis[t].year}),Object(M.jsx)("td",{className:"text-end",children:this.state.YearWiseAnalysis[t].total_stock}),Object(M.jsx)("td",{className:"text-end",children:this.state.YearWiseAnalysis[t].gross_leasing}),Object(M.jsx)("td",{className:"text-end",children:this.state.YearWiseAnalysis[t].avg_lease_rentals}),Object(M.jsx)("td",{className:"text-end",children:this.state.YearWiseAnalysis[t].new_supply_added}),Object(M.jsx)("td",{className:"text-end",children:this.state.YearWiseAnalysis[t].new_supply_leasing}),Object(M.jsx)("td",{className:"text-end",children:this.state.YearWiseAnalysis[t].avg_lease_rentals_new_supply}),Object(M.jsx)("td",{children:this.state.YearWiseAnalysis[t].top_complexes.split(",").map((function(e,a){return Object(M.jsxs)(n.b,{target:"_blank",to:H("complex",e),children:[e," ",this.state.YearWiseAnalysis[t].top_complexes.split(",").length-1!=a?",":""]})}),this)}),Object(M.jsx)("td",{children:this.state.YearWiseAnalysis[t].top_tenants.split(",").map((function(e,a){return Object(M.jsxs)(n.b,{target:"_blank",to:H("tenant",e),children:[e," ",this.state.YearWiseAnalysis[t].top_tenants.split(",").length-1!=a?",":""]})}),this)})]},"YearWiseAnalysis"+e)}),this)})]})})]})})}}qa.contextType=Wt;var $a=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(qa);const ts="Top 10 Projects - By Leasable Area";class es extends i.a.Component{constructor(t){super(t),this.state={areaType:"",topTenProjects:[],filters:"",jsonForExcel:[]},this.fetchTopTenProjects=(t,e)=>{var a=new FormData;a.append("filter",t),a.append("area_type",e),jt.post("api/edge/office/get_top_ten_projects",a).then((t=>{if(void 0!=t.data&&t.data.length>0){let e=t.data.splice(0,10);this.setState({topTenProjects:e,jsonForExcel:it(e,{complex:{name:"Name",type:"string"},developer:{name:"Developer",type:"string"},total_leasable_area:{name:"Leasable Area (msf)",type:"int"},occupied_area:{name:"Occupied Area (msf)",type:"int"},occupancy_percent:{name:"Occupancy",type:"int"},efficiency:{name:"Efficiency",type:"int"},micromarket:{name:"Micro-market",type:"string"},wt_avg_rentals:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},wt_avg_lease_term:{name:"Lease Term",type:"int"},wt_avg_lock_in_period:{name:"Lock-in Period",type:"int"},wt_avg_security_deposit:{name:"Wt. Avg. Security Deposit",type:"int"},anchor_tenants:{name:"Anchor Occupiers",type:"string"}
1,wt_avg_rentals_from_anchor_tenants:{name:"Anchor Rent",type:"int"}})})}}))}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({areaType:this.props.areaType,filters:t}),this.fetchTopTenProjects(t,this.props.areaType)}componentDidUpdate(){const t=JSON.stringify(this.props.filters);t===this.state.filters&&this.state.areaType==this.props.areaType||(this.setState({filters:t,areaType:this.props.areaType}),this.fetchTopTenProjects(t,this.props.areaType))}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Projects - By Leasable Area"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:ts,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top 10 Projects - By Leasable Area"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopProjects",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:ts,filters:this.state.filters}),q("#topProjects","TopProjects");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top 10 Projects - By Leasable Area"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topProjects",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Name"}),Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leasable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Occupied Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Occupancy"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Efficiency (Office)"})}),Object(M.jsx)("th",{children:"Micromarket"}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Passing Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Lease Term"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Lock-in Period"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Wt. Avg. Security Deposit"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Anchor Occupiers"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Anchor Rent"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(months)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(months)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(months)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.topTenProjects.map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{title:t.developer,children:Object(M.jsx)(n.b,{target:"_blank",to:H("developer",t.developer),children:t.developer})}),Object(M.jsx)("td",{className:"text-end",children:t.total_leasable_area}),Object(M.jsx)("td",{className:"text-end",children:t.occupied_area}),Object(M.jsx)("td",{className:"text-end",children:t.occupancy_percent}
1),Object(M.jsx)("td",{className:"text-end",children:t.efficiency}),Object(M.jsx)("td",{children:t.micromarket}),Object(M.jsx)("td",{className:"text-end",children:t.wt_avg_rentals}),Object(M.jsx)("td",{className:"text-end",children:t.wt_avg_lease_term}),Object(M.jsx)("td",{className:"text-end",children:t.wt_avg_lock_in_period}),Object(M.jsx)("td",{className:"text-end",children:t.wt_avg_security_deposit}),Object(M.jsx)("td",{children:t.anchor_tenants.split(",").map((function(e,a){return Object(M.jsxs)(n.b,{target:"_blank",to:H("tenant",e),children:[e," ",t.anchor_tenants.split(",").length-1!=a?",":""]})}),this)}),Object(M.jsx)("td",{className:"text-end",children:t.wt_avg_rentals_from_anchor_tenants})]},e)))})]})})]})})}}es.contextType=Wt;var as=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(es);const ss="Major Recent Lease Transactions";class is extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.state={areaType:"",majorRecentLeaseTransactions:[],filters:"",isOpenErrorDisplayModal:!1,jsonForExcel:[]},this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload!==a){this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType});var s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_major_recent_lease_transactions",s).then((t=>{let e=t.data.slice(0,5);this.setState({majorRecentLeaseTransactions:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})}))}},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Lease Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:ss,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Lease Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"MajorRecentLeaseTransactions",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:ss,filters:this.state.filters}),q("#majorRecentLeaseTransactions","MajorRecentLeaseTransactions");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Lease Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"majorRecentLeaseTransactions",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Chargeable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Rent"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:this.state.majorRecentLeaseTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.rent}
1),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city})})]},e)))})]})})]}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}is.contextType=Wt;var ls=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(is);const os="Top Office Occupiers - By Area Leased";class cs extends i.a.Component{constructor(){super(...arguments),this.apiTimeout=null,this.lastFetchedPayload=null,this.state={topOfficeTenants:[],jsonForExcel:[]},this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e=JSON.stringify({filter:t,area_type:this.props.areaType||""});if(this.lastFetchedPayload!==e){this.lastFetchedPayload=e;var a=new FormData;a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_top_office_tenants",a).then((t=>{let e=t.data.slice(0,5);this.setState({topOfficeTenants:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},current_rent:{name:"Current Rent (\u20b9/sqft/month)",type:"int"},area_leased:{name:"Area Leased (msf)",type:"int"},last_2yr_rent:{name:"Last 2 Yrs. Rent",type:"int"},wale:{name:"WALE",type:"int"}})})}))}}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Office Occupiers - By Area Leased"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:os,filters:JSON.stringify(this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Office Occupiers - By Area Leased"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopOfficeTenants",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:os,filters:JSON.stringify(this.props.filters)}),q("#topOfficeTenants","TopOfficeTenants");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Office Occupiers - By Area Leased"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topOfficeTenants",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Current Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area Leased"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Last 2 Yrs. Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(months)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.topOfficeTenants.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("brands_parent",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{className:"text-end",children:t.current_rent}
1),Object(M.jsx)("td",{className:"text-end",children:t.area_leased}),Object(M.jsx)("td",{className:"text-end",children:t.last_2yr_rent}),Object(M.jsx)("td",{className:"text-end",children:t.wale})]},e)))})]})})]})})}}cs.contextType=Wt;var ns=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(cs),rs=a(259),ds=a(91),hs=a(758);const ps=t=>{let{markers:e}=t;const a=Object(ds.g)(),[l,o]=Object(s.useState)(null),c=Object(s.useRef)(null),n=Object(s.useRef)({}),r=Object(s.useRef)(null);Object(s.useEffect)((()=>{if(a)return c.current||(c.current=new hs.a({map:a})),()=>{c.current&&c.current.clearMarkers()}}),[a]);const d=Object(s.useCallback)(((t,e)=>{t?n.current[e]=t:delete n.current[e],clearTimeout(r.current),r.current=setTimeout((()=>{c.current&&(c.current.clearMarkers(),c.current.addMarkers(Object.values(n.current)))}),10)}),[]);return Object(s.useEffect)((()=>{var t;if(!a||!(null===(t=window.google)||void 0===t?void 0:t.maps)||0===e.length)return;const s=new window.google.maps.LatLngBounds;e.forEach((t=>{t.latitude&&t.longitude&&s.extend({lat:Number(t.latitude),lng:Number(t.longitude)})})),a.fitBounds(s)}),[a,e]),Object(M.jsx)(M.Fragment,{children:e.length>0&&e.map(((t,e)=>{const a=t.complex_id||"marker-".concat(e);return Object(M.jsxs)(i.a.Fragment,{children:[Object(M.jsx)(ds.f,{ref:t=>d(t,a),position:{lat:Number(t.latitude),lng:Number(t.longitude)},icon:{url:rs.a,scaledSize:new window.google.maps.Size(25,41),anchor:new window.google.maps.Point(12,41)},onClick:()=>o(a)}),l===a&&Object(M.jsx)(ds.c,{position:{lat:Number(t.latitude),lng:Number(t.longitude)},onCloseClick:()=>o(null),children:Object(M.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",minWidth:"150px"},children:[Object(M.jsx)("span",{style:{fontSize:"14px",fontWeight:"500",color:"#333",paddingRight:"15px"},children:t.complex}),Object(M.jsx)("button",{onClick:()=>o(null),style:{background:"none",border:"none",fontSize:"20px",cursor:"pointer",padding:"0",margin:"0",color:"#666",lineHeight:"1"},title:"Close",children:"\xd7"})]})})]},a)}))})};class js extends i.a.Component{constructor(){super(...arguments),this.state={markers:[],filters:""},this.fetchMapData=t=>{jt.post("api/edge/office/get_buildings_on_map",Z(t)).then((t=>{this.setState({markers:t.data||[]})}))}}componentDidMount(){let t;t="{}"===JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t}),this.fetchMapData(t)}componentDidUpdate(){const t=JSON.stringify(this.props.filters);t!==this.state.filters&&(this.setState({filters:t}),this.fetchMapData(t))}render(){return this.state.markers.length>0&&Object(M.jsx)("div",{style:{height:"100%",width:"100%",minHeight:"400px"},children:Object(M.jsx)(ds.a,{apiKey:"AIzaSyD7sg7Urgfgt1cEVR0a-HR2qcVr3hD3E1A",children:Object(M.jsx)(ds.d,{mapId:Object({NODE_ENV:"production",PUBLIC_URL:"/edge",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CHECK_OFFICE_AUTH_PATH:"/api/edge/office/check_auth",REACT_APP_CHECK_RETAIL_AUTH_PATH:"/api/edge/retail/check_auth",REACT_APP_API_DOMAIN:"https://www.crematrix.com",REACT_APP_USER_ACTIVITY:"api/user-activity/log-activity",REACT_APP_GOOGLE_MAPS_API_KEY:"AIzaSyD7sg7Urgfgt1cEVR0a-HR2qcVr3hD3E1A",REACT_APP_MIXPANEL_TOKEN:"d04c8f769571c131abee7f24554e5d07"}).REACT_APP_GOOGLE_MAP_ID,defaultCenter:{lat:20.5937,lng:78.9629},defaultZoom:5,gestureHandling:"greedy",mapTypeControl:!1,fullscreenControl:!1,streetViewControl:!1,style:{width:"100%",height:"100%"},children:Object(M.jsx)(ps,{markers:this.state.markers})})})})}}js.contextType=Wt;var As=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(js);const xs="Rent By Cities";class bs extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t,e="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,a={filter:e,area_type:this.props.areaType||""};"undefined"!==typeof this.props.bodyParams?(t=this.props.bodyParams,t.forEach(((t,e)=>{a[e]=t}))):(t=new FormData,t.append("filter",JSON.stringify(e)),t.append("area_type",this.props.areaType||""),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date),a.start_date=this.state.start_date,a.end_date=this.state.end_date,a.which_date=this.state.which_date));const s=JSON.stringify(a);this.lastFetchedPayload!==s&&(this.lastFetchedPayload=s,this.setState({showLoader:!0,showGraph:!1,bodyParams:t}),jt.post("api/edge/office/get_rental_by_cities_and_sectors",t).then((t=>{let e=st(this.state.start_date,this.state.end_date)?5:10;
1t.data.city_with_sectors_data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=e}));const a=t.data.city_with_sectors_data,s=t.data.city_with_sectors_data.labels;let i=[];a.datasets.length&&(i=s.map(((t,e)=>{const s={City:t};return a.datasets.forEach((t=>{s[t.label]=Number(t.data[e])})),s})));const l=this.generateChartOptions(s);this.setState({showLoader:!1,showGraph:!0,xAxis:s,barThicknesS:e,chartData:a,chartOtions:l,exceldata:i})})))},this.generateChartOptions=t=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Cities"},ticks:{callback:(e,a)=>"undefined"!==typeof t&&null!==t[a]&&/\s/.test(t)?t[a].split(" "):"undefined"!==typeof t&&t.length>0?t[a]:"",autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}}),this.downloadPdf=()=>{Ct(gt,{chartName:xs,filters:this.state.filters});const t=document.getElementById("rentByCities");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("rentByCities.pdf")}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:xs,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentByCities",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rent By Cities"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Data"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rent By Cities"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Re
1nt By Sectors"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:xs,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rent By Sectors"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"rentByCities",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:xs,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData,style:{maxHeight:"450px"}})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:bs,filters:this.context.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}bs.contextType=Wt;var ms=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(bs);class gs extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,isLoad:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],downloadExcel:!1,showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.state.isLoad&&!this.state.noGraph){let t=document.getElementById("rentalsVacancyLineChart").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff")}if("undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);jt.post("api/edge/office/get_rentals_analysis_chart_by_cities",e).then((t=>{this.setState({xAxis:t.data.x})}));const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return/\s/.test(a.state.xAxis)&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):"undefined"!=typeof a.state.xAxis[e]&&a.state.xAxis.length>0?a.state.xAxis[e]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_rentals_analysis_chart_by_cities",e).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.labels});let e={labels:t.data.labels,datasets:t.data.datasets},i=[];if(t.data.datasets.length)for(let a=0;a<t.data.datasets.length;a++){var l=[];for(let e=0;e<t.data.datasets[a].data.length;e++)l[t.data.labels[e]]=Number(t.data.datasets[a].data[e]);i.push(Object(h.a)({City:t.data.datasets[a].label},l))}a.setState({chartOtions:s,chartData:e,isLoad:!0,excelData:i})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){if(this.setState({filters:this.props.filters,showLoader:!0,showGraph:!1}
1),this.state.isLoad&&!this.state.noGraph){let t=document.getElementById("rentalsVacancyLineChart").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff")}const e=this,a={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return"undefined"!=typeof e.state.xAxis[a]&&null!=e.state.xAxis[a]&&/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):"undefined"!=typeof e.state.xAxis[a]&&null!=e.state.xAxis[a]&&e.state.xAxis.length>0?e.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),jt.post("api/edge/office/get_rentals_analysis_chart_by_cities",t).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.labels});let s={labels:t.data.labels,datasets:t.data.datasets},i=[];if(t.data.datasets.length)for(let e=0;e<t.data.datasets.length;e++){var l=[];for(let a=0;a<t.data.datasets[e].data.length;a++)l[t.data.labels[a]]=Number(t.data.datasets[e].data[a]);i.push(Object(h.a)({City:t.data.datasets[e].label},l))}e.setState({chartOtions:a,chartData:s,isLoad:!0,exceldata:i})}))}}downloadPdf(){const t=document.getElementById("rentalsAnalysis");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("RentalsAnalysis.pdf")}));let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rental Analysis chart"),jt.post("api/user-activity/log-activity",e).then((t=>{}))}getModeData(){"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis[a]&&/\s/.test(t.state.xAxis)?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis[a]&&t.state.xAxis.length>0?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_rentals_analysis_chart_by_cities",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.labels});let s={labels:a.data.labels,datasets:a.data.datasets},i=[];if(a.data.datasets.length)for(let t=0;t<a.data.datasets.length;t++){var l=[];for(let e=0;e<a.data.datasets[t].data.length;e++)l[a.data.labels[e]]=Number(a.data.datasets[t].data[e]);i.push(Object(h.a)({City:a.data.datasets[t].label},l))}t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis[a]&&/\s/.test(t.state.xAxis)?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis[a]&&t.state.xAxis.length>0?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if(void 0!==typeof e.tooltip.dataPoints&&("undefined"!=typeof e.tooltip.dataPoints[0].parsed.y&&e.tooltip.dataPoints[0].parsed.y!==t.state.tooltipYLabel||"undefined"!=typeof e.tooltip.dataPoints[0].label&&e.tooltip.dataPoints[0].label!==t.state.tooltipxLabel)){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_rentals_analysis_chart_by_cities",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.labels});let s={labels:a.data.labels,datasets:a.data.datasets},i=[];if(a.data.datasets.length)for(let t=0;t<a.data.datasets.length;t++){var l=[];for(let e=0;e<a.data.datasets[t].data.length;e++)l[a.data.labels[e]]=Number(a.data.datasets[t].data[e]);i.push(Object(h.a)({City:a.data.datasets[t].label},l))}t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalsAnalysis",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Analysis"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Analysis"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rental Analysis chart"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"RentalsAnalysis",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 overflowxclass",children:Object(M.jsx)("div",{className:"innerWidthHeighDiv",style:{width:"100vw",height:"300px"},children:this.state.isLoad&&Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:gs,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}gs.contextType=Wt;Object(D.b)((function(t){return{filters:t.selectedFilters}}))(gs);const Os="Office Supply";class us extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Os,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isLoad:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",barThicknesS:10,bodyParams:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:"",tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],downloadExcel:!1,xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType,globalMode:this.props.globalMode}),t="{}"==JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,this.state.filters=JSON.stringify(t),this.setState({}),"undefined"!=typeof this.props.bodyParams&&""!=this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",JSON.stringify(t));const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_office_supply_chart_by_cities",e).then((t=>{"undefined"!=typeof t.data.datasets&&null!=t.data.datasets||a.setState({noGraph:!0}),"undefined"!==typeof t.data.datasets&&null!==t.data.datasets&&t.data.datasets.forEac
1h((t=>{t.borderRadius=10,t.barThickness=10}));this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.labels});const e={labels:t.data.labels,datasets:null==t.data.datasets?[]:t.data.datasets};let i=[];if(e.datasets.length)for(let a=0;a<t.data.datasets.length;a++){t.data.datasets[a].barThicknes=10;var l=[];for(let e=0;e<t.data.datasets[a].data.length;e++)l[t.data.labels[e]]=Number(t.data.datasets[a].data[e]);i.push(Object(h.a)({City:t.data.datasets[a].label},l))}console.log(i),a.setState({chartOtions:s,chartData:e,isLoad:!0,exceldata:i})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this;let s={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var e=new FormData;e.append("filter",JSON.stringify(this.props.filters)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date),e.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),jt.post("api/edge/office/get_office_supply_chart_by_cities",e).then((t=>{"undefined"!=typeof t.data.datasets&&null!=t.data.datasets||a.setState({noGraph:!0}),"undefined"!==typeof t.data.datasets&&null!==t.data.datasets&&t.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.labels});const e={labels:t.data.labels,datasets:null==t.data.datasets?[]:t.data.datasets};let i=[];if(t.data.datasets.length)for(let a=0;a<t.data.datasets.length;a++){var l=[];for(let e=0;e<t.data.datasets[a].data.length;e++)l[" "+t.data.labels[e]]=Number(t.data.datasets[a].data[e]);i.push(Object(h.a)({City:t.data.datasets[a].label},l))}console.log(i),a.setState({chartOtions:s,chartData:e,isLoad:!0,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:Os,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("divToPrint");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("OfficeSupply.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Office Supply chart"),jt.post("api/user-activity/log-activity",o).then((t=>{}))}))}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Os,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_supply_chart_by_cities",a).then((a=>{a.data.datasets.length&&a.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),"undefined"!=typeof a.data.datasets&&null!=a.data.datasets||t.setState({noGraph:!0}),"undefined"!==typeof a.data.datasets&&null!==a.data.datasets&&a.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.labels});const s={labels:a.data.labels,datasets:null==a.data.datasets?[]:a.data.datasets};let i=[];if(a.data.datasets.length)for(let t=0;t<a.data.datasets.length;t++){var l=[];for(let e=0;e<a.data.datasets[t].data.length;e++)l[" "+a.data.labels[e]]=Number(a.data.datasets[t].data[e]);i.push(Object(h.a)({City:a.data.datasets[t].label},l))}console.log(i),t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{xAxes:[{stacked:!0,ticks:{beginAtZero:!0,maxRotation:0,minRotation:0}}],yAxes:[{stacked:!0}]},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_supply_chart_by_cities",a).then((a=>
1{a.data.datasets.length&&a.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),"undefined"!=typeof a.data.datasets&&null!=a.data.datasets||t.setState({noGraph:!0}),"undefined"!==typeof a.data.datasets&&null!==a.data.datasets&&a.data.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=10})),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.labels});const s={labels:a.data.labels,datasets:null==a.data.datasets?[]:a.data.datasets};let i=[];if(a.data.datasets.length)for(let t=0;t<a.data.datasets.length;t++){var l=[];for(let e=0;e<a.data.datasets[t].data.length;e++)l[" "+a.data.labels[e]]=Number(a.data.datasets[t].data[e]);console.log(l);i.push(Object(h.a)({City:a.data.datasets[t].label},l))}console.log(i),t.setState({chartOtions:e,chartData:s,isLoad:!0,exceldata:i})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph widgetGraphWithScroll",id:"divToPrint",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Office Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Office Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:"Download as PDF"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Os,mode:this.state.mode,filters:this.state.filters})},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"Of\uff6c\u2026eSupply",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Os,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 overflowxclass",children:Object(M.jsx)("div",{className:"innerWidthHeighDiv",style:{width:"100vw",height:"300px"},children:this.state.isLoad&&Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:us,filters:this.state.filters,chartHe
1ightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}us.contextType=Wt;var ys=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(us),fs=a(219),ws=a.n(fs),Ns=a(269),Ss=a.n(Ns),Ds=a(279),Ms=a.n(Ds),Cs=a(270),Fs=a.n(Cs),Bs=a(277),vs=a.n(Bs),Ts=a(182),Is=a.n(Ts),_s=a(181),Es=a.n(_s),Us=a(271),Rs=a.n(Us),Ys=a(272),Qs=a.n(Ys),ks=a(274),Ps=a.n(ks),Gs=a(275),Ls=a.n(Gs),Vs=a(276),zs=a.n(Vs),Js=a(280),Ws=a.n(Js),Hs=a(273),Zs=a.n(Hs),Xs=a(278),Ks=a.n(Xs),qs=a(281),$s=a.n(qs);const ti={Add:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ss.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Check:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Fs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Clear:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Es.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Delete:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Rs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),DetailPanel:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Is.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Edit:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Qs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Export:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Zs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Filter:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ps.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),FirstPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ls.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),LastPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(zs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),NextPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Is.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),PreviousPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(vs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ResetSearch:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Es.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Search:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ks.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),SortArrow:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ms.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ThirdStateCheck:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ws.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ViewColumn:Object(s.forwardRef)(((t,e)=>Object(M.jsx)($s.a,Object(h.a)(Object(h.a)({},t),{},{ref:e}))))};class ei extends i.a.Component{constructor(t){super(t),this.state={columnHeaders:[],majorRecentLeaseTransactions:[],filters:"",isOpenErrorDisplayModal:!1,jsonForExcel:[],start_date:"",end_date:"",which_date:"",which_date_name:"",type:"supply",mode:"yearly",modeText:"Switch To Quarterly",gradeText:"Switch To All Grade",grade:"AA+",area:"chargeable_area",areaText:"Switch To Carpet Area"},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_commercial_trends",Z(t)).then((t=>{let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}
1))}}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}getModeData(){"yearly"==this.state.mode?this.setState({mode:"quarterly"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),t.append("type",this.state.type),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}getGradeWiseData(){"All"==this.state.grade?this.setState({grade:"AA+"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}))})):"AA+"==this.state.grade&&this.setState({grade:"All"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}))})),"Switch To All Grade"==this.state.gradeText?this.setState({gradeText:"Switch To AA+"}):"Switch To AA+"==this.state.gradeText&&this.setState({gradeText:"Switch To All Grade"})}getAreaWiseData(){"carpetarea"==this.state.area?this.setState({area:"chargeable_area"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}))})):"chargeable_area"==this.state.area&&this.setState({area:"carpetarea"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}
1))})),"Switch To Chargeable Area"==this.state.areaText?this.setState({areaText:"Switch To Carpet Area"}):"Switch To Carpet Area"==this.state.areaText&&this.setState({areaText:"Switch To Chargeable Area"})}getTypeData(t){this.setState({type:t.target.value},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_commercial_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);this.setState({majorRecentLeaseTransactions:e.data,columnHeaders:e.columns})}))}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Commercial Trends (Demand, Supply & Stock)"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsxs)("select",{onChange:t=>{this.getTypeData(t)},className:"trendsSelect",children:[Object(M.jsx)("option",{children:"Select"}),Object(M.jsx)("option",{value:"demand",children:"Demand"}),Object(M.jsx)("option",{value:"gross_leasing",children:"Gross Leasing"}),Object(M.jsx)("option",{value:"supply",children:"Supply"}),Object(M.jsx)("option",{value:"stock",children:"Stock"})]}),Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","commercial trends"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.majorRecentLeaseTransactions,fileName:"CommercialTrends",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#commercialTrends","CommercialTrends");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Commercial Trends"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:this.state.modeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getGradeWiseData()},children:this.state.gradeText}),"supply"!=this.state.type&&"stock"!=this.state.type&&Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getAreaWiseData()},children:this.state.areaText})]})]})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsx)(ws.a,{title:"",data:this.state.majorRecentLeaseTransactions,icons:ti,columns:this.state.columnHeaders,parentChildData:(t,e)=>e.find((e=>e.id===t.parentId)),options:{selection:!1,search:!1,sorting:!1,paging:!1,headerStyle:{fontFamily:"Poppins",color:"#000",fontSize:"12px",fontWeight:"600"}}})}),Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})]})})}}ei.contextType=Wt;Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions}}))(ei);var ai=a(1144);const si="Rental Trends";const ii={Add:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ss.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Check:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Fs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Clear:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Es.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Delete:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Rs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),DetailPanel:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Is.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Edit:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Qs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Export:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Zs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Filter:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ps.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),FirstPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ls.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),LastPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(zs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),NextPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Is.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),PreviousPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(vs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ResetSearch:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Es.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Search:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ks.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),SortArrow:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ms.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ThirdStateCheck:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ws.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ViewColumn:Object(s.forwardRef)(((t,e)=>Object(M.jsx)($s.a,Object(h.a)(Object(h.a)({},t),{},{ref:e}))))};class li extends i.a.Component{constructor(t){super(t),this.state={isDataNull:!1,columnHeaders:[],rentalTrends:[],filters:"",isOpenErrorDisplayModal:!1,jsonForExcel:[],start_date:"",end_date:"",which_date:"",which_date_name:"",type:"passing_rent",mode:"yearly",modeText:"Switch To Quarterly",gradeText:"Switch To All Grade",grade:"AA+",area:"chargeable",areaText:"Switch To Carpet Area",showChart:!1,level:"city",cagr:3,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]}
1,xAxis:[],exceldata:[],chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12",rentalExcelData:[],dateMsg:""},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.openModal=()=>{Ct(ft,{chartName:si,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})}}async loadData(t){let e=lt(t.data);this.setState({rentalTrends:e.data,columnHeaders:e.columns})}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_rental_trends",Z(t)).then((t=>{if(t&&t.data&&!t.error){this.setState({isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,showLoader:!1,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters)if(0==this.state.showChart){var t,e,a,s=new FormData;s.append("filter",JSON.stringify(this.props.filters)),(null===(t=this.state.end_date)||void 0===t?void 0:t.length)>0&&"ull"!=this.state.end_date&&(null===(e=this.state.start_date)||void 0===e?void 0:e.length)>0&&"ull"!=this.state.start_date&&(null===(a=this.state.which_date)||void 0===a?void 0:a.length)>0?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date),s.append("type",this.state.type),s.append("mode",this.state.mode),s.append("grade",this.state.grade),s.append("area_type",this.state.area)):"undefined"!=typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_rental_trends",s).then((t=>{if(t&&t.data&&!t.error){this.setState({isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,showLoader:!1,rentalExcelData:s})}else t&&t.error?(alert("Date range should be > 3 months"),this.setState({start_date:"",end_date:"",which_date:"",which_date_name:"",showLoader:!1})):this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}else this.setState({filters:this.props.filters}),this.getChartData()}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:si,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly"},(()=>{if(this.state.showChart)this.getChartData();else{var t,e,a,s=new FormData;s.append("filter",JSON.stringify(this.props.filters)),s.append("mode",this.state.mode),s.append("grade",this.state.grade),s.append("area_type",this.state.area),s.append("type",this.state.type),(null===(t=this.state.end_date)||void 0===t?void 0:t.length)>0&&"ull"!=this.state.end_date&&(null===(e=this.state.start_date)||void 0===e?void 0:e.length)>0&&"ull"!=this.state.start_date&&(null===(a=this.state.which_date)||void 0===a?void 0:a.length)>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_rental_trends",s).then((t=>{if(t&&t.data&&!t.error){this.setState({showLoader:!1,showGraph:!0,isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}
1));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}})):"quarterly"==this.state.mode&&this.setState({mode:"yearly"},(()=>{if(this.state.showChart)this.getChartData();else{var t,e,a,s=new FormData;s.append("filter",JSON.stringify(this.props.filters)),s.append("type",this.state.type),s.append("mode",this.state.mode),s.append("grade",this.state.grade),s.append("area_type",this.state.area),(null===(t=this.state.end_date)||void 0===t?void 0:t.length)>0&&"ull"!=this.state.end_date&&(null===(e=this.state.start_date)||void 0===e?void 0:e.length)>0&&"ull"!=this.state.start_date&&(null===(a=this.state.which_date)||void 0===a?void 0:a.length)>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_rental_trends",s).then((t=>{if(t&&t.data&&!t.error){this.setState({showLoader:!1,showGraph:!0,isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}getGradeWiseData(){"All"==this.state.grade?this.setState({grade:"AA+"},(()=>{if(this.state.showChart)this.getChartData();else{var t,e,a,s=new FormData;s.append("filter",JSON.stringify(this.props.filters)),s.append("type",this.state.type),s.append("mode",this.state.mode),s.append("grade",this.state.grade),s.append("area_type",this.state.area),(null===(t=this.state.end_date)||void 0===t?void 0:t.length)>0&&"ull"!=this.state.end_date&&(null===(e=this.state.start_date)||void 0===e?void 0:e.length)>0&&"ull"!=this.state.start_date&&(null===(a=this.state.which_date)||void 0===a?void 0:a.length)>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_rental_trends",s).then((t=>{if(t&&t.data&&!t.error){this.setState({showLoader:!1,showGraph:!0,isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}})):"AA+"==this.state.grade&&this.setState({grade:"All"},(()=>{if(this.state.showChart)this.getChartData();else{var t,e,a,s=new FormData;s.append("filter",JSON.stringify(this.props.filters)),s.append("type",this.state.type),s.append("mode",this.state.mode),s.append("grade",this.state.grade),s.append("area_type",this.state.area),(null===(t=this.state.end_date)||void 0===t?void 0:t.length)>0&&"ull"!=this.state.end_date&&(null===(e=this.state.start_date)||void 0===e?void 0:e.length)>0&&"ull"!=this.state.start_date&&(null===(a=this.state.which_date)||void 0===a?void 0:a.length)>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_rental_trends",s).then((t=>{if(t&&t.data&&!t.error){this.setState({showLoader:!1,showGraph:!0,isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}})),"Switch To All Grade"==this.state.gradeText?this.setState({gradeText:"Switch To AA+"}):"Switch To AA+"==this.state.gradeText&&this.setState({gradeText:"Switch To All Grade"})}getAreaWiseData(){"carpet"==this.state.area?this.setState({area:"chargeable"},(()=>{if(this.state.showChart)this.getChartData();else{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area_type",this.state.area),jt.post("api/edge/office/get_rental_trends",t).then((t=>{if(t&&t.data&&!t.error){this.setState({showLoader:!1,showGraph:!0,isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}
1));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}})):"chargeable"==this.state.area&&this.setState({area:"carpet"},(()=>{if(this.state.showChart)this.getChartData();else{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area_type",this.state.area),jt.post("api/edge/office/get_rental_trends",t).then((t=>{if(t&&t.data&&!t.error){this.setState({showLoader:!1,showGraph:!0,isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}})),"Switch To Chargeable Area"==this.state.areaText?this.setState({areaText:"Switch To Carpet Area"}):"Switch To Carpet Area"==this.state.areaText&&this.setState({areaText:"Switch To Chargeable Area"})}getTypeData(t){this.setState({type:t.target.value},(()=>{if(this.state.showChart)this.getChartData();else{var t,e,a,s=new FormData;s.append("filter",JSON.stringify(this.props.filters)),s.append("type",this.state.type),s.append("mode",this.state.mode),s.append("grade",this.state.grade),s.append("area_type",this.state.area),(null===(t=this.state.end_date)||void 0===t?void 0:t.length)>0&&"ull"!=this.state.end_date&&(null===(e=this.state.start_date)||void 0===e?void 0:e.length)>0&&"ull"!=this.state.start_date&&(null===(a=this.state.which_date)||void 0===a?void 0:a.length)>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_rental_trends",s).then((t=>{if(t&&t.data&&!t.error){this.setState({showLoader:!1,showGraph:!0,isDataNull:!1});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({rentalTrends:e.data,columnHeaders:e.columns,rentalExcelData:s})}else this.setState({isDataNull:!0,showLoader:!1,rentalTrends:[]})}))}}))}getChartData(){this.setState({showLoader:!0});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("level",this.state.level),t.append("cagr",this.state.cagr),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("area_type",this.state.area),t.append("grade",this.state.grade),""!==this.state.start_date&&""!==this.state.end_date&&""!==this.state.which_date&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_rental_trends_chart_by_region",t).then((t=>{if(t&&t.data&&!t.error){if(this.setState({isDataNull:!1}),""!=this.state.start_date&&""!=this.state.end_date){const t=94608e6,e=15768e7,a=31536e7;let s=new Date(this.state.end_date)-new Date(this.state.start_date);const i=s<t,l=s<e,o=s<a;3==this.state.cagr&&i?this.setState({dateMsg:"Select Date Range of Min 4 years"}):5==this.state.cagr&&l?this.setState({dateMsg:"Select Date Range of Min 6 years"}):10==this.state.cagr&&o?this.setState({dateMsg:"Select Date Range of Min 11 years"}):this.setState({dateMsg:""})}const e=[];for(let o in t.data.data)if(t.data.data.hasOwnProperty(o)){const a={city:o};Object.assign(a,t.data.data[o+""]),e.push(a)}const a=e.map((t=>{const e={};return"city"in t&&(e.city=t.city),Object.keys(t).forEach((a=>{"city"!==a&&(e[" "+a]=t[a])})),e}));this.setState({exceldata:a});const s=t.data["x-axis"],i=t.data.labels.map(((e,a)=>{let s=e.includes("CAGR")?e.replace(" CAGR","_cagr"):e;return t.data.data[s]?{label:e,data:Object.values(t.data.data[s]),backgroundColor:t.data.colors[a],borderColor:t.data.colors[a],fill:!1,borderWidth:2,borderDash:e.includes("CAGR")||e.includes("cagr")?[10,5]:[],yAxisID:e.includes("CAGR")||e.includes("cagr")?"y1":"y"}:null}));let l=this.state.chartData;l.labels=s,l.datasets=i,this.setState({chartData:l,showLoader:!1})}else this.setState({isDataNull:!0,showLoader:!1,chartData:{labels:[],datasets:[]}})}))}downloadPdf(){let t;Ct(gt,{chartName:si,mode:this.state.mode,filters:this.state.filters}),t=this.state.showChart?document.getElementById("rentalTrendChartDiv"):document.getElementById("rentalTrendDiv"),Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,20,i,l),a.save("RentalTrend.pdf")}
1))}render(){var t,e,a;const s=this,i={};i.startDate=this.state.start_date,i.endDate=this.state.end_date,i.dateType=this.state.which_date,i.dateTypeName=this.state.which_date_name;const l={responsive:!0,maintainAspectRatio:!1,scales:{x:{title:{display:!0,text:"Years/Quarters"},ticks:{autoSkip:!1,maxRotation:45,minRotation:45}},y:{title:{display:!0,text:"\u20b9 / sqft / month"},position:"left"},y1:{beginAtZero:!0,display:!0,grid:{display:!1,drawBorder:!0},title:{display:!0,text:" CAGR %"},position:"right"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:20,boxHeight:0,pointStyle:"rec"}},title:{display:!1},tooltip:{enabled:!0,animation:!1,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",a=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",a=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),s.setState({tooltipClassname:e,tooltipArrow:a,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-10 text-start colorLightBlue widgetTableHeader",children:Object(M.jsxs)("div",{className:"row m-0",children:[Object(M.jsxs)("div",{className:"col-6 p-0",children:[Object(M.jsx)("p",{children:"Rental Trends (\u20b9 / sqft / month)"}),(null===(t=this.state.start_date)||void 0===t?void 0:t.length)>0&&(null===(e=this.state.end_date)||void 0===e?void 0:e.length)>0&&"ull"!=this.state.start_date&&(null===(a=this.state.which_date)||void 0===a?void 0:a.length)>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-6 p-0",children:Object(M.jsxs)("div",{className:"d-flex justify-content-end gap-2 align-items-center",children:[Object(M.jsx)(ai.a,{checkedChildren:"Table",unCheckedChildren:"Chart",onChange:t=>{this.setState({showChart:t}),this.getChartData()}}),this.state.showChart&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("select",{onChange:t=>{this.setState({level:t.target.value},(()=>{this.getChartData()}))},className:"trendsSelect",style:{width:"160px",height:"fit-content"},children:[Object(M.jsx)("option",{value:"city",children:"City"}),Object(M.jsx)("option",{value:"macromarket",children:"Macromarket"}),Object(M.jsx)("option",{value:"micromarket",children:"Micromarket"})]}),Object(M.jsxs)("select",{onChange:t=>{this.setState({cagr:t.target.value},(()=>{this.getChartData()}))},className:"trendsSelect",style:{width:"160px",height:"fit-content"},children:[Object(M.jsx)("option",{value:"3",children:" 3 Yrs CAGR"}),Object(M.jsx)("option",{value:"5",children:" 5 Yrs CAGR"}),Object(M.jsx)("option",{value:"10",children:" 10 Yrs CAGR"})]})]})]})}),this.state.showChart&&""!=this.state.start_date&&Object(M.jsx)("div",{className:"col-12 text-end",style:{color:"red"},children:this.state.dateMsg})]})}),Object(M.jsxs)("div",{className:"col-lg-2 customColRegion",children:[Object(M.jsxs)("select",{onChange:t=>{this.getTypeData(t)},className:"trendsSelect",style:{width:"160px",height:"fit-content"},children:[Object(M.jsx)("option",{value:"passing_rent",children:"Passing Rent"}),Object(M.jsx)("option",{value:"market_rent",children:"Starting Rent (Market Rent)"})]}),Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ct(Ot,{chartName:si,mode:this.state.mode,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rental Trends"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:1==this.state.showChart?this.state.exceldata:this.state.rentalExcelData,fileName:"RentalTrends",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rental Trends"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:this.state.modeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getGradeWiseData()},children:this.state.gradeText}),"supply"!=this.state.type&&"stock"!=this.state.type&&Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getAreaWiseData()},children:this.state.areaText})]})]})]}),this.state.isDataNull?Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})}):Object(M.jsxs)(M.Fragment,{children:[!this.state.showChart&&Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",id:"rentalTrendDiv",children:Object(M.jsx)(ws.a,{title:"",data:this.state.rentalTrends,icons:ii,columns:this.state.columnHeaders,parentChildData:(t,e)=>e.find((e=>e.id===t.parentId)),options:{selection:!1,search:!1,sorting:!1,paging:!1,headerStyle:{fontFamily:"Poppins",color:"#000",fontSize:"12px",fontWeight:"600"}}})}),this.state.showChart&&0==this.state.showLoader&&Object(M.jsx)("div",{className:"col-lg-12",id:"rentalTrendChartDiv",style:{height:"550px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:l,data:this.state.chartData})})]}),this.state.showLoader&&Object(M.jsx)("div",{className:"col-lg-12 text-center ii",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})}),Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:i})})})})]})})}}li.contextType=Wt;var oi=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions}}))(li);const ci="Business Trends";const ni={Add:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ss.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Check:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Fs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Clear:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Es.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Delete:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Rs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),DetailPanel:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Is.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Edit:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Qs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Export:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Zs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Filter:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ps.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),FirstPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ls.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),LastPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(zs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),NextPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Is.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),PreviousPage:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(vs.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ResetSearch:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Es.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),Search:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ks.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),SortArrow:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ms.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ThirdStateCheck:Object(s.forwardRef)(((t,e)=>Object(M.jsx)(Ws.a,Object(h.a)(Object(h.a)({},t),{},{ref:e})))),ViewColumn:Object(s.forwardRef)(((t,e)=>Object(M.jsx)($s.a,Object(h.a)(Object(h.a)({},t),{},{ref:e}))))};class ri extends i.a.Component{constructor(t){super(t),this.state={columnHeaders:[],businessTrends:[],filters:"",isOpenErrorDisplayModal:!1,jsonForExcel:[],start_date:"",end_date:"",which_date:"",which_date_name:"",type:"supply",mode:"yearly",modeText:"Switch To Quarterly",gradeText:"Switch To All Grade",grade:"AA+",area:"chargeable_area",areaText:"Switch To Carpet Area",unitText:"",businessExcelData:[]},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.openModal=()=>{Ft(ft,{chartName:ci,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_business_trends",Z(t)).then((t=>{let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_business_trends",t).then((t=>{let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))}}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ft(Nt,{chartName:ci,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),t.append("type",this.state.type),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_business_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_business_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}getGradeWiseData(){"All"==this.state.grade?this.setState({grade:"AA+"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_business_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}
1));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))})):"AA+"==this.state.grade&&this.setState({grade:"All"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_business_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))})),"Switch To All Grade"==this.state.gradeText?this.setState({gradeText:"Switch To AA+"}):"Switch To AA+"==this.state.gradeText&&this.setState({gradeText:"Switch To All Grade"})}getAreaWiseData(){"carpetarea"==this.state.area?this.setState({area:"chargeable_area"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),jt.post("api/edge/office/get_business_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))})):"chargeable_area"==this.state.area&&this.setState({area:"carpetarea"},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),jt.post("api/edge/office/get_business_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))})),"Switch To Chargeable Area"==this.state.areaText?this.setState({areaText:"Switch To Carpet Area"}):"Switch To Carpet Area"==this.state.areaText&&this.setState({areaText:"Switch To Chargeable Area"})}getTypeData(t){this.setState({type:t.target.value},(()=>{var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("type",this.state.type),t.append("mode",this.state.mode),t.append("grade",this.state.grade),t.append("area",this.state.area),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),"rent_into_area"==this.state.type?this.setState({unitText:" (in \u20b9 Lakhs)"}):this.setState({unitText:" "}),jt.post("api/edge/office/get_business_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=lt(t.data);const a=e.data.map((t=>Object(h.a)({},t)));a.map((t=>{delete t.parentId,delete t.id}));const s=a.map((t=>{const e={};return"region"in t&&(e.region=t.region),Object.keys(t).forEach((a=>{"region"!==a&&(e[" "+a]=t[a])})),e}));this.setState({businessTrends:e.data,columnHeaders:e.columns,businessExcelData:s})}))}))}downloadPdf(){Ft(gt,{chartName:ci,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("businessTrendDiv");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("BusinessTrend.pdf")}
1))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsx)("div",{className:"widget widgetTable",id:"commercialTrends",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsxs)("p",{children:["Business Trends ",this.state.unitText]})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsxs)("select",{onChange:t=>{this.getTypeData(t)},className:"trendsSelect",children:[Object(M.jsx)("option",{value:"no_of_buildings",children:"# of Buildings (Completed)"}),Object(M.jsx)("option",{value:"rent_into_area",children:"Business Trends(Rent * Area)"}),Object(M.jsx)("option",{value:"no_of_assets",children:"# of Assets (Completed)"})]}),Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:ci,mode:this.state.mode,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","commercial trends"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.businessExcelData,fileName:"CommercialTrends",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Commercial Trends"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:this.state.modeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getGradeWiseData()},children:this.state.gradeText}),"supply"!=this.state.type&&"stock"!=this.state.type&&Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getAreaWiseData()},children:this.state.areaText})]})]})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",id:"businessTrendDiv",children:Object(M.jsx)(ws.a,{title:"",data:this.state.businessTrends,icons:ni,columns:this.state.columnHeaders,parentChildData:(t,e)=>e.find((e=>e.id===t.parentId)),options:{selection:!1,exportButton:!1,search:!1,sorting:!1,paging:!1,headerStyle:{fontFamily:"Poppins",color:"#000",fontSize:"12px",fontWeight:"600"}}})}),Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})]})})}}ri.contextType=Wt;var di=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions}}))(ri);class hi extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid p-0 region spacingClassForDashboard",children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsxs)("div",{className:"col-lg-12",children:[Object(M.jsxs)("div",{className:"newDashboard newDashboard5row",children:[Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)($t,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ee,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(Ma,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ra,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ce,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(Ba,{})}),Object(M.jsx)("div",{className:"col-lg-12"})]})]})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ys,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(oi,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(di,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Ua,{})}),Object(M.jsx)("div",{className:"col-lg-5",children:Object(M.jsx)(Va,{})}),Object(M.jsx)("div",{className:"col-lg-3",children:Object(M.jsx)(Pa,{})}),Object(M.jsx)("div",{className:"col-lg-9 mapContainer customPage mb-4 mt-4",children:Object(M.jsx)(As,{})}),Object(M.jsx)("div",{className:"col-lg-3",children:Object(M.jsx)(Ia,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Qa,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Wa,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Xa,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)($a,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(as,{})})]}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(ls,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(ns,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(ms,{})})]})]})}}var pi=Object(c.f)(hi);
1class ji extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid p-0 region spacingClassForDashboard",children:[Object(M.jsx)("div",{className:"row m-0",children:Object(M.jsxs)("div",{className:"col-lg-12 p-0",children:[Object(M.jsxs)("div",{className:"newDashboard newDashboard5row",children:[Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)($t,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ee,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(Ma,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ra,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ce,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(Ba,{})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ys,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(di,{})}),Object(M.jsx)("div",{className:"col-lg-12 my-4",children:Object(M.jsx)(oi,{})})]})]})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Ua,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Qa,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-9 customPage",children:Object(M.jsx)(As,{})}),Object(M.jsx)("div",{className:"col-lg-3",children:Object(M.jsx)(Ia,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Wa,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Xa,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)($a,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(as,{})})]}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(ls,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(ns,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(ms,{})})]})]})}}var Ai=Object(c.f)(ji);class xi extends i.a.Component{constructor(){super(...arguments),this.state={filters:"{}"}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t})}componentDidUpdate(){this.state.filters!==JSON.stringify(this.props.filters)&&this.setState({filters:JSON.stringify(this.props.filters)})}renderAsset(){var t=JSON.parse(this.state.filters);let e=Object.keys(t).includes("markets"),a=Object.keys(t).includes("macromarkets"),s=Object.keys(t).includes("micromarkets");return"{}"==this.state.filters?Object(M.jsx)(pi,{}):e||a||s?Object(M.jsx)(Ai,{}):(e||a||!s||void 0!==t.macromarkets||void 0!==t.micromarkets||0!==t.markets.length||0!==t.macromarkets.length||t.micromarkets.length,Object(M.jsx)(pi,{}))}render(){return void 0!==this.state.filters?this.renderAsset():Object(M.jsx)(M.Fragment,{children:"Loading"})}}xi.contextType=Wt;var bi=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(xi);const mi="Top Assets - Leasable Area";class gi extends i.a.Component{constructor(){super(...arguments),this.apiTimeout=null,this.lastFetchedPayload=null,this.state={topAssetsLeasableArea:[],showLoader:!1,showGraph:!1,jsonForExcel:[]},this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload!==a){this.lastFetchedPayload=a,this.setState({showLoader:!0,showGraph:!1});var s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_top_assets_leasable_area",s).then((t=>{let e=t.data.slice(0,10);this.setState({showLoader:!1,showGraph:!0,topAssetsLeasableArea:e,jsonForExcel:it(e,{complex:{name:"Asset Name",type:"string"},developer:{name:"Developer Name",type:"string"},micromarket:{name:"Micro-market",type:"string"}
1,city:{name:"Market",type:"string"},total_leasable_area:{name:"Built Stock",type:"int"},under_construction:{name:"Under Construction",type:"string"},market_rent:{name:"Starting Rent (Market Rent) (\u20b9/sqft/month) (last 12 months)",type:"int"},efficiency:{name:"Efficiency",type:"int"},wale:{name:"WALE",type:"int"}})})}))}}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){let t="{}"===JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters);return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Assets - Leasable Area"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:e=>{Ft(Ot,{chartName:mi,filters:t});let a=new FormData;a.append("path",window.location.pathname),a.append("action","excel_download"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Top Assets Leasable Area"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopAssetsLeasableArea",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:e=>{Ft(gt,{chartName:mi,filters:t}),q("#topAssetsLeasableArea","TopAssetsLeasableArea");let a=new FormData;a.append("path",window.location.pathname),a.append("action","pdf_download"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Top Assets Leasable Area"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topAssetsLeasableArea",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset Name"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Developer Name"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Market"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Built Stock"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Under Construction"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Starting Rent (Market Rent) (last 12 months)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Efficiency (Office)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.topAssetsLeasableArea.map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("developer",t.developer),children:t.developer})}),Object(M.jsx)("td",{children:t.micromarket}),Object(M.jsx)("td",{children:t.city}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.under_construction}),Object(M.jsx)("td",{className:"text-end",children:t.market_rent}
1),Object(M.jsx)("td",{className:"text-end",children:null!==t.efficiency?t.efficiency:"-"}),Object(M.jsx)("td",{className:"text-end",children:t.wale})]},e)))})]})})]})]})}}gi.contextType=Wt;var Oi=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(gi);const ui="Leased Space Share (msf) - Top 10 Assets";const yi={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#CDA6FF","#B786ED","#A066DC","#8A46CA","#7326B9","#6816B0","#6015AD","#5714A9","#4F13A6","#4612A3"]};class fi extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_assets_leased_space_share",s).then((t=>{let e=t.data.x;const a=t.data.y.map(((t,a)=>[t,Number(e[a])]));a.unshift(["Assets","Area(msf)"]);let s=!$(t.data.x);const i=at(t,"Leased Space Area(msf)","Assets");this.setState({showLoader:!1,showGraph:!0,googlePieChartData:a,noGraph:s,exceldata:i})}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:ui,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:ui,filters:this.state.filters});const t=document.getElementById("leasedSpaceShareTopAssets");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("leasedSpaceShareTopAssets.pdf")}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leasedSpaceShareTopAssets",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loading"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Leased Space Share (msf) - Top 10 Assets"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No data"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Leased Space Share [msf,(%)] - Top 10 Assets"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","leased Space Share Top Assets"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:ui,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","leased Space Share Top Assets"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"leasedSpaceShareTopAssets",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:ui,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:yi,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:fi,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}fi.contextType=Wt;var wi=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(fi);const Ni="Top Assets - Gross Leasing Volume";class Si extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_top_assets_gross_leasing_volume",s).then((t=>{const e=t.data.x,a=t.data.datapoints.y2,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Assets"},ticks:{callback:function(t,a,s){return/\s/.test(e)&&"undefined"!==typeof e[a]?e[a].split(" "):e.length>0&&"undefined"!==typeof e[a]?e[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"left"},y1:{grid:{display:!1,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"},position:"right"}},onHover:(t,e)=>{0!==e.length&&(this.state.currentMarketRent=a[e[0].index])}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}},i={labels:t.data.x,datasets:[{type:"scatter",label:"Starting Rent (Market Rent)",data:t.data.datapoints.y2,backgroundColor:"#fe9515",borderColor:"#fe9515",yAxisID:"y1",pointRadius:5},{type:"bar",label:"Area (msf)",data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,borderRadius:10,barThickness:10,yAxisID:"y"}]},l=$(t.data.datapoints.y1),o=tt(t);this.setState({showLoader:!1,showGraph:!0,xAxis:e,marketRent:a,noGraph:!l,chartOtions:s,chartData:i,exceldata:o})}))},this.state={areaType:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,showToolTip:!1,up:j.d,down:j.c,marketRent:[],currentMarketRent:"",filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,tooltipYPercentDiff:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:Ni,filters:this.state.filters});const t=document.getElementById("topAssetsGrossLeasingVolume");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"PNG",0,0,i,l),a.save("topAssetsGrossLeasingVolume.pdf")}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loading"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsxs)("p",{children:["Top Assets - Gross Leasing Volume",Object(M.jsx)("span",{className:"colorBlack",children:" (Last 12 Months)"})]})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Assets Gross Leasing Volume"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Ni,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Assets Gross Leasing Volume"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"topAssetsGrossLeasingVolume",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Ni,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",id:"topAssetsGrossLeasingVolume",style:{height:"400px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Si,filters:this.state.filters,chartHe
1ightClass:"col-lg-12 allChartHeight"},this.state.expandChartKey)]})}}Si.contextType=Wt;var Di=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Si);const Mi="Area Expiring in 12 Months - Top 10 Assets";const Ci={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#CDA6FF","#B786ED","#A066DC","#8A46CA","#7326B9","#6816B0","#6015AD","#5714A9","#4F13A6","#4612A3"]};class Fi extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_assets_area_expiring",s).then((t=>{let e=t.data.x;const a=t.data.y.map(((t,a)=>[t,Number(e[a])]));a.unshift(["AreaExpiring","Assets"]);let s=!$(t.data.x);const i=at(t,"AreaExpiring(msf)","Assets");this.setState({showLoader:!1,showGraph:!0,googlePieChartData:a,noGraph:s,exceldata:i})}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Mi,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight maxCanvasHeightAuto"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:Mi,filters:this.state.filters});const t=document.getElementById("areaExpiringIn12MonthTopAssets");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("areaExpiringIn12MonthTopAssets.pdf")}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"areaExpiringIn12MonthTopAssets",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Area Expiring in 12 Months - Top 10 Assets"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&this.state.which_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"no graph"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Area Expiring in 12 Months - Top 10 Assets"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&this.state.which_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Area Expiring In 12 Month Top Assets"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Mi,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Area Expiring In 12 Month Top Assets"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"areaExpiringIn12MonthTopAssets",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Mi,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Ci,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Fi,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Fi.contextType=Wt;var Bi=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Fi);const vi="Passing Rent Trends - Top 5 Assets By Area Leased";class Ti extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode;const a={filter:t,area_type:this.props.areaType||"",mode:e,start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},s=JSON.stringify(a);if(this.lastFetchedPayload===s)return;this.lastFetchedPayload=s,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let i=new FormData;"undefined"!==typeof this.props.bodyParams?i=this.props.bodyParams:(i.append("filter",JSON.stringify(t)),i.append("area_type",this.props.areaType||""),i.append("mode",e),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date&&(i.append("end_date",this.state.end_date),i.append("start_date",this.state.start_date),i.append("which_date",this.state.which_date))),this.setState({bodyParams:i}
1),jt.post("api/edge/office/get_asset_rental_trends",i).then((t=>{const a=this,s=t.data.x,i={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===e||"quarter"===e?"Quarters":"Years"},ticks:{callback:function(t,e){return s&&Array.isArray(s)&&s.length>e&&"undefined"!==typeof s[e]?String(s[e]).split(" "):""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!==o&&"NaN%"!==o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}},l=Object.keys(t.data.datapoints).map((e=>({label:t.data.legend[e],data:t.data.datapoints[e],borderColor:t.data.bgcolor[e],backgroundColor:t.data.bgcolor[e]})));let o={labels:s,datasets:l},c=$(t.data.datapoints.y1)||$(t.data.datapoints.y2)||$(t.data.datapoints.y3)||$(t.data.datapoints.y4)||$(t.data.datapoints.y5);this.setState({showLoader:!1,showGraph:!0,xAxis:s,noGraph:!c,chartOtions:i,chartData:o,exceldata:tt(t)})}))},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Yearly":"Switch To Quarterly";return Ct(Nt,{chartName:vi,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:vi,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(t,e){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:vi,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("passingRentTrendsTop5Assets");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("passingRentTrendsTop5Assets.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"passingRentTrendsTop5Assets",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Passing Rent Trends - Top 5 Assets By Area Leased"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent Trends - Top 5 Assets By Area Leased"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Passing Rent Trends - Top 5 Assets By Area Leased"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:vi,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Passing Rent Trends - Top 5 Assets By Area Leased"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"passingRentTrendsTop5Assets",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:vi,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Ti,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Ti.contextType=Wt;var Ii=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Ti);const _i="Occupancy - Top 10 Assets";class Ei extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_asset_vacancy_trends",s).then((t=>{const e=t.data.x,a={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Assets"},ticks:{callback:function(t,a){return e&&e[a]&&e[a].length>10?e[a].substring(0,20)+"...":e?e[a]:""},autoSkip:!1,color:"black",font:{size:9},maxRotation:45,minRotation:45}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Occupancy"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}};let s=st(this.state.start_date,this.state.end_date)?5:10;const i={labels:e,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:s,borderRadius:10}]};let l=$(t.data.datapoints.y1);this.setState({showLoader:!1,showGraph:!0,xAxis:e,barThicknesS:s,noGraph:!l,chartOtions:a,chartData:i,exceldata:tt(t)})}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:_i,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:_i,filters:this.state.filters});const t=document.getElementById("vacancyTrendsTop5Assets");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("OccupancyTopAssets.pdf")}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"vacancyTrendsTop5Assets",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loading"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Occupancy - Top 10 Assets"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&this.state.which_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No graph"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Occupancy - Top 10 Assets"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&this.state.which_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Occupancy - Top 10 Assets"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:_i,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Occupancy - Top 10 Assets"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"vacancyTrendsTop5Assets",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:_i,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}
1),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Ei,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Ei.contextType=Wt;var Ui=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Ei);class Ri extends i.a.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,e){}render(){return this.state.hasError?Object(M.jsx)("p",{children:"Something went wrong."}):this.props.children}}var Yi=Ri;const{Column:Qi,HeaderCell:ki,Cell:Pi}=fe.a;class Gi extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,section:"asset"},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),showLoader:!0,showGraph:!1,page:1,hasMore:!0});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("section","asset"),s.append("page",1),jt.post("api/edge/office/get_recent_news",s).then((t=>{this.setState({data:t.data||[],showLoader:!1,newsLoading:!1,hasMore:t.data&&t.data.length>0})}))},this.fetchMoreData=()=>{if(this.state.newsLoading)return;this.setState({newsLoading:!0});let t=this.state.page+1,e="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,a=new FormData;a.append("filter",JSON.stringify(e)),a.append("section","asset"),a.append("page",t),jt.post("api/edge/office/get_recent_news",a).then((e=>{this.setState((a=>({data:[...a.data,...e.data||[]],page:t,newsLoading:!1,hasMore:e.data&&e.data.length>0})))}))},this.getComplexNames=t=>{if(!t)return null;let e=t.split(",");return e.map(((t,a)=>Object(M.jsxs)(n.b,{target:"_blank",to:H("complex",t),children:[t,a<e.length-1?", ":""]},"complex-".concat(a))))},this.state={filters:"",showLoader:!1,showGraph:!1,data:[],loading:!1,tableHeight:400,bodyParams:"",page:1,newsLoading:!1,hasMore:!0}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recent News"})}),this.state.showLoader&&Object(M.jsx)("div",{className:"col-lg-12 text-center my-3",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})}),!this.state.showLoader&&this.state.data.length>0&&Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(Aa.a,{dataLength:this.state.data.length,next:this.fetchMoreData,hasMore:this.state.hasMore,height:200,endMessage:Object(M.jsx)("p",{style:{textAlign:"center",paddingTop:"10px"},children:Object(M.jsx)("b",{children:"Yay! You have seen it all"})}),children:Object(M.jsxs)(fe.a,{striped:!0,bordered:!0,style:{width:"100%",height:"200px"},className:"newsTable",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:"News Heading"}),Object(M.jsx)("th",{children:"Segment"}),Object(M.jsx)("th",{children:"Assets in News"}),Object(M.jsx)("th",{children:"Source"}),Object(M.jsx)("th",{children:"Date"})]})}),Object(M.jsx)("tbody",{children:this.state.data.map(((t,e)=>Object(M.jsxs)("tr",{style:{height:"60px"},children:[Object(M.jsx)("td",{children:Object(M.jsx)("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",children:t.title})}),Object(M.jsx)("td",{children:t.segment}
1),Object(M.jsx)("td",{children:this.getComplexNames(t.complex_names)}),Object(M.jsx)("td",{children:t.source}),Object(M.jsx)("td",{children:R(t.timestamp).format("Do MMM YYYY")})]},"news-".concat(e))))})]})})}),!this.state.showLoader&&0===this.state.data.length&&Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("h6",{className:"mt-3",children:"No Data Found"})})]})})}}Gi.contextType=Wt;var Li=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Gi),Vi=a(201),zi=(a(725),a(328)),Ji=a(218),Wi=a(154),Hi=(a(726),a(221)),Zi=a(35);a(238);const Xi=()=>{var t=new FormData;return t.append("screener","edge_office_supply"),t},Ki=(t,e,a)=>{var s=new FormData;return s.append("path","/edge/office/asset"),s.append("hash",t),s.append("action","export"),s.append("extra_data",e),s.append("count",a),s},qi=(t,e,a,s,i)=>{var l=new FormData;return l.append("page",t),l.append("futureRentDate",e),l.append("filter",a),l.append("sortBy",s),l.append("sortOrder",i),l},$i=t=>{var e=new FormData;return e.append("creID",t),e.append("screener","lease"),e};class tl extends i.a.Component{constructor(t){super(t),this.state={showLoader:!1,totalFilteredRecord:null,showLeaseActions:!0,errorMessage:'You do not have enough privileges to download data\n                        Kindly contact\n                        <a href="mailto:[email protected]">\n                          [email protected]\n                        </a>',load:!1,sortBy:null,sortOrder:null,showImageLoader:!1,startDate:new Date,futureRentDate:(new Date).toISOString().split("T")[0],averages:[],headerUnits:[],page:1,transactionData:[],noRows:!1,numberOfColumns:20,columns:[],fixedColumnsCount:2,fillTableWidth:!1,displayBottomUpwards:!1,infiniteScrolling:!0,rows:[],rowIdKey:"",isInfiniteLoading:!1,selectedRows:{},canSelectMultipleRows:!0,filters:"",isOpen:!1,isOpenDocModal:!1,isOpenColumnsModal:!1,isOpenExcelModal:!1,isOpenPngModal:!1,isOpenTimeModal:!1,isOpenNotesModal:!1,showDerivedCols:!0,selectAll:!0,isOpenDownloadModal:!1,currentArray:[],dragArray:[],dropdownTxt:"Hide Derived Data",creId:"",creIdDoc:"",numPages:"",pageNumber:1,docUrl:"",downloadColumns:[],checkedCsvCol:[],imgPath:"",isOpenErrorDisplayModal:!1},this.onFillTableWidth=t=>{this.setState({fillTableWidth:t})},this.onInfiniteScrolling=t=>{clearTimeout(this._loadRowsTimeout),this.setState({noRows:!1,isInfiniteLoading:!1})},this.onInfiniteLoad=()=>{const t=this.state.rows;this.state.page=this.state.page+1,this.setState({isInfiniteLoading:!0}),jt.post("api/edge/office/get_supply_transactions",qi(this.state.page,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((e=>{for(let a=0;a<e.data.rows.length;a++)t.push(e.data.rows[a]);this.setState({transactionData:e.data,rows:t,isInfiniteLoading:!1,infiniteScrolling:!1})}))},this.scrollTableToTop=t=>{requestAnimationFrame((()=>{if(t&&t.current){const e=t.current.getBoundingClientRect().top+window.pageYOffset-20;window.scrollTo({top:e,behavior:"smooth"});const a=t.current.getElementsByTagName("div");for(let t=0;t<a.length;t++){const e=window.getComputedStyle(a[t]);a[t].scrollHeight>a[t].clientHeight&&("auto"===e.overflowY||"scroll"===e.overflowY||"auto"===e.overflow||"scroll"===e.overflow)&&(a[t].scrollTop=0)}}}))},this.goToPage=t=>{if(t<1||this.state.showLoader)return;const e=this.state.page;this.setState({showLoader:!0,page:t},(()=>{jt.post("api/edge/office/get_supply_transactions",qi(this.state.page,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((a=>{const s=Array.isArray(a.data.rows)?a.data.rows:[];if(0===s.length&&t>1){const a=t-1;this.setState({showLoader:!0,page:a},(()=>{jt.post("api/edge/office/get_supply_transactions",qi(a,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{this.setState({transactionData:t.data,rows:Array.isArray(t.data.rows)?t.data.rows:[],showLoader:!1,totalFilteredRecord:t.data.recordsFiltered}),this.scrollTableToTop(this.tableRef)})).catch((()=>{this.setState({showLoader:!1,page:e})}))}))}else this.setState({transactionData:a.data,rows:s,showLoader:!1,totalFilteredRecord:a.data.recordsFiltered}),this.scrollTableToTop(this.tableRef)})).catch((()=>{this.setState({showLoader:!1,page:e})}))}))},this.renderPaginationControls=(t,e,a,s,i)=>{const l=parseInt(String(e).replace(/,/g,""),10)||0,o=a||50,c=Math.max(1,Math.ceil(l/o));if(c<=1)return null;let n=Math.max(1,t-2),r=Math.min(c,n+4);r-n<4&&(n=Math.max(1,r-4));const d=[];for(let h=n;h<=r;h++)d.push(h);return Object(M.jsxs)("div",{className:"custom-pagination-wrapper d-flex align-items-center w-100",style:{padding:"12px 20px",backgroundColor:"#f5f5f5",borderTop:"1px solid #e0e0e0",fontSize:"14px"},children:[Object(M.jsx)("div",{className:"d-flex align-items-center justify-content-start",style:{flex:1},children:Object(M.jsxs)("p",{style:{margin:0,color:"#333",fontWeight:"500",fontSize:"12px"},children:[Object(M.jsx)("span",{style:{fontWeight:"500",fontSize:"12px"},children:"Note:"})," ","Passing Rent - ( \u20b9 psf: office spaces only)"]}
1)}),Object(M.jsxs)("div",{className:"d-flex align-items-center justify-content-center",style:{flex:2,gap:"10px"},children:[Object(M.jsx)("span",{style:{cursor:t<=1||i?"not-allowed":"pointer",color:t<=1?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t>1&&!i&&s(1)},children:Object(M.jsx)("svg",{width:"14",height:"12",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(M.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.43211 7.81586C9.20243 8.05473 8.82261 8.06218 8.58374 7.8325L4.98374 4.4325C4.8661 4.31938 4.79961 4.16321 4.79961 4C4.79961 3.83679 4.8661 3.68062 4.98374 3.5675L8.58374 0.1675C8.82261 -0.0621766 9.20243 -0.0547285 9.43211 0.184134C9.66178 0.422997 9.65434 0.802823 9.41547 1.0325L6.26527 4L9.41547 6.9675C9.65434 7.19718 9.66178 7.577 9.43211 7.81586ZM4.63211 7.81586C4.40243 8.05473 4.02261 8.06218 3.78374 7.8325L0.183742 4.4325C0.066095 4.31938 -0.000392296 4.16321 -0.00039231 4C-0.000392324 3.83679 0.066095 3.68062 0.183742 3.5675L3.78374 0.1675C4.02261 -0.0621762 4.40243 -0.0547281 4.63211 0.184134C4.86178 0.422997 4.85434 0.802823 4.61547 1.0325L1.46527 4L4.61547 6.9675C4.85434 7.19718 4.86178 7.577 4.63211 7.81586Z",fill:"currentColor"})})}),Object(M.jsx)("span",{style:{cursor:t<=1||i?"not-allowed":"pointer",color:t<=1?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t>1&&!i&&s(t-1)},children:Object(M.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(M.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.63328 0.184136C4.86296 0.422999 4.85551 0.802824 4.61665 1.0325L1.46645 4L4.61665 6.9675C4.85551 7.19718 4.86296 7.577 4.63328 7.81587C4.4036 8.05473 4.02378 8.06218 3.78491 7.8325L0.184914 4.4325C0.0672672 4.31938 0.000779924 4.16321 0.000779931 4C0.000779938 3.83679 0.0672673 3.68062 0.184914 3.5675L3.78492 0.167501C4.02378 -0.0621752 4.4036 -0.0547276 4.63328 0.184136Z",fill:"currentColor"})})}),d.map((e=>Object(M.jsx)("span",{style:{cursor:i?"not-allowed":"pointer",color:e===t?"#2f80ed":"#666",backgroundColor:e===t?"#fff":"transparent",border:e===t?"1px solid":"transparent",padding:"4px 12px",borderRadius:"4px",fontWeight:e===t?"600":"400"},onClick:()=>{i||s(e)},children:e},e))),Object(M.jsx)("span",{style:{cursor:t>=c||i?"not-allowed":"pointer",color:t>=c?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t<c&&!i&&s(t+1)},children:Object(M.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(M.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.167501 7.81586C-0.0621751 7.577 -0.0547276 7.19718 0.184136 6.9675L3.33434 4L0.184135 1.0325C-0.0547279 0.802823 -0.0621754 0.422997 0.167501 0.184134C0.397177 -0.0547285 0.777003 -0.0621767 1.01587 0.167499L4.61587 3.5675C4.73351 3.68062 4.8 3.83679 4.8 4C4.8 4.16321 4.73351 4.31938 4.61587 4.4325L1.01587 7.8325C0.777003 8.06218 0.397177 8.05473 0.167501 7.81586Z",fill:"currentColor"})})}),Object(M.jsx)("span",{style:{cursor:t>=c||i?"not-allowed":"pointer",color:t>=c?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t<c&&!i&&s(c)},children:Object(M.jsxs)("svg",{width:"14",height:"12",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(M.jsx)("path",{d:"M0.184136 6.9675C-0.0547272 7.19718 -0.0621748 7.577 0.167501 7.81587C0.397177 8.05473 0.777003 8.06218 1.01587 7.8325L4.61587 4.4325C4.73351 4.31938 4.8 4.16321 4.8 4C4.8 3.83679 4.73351 3.68062 4.61587 3.5675L1.01587 0.167501C0.777003 -0.0621752 0.397177 -0.0547274 0.167501 0.184135C-0.0621751 0.422999 -0.0547276 0.802824 0.184135 1.0325L3.33434 4L0.184136 6.9675Z",fill:"currentColor"}),Object(M.jsx)("path",{d:"M4.98414 6.9675C4.74527 7.19718 4.73783 7.577 4.9675 7.81587C5.19718 8.05473 5.577 8.06218 5.81587 7.8325L9.41587 4.4325C9.53351 4.31938 9.6 4.16321 9.6 4C9.6 3.83679 9.53351 3.68062 9.41587 3.5675L5.81587 0.167501C5.577 -0.0621752 5.19718 -0.0547274 4.9675 0.184135C4.73783 0.422999 4.74527 0.802824 4.98414 1.0325L8.13434 4L4.98414 6.9675Z",fill:"currentColor"})]})})]}),Object(M.jsx)("div",{style:{flex:1}})]})},this.onFixedColumnsCountChange=t=>{this.setState({fixedColumnsCount:t})},this.onColumnWidthChange=(t,e)=>{const a=[...this.state.columns];a[t]=Object(h.a)(Object(h.a)({},a[t]),{},{width:e}),this.setState({columns:a})},this.onSelectionChange=t=>{this.setState({selectedRows:t})},this.setCanSelectMultipleRows=t=>{this.setState({canSelectMultipleRows:t})},this.handleOnDragEnd=t=>{if(!t.destination)return;const e=[...this.state.dragArray],[a]=e.splice(t.source.index,1),{visible:s,static:i}=e[t.destination.index];e.splice(t.destination.index,0,a),e[t.destination.index].visible=s,e[t.destination.index].static=i,this.setState({dragArray:e})},this.openModal=()=>{this.setState({dragArray:this.state.currentArray},(()=>{})),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openTimeModal=()=>{this.setState({isOpenTimeModal:!0})},this.closeTimeModal=()=>this.setState({isOpenTimeModal:!1}
1),this.openNotesModal=()=>{this.setState({isOpenNotesModal:!0})},this.closeNotesModal=()=>this.setState({isOpenNotesModal:!1}),this.openModalColumn=()=>{0===this.props.downloadOption.edge_office_export?this.setState({isOpenErrorDisplayModal:!0}):this.setState({isOpenColumnsModal:!0})},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.closeModalColumn=()=>this.setState({isOpenColumnsModal:!1}),this.openModalExcel=()=>{0===this.props.downloadOption.edge_office_export?this.setState({isOpenErrorDisplayModal:!0}):this.setState({isOpenExcelModal:!0})},this.closeModalExcel=()=>this.setState({isOpenExcelModal:!1}),this.openModalPng=()=>{0===this.props.downloadOption.edge_office_export_pdf?this.setState({isOpenErrorDisplayModal:!0}):0==Object.keys(this.state.selectedRows).length?alert("Select atleast 1 row before exporting as PNG."):this.setState({isOpenPngModal:!0})},this.closeModalPng=()=>this.setState({isOpenPngModal:!1}),this.openModalDownload=()=>{this.setState({isOpenDownloadModal:!0})},this.closeModalDownload=()=>this.setState({isOpenDownloadModal:!1}),this.openModalDoc=t=>{t=t.split("-").pop(),this.setState({creIdDoc:t},(()=>{jt.post("api/screener/view-document",$i(this.state.creIdDoc)).then((t=>{this.setState({isOpenDocModal:!0,docUrl:t.data.request},(()=>{}))}))}))},this.closeModalDoc=()=>this.setState({isOpenDocModal:!1}),this.downloadPngImg=()=>{Object(Hi.saveAs)(this.state.imgPath,"image.png")},this.resetColumns=()=>{this.closeModal(),this.setState({showLoader:!0});var t=new FormData;t.append("screener","edge_office_supply"),t.append("reset","1"),t.append("colPref","1"),jt.post("api/edge/office/save_user_col_pref",t).then((t=>{jt.post("api/edge/office/get_user_col_pref",Xi()).then((t=>{this.setState({currentArray:JSON.parse(t.data[0].preference),dragArray:JSON.parse(t.data[0].preference),downloadColumns:JSON.parse(t.data[0].preference)},(()=>{let e=JSON.parse(t.data[0].preference),a=[];for(let t=0;t<e.length;t++)a.push(e[t].name);this.setState({checkedCsvCol:a,checkedCsvColSale:a},(()=>{})),jt.post("api/edge/office/get_supply_transactions",qi(this.state.page,this.state.futureRentDate,JSON.stringify(this.props.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{this.setState({averages:t.data.averages,headerUnits:t.data.columns.unit,showLoader:!1});var e=this.state.dragArray.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[],s=0,i=0,l=0,o=0,c=0,r=0,d=0,h=0,A=0,x=0,b=0;for(let n=0;n<e.length;n++)"Building ID"==e[n]&&(s=n),"Carpet Area"==e[n]&&(i=n),"Leasable Area"==e[n]&&(l=n),"Efficiency"==e[n]&&(o=n),"Occupied Chargeable Area"==e[n]&&(c=n),"Passing Rent"==e[n]&&(r=n),"Occupancy Percent"==e[n]&&(d=n),"Grade"==e[n]&&(h=n),"Building Category"==e[n]&&(A=n),"Building Closure Date"==e[n]&&(x=n),"Completion Date"==e[n]&&(b=n);for(let m=0;m<e.length;m++)a.push({i:m,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:i,rowIndex:l,className:o}=t,c=null;m==Number(this.state.fixedColumnsCount)-1&&(c="rgba(0, 0, 0, 0.16) 0px 1px 4px");var r=[];try{r=JSON.parse(i.derived_columns)}catch(h){r=[]}if(1==this.state.showDerivedCols&&r.indexOf(e[m])>-1)return Object(M.jsx)("td",{className:o+" rightAlignNumber",style:{background:"#ff9515",color:"#FFF",boxShadow:c},children:i[e[m]]});if("Active Leased Area"==e[m]){var d='{"complex":[{"id":"b-'.concat(J()(i.Asset),'","value":"').concat(i.Asset,'","label":"').concat(i.Asset,'"}],"building":[{"id":"b-').concat(J()(i.Building),'","value":"').concat(i.Building,'","label":"').concat(i.Building,'"}]}');return d="/office/transaction/?filter="+encodeURIComponent(d),Object(M.jsx)("td",{style:{boxShadow:c},className:o+" rightAlignNumber",children:Object(M.jsx)(n.b,{target:"_blank",to:d,children:i["Active Leased Area"]})})}return"Building ID"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," firstColWidth"),title:i[e[m]],children:i[e[m]]}):"Leasable Area"==e[m]||"Carpet Area"==e[m]||"Efficiency"==e[m]||"Occupied Chargeable Area"==e[m]||"Passing Rent"==e[m]||"Occupancy Percent"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," rightAlignNumber"),title:i[e[m]],children:i[e[m]]}):"Building Category"==e[m]||"Completion Date"==e[m]||"Building Closure Date"==e[m]||"Grade"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," smallerColumnWidth"),title:i[e[m]],children:i[e[m]]}):"Download"==e[m]&&1===i.Download?Object(M.jsx)("td",{className:o,style:{boxShadow:c},onClick:t=>{this.downloadRowData(i["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[m]&&0===i.Download?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"View Document"==e[m]&&1===i["View Document"]?Object(M.jsx)("td",{className:o,style:{boxShadow:c},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(i["CRE ID"])},children:"View"})}):"View Document"==e[m]&&0===i["View Document"]?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"Select"==e[m]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("td",{style:{boxShadow:c},className:o,title:i[e[m]],children:this.linkingUrl(e[m],i[e[m]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,l=null;return m==Number(this.state.fixedColumnsCount)-1&&(l="rgb(81, 124, 202) 5px 0px 6px -2px"),"Select"==e[m]?Object(M.jsx)(M.Fragment,{}):"Building Category"==e[m]||"Completion Date"==e[m]||"Building Closure Date"==e[m]||"Grade"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" smallerColumnWidth",style:{boxShadow:l}
1,children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):"Building ID"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" firstHeader",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):"Leasable Area"==e[m]||"Carpet Area"==e[m]||"Efficiency"==e[m]||"Occupied Chargeable Area"==e[m]||"Passing Rent"==e[m]||"Occupancy Percent"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" headerCenter",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i,style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})})},footerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,l=void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum?this.state.averages[e[m]].sum.toString():0;return void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum&&parseFloat(l.replace(/,/g,""))>0?Object(M.jsxs)("td",{title:"".concat(this.state.averages[e[m]].avg,",\n                    \n                    ").concat(this.state.averages[e[m]].sum),style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[e[m]].avg,Object(M.jsx)("br",{}),this.state.averages[e[m]].sum]}):void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum&&0==parseFloat(l.replace(/,/g,""))?Object(M.jsxs)("td",{title:this.state.averages[e[m]].avg,style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[e[m]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[s].width=60,a[i].width=80,a[l].width=80,a[o].width=70,a[c].width=80,a[r].width=80,a[d].width=70,a[h].width=100,a[A].width=80,a[x].width=70,a[b].width=100,this.setState({columns:a}),this.setState({rows:t.data.rows}),this.setState({transactionData:t.data})}));let s=0;for(let t=0;t<this.state.dragArray.length;t++)1==this.state.dragArray[t].static&&1==this.state.dragArray[t].visible&&(s+=1),this.setState({fixedColumnsCount:s})}))}))}))},this.pageSize=null,this.tableRef=i.a.createRef()}linkingUrl(t,e){return"Complex"==t||"Asset"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("complex",e),children:e}):"Tenant"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",e),children:e}):"Micro Market"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",e),children:e}):"Developer"==t?"Others (Entity)"==e?e:Object(M.jsx)(n.b,{target:"_blank",to:H("developer",e),children:e}):"Market"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("city",e),children:e}):"Macro Market"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("macromarket",e),children:e}):"Landlord"==t?Object(M.jsx)("span",{children:e}):"View on Map"==t?Object(M.jsx)("a",{target:"_blank",href:e,children:Object(M.jsx)(p.a,{icon:j.l,height:"500",width:"500"})}):"Select"==t?Object(M.jsx)(M.Fragment,{}):e}componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{})),this.setState({load:!0})}fetchNewData(){this.setState({showLoader:!0}),jt.post("api/edge/office/get_supply_transactions",qi(this.state.page,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{this.setState({averages:t.data.averages,headerUnits:t.data.columns.unit,showLoader:!1,totalFilteredRecord:t.data.recordsFiltered});var e=this.state.dragArray.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[],s=0,i=0,l=0,o=0,c=0,r=0,d=0,h=0,A=0,x=0,b=0;for(let n=0;n<e.length;n++)"Building ID"==e[n]&&(s=n),"Carpet Area"==e[n]&&(i=n),"Leasable Area"==e[n]&&(l=n),"Efficiency"==e[n]&&(o=n),"Occupied Chargeable Area"==e[n]&&(c=n),"Passing Rent"==e[n]&&(r=n),"Occupancy Percent"==e[n]&&(d=n),"Grade"==e[n]&&(h=n),"Building Category"==e[n]&&(A=n),"Building Closure Date"==e[n]&&(x=n),"Completion Date"==e[n]&&(b=n);for(let m=0;m<e.length;m++)a.push({i:m,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:i,rowIndex:l,className:o}=t,c=null;m==Number(this.state.fixedColumnsCount)-1&&(c="rgba(0, 0, 0, 0.16) 0px 1px 4px");var r=[];try{r=JSON.parse(i.derived_columns)}catch(h){r=[]}if(1==this.state.showDerivedCols&&r.indexOf(e[m])>-1)return Object(M.jsx)("td",{className:o+" rightAlignNumber",style:{background:"#ff9515",color:"#FFF",boxShadow:c},children:i[e[m]]});if("Active Leased Area"==e[m]){var d='{"complex":[{"id":"b-'.concat(J()(i.Asset),'","value":"').concat(i.Asset,'","label":"').concat(i.Asset,'"}],"building":[{"id":"b-').concat(J()(i.Building),'","value":"').concat(i.Building,'","label":"').concat(i.Building,'"}]}');return d="/office/transaction/?filter="+encodeURIComponent(d),Object(M.jsx)("td",{style:{boxShadow:c},className:o+" rightAlignNumber",children:Object(M.jsx)(n.b,{target:"_blank",to:d,children:i["Active Leased Area"]})})}return"Building ID"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," firstColWidth"),title:i[e[m]],children:i[e[m]]}):"Leasable Area"==e[m]||"Carpet Area"==e[m]||"Efficiency"==e[m]||"Occupied Chargeable Area"==e[m]||"Passing Rent"==e[m]||"Occupancy Percent"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," rightAlignNumber"),title:i[e[m]],children:i[e[m]]}):"Building Category"==e[m]||"Completion Date"==e[m]||"Building Closure Date"==e[m]||"Grade"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," smallerColumnWidth"),title:i[e[m]],children:i[e[m]]}):"Download"==e[m]&&1===i.Download?Object(M.jsx)("td",{className:o,style:{boxShadow:c},onClick:t=>{this.downloadRowData(i["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[m]&&0===i.Download?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"View Document"==e[m]&&1===i["View Document"]?Object(M.jsx)("td",{className:o,style:{boxShadow:c},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(i["CRE ID"])},children:"View"})}):"View Document"==e[m]&&0===i["View Document"]?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"Select"==e[m]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("td",{style:{boxShadow:c},className:o,title:i[e[m]],children:this.linkingUrl(e[m],i[e[m]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,l=null;return m==Number(this.state.fixedColumnsCount)-1&&(l="rgb(81, 124, 202) 5px 0px 6px -2px"),"Select"==e[m]?Object(M.jsx)(M.Fragment,{}):"Building Category"==e[m]||"Completion Date"==e[m]||"Building Closure Date"==e[m]||"Grade"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" smallerColumnWidth",style:{boxShadow:l}
1,children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):"Building ID"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" firstHeader",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):"Leasable Area"==e[m]||"Carpet Area"==e[m]||"Efficiency"==e[m]||"Occupied Chargeable Area"==e[m]||"Passing Rent"==e[m]||"Occupancy Percent"==e[m]||"Building ID"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" headerCenter",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i,style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})})},footerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,l=void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum?this.state.averages[e[m]].sum.toString():0;return void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum&&parseFloat(l.replace(/,/g,""))>0?Object(M.jsxs)("td",{title:"".concat(this.state.averages[e[m]].avg,",\n                    \n                    ").concat(this.state.averages[e[m]].sum),style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[e[m]].avg,Object(M.jsx)("br",{}),this.state.averages[e[m]].sum]}):void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum&&0==parseFloat(l.replace(/,/g,""))?Object(M.jsxs)("td",{title:this.state.averages[e[m]].avg,style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[e[m]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[s].width=60,a[i].width=80,a[l].width=80,a[o].width=70,a[c].width=80,a[r].width=80,a[d].width=70,a[h].width=100,a[A].width=80,a[x].width=70,a[b].width=100,this.setState({columns:a}),this.setState({rows:t.data.rows},(()=>{this.state.rows.length<20&&this.setState({infiniteScrolling:!1})})),this.setState({transactionData:t.data})}));let t=0;for(let e=0;e<this.state.dragArray.length;e++)1==this.state.dragArray[e].static&&1==this.state.dragArray[e].visible&&(t+=1),this.setState({fixedColumnsCount:t})}headerView(t,e){return Object(M.jsxs)("div",{className:"showSortIcons",onClick:()=>{this.state.sortBy!=t?this.setState({sortBy:t,sortOrder:"asc",page:1},(()=>{this.fetchNewData()})):"asc"==this.state.sortOrder?this.setState({sortOrder:"desc",page:1},(()=>{this.fetchNewData()})):this.setState({sortOrder:"asc",page:1},(()=>{this.fetchNewData()}))},children:[Object(M.jsxs)("div",{children:[t,"",t==this.state.sortBy?"asc"==this.state.sortOrder?Object(M.jsx)(p.a,{style:{paddingLeft:"5px",paddingTop:"4px",fontSize:"15px"},icon:j.a}):Object(M.jsx)(p.a,{style:{paddingLeft:"5px",paddingTop:"4px",fontSize:"15px"},icon:j.b}):Object(M.jsx)(M.Fragment,{})," ",Object(M.jsxs)("p",{children:[" ",e," "]})]}),Object(M.jsx)("span",{className:"hover-icon",children:Object(M.jsx)(p.a,{icon:j.p})})]})}componentDidUpdate(t,e){1===this.state.page&&this.state.rows.length>0&&this.state.rows!==e.rows&&(this.pageSize=this.state.rows.length),this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),this.setState({showLoader:!0}),jt.post("api/edge/office/get_user_col_pref",Xi()).then((t=>{this.setState({currentArray:JSON.parse(t.data[0].preference),dragArray:JSON.parse(t.data[0].preference),downloadColumns:JSON.parse(t.data[0].preference)},(()=>{let e=JSON.parse(t.data[0].preference),a=[];for(let t=0;t<e.length;t++)a.push(e[t].name);this.setState({checkedCsvCol:a,checkedCsvColSale:a},(()=>{})),jt.post("api/edge/office/get_supply_transactions",qi(this.state.page,this.state.futureRentDate,JSON.stringify(this.props.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{this.setState({averages:t.data.averages,headerUnits:t.data.columns.unit,showLoader:!1,totalFilteredRecord:t.data.recordsFiltered});var e=this.state.dragArray.filter((function(t){return!0===t.visible})).map((t=>
1t.name)),a=[],s=0,i=0,l=0,o=0,c=0,r=0,d=0,h=0,A=0,x=0,b=0;for(let n=0;n<e.length;n++)"Building ID"==e[n]&&(s=n),"Carpet Area"==e[n]&&(i=n),"Leasable Area"==e[n]&&(l=n),"Efficiency"==e[n]&&(o=n),"Occupied Chargeable Area"==e[n]&&(c=n),"Passing Rent"==e[n]&&(r=n),"Occupancy Percent"==e[n]&&(d=n),"Grade"==e[n]&&(h=n),"Building Category"==e[n]&&(A=n),"Building Closure Date"==e[n]&&(x=n),"Completion Date"==e[n]&&(b=n);for(let m=0;m<e.length;m++)a.push({i:m,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:i,rowIndex:l,className:o}=t,c=null;m==Number(this.state.fixedColumnsCount)-1&&(c="rgba(0, 0, 0, 0.16) 0px 1px 4px");var r=[];try{r=JSON.parse(i.derived_columns)}catch(h){r=[]}if(1==this.state.showDerivedCols&&r.indexOf(e[m])>-1)return Object(M.jsx)("td",{className:o+" rightAlignNumber",style:{background:"#ff9515",color:"#FFF",boxShadow:c},children:i[e[m]]});if("Active Leased Area"==e[m]){var d='{"complex":[{"id":"b-'.concat(J()(i.Asset),'","value":"').concat(i.Asset,'","label":"').concat(i.Asset,'"}],"building":[{"id":"b-').concat(J()(i.Building),'","value":"').concat(i.Building,'","label":"').concat(i.Building,'"}]}');return d="/office/transaction/?filter="+encodeURIComponent(d),Object(M.jsx)("td",{style:{boxShadow:c},className:o+" rightAlignNumber",children:Object(M.jsx)(n.b,{target:"_blank",to:d,children:i["Active Leased Area"]})})}return"Building ID"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," firstColWidth"),title:i[e[m]],children:i[e[m]]}):"Leasable Area"==e[m]||"Carpet Area"==e[m]||"Efficiency"==e[m]||"Occupied Chargeable Area"==e[m]||"Passing Rent"==e[m]||"Occupancy Percent"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," rightAlignNumber"),title:i[e[m]],children:i[e[m]]}):"Building Category"==e[m]||"Completion Date"==e[m]||"Building Closure Date"==e[m]||"Grade"==e[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," smallerColumnWidth"),title:i[e[m]],children:i[e[m]]}):"Download"==e[m]&&1===i.Download?Object(M.jsx)("td",{className:o,style:{boxShadow:c},onClick:t=>{this.downloadRowData(i["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[m]&&0===i.Download?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"View Document"==e[m]&&1===i["View Document"]?Object(M.jsx)("td",{className:o,style:{boxShadow:c},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(i["CRE ID"])},children:"View"})}):"View Document"==e[m]&&0===i["View Document"]?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"Select"==e[m]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("td",{style:{boxShadow:c},className:o,title:i[e[m]],children:this.linkingUrl(e[m],i[e[m]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,l=null;return m==Number(this.state.fixedColumnsCount)-1&&(l="rgb(81, 124, 202) 5px 0px 6px -2px"),"Select"==e[m]?Object(M.jsx)(M.Fragment,{}):"Building Category"==e[m]||"Completion Date"==e[m]||"Building Closure Date"==e[m]||"Grade"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" smallerColumnWidth",style:{boxShadow:l}
1,children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):"Building ID"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" firstHeader",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):"Leasable Area"==e[m]||"Carpet Area"==e[m]||"Efficiency"==e[m]||"Occupied Chargeable Area"==e[m]||"Passing Rent"==e[m]||"Occupancy Percent"==e[m]?Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i+" headerCenter",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})}):Object(M.jsx)("th",{title:e[m]+" "+this.state.headerUnits[e[m]],className:i,style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(e[m],this.state.headerUnits[e[m]])})})},footerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,l=void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum?this.state.averages[e[m]].sum.toString():0;return void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum&&parseFloat(l.replace(/,/g,""))>0?Object(M.jsxs)("td",{title:"".concat(this.state.averages[e[m]].avg,",\n                    \n                    ").concat(this.state.averages[e[m]].sum),style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[e[m]].avg,Object(M.jsx)("br",{}),this.state.averages[e[m]].sum]}):void 0!=this.state.averages[e[m]]&&"undefined"!=typeof this.state.averages[e[m]].sum&&0==parseFloat(l.replace(/,/g,""))?Object(M.jsxs)("td",{title:this.state.averages[e[m]].avg,style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[e[m]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[s].width=60,a[i].width=80,a[l].width=80,a[o].width=70,a[c].width=80,a[r].width=80,a[d].width=70,a[h].width=100,a[A].width=80,a[x].width=70,a[b].width=100,this.setState({columns:a}),this.setState({rows:t.data.rows},(()=>{this.state.rows.length<20&&this.setState({infiniteScrolling:!1})})),this.setState({transactionData:t.data})}));let s=0;for(let t=0;t<this.state.dragArray.length;t++)1==this.state.dragArray[t].static&&1==this.state.dragArray[t].visible&&(s+=1),this.setState({fixedColumnsCount:s})}))})))}showDerivedColumns(){this.state.showDerivedCols;!0===this.state.showDerivedCols?this.setState({showDerivedCols:!1}):this.setState({showDerivedCols:!0});var t=this.state.dragArray.filter((function(t){return!0===t.visible})).map((t=>t.name)),e=[],a=0,s=0,i=0,l=0,o=0,c=0,r=0,d=0,h=0,A=0,x=0;for(let n=0;n<t.length;n++)"Building ID"==t[n]&&(a=n),"Carpet Area"==t[n]&&(s=n),"Leasable Area"==t[n]&&(i=n),"Efficiency"==t[n]&&(l=n),"Occupied Chargeable Area"==t[n]&&(o=n),"Passing Rent"==t[n]&&(c=n),"Occupancy Percent"==t[n]&&(r=n),"Grade"==t[n]&&(d=n),"Building Category"==t[n]&&(h=n),"Building Closure Date"==t[n]&&(A=n),"Completion Date"==t[n]&&(x=n);for(let b=0;b<t.length;b++)e.push({i:b,cellRenderer:e=>{let{columnIndex:a,column:s,rowData:i,rowIndex:l,className:o}=e,c=null;b==Number(this.state.fixedColumnsCount)-1&&(c="rgba(0, 0, 0, 0.16) 0px 1px 4px");var r=[];try{r=JSON.parse(i.derived_columns)}catch(h){r=[]}if(1==this.state.showDerivedCols&&r.indexOf(t[b])>-1)return Object(M.jsx)("td",{className:o+" rightAlignNumber",style:{background:"#ff9515",color:"#FFF",boxShadow:c},children:i[t[b]]});if("Active Leased Area"==t[b]){var d='{"complex":[{"id":"b-'.concat(J()(i.Asset),'","value":"').concat(i.Asset,'","label":"').concat(i.Asset,'"}],"building":[{"id":"b-').concat(J()(i.Building),'","value":"').concat(i.Building,'","label":"').concat(i.Building,'"}]}');return d="/office/transaction/?filter="+encodeURIComponent(d),Object(M.jsx)("td",{style:{boxShadow:c},className:o+" rightAlignNumber",children:Object(M.jsx)(n.b,{target:"_blank",to:d,children:i["Active Leased Area"]})})}return"Building ID"==t[b]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," firstColWidth"),title:i[t[b]],children:i[t[b]]}):"Leasable Area"==t[b]||"Carpet Area"==t[b]||"Efficiency"==t[b]||"Occupied Chargeable Area"==t[b]||"Passing Rent"==t[b]||"Occupancy Percent"==t[b]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," rightAlignNumber"),title:i[t[b]],children:i[t[b]]}):"Building Category"==t[b]||"Completion Date"==t[b]||"Building Closure Date"==t[b]||"Grade"==t[b]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," smallerColumnWidth"),title:i[t[b]],children:i[t[b]]}):"Download"==t[b]&&1===i.Download?Object(M.jsx)("td",{className:o,style:{boxShadow:c},onClick:t=>{this.downloadRowData(i["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==t[b]&&0===i.Download?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"View Document"==t[b]&&1===i["View Document"]?Object(M.jsx)("td",{className:o,style:{boxShadow:c},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(i["CRE ID"])},children:"View"})}):"View Document"==t[b]&&0===i["View Document"]?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"Select"==t[b]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("td",{style:{boxShadow:c},className:o,title:i[t[b]],children:this.linkingUrl(t[b],i[t[b]])})},headerRenderer:e=>{let{columnIndex:a,column:s,className:i}=e,l=null;return b==Number(this.state.fixedColumnsCount)-1&&(l="rgb(81, 124, 202) 5px 0px 6px -2px"),"Select"==t[b]?Object(M.jsx)(M.Fragment,{}):"Building Category"==t[b]||"Completion Date"==t[b]||"Building Closure Date"==t[b]||"Grade"==t[b]?Object(M.jsx)("th",{title:t[b]+" "+this.state.headerUnits[t[b]],className:i+" smallerColumnWidth",style:{boxShadow:l}
1,children:Object(M.jsx)("p",{children:this.headerView(t[b],this.state.headerUnits[t[b]])})}):"Building ID"==t[b]?Object(M.jsx)("th",{title:t[b]+" "+this.state.headerUnits[t[b]],className:i+" firstHeader",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(t[b],this.state.headerUnits[t[b]])})}):"Leasable Area"==t[b]||"Carpet Area"==t[b]||"Efficiency"==t[b]||"Occupied Chargeable Area"==t[b]||"Passing Rent"==t[b]||"Occupancy Percent"==t[b]?Object(M.jsx)("th",{title:t[b]+" "+this.state.headerUnits[t[b]],className:i+" headerCenter",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(t[b],this.state.headerUnits[t[b]])})}):Object(M.jsx)("th",{title:t[b]+" "+this.state.headerUnits[t[b]],className:i,style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(t[b],this.state.headerUnits[t[b]])})})},footerRenderer:e=>{let{columnIndex:a,column:s,className:i}=e,l=void 0!=this.state.averages[t[b]]&&"undefined"!=typeof this.state.averages[t[b]].sum?this.state.averages[t[b]].sum.toString():0;return void 0!=this.state.averages[t[b]]&&"undefined"!=typeof this.state.averages[t[b]].sum&&parseFloat(l.replace(/,/g,""))>0?Object(M.jsxs)("td",{title:"".concat(this.state.averages[t[b]].avg,",\n                    \n                    ").concat(this.state.averages[t[b]].sum),style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[t[b]].avg,Object(M.jsx)("br",{}),this.state.averages[t[b]].sum]}):void 0!=this.state.averages[t[b]]&&"undefined"!=typeof this.state.averages[t[b]].sum&&0==parseFloat(l.replace(/,/g,""))?Object(M.jsxs)("td",{title:this.state.averages[t[b]].avg,style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[t[b]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});e[a].width=60,e[s].width=80,e[i].width=80,e[l].width=70,e[o].width=80,e[c].width=80,e[r].width=70,e[d].width=100,e[h].width=80,e[A].width=70,e[x].width=100,this.setState({columns:e}),!0===this.state.showDerivedCols?this.setState({showDerivedCols:!1}):this.setState({showDerivedCols:!0})}componentWillUnmount(){clearTimeout(this._loadRowsTimeout)}makeColumnVisible(t){let e=this.state.dragArray;0==e[t].visible?e[t].visible=!0:e[t].visible=!1,this.setState({dragArray:e})}makeColumnStatic(t){let e=this.state.dragArray;
1if(0==e[t].static){var a=e.slice(0,e.indexOf(e[t+1]));e.forEach((t=>{a.find((e=>e.name==t.name))&&(t.static=!0)})),this.setState({dragArray:e})}else{var s=e.slice(e.indexOf(e[t+1]),e.length);e.forEach((t=>{s.find((e=>e.name==t.name))&&(t.static=!1)})),this.setState({dragArray:e})}}saveColumnPref(){this.setState({currentArray:this.state.dragArray},(()=>{})),this.closeModal();var t=this.state.dragArray.filter((function(t){return!0===t.visible})).map((t=>t.name)),e=0,a=0,s=0,i=0,l=0,o=0,c=0,r=0,d=0,h=0,A=0;for(let n=0;n<t.length;n++)"Building ID"==t[n]&&(e=n),"Carpet Area"==t[n]&&(a=n),"Leasable Area"==t[n]&&(s=n),"Efficiency"==t[n]&&(i=n),"Occupied Chargeable Area"==t[n]&&(l=n),"Passing Rent"==t[n]&&(o=n),"Occupancy Percent"==t[n]&&(c=n),"Grade"==t[n]&&(r=n),"Building Category"==t[n]&&(d=n),"Building Closure Date"==t[n]&&(h=n),"Completion Date"==t[n]&&(A=n);var x=[];for(let m=0;m<t.length;m++)x.push({i:m,cellRenderer:e=>{let{columnIndex:a,column:s,rowData:i,rowIndex:l,className:o}=e,c=null;m==Number(this.state.fixedColumnsCount)-1&&(c="rgba(0, 0, 0, 0.16) 0px 1px 4px");var r=[];try{r=JSON.parse(i.derived_columns)}catch(h){r=[]}if(1==this.state.showDerivedCols&&r.indexOf(t[m])>-1)return Object(M.jsx)("td",{className:o+" rightAlignNumber",style:{background:"#ff9515",color:"#FFF",boxShadow:c},children:i[t[m]]});if("Active Leased Area"==t[m]){var d='{"complex":[{"id":"b-'.concat(J()(i.Asset),'","value":"').concat(i.Asset,'","label":"').concat(i.Asset,'"}],"building":[{"id":"b-').concat(J()(i.Building),'","value":"').concat(i.Building,'","label":"').concat(i.Building,'"}]}');return d="/office/transaction/?filter="+encodeURIComponent(d),Object(M.jsx)("td",{style:{boxShadow:c},className:o+" rightAlignNumber",children:Object(M.jsx)(n.b,{target:"_blank",to:d,children:i["Active Leased Area"]})})}return"Building ID"==t[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," firstColWidth"),title:i[t[m]],children:i[t[m]]}):"Leasable Area"==t[m]||"Carpet Area"==t[m]||"Efficiency"==t[m]||"Occupied Chargeable Area"==t[m]||"Passing Rent"==t[m]||"Occupancy Percent"==t[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," rightAlignNumber"),title:i[t[m]],children:i[t[m]]}):"Building Category"==t[m]||"Completion Date"==t[m]||"Building Closure Date"==t[m]||"Grade"==t[m]?Object(M.jsx)("td",{style:{boxShadow:c},className:"".concat(o," smallerColumnWidth"),title:i[t[m]],children:i[t[m]]}):"Download"==t[m]&&1===i.Download?Object(M.jsx)("td",{className:o,style:{boxShadow:c},onClick:t=>{this.downloadRowData(i["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==t[m]&&0===i.Download?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"View Document"==t[m]&&1===i["View Document"]?Object(M.jsx)("td",{className:o,style:{boxShadow:c},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(i["CRE ID"])},children:"View"})}):"View Document"==t[m]&&0===i["View Document"]?Object(M.jsx)("td",{style:{boxShadow:c},className:o,children:"-"}):"Select"==t[m]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("td",{style:{boxShadow:c},className:o,title:i[t[m]],children:this.linkingUrl(t[m],i[t[m]])})},headerRenderer:e=>{let{columnIndex:a,column:s,className:i}=e,l=null;return m==Number(this.state.fixedColumnsCount)-1&&(l="rgb(81, 124, 202) 5px 0px 6px -2px"),"Select"==t[m]?Object(M.jsx)(M.Fragment,{}):"Building Category"==t[m]||"Completion Date"==t[m]||"Building Closure Date"==t[m]||"Grade"==t[m]?Object(M.jsx)("th",{title:t[m]+" "+this.state.headerUnits[t[m]],className:i+" smallerColumnWidth",style:{boxShadow:l}
1,children:Object(M.jsx)("p",{children:this.headerView(t[m],this.state.headerUnits[t[m]])})}):"Building ID"==t[m]?Object(M.jsx)("th",{title:t[m]+" "+this.state.headerUnits[t[m]],className:i+" firstHeader",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(t[m],this.state.headerUnits[t[m]])})}):"Leasable Area"==t[m]||"Carpet Area"==t[m]||"Efficiency"==t[m]||"Occupied Chargeable Area"==t[m]||"Passing Rent"==t[m]||"Occupancy Percent"==t[m]?Object(M.jsx)("th",{title:t[m]+" "+this.state.headerUnits[t[m]],className:i+" headerCenter",style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(t[m],this.state.headerUnits[t[m]])})}):Object(M.jsx)("th",{title:t[m]+" "+this.state.headerUnits[t[m]],className:i,style:{boxShadow:l},children:Object(M.jsx)("p",{children:this.headerView(t[m],this.state.headerUnits[t[m]])})})},footerRenderer:e=>{let{columnIndex:a,column:s,className:i}=e,l=void 0!=this.state.averages[t[m]]&&"undefined"!=typeof this.state.averages[t[m]].sum?this.state.averages[t[m]].sum.toString():0;return void 0!=this.state.averages[t[m]]&&"undefined"!=typeof this.state.averages[t[m]].sum&&parseFloat(l.replace(/,/g,""))>0?Object(M.jsxs)("td",{title:"".concat(this.state.averages[t[m]].avg,",\n                    \n                    ").concat(this.state.averages[t[m]].sum),style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[t[m]].avg,Object(M.jsx)("br",{}),this.state.averages[t[m]].sum]}):void 0!=this.state.averages[t[m]]&&"undefined"!=typeof this.state.averages[t[m]].sum&&0==parseFloat(l.replace(/,/g,""))?Object(M.jsxs)("td",{title:this.state.averages[t[m]].avg,style:{backgroundColor:"#4c8fea",color:"#fff"},className:i+" rightAlignNumber",rowSpan:2,children:[this.state.averages[t[m]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});x[e].width=60,x[a].width=80,x[s].width=80,x[i].width=70,x[l].width=80,x[o].width=80,x[c].width=70,x[r].width=100,x[d].width=80,x[h].width=70,x[A].width=100,this.setState({columns:x}),this.setState({rows:this.state.transactionData.rows});let b=0;for(let n=0;n<this.state.dragArray.length;n++)1==this.state.dragArray[n].static&&1==this.state.dragArray[n].visible&&(b+=1),this.setState({fixedColumnsCount:b});jt.post("api/edge/office/save_user_col_pref",(t=>{var e=new FormData;return e.append("colPref",t),e.append("screener","edge_office_supply"),e})(JSON.stringify(this.state.dragArray)))}downloadRowData(t){t=t.split("-").pop(),this.setState({creId:t},(()=>{jt.post("api/screener/download-document",$i(this.state.creId)).then((t=>{}))}))}onDocumentLoadSuccess(t){}getCsvCheckedVal(t){return this.state.checkedCsvCol.indexOf(t)>-1}getColumnVal(t){let e=this.state.checkedCsvCol.indexOf(t.target.value);e>-1?(this.state.checkedCsvCol.splice(e,1),this.setState({})):(this.state.checkedCsvCol.push(t.target.value),this.setState({}))}exportCsv(){let t,e=Object.keys(this.state.selectedRows),a=e.map((t=>"CREID-"+t)),s=Object.keys(this.state.selectedRows).length,i=JSON.stringify(this.state.filters);t=!0===this.state.showDerivedCols?1:0;let l=this.state.checkedCsvCol;jt.post("api/edge/office/export_csv",((t,e,a,s)=>{var i=new FormData;i.append("selected",JSON.stringify(t)),i.append("filter",e),i.append("screener","edge_office_supply"),i.append("derived",a),null!=this.state.sortBy&&null!=this.state.sortOrder&&(i.append("sortBy",this.state.sortBy),i.append("sortOrder",this.state.sortOrder));for(let o=0;o<l.length;o++)i.append("column-to-export[]",l[o]);return i})(e,i,t)).then((t=>{if(void 0!==t.error&&t.error.length>0)this.setState({isOpenErrorDisplayModal:!0,errorMessage:t.error[0],isOpenColumnsModal:!1});else{const e={file:"".concat("https://www.crematrix.com/"+t.data.download_link)};window.open(e.file,"_blank"),jt.post("api/user-activity/log-activity",Ki(-1===window.location.href.indexOf("=")?"":"filters"+window.location.href.split("=").pop(),Object.keys(a).length>0?JSON.stringify(a):"",s)).then((t=>{}))}}))}exportExcel(){let t,e=Object.keys(this.state.selectedRows),a=JSON.stringify(this.state.filters),s=e.map((t=>"CREID-"+t)),i=Object.keys(this.state.selectedRows).length;t=!0===this.state.showDerivedCols?1:0;let l=this.state.checkedCsvCol;jt.post("api/edge/office/export_excel",((t,e,a,s)=>{var i=new FormData;i.append("selected",JSON.stringify(t)),i.append("filter",e),i.append("screener","edge_office_supply"),i.append("derived",a),null!=this.state.sortBy&&null!=this.state.sortOrder&&(i.append("sortBy",this.state.sortBy),i.append("sortOrder",this.state.sortOrder));for(let o=0;o<l.length;o++)i.append("column-to-export[]",l[o]);return i})(e,a,t)).then((t=>{if(void 0!==t.error&&t.error.length>0)this.setState({isOpenColumnsModalSale:!1,isOpenErrorDisplayModal:!0,errorMessage:t.error[0]});else{const e={file:"".concat("https://www.crematrix.com/"+t.data.download_link)};window.open(e.file,"_blank"),jt.post("api/user-activity/log-activity",Ki(-1===window.location.href.indexOf("=")?"":"filters"+window.location.href.split("=").pop(),Object.keys(s).length>0?JSON.stringify(s):"",i)).then((t=>{}))}}))}toggleAll(){if(1==this.state.selectAll)this.setState({selectAll:!1,
1checkedCsvCol:[]});else{this.setState({selectAll:!0});let t=[];for(let e=0;e<this.state.downloadColumns.length;e++)t.push(this.state.downloadColumns[e].name);this.setState({checkedCsvCol:t})}}downloadPng(){this.setState({showImageLoader:!0});let t=Object.keys(this.state.selectedRows),e=this.state.checkedCsvCol;jt.post("api/edge/office/export_table_as_pdf",((t,a)=>{var s=new FormData;s.append("selected",JSON.stringify(t)),s.append("screener","edge_office_supply");for(let i=0;i<e.length;i++)s.append("column-to-export[]",e[i]);return s})(t)).then((t=>{this.setState({showImageLoader:!1});let e=t.data;this.setState({imgPath:e,isOpenPngModal:!1},(()=>{this.openModalDownload()}))}))}render(){const{numberOfColumns:t,noRows:e,rowIdKey:a,fixedColumnsCount:s,fillTableWidth:i,infiniteScrolling:l,displayBottomUpwards:o,rows:c,columns:n,selectedRows:r,canSelectMultipleRows:d}=this.state;return Object(M.jsxs)("div",{className:"container-fluid developer mapsPage supplyTable transactionsPage transactionsPageNew position-relative customPage p-0",style:{marginTop:"-10px"},children:[this.state.showLeaseActions&&Object(M.jsxs)("div",{className:"transactionAction d-flex align-items-center justify-content-between",children:[Object(M.jsx)("span",{className:"recordCountText",style:{color:"#666",fontSize:"14px"},children:null!=this.state.totalFilteredRecord&&"Showing ".concat(Number(String(this.state.totalFilteredRecord).replace(/,/g,"")).toLocaleString()," transactions")}),Object(M.jsxs)("div",{className:"d-flex align-items-center",children:[Object(M.jsx)("button",{onClick:this.openModal,children:Object(M.jsx)("img",{src:"/edge/images/t_1.svg",alt:"Transaction Icon"})}),Object(M.jsxs)(_t.a,{children:[Object(M.jsxs)(_t.a.Toggle,{id:"dropdown-basic",style:{backgroundColor:"transparent !important",border:"0"},children:[Object(M.jsx)("img",{src:"/edge/images/t_d.svg",alt:"Transaction Icon"})," "]}),Object(M.jsxs)(_t.a.Menu,{children:[Object(M.jsx)(_t.a.Item,{onClick:this.openModalColumn,children:"Download as CSV"}),Object(M.jsx)(_t.a.Item,{onClick:this.openModalExcel,children:"Download as Excel"})]})]})]})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsxs)(Zi.d,{defaultIndex:0,onSelect:t=>{0==t?this.setState({showLeaseActions:!0}):this.setState({showLeaseActions:!1})},children:[Object(M.jsx)(Zi.b,{children:Object(M.jsx)(Zi.a,{children:"Supply Summary"})}),Object(M.jsx)(Zi.c,{children:1==this.state.showLoader?Object(M.jsx)("div",{className:"loaderClassForSupplyTable",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})}):Object(M.jsxs)("div",{ref:this.tableRef,children:[Object(M.jsx)(zi.a,{className:"example-table-supply",tableClassName:"table table-bordered table-striped",height:700,rowHeight:30,rows:c,columns:n,fixedColumnsCount:s,headerCount:1,footerCount:1,fixBorders:!0,fillTableWidth:i,rowIdKey:"Select",selectedRows:r,onSelectionChange:this.onSelectionChange,canSelectMultipleRows:!0,getLoadingSpinner:()=>Object(M.jsx)("div",{children:"Loading..."}),displayBottomUpwards:o,onColumnWidthChange:this.onColumnWidthChange,onColumnOrderChange:this.onColumnOrderChange}),this.renderPaginationControls(this.state.page,this.state.totalFilteredRecord,this.pageSize,this.goToPage,this.state.showLoader)]})})]})}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal manageColumnsModal",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Manage Columns"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Wi.a,{onDragEnd:this.handleOnDragEnd,children:Object(M.jsx)(Wi.c,{droppableId:"columnsUl",children:t=>Object(M.jsxs)("ul",Object(h.a)(Object(h.a)({className:"columnsUl"},t.droppableProps),{},{ref:t.innerRef,children:[this.state.dragArray.map(((t,e)=>Object(M.jsx)(Wi.b,{draggableId:t.id,index:e,children:a=>Object(M.jsxs)("li",Object(h.a)(Object(h.a)(Object(h.a)({},a.draggableProps),a.dragHandleProps),{},{ref:a.innerRef,className:1==this.state.dragArray[e].visible&&1==this.state.dragArray[e].static?"liActive":"liInActive",children:[Object(M.jsx)("p",{className:1==t.visible?"visibleItem":"invisibleItem",children:t.name}),Object(M.jsx)("span",{className:1==t.static?"columnStatic":"columnNonStatic",onClick:t=>{this.makeColumnStatic(e)},children:Object(M.jsx)(p.a,{icon:j.o})}),Object(M.jsx)("span",{className:1==t.visible?"columnVisible":"columnInvisible",onClick:t=>{this.makeColumnVisible(e)},children:Object(M.jsx)(p.a,{icon:j.g})})]}))},t.id))),t.placeholder]}))})})}
1),Object(M.jsxs)(k.a.Footer,{children:[Object(M.jsx)(Ji.a,{variant:"default",className:"resetDefault",onClick:t=>{this.resetColumns()},children:"Reset to default"}),Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.saveColumnPref()},children:"Save"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenDocModal,onHide:this.closeModalDoc,className:"columnsModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Document"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Vi.a,{file:this.state.docUrl,children:Object(M.jsx)(Vi.b,{pageNumber:this.state.pageNumber})})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenColumnsModal,onHide:this.closeModalColumn,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAll,className:"me-2",value:"select",onChange:t=>{this.toggleAll(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumns.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedVal(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnVal(t)}}),t.name]})})))})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.exportCsv()},children:"Export CSV"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenExcelModal,onHide:this.closeModalExcel,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAll,className:"me-2",value:"select",onChange:t=>{this.toggleAll(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumns.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedVal(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnVal(t)}}),t.name]})})))})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.exportExcel()},children:"Export Excel"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenPngModal,onHide:this.closeModalPng,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAll,className:"me-2",value:"select",onChange:t=>{this.toggleAll(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumns.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedVal(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnVal(t)}}),t.name]})})))})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.downloadPng()},children:"Next"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenDownloadModal,onHide:this.closeModalDownload,className:"columnsModal selectColumn downloadImgModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Download as PNG"})}),Object(M.jsxs)(k.a.Body,{children:[!0===this.state.showImageLoader&&Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",className:"w100"})})})}),!1===this.state.showImageLoader&&Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:"You do not have enough privileges to download Data as PNG. Please contact CRE Matrix team for further assistance."==this.state.imgPath?Object(M.jsx)("h4",{children:"You do not have enough privileges to download Data as PNG. Please contact CRE Matrix team for further assistance."}):"You can select upto 10 columns to export as PNG."==this.state.imgPath?Object(M.jsx)("h4",{children:"You can select upto 10 columns to export as PNG"}):Object(M.jsx)("img",{src:this.state.imgPath,width:"100%"})})})})]}
1),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.downloadPngImg()},children:"Download"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)(k.a,{show:this.state.isOpenTimeModal,onHide:this.closeTimeModal,className:"columnsModal timeModal transactionTimemachine",size:"md",children:Object(M.jsx)(k.a.Body,{style:{height:"0px"},children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)(U.a,{placeholder:"Select Date",value:this.state.startDate,onChange:t=>this.setDate(t),defaultOpen:!0,preventOverflow:!0,placement:"auto",oneTap:!0,ranges:[]})})})})})})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenNotesModal,onHide:this.closeNotesModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("ol",{children:[Object(M.jsx)("li",{children:"Carpet/Chargeable area which are not highlighted are as per the area mentioned in the document."}),Object(M.jsxs)("li",{children:["Carpet/Chargeable area which are highlighted has been calculated as per the following methodology:",Object(M.jsxs)("ul",{style:{marginTop:"15px"},children:[Object(M.jsx)("li",{children:"Efficiency of the building is calculated using the weighted average efficiency of the other leases in the building where both the carpet area and chrgeable area has been provided in the lease document. This calculated efficiency is then used to back calculate the missing carpet/chargeable area of the remaining leases in the building."}),Object(M.jsx)("li",{children:"If none of the leases have both the carpet area & chargeable area mentioned in the lease document, in such cases efficiency of the building can't be calculated. For such buildings, we arrive at the efficiency of the building based on market intelligence."}),Object(M.jsx)("li",{children:"If the market intelligence is not available either, we calculate the efficiency based on other leases with the same space type (ex. office/Retail/F&B...) and same micromarket(e.g. BKC Core/Andheri(E)/Nariman Point). This calculated efficiency is then used to back calculate the missing carpet/chargeable area of all the leases in the building."}),Object(M.jsx)("li",{children:"If the efficiency still can't be calculated, the missing values of carpet/chargeable area are left as it is."})]})]}),Object(M.jsx)("li",{children:"Rent per sq ft is calculated based on the total consideration paid by the lessee to the lessor divided by the chargeable area. If chargeable area is not mentioned in the document, carpet area is used."}),Object(M.jsx)("li",{children:"CRE ID: This ID is for referncing a particular lease. If you wish to get more details about a particular lease, please mail to us at [email protected] with CRE ID as the subject of the mail."}),Object(M.jsx)("li",{children:"Security Deposit: If less than or equal to 60 it is in months. Otherwise, it is total Security Deposit Amount."})]})})})})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("p",{dangerouslySetInnerHTML:{__html:this.state.errorMessage}})})})})})]})})]})]})}}tl.contextType=Wt;var el=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,user_id:t.user_id}}))(tl);class al extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{}))}render(){return Object(M.jsxs)("div",{className:"container-fluid p-0 spacingClassForDashboard",id:"page",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Oi,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Yi,{children:Object(M.jsx)(wi,{})})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Yi,{children:Object(M.jsx)(Di,{})})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Yi,{children:Object(M.jsx)(Bi,{})})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Yi,{children:Object(M.jsx)(Ii,{})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Yi,{children:Object(M.jsx)(Ui,{})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(el,{})})]})]})}}var sl=Object(c.f)(al);class il extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e=JSON.stringify(t);this.lastFetchedPayload!==e&&(this.lastFetchedPayload=e,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_asset_details",Z(e)).then((t=>{const e={Asset_Name:t.data.asset_name,Property_Type:t.data.propertytype,Grade:t.data.grade,Year_Constructed:t.data.year_constructed,Developer:t.data.developer,Status:t.data.status,Total_Leasable_Area:t.data.total_leasable_area,Area_Vacant:t.data.area_vacant,Asset_Efficiency:t.data.asset_efficiency,WALE:t.data.wale,No_Of_Active_Tenants:t.data.no_of_active_tenants,Upcoming_Area:t.data.upcoming_area,Market_Rent:t.data.market_rent,Five_Year_cagr_Rent:t.data.five_year_cagr_rent,Current_Vacancy:t.data.current_vacancy,Current_In_Place_Rentals:t.data.current_in_place_rentals,occupancy_last_updated:t.data.occupancy_last_updated};this.setState({assetDetails:t.data,excelData:e})})))},this.state={assetDetails:[],filters:"",excelData:{}}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsx)("div",{className:"widget widgetAsset",style:{paddingTop:"0",paddingBottom:"0"},children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-2 assetImgContainer",children:[Object(M.jsx)("img",{src:this.state.assetDetails.image,alt:"Asset"}),"-"!==this.state.assetDetails.occupancy_last_updated&&Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("p",{children:["Occupancy Last Updated -"," ",this.state.assetDetails.occupancy_last_updated]})})]}),Object(M.jsxs)("div",{className:"col-lg-8 aseetContent",children:[Object(M.jsxs)("h2",{children:[this.state.assetDetails.asset_name,Object(M.jsx)("span",{className:"assetExcelBtn",children:Object(M.jsx)(re.a,{title:Object(M.jsx)(p.a,{icon:j.h,className:"colorWhite"}),data:[this.state.excelData],fileName:"asset_details",btnClassName:"graphExcelDownloadBtn"})})]}),Object(M.jsxs)("ul",{className:"descriptionUl",children:[Object(M.jsx)("li",{children:this.state.assetDetails.propertytype}),Object(M.jsx)("li",{children:this.state.assetDetails.micromarket}),Object(M.jsx)("li",{children:this.state.assetDetails.grade})]}),Object(M.jsxs)("div",{className:"row rowAsset",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{children:[Object(M.jsx)("span",{children:"Year constructed"}
1),Object(M.jsx)("span",{children:this.state.assetDetails.year_constructed})]}),Object(M.jsxs)("li",{className:"liBlueBg",children:[" ",Object(M.jsx)("span",{children:"Developer"}),Object(M.jsx)("span",{children:this.state.assetDetails.developer})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Status"}),Object(M.jsx)("span",{children:this.state.assetDetails.status})]}),Object(M.jsxs)("li",{children:[Object(M.jsx)("span",{children:"Total Leasable Area"}),Object(M.jsxs)("span",{children:[this.state.assetDetails.total_leasable_area," ","msf"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{className:"liBlueBg",children:[" ",Object(M.jsx)("span",{children:"Area Vacant"}),Object(M.jsxs)("span",{children:[this.state.assetDetails.area_vacant," ","msf"]})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Efficiency (Office)"}),Object(M.jsxs)("span",{children:[this.state.assetDetails.asset_efficiency," ","%"]})]}),Object(M.jsxs)("li",{className:"liBlueBg",children:[" ",Object(M.jsx)("span",{children:"WALE"}),Object(M.jsxs)("span",{children:[this.state.assetDetails.wale," ","months"]})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"# of Active Tenants"}),Object(M.jsx)("span",{children:this.state.assetDetails.no_of_active_tenants})]})]})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{children:[Object(M.jsx)("span",{children:"Upcoming Area"}),Object(M.jsxs)("span",{children:[this.state.assetDetails.upcoming_area," ","msf"]})]}),Object(M.jsxs)("li",{className:"liBlueBg",children:[" ",Object(M.jsx)("span",{children:"Starting Rent (Market Rent)"}),Object(M.jsxs)("span",{children:[this.state.assetDetails.market_rent," ","\u20b9/sqft/month"]})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"5-Yr CAGR Rent"}),Object(M.jsx)("span",{children:this.state.assetDetails.five_year_cagr_rent})]})]})})]})]}),Object(M.jsxs)("div",{className:"col-lg-2 contentBlue",children:[Object(M.jsx)("div",{className:"customWidget customWidget1st",style:{paddingTop:"10px"},children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"infoCircle text-end",children:[Object(M.jsx)(p.a,{icon:j.k,style:{color:"#cccccc"}}),Object(M.jsx)("div",{className:"vacancyInfo1",style:{display:"none"},children:Object(M.jsx)("p",{className:"text-center",children:"Vacancy is based on registered leases only"})})]}),Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("h3",{children:Object(M.jsx)(p.a,{icon:j.n,className:"colorWhite"})})}),Object(M.jsxs)("div",{className:"col-lg-8",children:[Object(M.jsxs)("h2",{className:"colorWhite",children:[this.state.assetDetails.current_vacancy,Object(M.jsx)("span",{style:{fontSize:"12px",padding:"5px"},children:"%"})]}),Object(M.jsx)("p",{className:"colorWhite",children:"Current Vacancy(%)"})]})]})}),Object(M.jsx)("div",{className:"customWidget customWidget2nd",style:{borderBottom:"0"},children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("h3",{children:Object(M.jsx)("img",{src:"/edge/images/current_passing_rent_white.png",width:"45px",alt:"current passing rent"})})}),Object(M.jsxs)("div",{className:"col-lg-8",children:[Object(M.jsx)("h2",{className:"colorWhite",children:this.state.assetDetails.current_in_place_rentals}),Object(M.jsx)("p",{className:"colorWhite",children:"Sqft/Month"}),Object(M.jsx)("p",{className:"colorWhite",style:{fontSize:"10px"},children:"Current in Place Rentals"})]})]})})]})]})})}}il.contextType=Wt;var ll=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(il);const ol="Supply and Demand Trends";class cl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode;const a={filter:t,mode:e,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},s=JSON.stringify(a);if(this.lastFetchedPayload===s)return;this.lastFetchedPayload=s,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let i=new FormData;"undefined"!==typeof this.props.bodyParams?i=this.props.bodyParams:(i.append("filter",JSON.stringify(t)),i.append("mode",e),i.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date&&(i.append("end_date",this.state.end_date),i.append("start_date",this.state.start_date),i.append("which_date",this.state.which_date))),this.setState({bodyParams:i}
1),jt.post("api/edge/office/get_office_demand_supply_chart",i).then((t=>{const a=this,s=t.data.x,i={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"===e||"quarter"===e?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10},callback(t){var e;const a=String(null!==(e=this.getLabelForValue(t))&&void 0!==e?e:"");return a?a.includes(" ")?a.split(" "):a:""}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";"Infinity%"!==o&&"NaN%"!==o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};let l=st(this.state.start_date,this.state.end_date)?5:10;const o={labels:s,datasets:[{label:"New",data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:l,borderRadius:10,stack:"Stack 0"},{label:"Renewals",data:t.data.datapoints.y3,backgroundColor:t.data.bgcolor.y3,borderWidth:0,barThickness:l,borderRadius:10,stack:"Stack 0"},{label:"Supply",data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:l,borderRadius:10,stack:"Stack 1"}]};let c=$(t.data.datapoints.y1)||$(t.data.datapoints.y2);this.setState({showLoader:!1,showGraph:!0,xAxis:s,barThicknesS:l,noGraph:!c,chartOtions:i,chartData:o,isLoad:!0,exceldata:tt(t)})}))},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Quarterly":"Switch To Yearly";return Ct(Nt,{chartName:ol,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:ol,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isLoad:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",bodyParams:"",barThicknesS:10,which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:"",tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],downloadExcel:!1,xAxis:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(t,e){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:ol,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("divToPrint");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("SupplyDemandTrends.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Supply Demand Trends"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}
1))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"divToPrint",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Supply and Demand Trends"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&this.state.which_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Supply and Demand Trends"}),this.state.start_date&&this.state.end_date&&"ull"!==this.state.start_date&&this.state.which_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.downloadPdf(),children:"Download as PDF"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:ol,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Supply Demand Trends"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"SupplyDemandTrends",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:ol,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"380px"},children:this.state.isLoad&&Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:cl,filters:this.state.filters,chartHe
1ightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}cl.contextType=Wt;var nl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(cl);const rl="Top 10 Active Occupiers";class dl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_asset_active_tenants",s).then((t=>{let e=t.data.slice(0,10);this.setState({showLoader:!1,showGraph:!0,topTenActiveTenantsAsset:e,jsonForExcel:it(e,{tenant:{name:"Name",type:"string"},sector:{name:"Sector",type:"string"},area_leased:{name:"Area Leased (msf)",type:"int"},current_rent:{name:"Current Rent (Sqft/Month)",type:"int"}})})}))},this.state={areaType:"",expandChartKey:Math.random(),expandChart:!1,topTenActiveTenantsAsset:[],filters:"",showLoader:!1,showGraph:!1,jsonForExcel:[]}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Active Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:rl,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","TopTenants"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopTenants",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:rl,filters:this.state.filters}),q("#tenants","TopTenants");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","TopTenants"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"tenants",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Name"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Sector"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area Leased"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Current Rent"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/Sqft/Month)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.topTenActiveTenantsAsset.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.sector}),Object(M.jsx)("td",{className:"text-end",children:t.area_leased}),Object(M.jsx)("td",{className:"text-end",children:t.current_rent})]},e)))})]})})]})]})}}dl.contextType=Wt;var hl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(dl);const pl="Rental Trend (Passing + Fitout Rents)";class jl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,mode:this.state.mode,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),jt.post("api/edge/office/get_rentals_anlysis_chart",s).then((t=>{let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};const a=tt(t),s=$(t.data.datapoints.y1)||$(t.data.datapoints.y2);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,noGraph:!s,chartData:e,exceldata:a})}))},this.downloadPdf=()=>{Ct(gt,{chartName:pl,mode:this.state.mode,filters:this.state.filters});
1const t=document.getElementById("rentalTrendPassingFitoutRents");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("rentalTrendPassingFitoutRents.pdf")}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Quarterly":"Switch To Yearly";return Ct(Nt,{chartName:pl,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.openModal=()=>{Ct(ft,{chartName:pl,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:void 0,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={spanGaps:!0,responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10},callback(t){var e;const a=String(null!==(e=this.getLabelForValue(t))&&void 0!==e?e:"");return a?a.includes(" ")?a.split(" "):a:""}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!==typeof e.tooltip.dataPoints){let a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1,o=parseFloat(e.tooltip.dataPoints[0].dataset.data[i]),c=parseFloat(e.tooltip.dataPoints[0].dataset.data[l]);o<c&&(a="colorRed",s=j.c);let n=(100*(o-c)/c).toFixed(2)+"%";"Infinity%"!==n&&"NaN%"!==n||(n=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:n})}}}}},a={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalTrendPassingFitoutRents",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Rental Trend (Passing + Fitout Rents)"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rental Trend (Passing + Fitout Rents)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rental Trend (Passing + Fitout Rents)"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:pl,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rental Trend (Passing + Fitout Rents)"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"rentalTrendPassingFitoutRents",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:pl,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 rtt",style:{height:"350px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:e,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:a})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartHeightClass:"col-lg-12 allChartHeight",chartName:jl,filters:this.state.filters,bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}jl.contextType=Wt;var Al=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(jl);const xl="Future Rental (based on contracted rent)";class bl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,mode:this.state.mode,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),jt.post("api/edge/office/get_asset_future_rent",s).then((t=>{let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1}]};const a=tt(t),s=$(t.data.datapoints.y1);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,noGraph:!s,chartData:e,exceldata:a})}))},this.downloadPdf=()=>{Ct(gt,{chartName:xl,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("futureRentals");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("futureRentals.pdf")}
1))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Quarterly":"Switch To Yearly";return Ct(Nt,{chartName:xl,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.openModal=()=>{Ct(ft,{chartName:xl,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:void 0,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10},callback(t){var e;const a=String(null!==(e=this.getLabelForValue(t))&&void 0!==e?e:"");return a?a.includes(" ")?a.split(" "):a:""}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!==typeof e.tooltip.dataPoints){let a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1,o=parseFloat(e.tooltip.dataPoints[0].dataset.data[i]),c=parseFloat(e.tooltip.dataPoints[0].dataset.data[l]);o<c&&(a="colorRed",s=j.c);let n=(100*(o-c)/c).toFixed(2)+"%";"Infinity%"!==n&&"NaN%"!==n||(n=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:n})}}}}},a={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"futureRentals",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rental (based on contracted rent)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rental (based on contracted rent)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Future Rental (based on contracted rent)"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:xl,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Future Rental (based on contracted rent)"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"futureRentals",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:xl,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:e,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:a})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:bl,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}bl.contextType=Wt;var ml=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(bl);const gl="Sector Break-up of Active Tenants";const Ol={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#b3d2ff","#91bcfd","#70a6fa","#4e90f8","#2d7af5","#1c6ff4","#1f4bc0","#22339e","#241b7b","#260359"]};class ul extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),this.props.areaType&&s.append("area_type",this.props.areaType),jt.post("api/edge/office/get_sector_active_tenants",s).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Sector","Tenants"]);let i=!1;i=!$(t.data.y);const l=et(t,"Sector","Active Tenants");this.setState({showLoader:!1,showGraph:!0,googlePieChartData:s,noGraph:i,exceldata:l})}))},this.state={areaType:"",googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHe
1ightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:gl,filters:this.state.filters});const t=document.getElementById("sectorBreakUpActiveTenants");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("sectorBreakUpActiveTenants.pdf")}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"sectorBreakUpActiveTenants",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Sector Break-up of Active Tenants"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Sector Break-up of Active Tenants"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:gl,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Sector Break-up of Active Tenants"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"sectorBreakUpActiveTenants",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:gl,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Ol,width:"100%",height:"450px"})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:ul,filters:this.state.filters,chartHeightClass:"col-lg-12"},this.state.expandChartKey)]})}}ul.contextType=Wt;var yl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(ul);class fl extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHe
1ightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);jt.post("api/edge/office/get_asset_absorption_trends",e).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t;const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return/\s/.test(a.state.xAxis)&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):a.state.xAxis.length>0&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_asset_absorption_trends",e).then((t=>{this.setState({showLoader:!1,showGraph:!0});const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(t.data.datapoints.y1)?a.setState({noGraph:!1}):a.setState({noGraph:!0}),a.setState({chartOtions:s,chartData:e})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const e=this,a={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a].split(" "):e.state.xAxis.length>0&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a]:""}},autoSkip:!1,color:"black",font:{size:10}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),jt.post("api/edge/office/get_asset_absorption_trends",t).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(t.data.datapoints.y1)?e.setState({noGraph:!1}):e.setState({noGraph:!0});const i=tt(t);e.setState({chartOtions:a,chartData:s,exceldata:i})}))}}downloadPdf(){const t=document.getElementById("absorbtionTrends");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("absorptionTrends.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"absorbtionTrends",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Absorption Trends"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Absorbtion Trends"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Absorbtion Trends"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"absorptionTrends",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:fl,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}fl.contextType=Wt;var wl=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(fl);const Nl="Top 5 Lease Transactions";class Sl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_major_recent_lease_transactions",s).then((t=>{let e=t.data?t.data.slice(0,5):[];this.setState({showLoader:!1,showGraph:!0,recentTransactions:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},new_renewal:{name:"New/Renewal",type:"string"},execution_date:{name:"Date",type:"string"},building:{name:"Building",type:"string"},area:{name:"Chargeable Area (Sqft)",type:"int"},rent:{name:"Chargeable Area Rent (\u20b9/sqft/month)",type:"int"},carpet_area:{name:"Carpet Area (Sqft)",type:"int"},carpet_rent:{name:"Carpet Area Rent (\u20b9/sqft/month)",type:"int"},term:{name:"Term",type:"int"},security_deposit:{name:"Security Deposit",type:"int"},cam:{name:"CAM",type:"string"},first_escalation:{name:"1st Escalation %",type:"int"}})})}))},this.verifyUser=t=>
1{if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.state={recentTransactions:[],filters:"",showLoader:!1,showGraph:!1,isOpenErrorDisplayModal:!1,jsonForExcel:[],areaType:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 5 Lease Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:this.verifyUser,children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:()=>{Ft(Ot,{chartName:Nl,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Recent Transactions"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"RecentLease",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{Ft(gt,{chartName:Nl,filters:this.state.filters}),q("#recentTransactions","RecentTransactions");let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Recent Transactions"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"recentTransactions",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"New/Renewal"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Sign Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Building"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Chargeable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Chargeable Area Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Carpet Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Carpet Area Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Term"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Security Deposit"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"CAM"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"1st Escalation %"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(Sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/Sqft/Month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(Sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/Sqft/Month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(M
1onths)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(months)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:" "})]})]}),Object(M.jsx)("tbody",{children:this.state.recentTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.new_renewal}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{children:t.building}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.rent}),Object(M.jsx)("td",{className:"text-end",children:t.carpet_area}),Object(M.jsx)("td",{className:"text-end",children:t.carpet_rent}),Object(M.jsx)("td",{className:"text-end",children:t.term}),Object(M.jsx)("td",{className:"text-end",children:t.security_deposit}),Object(M.jsx)("td",{children:t.cam}),Object(M.jsx)("td",{className:"text-end",children:t.first_escalation})]},e)))})]})})]}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}Sl.contextType=Wt;var Dl=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(Sl);const Ml="Rent By Sectors";class Cl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_asset_rent_by_sector",s).then((t=>{const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]},a=tt(t),s=$(t.data.datapoints.y1);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,noGraph:!s,chartData:e,exceldata:a})}))},this.downloadPdf=()=>{Ct(gt,{chartName:Ml,filters:this.state.filters});const t=document.getElementById("rentBySectors");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("rentBySectors.pdf")}))},this.state={areaType:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Sectors"},ticks:{callback:function(e,a){return/\s/.test(t.state.xAxis)&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!==typeof e.tooltip.dataPoints){let a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label})}}}}};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentBySectors",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rent By Sectors"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rent By Sectors"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Ml,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rent By Sectors"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"rentBySectors",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Ml,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:e,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Cl,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Cl.contextType=Wt;var Fl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Cl);const Bl="Lease Expiry";class vl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.openModal=()=>{Ct(ft,{chartName:Bl,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,mode:this.state.mode,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),jt.post("api/edge/office/get_asset_lease_expiry",s).then((t=>{st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]},a=tt(t),s=$(t.data.datapoints.y1);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,noGraph:!s,chartData:e,exceldata:a})}))},this.downloadPdf=()=>{Ct(gt,{chartName:Bl,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("leaseExpiry");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("leaseExpiry.pdf")}
1))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Quarterly":"Switch To Yearly";return Ct(Nt,{chartName:Bl,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,start_date:"",end_date:"",which_date:"",bodyParams:"",which_date_name:"",filters:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){return/\s/.test(t.state.xAxis)&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!==typeof e.tooltip.dataPoints){let a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1,o=parseFloat(e.tooltip.dataPoints[0].dataset.data[i]),c=parseFloat(e.tooltip.dataPoints[0].dataset.data[l]);o<c&&(a="colorRed",s=j.c);let n=(100*(o-c)/c).toFixed(2)+"%";"Infinity%"!==n&&"NaN%"!==n||(n=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:n})}}}}},a={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leaseExpiry",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Lease Expiry"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Bl,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Lease Expiry"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"leaseExpiry",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Bl,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:e,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:a})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:vl,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight"},this.state.expandChartKey)]})}}vl.contextType=Wt;var Tl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(vl);const Il="Asset vs Micromarket Rent";class _l extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,mode:this.state.mode,area_type:this.props.areaType||"",hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.props.areaType||""),"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),jt.post("api/edge/office/get_asset_vs_micromarket_rent",s).then((t=>{let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.data,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2.data,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};const a=tt(t),s=$(t.data.datapoints.y1.data)||$(t.data.datapoints.y2.data);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,noGraph:!s,chartData:e,exceldata:a})}))},this.downloadPdf=()=>{Ct(gt,{chartName:Il,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("assetMicromarketRent");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("assetMicromarketRent.pdf")}))},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Quarterly":"Switch To Yearly";return Ct(Nt,{chartName:Il,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.state={bodyParams:void 0,areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGra
1ph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10},callback(t){var e;const a=String(null!==(e=this.getLabelForValue(t))&&void 0!==e?e:"");return a?a.includes(" ")?a.split(" "):a:""}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!==typeof e.tooltip.dataPoints){let a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1,o=parseFloat(e.tooltip.dataPoints[0].dataset.data[i]),c=parseFloat(e.tooltip.dataPoints[0].dataset.data[l]);o<c&&(a="colorRed",s=j.c);let n=(100*(o-c)/c).toFixed(2)+"%";"Infinity%"!==n&&"NaN%"!==n||(n=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:n})}}}}};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"assetMicromarketRent",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Asset vs Micromarket Rent"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Asset vs Micromarket Rent"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Il,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Asset vs Micromarket Rent"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"assetMicromarketRent",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Il,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText})]})]})}
1),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:e,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:_l,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}_l.contextType=Wt;var El=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(_l);class Ul extends i.a.Component{constructor(t){super(t),this.state={dataload:!0,TypeDateArr:[{value:"executiondate",label:"Sign Date"},{value:"commencementdate",label:"Commencement Date"},{value:"absorptiondate",label:"Absorption Date"}],dateRange:["",""],startdate:this.props.parentData.startDate,enddate:this.props.parentData.endDate,initialValues:{startDate:this.props.parentData.startDate,endDate:this.props.parentData.endDate}}}handlestartSelect(t){this.setState({initialValues:{startDate:t},startdate:t})}handleendSelect(t){this.setState({initialValues:{endDate:t},enddate:t})}handleClear(){console.log("hey amit"),this.setState({initialValues:{startDate:"",endDate:""},startdate:"",enddate:""}),console.log("hey amit2")}dateConvert(t){if(""!=t&&"ull"!=t&&void 0!=t){const e=JSON.stringify(t).slice(1,11).split("-");return new Date(e[0],e[1]-1,e[2])}return null}checksubmit(){return""!=this.state.startdate&&"ull"!=this.state.startdate&&"undefined"!=this.state.startdate&&""!=this.state.enddate&&"ull"!=this.state.enddate&&"undefined"!=this.state.enddate}render(){return Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("h4",{className:"searchDateModalHeading",children:"Select Date Range"}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.d,{initialValues:this.state.initialValues,enableReinitialize:!0,onSubmit:t=>{t.startDate=JSON.stringify(new Date(this.state.startdate)).slice(1,11),t.endDate=JSON.stringify(new Date(this.state.enddate)).slice(1,11),console.log("hello"),console.log(t),this.props.datechildFilter(t)},children:t=>{let{values:e,errors:a,touched:s,handleChange:i,handleBlur:l,handleSubmit:o,isSubmitting:c}=t;return Object(M.jsxs)(v.c,{children:[Object(M.jsx)("div",{className:"form-control",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"From"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(he.a)(t,this.dateConvert(this.state.enddate)),value:this.dateConvert(this.state.startdate),onChange:t=>{this.handlestartSelect(t)}})]}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"To"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(de.a)(t,this.dateConvert(this.state.startdate)),value:this.dateConvert(this.state.enddate),onChange:t=>{this.handleendSelect(t)}})]})]})}),Object(M.jsxs)("div",{className:"btnWrapper text-center",children:[this.checksubmit()&&Object(M.jsx)("button",{type:"submit",children:"Apply"}),Object(M.jsx)("button",{onClick:()=>{this.handleClear()},children:"Clear"})]})]})}})})]})})}}var Rl=Object(c.f)(Ul);const Yl="# of Transactions vs Size";const Ql={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#FFC45C","#E9B14F","#D49E41","#BE8B34","#A97827","#A5680F","#8F5A0C","#794C09","#633D06","#4D2F03"]};class kl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||"",startDate:this.state.start_date,endD
1ate:this.state.end_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;let s;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1}),"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s=new FormData,s.append("filter",JSON.stringify(t)),this.props.areaType&&s.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_developer_transaction_size",s).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Range","Size"]);let i=!1;i=!$(t.data.y);const l=et(t,"Transaction Range","Size");this.setState({showLoader:!1,showGraph:!0,googlePieChartData:s,noGraph:i,exceldata:l})}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,filters:"",isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{Ct(ft,{chartName:Yl,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:"",start_date:"",end_date:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:Yl,filters:this.state.filters});const t=document.getElementById("transactionSize");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("transactionSize.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"transactionSize",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"# of Transactions vs Size"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"# of Transactions vs Size"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","# of Transactions vs Size"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Yl,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","# of Transactions vs Size"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"transactionSize",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Yl,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Ql,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:kl,filters:this.state.filters,chartHeightClass:"col-lg-12"},this.state.expandChartKey)]})}}kl.contextType=Wt;var Pl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(kl);const Gl="Asset vs Micromarket WALE";class Ll extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),this.props.areaType&&s.append("area_type",this.props.areaType),jt.post("api/edge/office/get_asset_vs_micromarket_wale",s).then((t=>{const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10}]};let a=!1;a=!$(t.data.datapoints.y1)&&!$(t.data.datapoints.y2);const s=t.data.x.map(((e,a)=>({"Assset/Micromarket":e,WALE:t.data.datapoints.y1[a]})));this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,chartData:e,chartOtions:this.getChartOptions(t.data.x),noGraph:a,exceldata:s})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:""},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Wale"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[l])<parseFloat(t.tooltip.dataPoints[0].dataset.data[o])&&(s="colorRed",i=j.
1c),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a})}}}}}},this.state={areaType:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:Gl,filters:this.state.filters});const t=document.getElementById("assetMicromarketWale");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("assetMicromarketWale.pdf")}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"assetMicromarketWale",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Asset vs Micromarket WALE"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Asset vs Micromarket WALE"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Gl,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Asset vs Micromarket WALE"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"assetMicromarketWale",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Gl,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{style:{minHeight:"400px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Ll,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight"},this.state.expandChartKey)]})}}Ll.contextType=Wt;var Vl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Ll);const zl="Asset Market Analysis";class Jl extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode,a=this.state.grade;const s={filter:t,mode:e,grade:a,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},i=JSON.stringify(s);if(this.lastFetchedPayload===i)return;this.lastFetchedPayload=i,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let l=new FormData;"undefined"!==typeof this.props.bodyParams?l=this.props.bodyParams:(l.append("filter",JSON.stringify(t)),l.append("mode",e),l.append("grade",a),l.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date&&(l.append("end_date",this.state.end_date),l.a
1ppend("start_date",this.state.start_date),l.append("which_date",this.state.which_date))),jt.post("api/edge/office/get_asset_market_analysis",l).then((t=>{"error"in t?this.setState({showLoader:!1,showGraph:!0,assetMarketAnalysis:t.error[0]}):this.setState({showLoader:!1,showGraph:!0,assetMarketAnalysis:t.data.result,excelData:t.data.result,macromarket:t.data.result&&t.data.result.length>0?t.data.result[0].macromarket_absorption:"",noteTxt:t.data.micromarket})}))},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Quarterly":"Switch To Yearly";return Ft(Nt,{chartName:zl,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.getGradeWiseData=()=>{this.setState((t=>({grade:"All"===t.grade?"AA+":"All",gradeText:"All"===t.grade?"Switch To All Grade":"Switch To AA+"})))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ft(ft,{chartName:zl,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openNotesModal=()=>this.setState({isNotesmodal:!0}),this.closeNotesModal=()=>this.setState({isNotesmodal:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",gradeText:"Switch To All Grade",grade:"AA+",assetMarketAnalysis:[],filters:"",showLoader:!1,showGraph:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",noteTxt:"",jsonForExcel:[],macromarket:"",excelData:[],isNotesmodal:!1,excelHeaders:{year_quarter:{name:"Years/Quarters",type:"string"},city_stock:{name:"City - Stock (msf)",type:"string"},macromarket_stock:{name:"Macromarket - Stock (msf)",type:"string"},city_net_supply:{name:"City - Net Supply (msf)",type:"string"},macromarket_net_supply:{name:"Macromarket - Net Supply (msf)",type:"string"},city_leasing:{name:"City - Gross Leasing (msf)",type:"string"},macromarket_leasing:{name:"Macromarket - Gross Leasing (msf)",type:"string"},city_absorption:{name:"City - Gross Absorption (msf)",type:"string"},macromarket_absorption:{name:"Macromarket - Gross Absorption (msf)",type:"string"},city_surrendered:{name:"City - Surrendered (msf)",type:"string"},macromarket_surrendered:{name:"Macromarket - Surrendered (msf)",type:"string"},city_vacancy:{name:"City - Vacancy (%)",type:"string"},macromarket_vacancy:{name:"Macromarket - Vacancy (%)",type:"string"}}}}convertNumericStringsToNumbers(t){return t.map((t=>{const e={};for(const[a,s]of Object.entries(t))if("string"===typeof s){const t=parseFloat(s);e[a]=isNaN(t)||"-"===s.trim()?s:t}else e[a]=s;return e}))}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(t,e){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsxs)("p",{children:["Asset Market Analysis"," ",this.state.macromarket&&Object(M.jsxs)(M.Fragment,{children:["(",this.state.macromarket,")"]})]})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:()=>{Ft(Ot,{chartName:zl,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Asset Market Analysis"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:it(this.state.assetMarketAnalysis,this.state.excelHeaders),fileName:"assetMarketAnalysis",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{Ft(gt,{chartName:zl,mode:this.state.mode,filters:this.state.filters}),q("#assetMarketAnalysis","assetMarketAnalysis");let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Asset Market Analysis"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getGradeWiseData,children:this.state.gradeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openNotes
1Modal,children:"Notes to Chart"})]})]})}),"Table only available when Assets selected belong to same Macro-market"!==this.state.assetMarketAnalysis&&"hide"!==this.state.assetMarketAnalysis&&Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{className:"assetMarketAnalysis",responsive:!0,hover:!0,id:"assetMarketAnalysis",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("span",{children:"Stock"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("span",{children:"Net Supply"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("span",{children:"Gross Leasing"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("span",{children:" Gross Absorption"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("span",{children:"Surrendered"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("span",{children:"Vacancy"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{colSpan:"2",className:"text-center thBorderBottom",children:Object(M.jsx)("b",{children:"(%)"})})]})]}),Object(M.jsx)("tbody",{children:Array.isArray(this.state.assetMarketAnalysis)&&this.state.assetMarketAnalysis.map(((t,e)=>Object(M.jsx)("tr",{className:"",children:Object.values(t).map(((t,a)=>Object(M.jsx)("td",{className:"text-end",children:t},"col-".concat(e,"-").concat(a))))},"row-".concat(e))))})]})}),["Table only available when Assets selected belong to same Macro-market","hide"].includes(this.state.assetMarketAnalysis)&&Object(M.jsx)("p",{className:"text-center my-3",style:{color:"#000"},children:"Table only available when Assets selected belong to same Macro-market"})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})}),Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsxs)(k.a,{show:this.state.isNotesmodal,onHide:this.closeNotesModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"md",children:[Object(M.jsx)("p",{style:{padding:"10px",background:"#4c8fea",fontWeight:"600",color:"#fff",fontSize:"18px",fontFamily:"Poppins",margin:0},children:"Notes"}),Object(M.jsxs)(k.a.Body,{style:{padding:"15px"},children:[Object(M.jsx)("p",{className:"mt-3",style:{color:"#000"},children:"Data as per latest month end*"}),Object(M.jsxs)("p",{className:"mt-3",style:{color:"#000"},children:[Object(M.jsx)("span",{style:{fontWeight:"600"},children:"Micromarkets: "}),this.state.noteTxt]})]})]})})]})]})]})}}Jl.contextType=Wt;var Wl=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Jl);class Hl extends i.a.Component{constructor(t){super(t),this.state={dataload:!0,startDate:this.props.parentData.startDate,endDate:this.props.parentData.endDate,TypeDateArr:[{value:"executiondate",label:"Sign Date"},{value:"commencementdate",label:"Commencement Date"}],initialValues:{dateTypeName:this.props.parentData.dateTypeName,dateType:this.props.parentData.dateType?this.props.parentData.dateType:"executiondate"}}}handlestartSelect(t){this.setState({startDate:t})}handleendSelect(t){this.setState({endDate:t})}handleClear(t){this.setState({startDate:"",endDate:"",initialValues:{dateTypeName:"",dateType:""}})}handleChangeDatetype(t){this.setState({initialValues:{dateType:t.target.value}})}checksubmit(){return""!=this.state.startDate&&"ull"!=this.state.startDate&&"undefined"!=this.state.startDate&&""!=this.state.endDate&&"ull"!=this.state.endDate&&"undefined"!=this.state.endDate}dateConvert(t){if(""!=t&&"ull"!=t&&"undefined"!=t){const e=JSON.stringify(t).slice(1,11).split("-");return new Date(e[0],e[1]-1,e[2])}return null}render(){new Date,new Date;return Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("h4",{className:"searchDateModalHeading",children:"Select Date Range"}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.d,{initialValues:this.state.initialValues,enableReinitialize:!0,onSubmit:t=>{t.startDate=JSON.stringify(new Date(this.state.startDate)).slice(1,11),t.endDate=JSON.stringify(new Date(this.state.endDate)).slice(1,11),t.dateType=this.state.initialValues.dateType,this.props.datechildFilter(t)},children:t=>{let{values:e,errors:a,touched:s,handleChange:i,handleBlur:l,handleSubmit:o,isSubmitting:c}=t;return Object(M.jsxs)(v.c,{children:[Object(M.jsxs)("div",{className:"form-control",children:[Object(M.jsx)("label",{children:"Date Type"}),Object(M.jsx)(v.b,{name:"dateType",as:"select",onChange:t=>{this.handleChangeDatetype(t),i(t)},children:this.state.TypeDateArr.map((t=>Object(M.jsx)("option",{value:t.value,children:t.label},t.value)))}),Object(M.jsx)(v.a,{name:"dateType",component:"div"})]}),Object(M.jsx)("div",{className:"form-control",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"From"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(he.a)(t,this.dateConvert(this.state.endDate)),defaultValue:this.dateConvert(this.state.startDate),onChange:t=>{this.handlestartSelect(t)}})]}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsx)("label",{children:"To"}),Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",oneTap:!0,disabledDate:t=>Object(de.a)(t,this.dateConvert(this.state.startDate)),defaultValue:this.dateConvert(this.state.endDate),onChange:t=>{this.handleendSelect(t)}})]})]})}),Object(M.jsxs)("div",{className:"btnWrapper text-center",children:[this.checksubmit()&&Object(M.jsx)("button",{type:"submit",children:"Apply"}
1),Object(M.jsx)("button",{onClick:()=>{this.handleClear()},children:"Clear"})]})]})}})})]})})}}var Zl=Object(c.f)(Hl),Xl=a(761),Kl=a.n(Xl);const ql="Benchmark Projects";class $l extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode,a=this.state.area,s=this.state.grade;const i={filter:t,mode:e,area_type:a,grade:s,start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},l=JSON.stringify(i);if(this.lastFetchedPayload===l)return;this.lastFetchedPayload=l,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let o=new FormData;this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(o.append("filter",JSON.stringify(t)),o.append("mode",e),o.append("area_type",a),o.append("grade",s),o.append("end_date",this.state.end_date),o.append("start_date",this.state.start_date),o.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams?o=this.props.bodyParams:(o.append("filter",JSON.stringify(t)),o.append("mode",e),o.append("area_type",a),o.append("grade",s)),this.setState({bodyParams:o}),jt.post("api/edge/office/get_benchmark_project_rents",o).then((t=>{const e=["Year/Quarter"];let a=[];t.data.complex.forEach((t=>{["Market rent","Passing rent","Effective rent"].forEach((a=>{e.push("".concat(t," ").concat(a))}))})),t.data.data.forEach((t=>{let s={};for(let a=0;a<e.length;a++)s[e[a]]="-"===t[a]||0===a?t[a]:Number(t[a]);a.push(s)})),this.setState({showLoader:!1,showGraph:!0,benchmarkProjects:t.data.data,tHead:t.data.data_header,complexNames:t.data.complex,excelData:a})}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ft(ft,{chartName:ql,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Quarterly":"Switch To Yearly";return Ft(Nt,{chartName:ql,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.getGradeWiseData=()=>{this.setState((t=>({grade:"All"===t.grade?"AA+":"All",gradeText:"All"===t.grade?"Switch To All Grade":"Switch To AA+"})))},this.getAreaWiseData=()=>{this.setState((t=>({area:"carpetarea"===t.area?"chargeable_area":"carpetarea",areaText:"carpetarea"===t.area?"Switch To Carpet Area":"Switch To Chargeable Area"})))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",gradeText:"Switch To All Grade",grade:"AA+",area:"chargeable_area",areaText:"Switch To Carpet Area",start_date:"",end_date:"",which_date:"",which_date_name:"",benchmarkProjects:[],filters:"",showLoader:!1,showGraph:!1,tHead:[],complexNames:[],excelData:[]}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(t,e){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ft(gt,{chartName:ql,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("benchmarkProjects1");let e=t.scrollWidth+1500,a=t.scrollHeight+500;e*=2,a*=2,Kl.a.toPng(t,{width:e,height:a,style:{transform:"scale(2)",transformOrigin:"top left"}}).then((function(t){var s=new V.default("l","px",[e,a]);s.addImage(t,"PNG",0,0,e,a),s.save("benchmarkProjects.pdf")}
1))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Benchmark Projects (\u20b9/sqft/month)"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:()=>{Ft(Ot,{chartName:ql,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Benchmark Projects"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"BenchmarkProjects",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadPdf(),children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getGradeWiseData,children:this.state.gradeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getAreaWiseData,children:this.state.areaText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",id:"benchmarkProjects1",children:Object(M.jsxs)(fe.a,{className:"assetMarketAnalysis benchmarkProjects",responsive:!0,hover:!0,id:"benchmarkProjects",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{}),this.state.complexNames.map(((t,e)=>Object(M.jsx)("td",{colSpan:"3",className:"text-center thBorderBottom",children:t},"complex-".concat(e))))]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsx)("tr",{children:this.state.tHead.map(((t,e)=>Object(M.jsx)("td",{className:"text-end",children:t},"head-".concat(e))))}),this.state.benchmarkProjects.map(((t,e)=>Object(M.jsx)("tr",{className:"",children:Object.values(t).map(((t,a)=>Object(M.jsx)("td",{className:"text-end",children:t},"col-".concat(e,"-").concat(a))))},"row-".concat(e))))]})]})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Zl,{datechildFilter:this.dateFilter,parentData:t})})})})})]})]})}}$l.contextType=Wt;var to=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))($l);const eo="Latest Supply";class ao extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||"",mode:this.state.mode},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),this.state.mode&&s.append("mode",this.state.mode),jt.post("api/edge/office/get_latest_supply_added",s).then((t=>{let e,a=t.data;if("string"===typeof a)try{a=JSON.parse(a)}catch(i){}e=a&&"object"===typeof a&&!Array.isArray(a)?Array.isArray(a.error)&&a.error.length>0?a.error[0]:Array.isArray(a.success)?a.success:[]:Array.isArray(a)&&1===a.length&&"string"===typeof a[0]?a[0]:a;let s=[];Array.isArray(e)&&(s=it(e,{complex:{name:"Asset",type:"string"},micromarket:{name:"Micro-Market",type:"string"},macromarket:{name:"Macro-Market",type:"string"},developer:{name:"Developer",type:"string"},building:{name:"Building",type:"string"},building_grade:{name:"Grade",type:"string"},leasabel_area:{name:"Leasable Area",type:"int"},building_category:{name:"Category",type:"string"},completion_date:{name:"Completion Date",type:"string"}})),this.setState({showLoader:!1,showGraph:!0,latestSupply:e,jsonForExcel:s})}))},this.downloadSelectedRangeData=t=>{this.setState({mode:"".concat(t,"months")})},this.state={areaType:"",mode:"",latestSupply:[],filters:"",showLoader:!1,showGraph:!1,tHead:[],complexNames:[],jsonForExcel:[]}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t="string"===typeof this.state.latestSupply&&this.state.latestSupply.length>0;return"Table only available when Assets selected belong to same Macro-market"===this.state.latestSupply?Object(M.jsx)(M.Fragment,{}):Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Latest Supply"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:()=>{Ft(Ot,{chartName:eo,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Latest Supply"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"latestSupply",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{Ft(gt,{chartName:eo,filters:this.state.filters}),q("#latestSupply","latestSupply");let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Latest Supply"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadSelectedRangeData(6),children:[Object(M.jsx)(p.a,{icon:j.i})," Last 6 Months"]}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadSelectedRangeData(12),children:[Object(M.jsx)(p.a,{icon:j.i})," Last 12 Months"]}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadSelectedRangeData(24),children:[Object(M.jsx)(p.a,{icon:j.i})," Last 24 Months"]})]})]})}),!t&&Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{className:" latestSupply",responsive:!0,hover:!0,id:"latestSupply",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Macro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Developer"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Building"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Grade"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leasable Area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Category"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Completion Date"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:Array.isArray(this.state.latestSupply)&&this.state.latestSupply.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{title:t.complex,children:t.complex?Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex}):"-"}),Object(M.jsx)("td",{title:t.micromarket,children:t.micromarket?Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",t.micromarket),children:t.micromarket}):"-"}),Object(M.jsx)("td",{title:t.macromarket,children:t.macromarket?Object(M.jsx)(n.b,{target:"_blank",to:H("macromarket",t.macromarket),children:t.macromarket}):"-"}),Object(M.jsx)("td",{children:t.developer?Object(M.jsx)(n.b,{target:"_blank",to:H("developer",t.developer),children:t.developer}):"-"}),Object(M.jsx)("td",{children:t.building}),Object(M.jsx)("td",{title:t.building_grade,children:t.building_grade}),Object(M.jsx)("td",{className:"text-end",children:t.leasabel_area}),Object(M.jsx)("td",{children:t.building_category}),Object(M.jsx)("td",{children:t.completion_date})]},e)))})]})}
1),t&&Object(M.jsx)("p",{className:"text-center my-3",style:{color:"#000"},children:this.state.latestSupply})]})]})}}ao.contextType=Wt;var so=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(ao);const io="Upcoming Supply";class lo extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||"",mode:this.state.mode},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),this.state.mode&&s.append("mode",this.state.mode),jt.post("api/edge/office/get_upcoming_projects",s).then((t=>{let e,a=t.data;if("string"===typeof a)try{a=JSON.parse(a)}catch(i){}e=a&&"object"===typeof a&&!Array.isArray(a)?Array.isArray(a.error)&&a.error.length>0?a.error[0]:Array.isArray(a.success)?a.success:[]:Array.isArray(a)&&1===a.length&&"string"===typeof a[0]?a[0]:a;let s=[];Array.isArray(e)&&(s=it(e,{complex:{name:"Asset",type:"string"},micromarket:{name:"Micro-Market",type:"string"},macromarket:{name:"Macro-Market",type:"string"},developer:{name:"Developer",type:"string"},building:{name:"Building",type:"string"},building_grade:{name:"Grade",type:"string"},leasabel_area:{name:"Leasable Area",type:"int"},building_category:{name:"Category",type:"string"},completion_date:{name:"Completion Date",type:"string"}})),this.setState({showLoader:!1,showGraph:!0,upcomingSupply:e,jsonForExcel:s})}))},this.downloadSelectedRangeData=t=>{this.setState({mode:"".concat(t,"months")})},this.state={areaType:"",mode:"",upcomingSupply:[],filters:"",showLoader:!1,showGraph:!1,tHead:[],complexNames:[],jsonForExcel:[]}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Upcoming Supply"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:()=>{Ft(Ot,{chartName:io,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Upcoming Supply"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"upcomingSupply",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{Ft(gt,{chartName:io,filters:this.state.filters}),q("#upcomingSupply","upcomingSupply");let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Upcoming Supply"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadSelectedRangeData(12),children:[Object(M.jsx)(p.a,{icon:j.i})," Next 12 Months"]}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadSelectedRangeData(24),children:[Object(M.jsx)(p.a,{icon:j.i})," Next 24 Months"]}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadSelectedRangeData(36),children:[Object(M.jsx)(p.a,{icon:j.i})," Next 36 Months"]})]})]})}),Array.isArray(this.state.upcomingSupply)&&Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{className:" upcomingSupply",responsive:!0,hover:!0,id:"upcomingSupply",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Macro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Developer"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Building"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Grade"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leasable Area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Category"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Completion Date"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:this.state.upcomingSupply.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{title:t.micromarket,children:Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",t.micromarket),children:t.micromarket})}),Object(M.jsx)("td",{title:t.macromarket,children:Object(M.jsx)(n.b,{target:"_blank",to:H("macromarket",t.macromarket),children:t.macromarket})}),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("developer",t.developer),children:t.developer})}),Object(M.jsx)("td",{children:t.building}),Object(M.jsx)("td",{title:t.building_grade,children:t.building_grade}),Object(M.jsx)("td",{className:"text-end",children:t.leasabel_area}),Object(M.jsx)("td",{children:t.building_category}),Object(M.jsx)("td",{children:t.completion_date})]},e)))})]})}),"string"===typeof this.state.upcomingSupply&&Object(M.jsx)("p",{className:"text-center my-3",style:{color:"#000"},children:this.state.upcomingSupply})]})]})}}lo.contextType=Wt;var oo=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(lo);const co="Starting Rent (Market Rent) vs Passing Rent";class no extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,mode:this.state.mode,area_type:this.props.areaType||this.state.area,grade:this.state.grade,start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.state.area),s.append("grade",this.state.grade),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),jt.post("api/edge/office/get_rental_analysis_passing_marketing",s).then((t=>{let e=st(this.state.start_date,this.state.end_date)?5:10,a=[];for(let o=1;o<Object.keys(t.data.datapoints).length+1;o++)Object.keys(t.data.datapoints["y"+o]).length>0&&a.push({label:"".concat(t.data.legend["y"+o]),data:t.data.datapoints["y"+o],borderColor:t.data.bgcolor["y"+o],backgroundColor:t.data.bgcolor["y"+o],borderDash:[2,4,6,8,10,12,14,16,18].includes(o)?[10,5]:[]});let s={labels:t.data.x,datasets:a};const i=tt(t),l=$(t.data.datapoints.y1)||$(t.data.datapoints.y2);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,barThicknesS:e,noGraph:!l,chartKey:Date.now(),chartData:s,exceldata:i})}))},this.downloadPdf=()=>{Ct(gt,{chartName:co,mode:this.state.mode,filters:this.state.filters});
1const t=document.getElementById("rentalTrendPassingFitoutRents");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("StartingRentVsPassingRent.pdf")}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Yearly":"Switch To Quarterly";return Ct(Nt,{chartName:co,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeTxt:a}}))},this.getGradeWiseData=()=>{this.setState((t=>({grade:"All"===t.grade?"AA+":"All",gradeText:"All"===t.grade?"Switch To All Grade":"Switch To AA+"})))},this.getAreaWiseData=()=>{this.setState((t=>({area:"carpetarea"===t.area?"chargeable_area":"carpetarea",areaText:"carpetarea"===t.area?"Switch To Carpet Area":"Switch To Chargeable Area"})))},this.openModal=()=>{Ct(ft,{chartName:co,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.chartReference=i.a.createRef(),this.state={areaType:"",globalMode:"",modeTxt:"Switch To Quarterly",mode:"yearly",grade:"AA+",gradeText:"Switch To All Grade",area:"chargeable_area",areaText:"Switch To Carpet Area",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,isOpen:!1,showGraph:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},chartKey:Date.now(),xAxis:[],exceldata:[],barThicknesS:10}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={spanGaps:!0,responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){return/\s/.test(t.state.xAxis)&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:20,boxHeight:0,pointStyle:"rec"}},title:{display:!1},tooltip:{animation:!1,enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!==typeof e.tooltip.dataPoints){let a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1,o=parseFloat(e.tooltip.dataPoints[0].dataset.data[i]),c=parseFloat(e.tooltip.dataPoints[0].dataset.data[l]);o<c&&(a="colorRed",s=j.c);let n=(100*(o-c)/c).toFixed(2)+"%";"Infinity%"!==n&&"NaN%"!==n||(n=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:n})}}}}},a={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalTrendPassingFitoutRents",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Starting Rent (Market Rent) vs Passing Rent"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-6 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Starting Rent (Market Rent) vs Passing Rent"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsxs)("div",{className:"col-lg-5 pe-0 text-end",style:{color:"#979797"},children:[Object(M.jsx)("span",{style:{paddingRight:"15px"},children:"--- Starting Rent (Market Rent)"}),Object(M.jsxs)("span",{children:[" ",Object(M.jsx)("span",{style:{borderTop:"2px solid #ccc",display:"inline-block",width:"20px",marginBottom:"0.6%"}})," ","Passing Rent"]})]}),Object(M.jsx)("div",{className:"col-lg-1 text-end ps-0",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Starting Rent (Market Rent) vs Passing Rent"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:co,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Starting Rent (Market Rent) vs Passing Rent"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"StartingRentVsPassingRent",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:co,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeTxt}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getGradeWiseData,children:this.state.gradeText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getAreaWiseData,children:this.state.areaText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(ne.d,{ref:this.chartReference,id:"rentalsVacancyLineChart",options:e,data:this.state.chartData},this.state.chartKey)})]})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:a})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:no,filters:this.state.filters},this.state.expandChartKey)]})}}no.contextType=Wt;var ro=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(no);const ho="Key Projects";class po extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.grade;const a={filter:t,area_type:this.props.areaType||"",grade:e},s=JSON.stringify(a);if(this.lastFetchedPayload===s)return;this.lastFetchedPayload=s,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let i=new FormData;i.append("filter",JSON.stringify(t)),i.append("area_type",this.props.areaType||""),i.append("grade",e),jt.post("api/edge/office/get_key_projects",i).then((t=>{let e=t.data;this.setState({showLoader:!1,showGraph:!0,keyProjects:e,jsonForExcel:it(e,{asset:{name:"Asset",type:"string"},micromarket:{name:"Micro-Market",type:"string"},asset_efficiency:{name:"Efficiency",type:"int"},leaseable_area:{name:"Leasable Area (msf)",type:"int"},occupancy_percent:{name:"Occupancy (%)",type:"int"},carpet_area_effective_rent:{name:"On Carpet Area (Effective Rent)",type:"int"},chargeable_area_effective_rent:{name:"On Chargeable Area (Effective Rent)",type:"int"},carpet_area_current_rent:{name:"On Carpet Area (Current Rent)",type:"int"},chargeable_area_current_rent:{name:"On Chargeable Area (Current Rent)",type:"int"},key_occupiers:{name:"Key Occupiers",type:"string"},occupier_name:{name:"Occupier Name",type:"string"},building_name:{name:"Building Name",type:"string"},building_age:{name:"Building Age",type:"string"},starting_rent:{name:"Starting Rent (Market Rent) (\u20b9/Sqft/Month) On Chargeable Area",type:"int"},current_rent:{name:"Current Rent (\u20b9/Sqft/Month) On Chargeable Area",type:"int"},commencement_date:{name:"Commencement Date",type:"string"},lease_expiry_date:{name:"Expiry Date",type:"string"},cre_id:{name:"CRE ID",type:"string"}})})}))},this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ft(ft,{chartName:ho,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getGradeWiseData=()=>{this.setState((t=>({grade:"All"===t.grade?"AA+":"All",gradeText:"All"===t.grade?"Switch To All Grade":"Switch To AA+"})))},this.state={areaType:"",gradeText:"Switch To All Grade",grade:"AA+",keyProjects:[],filters:"",showLoader:!1,showGraph:!1,tHead:[],complexNames:[],jsonForExcel:[]}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Key Projects "})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:()=>{Ft(Ot,{chartName:ho,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Key Projects"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"KeyProjects",btnClassName:"download-table-xls-button"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getGradeWiseData,children:this.state.gradeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{className:"keyProjects",responsive:!0,hover:!0,id:"keyProjects",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{}),Object(M.jsx)("td",{}),Object(M.jsx)("td",{}),Object(M.jsx)("td",{}),Object(M.jsx)("td",{}),Object(M.jsx)("td",{colSpan:"2",className:"theadBorderBottom",children:"Effective Rent (\u20b9/Sqft/month)"}),Object(M.jsx)("td",{colSpan:"2",className:"theadBorderBottom",children:"Current Rent (\u20b9/Sqft/month)"}),Object(M.jsx)("td",{}),Object(M.jsx)("td",{colSpan:"7",className:"theadBorderBottom keyProj text-center",children:"Latest Transactions"}),Object(M.jsx)("td",{})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-Market"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Efficiency (Office)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leasable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Occupancy"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"On Carpet Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"On Chargeable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"On Carpet Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"On Chargeable Area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Key Occupiers"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier Name"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Building Name"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Building Age"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Starting Rent (Market Rent) On Chargeable Area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Commencement Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Expiry Date"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"CRE ID"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{className:"text-end"}
1),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/Sqft/Month)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.keyProjects.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.asset),children:t.asset})}),Object(M.jsx)("td",{children:t.micromarket}),Object(M.jsx)("td",{className:"text-end",children:t.asset_efficiency}),Object(M.jsx)("td",{className:"text-end",children:t.leaseable_area?t.leaseable_area.toLocaleString():t.leaseable_area}),Object(M.jsx)("td",{className:"text-end",children:t.occupancy_percent}),Object(M.jsx)("td",{className:"text-end",children:t.carpet_area_effective_rent}),Object(M.jsx)("td",{className:"text-end",children:t.chargeable_area_effective_rent}),Object(M.jsx)("td",{className:"text-end",children:t.carpet_area_current_rent}),Object(M.jsx)("td",{className:"text-end",children:t.chargeable_area_current_rent}),Object(M.jsx)("td",{children:t.key_occupiers}),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.occupier_name),children:t.occupier_name})}),Object(M.jsx)("td",{children:t.building_name}),Object(M.jsx)("td",{children:t.building_age}),Object(M.jsx)("td",{className:"text-end",children:t.starting_rent}),Object(M.jsx)("td",{children:t.commencement_date}),Object(M.jsx)("td",{children:t.lease_expiry_date}),Object(M.jsx)("td",{className:"text-end",children:Object(M.jsx)(n.b,{target:"_blank",to:H("leaseId",t.cre_id),children:t.cre_id})})]},e)))})]})})]})})]})}}po.contextType=Wt;var jo=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(po);class Ao extends i.a.Component{constructor(t){super(t),this.state={show:!1,sortOrderWidget:"asc",sortOrderModal:"asc",buildingId:"",tableArea:"",tableColumns:["date","city","complex","building","area","floor","units","link1","link2","status","remark  "],buildingTableCols:["building_name","building_grade","building_category","occupancy_date","leaseable_area","floors","current_passing_rent","Building_Green_Details","building_closure_year","building_efficiency","occupancy_percent","complex_occupancy_log_date","ownership_type","edge_denotified_area_chargeable","edge_denotified_area_carpet"],tableData:[],areaType:"",buildingDetails:[],filters:"",showLoader:!1,showGraph:!1,isOpenErrorDisplayModal:!1,jsonForExcel:[],complexName:this.props.filters.complexes[0].label},this.handleClose=()=>this.setState({show:!1}),this.handleShow=()=>this.setState({show:!0}),this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.handleClick=(t,e)=>{var a=new FormData;a.append("building_id",t),a.append("area_type",e),this.setState({buildingId:t,tableArea:e}),jt.post("api/edge/office/get_sez_denotification_table_data_building",a).then((t=>{this.setState({tableData:t.data},(()=>{this.handleShow()}))}))},this.customRenderCellElement={complex:t=>Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex}),city:t=>Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city}),link1:t=>"-"==t.link1?"-":Object(M.jsx)("a",{href:t.link1,target:"_blank",rel:"noopener noreferrer",children:"Link"}),link2:t=>"-"==t.link2?"-":Object(M.jsx)("a",{href:t.link2,target:"_blank",rel:"noopener noreferrer",children:"Link"}),building:t=>Object(M.jsx)(n.b,{to:'/office/asset/?filter={"complex":[{"id":"b-'.concat(J()(t.complex),'","value":"').concat(t.complex,'","label":"').concat(t.complex,'"}],"building":[{"id":"b-').concat(J()(t.building),'","value":"').concat(t.building,'","label":"').concat(t.building,'"}]}'),target:"_blank",rel:"noopener noreferrer",children:t.building})},this.customRenderCellElementBuilding={edge_denotified_area_chargeable:t=>Object(M.jsx)("p",{onClick:e=>{this.handleClick(t.building_id,"chargeable")},style:{color:"#1675e0",cursor:"pointer",textAlign:"right"},children:null!==t.edge_denotified_area_chargeable?t.edge_denotified_area_chargeable:"-"}),edge_denotified_area_carpet:t=>Object(M.jsx)("p",{onClick:e=>{this.handleClick(t.building_id,"carpet")},style:{color:"#1675e0",cursor:"pointer",textAlign:"right"},children:null!==t.edge_denotified_area_carpet?t.edge_denotified_area_carpet:"-"}),leaseable_area:t=>Object(M.jsx)("p",{style:{textAlign:"right"},children:t.leaseable_area}),current_passing_rent:t=>Object(M.jsx)("p",{style:{textAlign:"right"},children:t.current_passing_rent}),building_efficiency:t=>Object(M.jsx)("p",{style:{textAlign:"right"},children:t.building_efficiency}),occupancy_percent:t=>Object(M.jsx)("p",{style:{textAlign:"right"},children:t.occupancy_percent})},this.sortTable=t=>{const e=t.target.closest("th.react-table-lite-header");if(!e)return void console.log("Header element not found");const a=e.querySelector(":scope > span:first-child"),s=null===a||void 0===a?void 0:a.textContent.trim();let i;console.log(s),"Building Details"==s?i="building_name":"Grade"==s?i="building_grade":"Building Category"==s?i="building_category":"Completion Date"==s?i="occupancy_date":"Floors"==s?i="floors":"Passing Rent (\u20b9/Sqft/Month)"==s?i="current_passing_rent":"Green Building Details"==s?i="Building_Green_Details":"Building Closure"==s?i="building_closure_year":"Efficiency (Office) (%)"==s?i="building_efficiency":"Occupancy (%)"==s?i="occupancy_percent":"Occupancy Log Date"==s?i="complex_occupancy_log_date":"Ownership Type"==s?i="ownership_type":"Denotified Chargeable Area (sqft)"==s?i="edge_denotified_area_chargeable":"Denotified Carpet Area (sqft)"==s?i="edge_denotified_area_carpet":"Leasable Area (sqft)"==s&&(i="leaseable_area");var l=new FormData;l.append("sortBy",i),l.append("sortOrder",this.state.sortOrderWidget),l.append("complex_name",this.state.complexName),jt.post("api/edge/office/get_assets_building_details",l).then((t=>{"asc"==this.state.sortOrderWidget?this.setState({buildingDetails:t.data,sortOrderWidget:"desc"}):this.setState({buildingDetails:t.data,sortOrderWidget:"asc"})}))},this.sortTableModal=t=>{const e=t.target.closest("th.react-table-lite-header");if(!e)return void console.log("Header element not found");const a=e.querySelector(":scope > span:first-child"),s=null===a||void 0===a?void 0:a.textContent.trim();var i=new FormData;i.append("building_id",this.state.buildingId),i.append("area_type",this.state.tableArea),i.append("sortBy",s),i.append("sortOrder",this.state.sortOrderModal),jt.post("api/edge/office/get_sez_denotification_table_data_building",i).then((t=>{"asc"==this.state.sortOrderModal?this.setState({tableData:t.data,sortOrderModal:"desc"}):this.setState({tableData:t.data,sortOrderModal:"asc"}),this.setState({tableData:t.data})}))}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t});var e=new FormData;e.append("complex_name",this.state.complexName);jt.post("api/edge/office/get_assets_building_details",e).then((t=>{let e=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({buildingDetails:e,jsonForExcel:it(e,{building_name:{name:"Building Details",type:"string"},building_grade:{name:"Grade",type:"string"},building_category:{name:"Building Category",type:"string"},occupancy_date:{name:"Completion Date",type:"string"},leaseable_area:{name:"Leasable Area",type:"int"},floors:{name:"Floors",type:"string"},current_passing_rent:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},Building_Green_Details:{name:"Building Green Details",type:"string"},building_closure_year:{name:"Building Closure",type:"string"},building_efficiency:{name:"Building Efficiency",type:"int"},occupancy_percent:{name:"Occupancy",type:"int"},complex_occupancy_log_date:{name:"Occupancy Log Date",type:"string"},ownership_type:{name:"Ownership Type",type:"string"},edge_denotified_area_carpet:{name:"Denotified Carpet Area",type:"int"},edge_denotified_area_chargeable:{name:"Denotified Chargeable Area",type:"int"}})},(()=>{console.log(this.state.jsonForExcel)}))}
1)).catch((t=>{this.setState((()=>{throw"error"}))}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1}),this.setState({filters:this.props.filters});var t=new FormData;t.append("complex_name",this.state.complexName1),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_assets_building_details",t).then((t=>{let e=t.data;this.setState({showLoader:!1,showGraph:!0}),this.setState({buildingDetails:e,jsonForExcel:it(e,{building_name:{name:"Building Details",type:"string"},building_grade:{name:"Grade",type:"string"},building_category:{name:"Building Category",type:"string"},occupancy_date:{name:"Completion Date",type:"string"},leaseable_area:{name:"Leasable Area",type:"int"},floors:{name:"Floors",type:"string"},current_passing_rent:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},Building_Green_Details:{name:"Building Green Details",type:"string"},building_closure_year:{name:"Building Closure",type:"string"},building_efficiency:{name:"Building Efficiency",type:"int"},occupancy_percent:{name:"Occupancy",type:"int"},complex_occupancy_log_date:{name:"Occupancy Log Date",type:"string"},ownership_type:{name:"Ownership Type",type:"string"},edge_denotified_area_carpet:{name:"Denotified Carpet Area",type:"int"},edge_denotified_area_chargeable:{name:"Denotified Chargeable Area",type:"int"}})},(()=>{console.log(this.state.jsonForExcel)}))}))}}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:this.state.complexName})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Building Details"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"BuildingDetails",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#buildingDetails","BuildingDetails");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Building Details"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsx)(ua.a,{data:this.state.buildingDetails,headers:this.state.buildingTableCols,customRenderCell:this.customRenderCellElementBuilding,sortBy:["building_name","building_grade","leaseable_area","floors","current_passing_rent","building_efficiency","edge_denotified_area_chargeable","edge_denotified_area_carpet","occupancy_date","building_closure_year","occupancy_percent","complex_occupancy_log_date","edge_denotified_area_chargeable","edge_denotified_area_carpet"],sortable:!0,onSort:t=>this.sortTable(t),customHeaders:{building_name:"Building Details",building_grade:"Grade",building_category:"Building Category",occupancy_date:"Completion Date",leaseable_area:"Leasable Area (sqft)",floors:"Floors",current_passing_rent:"Passing Rent (\u20b9/Sqft/Month)",Building_Green_Details:"Green Building Details",building_closure_year:"Building Closure",building_efficiency:"Efficiency (Office) (%)",occupancy_percent:"Occupancy (%)",complex_occupancy_log_date:"Occupancy Log Date",ownership_type:"Ownership Type",edge_denotified_area_chargeable:"Denotified Chargeable Area (sqft)",edge_denotified_area_carpet:"Denotified Carpet Area (sqft)"}})})]}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.show,onHide:this.handleClose,className:"denotifyModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Table"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(ua.a,{data:this.state.tableData,headers:this.state.tableColumns,customRenderCell:this.customRenderCellElement,sortBy:["date","city","complex","building","area","floor","units","status"],sortable:!0,onSort:t=>this.sortTableModal(t),customHeaders:{link1:"Circular link 1",link2:"Circular link 2",remark:"Commments"}})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}Ao.contextType=Wt;var xo=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(Ao),bo=a(446);class mo extends i.a.Component{constructor(t){super(t),this.componentDidMount=()=>{let t=new FormData;var e;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),e="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:e}),jt.post("api/user-activity/log-activity",t).then((t=>{}));let a=new FormData;a.append("filter",e),jt.post("api/edge/office/get_asset_document_buildings",a).then((async t=>{if(t.data.length>0){this.setState({showDocCenter:!0,buildingList:t.data});const e=t.data.find((t=>t.years&&t.years.length>0));if(e){this.setState({docYears:e.years,firstBuildingId:e.building_id,firstYear:e.years[0],activeIndex:e.building_id});let t=new FormData;t.append("building_id",this.state.firstBuildingId),t.append("year",this.state.firstYear),await jt.post("api/edge/office/get_asset_building_documents",t).then((t=>{if(void 0!=t.data.images){let a=Object.keys(t.data.images[this.state.firstYear]);var e=a[0];this.setState({visibleMonths:a,monthActiveIndex:e,imagesArr:t.data.images[this.state.firstYear][e]})}void 0!=t.data.documents&&t.data.documents.length>0&&this.setState({docList:t.data.documents})}))}}else this.setState({showDocCenter:!1})}))},this.componentDidUpdate=()=>{if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});let t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),jt.post("api/edge/office/get_asset_document_buildings",t).then((async t=>{if(t.data.length>0){this.setState({showDocCenter:!0,buildingList:t.data});const e=t.data.find((t=>t.years&&t.years.length>0));if(e){this.setState({docYears:e.years,firstBuildingId:e.building_id,firstYear:e.years[0],activeIndex:e.building_id});let t=new FormData;t.append("building_id",this.state.firstBuildingId),t.append("year",this.state.firstYear),await jt.post("api/edge/office/get_asset_building_documents",t).then((t=>{if(void 0!=t.data.images){let a=Object.keys(t.data.images[this.state.firstYear]);var e=a[0];this.setState({visibleMonths:a,monthActiveIndex:e,imagesArr:t.data.images[this.state.firstYear][e]})}void 0!=t.data.documents&&t.data.documents.length>0&&this.setState({docList:t.data.documents})}))}}else this.setState({showDocCenter:!1})}))}},this.state={idButtonDisabled:!1,buildingList:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],docYears:[],activeIndex:null,monthActiveIndex:null,setTempData:!1,showDocCenter:!1,firstYear:"",firstBuildingId:"",imagesArr:[],monthsArr:[{value:1,label:"JAN"},{value:2,label:"FEB"},{value:3,label:"MAR"},{value:4,label:"APR"},{value:5,label:"MAY"},{value:6,label:"JUN"},{value:7,label:"JUL"},{value:8,label:"AUG"},{value:9,label:"SEP"},{value:10,label:"OCT"},{value:11,label:"NOV"},{value:12,label:"DEC"}],disabledBtnArr:[],visibleMonths:[],docList:[],pdfUrl:null,showModal:!1,showImageData:!0,imgUrl:null,showImageModal:!1}}getDocument(t){if(void 0!=t.years){this.setState({showImageData:!0,docYears:t.years,firstYear:t.years[0],firstBuildingId:t.building_id});let e=new FormData;e.append("building_id",t.building_id),e.append("year",t.years[0]),jt.post("api/edge/office/get_asset_building_documents",e).then((async e=>{if(void 0!=e.data.images){let s=Object.keys(e.data.images[t.years[0]]);var a=s[0];this.setState({monthActiveIndex:a,imagesArr:e.data.images[t.years[0]][a],visibleMonths:s})}void 0!=e.data.documents&&e.data.documents.length>0&&this.setState({docList:e.data.documents})}))}else this.setState({showImageData:!1})}getDocOnYearChange(t){let e=new FormData;e.append("building_id",this.state.firstBuildingId),e.append("year",t),jt.post("api/edge/office/get_asset_building_documents",e).then((async e=>{if(void 0!=e.data.images){let s=Object.keys(e.data.images[t]);var a=s[0];this.setState({monthActiveIndex:a,imagesArr:e.data.images[t][a],visibleMonths:s})}void 0!=e.data.documents&&e.data.documents.length>0&&this.setState({docList:e.data.documents})}))}getDocOnMonthChange(t){let e=new FormData;e.append("building_id",this.state.firstBuildingId),e.append("year",this.state.firstYear),jt.post("api/edge/office/get_asset_building_documents",e).then((async e=>{void 0!=e.data.images&&this.setState({monthActiveIndex:t,imagesArr:e.data.images[this.state.firstYear][t]}),void 0!=e.data.documents&&e.data.documents.length>0&&this.setState({docList:e.data.documents})}))}render(){return Object(M.jsx)("div",{className:"container-fluid developer mapsPage customPage p-0 spacingClassForDashboard asset_two",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(ll,{})}),Object(M.jsx)("div",{className:"mapsTab",children:Object(M.jsxs)(Zi.d,{children:[Object(M.jsxs)(Zi.b,{children:[Object(M.jsx)(Zi.a,{children:"Demand"}),Object(M.jsx)(Zi.a,{children:"Rentals "}),Object(M.jsx)(Zi.a,{children:"Transactions "}),Object(M.jsx)(Zi.a,{children:"Charts "}),this.state.showDocCenter&&Object(M.jsx)(Zi.a,{children:"Asset Document Centre"})]}),Object(M.jsx)(Zi.c,{children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-8 mb-4",children:Object(M.jsx)(nl,{})}),Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsx)(hl,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(Wl,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(jo,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(to,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(so,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(oo,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-0",children:Object(M.jsx)(ro,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(Li,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(Yi,{children:Object(M.jsx)(xo,{})})})]})}),Object(M.jsx)(Zi.c,{children:Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(Al,{})}),Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(ml,{})}),Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(Fl,{})}),Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(El,{})})]})}),Object(M.jsx)(Zi.c,{children:Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-12 my-4",children:Object(M.jsx)(Dl,{})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(Ke,{})})]})}),Object(M.jsx)(Zi.c,{children:Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(Tl,{})}),Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(yl,{})}),Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(Pl,{})}),Object(M.jsx)("div",{className:"col-lg-6 mb-4",children:Object(M.jsx)(Vl,{})})]})}),this.state.showDocCenter&&Object(M.jsx)(Zi.c,{style:{backgroundColor:"#fff",padding:"10px",borderRadius:"5px"},children:Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-2",children:Object(M.jsx)("ul",{className:"buildingList",children:this.state.buildingList.map(((t,e)=>Object(M.jsx)("li",{className:this.state.activeIndex==t.building_id?"active":"",onClick:e=>{this.setState({activeIndex:t.building_id}),this.getDocument(t)},children:t.building},e)))})}),Object(M.jsx)("div",{className:"col-6",children:Object(M.jsxs)(M.Fragment,{children:[this.state.showImageData&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"d-flex align-items-center",children:[Object(M.jsx)("select",{className:"yearSelect",value:this.state.firstYear,onChange:t=>{this.setState({firstYear:t.target.value}),this.getDocOnYearChange(t.target.value)},children:this.state.docYears.map(((t,e)=>Object(M.jsx)("option",{value:t,children:t})))}),Object(M.jsx)("div",{className:"monthLi m-0 w-100 d-flex align-items-center justify-content-between",children:this.state.monthsArr.map(((t,e)=>Object(M.jsx)("button",{className:this.state.monthActiveIndex-1==e?"activeMonth":"",onClick:t=>{console.log(this.state.visibleMonths),this.setState({monthActiveIndex:e+1}),this.getDocOnMonthChange(e+1)},disabled:-1==this.state.visibleMonths.indexOf(t.value.toString()),children:t.label})))})]}),Object(M.jsx)("div",{className:"row rowPadding mt-4",children:this.state.imagesArr.map(((t,e)=>Object(M.jsxs)("div",{className:"col-3 imagePaddingBuilding",children:[Object(M.jsx)("img",{src:t.image_path,width:"100%",onClick:e=>{this.setState({showImageModal:!0,imgUrl:t.image_path})}}),Object(M.jsx)("p",{className:"buildingImageCaption",children:t.image_caption})]})))})]}),!this.state.showImageData&&Object(M.jsx)("h6",{className:"text-center",children:"No Image"})]})}),Object(M.jsx)("div",{className:"col-4 buildingTable",children:Object(M.jsxs)("table",{className:"table table-striped",children:[Object(M.jsx)("tr",{className:"tt",children:Object(M.jsx)("th",{colSpan:3,children:"Building Name"})}),Object(M.jsxs)("tr",{className:"tHead",children:[Object(M.jsx)("th",{children:"Document Name"}),Object(M.jsx)("th",{children:"Date"}),Object(M.jsx)("th",{children:"Action"})]}),Object(M.jsx)("tbody",{children:this.state.docList.map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:t.doc_type}),Object(M.jsx)("td",{children:"02-jan-25"}),Object(M.jsx)("td",{children:Object(M.jsxs)("div",{className:"d-flex gap-2 align-items-center",children:[Object(M.jsx)("a",{href:t.doc_path,download:!0,target:"_blank",children:Object(M.jsx)("img",{src:"/edge/images/edge_download_icon.png",width:30})}),Object(M.jsx)("img",{onClick:e=>{this.setState({showModal:!0,pdfUrl:t.doc_path})},src:"/edge/images/edge_eye_icon.png",width:30})]})})]})))})]})}),Object(M.jsxs)(k.a,{show:this.state.
1showModal,onHide:t=>{this.setState({showModal:!1})},size:"lg",centered:!0,children:[Object(M.jsx)(k.a.Header,{children:Object(M.jsx)(k.a.Title,{children:"Building Document"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(bo.PDFReader,{onDocumentComplete:()=>{},showAllPage:!0,url:this.state.pdfUrl})}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"secondary",onClick:t=>{this.setState({showModal:!1})},children:"Close"})})]}),Object(M.jsxs)(k.a,{show:this.state.showImageModal,onHide:t=>{this.setState({showImageModal:!1})},size:"lg",centered:!0,children:[Object(M.jsx)(k.a.Header,{children:Object(M.jsx)(k.a.Title,{children:"Building Image"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("img",{src:this.state.imgUrl,width:"100%"})}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"secondary",onClick:t=>{this.setState({showImageModal:!1})},children:"Close"})})]})]})})]})})]})})}}mo.contextType=Wt;var go=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,creUser:t.creUser}}))(mo);class Oo extends i.a.Component{constructor(t){super(t),this.state={selectedAssets:[],filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t}),jt.post("api/edge/office/get_multiple_asset_details",Z(t)).then((t=>{this.setState({selectedAssets:t.data.slice(0,5)})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_multiple_asset_details",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({selectedAssets:t.data.slice(0,5)})})))}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Assets"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",children:Object(M.jsx)(Te.a,{id:"selectedAssetsTableXlsButton",className:"download-table-xls-button",table:"selectedAssets",filename:"RecentTransactions",sheet:"RecentTransactions",buttonText:"Download as Excel"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#selectedAssets","RecentTransactions")},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"selectedAssets",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset Name"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Developer"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"REIT"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Property Type"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"State"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Macro-market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Pincode"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Lat Long"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Nature of Property"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Completed area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Development area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Operating area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Leasable Area"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Cumulative Value"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Price Per Leasable"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupancy"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Completion Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Top 5 Tenants"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Lease Rentals"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"YoY Growth in Lease Rentals"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Lease Maturity"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Reference Value"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Lease Tenure"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"WALE"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"WACC"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(MSF/MW)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(MSF/KEYS)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(MSF)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(MSF/KEYS)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(MN)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(SF)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(gross rent psf/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.selectedAssets.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{title:t.complex,children:t.complex}),Object(M.jsx)("td",{title:t.developer,children:t.developer}),Object(M.jsx)("td",{children:t.is_reit}
1),Object(M.jsx)("td",{children:t.complex_type}),Object(M.jsx)("td",{children:t.state}),Object(M.jsx)("td",{children:t.city}),Object(M.jsx)("td",{children:t.macromarket}),Object(M.jsx)("td",{children:t.micromarket}),Object(M.jsx)("td",{children:t.pincode}),Object(M.jsxs)("td",{children:[t.latitude,", ",t.longitude]}),Object(M.jsx)("td",{children:t.nature_of_property}),Object(M.jsx)("td",{children:t.completed_area}),Object(M.jsx)("td",{children:t.development_area}),Object(M.jsx)("td",{children:t.operating_area}),Object(M.jsx)("td",{children:t.leasable_area}),Object(M.jsx)("td",{children:t.cumulative_value}),Object(M.jsx)("td",{children:t.price_per_leasable_sqr_feet}),Object(M.jsx)("td",{children:t.complex_occupancy}),Object(M.jsx)("td",{children:t.occupancy_date_orig}),Object(M.jsx)("td",{title:t.top_five_tenants,children:t.top_five_tenants}),Object(M.jsx)("td",{children:t.lease_rentals}),Object(M.jsx)("td",{children:t.five_year_cagr}),Object(M.jsx)("td",{title:t.lease_maturity_details,children:t.lease_maturity_details}),Object(M.jsx)("td",{children:t.ready_reckoner_rate_in_inr_per_sqft}),Object(M.jsx)("td",{children:t.weighted_avg_lease_term}),Object(M.jsx)("td",{children:t.wale}),Object(M.jsx)("td",{children:t.wacc_percentage})]},e)))})]})})]})})}}Oo.contextType=Wt;var uo=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Oo);class yo extends i.a.Component{constructor(t){super(t),this.state={recentTransactions:[],filters:"",showLoader:!1,showGraph:!1}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t}),console.log(this.state.filters),jt.post("api/edge/office/get_major_recent_lease_transactions",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({recentTransactions:t.data.slice(0,5)})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_major_recent_lease_transactions",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({recentTransactions:t.data.slice(0,5)})})))}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recent Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Recent Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(Te.a,{id:"recentTransactionsTableXlsButton",className:"download-table-xls-button",table:"recentTransactions",filename:"RecentTransactions",sheet:"RecentTransactions",buttonText:"Download as Excel"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#recentTransactions","RecentTransactions");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Recent Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"recentTransactions",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"New/Renewal"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Building"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Chargeable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Rent"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Term"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Security Deposit"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"CAM"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"1st Escalation"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(Sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/Sqft/Month)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end"}
1),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"*"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"%"})})]})]}),Object(M.jsx)("tbody",{children:this.state.recentTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.new_renewal}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{children:t.building}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.rent}),Object(M.jsx)("td",{title:t.micromarket,children:Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",t.micromarket),children:t.micromarket})}),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city})}),Object(M.jsx)("td",{className:"text-end",children:t.term}),Object(M.jsx)("td",{className:"text-end",children:t.security_deposit}),Object(M.jsx)("td",{children:t.cam}),Object(M.jsx)("td",{className:"text-end",children:t.first_escalation})]},e)))})]})})]})]})}}yo.contextType=Wt;var fo=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(yo);class wo extends i.a.Component{constructor(t){super(t),console.log(t,"pp")}componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid developer  p-0 spacingClassForDashboard",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(nl,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(hl,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Al,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ml,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(yl,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(wl,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(fo,{})})}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(uo,{})})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(Wl,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(jo,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(to,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(so,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)(oo,{})}),1===this.props.creUser&&Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ro,{})})]})}}wo.contextType=Wt;var No=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,creUser:t.creUser}}))(wo);class So extends i.a.Component{constructor(){super(...arguments),this.state={filters:"{}"}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t})}componentDidUpdate(){this.state.filters!==JSON.stringify(this.props.filters)&&this.setState({filters:JSON.stringify(this.props.filters)})}renderAsset(){var t=JSON.parse(this.state.filters);return void 0===t.complexes||0===t.complexes.length?Object(M.jsx)(sl,{}):1===t.complexes.length?Object(M.jsx)(go,{}):Object(M.jsx)(No,{})}render(){return void 0!==this.state.filters?this.renderAsset():Object(M.jsx)(M.Fragment,{children:"Loading"})}}So.contextType=Wt;var Do=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(So);const Mo="Top Occupiers - Occupied Space";class Co extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_top_tenant_space",s).then((t=>{let e=t.data?t.data.slice(0,10):[];this.setState({showLoader:!1,showGraph:!0,topTenantsOccupiedSpace:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},current_rent:{name:"Current Rent (\u20b9/sqft/month)",type:"int"},area:{name:"Active Area Leased (msf)",type:"int"},area_expiring_in_12months:{name:"Area Expiring in 12 Months",type:"int"},wale:{name:"WALE",type:"int"}})})}))},this.state={topTenantsOccupiedSpace:[],filters:"",showLoader:!1,showGraph:!1,jsonForExcel:[],areaType:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Occupiers - Occupied Space"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:()=>{Ft(Ot,{chartName:Mo,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Top Occupiers - Occupied Space"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TenantsOccupiedSpace",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{Ft(gt,{chartName:Mo,filters:this.state.filters}),q("#tenantsOccupiedSpace","TenantsOccupiedSpace");let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Top Occupiers - Occupied Space"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"tenantsOccupiedSpace",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Current Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Active Area Leased"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area Expiring in 12 Months"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.topTenantsOccupiedSpace.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("brands_parent",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{className:"text-end",children:t.current_rent}
1),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.area_expiring_in_12months}),Object(M.jsx)("td",{className:"text-end",children:t.wale})]},e)))})]})})]})]})}}Co.contextType=Wt;var Fo=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Co);const Bo="Occupied Space Share - Top 10 Occupiers";const vo={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#FF9A8D","#FF8A79","#FF7A66","#FF6B52","#FF5B3F","#F93621","#D92F1D","#B92719","#982015","#781911"]};class To extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),jt.post("api/edge/office/get_top_occupiers",s).then((t=>{let e=t.data.x;const a=t.data.y.map(((t,a)=>[t,Number(e[a])]));a.unshift(["Assets","Area(msf)"]);const s=at(t,"Occupied Space Area(msf)","Assets"),i=$(t.data.x);this.setState({showLoader:!1,showGraph:!0,googlePieChartData:a,noGraph:!i,exceldata:s})}))},this.downloadPdf=()=>{Ct(gt,{chartName:Bo,filters:this.state.filters});const t=document.getElementById("occupiedSpaceShareTopAssets");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("occupiedSpaceShareTopAssets.pdf")}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Bo,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight maxCanvasHeightAuto"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"occupiedSpaceShareTopAssets",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Occupied Space Share - Top 10 Occupiers"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Occupied Space Share - Top 10 Occupiers"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Occupied Space Share - Top 10 Occupiers"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Bo,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Occupied Space Share - Top 10 Occupiers"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"occupiedSpaceShareTopAssets",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Bo,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:vo,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:To,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}To.contextType=Wt;var Io=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(To);const _o="Top Occupiers - Gross Leasing Volume";class Eo extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,top_xx:this.state.top_xx,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.state.top_xx>0&&s.append("top_xx",this.state.top_xx<51?this.state.top_xx:50),this.setState({bodyParams:s}),jt.post("api/edge/office/get_top_tenants_gross_leasing_volume_stack_based",s).then((t=>{let e=t.data;if(e&&e.datasets)for(let l=0;l<e.datasets.length;l++)e.datasets[l].barThickness=10,e.datasets[l].borderRadius=10;const a=st(this.state.start_date,this.state.end_date)?5:10,s=((t,e)=>{let a=[];if(0==t.length){let t=[];t.Tenant="",t["Demand New"]="",t["Demand Renewals"]="",a.push(t)}else for(let s=0;s<t.length;s++){let i=[];i.Tenant=t[s];for(let t=0;t<e.length;t++)i[e[t].label]=e[t].data[s];a.push(i)}return a})(t.data.labels,t.data.datasets),i=!e||!e.datasets||0===e.datasets.length;this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.labels,barThicknesS:a,chartData:e,exceldata:s,noGraph:i})}))},this.downloadPdf=()=>{Ct(gt,{chartName:_o,filters:this.state.filters});const t=document.getElementById("topOccupiersGrossLeasingVolumne");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("topOccupiersGrossLeasingVolumne.pdf")}))},this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,top_xx:t.topXX,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:_o,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,showToolTip:!1,up:j.d,down:j.c,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",top_xx:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"Occupiers"},ticks:{callback:function(e,a){return/\s/.test(t.state.xAxis)&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}},a={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,topXX:this.state.top_xx};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"topOccupiersGrossLeasingVolumne",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Top Occupiers - Gross Leasing Volume",Object(M.jsx)("span",{className:"colorBlack",children:" (Last 12 Months)"})]}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Top Occupiers - Gross Leasing Volume",Object(M.jsx)("span",{className:"colorBlack",children:" (Last 12 Months)"})]}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Top Occupiers - Gross Leasing Volume"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:_o,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Top Occupiers - Gross Leasing Volume"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"topOccupiersGrossLeasingVolumne",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:_o,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"350px"},children:Object(M.jsx)(ne.a,{options:e,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Re,{datechildFilter:this.dateFilter,parentData:a})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Eo,filters:this.state.filters,chartHe
1ightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Eo.contextType=Wt;var Uo=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Eo);const Ro="Occupiers Sectors - Area Occupied";const Yo={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#b3d2ff","#91bcfd","#70a6fa","#4e90f8","#2d7af5","#1c6ff4","#1f4bc0","#22339e","#241b7b","#260359"]};class Qo extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.setState({bodyParams:s}),jt.post("api/edge/office/get_top_tenant_sectors",s).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Developers","area"]);const i=$(t.data.y),l=et(t,"Sector","Area Occupied(msf)");this.setState({showLoader:!1,showGraph:!0,googlePieChartData:s,noGraph:!i,exceldata:l})}))},this.downloadPdf=()=>{Ct(gt,{chartName:Ro,filters:this.state.filters});const t=document.getElementById("occupiersSectorAreaOccupied");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("occupiersSectorAreaOccupied.pdf")}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Ro,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight maxCanvasHeightAuto"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"occupiersSectorAreaOccupied",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Occupiers Sectors - Area Occupied"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Occupiers Sectors - Area Occupied"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Occupiers Sectors - Area Occupied"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Ro,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Occupiers Sectors - Area Occupied"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"occupiersSectorAreaOccupied",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Ro,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Yo,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Qo,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Qo.contextType=Wt;var ko=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Qo);const Po="Passing Rent Trends - Top Occupiers By Area Leased";class Go extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,mode:this.state.mode,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,top_xx:this.state.top_xx,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.state.top_xx>0&&s.append("top_xx",this.state.top_xx<51?this.state.top_xx:50),this.setState({bodyParams:s}),jt.post("api/edge/office/get_tenant_passing_rental_trends",s).then((t=>{var e,a,s,i,l;let o=[];if(t.data.datapoints)for(let d=1;d<Object.keys(t.data.datapoints).length+1;d++)t.data.datapoints["y"+d]&&Object.keys(t.data.datapoints["y"+d]).length>0&&o.push({label:"".concat(t.data.legend["y"+d]),data:t.data.datapoints["y"+d],borderColor:t.data.bgcolor["y"+d],backgroundColor:t.data.bgcolor["y"+d]});let c={labels:t.data.x,datasets:o},n=!0;((null===(e=t.data.datapoints)||void 0===e?void 0:e.y1)&&$(t.data.datapoints.y1)||(null===(a=t.data.datapoints)||void 0===a?void 0:a.y2)&&$(t.data.datapoints.y2)||(null===(s=t.data.datapoints)||void 0===s?void 0:s.y3)&&$(t.data.datapoints.y3)||(null===(i=t.data.datapoints)||void 0===i?void 0:i.y4)&&$(t.data.datapoints.y4)||(null===(l=t.data.datapoints)||void 0===l?void 0:l.y5)&&$(t.data.datapoints.y5))&&(n=!1);const r=tt(t);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,noGraph:n,chartData:c,exceldata:r})}))},this.downloadPdf=()=>{Ct(gt,{chartName:Po,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("passingRentTrendsTopOccupiers");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("passingRentTrendsTopOccupiers.pdf")}
1))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,top_xx:t.topXX,filters:"",isOpen:!1})},this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Yearly":"Switch To Quarterly";return Ct(Nt,{chartName:Po,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.openModal=()=>{Ct(ft,{chartName:Po,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",top_xx:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){return/\s/.test(t.state.xAxis)&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!==typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!==typeof e.tooltip.dataPoints){let a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1,o=parseFloat(e.tooltip.dataPoints[0].dataset.data[i]),c=parseFloat(e.tooltip.dataPoints[0].dataset.data[l]);o<c&&(a="colorRed",s=j.c);let n=(100*(o-c)/c).toFixed(2)+"%";"Infinity%"!==n&&"NaN%"!==n||(n=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:n})}}}}},a={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,topXX:this.state.top_xx};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"passingRentTrendsTopOccupiers",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent Trends - Top Occupiers By Area Leased"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent Trends - Top Occupiers By Area Leased"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Passing Rent Trends - Top Occupiers By Area Leased"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Po,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Passing Rent Trends - Top Occupiers By Area Leased"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"passingRentTrendsTopOccupiers",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Po,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:e,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Re,{datechildFilter:this.dateFilter,parentData:a})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Go,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Go.contextType=Wt;var Lo=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Go);const Vo="Future Rental Trends - Top Tenants";class zo extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,mode:this.state.mode,area_type:this.props.areaType||"",start_date:this.state.start_date,end_date:this.state.end_date,which_date:this.state.which_date,top_xx:this.state.top_xx,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.props.areaType||""),this.state.end_date&&"ull"!==this.state.end_date&&this.state.start_date&&"ull"!==this.state.start_date&&this.state.which_date?(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(s=this.props.bodyParams),this.state.top_xx>0&&s.append("top_xx",this.state.top_xx<51?this.state.top_xx:50),this.setState({bodyParams:s}),jt.post("api/edge/office/get_tenant_market_rental_trends",s).then((t=>{var e,a,s,i,l;let o=[];if(t.data.datapoints)for(let h=1;h<Object.keys(t.data.datapoints).length+1;h++)t.data.datapoints["y"+h]&&Object.keys(t.data.datapoints["y"+h]).length>0&&o.push({label:"".concat(t.data.legend["y"+h]),data:t.data.datapoints["y"+h],borderColor:t.data.bgcolor["y"+h],backgroundColor:t.data.bgcolor["y"+h]});let c={labels:t.data.x,datasets:o},n=!0;((null===(e=t.data.datapoints)||void 0===e?void 0:e.y1)&&$(t.data.datapoints.y1)||(null===(a=t.data.datapoints)||void 0===a?void 0:a.y2)&&$(t.data.datapoints.y2)||(null===(s=t.data.datapoints)||void 0===s?void 0:s.y3)&&$(t.data.datapoints.y3)||(null===(i=t.data.datapoints)||void 0===i?void 0:i.y4)&&$(t.data.datapoints.y4)||(null===(l=t.data.datapoints)||void 0===l?void 0:l.y5)&&$(t.data.datapoints.y5))&&(n=!1);const r=tt(t),d=this.generateChartOptions(t.data.x,this.state.mode);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,noGraph:n,chartData:c,chartOtions:d,exceldata:r})}))},this.generateChartOptions=(t,e)=>{const a=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===e||"quarter"===e?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10},callback:function(e,a){return"undefined"!==typeof t[a]&&/\s/.test(t)?t[a].split(" "):"undefined"!==typeof t[a]&&t.length>0?t[a]:""}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}}},this.downloadPdf=()=>{Ct(gt,{chartName:Vo,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("rentalsVacancyLineChart");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("marketRentalTrendsTopOccupiers.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Future Rental Trends - Top Tenants"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,top_xx:t.topXX,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Vo,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{this.setState((t=>{const e="quarterly"===t.mode?"yearly":"quarterly",a="quarterly"===t.mode?"Switch To Yearly":"Switch To Quarterly";return Ct(Nt,{chartName:Vo,mode:e,filters:this.state.filters,extra:{from_mode:t.mode}}),{mode:e,modeText:a}}))},this.state={areaType:"",globalMode:"",mode:"yearly",modeText:"Switch To Quarterly",expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",top_xx:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({globalMode:this.props.globalMode}),this.queueFetchData()}componentDidUpdate(){this.props.globalMode!==this.state.globalMode&&this.setState({globalMode:this.props.globalMode,mode:this.props.globalMode}),this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,topXX:this.state.top_xx};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"marketRentalTrendsTopOccupiers",children:[this.state.showLoader&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rental Trends - Top Tenants"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})]}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rental Trends - Top Tenants"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rental Trends - Top Tenants"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Vo,mode:this.state.mode,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Future Rental Trends - Top Tenants"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"marketRentalTrendsTopOccupiers",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Vo,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Re,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:zo,filters:this.state.filters,chartHe
1ightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}zo.contextType=Wt;var Jo=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(zo);class Wo extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid p-0 spacingClassForDashboard",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Fo,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Io,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Uo,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(ko,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Lo,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Jo,{})})]})]})}}var Ho=Object(c.f)(Wo);class Zo extends i.a.Component{constructor(t){super(t),this.state={occupierDetails:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_tenant_details",Z(t)).then((t=>{console.log(t),this.setState({occupierDetails:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_tenant_details",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({occupierDetails:t.data})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloper widgetWithExtraPadding borderRadiusClass p-0",children:Object(M.jsxs)("div",{class:"row m-0 logoWithDetailsDesign",children:[Object(M.jsx)("div",{class:"col-lg-5 p-0 logoWithDetailsDesignL",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:this.state.occupierDetails.image,class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-7 logoWithDetailsDesignR",children:[Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[Object(M.jsx)("h6",{children:this.state.occupierDetails.year_founded}),Object(M.jsx)("p",{children:"Year Founded"})]}),Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[Object(M.jsx)("h6",{children:this.state.occupierDetails.headquarters}),Object(M.jsx)("p",{children:"Head quarters"})]}),Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[Object(M.jsx)("h6",{title:this.state.occupierDetails.website,children:this.state.occupierDetails.website}),Object(M.jsx)("p",{children:"Website"})]}),Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[Object(M.jsx)("h6",{children:Object(M.jsx)("a",{target:"_blank",href:"https://www.linkedin.com/search/results/all/?keywords=".concat(this.state.occupierDetails.leasing_rep),children:this.state.occupierDetails.leasing_rep})}),Object(M.jsx)("p",{children:"Leasing Rep"})]})]})]})})}}Zo.contextType=Wt;var Xo=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Zo);Zt()(["/edge/images/updated_logos/officestock.svg"]);class Ko extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType}),jt.post("api/edge/office/get_tenant_active_space_leased",Z(JSON.stringify(t))).then((t=>{this.setState({totalOfficeStockBuilt:t.data})})))},this.state={totalOfficeStockBuilt:{},filters:"",areaType:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Total Active Space Leased Icon",src:"/edge/images/updated_logos/officestock.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:void 0!==this.state.totalOfficeStockBuilt.active_space_leased?this.state.totalOfficeStockBuilt.active_space_leased:"-"}),Object(M.jsx)("p",{children:"Total Active Space Leased"})]})]})}}Ko.contextType=Wt;var qo=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Ko);Zt()(["/edge/images/updated_logos/passingrent.svg"]);class $o extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_tenant_current_passing_rent",Z(JSON.stringify(t))).then((t=>{this.setState({currentPassingRent:t.data})})))},this.state={currentPassingRent:{},filters:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Total Active Space Leased Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:["\u20b9"," ",void 0!==this.state.currentPassingRent.current_passing_rent?this.state.currentPassingRent.current_passing_rent:"-"]}),Object(M.jsx)("p",{children:"Current Passing Rent"})]})]})}}$o.contextType=Wt;var tc=Object(D.b)((function(t){return{filters:t.selectedFilters}}))($o);Zt()(["/edge/images/updated_logos/marketrent.svg"]);class ec extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_tenant_market_rent",Z(JSON.stringify(t))).then((t=>{this.setState({marketRent:t.data})})))},this.state={marketRent:{},filters:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/updated_logos/marketrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:["\u20b9"," ",void 0!==this.state.marketRent.market_rent?this.state.marketRent.market_rent:"-"]}),Object(M.jsx)("p",{children:"Starting Rent (Market Rent)"})]})]})}}ec.contextType=Wt;var ac=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ec);Zt()(["/edge/images/updated_logos/vacancy.svg"]);class sc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_tenant_cities_present",Z(JSON.stringify(t))).then((t=>{this.setState({presentCities:t.data})})))},this.state={presentCities:{},filters:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"# of Cities Present Icon",src:"/edge/images/updated_logos/vacancy.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsx)("h2",{children:void 0!==this.state.presentCities.city_count?this.state.presentCities.city_count:"-"}),Object(M.jsx)("p",{children:"# of Cities Present"})]})]})}}sc.contextType=Wt;var ic=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(sc);Zt()(["/edge/images/updated_logos/assetpresence.svg"]);class lc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_tenant_no_of_assets",Z(JSON.stringify(t))).then((t=>{this.setState({presentAssets:t.data})})))},this.state={presentAssets:{},filters:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"# of Asset Presence Icon",src:"/edge/images/updated_logos/assetpresence.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:void 0!==this.state.presentAssets.asset_count?this.state.presentAssets.asset_count:"-"}),Object(M.jsx)("p",{children:"# of Asset Presence"})]})]})}}lc.contextType=Wt;var oc=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(lc);Zt()(["/edge/images/updated_logos/passingrent.svg"]);class cc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_tenant_area_expiring",Z(JSON.stringify(t))).then((t=>{this.setState({areaExpiring:t.data})})))},this.state={areaExpiring:{},filters:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Area Expiring in Next 12 Months Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:void 0!==this.state.areaExpiring.area_expiring?this.state.areaExpiring.area_expiring:"-"}),Object(M.jsx)("p",{children:"Area Expiring in Next 12 Months"})]})]})}}cc.contextType=Wt;var nc=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(cc);Zt()(["/edge/images/updated_logos/wale.svg"]);class rc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_tenant_wale",Z(JSON.stringify(t))).then((t=>{this.setState({wale:t.data})})))},this.state={wale:{},filters:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"WALE Icon",src:"/edge/images/updated_logos/wale.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[void 0!==this.state.wale.wale?this.state.wale.wale:"-"," ","Months"]}),Object(M.jsx)("p",{children:"WALE"})]})]})}}rc.contextType=Wt;var dc=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(rc);Zt()(["/edge/images/updated_logos/passingrent.svg"]);class hc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t},a=JSON.stringify(e);this.lastFetchedPayload!==a&&(this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t)}),jt.post("api/edge/office/get_tenant_effective_rent",Z(JSON.stringify(t))).then((t=>{this.setState({effectiveRent:t.data})})))},this.state={effectiveRent:{},filters:""}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Effective Rent Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:void 0!==this.state.effectiveRent.effective_rent?this.state.effectiveRent.effective_rent:"-"}),Object(M.jsx)("p",{children:"Effective Rent"})]})]})}}hc.contextType=Wt;var pc=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(hc);const jc="Leasing Growth";class Ac extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||"",globalMode:this.props.globalMode||"",mode:this.state.mode,startDate:this.state.start_date,endD
1ate:this.state.end_date,whichDate:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;let s;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,globalMode:this.props.globalMode,showLoader:!0,showGraph:!1}),"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s=new FormData,s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),s.append("area_type",this.props.areaType||""),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_tenant_leasing_growth_stacked",s).then((t=>{let e=st(this.state.start_date,this.state.end_date)?5:10;const a={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:e,borderRadius:10,stack:"Stack 0",minBarLength:0},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:e,borderRadius:10,stack:"Stack 0",minBarLength:0}]},s=$(t.data.datapoints.y1)||$(t.data.datapoints.y2);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,barThickness:e,chartData:a,chartOtions:this.getChartOptions(t.data.x),noGraph:!s,exceldata:tt(t)})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1,c=parseFloat(t.tooltip.dataPoints[0].dataset.data[l]),n=parseFloat(t.tooltip.dataPoints[0].dataset.data[o]);c<n&&(s="colorRed",i=j.c);var r=parseFloat(100*(c-n)/n).toFixed(2)+"%";"Infinity%"!==r&&"NaN%"!==r||(r=""),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a,tooltipYPercentDiff:r})}}}}}},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{Ct(ft,{chartName:jc,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="yearly"===t?"Switch To Quarterly":"Switch To Yearly";Ct(Nt,{chartName:jc,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:e},(()=>this.queueFetchData()))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThickness:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(t,e){this.props.globalMode===t.globalMode?this.queueFetchData():this.setState({mode:this.props.globalMode},(()=>{this.queueFetchData()}))}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:jc,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("leasingGrowth");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("leasingGrowth.pdf")}))}
1render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leasingGrowth",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Leasing Growth"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Leasing Growth"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Leasing Growth"),jt.post("api/user-activity/log-activity",t)},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:jc,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Leasing Growth"),jt.post("api/user-activity/log-activity",t)},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"leasingGrowth",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:jc,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"350px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Ac,filters:this.state.filters,chartHe
1ightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Ac.contextType=Wt;var xc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Ac);class bc extends i.a.Component{constructor(t){super(t)}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Active Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{children:"Built Stock(#)"}),Object(M.jsx)("th",{children:"Built Stock(msf)"}),Object(M.jsx)("th",{className:"text-end",children:"Occupancy(%)"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]})]})]})})]})})}}bc.contextType=Wt;const mc="Rental Trend (Passing + Fitout Rents)";class gc extends i.a.Component{constructor(t){var e;super(t),e=this,this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.apiTimeout&&clearTimeout(e.apiTimeout),e.apiTimeout=setTimeout((()=>{e.fetchData(t)}),300)},this.fetchData=t=>{let e="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const a={filters:e,areaType:this.props.areaType||"",globalMode:this.props.globalMode||"",mode:this.state.mode,startDate:this.state.start_date,endDate:this.state.end_date,whichDate:this.state.which_date,selectedTenant:this.state.selectedTenant,hasBodyParams:"undefined"!==typeof this.props.bodyParams},s=JSON.stringify(a);if(this.lastFetchedPayload===s&&!t)return;let i;this.lastFetchedPayload=s,this.setState({filters:JSON.stringify(e),areaType:this.props.areaType,globalMode:this.props.globalMode,showLoader:!0,showGraph:!1}),"undefined"!==typeof this.props.bodyParams?i=this.props.bodyParams:(i=new FormData,i.append("filter",JSON.stringify(e)),i.append("mode",this.state.mode),this.props.areaType&&i.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(i.append("end_date",this.state.end_date),i.append("start_date",this.state.start_date),i.append("which_date",this.state.which_date)),"Select"!==this.state.selectedTenant&&i.append("other_tenant",this.state.selectedTenant)),this.setState({bodyParams:i});let l=new FormData;l.append("filter",JSON.stringify(e)),l.append("mode",this.state.mode),jt.post("api/edge/office/get_tenant_sector_tenants",l).then((t=>{this.setState({tenants:t.data||[]})})),jt.post("api/edge/office/get_tenant_tenant_sector_comparison",i).then((t=>{let e=[],a=[];for(let l=1;l<Object.keys(t.data.datapoints).length+1;l++){const s=t.data.datapoints["y"+l];s&&Object.keys(s).length>0&&($(s.data)&&e.push({label:"".concat(t.data.legend["y"+l]),data:s.data,borderColor:t.data.bgcolor["y"+l],backgroundColor:t.data.bgcolor["y"+l]}),a.push($(s.data)))}const s={labels:t.data.x,datasets:e},i=0===e.length||!a.includes(!0);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,chartData:s,chartOtions:this.getChartOptions(t.data.x),noGraph:i,exceldata:tt(t)})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){return"undefined"!==typeof t[a]&&/\s/.test(t[a])?t[a].split(" "):"undefined"!==typeof t[a]&&t[a].length>0?t[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[l])<parseFloat(t.tooltip.dataPoints[0].dataset.data[o])&&(s="colorRed",i=j.c),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a})}}}}}},this.handleTenantChange=t=>{this.setState({selectedTenant:t.target.value},(()=>{this.queueFetchData()}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{Ct(ft,{chartName:mc,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="yearly"===t?"Switch To Quarterly":"Switch To Yearly";Ct(Nt,{chartName:mc,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:e},(()=>this.queueFetchData()))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,tenants:[],selectedTenant:"Select",filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData(!0)}componentDidUpdate(t){if(this.props.globalMode!==t.globalMode)return void this.setState({mode:this.props.globalMode},(()=>{this.queueFetchData()}));const e=JSON.stringify(this.props.filters)!==JSON.stringify(t.filters);this.queueFetchData(e)}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:mc,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("rentalTrendPassingFitoutRents");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("rentalTrendPassingFitoutRents.pdf")}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalTrendPassingFitoutRents",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rental Trend (Passing + Fitout Rents)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-7 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rental Trend (Passing + Fitout Rents)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-4 text-end",children:Object(M.jsxs)("select",{className:"tenantSelect",value:this.state.selectedTenant,onChange:this.handleTenantChange,children:[Object(M.jsx)("option",{value:"Select",children:"Select"}),this.state.tenants.length>0&&this.state.tenants.map(((t,e)=>Object(M.jsx)("option",{value:t,children:t},"tenant-".concat(e))))]})}),Object(M.jsx)("div",{className:"col-lg-1 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rental Trend (Passing + Fitout Rents)"),jt.post("api/user-activity/log-activity",t)},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:mc,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rental Trend (Passing + Fitout Rents)"),jt.post("api/user-activity/log-activity",t)},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"rentalTrendPassingFitoutRents",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:mc,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:gc,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}gc.contextType=Wt;var Oc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(gc);const uc="Lease Expiry & Future Rentals";class yc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||"",globalMode:this.props.globalMode||"",mode:this.state.mode,startDate:this.state.start_date,endD
1ate:this.state.end_date,whichDate:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;let s;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,globalMode:this.props.globalMode,showLoader:!0,showGraph:!1}),"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s=new FormData,s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),this.props.areaType&&s.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_tenant_leasing_expiry_future_rentals",s).then((t=>{let e=st(this.state.start_date,this.state.end_date)?5:10;const a={labels:t.data.x,datasets:[{type:"line",label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2,yAxisID:"y",borderDash:[10,5]},{type:"bar",label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:e,borderRadius:10,yAxisID:"y1"}]},s=$(t.data.datapoints.y1)||$(t.data.datapoints.y2);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,barThickness:e,chartData:a,chartOtions:this.getChartOptions(t.data.x),noGraph:!s,exceldata:tt(t)})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}},y1:{grid:{display:!1,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"right"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1,c=parseFloat(t.tooltip.dataPoints[0].dataset.data[l]),n=parseFloat(t.tooltip.dataPoints[0].dataset.data[o]);c<n&&(s="colorRed",i=j.c);var r=parseFloat(100*(c-n)/n).toFixed(2)+"%";"Infinity%"!==r&&"NaN%"!==r||(r=""),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a,tooltipYPercentDiff:r})}}}}}},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{Ct(ft,{chartName:uc,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="yearly"===t?"Switch To Quarterly":"Switch To Yearly";Ct(Nt,{chartName:uc,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:e},(()=>this.queueFetchData()))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThickness:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHe
1ightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(t){this.props.globalMode===t.globalMode?this.queueFetchData():this.setState({mode:this.props.globalMode},(()=>{this.queueFetchData()}))}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:uc,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("leaseExpiryFutureRentals");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("leaseExpiryFutureRentals.pdf")}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leaseExpiryFutureRentals",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Expiry & Future Rentals"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Expiry & Future Rentals"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Lease Expiry & Future Rentals"),jt.post("api/user-activity/log-activity",t)},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:uc,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Lease Expiry & Future Rentals"),jt.post("api/user-activity/log-activity",t)},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"leaseExpiryFutureRentals",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:uc,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:this.state.modeText})]})]})}
1),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.b,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:yc,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}yc.contextType=Wt;var fc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(yc);const wc="City-wise - Leased Area & Expiry";class Nc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||"",startDate:this.state.start_date,endDate:this.state.end_date,whichDate:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;let s;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1}),"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s=new FormData,s.append("filter",JSON.stringify(t)),this.props.areaType&&s.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_tenant_leasing_expiry_near_and_future",s).then((t=>{let e=st(this.state.start_date,this.state.end_date)?5:10;const a={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.data,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:e,borderRadius:10},{label:t.data.legend.y2,data:t.data.datapoints.y2.data,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:e,borderRadius:10}]},s=$(t.data.datapoints.y1.data)||$(t.data.datapoints.y2.data),i=t.data.x.map(((e,a)=>{const s=parseFloat(t.data.datapoints.y1.data[a]),i=parseFloat(t.data.datapoints.y2.data[a]);return isNaN(s)&&isNaN(i)?null:{Cities:e,[t.data.legend.y1]:isNaN(s)?0:s,[t.data.legend.y2]:isNaN(i)?0:i}})).filter((t=>null!==t));this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,barThickness:e,chartData:a,chartOtions:this.getChartOptions(t.data.x),noGraph:!s,exceldata:i})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Cities"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[l])<parseFloat(t.tooltip.dataPoints[0].dataset.data[o])&&(s="colorRed",i=j.c),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a})}}}}}},this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{Ct(ft,{chartName:wc,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThickness:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"===typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!==typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:wc,filters:this.state.filters});const t=document.getElementById("cityWiseLeaseAreaExpiry");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("cityWiseLeaseAreaExpiry.pdf")}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"cityWiseLeaseAreaExpiry",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"City-wise - Leased Area & Expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"City-wise - Leased Area & Expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","City-wise - Leased Area & Expiry"),jt.post("api/user-activity/log-activity",t)},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:wc,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","City-wise - Leased Area & Expiry"),jt.post("api/user-activity/log-activity",t)},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"cityWiseLeaseAreaExpiry",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:wc,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}
1),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Nc,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Nc.contextType=Wt;var Sc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Nc);const Dc="Recent Transactions";class Mc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),this.props.areaType&&s.append("area_type",this.props.areaType),jt.post("api/edge/office/get_major_recent_lease_transactions",s).then((t=>{let e=t.data.splice(0,5),a=e.map((t=>({Occupier:t.tenant||null,"New/Renewal":t.new_renewal||null,Date:t.execution_date||null,Asset:t.complex||null,"Chargeable Area (Sqft)":t.area?parseInt(t.area.replace(/,/g,"")):null,"Rent (\u20b9/sqft/month)":t.rent?parseInt(t.rent):null,"Micro-Market":t.micromarket||null,city:t.city||null,Term:t.term?parseInt(t.term):null,"Security Deposit":t.security_deposit?parseInt(t.security_deposit):null,CAM:t.cam||null,"1st Escalation":null!=t.first_escalation?parseInt(t.first_escalation):null})));this.setState({showLoader:!1,showGraph:!0,recentTransactions:e,jsonForExcel:a})}))},this.verifyUser=t=>{if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.state={areaType:"",recentTransactions:[],filters:"",showLoader:!0,showGraph:!1,jsonForExcel:[],isOpenErrorDisplayModal:!1}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recent Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Dc,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Recent Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"RecentTransactions",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Dc,filters:this.state.filters}),q("#recentTransactions","RecentTransactions");let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Recent Transactions"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"recentTransactions",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"New/Renewal"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Chargeable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Rent"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Micro-Market"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Term"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Security Deposit"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"CAM"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"1st Escalation"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(Sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/Sqft/Month)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"*"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"%"})})]})]}),Object(M.jsx)("tbody",{children:this.state.recentTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.new_renewal}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.rent}),Object(M.jsx)("td",{title:t.micromarket,children:Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",t.micromarket),children:t.micromarket})}),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city})}),Object(M.jsx)("td",{className:"text-end",children:t.term}),Object(M.jsx)("td",{className:"text-end",children:t.security_deposit}),Object(M.jsx)("td",{children:t.cam}),Object(M.jsx)("td",{className:"text-end",children:t.first_escalation})]},e)))})]})})]}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}Mc.contextType=Wt;var Cc=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(Mc);const{Column:Fc,HeaderCell:Bc,Cell:vc}=fe.a;class Tc extends i.a.Component{constructor(){super(...arguments),this.state={filters:"",showLoader:!1,showGraph:!1,data:[],loading:!1,tableHeight:400,bodyParams:"",page:1,newsLoading:!1,hasMore:!1},this.fetchMoreData=()=>{this.setState({hasMore:!0});var t,e=this.state.page+1;this.setState({page:e}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters);var a=new FormData;a.append("filter",t),a.append("section","occupier"),a.append("page",e),jt.post("api/edge/office/get_recent_news",a).then((t=>{var e=[...this.state.data,...t.data];this.setState({data:e,hasMore:!1})}
1))},this.handleScroll=(t,e)=>{if(console.log(t,e),this.state.data.length>0){const t=46*this.state.data.length;console.log(t);const a=Math.abs(e);console.log(a),console.log(this.state.tableHeight),t-a-this.state.tableHeight<300&&0==this.state.newsLoading&&(this.setState({newsLoading:!0}),console.log("api call"),this.loadMore())}}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.setState({});var e=new FormData;e.append("filter",t),e.append("section","occupier"),e.append("page",1),jt.post("api/edge/office/get_recent_news",e).then((t=>{this.setState({data:t.data,newsLoading:!1},(()=>{console.log(this.state.data.length,"OOP")}))}))}getComplexNames(t){return t.split(",").map((t=>Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t),children:t})))}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recent News"})}),this.state.data.length>0&&Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(Aa.a,{dataLength:this.state.data.length,next:this.fetchMoreData,hasMore:!!this.state.data.length,height:200,endMessage:Object(M.jsx)("p",{style:{textAlign:"center"},children:Object(M.jsx)("b",{children:"Yay! You have seen it all"})}),children:Object(M.jsxs)(fe.a,{striped:!0,bordered:!0,style:{width:"100%",height:"200px"},className:"newsTable",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:"News Heading"}),Object(M.jsx)("th",{children:"Segment"}),Object(M.jsx)("th",{children:"Assets in News"}),Object(M.jsx)("th",{children:"Source"}),Object(M.jsx)("th",{children:"Date"})]})}),Object(M.jsx)("tbody",{children:this.state.data.map(((t,e)=>Object(M.jsxs)("tr",{style:{height:"60px"},children:[Object(M.jsx)("td",{children:Object(M.jsx)("a",{href:t.link,target:"_blank",children:t.title})}),Object(M.jsx)("td",{children:t.segment}),Object(M.jsx)("td",{children:this.getComplexNames(t.complex_names)}),Object(M.jsx)("td",{children:t.source}),Object(M.jsx)("td",{children:R(t.timestamp).format("Do MMM YYYY")})]})))})]})})}),0==this.state.data.length&&Object(M.jsx)("h6",{className:"mt-3",children:"No Data Found"})]})})}}Tc.contextType=Wt;var Ic=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Tc);class _c extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid developer p-0 spacingClassForDashboard",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 pe-0",children:Object(M.jsx)(Xo,{})}),Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsxs)("div",{class:"newDashboard dashboardWidgetRow",children:[Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(qo,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(tc,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(ac,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(ic,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(oc,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(nc,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(dc,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(pc,{})})]})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(xc,{})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Oc,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(fc,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Sc,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Cc,{})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)(Ic,{})})]})]})}}var Ec=Object(c.f)(_c);class Uc extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid developer p-0 spacingClassForDashboard",children:[Object(M.jsxs)("div",{className:"newDashboard dashboardWidgetRow",children:[Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(qo,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(tc,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(ac,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(ic,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(oc,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(nc,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(dc,{})}),Object(M.jsx)("div",{className:"newDashboardInner",children:Object(M.jsx)(pc,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(xc,{})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Oc,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(fc,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Sc,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Cc,{})})]})]})}}var Rc=Object(c.f)(Uc);class Yc extends i.a.Component{constructor(){super(...arguments),this.state={filters:"{}"}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t})}componentDidUpdate(){this.state.filters!==JSON.stringify(this.props.filters)&&this.setState({filters:JSON.stringify(this.props.filters)})}renderAsset(){const t=JSON.parse(this.state.filters),e=(null===t||void 0===t?void 0:t.brandsParent)||[],a=(null===t||void 0===t?void 0:t.tenants)||[],s=1===e.length&&1===a.length,i=1===e.length&&a.length>1,l=0===e.length&&1===a.length;if(s||i||l)return Object(M.jsx)(Ec,{});return 1===e.length&&0===a.length||e.length>1||(null===t||void 0===t?void 0:t.tenants)&&0!==t.tenants.length?Object(M.jsx)(Rc,{}):Object(M.jsx)(Ho,{})}render(){return void 0!==this.state.filters?this.renderAsset():Object(M.jsx)(M.Fragment,{children:"Loading"})}}Yc.contextType=Wt;var Qc=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Yc);const kc="Rental Analysis";class Pc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t=this.props.apiData||this.context.filters;const e={filters:t,areaType:this.props.areaType||"",mode:this.state.mode,startDate:this.state.start_date,endD
1ate:this.state.end_date,whichDate:this.state.which_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;let s;this.lastFetchedPayload=a,this.setState({filters:t,areaType:this.props.areaType,globalMode:this.props.globalMode,showLoader:!0,showGraph:!1}),"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s=new FormData,s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),this.props.areaType&&s.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date),s.append("which_date",this.state.which_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_office_get_rentals_anlysis_chart_maps",s).then((t=>{let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]},a=!1;a=!$(t.data.datapoints.y1)&&!$(t.data.datapoints.y2);const s=tt(t);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,isLoad:!0,chartData:e,chartOtions:this.getChartOptions(t.data.x),noGraph:a,excelData:s})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1,c=parseFloat(t.tooltip.dataPoints[0].dataset.data[l]),n=parseFloat(t.tooltip.dataPoints[0].dataset.data[o]);c<n&&(s="colorRed",i=j.c);var r=parseFloat(100*(c-n)/n).toFixed(2)+"%";"Infinity%"!==r&&"NaN%"!==r||(r=""),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a,tooltipYPercentDiff:r})}}}}}},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(ft,{chartName:kc,mode:this.state.mode,filters:t}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openModalExpand=()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(wt,{chartName:kc,mode:this.state.mode,filters:t}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="yearly"===t?"Switch To Quarterly":"Switch To Yearly",a="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(Nt,{chartName:kc,mode:t,filters:a,extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:e},(()=>this.queueFetchData()))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:this.props.apiData,isOpen:!1,isOpenExpand:!1,isLoad:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],excelData:[],downloadExcel:!1,showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHe
1ightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(t){this.props.globalMode===t.globalMode?this.queueFetchData():this.setState({mode:this.props.globalMode},(()=>{this.queueFetchData()}))}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(gt,{chartName:kc,mode:this.state.mode,filters:t});const e=document.getElementById("rentalsAnalysis");Ut()(e).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("RentalsAnalysis.pdf")}));let a=new FormData;a.append("path",window.location.pathname),a.append("action","pdf_download"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Rental Analysis chart"),jt.post("api/user-activity/log-activity",a).then((t=>{}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalsAnalysis",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Analysis"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Analysis"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>this.downloadPdf(),children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(Ot,{chartName:kc,mode:this.state.mode,filters:t});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rental Analysis chart"),jt.post("api/user-activity/log-activity",e).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"RentalsAnalysis",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModalExpand(),children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"250px"},children:this.state.isLoad&&Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12 allChartHe
1ight",children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})})})})]})}}Pc.contextType=Wt;var Gc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Pc);const Lc="Gross Leasing Trend";class Vc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t=this.props.apiData||this.context.filters;const e={filters:t,areaType:this.props.areaType||"",mode:this.state.mode,startDate:this.state.start_date,endDate:this.state.end_date,hasBodyParams:"undefined"!==typeof this.props.bodyParams},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;let s;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,globalMode:this.props.globalMode,showLoader:!0,showGraph:!1}),"undefined"!==typeof this.props.bodyParams?s=this.props.bodyParams:(s=new FormData,s.append("filter",JSON.stringify(t)),s.append("mode",this.state.mode),this.props.areaType&&s.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date))),this.setState({bodyParams:s}),jt.post("api/edge/office/get_asset_gross_leasing",s).then((t=>{let e=st(this.state.start_date,this.state.end_date)?5:10;const a={labels:t.data.x,datasets:[{label:"Area (msf)",data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:e,borderRadius:10}]};let s=!1;s=!$(t.data.datapoints.y1);const i=tt(t);this.setState({showLoader:!1,showGraph:!0,barThicknesS:e,chartData:a,chartOtions:this.getChartOptions(t.data.x),noGraph:s,excelData:i})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1,c=parseFloat(t.tooltip.dataPoints[0].dataset.data[l]),n=parseFloat(t.tooltip.dataPoints[0].dataset.data[o]);c<n&&(s="colorRed",i=j.c);var r=parseFloat(100*(c-n)/n).toFixed(2)+"%";"Infinity%"!==r&&"NaN%"!==r||(r=""),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a,tooltipYPercentDiff:r})}}}}}},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(ft,{chartName:Lc,mode:this.state.mode,filters:t}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openModalExpand=()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(wt,{chartName:Lc,mode:this.state.mode,filters:t}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(Nt,{chartName:Lc,mode:t,filters:e,extra:{from_mode:this.state.mode}}),this.setState({mode:t},(()=>this.queueFetchData()))}
1,this.state={areaType:"",globalMode:"",mode:"quarterly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:this.props.apiData,isOpen:!1,isOpenExpand:!1,start_date:"",end_date:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(t){this.props.globalMode===t.globalMode?this.queueFetchData():this.setState({mode:this.props.globalMode},(()=>{this.queueFetchData()}))}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(gt,{chartName:Lc,mode:this.state.mode,filters:t});const e=document.getElementById("GrossLeasingTrend");Ut()(e).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("GrossLeasingTrend.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","GrossLeasingTrend"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"constructionTimeline",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Gross Leasing Trend"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Gross Leasing Trend"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(Ot,{chartName:Lc,mode:this.state.mode,filters:t});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","GrossLeasingTrend"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"GrossLeasingTrend",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{this.openModalExpand()},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:"Switch to ".concat("quarterly"===this.state.mode?"Yearly":"Quarterly")})]})]})}
1),Object(M.jsx)("div",{className:"col-lg-12 allChartHeight",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12 allChartHeight",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})})})})]})}}Vc.contextType=Wt;var zc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Vc);const Jc="Top Active Occupiers";class Wc extends i.a.Component{constructor(t){super(t),this.state={topActiveTenantsMap:[],filters:this.props.apiData,jsonForExcel:[],areaType:""}}componentDidMount(){this.setState({areaType:this.props.areaType}),jt.post("api/edge/office/get_asset_active_tenants",Z(JSON.stringify(this.state.filters))).then((t=>{let e=t.data.splice(0,5);this.setState({topActiveTenantsMap:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},sector:{name:"Sector",type:"string"},area_leased:{name:"Area leased",type:"int"},current_rent:{name:"Current Rent (\u20b9/sqft/month)",type:"int"}})})}))}componentDidUpdate(){if(this.props.apiData!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.apiData,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.apiData)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_asset_active_tenants",t).then((t=>{let e=t.data.splice(0,5);this.setState({topActiveTenantsMap:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},sector:{name:"Sector",type:"string"},area_leased:{name:"Area leased",type:"int"},current_rent:{name:"Current Rent (\u20b9/sqft/month)",type:"int"}})})}))}}render(){const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);return Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Active Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:e=>{Ft(Ot,{chartName:Jc,filters:t});let a=new FormData;a.append("path",window.location.pathname),a.append("action","excel_export"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Top Active Occupiers"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopActiveOccupiers",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:e=>{Ft(gt,{chartName:Jc,filters:t}),q("#recentLease","TopActiveOccupiers");let a=new FormData;a.append("path",window.location.pathname),a.append("action","pdf_download"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Top Active Occupiers"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"recentLease",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Sector"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area leased"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Current Rent"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end"}
1),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.topActiveTenantsMap.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.sector}),Object(M.jsx)("td",{className:"text-end",children:t.area_leased}),Object(M.jsx)("td",{className:"text-end",children:t.current_rent})]},e)))})]})})]})})})}}Wc.contextType=Wt;var Hc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Wc);const Zc="Absorption Trends";class Xc extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t=this.props.apiData||this.context.filters;const e={filters:t,areaType:this.props.areaType||"",mode:this.state.mode,startDate:this.state.start_date,endDate:this.state.end_date},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,globalMode:this.props.globalMode,showLoader:!0});let s=new FormData;s.append("filter",JSON.stringify(t)),this.state.mode&&s.append("mode",this.state.mode),this.props.areaType&&s.append("area_type",this.props.areaType),this.state.end_date&&this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date)),jt.post("api/edge/office/get_asset_absorption_trends",s).then((t=>{var e;const a={labels:t.data.x,datasets:[{label:(null===(e=t.data.legend)||void 0===e?void 0:e.y1)||"Area (msf)",data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};let s=!1;s=!$(t.data.datapoints.y1);const i=tt(t);this.setState({showLoader:!1,xAxis:t.data.x,chartData:a,chartOtions:this.getChartOptions(t.data.x),noGraph:s,excelData:i})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!1,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1,c=parseFloat(t.tooltip.dataPoints[0].dataset.data[l]),n=parseFloat(t.tooltip.dataPoints[0].dataset.data[o]);c<n&&(s="colorRed",i=j.c);var r=parseFloat(100*(c-n)/n).toFixed(2)+"%";"Infinity%"!==r&&"NaN%"!==r||(r=""),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a,tooltipYPercentDiff:r})}}}}}},this.openModalExpand=()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(wt,{chartName:Zc,mode:this.state.mode,filters:t}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="yearly"===t?"Switch To Quarterly":"Switch To Yearly",a="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(Nt,{chartName:Zc,mode:t,filters:a,extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:e},(()=>this.queueFetchData()))},this.state={areaType:"",globalMode:"",isOpenExpand:!1,mode:"quarterly",modeText:"Switch To Yearly",start_date:"",end_date:"",noGraph:!1,filters:this.props.apiData,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],excelData:[],showLoader:!0}}componentDidMount(){this.queueFetchData()}componentDidUpdate(t){this.props.globalMode===t.globalMode?this.queueFetchData():this.setState({mode:this.props.globalMode},(()=>{this.queueFetchData()}))}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(gt,{chartName:Zc,mode:this.state.mode,filters:t});const e=document.getElementById("divToPrint");Ut()(e).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("absorptionTrends.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Absorbtion Trends"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}
1))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"divToPrint",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})}),!this.state.showLoader&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Absorption Trends"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(Ot,{chartName:Zc,mode:this.state.mode,filters:t});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Absorbtion Trends"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"AbsorptionTrends",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModalExpand(),children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12 absorptionCHartMap",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData,style:{width:"100%",height:"100%"}})})})})})]})}}Xc.contextType=Wt;var Kc=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Xc);const qc="Future Rental (based on contracted rent)";class $c extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t=this.props.apiData||this.context.filters;const e={filters:t,areaType:this.props.areaType||"",mode:this.state.mode,startDate:this.state.start_date,endDate:this.state.end_date},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:t,areaType:this.props.areaType,globalMode:this.props.globalMode,showLoader:!0,showGraph:!1});let s=new FormData;s.append("filter",JSON.stringify(t)),this.state.mode&&s.append("mode",this.state.mode),this.props.areaType&&s.append("area_type",this.props.areaType),this.state.end_date&&this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&(s.append("end_date",this.state.end_date),s.append("start_date",this.state.start_date)),jt.post("api/edge/office/get_asset_future_rent",s).then((t=>{let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1}]},a=!1;a=!$(t.data.datapoints.y1);const s=tt(t);this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x,chartData:e,chartOtions:this.getChartOptions(t.data.x),noGraph:a,excelData:s})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1,c=parseFloat(t.tooltip.dataPoints[0].dataset.data[l]),n=parseFloat(t.tooltip.dataPoints[0].dataset.data[o]);c<n&&(s="colorRed",i=j.c);var r=parseFloat(100*(c-n)/n).toFixed(2)+"%";"Infinity%"!==r&&"NaN%"!==r||(r=""),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a,tooltipYPercentDiff:r})}}}}}},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,isOpen:!1},(()=>this.queueFetchData()))},this.openModal=()=>{Ct(ft,{chartName:qc,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openModalExpand=()=>{Ct(wt,{chartName:qc,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="yearly"===t?"Switch To Quarterly":"Switch To Yearly";Ct(Nt,{chartName:qc,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:e},(()=>this.queueFetchData()))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!0,showGraph:!1,filters:this.props.apiData,isOpen:!1,isOpenExpand:!1,start_date:"",end_date:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],excelData:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(t){this.props.globalMode===t.globalMode?this.queueFetchData():this.setState({mode:this.props.globalMode},(()=>{this.queueFetchData()}))}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:qc,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("futureRentals");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("futureRentals.pdf")}))}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"futureRentals",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Future Rental (based on contracted rent)"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rental (based on contracted rent)"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Future Rental (based on contracted rent)"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:qc,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Future Rental (based on contracted rent)"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"futureRentals",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModalExpand(),children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:this.state.modeText})]})]})}
1),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12 allChartHeight",children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart_expand",options:this.state.chartOtions,data:this.state.chartData})})})})})]})}}$c.contextType=Wt;var tn=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))($c);const en="Rent By Sectors";class an extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filters:t,areaType:this.props.areaType||"",apiData:this.props.apiData||null},a=JSON.stringify(e);if(this.lastFetchedPayload===a)return;this.lastFetchedPayload=a,this.setState({filters:JSON.stringify(t),areaType:this.props.areaType,showLoader:!0});let s=new FormData;s.append("filter",JSON.stringify(this.props.apiData||t)),this.props.areaType&&s.append("area_type",this.props.areaType),jt.post("api/edge/office/get_asset_rent_by_sector",s).then((t=>{const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};let a=!1;a=!$(t.data.datapoints.y1);const s=tt(t);this.setState({showLoader:!1,xAxis:t.data.x,chartData:e,chartOtions:this.getChartOptions(t.data.x),noGraph:a,exceldata:s})}))},this.getChartOptions=t=>{const e=this;return{responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:"Sectors"},ticks:{callback:function(e,a){const s=t[a];if(void 0===s||null===s)return"";const i=String(s);return/\s/.test(i)?i.split(" "):i},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!==typeof t.tooltip.dataPoints){var a=t.tooltip.dataPoints[0].label;if(e.state.tooltipxLabel===a)return;var s="colorGreen",i=j.d,l=t.tooltip.dataPoints[0].dataIndex,o=0===l?0:l-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[l])<parseFloat(t.tooltip.dataPoints[0].dataset.data[o])&&(s="colorRed",i=j.c),e.setState({tooltipClassname:s,tooltipArrow:i,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:a})}}}}}},this.openModalExpand=()=>{Ct(wt,{chartName:en,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.state={areaType:"",isOpenExpand:!1,noGraph:!1,showLoader:!0,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[]}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}downloadPdf(){Ct(gt,{chartName:en,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});const t=document.getElementById("rentBySectors");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("rentBySectors.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Re
1nt By Sectors"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentBySectors",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading..."})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})}),!this.state.showLoader&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rent By Sectors"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:en,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Rent By Sectors"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"rentBySectors",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModalExpand()},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})})})})]})]})}}an.contextType=Wt;var sn=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(an);const ln="Asset vs Micromarket Rent";class on extends i.a.Component{constructor(t){super(t),this.state={noGraph:!1,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[]}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t;let e=document.getElementById("rentalsVacancyLineChart").getContext("2d").createLinearGradient(0,0,0,400);e.addColorStop(0,"rgba(113,206,250, 1)"),e.addColorStop(1,"#cce9ff");const a=this,s={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return/\s/.test(a.state.xAxis)&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):a.state.xAxis.length>0&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_asset_vs_micromarket_rent",Z(JSON.stringify(this.props.apiData))).then((t=>{this.setState({xAxis:t.data.x});let e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.data,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2.data,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};"undefined"==typeof t.data.datapoints||$(t.data.datapoints.y1.data)||$(t.data.datapoints.y2.data)?a.setState({noGraph:!1}):a.setState({noGraph:!0});const i=tt(t);a.setState({chartOtions:s,chartData:e,excelData:i})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});let t=document.getElementById("rentalsVacancyLineChart").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff");const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a].split(" "):e.state.xAxis.length>0&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_asset_vs_micromarket_rent",Z(JSON.stringify(this.props.apiData))).then((t=>{this.setState({xAxis:t.data.x});let s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.data,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2.data,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};$(t.data.datapoints.y1.data)||$(t.data.datapoints.y2.data)?e.setState({noGraph:!1}):e.setState({noGraph:!0});const i=tt(t);e.setState({chartOtions:a,chartData:s,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:ln,filters:this.state.filters});const t=document.getElementById("assetVsMicromarketRent");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("assetVsMicromarketRent.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Asset Vs Micromarket Rent"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"assetVsMicromarketRent",children:[this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})}),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Asset vs Micromarket Rent"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:ln,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Asset Vs Micromarket Rent"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"assetVsMicromarketRent",btnClassName:"graphExcelDownloadBtn"})})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]})]})}}on.contextType=Wt;var cn=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(on);const nn="Lease Expiry";class rn extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:nn,mode:this.state.mode,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openModalExpand=()=>{Ct(wt,{chartName:nn,mode:this.state.mode,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.state={areaType:"",globalMode:"",isOpenExpand:!1,mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,start_date:"",end_date:"",which_date:"",bodyParams:"",which_date_name:"",filters:this.props.apiData,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[]}}componentDidMount(){this.setState({areaType:this.props.areaType,globalMode:this.props.globalMode}),this.state.filters=this.props.apiData;const t=this,e={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label})}}}}};jt.post("api/edge/office/get_asset_lease_expiry",Z(JSON.stringify(this.props.apiData))).then((a=>{t.setState({xAxis:a.data.x});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};$(a.data.datapoints.y1)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,isLoad:!0,excelData:i})}))}componentDidUpdate(){if(this.props.apiData!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:this.props.apiData,areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this,s={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}}};var e=new FormData;e.append("filter",JSON.stringify(this.props.apiData)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),jt.post("api/edge/office/get_asset_lease_expiry",e).then((t=>{this.setState({xAxis:t.data.x});const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};$(t.data.datapoints.y1)?a.setState({noGraph:!1}):a.setState({noGraph:!0});const i=tt(t);a.setState({chartOtions:s,chartData:e,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:nn,mode:this.state.mode,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});const t=document.getElementById("leaseExpiry");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("leaseExpiry.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Lease Expiry"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}
1))}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:nn,mode:t,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters),extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.state.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_asset_lease_expiry",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.datapoints.y1)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.state.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_asset_lease_expiry",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.datapoints.y1)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leaseExpiry",children:[this.state.noGra
1ph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})}),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Expiry"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:nn,mode:this.state.mode,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Lease Expiry"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"leaseExpiry",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModalExpand()},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})})})})]})}}rn.contextType=Wt;var dn=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(rn);const hn="Sector Break-up of Active Tenants";const pn={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#b3d2ff","#91bcfd","#70a6fa","#4e90f8","#2d7af5","#5894db","#1e57d2","#203faf","#23278d","#250f6a"]};class jn extends i.a.Component{constructor(t){super(t),this.openModalExpand=()=>{Ct(wt,{chartName:hn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],isOpenExpand:!1,noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:this.props.apiData,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHe
1ightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.state.filters)),jt.post("api/edge/office/get_sector_active_tenants",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Sector","Tenants"]),this.setState({googlePieChartData:s}),$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Sector","Active Tenants");this.setState({exceldata:i})}))}componentDidUpdate(){if(JSON.stringify(this.props.apiData)!=JSON.stringify(this.state.filters)||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.apiData,areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1});var t=new FormData;t.append("filter",JSON.stringify(this.props.apiData)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_sector_active_tenants",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Sector","Tenants"]),this.setState({googlePieChartData:s}),$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Sector","Active Tenants");this.setState({exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:hn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});const t=document.getElementById("sectorBreakUpActiveTenants");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("sectorBreakUpActiveTenants.pdf")}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"sectorBreakUpActiveTenants",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Sector Break-up of Active Tenants"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Sector Break-up of Active Tenants"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:hn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Sector Break-up of Active Tenants"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"sectorBreakUpActiveTenants",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModalExpand()},children:"Expand Chart"})]})]})}
1),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:pn,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12",children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:pn,width:"100%",height:"450px"})})})})})]})}}jn.contextType=Wt;var An=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(jn);const xn="Major Recent Lease Transactions";class bn extends i.a.Component{constructor(t){super(t),this.state={areaType:"",majorRecentLeaseTransactions:[],filters:this.props.apiData,jsonForExcel:[],isOpenErrorDisplayModal:!1},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})}}componentDidMount(){this.setState({areaType:this.props.areaType}),this.state.filters=this.props.apiData,jt.post("api/edge/office/get_major_recent_lease_transactions",Z(JSON.stringify(this.props.apiData))).then((t=>{let e=t.data.splice(0,5);this.setState({majorRecentLeaseTransactions:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})}))}componentDidUpdate(){if(this.props.apiData!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.apiData,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.apiData)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_major_recent_lease_transactions",t).then((t=>{let e=t.data.splice(0,5);this.setState({majorRecentLeaseTransactions:e,jsonForExcel:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})}))}}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}render(){const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);return Object(M.jsxs)("div",{className:"widget widgetTable",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Lease Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:e=>{Ft(Ot,{chartName:xn,filters:t});let a=new FormData;a.append("path",window.location.pathname),a.append("action","excel_export"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Major Recent Lease Transactions"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"RecentLease",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:e=>{Ft(gt,{chartName:xn,filters:t}),q("#recentLease","RecentLease");let a=new FormData;a.append("path",window.location.pathname),a.append("action","pdf_download"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Major Recent Lease Transactions"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"recentLease",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"ChargeableArea"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Rent"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:this.state.majorRecentLeaseTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.rent}
1),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city})})]},e)))})]})})]}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}bn.contextType=Wt;var mn=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(bn);const gn="# of Transactions vs Size";const On={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#FFC45C","#E9B14F","#D49E41","#BE8B34","#A97827","#A5680F","#8F5A0C","#794C09","#633D06","#4D2F03"]};class un extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:gn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openModalExpand=()=>{Ct(wt,{chartName:gn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],isOpenExpand:!1,noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:this.props.apiData,start_date:"",end_date:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.state.filters)),jt.post("api/edge/office/get_developer_transaction_size",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Range","Size"]),this.setState({googlePieChartData:s}),$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Transaction Range","Size");this.setState({exceldata:i})}))}componentDidUpdate(){if(JSON.stringify(this.props.apiData)!=JSON.stringify(this.state.filters)||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.apiData,areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1});var t=new FormData;t.append("filter",JSON.stringify(this.props.apiData)),t.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),jt.post("api/edge/office/get_developer_transaction_size",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Range","Size"]),this.setState({googlePieChartData:s}),$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Transaction Range","Size");this.setState({exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:gn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});const t=document.getElementById("transactionSize");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("transactionSize.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"transactionSize",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"# of Transactions vs Size"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"# of Transactions vs Size"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","# of Transactions vs Size"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:gn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","# of Transactions vs Size"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"transactionSize",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModalExpand()},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:On,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12",children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:On,width:"100%",height:"450px"})})})})})]})}}un.contextType=Wt;var yn=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(un);const fn="Asset vs Micromarket WALE";class wn extends i.a.Component{constructor(t){super(t),this.openModalExpand=()=>{Ct(wt,{chartName:fn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.state={areaType:"",isOpenExpand:!1,noGraph:!1,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[]}}componentDidMount(){this.setState({areaType:this.props.areaType}),this.state.filters=this.props.apiData;const t=this,e={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:""},ticks:{callback:function(e,a,s){return/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"WALE"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label})}}}}};jt.post("api/edge/office/get_asset_vs_micromarket_wale",Z(JSON.stringify(this.props.apiData))).then((a=>{t.setState({xAxis:a.data.x});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10},{label:a.data.legend.y2,data:a.data.datapoints.y2,backgroundColor:a.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10}]};$(a.data.datapoints.y1)||$(a.data.datapoints.y2)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,excelData:i})}))}componentDidUpdate(){if(this.props.apiData!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.apiData,areaType:this.props.areaType});const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:""},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a].split(" "):e.state.xAxis.length>0&&"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"WALE"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.apiData)),t.append("area_type",this.props.areaType),jt.post("api/edge/office/get_asset_vs_micromarket_wale",t).then((t=>{this.setState({xAxis:t.data.x});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?e.setState({noGraph:!1}):e.setState({noGraph:!0});const i=tt(t);e.setState({chartOtions:a,chartData:s,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:fn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});const t=document.getElementById("assetVsMicromarketWale");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("assetVsMicromarketWale.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Asset Vs Micromarket WALE"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"assetVsMicromarketWale",children:[this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})}
1),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Asset vs Micromarket WALE"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:fn,filters:"string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Asset Vs Micromarket WALE"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"assetVsMicromarketWale",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModalExpand()},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})})})})]})}}wn.contextType=Wt;var Nn=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(wn);const Sn="Office Demand & Supply";class Dn extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(ft,{chartName:Sn,mode:this.state.mode,filters:t}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openModalExpand=()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(wt,{chartName:Sn,mode:this.state.mode,filters:t}),this.setState({isOpenExpand:!0})},this.closeModalExpand=()=>this.setState({isOpenExpand:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:this.props.apiData,isLoad:!1,isOpen:!1,isOpenExpand:!1,start_date:"",end_date:"",which_date:"",barThicknesS:10,bodyParams:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:"",tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],downloadExcel:!1,xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.setState({areaType:this.props.areaType,globalMode:this.props.globalMode});var t=new FormData;t.append("filter",JSON.stringify(this.state.filters));const e=this,a={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return e.state.xAxis,/\s/.test(e.state.xAxis)?"undefined"!=typeof e.state.xAxis[a]?e.state.xAxis[a].split(" "):"":(e.state.xAxis,e.state.xAxis.length>0?e.state.xAxis[a]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_office_demand_supply_chart_maps",t).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y3,data:t.data.datapoints.y3,backgroundColor:t.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?e.setState({noGraph:!1}):e.setState({noGraph:!0});const i=tt(t);e.setState({chartOtions:a,chartData:s,isLoad:!0,excelData:i})}))}componentDidUpdate(){if(this.props.apiData!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:this.props.apiData,areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this;let s={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return a.state.xAxis,/\s/.test(a.state.xAxis)?"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):"":(a.state.xAxis,a.state.xAxis.length>0?a.state.xAxis[e]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);t.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var e=new FormData;e.append("filter",JSON.stringify(this.props.apiData)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date),e.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),jt.post("api/edge/office/get_office_demand_supply_chart_maps",e).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const e={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y3,data:t.data.datapoints.y3,backgroundColor:t.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?a.setState({noGraph:!1}):a.setState({noGraph:!0});const i=tt(t);a.setState({chartOtions:s,chartData:e,isLoad:!0,excelData:i})}))}}downloadPdf(){const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(gt,{chartName:Sn,mode:this.state.mode,filters:t});const e=document.getElementById("divToPrint");Ut()(e).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("OfficeDemandSupply.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Office Demand Supply chart"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}
1))}getModeData(){const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters),e="quarterly"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Sn,mode:e,filters:t,extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return t.state.xAxis,/\s/.test(t.state.xAxis)?"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"":(t.state.xAxis,t.state.xAxis.length>0?t.state.xAxis[a]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.state.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_demand_supply_chart_maps",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y3,data:a.data.datapoints.y3,backgroundColor:a.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y2,data:a.data.datapoints.y2,backgroundColor:a.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(a.data.datapoints.y1)||$(a.data.datapoints.y2)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,isLoad:!0,excelData:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this;let e={responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return t.state.xAxis,/\s/.test(t.state.xAxis)?"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"":(t.state.xAxis,t.state.xAxis.length>0?t.state.xAxis[a]:"")},autoSkip:!1,color:"black",font:{size:10}}},y:{stacked:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);e.tooltip.dataPoints[0].dataset.label;var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(1)+"%";o="Infinity%"==o||"NaN%"==o?"":o,t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.state.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_office_demand_supply_chart_maps",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y3,data:a.data.datapoints.y3,backgroundColor:a.data.bgcolor.y3,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 0"},{label:a.data.legend.y2,data:a.data.datapoints.y2,backgroundColor:a.data.bgcolor.y2,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10,stack:"Stack 1"}]};$(a.data.datapoints.y1)||$(a.data.datapoints.y2)?t.setState({noGraph:!1}):t.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,isLoad:!0,excelData:i})}))}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"divToPrint",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Office Demand & Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Office Demand & Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,style:{height:"35px"},children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",style:{height:"15px"},children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:"Download as PDF"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{const t="string"===typeof this.state.filters?this.state.filters:JSON.stringify(this.state.filters);Ct(Ot,{chartName:Sn,mode:this.state.mode,filters:t})},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"Of\uff6c\u2026eDemandSupply",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModalExpand()},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"250px"},children:this.state.isLoad&&Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(k.a,{show:this.state.isOpenExpand,onHide:this.closeModalExpand,className:"",size:"xl",children:Object(M.jsx)(k.a.Body,{className:"col-lg-12 allChartHeight",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})})})})]})}}Dn.contextType=Wt;var Mn=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Dn);const Cn="Asset Type Mix";class Fn extends i.a.Component{constructor(){super(...arguments),this.state={assetSummary:[],filters:"",jsonForExcel:[]}}componentDidMount(){jt.post("api/edge/office/get_office_get_asset_summary_maps",Z(JSON.stringify(this.props.apiData))).then((t=>{let e=t.data;this.setState({assetSummary:t.data}),this.setState({assetSummary:e,jsonForExcel:it(e,{asset_type:{name:"Type",type:"string"},project:{name:"Project",type:"string"},total_area:{name:"Total Area (msf)",type:"int"},perc_contribution:{name:"Contribution",type:"int"}})})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_office_get_asset_summary_maps",Z(JSON.stringify(this.props.apiData))).then((t=>{let e=t.data;this.setState({assetSummary:t.data}),this.setState({assetSummary:e,jsonForExcel:it(e,{asset_type:{name:"Type",type:"string"},project:{name:"Project",type:"string"},total_area:{name:"Total Area (msf)",type:"int"},perc_contribution:{name:"Contribution",type:"int"}})})})))}render(){const t="string"===typeof this.props.apiData?this.props.apiData:JSON.stringify(this.props.apiData);return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Asset Type Mix"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:e=>{Ft(Ot,{chartName:Cn,filters:t});let a=new FormData;a.append("path",window.location.pathname),a.append("action","excel_export"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Asset Summary"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"assetSummary",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:e=>{Ft(gt,{chartName:Cn,filters:t}),q("#assetSummary","assetSummary");let a=new FormData;a.append("path",window.location.pathname),a.append("action","pdf_download"),a.append("count",1),a.append("hash",window.location.search.split("?").pop()),a.append("screen_sub_type","Asset Summary"),jt.post("api/user-activity/log-activity",a).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"assetSummary",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Type"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Projects"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Total Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"% Contribution"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Vacancy"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end"}
1),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.assetSummary.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:t.asset_type}),Object(M.jsx)("td",{className:"text-end",children:t.project}),Object(M.jsx)("td",{className:"text-end",children:t.total_area}),Object(M.jsx)("td",{className:"text-end",children:t.perc_contribution}),Object(M.jsxs)("td",{className:"text-end",children:[t.vacancy,"%"]})]},e)))})]})})]})})}}Fn.contextType=Wt;var Bn=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Fn);class vn extends i.a.Component{constructor(t){super(t),this.state={assetDetails:{}},console.log(t,"propsmaptabs"),this.state={tabIndex:this.props.tabIndex,assetDetails:[],update:this.props.update}}componentDidMount(){jt.post("api/edge/office/get_asset_details",Z(JSON.stringify(this.props.apiData))).then((t=>{console.log(t),this.setState({assetDetails:t.data})}))}componentDidUpdate(){2==this.state.tabIndex&&this.state.update&&(console.log("hello"),jt.post("api/edge/office/get_asset_details",Z(JSON.stringify(this.props.apiData))).then((t=>{console.log(t),this.setState({assetDetails:t.data,update:!1})})))}getAssetDetails(t){console.log(t),this.setState({tabIndex:t}),2==t&&(console.log("pp"),jt.post("api/edge/office/get_asset_details",Z(JSON.stringify(this.props.apiData))).then((t=>{console.log(t),this.setState({assetDetails:t.data})})))}render(){const t=!this.props.apiData||!this.props.apiData.complexes||0===this.props.apiData.complexes.length,e=0==this.props.apiData.complexes.length?Object.keys(this.props.bounds||{}).length>0?this.props.bounds:this.props.filters||{}:this.props.apiData;return Object(M.jsxs)(Zi.d,{defaultIndex:0,selectedIndex:this.state.tabIndex,onSelect:t=>this.getAssetDetails(t),children:[Object(M.jsxs)(Zi.b,{children:[Object(M.jsx)(Zi.a,{children:"Summary"}),Object(M.jsx)(Zi.a,{children:"Demand, Supply & Pricing"}),!t&&Object(M.jsx)(Zi.a,{children:"Asset Level"})]}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)("div",{className:"widget  mb-3",children:Object(M.jsx)("div",{className:"container-fluid p-0 aseetContent mapsUl",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-start mb-3",children:Object(M.jsx)("h5",{children:"Lease Summary"})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{className:"liBlueBg",children:[Object(M.jsx)("span",{children:"# of Built Assets"}),Object(M.jsx)("span",{children:this.props.summary.no_of_assets})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"# of Buildings"}),Object(M.jsx)("span",{children:this.props.summary.no_of_building})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Total Leasable Area"}),Object(M.jsx)("span",{children:this.props.summary.total_leasable_area})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"% Occupancy"}),Object(M.jsxs)("span",{children:[this.props.summary.occupied_perc," %"]})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Current Rental (\u20b9/sqft/month)"}),Object(M.jsx)("span",{children:this.props.summary.current_rental})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"WALE"}),Object(M.jsx)("span",{children:this.props.summary.wale})]})]})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{className:"liBlueBg",children:[Object(M.jsx)("span",{children:"# Upcoming Assets"}),Object(M.jsx)("span",{children:this.props.summary.no_of_under_construction_assets})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Occupied Area"}),Object(M.jsx)("span",{children:this.props.summary.occupied_area})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"# of Active Occupiers"}
1),Object(M.jsx)("span",{children:this.props.summary.active_tenants})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Avg Quarterly Supply"}),Object(M.jsx)("span",{children:this.props.summary.avg_quarterly_supply})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Avg Quarterly Demand"}),Object(M.jsx)("span",{children:this.props.summary.avg_quarterly_demand})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"5-Yrs CAGR Growth in Rental"}),Object(M.jsx)("span",{children:this.props.summary.five_year_cagr_rent})]})]})})]})})})}),Object(M.jsxs)(Zi.c,{children:[Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(Mn,{apiData:e})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(Gc,{apiData:e})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(Bn,{apiData:e})})]}),!t&&Object(M.jsxs)(Zi.c,{children:[Object(M.jsx)("div",{className:"widget mapAsset mb-3",children:Object(M.jsx)("div",{className:"container-fluid p-0 aseetContent mapsUl",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("h2",{children:void 0!==this.state.assetDetails.asset_name?Object(M.jsx)(n.b,{target:"_blank",to:'/office/asset/?filter={"complex":[{"id":"b-'.concat(J()(this.state.assetDetails.asset_name),'","value":"').concat(this.state.assetDetails.asset_name,'","label":"').concat(this.state.assetDetails.asset_name,'"}]}'),children:this.state.assetDetails.asset_name}):this.state.assetDetails.asset_name}),Object(M.jsxs)("ul",{className:"descriptionUl ps-3",children:[Object(M.jsx)("li",{children:this.state.assetDetails.propertytype}),Object(M.jsx)("li",{children:this.state.assetDetails.micromarket}),Object(M.jsx)("li",{children:this.state.assetDetails.grade})]}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("ul",{className:"detailsUl detailsUlAsset",children:[Object(M.jsxs)("li",{className:"liBlueBg",children:[Object(M.jsx)("span",{children:"Year constructed"}),Object(M.jsx)("span",{children:this.state.assetDetails.year_constructed})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Developer"}),void 0!==this.state.assetDetails.developer?Object(M.jsx)("span",{children:Object(M.jsx)(n.b,{className:"mapAssetdevSpan",target:"_blank",to:'/office/developer/?filter={"developer":[{"id":"d-'.concat(J()(this.state.assetDetails.developer),'","value":"').concat(this.state.assetDetails.developer,'","label":"').concat(this.state.assetDetails.developer,'"}]}'),children:this.state.assetDetails.developer})}):this.state.assetDetails.developer]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Satus"}),Object(M.jsx)("span",{children:this.state.assetDetails.status})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Total Leasable Area"}),Object(M.jsx)("span",{children:this.state.assetDetails.total_leasable_area})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Area Vacant"}),Object(M.jsx)("span",{children:this.state.assetDetails.area_vacant})]}),Object(M.jsxs)("li",{className:"liBlueBg",children:[Object(M.jsx)("span",{children:"Efficiency (Office)"}),Object(M.jsx)("span",{children:this.state.assetDetails.asset_efficiency})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"WALE"}),Object(M.jsx)("span",{children:this.state.assetDetails.wale})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Upcoming Area"}),Object(M.jsx)("span",{children:this.state.assetDetails.upcoming_area})]}),Object(M.jsxs)("li",{className:"liBlueBg",children:[Object(M.jsx)("span",{children:"Starting Rent (Market Rent) (\u20b9/sqft/month)"}),Object(M.jsx)("span",{children:this.state.assetDetails.market_rent})]})]})}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsxs)("div",{className:"col-lg-12 contentBlue pt-0 mb-4",children:[Object(M.jsx)("div",{className:"customWidget contentBlueMaps assetBlueWidget",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("h3",{children:Object(M.jsx)(p.a,{icon:j.n,className:"colorWhite"})})}),Object(M.jsxs)("div",{className:"col-lg-8",children:[Object(M.jsx)("h2",{className:"colorWhite customSize",children:this.state.assetDetails.current_vacancy}),Object(M.jsx)("p",{className:"colorWhite",children:"Current Vacancy"})]})]})}),Object(M.jsx)("div",{className:"customWidget contentBlueMaps assetBlueWidget",style:{borderBottom:"0"},children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("h3",{children:Object(M.jsx)("img",{src:"/edge/images/current_passing_rent_white.png",width:"45px"})})}),Object(M.jsxs)("div",{className:"col-lg-8",children:[Object(M.jsx)("h2",{className:"colorWhite customSize",children:this.state.assetDetails.current_in_place_rentals}),Object(M.jsx)("p",{className:"colorWhite",children:"Sqft/Month"}),Object(M.jsx)("p",{className:"colorWhite",style:{fontSize:"10px"},children:"Current in Place Rentals"})]})]})})]}),Object(M.jsxs)("ul",{className:"detailsUl detailsUlAsset",children:[Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"5-Yr CAGR Rent"}),Object(M.jsx)("span",{children:this.state.assetDetails.five_year_cagr_rent})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"# of active Occupiers"}
1),Object(M.jsx)("span",{children:this.state.assetDetails.no_of_active_tenants})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"% Occupancy"}),Object(M.jsx)("span",{children:"-"!=this.state.assetDetails.current_vacancy?100-parseInt(this.state.assetDetails.current_vacancy,10):"-"})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Starting Rent (Market Rent) (\u20b9/sqft/month)"}),Object(M.jsx)("span",{children:this.state.assetDetails.market_rent})]})]})]})]})})}),Object(M.jsxs)(Zi.d,{children:[Object(M.jsxs)(Zi.b,{className:"innerTabs",children:[Object(M.jsx)(Zi.a,{children:"Demand"}),Object(M.jsx)(Zi.a,{children:"Rentals"}),Object(M.jsx)(Zi.a,{children:"Transaction Data"}),Object(M.jsx)(Zi.a,{children:"Charts"})]}),Object(M.jsxs)(Zi.c,{children:[Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(zc,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(Hc,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(Kc,{apiData:this.props.apiData})})]}),Object(M.jsxs)(Zi.c,{children:[Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(Gc,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(tn,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(sn,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(cn,{apiData:this.props.apiData})})]}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(mn,{apiData:this.props.apiData})}),Object(M.jsxs)(Zi.c,{children:[Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(dn,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(An,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(yn,{apiData:this.props.apiData})}),Object(M.jsx)("div",{className:"mb-3",children:Object(M.jsx)(Nn,{apiData:this.props.apiData})})]})]})]})]})}}vn.contextType=Wt;var Tn=vn;const In={lat:20.5937,lng:78.9629},_n=t=>{let{icon:e,title:a,isActive:s,onClick:l,hasRightBorder:o=!0}=t;const[c,n]=i.a.useState(!1);return Object(M.jsx)("button",{title:a,onClick:l,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),style:{display:"flex",alignItems:"center",justifyContent:"center",height:"40px",width:"40px",cursor:"pointer",border:"none",borderRight:o?"1px solid rgba(0,0,0,0.1)":"none",backgroundColor:s?"#e8f0fe":c?"rgba(0,0,0,0.05)":"transparent",color:s?"#1a73e8":"#555",transition:"background-color 0.2s",padding:0,margin:0},children:e})},En=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a="static",s=1,i=null,l=null,o=null,c=[],n=[],r=null;const d={clickable:!1,strokeColor:"#226ce6",strokeOpacity:.8,strokeWeight:2,fillColor:"#226ce6",fillOpacity:.45},p=()=>{c.forEach((t=>window.google.maps.event.removeListener(t))),c=[]},j=()=>{i&&(i.overlay&&i.overlay.setMap(null),i._line&&i._line.setMap(null),i._startMarker&&i._startMarker.setMap(null)),i=null,l=null,o=null};let A=null;const x=()=>{A&&A.overlay&&A.overlay.setMap(null),A=null},b=(t,e)=>{const a=Math.PI/180,s=(e.lat()-t.lat())*a,i=(e.lng()-t.lng())*a,l=t.lat()*a,o=e.lat()*a,c=Math.sin(s/2)*Math.sin(s/2)+Math.sin(i/2)*Math.sin(i/2)*Math.cos(l)*Math.cos(o);return 12742*Math.asin(Math.sqrt(c))},m=t=>{n.forEach((e=>{try{e(t)}catch(a){console.error("Error in drawing finish handler",a)}}))},g=t=>{e.onRadius&&e.onRadius(null),i&&(i._line&&(i._line.setMap(null),i._line=null),i._startMarker&&(i._startMarker.setMap(null),i._startMarker=null),x(),A=i),i=null,l=null,o=null,p(),y(),a="static",e.onModeChange&&e.onModeChange(a),m(t)},O=()=>{l=new window.google.maps.MVCArray;const e=new window.google.maps.Polygon(Object(h.a)({map:t,paths:[l]},d)),a=new window.google.maps.Polyline({map:t,path:[],clickable:!1,strokeColor:d.strokeColor,strokeOpacity:1,strokeWeight:d.strokeWeight,zIndex:1e3});i={id:s++,type:"polygon",overlay:e,_line:a};const o=()=>{if(!l||l.getLength()<3)return;i.overlay.setPaths([l.getArray()]);const t=[];l.forEach((e=>{const a="function"===typeof e.lat?e.lat():e.lat,s="function"===typeof e.lng?e.lng():e.lng;t.push([s,a])})),t.push(t[0].slice()),g({id:i.id,geometry:{type:"Polygon",coordinates:[t]},properties:{mode:"polygon"}})};c.push(t.addListener("click",(e=>{e&&e.latLng&&(l.push(e.latLng),i&&i.overlay&&i.overlay.setPaths([l.getArray()]),1===l.getLength()&&i&&!i._startMarker&&(e=>{const a=new window.google.maps.Marker({position:e,map:t,clickable:!0,cursor:"pointer",title:"Click the first point to close the shape",zIndex:9999,icon:{path:window.google.maps.SymbolPath.CIRCLE,scale:6,fillColor:"#ffffff",fillOpacity:1,strokeColor:d.strokeColor,strokeWeight:2}});a.addListener("click",o),a.addListener("mouseover",(()=>{l&&l.getLength()>=3&&a.setIcon(Object(h.a)(Object(h.a)({},a.getIcon()),{},{scale:8}))})),a.addListener("mouseout",(()=>{a.setIcon(Object(h.a)(Object(h.a)({},a.getIcon()),{},{scale:6}))})),i._startMarker=a})(e.latLng))}))),c.push(t.addListener("mousemove",(t=>{if(!l||!i||!i._line||!t||!t.latLng)return;const e=l.getArray().slice();e.push(t.latLng),i._line.setPath(e)}))),c.push(t.addListener("dblclick",o))},u=()=>{c.push(t.addListener("mousedown",(a=>{t.setOptions({draggable:!1}),j(),o=a.latLng,i={id:s++,type:"circle",overlay:new window.google.maps.Circle(Object(h.a)({map:t,center:o,radius:1},d))},i._moveL=t.addListener("mousemove",(t=>{const a=b(o,t.latLng);i.overlay.setRadius(1e3*a),e.onRadius&&e.onRadius(a)})),c.push(i._moveL)}))),c.push(t.addListener("mouseup",(e=>{if(t.setOptions({draggable:!0}),!i||"circle"!==i.type||!o)return;i._moveL&&window.google.maps.event.removeListener(i._moveL);const a=o,s=b(a,e.latLng);s<=0?j():g({id:i.id,geometry:{type:"Point",coordinates:[a.lng(),a.lat()]},properties:{mode:"circle",center:{lat:a.lat(),lng:a.lng()},radiusKilometers:s}})})))},y=()=>{r&&(t.setOptions(r),r=null),t.setOptions({draggableCursor:null})},f=s=>{p(),y(),j(),a=s||"static",e.onModeChange&&e.onModeChange(a),"polygon"===a?(x(),r={disableDoubleClickZoom:t.get("disableDoubleClickZoom")||!1},t.setOptions({disableDoubleClickZoom:!0,draggableCursor:"crosshair"}),O()):"circle"===a&&(x(),t.setOptions({draggableCursor:"crosshair"}),u())},w=e=>{if(e)if(x(),e.rangeArea){const a=parseFloat(e.rangeArea.lat),i=parseFloat(e.rangeArea.lng),l=parseFloat(e.rangeArea.range);if(isNaN(a)||isNaN(i)||isNaN(l))return;const o=new window.google.maps.Circle(Object(h.a)({map:t,center:{lat:a,lng:i},radius:1e3*l},d));A={id:s++,type:"circle",overlay:o}}else if(e.polygonBoundries){const a=e.polygonBoundries.split(",").map((t=>{const[e,a]=t.trim().split(" ").map(Number);return{lat:e,lng:a}})).filter((t=>!isNaN(t.lat)&&!isNaN(t.lng)));if(a.length<3)return;const i=new window.google.maps.Polygon(Object(h.a)({map:t,paths:[a]},d));A={id:s++,type:"polygon",overlay:i}}};return{start:()=>{},stop:()=>f("static"),setMode:f,getMode:()=>a,restore:w,removeFeatures:()=>{j(),x()},clear:()=>{j(),x()},on:(t,e)=>{"finish"===t&&"function"===typeof e&&n.push(e)}}},Un=t=>{let{complexes:e,showPolygon:a,showCircle:s,onMarkerClick:l,onShapeCreated:o,clearMapKey:c,initialShapeData:n}=t;const r=Object(ds.g)(),d=i.a.useRef(null),h=i.a.useRef(null),p=i.a.useRef(null),j=i.a.useRef(!1),[A,x]=i.a.useState("static"),[b,m]=i.a.useState(null);i.a.useEffect((()=>{var t;if(!r||!(null===(t=window.google)||void 0===t?void 0:t.maps))return;if(p.current)return;const e=new window.google.maps.Data({map:r});return e.setStyle({strokeColor:"#b9a8b9",strokeWeight:2,clickable:!1}),p.current=e,()=>{p.current&&(p.current.setMap(null),p.current=null)}}),[r]),i.a.useEffect((()=>{var t;if(!r||!(null===(t=window.google)||void 0===t?void 0:t.maps))return;if(d.current)return;const e=En(r,{onModeChange:t=>x(t),onRadius:t=>
1{if(!h.current)return;if(null==t)return void(h.current.style.display="none");const e=t>=1?t.toFixed(2)+" km":(1e3*t).toFixed(0)+" m";h.current.innerHTML="<strong>Radius:</strong> ".concat(e),h.current.style.display="block"}});return e.on("finish",(t=>{var e;if(!t)return;const a=null===(e=t.properties)||void 0===e?void 0:e.mode;let s=null;if("circle"===a){const{center:e,radiusKilometers:a}=t.properties,i=a/111,l=a/(111*Math.cos(e.lat*Math.PI/180)),o={south:e.lat-i,north:e.lat+i,west:e.lng-l,east:e.lng+l};s={bounds:{south:o.south.toString(),north:o.north.toString(),west:o.west.toString(),east:o.east.toString()},rangeArea:{lat:e.lat.toString(),lng:e.lng.toString(),range:a.toString()}}}else if("polygon"===a){const e=new window.google.maps.LatLngBounds,a=[];t.geometry.coordinates[0].forEach((t=>{let[s,i]=t;e.extend(new window.google.maps.LatLng(i,s)),a.push("".concat(i," ").concat(s))})),s={bounds:{south:e.getSouthWest().lat().toString(),west:e.getSouthWest().lng().toString(),north:e.getNorthEast().lat().toString(),east:e.getNorthEast().lng().toString()},polygonBoundries:a.join(",")}}s&&o&&o(s),x("static")})),d.current=e,()=>{d.current&&(d.current.stop(),d.current=null)}}),[r]);const g=JSON.stringify(n);return i.a.useEffect((()=>{d.current&&n&&d.current.restore(n)}),[g,r]),i.a.useEffect((()=>{j.current?d.current&&(d.current.clear(),x("static")):j.current=!0}),[c]),Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)("div",{ref:h,style:{position:"fixed",background:"rgba(0,0,0,.72)",color:"#fff",padding:"4px 10px",fontSize:"12px",borderRadius:"4px",pointerEvents:"none",zIndex:9999,display:"none"}}),e.length>0&&e.map(((t,e)=>Object(M.jsxs)(i.a.Fragment,{children:[Object(M.jsx)(ds.f,{position:{lat:Number(t.latitude),lng:Number(t.longitude)},icon:{url:rs.a,scaledSize:new window.google.maps.Size(25,41),anchor:new window.google.maps.Point(12,41)},clickable:"static"===A,onClick:()=>{m(t.complex_id),l(t.complex_id)}}),b===t.complex_id&&Object(M.jsx)(ds.c,{position:{lat:Number(t.latitude),lng:Number(t.longitude)},onCloseClick:()=>m(null),headerContent:Object(M.jsx)("div",{style:{paddingRight:"12px",paddingBottom:"4px"},children:Object(M.jsx)("span",{style:{fontSize:"14px",fontWeight:"500",color:"#333"},children:t.complex})})})]},t.complex_id||e))),Object(M.jsx)(ds.e,{position:ds.b.TOP_CENTER,children:Object(M.jsx)("div",{style:{marginTop:"10px",pointerEvents:"auto"},children:Object(M.jsxs)("div",{style:{background:"#fff",display:"flex",flexDirection:"row",height:"40px",borderRadius:"2px",overflow:"hidden",boxShadow:"0 1px 4px rgba(0,0,0,0.3)"},children:[a&&Object(M.jsx)(_n,{title:"Draw a polygon",icon:Object(M.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:[Object(M.jsx)("polygon",{points:"8,1 15,6 12,14 4,14 1,6",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinejoin:"round"}
1),Object(M.jsx)("circle",{cx:"8",cy:"1",r:"1.8",fill:"currentColor"}),Object(M.jsx)("circle",{cx:"15",cy:"6",r:"1.8",fill:"currentColor"}),Object(M.jsx)("circle",{cx:"12",cy:"14",r:"1.8",fill:"currentColor"}),Object(M.jsx)("circle",{cx:"4",cy:"14",r:"1.8",fill:"currentColor"}),Object(M.jsx)("circle",{cx:"1",cy:"6",r:"1.8",fill:"currentColor"})]}),isActive:"polygon"===A,hasRightBorder:s,onClick:t=>{t.preventDefault(),d.current&&d.current.setMode("polygon"===A?"static":"polygon")}}),s&&Object(M.jsx)(_n,{title:"Draw a circle",icon:Object(M.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:[Object(M.jsx)("circle",{cx:"8",cy:"8",r:"6.5",fill:"none",stroke:"currentColor",strokeWidth:"1"}),Object(M.jsx)("circle",{cx:"8",cy:"1.5",r:"1.8",fill:"currentColor"})]}),isActive:"circle"===A,hasRightBorder:!1,onClick:t=>{t.preventDefault(),d.current&&d.current.setMode("circle"===A?"static":"circle")}})]})})})]})};class Rn extends i.a.Component{constructor(t){super(t),this.state={showPolyGon:!0,showcircle:!0,mapsContainerClass:"col-lg-12",showDetails:!1,summary:{},tabIndex:0,complexes:[],assetDetails:{},assetDetailsKey:"",apiData:{complexes:[]},bounds:{},clearMapKey:0},this.fetchMapData=t=>{const e=JSON.stringify(t);e!==this.lastFetchedFilters&&(this.lastFetchedFilters=e,Object.keys(t).length>0?(jt.post("api/edge/office/get_map_lease_summary",Z(JSON.stringify(t))).then((t=>{this.setState({summary:t.data,mapsContainerClass:"col-lg-6 mapHeight",showDetails:"true"})})),jt.post("api/edge/office/get_buildings_on_map",Z(JSON.stringify(t))).then((t=>{this.setState({complexes:t.data,showPolyGon:!1,showcircle:!1},(()=>{}))}))):this.setState({complexes:[],summary:{},mapsContainerClass:"col-lg-12",showDetails:!1,showPolyGon:!0,showcircle:!0,bounds:{}}))},this.getMethodsOf=t=>{const e={};return Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach((a=>{e[a]=t[a]})),e},this.onEdit=t=>{console.log("onEdit: edited  layers",t)},this.onCreate=t=>{var e=this.props.location.pathname+"?filter="+encodeURIComponent(JSON.stringify(t));this.props.history.replace(e),this.setState({uri:e,redirect:!0,bounds:t}),this.props.dispatch({type:"CHANGE_SELECTED_FILTER",payload:t}),this.fetchMapData(t)},this.onDeleted=t=>{const e=this.props.location.pathname;this.props.history.replace(e),this.props.dispatch({type:"CHANGE_SELECTED_FILTER",payload:{}}),this.fetchMapData({})},this.mapRef=Object(s.createRef)(),this.lastFetchedFilters=null}componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)})),this.props.filters&&this.props.filters.bounds&&(this.props.filters.rangeArea||this.props.filters.pol
1ygonBoundries)&&this.setState({bounds:this.props.filters}),this.fetchMapData(this.props.filters)}componentDidUpdate(t){JSON.stringify(t.filters)!==JSON.stringify(this.props.filters)&&this.fetchMapData(this.props.filters),Object.keys(t.filters||{}).length>0&&0===Object.keys(this.props.filters||{}).length&&this.setState((t=>({clearMapKey:t.clearMapKey+1})))}getComplexDetails(t){console.log(t),jt.post("api/screener/get_complex_details?complex_id=".concat(t)).then((t=>{if(void 0===t.data.details)return alert("Complex Details not found"),!1;{let e=this.state.apiData;e.complexes=[],e.complexes.push(t.data.details.complex_filter),this.setState({apiData:e,assetDetails:t.data.details,assetDetailsKey:Math.random(),tabIndex:2},(()=>{}))}}))}render(){return Object(M.jsx)("div",{className:"container-fluid developer mapsPage mapsPageHeight p-0",style:{height:"100%",overflow:"hidden"},children:Object(M.jsxs)("div",{className:"row h-100",style:{margin:0},children:[this.state.showDetails&&Object(M.jsx)("div",{className:"col-lg-6 mapsTab p-0",style:{height:"100%",overflowY:"auto",overflowX:"hidden"},children:Object(M.jsx)(Tn,{summary:this.state.summary,bounds:this.state.bounds,assetDetails:this.state.assetDetails,apiData:this.state.apiData,filters:this.props.filters,tabIndex:this.state.tabIndex,update:!0},this.state.assetDetailsKey)}),Object(M.jsxs)("div",{className:this.state.mapsContainerClass,style:{position:"relative",height:"100%",padding:0},children:[Object(M.jsx)(ds.a,{region:"IN",apiKey:"AIzaSyD7sg7Urgfgt1cEVR0a-HR2qcVr3hD3E1A",children:Object(M.jsx)(ds.d,{mapId:Object({NODE_ENV:"production",PUBLIC_URL:"/edge",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CHECK_OFFICE_AUTH_PATH:"/api/edge/office/check_auth",REACT_APP_CHECK_RETAIL_AUTH_PATH:"/api/edge/retail/check_auth",REACT_APP_API_DOMAIN:"https://www.crematrix.com",REACT_APP_USER_ACTIVITY:"api/user-activity/log-activity",REACT_APP_GOOGLE_MAPS_API_KEY:"AIzaSyD7sg7Urgfgt1cEVR0a-HR2qcVr3hD3E1A",REACT_APP_MIXPANEL_TOKEN:"d04c8f769571c131abee7f24554e5d07"}).REACT_APP_GOOGLE_MAP_ID,onTilesLoaded:t=>{this.mapRef.current=t.map},defaultCenter:In,defaultZoom:5,minZoom:4.5,gestureHandling:"greedy",clickableIcons:!1,mapTypeControl:!1,fullscreenControl:!1,streetViewControl:!1,style:{width:"100%",height:"100%"},children:Object(M.jsx)(Un,{complexes:this.state.complexes,showPolygon:this.state.showPolyGon,showCircle:this.state.showcircle,clearMapKey:this.state.clearMapKey,initialShapeData:this.props.filters&&this.props.filters.bounds&&(this.props.filters.rangeArea||this.props.filters.pol
1ygonBoundries)?this.props.filters:null,onMarkerClick:t=>{this.getComplexDetails(t)},onShapeCreated:t=>{this.onCreate(t)}})})}),Object(M.jsx)("button",{className:"clearMap",title:"Clear drawing",onClick:()=>this.onDeleted(),style:{position:"absolute",top:"10px",right:"60px",zIndex:5,width:"40px",height:"40px",background:"#fff",border:"none",borderRadius:"2px",boxShadow:"0 1px 4px rgba(0,0,0,0.3)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},children:Object(M.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:Object(M.jsx)("path",{fill:"#555",d:"M6 2h4a1 1 0 0 1 1 1v1h3v1.5H2V4h3V3a1 1 0 0 1 1-1Zm-2 4h8l-.6 8.1a1 1 0 0 1-1 .9H5.6a1 1 0 0 1-1-.9L4 6Z"})})})]})]})})}}Rn.contextType=Wt;var Yn=Object(c.f)(Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Rn));const Qn=t=>{var e=new FormData;return e.append("page",t),e};class kn extends i.a.Component{constructor(){super(...arguments),this.state={filters:{},recentyViewedTransactions:[Array.from({length:2})],majorRecentTransactions:[Array.from({length:2})],page:1,page1:1,isOpenErrorDisplayModal:!1,jsonForExcelRecentAdded:[],jsonForExcelMajorRecent:[]},this.encodedUrlBuilding=(t,e)=>{const a={[t]:[{id:"cre-".concat(J()(e)),value:String(e),label:String(e)}]},s=JSON.stringify(a);return"/edge/office/custom/?filter=".concat(encodeURIComponent(s))},this.fetchMoreData=()=>{this.setState({page:this.state.page+1}),setTimeout((()=>{jt.post("api/edge/office/get_custom_recently_added_transactions",Qn(this.state.page)).then((t=>{let e=this.state.recentyViewedTransactions.concat(t.data);this.setState({recentyViewedTransactions:e,jsonForExcelRecentAdded:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})}))}),1500)},this.fetchMajorTransactionData=()=>{this.setState({page1:this.state.page1+1}),setTimeout((()=>{jt.post("api/edge/office/get_custom_major_recent_transactions",Qn(this.state.page1)).then((t=>{let e=this.state.majorRecentTransactions.concat(t.data);this.setState({majorRecentTransactions:e,jsonForExcelMajorRecent:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})}))}),1500)},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})}}componentDidMount(){let t=new FormData;var e;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)})),e="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=e,jt.post("api/edge/office/get_custom_recently_added_transactions",Qn(this.state.page)).then((t=>{let e=t.data;this.setState({recentyViewedTransactions:e,jsonForExcelRecentAdded:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})})),jt.post("api/edge/office/get_custom_major_recent_transactions",Qn(this.state.page1)).then((t=>{let e=t.data;this.setState({majorRecentTransactions:e,jsonForExcelMajorRecent:it(e,{tenant:{name:"Occupier",type:"string"},execution_date:{name:"Date",type:"string"},complex:{name:"Asset",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},city:{name:"city",type:"string"}})})}))}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}render(){return Object(M.jsx)("div",{className:"container-fluid developer mapsPage customPage p-0 spacingClassForDashboard",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recently Added Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Ob
1ject(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcelRecentAdded,fileName:"RecentyAddedTransactions",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#recentyAddedTransactions","RecentyAddedTransactions")},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(Aa.a,{dataLength:this.state.recentyViewedTransactions.length,next:this.fetchMoreData,hasMore:!0,height:400,loader:Object(M.jsx)("h4",{children:"Loading..."}),children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,className:"customRecentTransactions",id:"recentyAddedTransactions",children:Object(M.jsx)("tbody",{children:this.state.recentyViewedTransactions.length>0&&this.state.recentyViewedTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"",style:{cursor:"pointer"},onClick:()=>{const e=this.encodedUrlBuilding("Lease_Id",t.Lease_Id);window.open(e,"_blank")},children:[Object(M.jsxs)("td",{children:[Object(M.jsx)("p",{children:t.execution_date}),Object(M.jsx)("h5",{children:t.complex}),Object(M.jsxs)("p",{children:[t.micromarket,", ",t.city]})]}),Object(M.jsx)("td",{children:Object(M.jsx)("h5",{children:t.tenant})}),Object(M.jsx)("td",{children:Object(M.jsxs)("h5",{children:[t.area," sq.ft."]})})]})))})})})})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcelMajorRecent,fileName:"RecentyAddedTransactions",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#majorRecentTransactiontable","MajorRecentTransactiontable")},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(Aa.a,{dataLength:this.state.majorRecentTransactions.length,next:this.fetchMajorTransactionData,hasMore:!0,height:400,loader:Object(M.jsx)("h4",{children:"Loading..."}),children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,className:"customRecentTransactions",id:"majorRecentTransactiontable",children:Object(M.jsx)("tbody",{children:this.state.majorRecentTransactions.length>0&&this.state.majorRecentTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"",style:{cursor:"pointer"},onClick:()=>{const e=this.encodedUrlBuilding("Lease_Id",t.Lease_Id);window.open(e,"_blank")},children:[Object(M.jsxs)("td",{children:[Object(M.jsx)("p",{children:t.execution_date}),Object(M.jsx)("h5",{children:t.complex}),Object(M.jsxs)("p",{children:[t.micromarket,", ",t.city]})]}),Object(M.jsx)("td",{children:Object(M.jsx)("h5",{children:t.tenant})}),Object(M.jsx)("td",{children:Object(M.jsxs)("h5",{children:[t.area," sq.ft."]})})]})))})})})})]})})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})})}}kn.contextType=Wt;var Pn=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions}}))(kn);class Gn extends i.a.Component{constructor(){super(...arguments),this.state={keyDates:[],filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_custom_key_dates",Z(t)).then((t=>{this.setState({keyDates:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_key_dates",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({keyDates:t.data})})))}render(){return Object(M.jsx)("div",{className:"widget widgetCustomTab customTabsDesign",children:Object(M.jsx)("div",{className:"container-fluid p-0 aseetContent mapsUl",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"tabDetails",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{className:"",children:[Object(M.jsx)("span",{children:"Sign Date"}),Object(M.jsx)("span",{children:this.state.keyDates.sign_date})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Lease Commence"}),Object(M.jsx)("span",{children:this.state.keyDates.lease_commence})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Fee Commence"}),Object(M.jsx)("span",{children:this.state.keyDates.fee_commence})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Licensee Lock-in"}),Object(M.jsx)("span",{children:this.state.keyDates.licensee_lockin})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Licensor Lock-in"}),Object(M.jsx)("span",{children:this.state.keyDates.licensor_lockin})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Lease Expiry"}),Object(M.jsx)("span",{children:this.state.keyDates.lease_expiry})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Time to Expiry"}),Object(M.jsx)("span",{children:this.state.keyDates.time_to_expiry})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Time to Lockin"}),Object(M.jsx)("span",{children:this.state.keyDates.time_to_lockin})]})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"tabDetails",children:Object(M.jsxs)("table",{className:"keyDatesTable",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Lease Analysis"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{children:"Market Average"})]}),Object(M.jsx)("tr",{className:"h10px"})]}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Time to Commence"}),Object(M.jsx)("td",{children:this.state.keyDates.time_to_commence}),Object(M.jsx)("td",{})]}),Object(M.jsx)("tr",{className:"h10px"}
1),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Rent Free Period"}),Object(M.jsx)("td",{children:this.state.keyDates.rent_free_period}),Object(M.jsxs)("td",{className:"position-relative",children:[this.state.keyDates.rent_free_period_average,Object(M.jsx)(p.a,{icon:1==this.state.keyDates.rent_free_period_trend?j.r:j.q,className:1==this.state.keyDates.rent_free_period_trend?"faColorUp":"faDownRed",size:"lg"})]})]}),Object(M.jsx)("tr",{className:"h10px"}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Licensee Lock-in Period"}),Object(M.jsx)("td",{children:this.state.keyDates.licensee_lockin_period}),Object(M.jsxs)("td",{className:"position-relative",children:[this.state.keyDates.licensee_lockin_period_average,Object(M.jsx)(p.a,{icon:1==this.state.keyDates.licensee_lockin_period_trend?j.r:j.q,className:1==this.state.keyDates.licensee_lockin_period_trend?"faColorUp":"faDownRed",size:"lg"})]})]}),Object(M.jsx)("tr",{className:"h10px"}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Licensor Lock-in Period"}),Object(M.jsx)("td",{children:this.state.keyDates.licensor_lockin_period}),Object(M.jsxs)("td",{className:"position-relative",children:[this.state.keyDates.licensor_lockin_period_average,Object(M.jsx)(p.a,{icon:1==this.state.keyDates.licensor_lockin_period_trend?j.r:j.q,className:1==this.state.keyDates.licensor_lockin_period_trend?"faColorUp":"faDownRed",size:"lg"})]})]}),Object(M.jsx)("tr",{className:"h10px"}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Lease Term"}),Object(M.jsx)("td",{children:this.state.keyDates.lease_term}),Object(M.jsxs)("td",{className:"position-relative",children:[this.state.keyDates.lease_term_average,Object(M.jsx)(p.a,{icon:1==this.state.keyDates.rent_free_period_trend?j.r:j.q,className:1==this.state.keyDates.rent_free_period_trend?"faColorUp":"faDownRed",size:"lg"})]})]})]})]})})})]})})})}}Gn.contextType=Wt;var Ln=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Gn);class Vn extends i.a.Component{constructor(){super(...arguments),this.state={unitRents:[],filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_custom_units_and_rents",Z(t)).then((t=>{this.setState({unitRents:t.data},(()=>{console.log(this.state.unitRents)}))}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_units_and_rents",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({unitRents:t.data})})),console.log(this.state.unitRents))}render(){return Object(M.jsx)("div",{className:"container-fluid unitsRents",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("table",{className:"table",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:"Unit"}),Object(M.jsx)("th",{children:"Chargeable Area (sqft)"}),Object(M.jsx)("th",{children:"Carpet Area (sqft)"}),Object(M.jsx)("th",{children:"Initial Rent (\u20b9)"}),Object(M.jsx)("th",{children:"Initial Rent (\u20b9/sqft/month)"}),Object(M.jsx)("th",{children:"Market Average"})]})}),Object(M.jsx)("tbody",{children:Object.keys(this.state.unitRents).length>0&&this.state.unitRents.rent_details.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:t.unit_name}),Object(M.jsx)("td",{children:t.unit_chargeable_area_sf}
1),Object(M.jsx)("td",{children:t.unit_carpet_area_sf}),Object(M.jsx)("td",{children:t.unit_initial_rent_inr}),Object(M.jsx)("td",{children:t.unit_initial_rent_sft}),Object(M.jsx)("td",{children:t.unit_market_avg})]},e)))}),Object(M.jsx)("tfoot",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Payment Frequency"}),Object(M.jsx)("td",{colSpan:5,children:this.state.unitRents.payment_frequency})]})})]})})})})}}Vn.contextType=Wt;var zn=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Vn);class Jn extends i.a.Component{constructor(){super(...arguments),this.state={termDetails:[],filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_custom_term_details",Z(t)).then((t=>{this.setState({termDetails:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_term_details",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({termDetails:t.data})})))}render(){return Object(M.jsx)("div",{className:"container-fluid unitsRents",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("table",{className:"table table-striped",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:"Start Date"}),Object(M.jsx)("th",{children:"End Date"}),Object(M.jsx)("th",{children:"Period"}),Object(M.jsx)("th",{children:"Moratorium Period"}),Object(M.jsx)("th",{children:"Rent (\u20b9)"}),Object(M.jsx)("th",{children:"Rent (\u20b9/sqft/month)"}),Object(M.jsx)("th",{children:"Fitout Rent (\u20b9/sqft/month)"}),Object(M.jsx)("th",{children:"Rent Escalation (%)"})]})}),Object(M.jsx)("tbody",{children:Object.keys(this.state.termDetails).length>0&&Object.keys(this.state.termDetails).map(((t,e)=>Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:this.state.termDetails[t].start_date}),Object(M.jsx)("td",{children:this.state.termDetails[t].end_date}),Object(M.jsx)("td",{children:this.state.termDetails[t].period}),Object(M.jsx)("td",{children:this.state.termDetails[t].moratorium_period}),Object(M.jsx)("td",{children:this.state.termDetails[t].rent}),Object(M.jsx)("td",{children:this.state.termDetails[t].sft}),Object(M.jsx)("td",{children:this.state.termDetails[t].fitout_rent_sft}),Object(M.jsx)("td",{children:this.state.termDetails[t].rent_escalation})]},e)))})]})})})})}}Jn.contextType=Wt;var Wn=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Jn);class Hn extends i.a.Component{constructor(){super(...arguments),this.state={carParks:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_custom_car_parks",Z(t)).then((t=>{this.setState({carParks:t.data},(()=>{console.log(this.state.carParks["Rent Free"].number)}))}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_car_parks",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({carParks:t.data},(()=>{console.log(this.state.carParks)}))})))}render(){return Object(M.jsx)("div",{className:"container-fluid unitsRents carParks",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("table",{className:"table table-striped",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:"Car parks"}),Object(M.jsx)("th",{children:"Number"}),Object(M.jsx)("th",{children:"Initial Rent (INR)"}),Object(M.jsx)("th",{children:"Initial Rent (P#)"}),Object(M.jsx)("th",{children:"Market Average"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Rent Free"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Free"]?this.state.carParks["Rent Free"].number:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Free"]?this.state.carParks["Rent Free"].initial_rent_inr:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Free"]?this.state.carParks["Rent Free"].initial_rent_p:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Free"]?this.state.carParks["Rent Free"].market_avg:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"tableTdBlueBg",children:"Rent Paid"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Paid"]?this.state.carParks["Rent Paid"].number:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Paid"]?this.state.carParks["Rent Paid"].initial_rent_inr:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Paid"]?this.state.carParks["Rent Paid"].initial_rent_p:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Rent Paid"]?this.state.carParks["Rent Paid"].market_avg:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"",children:"Purchased Free"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Purchased Free"]?this.state.carParks["Purchased Free"].number:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Purchased Free"]?this.state.carParks["Purchased Free"].initial_rent_inr:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Purchased Free"]?this.state.carParks["Purchased Free"].initial_rent_p:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks["Purchased Free"]?this.state.carParks["Purchased Free"].market_avg:"-"})]})]}),Object(M.jsx)("tfoot",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Total"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks.Total?this.state.carParks.Total.number:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks.Total?this.state.carParks.Total.initial_rent_inr:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks.Total?this.state.carParks.Total.initial_rent_p:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.carParks.Total?this.state.carParks.Total.market_avg:"-"})]})})]})})})})}}Hn.contextType=Wt;var Zn=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Hn);class Xn extends i.a.Component{constructor(){super(...arguments),this.state={noGra
1ph:!1,showLoader:!1,showGraph:!1,asset:{},rentAndSecurity:{},filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},exceldata:[],chartData:{labels:[],datasets:[]}}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.setState({}),jt.post("api/edge/office/get_custom_vs_asset_lease_parameters",Z(t)).then((t=>{this.setState({asset:t.data},(()=>{console.log(this.state.asset)}))})),jt.post("api/edge/office/get_custom_vs_asset_charges",Z(t)).then((t=>{t.data&&this.setState({rentAndSecurity:t.data},(()=>{console.log(this.state.rentAndSecurity)}))})),this.state.isLoad&&!this.state.noGraph){let t=document.getElementById("rentalsVacancyLineChart").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff")}const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:""},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){("undefined"!==typeof t.tooltip.dataPoints[0].parsed.y&&t.tooltip.dataPoints[0].parsed.y!==e.state.tooltipYLabel||"undefined"!==typeof t.tooltip.dataPoints[0].label&&t.tooltip.dataPoints[0].label!==e.state.tooltipxLabel)&&e.setState({tooltipClassname:"colorRed",tooltipArrow:j.c,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_custom_vs_asset_rentals",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});let s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,borderColor:t.data.bgcolor.y1,backgroundColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2,borderColor:t.data.bgcolor.y2,backgroundColor:t.data.bgcolor.y2}]};$(t.data.datapoints.y1)||$(t.data.datapoints.y2)?e.setState({noGraph:!1}):e.setState({noGraph:!0});const i=tt(t);e.setState({chartOtions:a,chartData:s,exceldata:i})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_vs_asset_lease_parameters",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({asset:t.data},(()=>{console.log(this.state.asset)}))})),jt.post("api/edge/office/get_custom_vs_asset_charges",Z(JSON.stringify(this.context.filters))).then((t=>{this.setState({rentAndSecurity:t.data},(()=>{console.log(this.state.rentAndSecurity)}))})))}downloadPdf(){const t=document.getElementById("rentalComparison");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("rentalComparison.pdf")}))}render(){return Object(M.jsxs)("div",{className:"container-fluid unitsRents assets",id:"rentalComparison",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 mb-4",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Comparison"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"rentalComparison",btnClassName:"graphExcelDownloadBtn"})})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("div",{className:"tabDetails",children:[Object(M.jsx)("h6",{className:"text-left mb-4",children:"Rental Comparison"}),Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Lease Term"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.asset?this.state.asset.asset.lease_term:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.lease?this.state.asset.lease.lease_term:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Rent free Perio
1d"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.asset?this.state.asset.asset.rentfree_period:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.lease?this.state.asset.lease.rentfree_period:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Lock-in Period"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.asset?this.state.asset.asset.lockin_period:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.lease?this.state.asset.lease.lockin_period:"-"})]})]})})]})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("div",{className:"tabDetails",children:[Object(M.jsx)("h6",{className:"text-left mb-4",children:"Rent & Security Deposit"}),Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Avg. Escalation"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.asset?this.state.rentAndSecurity.asset.rent_escalation:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.lease?this.state.rentAndSecurity.lease.rent_escalation:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Security Deposit"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.asset?this.state.rentAndSecurity.asset.security_deposit:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.lease?this.state.rentAndSecurity.lease.security_deposit:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"CAM Charges"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.asset?this.state.rentAndSecurity.asset.cam_charges:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.lease?this.state.rentAndSecurity.lease.cam_charges:"-"})]})]})})]})})]})]})}}Xn.contextType=Wt;var Kn=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Xn);class qn extends i.a.Component{constructor(){super(...arguments),this.state={asset:{},rentAndSecurity:{},filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_custom_vs_sector_lease_parameters",Z(t)).then((t=>{this.setState({asset:t.data},(()=>{console.log(this.state.asset)}))})),jt.post("api/edge/office/get_custom_vs_sector_charges",Z(t)).then((t=>{this.setState({rentAndSecurity:t.data},(()=>{console.log(this.state.rentAndSecurity)}))}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_vs_sector_lease_parameters",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({asset:t.data},(()=>{console.log(this.state.asset)}))})),jt.post("api/edge/office/get_custom_vs_asset_charges",Z(JSON.stringify(this.context.filters))).then((t=>{this.setState({rentAndSecurity:t.data},(()=>{console.log(this.state.rentAndSecurity)}))})))}downloadPdf(){const t=document.getElementById("rentalComparison");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("rentalComparison.pdf")}))}render(){return Object(M.jsx)("div",{className:"container-fluid unitsRents assets",id:"rentalComparison",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 mb-3",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rental Comparison"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})})]})}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("div",{className:"tabDetails",children:[Object(M.jsx)("h6",{className:"text-left mb-4",children:"Rental Comparison"}),Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Lease Term"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.lease?this.state.asset.lease.lease_term:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.sector?this.state.asset.sector.lease_term:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Rent free Perio
1d"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.lease?this.state.asset.lease.rentfree_period:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.sector?this.state.asset.sector.rentfree_period:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Lock-in Period"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.lease?this.state.asset.lease.lockin_period:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.asset.sector?this.state.asset.sector.lockin_period:"-"})]})]})})]})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("div",{className:"tabDetails",children:[Object(M.jsx)("h6",{className:"text-left mb-4",children:"Rent & Security Deposit"}),Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Avg. Escalation"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.lease?this.state.rentAndSecurity.lease.rent_escalation:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.sector?this.state.rentAndSecurity.sector.rent_escalation:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Security Deposit"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.lease?this.state.rentAndSecurity.lease.security_deposit:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.sector?this.state.rentAndSecurity.sector.security_deposit:"-"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"CAM Charges"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.lease?this.state.rentAndSecurity.lease.cam_charges:"-"}),Object(M.jsx)("td",{children:void 0!==this.state.rentAndSecurity.sector?this.state.rentAndSecurity.sector.cam_charges:"-"})]})]})})]})})]})})}}qn.contextType=Wt;var $n=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(qn),tr=a(130);class er extends i.a.Component{constructor(){super(...arguments),this.state={currentLease:{},filters:"",isOpen:!1,leaseId:[],selectedLeaseId:[],apiData:[]},this.compareLeases=()=>{for(let a=0;a<this.state.currentLease.length;a++){var t=document.getElementById("compareUl"),e=document.createElement("li");e.appendChild(document.createTextNode("Comparable")),t.appendChild(e)}this.closeModal(),jt.post("api/edge/office/get_custom_lease_analysis",Z(JSON.stringify(this.state.apiData))).then((t=>{this.setState({currentLease:t.data},(()=>{console.log(this.state.currentLease)}))}))},this.closeModal=()=>this.setState({isOpen:!1})}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_custom_lease_analysis",Z(t)).then((t=>{this.setState({currentLease:t.data})})),jt.post("api/screener/get_data?q=Lease_Id&screener=edge_office").then((t=>{this.setState({leaseId:t.data.suggestions})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_lease_analysis",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({currentLease:t.data})})))}addCompare(){this.setState({isOpen:!0})}getSelectedLease(t){console.log(this.state.filters),this.setState({apiData:this.state.filters});var e={};this.setState({selectedLeaseId:t},(()=>{for(let t=0;t<this.state.selectedLeaseId.length;t++)e={id:this.state.selectedLeaseId[t].id,label:this.state.selectedLeaseId[t].label,value:this.state.selectedLeaseId[t].value},this.state.apiData.creid.push(e)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid unitsRents assets leaseAnalysis",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 mt-3 mb-4 p-0",children:Object(M.jsxs)("ul",{id:"compareUl",children:[Object(M.jsxs)("li",{onClick:t=>{this.addCompare()},children:[Object(M.jsx)(p.a,{icon:j.m})," Add Comparable"]}),Object(M.jsx)("li",{children:"This Lease"})]})}),Object(M.jsxs)(tr.a,{defaultActiveKey:"0",flush:!0,children:[Object(M.jsxs)(tr.a.Item,{eventKey:"0",children:[Object(M.jsx)(tr.a.Header,{children:"Area Details"}
1),Object(M.jsx)(tr.a.Body,{children:Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdOne",children:"Chargeable area"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.chargeable_area})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Carpet area"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.carpetarea})))]})]})})})]}),Object(M.jsxs)(tr.a.Item,{eventKey:"1",children:[Object(M.jsx)(tr.a.Header,{children:"Rental Details"}),Object(M.jsx)(tr.a.Body,{children:Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdOne",children:"Starting Rent (Market Rent)"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.starting_rent})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Current Rent"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.current_rent})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Effective Rent"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.effective_rent})))]})]})})})]}),Object(M.jsxs)(tr.a.Item,{eventKey:"2",children:[Object(M.jsx)(tr.a.Header,{children:"Key Dates"}),Object(M.jsx)(tr.a.Body,{children:Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdOne",children:"Lease Term"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.leaseterm})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Lock-in Period"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.lockinperiod})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Rent Free Period"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.rentfreeperiod_months})))]})]})})})]}),Object(M.jsxs)(tr.a.Item,{eventKey:"3",children:[Object(M.jsx)(tr.a.Header,{children:"Other Details"}),Object(M.jsx)(tr.a.Body,{children:Object(M.jsx)("table",{className:"table table-striped",children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdOne",children:"Escalations"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.rent_escalation})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Free Car Park"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.freecars})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Paid Car Park"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.paidcars})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"Security Deposit"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.security_deposit})))]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{className:"leaseAnalysisTdSecond",children:"CAM Charges"}),this.state.currentLease.length>0&&this.state.currentLease.map(((t,e)=>Object(M.jsx)("td",{children:t.cam_charges})))]})]})})})]})]})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 ",children:Object(M.jsxs)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"compareModal",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsxs)(k.a.Title,{children:[Object(M.jsx)(p.a,{icon:j.m})," Add Comparable"]})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 mb-3",children:Object(M.jsx)(rt.a,{options:this.state.leaseId,onChange:t=>
1{this.getSelectedLease(t)},isMulti:!0})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("button",{type:"submit",className:"btnClose",onClick:t=>{this.compareLeases()},children:"Submit"})})]})})})]})})})]})}}er.contextType=Wt;var ar=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(er);const sr=t=>{var e=new FormData;return e.append("creID",t),e.append("screener","lease"),e};class ir extends i.a.Component{constructor(){super(...arguments),this.state={filters:"",creId:"",filterData:[],showLoader:!0}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.getPdfUrl()}getPdfUrl(){this.setState({filterData:this.props.filters},(()=>{for(let t=0;t<this.state.filterData.creid.length;t++)jt.post("api/screener/view-document",sr(this.state.filterData.creid[t].value)).then((t=>{this.setState({unitRents:t.data},(()=>{console.log(this.state.unitRents[0])}))}))}))}componentDidUpdate(){}render(){return Object(M.jsx)("div",{className:"container-fluid unitsRents",children:Object(M.jsxs)("div",{className:"row",children:["You are not allowed to download the document. Please contact CRE Matrix Team for further assistance."==this.state.unitRents&&Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("p",{children:"You are not allowed to download the document. Please contact CRE Matrix Team for further assistance"})}),"You are not allowed to download the document. Please contact CRE Matrix Team for further assistance."!=this.state.unitRents&&void 0!=this.state.unitRents&&Object(M.jsxs)("div",{className:"col-lg-12",style:{overflow:"scroll",height:600},children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),Object(M.jsx)(bo.PDFReader,{onDocumentComplete:()=>{this.setState({showLoader:!1})},showAllPage:!0,url:this.state.unitRents.request})]})]})})}}ir.contextType=Wt;var lr=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ir);class or extends i.a.Component{constructor(t){super(t)}render(){return Object(M.jsxs)(Zi.d,{children:[Object(M.jsxs)(Zi.b,{children:[Object(M.jsx)(Zi.a,{children:"Summary"}),Object(M.jsx)(Zi.a,{children:"Key Dates"}),Object(M.jsx)(Zi.a,{children:"Units & Rents"}),Object(M.jsx)(Zi.a,{children:"Term Details"}),Object(M.jsx)(Zi.a,{children:"Car Parks"}),Object(M.jsx)(Zi.a,{children:"Assets"}),Object(M.jsx)(Zi.a,{children:"Sector"}),Object(M.jsx)(Zi.a,{children:"Lease Analysis"}),Object(M.jsx)(Zi.a,{children:"Lease Deed"})]}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)("div",{className:"widget",children:Object(M.jsx)("div",{className:"container-fluid p-0 aseetContent mapsUl",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-start mb-3",children:Object(M.jsx)("h5",{children:"Lease Summary"})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{className:"",children:[Object(M.jsx)("span",{children:"Unit Address"}),Object(M.jsx)("span",{children:this.props.address})]}),Object(M.jsxs)("li",{className:"liBlueBg",children:[Object(M.jsx)("span",{children:"Lessor"}),Object(M.jsx)("span",{children:this.props.leaseSummary.lessor})]}),Object(M.jsxs)("li",{className:"liBlueBg",children:[" ",Object(M.jsx)("span",{children:"Lessee"}),Object(M.jsx)("span",{children:this.props.leaseSummary.lesse})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Chargeable Area"}),Object(M.jsx)("span",{children:this.props.leaseSummary.chargeable_area})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Lease Term"}),Object(M.jsx)("span",{children:this.props.leaseSummary.lease_term})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Absorption Date"}),Object(M.jsx)("span",{children:this.props.leaseSummary.absorption_date})]})]})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("ul",{className:"detailsUl",children:[Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Type"}),Object(M.jsx)("span",{children:this.props.leaseSummary.type})]}),Object(M.jsxs)("li",{className:"",children:[Object(M.jsx)("span",{children:"Space Type"}),Object(M.jsx)("span",{children:this.props.leaseSummary.space_type})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Agreement Type"}),Object(M.jsx)("span",{children:this.props.leaseSummary.agreement_type})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Carpet Area"}),Object(M.jsx)("span",{children:this.props.leaseSummary.carpet_area})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Floors"}),Object(M.jsx)("span",{children:this.props.leaseSummary.floor_number})]}),Object(M.jsxs)("li",{children:[" ",Object(M.jsx)("span",{children:"Effective Rent (\u20b9/sqft/month)"}),Object(M.jsx)("span",{children:this.props.leaseSummary.effective_rent})]})]})})]})})})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(Ln,{})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(zn,{})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(Wn,{})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(Zn,{})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(Kn,{})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)($n,{})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(ar,{})}),Object(M.jsx)(Zi.c,{children:Object(M.jsx)(lr,{})})]})}}or.contextType=Wt;var cr=or;const nr=t=>{let{locations:e,heading:a}=t;const s=Object(ds.g)(),[l,o]=i.a.useState(null);return i.a.useEffect((()=>{var t;if(!s||!(null===(t=window.google)||void 0===t?void 0:t.maps)||!e||0===e.length)return;if(1===e.length)return s.setCenter({lat:Number(e[0].latitude),lng:Number(e[0].longitude)}),void s.setZoom(15);const a=new window.google.maps.LatLngBounds;e.forEach((t=>{a.extend(new window.google.maps.LatLng(Number(t.latitude),Number(t.longitude)))})),s.fitBounds(a)}),[s,e]),e&&0!==e.length?Object(M.jsx)(M.Fragment,{children:e.map(((t,e)=>Object(M.jsxs)(i.a.Fragment,{children:[Object(M.jsx)(ds.f,{position:{lat:Number(t.latitude),lng:Number(t.longitude)},icon:{url:rs.a,scaledSize:new window.google.maps.Size(25,41),anchor:new window.google.maps.Point(12,41)},onClick:()=>o(e)}),l===e&&Object(M.jsx)(ds.c,{position:{lat:Number(t.latitude),lng:Number(t.longitude)},onCloseClick:()=>o(null),children:Object(M.jsx)("div",{children:a})})]},e)))}):null};class rr extends i.a.Component{constructor(){super(...arguments),this.state={filters:{},customSummary:{},positionLat:19.076,positionLong:72.8777,leaseSummary:{},bounds:null,uniAddress:""}}componentDidMount(){let t=new FormData;var e;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)})),e="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=e,jt.post("api/edge/office/get_custom_basic_details",Z(e)).then((t=>{this.setState({customSummary:t.data}),"-"!=t.data.location[0].latitude&&"-"!=t.data.location[0].longitude&&this.setState({positionLat:t.data.location[0].latitude,positionLong:t.data.location[0].longitude,bounds:!0})})),jt.post("api/edge/office/get_custom_lease_summary",Z(e)).then((t=>{this.setState({leaseSummary:t.data})})),jt.post("api/edge/office/get_custom_units_and_rents",Z(e)).then((t=>{this.setState({uniAddress:t.data.rent_details[0].unit_name},(()=>{}))}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_custom_basic_details",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({customSummary:t.data}),"-"!=t.data.location[0].latitude&&"-"!=t.data.location[0].longitude&&this.setState({positionLat:t.data.location[0].latitude,positionLong:t.data.location[0].longitude,bounds:!0})})),jt.post("api/edge/office/get_custom_lease_summary",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({leaseSummary:t.data})})),jt.post("api/edge/office/get_custom_units_and_rents",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({uniAddress:t.data.rent_details[0].unit_name},(()=>{}))})))}render(){return Object(M.jsx)("div",{className:"container-fluid developer mapsPage customPage p-0 spacingClassForDashboard",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("div",{className:"widget widgetTransparent",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-12 aseetContent mapsUl ",style:{backgroundColor:"#FFF",paddingTop:"15px"},children:[Object(M.jsxs)("h2",{children:[this.state.customSummary.heading,Object(M.jsx)("span",{className:"online"})," "]}),Object(M.jsxs)("ul",{className:"descriptionUl mb-0",children:[Object(M.jsx)("li",{children:this.state.customSummary.building}),Object(M.jsx)("li",{children:this.state.customSummary.micromarket}),Object(M.jsx)("li",{children:this.state.customSummary.grade})]})]}),Object(M.jsx)("div",{className:"col-12",children:Object(M.jsxs)("div",{className:"row bgWithPadding",children:[Object(M.jsx)("div",{className:"col-lg-12 p-0",children:Object(M.jsx)("img",{src:this.state.customSummary.image,height:"280px",width:"100%",style:{marginBottom:"10px",objectFit:"cover"}})}),null!=this.state.bounds&&Object(M.jsx)("div",{className:"col-lg-12 p-0 customMapHeight",style:{height:"300px"},children:Object(M.jsx)(ds.a,{apiKey:"AIzaSyD7sg7Urgfgt1cEVR0a-HR2qcVr3hD3E1A",children:Object(M.jsx)(ds.d,{mapId:Object({NODE_ENV:"production",PUBLIC_URL:"/edge",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CHECK_OFFICE_AUTH_PATH:"/api/edge/office/check_auth",REACT_APP_CHECK_RETAIL_AUTH_PATH:"/api/edge/retail/check_auth",REACT_APP_API_DOMAIN:"https://www.crematrix.com",REACT_APP_USER_ACTIVITY:"api/user-activity/log-activity",REACT_APP_GOOGLE_MAPS_API_KEY:"AIzaSyD7sg7Urgfgt1cEVR0a-HR2qcVr3hD3E1A",REACT_APP_MIXPANEL_TOKEN:"d04c8f769571c131abee7f24554e5d07"}).REACT_APP_GOOGLE_MAP_ID,defaultCenter:{lat:Number(this.state.positionLat),lng:Number(this.state.positionLong)},defaultZoom:15,gestureHandling:"greedy",clickableIcons:!1,mapTypeControl:!1,fullscreenControl:!1,streetViewControl:!1,style:{width:"100%",height:"100%"},children:Object.keys(this.state.customSummary).length>0&&Object(M.jsx)(nr,{locations:this.state.customSummary.location,heading:this.state.customSummary.heading})})})})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)("div",{className:"widget customTabsDesign",children:Object(M.jsx)("div",{className:"col-lg-12 mapsTab p-0",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)(cr,{leaseSummary:this.state.leaseSummary,address:this.state.uniAddress})})})})})]})})}}rr.contextType=Wt;var dr=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(rr);class hr extends i.a.Component{constructor(){super(...arguments),this.state={filters:"{}"}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t})}componentDidUpdate(){this.state.filters!==JSON.stringify(this.props.filters)&&this.setState({filters:JSON.stringify(this.props.filters)})}renderAsset(){var t=JSON.parse(this.state.filters);return void 0===t.creid||0===t.creid.length?Object(M.jsx)(Pn,{}):Object(M.jsx)(dr,{})}render(){return void 0!==this.state.filters?this.renderAsset():Object(M.jsx)(M.Fragment,{children:"Loading"})}}hr.contextType=Wt;var pr=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(hr);Vi.c.GlobalWorkerOptions.workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(Vi.c.version,"/pdf.worker.min.js");const jr="LeaseTable",Ar="SaleTable",xr=()=>{var t=new FormData;return t.append("screener","edge_office"),t},br=()=>{var t=new FormData;return t.append("screener","edge_office_sales"),t},mr=(t,e,a)=>{var s=new FormData;return s.append("path","/edge/office/transaction"),s.append("hash",t),s.append("action","export"),s.append("extra_data",e),s.append("count",a),s},gr=(t,e,a,s,i)=>{var l=new FormData;return l.append("page",t),l.append("futureRentDate",e),l.append("filter",a),l.append("sortBy",s),l.append("sortOrder",i),l},Or=t=>{var e=new FormData;return e.append("creID",t),e.append("screener","lease"),e};class ur extends i.a.Component{constructor(t){super(t),this.state={totalFilteredLeaseRecord:null,totalFilteredSaleRecord:null,showLeaseTable:!0,showSaleTable:!0,isLoading:!0,isLoadingSale:!0,showLeaseActions:!0,errorMessage:'You do not have enough privileges to download data\n                        Kindly contact\n                        <a href="mailto:[email protected]">\n                          [email protected]\n                        </a>',load:!1,sortBy:null,sortOrder:null,showImageLoader:!1,startDate:new Date,futureRentDate:(new Date).toISOString().split("T")[0],averages:[],headerUnits:[],page:1,transactionData:[],noRows:!1,numberOfColumns:20,columns:[],fixedColumnsCount:2,fillTableWidth:!1,displayBottomUpwards:!1,infiniteScrolling:!0,rows:[],rowIdKey:"",isInfiniteLoading:!1,selectedRows:{},canSelectMultipleRows:!0,filters:"",isOpen:!1,isOpenDocModal:!1,isOpenColumnsModal:!1,isOpenExcelModal:!1,isOpenPngModal:!1,isOpenTimeModal:!1,isOpenNotesModal:!1,showDerivedCols:!0,selectAll:!0,isOpenDownloadModal:!1,currentArray:[],dragArray:[],dropdownTxt:"Hide Derived Data",creId:"",creIdDoc:"",numPages:"",pageNumber:1,docUrl:"",downloadColumns:[],checkedCsvCol:[],imgPath:"",isOpenErrorDisplayModal:!1,loadSale:!1,sortBySale:null,sortOrderSale:null,showImageLoaderSale:!1,startDateSale:new Date,futureRentDateSale:(new Date).toISOString().split("T")[0],averagesSale:[],headerUnitsSale:[],pageSale:1,transactionDataSale:[],noRowsSale:!1,numberOfColumnsSale:20,columnsSale:[],fixedColumnsCountSale:2,fillTableWidthSale:!1,displayBottomUpwardsSale:!1,infiniteScrollingSale:!0,rowsSale:[],rowIdKeySale:"",isInfiniteLoadingSale:!1,selectedRowsSale:{},canSelectMultipleRowsSale:!0,isOpenSale:!1,isOpenDocModalSale:!1,isOpenColumnsModalSale:!1,isOpenExcelModalSale:!1,isOpenPngModalSale:!1,isOpenTimeModalSale:!1,isOpenNotesModalSale:!1,showDerivedColsSale:!0,selectAllSale:!0,isOpenDownloadModalSale:!1,currentArraySale:[],dragArraySale:[],dropdownTxtSale:"Hide Derived Data",downloadColumnsSale:[],checkedCsvColSale:[],imgPathSale:"",isOpenErrorDisplayModalSale:!1},this.onFillTableWidth=t=>{this.setState({fillTableWidth:t})},this.onFillTableWidthSale=t=>{this.setState({fillTableWidthSale:t})},this.onInfiniteScrolling=t=>{clearTimeout(this._loadRowsTimeout),this.setState({noRows:!1,infiniteScrolling:t,isInfiniteLoading:!1})},this.onInfiniteScrollingSale=t=>{clearTimeout(this._loadRowsTimeout),this.setState({noRowsSale:!1,infiniteScrollingSale:t,isInfiniteLoadingSale:!1})},this.onInfiniteLoad=()=>{const{rows:t,page:e,totalFilteredLeaseRecord:a,isInfiniteLoading:s}=this.state;if(s||null!==a&&t.length>=a)return;const i=e+1;this.setState({isInfiniteLoading:!0,page:i},(()=>{jt.post("api/edge/office/get_lease_transactions",gr(this.state.page,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{const e=[...this.state.rows,...t.data.rows];this.setState({transactionData:t.data,rows:e,isInfiniteLoading:!1,totalFilteredLeaseRecord:t.data.recordsFiltered})})).catch((()=>{this.setState({isInfiniteLoading:!1})}
1))}))},this.onInfiniteLoadSale=()=>{const{rowsSale:t,pageSale:e,totalFilteredSaleRecord:a,isInfiniteLoadingSale:s}=this.state,i=parseInt(String(a).replace(/,/g,""),10);if(s||!isNaN(i)&&t.length>=i)return;const l=e+1;this.setState({isInfiniteLoadingSale:!0,pageSale:l},(()=>{jt.post("api/edge/office/get_sales_transactions",gr(this.state.pageSale,this.state.futureRentDateSale,JSON.stringify(this.state.filters),this.state.sortBySale,this.state.sortOrderSale)).then((t=>{const e=[...this.state.rowsSale,...t.data.rows];this.setState({transactionDataSale:t.data,rowsSale:e,isInfiniteLoadingSale:!1,totalFilteredSaleRecord:t.data.recordsFiltered})})).catch((()=>{this.setState({isInfiniteLoadingSale:!1})}))}))},this.scrollTableToTop=t=>{requestAnimationFrame((()=>{if(t&&t.current){const e=t.current.getBoundingClientRect().top+window.pageYOffset-20;window.scrollTo({top:e,behavior:"smooth"});const a=t.current.getElementsByTagName("div");for(let t=0;t<a.length;t++){const e=window.getComputedStyle(a[t]);a[t].scrollHeight>a[t].clientHeight&&("auto"===e.overflowY||"scroll"===e.overflowY||"auto"===e.overflow||"scroll"===e.overflow)&&(a[t].scrollTop=0)}}}))},this.goToLeasePage=t=>{t<1||this.state.isLoading||this.setState({isLoading:!0,page:t},(()=>{jt.post("api/edge/office/get_lease_transactions",gr(this.state.page,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{this.setState({transactionData:t.data,rows:t.data.rows,isLoading:!1,totalFilteredLeaseRecord:t.data.recordsFiltered}),this.scrollTableToTop(this.leaseTableRef)})).catch((()=>{this.setState({isLoading:!1})}))}))},this.goToSalePage=t=>{t<1||this.state.isLoadingSale||this.setState({isLoadingSale:!0,pageSale:t},(()=>{jt.post("api/edge/office/get_sales_transactions",gr(this.state.pageSale,this.state.futureRentDateSale,JSON.stringify(this.state.filters),this.state.sortBySale,this.state.sortOrderSale)).then((t=>{this.setState({transactionDataSale:t.data,rowsSale:t.data.rows,isLoadingSale:!1,totalFilteredSaleRecord:t.data.recordsFiltered}),this.scrollTableToTop(this.saleTableRef)})).catch((()=>{this.setState({isLoadingSale:!1})}))}))},this.renderPaginationControls=(t,e,a,s,i)=>{const l=parseInt(String(e).replace(/,/g,""),10)||0,o=a||50,c=Math.max(1,Math.ceil(l/o));if(c<=1)return null;let n=Math.max(1,t-2),r=Math.min(c,n+4);r-n<4&&(n=Math.max(1,r-4));const d=[];for(let h=n;h<=r;h++)d.push(h);return Object(M.jsxs)("div",{className:"custom-pagination-wrapper d-flex align-items-center w-100",style:{padding:"12px 20px",backgroundColor:"#f5f5f5",borderTop:"1px solid #e0e0e0",fontSize:"14px"},children:[Object(M.jsx)("div",{className:"d-flex align-items-center justify-content-start",style:{flex:1,gap:"15px"}}),Object(M.jsxs)("div",{className:"d-flex align-items-center justify-content-center",style:{flex:2,gap:"10px"},children:[Object(M.jsx)("span",{style:{cursor:t<=1||i?"not-allowed":"pointer",color:t<=1?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t>1&&!i&&s(1)},children:Object(M.jsx)("svg",{width:"14",height:"12",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(M.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.43211 7.81586C9.20243 8.05473 8.82261 8.06218 8.58374 7.8325L4.98374 4.4325C4.8661 4.31938 4.79961 4.16321 4.79961 4C4.79961 3.83679 4.8661 3.68062 4.98374 3.5675L8.58374 0.1675C8.82261 -0.0621766 9.20243 -0.0547285 9.43211 0.184134C9.66178 0.422997 9.65434 0.802823 9.41547 1.0325L6.26527 4L9.41547 6.9675C9.65434 7.19718 9.66178 7.577 9.43211 7.81586ZM4.63211 7.81586C4.40243 8.05473 4.02261 8.06218 3.78374 7.8325L0.183742 4.4325C0.066095 4.31938 -0.000392296 4.16321 -0.00039231 4C-0.000392324 3.83679 0.066095 3.68062 0.183742 3.5675L3.78374 0.1675C4.02261 -0.0621762 4.40243 -0.0547281 4.63211 0.184134C4.86178 0.422997 4.85434 0.802823 4.61547 1.0325L1.46527 4L4.61547 6.9675C4.85434 7.19718 4.86178 7.577 4.63211 7.81586Z",fill:"currentColor"})})}),Object(M.jsx)("span",{style:{cursor:t<=1||i?"not-allowed":"pointer",color:t<=1?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t>1&&!i&&s(t-1)},children:Object(M.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(M.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.63328 0.184136C4.86296 0.422999 4.85551 0.802824 4.61665 1.0325L1.46645 4L4.61665 6.9675C4.85551 7.19718 4.86296 7.577 4.63328 7.81587C4.4036 8.05473 4.02378 8.06218 3.78491 7.8325L0.184914 4.4325C0.0672672 4.31938 0.000779924 4.16321 0.000779931 4C0.000779938 3.83679 0.0672673 3.68062 0.184914 3.5675L3.78492 0.167501C4.02378 -0.0621752 4.4036 -0.0547276 4.63328 0.184136Z",fill:"currentColor"})})}),d.map((e=>Object(M.jsx)("span",{style:{cursor:i?"not-allowed":"pointer",color:e===t?"#2f80ed":"#666",backgroundColor:e===t?"#fff":"transparent",border:e===t?"1px solid":"transparent",padding:"4px 12px",borderRadius:"4px",fontWeight:e===t?"600":"400"},onClick:()=>{i||s(e)},children:e},e))),Object(M.jsx)("span",{style:{cursor:t>=c||i?"not-allowed":"pointer",color:t>=c?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t<c&&!i&&s(t+1)},children:Object(M.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(M.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.167501 7.81586C-0.0621751 7.577 -0.0547276 7.19718 0.184136 6.9675L3.33434 4L0.184135 1.0325C-0.0547279 0.802823 -0.0621754 0.422997 0.167501 0.184134C0.397177 -0.0547285 0.777003 -0.0621767 1.01587 0.167499L4.61587 3.5675C4.73351 3.68062 4.8 3.83679 4.8 4C4.8 4.16321 4.73351 4.31938 4.61587 4.4325L1.01587 7.8325C0.777003 8.06218 0.397177 8.05473 0.167501 7.81586Z",fill:"currentColor"})})}),Object(M.jsx)("span",{style:{cursor:t>=c||i?"not-allowed":"pointer",color:t>=c?"#d3d3d3":"#666",padding:"4px 8px",display:"flex",alignItems:"center",fontSize:"18px"},onClick:()=>{t<c&&!i&&s(c)},children:Object(M.jsxs)("svg",{width:"14",height:"12",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(M.jsx)("path",{d:"M0.184136 6.9675C-0.0547272 7.19718 -0.0621748 7.577 0.167501 7.81587C0.397177 8.05473 0.777003 8.06218 1.01587 7.8325L4.61587 4.4325C4.73351 4.31938 4.8 4.16321 4.8 4C4.8 3.83679 4.73351 3.68062 4.61587 3.5675L1.01587 0.167501C0.777003 -0.0621752 0.397177 -0.0547274 0.167501 0.184135C-0.0621751 0.422999 -0.0547276 0.802824 0.184135 1.0325L3.33434 4L0.184136 6.9675Z",fill:"currentColor"}),Object(M.jsx)("path",{d:"M4.98414 6.9675C4.74527 7.19718 4.73783 7.577 4.9675 7.81587C5.19718 8.05473 5.577 8.06218 5.81587 7.8325L9.41587 4.4325C9.53351 4.31938 9.6 4.16321 9.6 4C9.6 3.83679 9.53351 3.68062 9.41587 3.5675L5.81587 0.167501C5.577 -0.0621752 5.19718 -0.0547274 4.9675 0.184135C4.73783 0.422999 4.74527 0.802824 4.98414 1.0325L8.13434 4L4.98414 6.9675Z",fill:"currentColor"})]})})]}),Object(M.jsx)("div",{style:{flex:1}})]})},this.onFixedColumnsCountChange=t=>{this.setState({fixedColumnsCount:t})},this.onFixedColumnsCountChangeSale=t=>{this.setState({fixedColumnsCountSale:t})},this.onColumnWidthChange=(t,e)=>{const a=[...this.state.columns];a[t]=Object(h.a)(Object(h.a)({},a[t]),{},{width:e}),this.setState({columns:a})},this.onColumnWidthChangeSale=(t,e)=>{const a=[...this.state.columnsSale];a[t]=Object(h.a)(Object(h.a)({},a[t]),{},{width:e}),this.setState({columnsSale:a})},this.onSelectionChange=t=>{this.setState({selectedRows:t})},this.onSelectionChangeSale=t=>{this.setState({selectedRowsSale:t})},this.setCanSelectMultipleRows=t=>{this.setState({canSelectMultipleRows:t})},this.setCanSelectMultipleRowsSale=t=>{this.setState({canSelectMultipleRowsSale:t})},this.handleOnDragEnd=t=>{if(!t.destination)return;const e=[...this.state.dragArray],[a]=e.splice(t.source.index,1),{visible:s,static:i}=e[t.destination.index];e.splice(t.destination.index,0,a),e[t.destination.index].visible=s,e[t.destination.index].static=i,this.setState({dragArray:e})},this.handleOnDragEndSale=t=>{if(!t.destination)return;const e=[...this.state.dragArraySale],[a]=e.splice(t.source.index,1),{visible:s,static:i}=e[t.destination.index];e.splice(t.destination.index,0,a),e[t.destination.index].visible=s,e[t.destination.index].static=i,this.setState({dragArraySale:e})},this.openModal=()=>{this.setState({dragArray:this.state.currentArray},(()=>{})),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.openModalSale=()=>{this.setState({dragArraySale:this.state.currentArraySale},(()=>{})),this.setState({isOpenSale:!0})},this.closeModalSale=()=>this.setState({isOpenSale:!1}),this.openTimeModal=()=>{this.setState({isOpenTimeModal:!0})},this.closeTimeModal=()=>this.setState({isOpenTimeModal:!1}),this.openTimeModalSale=()=>{this.setState({isOpenTimeModalSale:!0})},this.closeTimeModalSale=()=>this.setState({isOpenTimeModalSale:!1}
1),this.openNotesModal=()=>{this.setState({isOpenNotesModal:!0})},this.closeNotesModal=()=>this.setState({isOpenNotesModal:!1}),this.openModalColumn=()=>{0===this.props.downloadOption.edge_office_export?this.setState({isOpenErrorDisplayModal:!0}):this.setState({isOpenColumnsModal:!0})},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.openModalColumnSale=()=>{0===this.props.downloadOption.edge_office_export?this.setState({isOpenErrorDisplayModalSale:!0}):this.setState({isOpenColumnsModalSale:!0})},this.closeErrorDisplayModalSale=()=>{this.setState({isOpenErrorDisplayModalSale:!1})},this.closeModalColumn=()=>this.setState({isOpenColumnsModal:!1}),this.closeModalColumnSale=()=>this.setState({isOpenColumnsModalSale:!1}),this.openModalExcel=()=>{0===this.props.downloadOption.edge_office_export?this.setState({isOpenErrorDisplayModal:!0}):this.setState({isOpenExcelModal:!0})},this.closeModalExcel=()=>this.setState({isOpenExcelModal:!1}),this.openModalExcelSale=()=>{0===this.props.downloadOption.edge_office_export?this.setState({isOpenErrorDisplayModalSale:!0}):this.setState({isOpenExcelModalSale:!0})},this.closeModalExcelSale=()=>this.setState({isOpenExcelModalSale:!1}),this.openModalPng=()=>{0===this.props.downloadOption.edge_office_export_pdf?this.setState({isOpenErrorDisplayModal:!0}):0==Object.keys(this.state.selectedRows).length?alert("Select atleast 1 row before exporting as PNG."):this.setState({isOpenPngModal:!0})},this.closeModalPng=()=>this.setState({isOpenPngModal:!1}),this.openModalPngSale=()=>{0===this.props.downloadOption.edge_office_export_pdf?this.setState({isOpenErrorDisplayModalSale:!0}):0==Object.keys(this.state.selectedRowsSale).length?alert("Select atleast 1 row before exporting as PNG."):this.setState({isOpenPngModalSale:!0})},this.closeModalPngSale=()=>this.setState({isOpenPngModalSale:!1}),this.openModalDownload=()=>{this.setState({isOpenDownloadModal:!0})},this.closeModalDownload=()=>this.setState({isOpenDownloadModal:!1}),this.openModalDownloadSale=()=>{this.setState({isOpenDownloadModalSale:!0})},this.closeModalDownloadSale=()=>this.setState({isOpenDownloadModalSale:!1}),this.openModalDoc=t=>{t=t.split("-").pop(),this.setState({creIdDoc:t},(()=>{jt.post("api/screener/view-document",Or(this.state.creIdDoc)).then((t=>{this.setState({isOpenDocModal:!0,docUrl:t.data.request},(()=>{}))}))}))},this.openModalDocSale=t=>{t=t.split("-").pop();var e=new FormData;e.append("creID",t),e.append("screener","sales"),t=t.split("-").pop(),this.setState({creIdDoc:t},(()=>{jt.post("api/screener/view-document",e).then((t=>{this.setState({isOpenDocModal:!0,docUrl:t.data.request},(()=>{}))}))}))},this.closeModalDoc=()=>this.setState({isOpenDocModal:!1}),this.onDocumentLoadSuccess=t=>{let{numPages:e}=t;this.setState({numPages:e})},this.downloadPngImg=()=>{Object(Hi.saveAs)(this.state.imgPath,"image.png")},this.downloadPngImgSale=()=>{Object(Hi.saveAs)(this.state.imgPathSale,"image.png")},this.resetColumns=()=>{this.closeModal(),this.setState({showLoader:!0});var t=new FormData;t.append("screener","edge_office"),t.append("reset","1"),t.append("colPref","1"),jt.post("api/edge/office/save_user_col_pref",t).then((t=>{jt.post("api/edge/office/get_user_col_pref",xr()).then((t=>{this.setState({currentArray:JSON.parse(t.data[0].preference),dragArray:JSON.parse(t.data[0].preference),downloadColumns:JSON.parse(t.data[0].preference)},(()=>{let e=JSON.parse(t.data[0].preference),a=[];for(let t=0;t<e.length;t++)a.push(e[t].name);this.setState({checkedCsvCol:a,checkedCsvColSale:a},(()=>{})),jt.post("api/edge/office/get_lease_transactions",gr(this.state.page,this.state.futureRentDate,JSON.stringify(this.props.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{t.data.rows.length>0?this.setState({showLeaseTable:!0}):this.setState({showLeaseTable:!1}),this.setState({averages:t.data.averages,headerUnits:t.data.columns.unit,showLoader:!1,isLoading:!1,totalFilteredLeaseRecord:t.data.recordsFiltered});var e=[],a=this.state.dragArray.filter((function(t){return!0===t.visible}));(e=a.map((t=>t.name))).unshift("Select");var s=[];for(let i=0;i<e.length;i++)s.push({i:i,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:l,rowIndex:o,className:c}=t,r=null;i==Number(this.state.fixedColumnsCount)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedCols&&d.indexOf(e[i])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[i]]}):"Download"==e[i]&&1===l.Download?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},onClick:t=>{this.downloadRowData(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[i]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[i]&&1===l["View Document"]?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(l["CRE ID"])},children:"View"})}):"View Document"==e[i]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[i]],children:this.linkingUrl(e[i],l[e[i]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=null;return i==Number(this.state.fixedColumnsCount)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[i]?Object(M.jsxs)("th",{className:l,style:{boxShadow:o},children:["View",Object(M.jsx)("p",{children:this.state.headerUnits[e[i]]})]}):Object(M.jsx)("th",{title:e[i]+" "+this.state.headerUnits[e[i]],className:l,style:{boxShadow:o}
1,children:Object(M.jsx)("p",{children:this.headerView(e[i],this.state.headerUnits[e[i]])})})},footerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum?this.state.averages[e[i]].sum.toString():0;return void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{}),this.state.averages[e[i]].sum]}):void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});s[0].width=41,this.setState({columns:s}),this.setState({rows:t.data.rows}),this.setState({transactionData:t.data})}));let s=0;for(let t=0;t<this.state.dragArray.length;t++)1==this.state.dragArray[t].static&&1==this.state.dragArray[t].visible&&(s+=1),this.setState({fixedColumnsCount:s+1})}))}))}))},this.resetColumnsSale=()=>{this.closeModalSale(),this.setState({showLoader:!0});var t=new FormData;t.append("screener","edge_office_sales"),t.append("reset","1"),t.append("colPref","1"),jt.post("api/edge/office/save_user_col_pref",t).then((t=>{jt.post("api/edge/office/get_user_col_pref",br()).then((t=>{this.setState({currentArraySale:JSON.parse(t.data[0].preference),dragArraySale:JSON.parse(t.data[0].preference),downloadColumnsSale:JSON.parse(t.data[0].preference)},(()=>{let e=JSON.parse(t.data[0].preference),a=[];for(let t=0;t<e.length;t++)a.push(e[t].name);this.setState({checkedCsvColSale:a},(()=>{})),jt.post("api/edge/office/get_sales_transactions",gr(this.state.pageSale,this.state.futureRentDateSale,JSON.stringify(this.props.filters),this.state.sortBySale,this.state.sortOrderSale)).then((t=>{t.data.rows.length>0?this.setState({showSaleTable:!0}):this.setState({showSaleTable:!1}),this.setState({averagesSale:t.data.averages,headerUnitsSale:t.data.columns.unit,showLoader:!1,isLoadingSale:!1,totalFilteredSaleRecord:t.data.recordsFiltered});var e=this.state.dragArraySale.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[];for(let s=0;s<e.length;s++)a.push({i:s,cellRenderer:t=>{let{columnIndex:a,column:i,rowData:l,rowIndex:o,className:c}=t,r=null;s==Number(this.state.fixedColumnsCountSale)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedColsSale&&d.indexOf(e[s])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[s]]}):"Download"==e[s]&&1===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,onClick:t=>{this.downloadRowDataSale(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):"Download"==e[s]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[s]&&1===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDocSale(l["CRE ID"])},children:"View"})}):"View Document"==e[s]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[s]],children:this.linkingUrl(e[s],l[e[s]])})},headerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=null;return s==Number(this.state.fixedColumnsCountSale)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[s]+" "+this.state.headerUnitsSale[e[s]],className:l,children:Object(M.jsx)("p",{children:this.headerViewSale(e[s],this.state.headerUnitsSale[e[s]])})})},footerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum?this.state.averagesSale[e[s]].sum.toString():0;return void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{}),this.state.averagesSale[e[s]].sum]}):void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[0].width=41,this.setState({columnsSale:a}),this.setState({rowsSale:t.data.rows}),this.setState({transactionDataSale:t.data})}));let s=0;for(let t=0;t<this.state.dragArraySale.length;t++)1==this.state.dragArraySale[t].static&&1==this.state.dragArraySale[t].visible&&(s+=1),this.setState({fixedColumnsCountSale:s+1})}))}))}))},this.leasePageSize=null,this.salePageSize=null,this.leaseTableRef=i.a.createRef(),this.saleTableRef=i.a.createRef()}linkingUrl(t,e){return"Complex"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("complex",e),children:e}):"Tenant"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",e),children:e}):"Micro Market"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",e),children:e}):"Developer"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("developer",e),children:e}):"Market"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("city",e),children:e}):"Macro Market"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("macromarket",e),children:e}):"Landlord"==t?Object(M.jsx)("span",{children:e}):"View on Map"==t?Object(M.jsx)("a",{target:"_blank",href:e,style:{display:"flex",justifyContent:"center"},children:Object(M.jsx)(p.a,{icon:j.l,height:"500",width:"500"})}):"Select"==t?Object(M.jsx)(n.b,{target:"_blank",to:H("leaseId",e),children:Object(M.jsx)(p.a,{icon:j.g})}):e}componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{})),this.setState({load:!0})}fetchNewData(){jt.post("api/edge/office/get_lease_transactions",gr(this.state.page,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{t.data.rows.length>0?this.setState({showLeaseTable:!0}):this.setState({showLeaseTable:!1}),this.setState({averages:t.data.averages,headerUnits:t.data.columns.unit,isLoading:!1,totalFilteredLeaseRecord:t.data.recordsFiltered});var e=[],a=this.state.dragArray.filter((function(t){return!0===t.visible}));(e=a.map((t=>t.name))).unshift("Select");var s=[];for(let i=0;i<e.length;i++)s.push({i:i,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:l,rowIndex:o,className:c}=t,r=null;i==Number(this.state.fixedColumnsCount)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedCols&&d.indexOf(e[i])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[i]]}):"Download"==e[i]&&1===l.Download?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},onClick:t=>{this.downloadRowData(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[i]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[i]&&1===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(l["CRE ID"])},children:"View"})}):"View Document"==e[i]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[i]],children:this.linkingUrl(e[i],l[e[i]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=null;return i==Number(this.state.fixedColumnsCount)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[i]?Object(M.jsxs)("th",{style:{boxShadow:o},className:l,children:["View",Object(M.jsx)("p",{children:this.state.headerUnits[e[i]]})]}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[i]+" "+this.state.headerUnits[e[i]],className:l,children:this.headerView(e[
1i],this.state.headerUnits[e[i]])})},footerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum?this.state.averages[e[i]].sum.toString():0;return void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{}),this.state.averages[e[i]].sum]}):void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});s[0].width=41,this.setState({columns:s}),this.setState({rows:t.data.rows}),this.setState({transactionData:t.data})}));let t=0;for(let e=0;e<this.state.dragArray.length;e++)1==this.state.dragArray[e].static&&1==this.state.dragArray[e].visible&&(t+=1),this.setState({fixedColumnsCount:t+1})}fetchNewDataSale(){this.setState({pageSale:1,rowsSale:[],totalFilteredSaleRecord:null},(()=>{jt.post("api/edge/office/get_sales_transactions",gr(this.state.pageSale,this.state.futureRentDateSale,JSON.stringify(this.state.filters),this.state.sortBySale,this.state.sortOrderSale)).then((t=>{t.data.rows.length>0?this.setState({showSaleTable:!0}):this.setState({showSaleTable:!1}),this.setState({averagesSale:t.data.averages,headerUnitsSale:t.data.columns.unit,isLoadingSale:!1,totalFilteredSaleRecord:t.data.recordsFiltered});var e=this.state.dragArraySale.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[];for(let s=0;s<e.length;s++)a.push({i:s,cellRenderer:t=>{let{columnIndex:a,column:i,rowData:l,rowIndex:o,className:c}=t,r=null;s==Number(this.state.fixedColumnsCountSale)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedColsSale&&d.indexOf(e[s])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[s]]}):"Download"==e[s]&&1===l.Download?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},onClick:t=>{this.downloadRowDataSale(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[s]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):"View Document"==e[s]&&1===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDocSale(l["CRE ID"])},children:"View"})}):"View Document"==e[s]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[s]],children:this.linkingUrl(e[s],l[e[s]])})},headerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=null;return s==Number(this.state.fixedColumnsCountSale)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[s]+" "+this.state.headerUnitsSale[e[s]],className:l,children:this.headerViewSale(e[s],this.state.headerUnitsSale[e[s]])})},footerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum?this.state.averagesSale[e[s]].sum.toString():0;return void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{}),this.state.averagesSale[e[s]].sum]}):void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[0].width=41,this.setState({columnsSale:a}),this.setState({rowsSale:t.data.rows}),this.setState({transactionDataSale:t.data})}));let t=0;for(let e=0;e<this.state.dragArraySale.length;e++)1==this.state.dragArraySale[e].static&&1==this.state.dragArraySale[e].visible&&(t+=1),this.setState({fixedColumnsCountSale:t+1})}))}headerView(t,e){return Object(M.jsxs)("div",{className:"showSortIcons",onClick:()=>{this.state.sortBy!=t?this.setState({sortBy:t,sortOrder:"asc",page:1},(()=>{this.fetchNewData()})):"asc"==this.state.sortOrder?this.setState({sortOrder:"desc",page:1},(()=>{this.fetchNewData()})):this.setState({sortOrder:"asc",page:1},(()=>{this.fetchNewData()}))},children:[Object(M.jsxs)("div",{children:[t,"",t==this.state.sortBy?"asc"==this.state.sortOrder?Object(M.jsx)(p.a,{style:{paddingLeft:"5px",paddingTop:"4px",fontSize:"15px"},icon:j.a}):Object(M.jsx)(p.a,{style:{paddingLeft:"5px",paddingTop:"4px",fontSize:"15px"},icon:j.b}):Object(M.jsx)(M.Fragment,{})," ",Object(M.jsxs)("p",{children:[" ",e," "]})]}),Object(M.jsx)("span",{className:"hover-icon",children:Object(M.jsx)(p.a,{icon:j.p})})]})}headerViewSale(t,e){return Object(M.jsxs)("div",{className:"showSortIcons",onClick:()=>{this.state.sortBySale!=t?this.setState({sortBySale:t,sortOrderSale:"asc",pageSale:1},(()=>{this.fetchNewDataSale()}
1)):"asc"==this.state.sortOrderSale?this.setState({sortOrderSale:"desc",pageSale:1},(()=>{this.fetchNewDataSale()})):this.setState({sortOrderSale:"asc",pageSale:1},(()=>{this.fetchNewDataSale()}))},children:[Object(M.jsxs)("div",{children:[t," ",t==this.state.sortBySale?"asc"==this.state.sortOrderSale?Object(M.jsx)(p.a,{style:{paddingLeft:"5px",paddingTop:"4px",fontSize:"15px"},icon:j.a}):Object(M.jsx)(p.a,{style:{paddingLeft:"5px",paddingTop:"4px",fontSize:"15px"},icon:j.b}):Object(M.jsx)(M.Fragment,{})," ",Object(M.jsxs)("p",{children:[" ",e," "]})]}),Object(M.jsx)("span",{className:"hover-icon",children:Object(M.jsx)(p.a,{icon:j.p})})]})}componentDidUpdate(t,e){1===this.state.page&&this.state.rows.length>0&&this.state.rows!==e.rows&&(this.leasePageSize=this.state.rows.length),1===this.state.pageSale&&this.state.rowsSale.length>0&&this.state.rowsSale!==e.rowsSale&&(this.salePageSize=this.state.rowsSale.length),this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_user_col_pref",xr()).then((t=>{this.setState({currentArray:JSON.parse(t.data[0].preference),dragArray:JSON.parse(t.data[0].preference),downloadColumns:JSON.parse(t.data[0].preference)},(()=>{let e=JSON.parse(t.data[0].preference),a=[];for(let t=0;t<e.length;t++)a.push(e[t].name);this.setState({checkedCsvCol:a,checkedCsvColSale:a},(()=>{})),jt.post("api/edge/office/get_lease_transactions",gr(this.state.page,this.state.futureRentDate,JSON.stringify(this.props.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{t.data.rows.length>0?this.setState({showLeaseTable:!0}):this.setState({showLeaseTable:!1}),this.setState({averages:t.data.averages,headerUnits:t.data.columns.unit,isLoading:!1,totalFilteredLeaseRecord:t.data.recordsFiltered});var e=[],a=this.state.dragArray.filter((function(t){return!0===t.visible}));(e=a.map((t=>t.name))).unshift("Select");var s=[];for(let i=0;i<e.length;i++)s.push({i:i,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:l,rowIndex:o,className:c}=t,r=null;i==Number(this.state.fixedColumnsCount)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedCols&&d.indexOf(e[i])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[i]]}):"Download"==e[i]&&1===l.Download?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},onClick:t=>{this.downloadRowData(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[i]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[i]&&1===l["View Document"]?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(l["CRE ID"])},children:"View"})}):"View Document"==e[i]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[i]],children:this.linkingUrl(e[i],l[e[i]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=null;return i==Number(this.state.fixedColumnsCount)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[i]?Object(M.jsxs)("th",{className:l,style:{boxShadow:o},children:["View",Object(M.jsx)("p",{children:this.state.headerUnits[e[i]]})]}):Object(M.jsx)("th",{title:e[i]+" "+this.state.headerUnits[e[i]],className:l,style:{boxShadow:o},children:Object(M.jsx)("p",{children:this.headerView(e[i],this.state.headerUnits[e[i]])})})},footerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum?this.state.averages[e[i]].sum.toString():0;return void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{}),this.state.averages[e[i]].sum]}):void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});s[0].width=41,this.setState({columns:s}),this.setState({rows:t.data.rows}),this.setState({transactionData:t.data})}));let s=0;for(let t=0;t<this.state.dragArray.length;t++)1==this.state.dragArray[t].static&&1==this.state.dragArray[t].visible&&(s+=1),this.setState({fixedColumnsCount:s+1})}))})),jt.post("api/edge/office/get_user_col_pref",br()).then((t=>{this.setState({currentArraySale:JSON.parse(t.data[0].preference),dragArraySale:JSON.parse(t.data[0].preference),downloadColumnsSale:JSON.parse(t.data[0].preference),pageSale:1,rowsSale:[],totalFilteredSaleRecord:null},(()=>{let e=JSON.parse(t.data[0].preference),a=[];for(let t=0;t<e.length;t++)a.push(e[t].name);this.setState({checkedCsvColSale:a},(()=>{})),jt.post("api/edge/office/get_sales_transactions",gr(this.state.pageSale,this.state.futureRentDateSale,JSON.stringify(this.props.filters),this.state.sortBySale,this.state.sortOrderSale)).then((t=>{t.data.rows.length>0?this.setState({showSaleTable:!0}):this.setState({showSaleTable:!1}),this.setState({averagesSale:t.data.averages,headerUnitsSale:t.data.columns.unit,isLoadingSale:!1,totalFilteredSaleRecord:t.data.recordsFiltered});var e=this.state.dragArraySale.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[];for(let s=0;s<e.length;s++)a.push({i:s,cellRenderer:t=>{let{columnIndex:a,column:i,rowData:l,rowIndex:o,className:c}=t,r=null;s==Number(this.state.fixedColumnsCountSale)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedColsSale&&d.indexOf(e[s])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[s]]}):"Download"==e[s]&&1===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,onClick:t=>{this.downloadRowDataSale(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):"Download"==e[s]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[s]&&1===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDocSale(l["CRE ID"])},children:"View"})}):"View Document"==e[s]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[s]],children:this.linkingUrl(e[s],l[e[s]])})},headerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=null;return s==Number(this.state.fixedColumnsCountSale)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[s]+" "+this.state.headerUnitsSale[e[s]],className:l,children:Object(M.jsx)("p",{children:this.headerViewSale(e[s],this.state.headerUnitsSale[e[s]])})})},footerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum?this.state.averagesSale[e[s]].sum.toString():0;return void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{}),this.state.averagesSale[e[s]].sum]}):void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[0].width=41,this.setState({columnsSale:a}),this.setState({rowsSale:t.data.rows}),this.setState({transactionDataSale:t.data})}));let s=0;for(let t=0;t<this.state.dragArraySale.length;t++)1==this.state.dragArraySale[t].static&&1==this.state.dragArraySale[t].visible&&(s+=1),this.setState({fixedColumnsCountSale:s+1})}))})))}showDerivedColumns(){var t=!this.state.showDerivedCols;!0===this.state.showDerivedCols?this.setState({showDerivedCols:!1}):this.setState({showDerivedCols:!0});var e=[],a=this.state.dragArray.filter((function(t){return!0===t.visible}));(e=a.map((t=>t.name))).unshift("Select");var s=[];for(let i=0;i<e.length;i++)s.push({i:i,cellRenderer:a=>{let{columnIndex:s,column:l,rowData:o,rowIndex:c,className:r}=a,d=null;i==Number(this.state.fixedColumnsCount)-1&&(d="rgba(0, 0, 0, 0.16) 0px 1px 4px");var h=[];try{h=JSON.parse(o.derived_columns)}catch(A){h=[]}return 1==t&&h.indexOf(e[i])>-1?Object(M.jsx)("td",{className:r,style:{background:"#ff9515",color:"#FFF",boxShadow:d},children:o[e[i]]}):"Download"==e[i]&&1===o.Download?Object(M.jsx)("td",{className:r,style:{boxShadow:d,textAlign:"center"},onClick:t=>{this.downloadRowData(o["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[i]&&0===o.Download?Object(M.jsx)("td",{style:{boxShadow:d,textAlign:"center"},className:r,children:"-"}):"View Document"==e[i]&&1===o["View Document"]?Object(M.jsx)("td",{style:{boxShadow:d,textAlign:"center"},className:r,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(o["CRE ID"])},children:"View"})}):"View Document"==e[i]&&0===o["View Document"]?Object(M.jsx)("td",{style:{boxShadow:d,textAlign:"center"},className:r,children:"-"}):0==t&&h.indexOf(e[i])>-1?Object(M.jsx)("td",{style:{boxShadow:d},className:r,title:o[e[i]],children:"-"}):Object(M.jsx)("td",{style:{boxShadow:d},className:r,title:o[e[i]],children:this.linkingUrl(e[i],o[e[i]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=null;return i==Number(this.state.fixedColumnsCount)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[i]?Object(M.jsxs)("th",{style:{boxShadow:o},className:l,children:["View",Object(M.jsx)("p",{children:this.state.headerUnits[e[i]]})]}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[i]+" "+this.state.headerUnits[e[i]],className:l,children:this.headerView(e[
1i],this.state.headerUnits[e[i]])})},footerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum?this.state.averages[e[i]].sum.toString():0;return void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{}),this.state.averages[e[i]].sum]}):void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});s[0].width=41,this.setState({columns:s}),!0===this.state.showDerivedCols?this.setState({showDerivedCols:!1}):this.setState({showDerivedCols:!0})}showDerivedColumnsSale(){var t=!this.state.showDerivedColsSale;!0===this.state.showDerivedColsSale?this.setState({showDerivedColsSale:!1}):this.setState({showDerivedColsSale:!0});var e=this.state.dragArraySale.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[];for(let s=0;s<e.length;s++)a.push({i:s,cellRenderer:a=>{let{columnIndex:i,column:l,rowData:o,rowIndex:c,className:r}=a;var d=[];let h=null;s==Number(this.state.fixedColumnsCountSale)-1&&(h="rgba(0, 0, 0, 0.16) 0px 1px 4px");try{d=JSON.parse(o.derived_columns)}catch(A){d=[]}return 1==t&&d.indexOf(e[s])>-1?Object(M.jsx)("td",{className:r,style:{background:"#ff9515",color:"#FFF",boxShadow:h},children:o[e[s]]}):"Download"==e[s]&&1===o.Download?Object(M.jsx)("td",{style:{boxShadow:h,textAlign:"center"},className:r,onClick:t=>{this.downloadRowDataSale(o["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[s]&&0===o.Download?Object(M.jsx)("td",{style:{boxShadow:h,textAlign:"center"},className:r,children:"-"}):"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):"View Document"==e[s]&&1===o["View Document"]?Object(M.jsx)("td",{style:{boxShadow:h,textAlign:"center"},className:r,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDocSale(o["CRE ID"])},children:"View"})}):"View Document"==e[s]&&0===o["View Document"]?Object(M.jsx)("td",{style:{boxShadow:h,textAlign:"center"},className:r,children:"-"}):0==t&&d.indexOf(e[s])>-1?Object(M.jsx)("td",{style:{boxShadow:h},className:r,title:o[e[s]],children:"-"}):Object(M.jsx)("td",{style:{boxShadow:h},className:r,title:o[e[s]],children:this.linkingUrl(e[s],o[e[s]])})},headerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=null;return s==Number(this.state.fixedColumnsCountSale)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[s]+" "+this.state.headerUnitsSale[e[s]],className:l,children:this.headerViewSale(e[s],this.state.headerUnitsSale[e[s]])})},footerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum?this.state.averagesSale[e[s]].sum.toString():0;return void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{}),this.state.averagesSale[e[s]].sum]}):void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[0].width=41,this.setState({columnsSale:a}),!0===this.state.showDerivedColsSale?this.setState({showDerivedColsSale:!1}):this.setState({showDerivedColsSale:!0})}componentWillUnmount(){clearTimeout(this._loadRowsTimeout)}makeColumnVisible(t){let e=this.state.dragArray;0==e[t].visible?e[t].visible=!0:e[t].visible=!1,this.setState({dragArray:e})}makeColumnVisibleSale(t){let e=this.state.dragArraySale;0==e[t].visible?e[t].visible=!0:e[t].visible=!1,this.setState({dragArraySale:e})}makeColumnStatic(t){let e=this.state.dragArray;
1if(0==e[t].static){var a=e.slice(0,e.indexOf(e[t+1]));console.log(a),e.forEach((t=>{a.find((e=>e.name==t.name))&&(t.static=!0)})),this.setState({dragArray:e})}else{var s=e.slice(e.indexOf(e[t+1]),e.length);e.forEach((t=>{s.find((e=>e.name==t.name))&&(t.static=!1)})),this.setState({dragArray:e})}}makeColumnStaticSale(t){let e=this.state.dragArraySale;if(0==e[t].static){var a=e.slice(0,e.indexOf(e[t+1]));e.forEach((t=>{a.find((e=>e.name==t.name))&&(t.static=!0)})),this.setState({dragArraySale:e})}else{var s=e.slice(e.indexOf(e[t+1]),e.length);e.forEach((t=>{s.find((e=>e.name==t.name))&&(t.static=!1)})),this.setState({dragArraySale:e})}}saveColumnPref(){let t=this.state.dragArray;this.setState({currentArray:t},(()=>{})),this.closeModal();var e=this.state.dragArray.filter((function(t){return!0===t.visible})).map((t=>t.name));e.unshift("Select");var a=[];for(let i=0;i<e.length;i++)a.push({i:i,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:l,rowIndex:o,className:c}=t,r=null;i==Number(this.state.fixedColumnsCount)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedCols&&d.indexOf(e[i])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[i]]}):"Download"==e[i]&&1===l.Download?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},onClick:t=>{this.downloadRowData(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[i]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[i]&&1===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(l["CRE ID"])},children:"View"})}):"View Document"==e[i]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[i]],children:this.linkingUrl(e[i],l[e[i]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=null;return i==Number(this.state.fixedColumnsCount)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[i]?Object(M.jsxs)("th",{style:{boxShadow:o},className:l,children:["View",Object(M.jsx)("p",{children:this.state.headerUnits[e[i]]})]}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[i]+" "+this.state.headerUnits[e[i]],className:l,children:this.headerView(e[i],this.state.headerUnits[e[i]])})},footerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum?this.state.averages[e[i]].sum.toString():0;return void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{}),this.state.averages[e[i]].sum]}):void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[0].width=41,this.setState({columns:a}),this.setState({rows:this.state.transactionData.rows});let s=0;for(let i=0;i<this.state.dragArray.length;i++)1==this.state.dragArray[i].static&&1==this.state.dragArray[i].visible&&(s+=1),this.setState({fixedColumnsCount:s+1});jt.post("api/edge/office/save_user_col_pref",(t=>{var e=new FormData;return e.append("colPref",t),e.append("screener","edge_office"),e})(JSON.stringify(t)))}saveColumnPrefSale(){let t=this.state.dragArraySale;this.setState({currentArraySale:t},(()=>{}));var e=this.state.dragArraySale.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[];for(let l=0;l<e.length;l++)a.push({i:l,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:i,rowIndex:o,className:c}=t,r=null;l==Number(this.state.fixedColumnsCountSale)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(i.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedColsSale&&d.indexOf(e[l])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:i[e[l]]}):"Download"==e[l]&&1===i.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,onClick:t=>{this.downloadRowDataSale(i["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Select"==e[l]?Object(M.jsx)(M.Fragment,{}):"Download"==e[l]&&0===i.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[l]&&1===i["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDocSale(i["CRE ID"])},children:"View"})}):"View Document"==e[l]&&0===i["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:i[e[l]],children:this.linkingUrl(e[l],i[e[l]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,o=null;return l==Number(this.state.fixedColumnsCountSale)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[l]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[l]+" "+this.state.headerUnitsSale[e[l]],className:i,children:this.headerViewSale(e[l],this.state.headerUnitsSale[e[l]])})},footerRenderer:t=>{let{columnIndex:a,column:s,className:i}=t,o=void 0!=this.state.averagesSale[e[l]]&&"undefined"!=typeof this.state.averagesSale[e[l]].sum?this.state.averagesSale[e[l]].sum.toString():0;return void 0!=this.state.averagesSale[e[l]]&&"undefined"!=typeof this.state.averagesSale[e[l]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:i,rowSpan:2,children:[this.state.averagesSale[e[l]].avg,Object(M.jsx)("br",{}),this.state.averagesSale[e[l]].sum]}):void 0!=this.state.averagesSale[e[l]]&&"undefined"!=typeof this.state.averagesSale[e[l]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:i,rowSpan:2,children:[this.state.averagesSale[e[l]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});a[0].width=41,this.setState({columnsSale:a}),this.setState({rowsSale:this.state.transactionDataSale.rows});let s=0;for(let l=0;l<this.state.dragArraySale.length;l++)1==this.state.dragArraySale[l].static&&1==this.state.dragArraySale[l].visible&&(s+=1),this.setState({fixedColumnsCountSale:s+1});let i=new FormData;i.append("colPref",JSON.stringify(t)),i.append("screener","edge_office_sales"),jt.post("api/edge/office/save_user_col_pref",i).then((t=>{this.closeModalSale()}))}downloadRowData(t){t=t.split("-").pop(),this.setState({creId:t},(()=>{jt.post("api/screener/download-document",Or(this.state.creId)).then((t=>{}))}))}downloadRowDataSale(t){t=t.split("-").pop(),this.setState({creId:t},(()=>{jt.post("api/screener/download-document",(t=>{var e=new FormData;return e.append("creID",t),e.append("screener","sales"),e})(this.state.creId)).then((t=>{}))}))}getCsvCheckedVal(t){return this.state.checkedCsvCol.indexOf(t)>-1}getCsvCheckedValSale(t){return this.state.checkedCsvColSale.indexOf(t)>-1}getColumnVal(t){let e=this.state.checkedCsvCol.indexOf(t.target.value);e>-1?(this.state.checkedCsvCol.splice(e,1),this.setState({})):(this.state.checkedCsvCol.push(t.target.value),this.setState({}))}getColumnValSale(t){let e=this.state.checkedCsvColSale.indexOf(t.target.value);e>-1?(this.state.checkedCsvColSale.splice(e,1),this.setState({})):(this.state.checkedCsvColSale.push(t.target.value),this.setState({}))}exportCsv(){Ft(yt,{chartName:jr,filters:JSON.stringify(this.props.filters)});let t,e=Object.keys(this.state.selectedRows),a=e.map((t=>"CREID-"+t)),s=Object.keys(this.state.selectedRows).length,i=JSON.stringify(this.state.filters);t=!0===this.state.showDerivedCols?1:0;let l=this.state.checkedCsvCol;jt.post("api/edge/office/export_csv",((t,e,a,s)=>{var i=new FormData;i.append("selected",JSON.stringify(t)),i.append("filter",e),i.append("screener","edge_office"),i.append("derived",a),null!=this.state.sortBy&&null!=this.state.sortOrder&&(i.append("sortBy",this.state.sortBy),i.append("sortOrder",this.state.sortOrder));for(let o=0;o<l.length;o++)i.append("column-to-export[]",l[o]);return i})(e,i,t)).then((t=>{if(void 0!==t.error&&t.error.length>0)this.setState({isOpenErrorDisplayModal:!0,errorMessage:t.error[0],isOpenColumnsModal:!1});else{const e={file:"".concat("https://www.crematrix.com/"+t.data.download_link)};window.open(e.file,"_blank"),jt.post("api/user-activity/log-activity",mr(-1===window.location.href.indexOf("=")?"":"filters"+window.location.href.split("=").pop(),Object.keys(a).length>0?JSON.stringify(a):"",s)).then((t=>{}))}}))}exportCsvSale(){Ft(yt,{chartName:Ar,filters:JSON.stringify(this.props.filters)});let t,e=Object.keys(this.state.selectedRowsSale),a=e.map((t=>"CREID-"+t)),s=Object.keys(this.state.selectedRowsSale).length,i=JSON.stringify(this.state.filters);t=!0===this.state.showDerivedColsSale?1:0;let l=this.state.checkedCsvColSale;jt.post("api/edge/office/export_csv",((t,e,a,s)=>{var i=new FormData;i.append("selected",JSON.stringify(t)),i.append("filter",e),i.append("screener","edge_office_sales"),i.append("derived",a),null!=this.state.sortBy&&null!=this.state.sortOrder&&(i.append("sortBy",this.state.sortBy),i.append("sortOrder",this.state.sortOrder));for(let o=0;o<l.length;o++)i.append("column-to-export[]",l[o]);return i})(e,i,t)).then((t=>{if(void 0!==t.error&&t.error.length>0)console.log("pp"),this.setState({isOpenErrorDisplayModalSale:!0,errorMessage:t.error[0],isOpenColumnsModalSale:!1});else{const e={file:"".concat("https://www.crematrix.com/"+t.data.download_link)};window.open(e.file,"_blank"),jt.post("api/user-activity/log-activity",mr(-1===window.location.href.indexOf("=")?"":"filters"+window.location.href.split("=").pop(),Object.keys(a).length>0?JSON.stringify(a):"",s)).then((t=>{}))}}))}exportExcel(){Ft(Ot,{chartName:jr,filters:JSON.stringify(this.props.filters)});let t,e=Object.keys(this.state.selectedRows),a=JSON.stringify(this.state.filters),s=e.map((t=>"CREID-"+t)),i=Object.keys(this.state.selectedRows).length;t=!0===this.state.showDerivedCols?1:0;let l=this.state.checkedCsvCol;jt.post("api/edge/office/export_excel",((t,e,a,s)=>{var i=new FormData;i.append("selected",JSON.stringify(t)),i.append("filter",e),i.append("screener","edge_office"),i.append("derived",a),null!=this.state.sortBy&&null!=this.state.sortOrder&&(i.append("sortBy",this.state.sortBy),i.append("sortOrder",this.state.sortOrder));for(let o=0;o<l.length;o++)i.append("column-to-export[]",l[o]);return i})(e,a,t)).then((t=>{if(void 0!==t.error&&t.error.length>0)this.setState({isOpenColumnsModalSale:!1,isOpenErrorDisplayModal:!0,errorMessage:t.error[0]});else{const e={file:"".concat("https://www.crematrix.com/"+t.data.download_link)};window.open(e.file,"_blank"),jt.post("api/user-activity/log-activity",mr(-1===window.location.href.indexOf("=")?"":"filters"+window.location.href.split("=").pop(),Object.keys(s).length>0?JSON.stringify(s):"",i)).then((t=>{}))}}))}toggleAll(){if(1==this.state.selectAll)this.setState({selectAll:!1,
1checkedCsvCol:[]});else{this.setState({selectAll:!0});let t=[];for(let e=0;e<this.state.downloadColumns.length;e++)t.push(this.state.downloadColumns[e].name);this.setState({checkedCsvCol:t})}}toggleAllSale(){if(1==this.state.selectAllSale)this.setState({selectAllSale:!1,checkedCsvColSale:[]});else{this.setState({selectAllSale:!0});let t=[];for(let e=0;e<this.state.downloadColumnsSale.length;e++)t.push(this.state.downloadColumnsSale[e].name);this.setState({checkedCsvColSale:t})}}downloadPng(){Ft(ut,{chartName:jr,filters:JSON.stringify(this.props.filters)}),this.setState({showImageLoader:!0});let t=Object.keys(this.state.selectedRows),e=this.state.checkedCsvCol;jt.post("api/edge/office/export_table_as_pdf",((t,a)=>{var s=new FormData;s.append("selected",JSON.stringify(t)),s.append("screener","edge_office");for(let i=0;i<e.length;i++)s.append("column-to-export[]",e[i]);return s})(t)).then((t=>{this.setState({showImageLoader:!1});let e=t.data;this.setState({imgPath:e,isOpenPngModal:!1},(()=>{this.openModalDownload()}))}))}downloadPngSale(){Ft(ut,{chartName:Ar,filters:JSON.stringify(this.props.filters)}),this.setState({showImageLoader:!0});let t=Object.keys(this.state.selectedRowsSale),e=this.state.checkedCsvColSale;jt.post("api/edge/office/export_table_as_pdf",((t,a)=>{var s=new FormData;s.append("selected",JSON.stringify(t)),s.append("screener","edge_office_sales");for(let i=0;i<e.length;i++)s.append("column-to-export[]",e[i]);return s})(t)).then((t=>{if(void 0!==t.error&&t.error.length>0)console.log("pp"),this.setState({isOpenErrorDisplayModalSale:!0,errorMessage:t.error[0],isOpenPngModalSale:!1});else{this.setState({showImageLoader:!1});let e=t.data;this.setState({imgPath:e,isOpenPngModalSale:!1},(()=>{this.openModalDownload()}))}}))}setDate(t){this.setState({startDate:t});let e=t;e=e.toISOString().split("T")[0],this.setState({futureRentDate:e},(()=>{var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_lease_transactions",gr(this.state.page,this.state.futureRentDate,JSON.stringify(this.state.filters),this.state.sortBy,this.state.sortOrder)).then((t=>{t.data.rows.length>0?this.setState({showLeaseTable:!0}):this.setState({showLeaseTable:!1}),this.closeTimeModal(),this.setState({averages:t.data.averages,headerUnits:t.data.columns.unit,isLoading:!1,totalFilteredLeaseRecord:t.data.recordsFiltered});var e=[],a=this.state.dragArray.filter((function(t){return!0===t.visible}));(e=a.map((t=>t.name))).unshift("Select");var s=[];for(let i=0;i<e.length;i++)s.push({i:i,cellRenderer:t=>{let{columnIndex:a,column:s,rowData:l,rowIndex:o,className:c}=t,r=null;i==Number(this.state.fixedColumnsCount)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedCols&&d.indexOf(e[i])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[i]]}):"Download"==e[i]&&1===l.Download?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},onClick:t=>{this.downloadRowData(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Download"==e[i]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[i]&&1===l["View Document"]?Object(M.jsx)("td",{className:c,style:{boxShadow:r,textAlign:"center"},children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDoc(l["CRE ID"])},children:"View"})}):"View Document"==e[i]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{className:c,title:l[e[i]],children:this.linkingUrl(e[i],l[e[i]])})},headerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=null;return i==Number(this.state.fixedColumnsCount)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[i]?Object(M.jsxs)("th",{style:{boxShadow:o},className:l,children:["View",Object(M.jsx)("p",{children:this.state.headerUnits[e[i]]})]}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[i]+" "+this.state.headerUnits[e[i]],className:l,children:this.headerView(e[
1i],this.state.headerUnits[e[i]])})},footerRenderer:t=>{let{columnIndex:a,column:s,className:l}=t,o=void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum?this.state.averages[e[i]].sum.toString():0;return void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{}),this.state.averages[e[i]].sum]}):void 0!=this.state.averages[e[i]]&&"undefined"!=typeof this.state.averages[e[i]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averages[e[i]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});s[0].width=41,this.setState({columns:s}),this.setState({rows:t.data.rows}),this.setState({transactionData:t.data})}));let e=0;for(let a=0;a<this.state.dragArray.length;a++)1==this.state.dragArray[a].static&&1==this.state.dragArray[a].visible&&(e+=1),this.setState({fixedColumnsCount:e+1})}))}setDateSale(t){this.setState({startDateSale:t});let e=t;e=e.toISOString().split("T")[0],this.setState({futureRentDateSale:e},(()=>{var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_sales_transactions",gr(this.state.pageSale,this.state.futureRentDateSale,JSON.stringify(this.state.filters),this.state.sortBySale,this.state.sortOrderSale)).then((t=>{t.data.rows.length>0?this.setState({showSaleTable:!0}):this.setState({showSaleTable:!1}),this.closeTimeModal(),this.setState({averagesSale:t.data.averages,headerUnitsSale:t.data.columns.unit,isLoadingSale:!1,totalFilteredSaleRecord:t.data.recordsFiltered});var e=this.state.dragArraySale.filter((function(t){return!0===t.visible})).map((t=>t.name)),a=[];for(let s=0;s<e.length;s++)a.push({i:s,cellRenderer:t=>{let{columnIndex:a,column:i,rowData:l,rowIndex:o,className:c}=t,r=null;s==Number(this.state.fixedColumnsCountSale)-1&&(r="rgba(0, 0, 0, 0.16) 0px 1px 4px");var d=[];try{d=JSON.parse(l.derived_columns)}catch(h){d=[]}return 1==this.state.showDerivedColsSale&&d.indexOf(e[s])>-1?Object(M.jsx)("td",{className:c,style:{background:"#ff9515",color:"#FFF",boxShadow:r},children:l[e[s]]}):"Download"==e[s]&&1===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,onClick:t=>{this.downloadRowDataSale(l["CRE ID"])},children:Object(M.jsx)(p.a,{icon:j.a})}):"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):"Download"==e[s]&&0===l.Download?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):"View Document"==e[s]&&1===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:Object(M.jsx)(n.b,{to:"#",onClick:t=>{this.openModalDocSale(l["CRE ID"])},children:"View"})}):"View Document"==e[s]&&0===l["View Document"]?Object(M.jsx)("td",{style:{boxShadow:r,textAlign:"center"},className:c,children:"-"}):Object(M.jsx)("td",{style:{boxShadow:r},className:c,title:l[e[s]],children:this.linkingUrl(e[s],l[e[s]])})},headerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=null;return s==Number(this.state.fixedColumnsCountSale)-1&&(o="rgba(0, 0, 0, 0.16) 0px 1px 4px"),"Select"==e[s]?Object(M.jsx)(M.Fragment,{}):Object(M.jsx)("th",{style:{boxShadow:o},title:e[s]+" "+this.state.headerUnitsSale[e[s]],className:l,children:this.headerViewSale(e[s],this.state.headerUnitsSale[e[s]])})},footerRenderer:t=>{let{columnIndex:a,column:i,className:l}=t,o=void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum?this.state.averagesSale[e[s]].sum.toString():0;return void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&parseFloat(o.replace(/,/g,""))>0?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{}),this.state.averagesSale[e[s]].sum]}):void 0!=this.state.averagesSale[e[s]]&&"undefined"!=typeof this.state.averagesSale[e[s]].sum&&0==parseFloat(o.replace(/,/g,""))?Object(M.jsxs)("td",{style:{backgroundColor:"#4c8fea",color:"#fff"},className:l,rowSpan:2,children:[this.state.averagesSale[e[s]].avg,Object(M.jsx)("br",{})," \xa0"]}):Object(M.jsx)("td",{})},width:100});this.setState({columnsSale:a}),this.setState({rowsSale:t.data.rows}),this.setState({transactionDataSale:t.data})}));let e=0;for(let a=0;a<this.state.dragArraySale.length;a++)1==this.state.dragArraySale[a].static&&1==this.state.dragArraySale[a].visible&&(e+=1),this.setState({fixedColumnsCountSale:e+1})}))}render(){const{numberOfColumns:t,noRows:e,rowIdKey:a,fixedColumnsCount:s,fillTableWidth:i,infiniteScrolling:l,displayBottomUpwards:o,rows:c,columns:n,selectedRows:r,canSelectMultipleRows:d,fixedColumnsCountSale:A,fillTableWidthSale:x,infiniteScrollingSale:b,displayBottomUpwardsSale:m,rowsSale:g,columnsSale:O,selectedRowsSale:u}=this.state;return Object(M.jsxs)("div",{className:"container-fluid developer mapsPage transactionsPage transactionsPageNew onlyForTransaction position-relative customPage p-0",style:{marginTop:"-10px"},children:[this.state.showLeaseActions&&Object(M.jsxs)("div",{className:"transactionAction d-flex align-items-center",children:[Object(M.jsxs)("p",{children:["Showing ",this.state.totalFilteredLeaseRecord," transactions"]}),Object(M.jsx)("button",{onClick:this.openModal,children:Object(M.jsx)("img",{src:"/edge/images/t_1.svg",alt:"Transaction Icon"})}),Object(M.jsx)("button",{onClick:t=>{this.showDerivedColumns()},children:!0===this.state.showDerivedCols?Object(M.jsx)("img",{src:"/edge/images/t_2.svg",alt:"Transaction Icon",title:"Show"}):Object(M.jsx)("img",{src:"/edge/images/eye.svg",alt:"Transaction Icon",title:"Hide"})}),Object(M.jsx)("button",{onClick:t=>
1{this.openNotesModal()},children:Object(M.jsx)("img",{src:"/edge/images/t_3.svg",alt:"Transaction Icon"})}),Object(M.jsx)("button",{onClick:t=>{this.openTimeModal()},children:Object(M.jsx)("img",{src:"/edge/images/t_4.svg",alt:"Transaction Icon"})}),Object(M.jsxs)(_t.a,{children:[Object(M.jsxs)(_t.a.Toggle,{id:"dropdown-basic",style:{backgroundColor:"transparent",border:"0"},children:[Object(M.jsx)("img",{src:"/edge/images/t_d.svg",alt:"Transaction Icon"})," ","Download"]}),Object(M.jsxs)(_t.a.Menu,{children:[Object(M.jsx)(_t.a.Item,{onClick:this.openModalColumn,children:"Download as CSV"}),Object(M.jsx)(_t.a.Item,{onClick:this.openModalExcel,children:"Download as Excel"}),Object(M.jsx)(_t.a.Item,{onClick:this.openModalPng,children:"Download as PNG"})]})]})]}),!this.state.showLeaseActions&&Object(M.jsxs)("div",{className:"transactionAction d-flex align-items-center",children:[Object(M.jsxs)("p",{children:["Showing ",this.state.totalFilteredSaleRecord," transactions"]}),Object(M.jsx)("button",{onClick:this.openModalSale,children:Object(M.jsx)("img",{src:"/edge/images/t_1.svg",alt:"Transaction Icon"})}),Object(M.jsx)("button",{onClick:t=>{this.showDerivedColumnsSale()},children:!0===this.state.showDerivedColsSale?Object(M.jsx)("img",{src:"/edge/images/t_2.svg",alt:"Transaction Icon",title:"Show"}):Object(M.jsx)("img",{src:"/edge/images/eye.svg",alt:"Transaction Icon",title:"Hide"})}),Object(M.jsx)("button",{onClick:t=>{this.openNotesModal()},children:Object(M.jsx)("img",{src:"/edge/images/t_3.svg",alt:"Transaction Icon"})}),Object(M.jsxs)(_t.a,{children:[Object(M.jsxs)(_t.a.Toggle,{id:"dropdown-basic",style:{backgroundColor:"transparent",border:"0"},children:[Object(M.jsx)("img",{src:"/edge/images/t_d.svg",alt:"Transaction Icon"})," ","Download"]}),Object(M.jsxs)(_t.a.Menu,{children:[Object(M.jsx)(_t.a.Item,{onClick:this.openModalColumnSale,children:"Download as CSV"}),Object(M.jsx)(_t.a.Item,{onClick:this.openModalPngSale,children:"Download as PNG"})]})]})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsxs)(Zi.d,{defaultIndex:0,onSelect:t=>{0==t?this.setState({showLeaseActions:!0}):this.setState({showLeaseActions:!1})},children:[Object(M.jsxs)(Zi.b,{children:[Object(M.jsx)(Zi.a,{children:"Lease Summary"}),Object(M.jsx)(Zi.a,{children:"Sale Summary"})]}),Object(M.jsx)(Zi.c,{children:1==this.state.showLoader?Object(M.jsx)("div",{className:"fixedLoaderDiv",children:Object(M.jsx)("span",{className:"loader"})}):1==this.state.showLeaseTable?Object(M.jsxs)("div",{ref:this.leaseTableRef,style:{position:"relative"},children:[this.state.isLoading&&this.state.rows.length>0&&Object(M.jsx)("div",{className:"pageLoaderOverlay",style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(255, 255, 255, 0.6)",zIndex:10},children:Object(M.jsx)("div",{className:"fixedLoaderDiv",children:Object(M.jsx)("span",{className:"loader"})})}),Object(M.jsx)(zi.a,{className:"example-table",tableClassName:"table table-bordered table-striped",height:1560,rowHeight:30,rows:c,columns:n,fixedColumnsCount:s,headerCount:1,footerCount:1,fixBorders:!0,fillTableWidth:i,noRowsRenderer:()=>this.state.isLoading?Object(M.jsx)("div",{className:"fixedLoaderDiv",children:Object(M.jsx)("span",{className:"loader"})}):Object(M.jsx)("p",{children:Object(M.jsx)("img",{src:"/edge/images/no_data_found.svg",alt:"Transaction Icon"})}),rowIdKey:"Select",selectedRows:r,onSelectionChange:this.onSelectionChange,canSelectMultipleRows:!0,getLoadingSpinner:()=>Object(M.jsx)("div",{children:"Loading..."}),displayBottomUpwards:o,onColumnWidthChange:this.onColumnWidthChange,onColumnOrderChange:this.onColumnOrderChange}),this.renderPaginationControls(this.state.page,this.state.totalFilteredLeaseRecord,this.leasePageSize,this.goToLeasePage,this.state.isLoading)]}):0==this.state.showLeaseTable&&Object(M.jsx)("div",{style:{height:"90vh",display:"flex",justifyContent:"center",alignItems:"center"},children:Object(M.jsx)("img",{src:"/edge/images/no_data_found.svg"})})}),Object(M.jsx)(Zi.c,{children:1==this.state.showLoader?Object(M.jsx)("div",{className:"fixedLoaderDiv",children:Object(M.jsx)("span",{className:"loader"})}):1==this.state.showSaleTable?Object(M.jsxs)("div",{ref:this.saleTableRef,style:{position:"relative"},children:[this.state.isLoadingSale&&this.state.rowsSale.length>0&&Object(M.jsx)("div",{className:"pageLoaderOverlay",style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(255, 255, 255, 0.6)",zIndex:10},children:Object(M.jsx)("div",{className:"fixedLoaderDiv",children:Object(M.jsx)("span",{className:"loader"})})}),Object(M.jsx)(zi.a,{className:"example-table",tableClassName:"table table-bordered table-striped saleTable",height:1560,rowHeight:30,rows:g,columns:O,fixedColumnsCount:A,headerCount:1,footerCount:1,fixBorders:!0,fillTableWidth:x,noRowsRenderer:()=>this.state.isLoadingSale?Object(M.jsx)("div",{className:"fixedLoaderDiv",children:Object(M.jsx)("span",{className:"loader"})}):Object(M.jsx)("p",{children:"No Data Found"}),rowIdKey:"Select",selectedRows:u,onSelectionChange:this.onSelectionChangeSale,canSelectMultipleRows:!0,getLoadingSpinner:()=>Object(M.jsx)("div",{children:"Loading..."}),displayBottomUpwards:m,onColumnWidthChange:this.onColumnWidthChangeSale,onColumnOrderChange:this.onColumnOrderChangeSale}),this.renderPaginationControls(this.state.pageSale,this.state.totalFilteredSaleRecord,this.salePageSize,this.goToSalePage,this.state.isLoadingSale)]}):0==this.state.showSaleTable&&Object(M.jsx)("div",{style:{height:"90vh",display:"flex",justifyContent:"center",alignItems:"center"},children:Object(M.jsx)("img",{src:"/edge/images/no_data_found.svg"})})})]})}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal manageColumnsModal",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Manage Columns"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Wi.a,{onDragEnd:this.handleOnDragEnd,children:Object(M.jsx)(Wi.c,{droppableId:"columnsUl",children:t=>Object(M.jsxs)("ul",Object(h.a)(Object(h.a)({className:"columnsUl"},t.droppableProps),{},{ref:t.innerRef,children:[this.state.dragArray.map(((t,e)=>Object(M.jsx)(Wi.b,{draggableId:t.id,index:e,children:a=>Object(M.jsxs)("li",Object(h.a)(Object(h.a)(Object(h.a)({},a.draggableProps),a.dragHandleProps),{},{ref:a.innerRef,className:1==this.state.dragArray[e].visible&&1==this.state.dragArray[e].static?"liActive":"liInActive",children:[Object(M.jsx)("p",{className:1==t.visible?"visibleItem":"invisibleItem",children:t.name}),Object(M.jsx)("span",{className:1==t.static?"columnStatic":"columnNonStatic",onClick:t=>{this.makeColumnStatic(e)},children:Object(M.jsx)(p.a,{icon:j.o})}),Object(M.jsx)("span",{className:1==t.visible?"columnVisible":"columnInvisible",onClick:t=>{this.makeColumnVisible(e)},children:Object(M.jsx)(p.a,{icon:j.g})})]}))},t.id))),t.placeholder]}))})})}
1),Object(M.jsxs)(k.a.Footer,{children:[Object(M.jsx)(Ji.a,{variant:"default",className:"resetDefault",onClick:t=>{this.resetColumns()},children:"Reset to default"}),Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.saveColumnPref()},children:"Save"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenSale,onHide:this.closeModalSale,className:"columnsModal manageColumnsModal",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Manage Columns Sale"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Wi.a,{onDragEnd:this.handleOnDragEndSale,children:Object(M.jsx)(Wi.c,{droppableId:"columnsUl",children:t=>Object(M.jsxs)("ul",Object(h.a)(Object(h.a)({className:"columnsUl"},t.droppableProps),{},{ref:t.innerRef,children:[this.state.dragArraySale.map(((t,e)=>Object(M.jsx)(Wi.b,{draggableId:t.id,index:e,children:a=>Object(M.jsxs)("li",Object(h.a)(Object(h.a)(Object(h.a)({},a.draggableProps),a.dragHandleProps),{},{ref:a.innerRef,className:1==this.state.dragArraySale[e].visible&&1==this.state.dragArraySale[e].static?"liActive":"liInActive",children:[Object(M.jsx)("p",{className:1==t.visible?"visibleItem":"invisibleItem",children:t.name}),Object(M.jsx)("span",{className:1==t.static?"columnStatic":"columnNonStatic",onClick:t=>{this.makeColumnStaticSale(e)},children:Object(M.jsx)(p.a,{icon:j.o})}),Object(M.jsx)("span",{className:1==t.visible?"columnVisible":"columnInvisible",onClick:t=>{this.makeColumnVisibleSale(e)},children:Object(M.jsx)(p.a,{icon:j.g})})]}))},t.id))),t.placeholder]}))})})}),Object(M.jsxs)(k.a.Footer,{children:[Object(M.jsx)(Ji.a,{variant:"default",className:"resetDefault",onClick:t=>{this.resetColumnsSale()},children:"Reset to default"}),Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.saveColumnPrefSale()},children:"Save"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenDocModal,onHide:this.closeModalDoc,className:"columnsModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Document"})}),Object(M.jsx)(k.a.Body,{style:{margin:"0 auto"},children:Object(M.jsx)(Vi.a,{file:this.state.docUrl,onLoadSuccess:this.onDocumentLoadSuccess,children:Array.from(new Array(this.state.numPages),((t,e)=>Object(M.jsx)(Vi.b,{pageNumber:e+1},"page_".concat(e+1))))})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenColumnsModal,onHide:this.closeModalColumn,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAll,className:"me-2",value:"select",onChange:t=>{this.toggleAll(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumns.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedVal(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnVal(t)}}),t.name]})})))})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.exportCsv()},children:"Export CSV"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenColumnsModalSale,onHide:this.closeModalColumnSale,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAllSale,className:"me-2",value:"select",onChange:t=>{this.toggleAllSale(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumnsSale.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedValSale(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnValSale(t)}}),t.name]})})))})]}
1),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.exportCsvSale()},children:"Export CSV"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenExcelModal,onHide:this.closeModalExcel,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAll,className:"me-2",value:"select",onChange:t=>{this.toggleAll(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumns.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedVal(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnVal(t)}}),t.name]})})))})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.exportExcel()},children:"Export Excel"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenExcelModalSale,onHide:this.closeModalExcelSale,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAllSale,className:"me-2",value:"select",onChange:t=>{this.toggleAllSale(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumnsSale.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedValSale(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnValSale(t)}}),t.name]})})))})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.exportExcelSale()},children:"Export Excel"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenPngModal,onHide:this.closeModalPng,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAll,className:"me-2",value:"select",onChange:t=>{this.toggleAll(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumns.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedVal(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnVal(t)}}),t.name]})})))})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.downloadPng()},children:"Next"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenPngModalSale,onHide:this.closeModalPngSale,className:"columnsModal selectColumn",size:"md",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Select Columns"})}),Object(M.jsxs)(k.a.Body,{children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center mb-4",children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:"selectAll",type:"checkbox",checked:this.state.selectAllSale,className:"me-2",value:"select",onChange:t=>{this.toggleAllSale(t)}}),"Select/Deselect All"]})})}),Object(M.jsx)("ul",{className:"selectColumns",children:this.state.downloadColumnsSale.map(((t,e)=>Object(M.jsx)("li",{children:Object(M.jsxs)("label",{children:[Object(M.jsx)("input",{name:t.name,type:"checkbox",checked:this.getCsvCheckedValSale(t.name),className:"me-2",value:t.name,onChange:t=>{this.getColumnValSale(t)}}),t.name]})})))})]}
1),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.downloadPngSale()},children:"Next"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenDownloadModal,onHide:this.closeModalDownload,className:"columnsModal selectColumn downloadImgModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Download as PNG"})}),Object(M.jsxs)(k.a.Body,{children:[!0===this.state.showImageLoader&&Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",className:"w100"})})})}),!1===this.state.showImageLoader&&Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:"You do not have enough privileges to download Data as PNG. Please contact CRE Matrix team for further assistance."==this.state.imgPath?Object(M.jsx)("h4",{children:"You do not have enough privileges to download Data as PNG. Please contact CRE Matrix team for further assistance."}):"You can select upto 10 columns to export as PNG."==this.state.imgPath?Object(M.jsx)("h4",{children:"You can select upto 10 columns to export as PNG"}):Object(M.jsx)("img",{src:this.state.imgPath,width:"100%"})})})})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.downloadPngImg()},children:"Download"})})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)(k.a,{show:this.state.isOpenDownloadModalSale,onHide:this.closeModalDownloadSale,className:"columnsModal selectColumn downloadImgModal",size:"xl",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Download as PNG"})}),Object(M.jsxs)(k.a.Body,{children:[!0===this.state.showImageLoaderSale&&Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",className:"w100"})})})}),!1===this.state.showImageLoaderSale&&Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:"You do not have enough privileges to download Data as PNG. Please contact CRE Matrix team for further assistance."==this.state.imgPathSale?Object(M.jsx)("h4",{children:"You do not have enough privileges to download Data as PNG. Please contact CRE Matrix team for further assistance."}):"You can select upto 10 columns to export as PNG."==this.state.imgPathSale?Object(M.jsx)("h4",{children:"You can select upto 10 columns to export as PNG"}):Object(M.jsx)("img",{src:this.state.imgPathSale,width:"100%"})})})})]}),Object(M.jsx)(k.a.Footer,{children:Object(M.jsx)(Ji.a,{variant:"primary",className:"ModalSaveBtn",onClick:t=>{this.downloadPngImgSale()},children:"Download"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)(k.a,{show:this.state.isOpenTimeModal,onHide:this.closeTimeModal,className:"columnsModal timeModal transactionTimemachine",size:"md",children:Object(M.jsx)(k.a.Body,{style:{height:"0px"},children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)(U.a,{placeholder:"Select Date",value:this.state.startDate,onChange:t=>this.setDate(t),defaultOpen:!0,preventOverflow:!0,placement:"auto",oneTap:!0,ranges:[]})})})})})})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)(k.a,{show:this.state.isOpenTimeModalSale,onHide:this.closeTimeModalSale,className:"columnsModal timeModal transactionTimemachineSale",size:"md",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(U.a,{placeholder:"Select Date",value:this.state.startDateSale,onChange:t=>this.setDateSale(t),defaultOpen:!0,preventOverflow:!0,placement:"autoHorizontalStart",oneTap:!0,ranges:[]})})})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenNotesModal,onHide:this.closeNotesModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("ol",{children:[Object(M.jsx)("li",{children:"Carpet/Ch
1argeable area which are not highlighted are as per the area mentioned in the document."}),Object(M.jsxs)("li",{children:["Carpet/Chargeable area which are highlighted has been calculated as per the following methodology:",Object(M.jsxs)("ul",{style:{marginTop:"15px"},children:[Object(M.jsx)("li",{children:"Efficiency of the building is calculated using the weighted average efficiency of the other leases in the building where both the carpet area and chrgeable area has been provided in the lease document. This calculated efficiency is then used to back calculate the missing carpet/chargeable area of the remaining leases in the building."}),Object(M.jsx)("li",{children:"If none of the leases have both the carpet area & chargeable area mentioned in the lease document, in such cases efficiency of the building can't be calculated. For such buildings, we arrive at the efficiency of the building based on market intelligence."}),Object(M.jsx)("li",{children:"If the market intelligence is not available either, we calculate the efficiency based on other leases with the same space type (ex. office/Retail/F&B...) and same micromarket(e.g. BKC Core/Andheri(E)/Nariman Point). This calculated efficiency is then used to back calculate the missing carpet/chargeable area of all the leases in the building."}),Object(M.jsx)("li",{children:"If the efficiency still can't be calculated, the missing values of carpet/chargeable area are left as it is."})]})]}),Object(M.jsx)("li",{children:"Rent per sq ft is calculated based on the total consideration paid by the lessee to the lessor divided by the chargeable area. If chargeable area is not mentioned in the document, carpet area is used."}),Object(M.jsx)("li",{children:"CRE ID: This ID is for referncing a particular lease. If you wish to get more details about a particular lease, please mail to us at [email protected] with CRE ID as the subject of the mail."}),Object(M.jsx)("li",{children:"Security Deposit: If less than or equal to 60 it is in months. Otherwise, it is total Security Deposit Amount."})]})})})})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("p",{dangerouslySetInnerHTML:{__html:this.state.errorMessage}})})})})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModalSale,onHide:this.closeErrorDisplayModalSale,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("p",{dangerouslySetInnerHTML:{__html:this.state.errorMessage}})})})})})]})})]})]})}}ur.contextType=Wt;var yr=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,user_id:t.user_id}}))(ur);const fr=()=>Object(M.jsxs)("div",{children:["Page Not Found",Object(M.jsx)("br",{}),Object(M.jsx)("a",{href:"https://www.crematrix.com/",children:"Go back to Home Page"})]}),wr="Top Developers - Built Stock";class Nr extends i.a.Component{constructor(){super(...arguments),this.apiTimeout=null,this.lastFetchedPayload=null,this.state={topDevelopers:[],showLoader:!1,showGraph:!1,jsonForExcel:[]},this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload!==a){this.lastFetchedPayload=a,this.setState({showLoader:!0,showGraph:!1});var s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_top_developer_built_stock",s).then((t=>{let e=t.data.slice(0,10);this.setState({showLoader:!1,showGraph:!0,topDevelopers:e,jsonForExcel:it(e,{developer:{name:"Developer",type:"string"},built_stock_number:{name:"Built Stock(#)",type:"int"},built_stock_msf:{name:"Built Stock (msf)",type:"int"},occupancy:{name:"Occupancy (%)",type:"int"},passing_rent:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},wale:{name:"Wale",type:"int"}})})}))}}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Developers - Built Stock"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:wr,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Developers Built Stock"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopDevelopersBuiltStock",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:wr,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),q("#topDevelopers","TopDevelopersBuiltStock");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Developers Built Stock"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topDevelopers",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Developer"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Built Stock"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Built Stock"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Occupancy"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Passing Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(#)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.topDevelopers.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.developer,children:Object(M.jsx)(n.b,{target:"_blank",to:H("developer",t.developer),children:t.developer})}),Object(M.jsx)("td",{className:"text-end",children:t.built_stock_number}),Object(M.jsx)("td",{className:"text-end",children:t.built_stock_msf}),Object(M.jsx)("td",{className:"text-end",children:t.occupancy}),Object(M.jsx)("td",{className:"text-end",children:t.passing_rent}),Object(M.jsx)("td",{className:"text-end",children:t.wale})]},e)))})]})})]})]})}}Nr.contextType=Wt;var Sr=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Nr);const Dr="Built Stock - Top 10 Developer Share";const Mr={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#d0fdf9","#b5eeea","#9ae0dc","#7fd1cd","#64c2be","#48b5ad","#399d95","#2a847d","#1b6c65","#0c534d"]};class Cr extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Dr,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,filters:"",isOpen:!1,start_date:"",end_date:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHe
1ightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight maxCanvasHeightAuto"}}componentDidMount(){var t;if(this.setState({areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);jt.post("api/edge/office/get_top_developers_in_office_development_chart",e).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Developers","share"]),this.setState({googlePieChartData:s}),$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Developers","Area(msf)");this.setState({exceldata:i})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:this.props.filters,areaType:this.props.areaType});var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),jt.post("api/edge/office/get_top_developers_in_office_development_chart",t).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Developers","Share"]),this.setState({googlePieChartData:s}),$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Developers","Share");this.setState({exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:Dr,filters:this.state.filters});const t=document.getElementById("builtStockDeveloperShare");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("BuiltStockDeveloperShare.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"builtStockDeveloperShare",children:[this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Built Stock - Top 10 Developer Share"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Built Stock - Top 10 Developer Share"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Built Stock - Top 10 Developer Share"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Dr,filters:this.state.filters});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Built Stock - Top 10 Developer Share"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"BuiltStockDeveloperShare",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Dr,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Mr,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Cr,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Cr.contextType=Wt;var Fr=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Cr);class Br extends i.a.Component{constructor(t){super(t)}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"My Selected Developers"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{children:"Built Stock(#)"}),Object(M.jsx)("th",{children:"Built Stock(msf)"}),Object(M.jsx)("th",{className:"text-end",children:"Occupancy(%)"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"WALE"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]})]})]})})]})})}}Br.contextType=Wt;const vr="Top Developers - Built Stock";class Tr extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.globalMode;this.props.globalMode&&this.props.globalMode!==this.state.globalMode&&(e=this.props.globalMode);const a={filter:t,area_type:this.props.areaType||"",mode:e||""},s=JSON.stringify(a);if(this.lastFetchedPayload!==s){this.lastFetchedPayload=s,this.setState({showLoader:!0,showGraph:!1,globalMode:e});var i=new FormData;i.append("filter",JSON.stringify(t)),e&&i.append("mode",e),i.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_developer_total_build_stock",i).then((t=>{let e=!0;$(t.data.datapoints.y1)&&(e=!1);const a={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]},s=this.generateChartOptions(t.data.x);this.setState({showLoader:!1,showGraph:!0,noGraph:e,xAxis:t.data.x,marketRent:t.data.datapoints.y2,builtStock:t.data.datapoints.y3,chartData:a,chartOtions:s,exceldata:tt(t)})}))}},this.generateChartOptions=t=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},ticks:{callback:(e,a)=>/\s/.test(t)&&"undefined"!=typeof t[a]?t[a].split(" "):t.length>0&&"undefined"!=typeof t[a]?t[a]:"",autoSkip:!1,color:"black",font:{size:10}},title:{display:!0,text:"Developers"}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},onHover:(t,e)=>{0!==e.length&&this.setState({currentMarketRent:this.state.marketRent[e[0].index],currentBuiltStock:this.state.builtStock[e[0].index]})}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}}),this.state={globalMode:"",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,marketRent:[],builtStock:[],currentMarketRent:"-",currentBuiltStock:"-",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}manageChartHeight(){this.setState({chartHeightClass:"col-lg-12"})}downloadPdf(){Ct(gt,{chartName:vr,mode:this.state.globalMode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("topDevelopersBuiltStock");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("TopDevelopersBuiltStock.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Top Developers - Built Stock"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"topDevelopersBuiltStock",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Developers - Built Stock"})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Developers - Built Stock"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:vr,mode:this.state.globalMode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Developers - Built Stock"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"TopDevelopersBuiltStock",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:vr,mode:this.state.globalMode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Tr,filters:this.context.filters,chartHe
1ightClass:"col-lg-12"},this.state.expandChartKey)]})}}Tr.contextType=Wt;var Ir=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Tr);const _r="Lease Volume - Developer Share";const Er={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#d0fdf9","#b5eeea","#9ae0dc","#7fd1cd","#64c2be","#48b5ad","#399d95","#2a847d","#1b6c65","#0c534d"]};class Ur extends i.a.Component{constructor(t){super(t),this.fetchLeaseVolumeByDeveloper=t=>{jt.post("api/edge/office/get_lease_vol_by_developer",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Developers","Volume"]),this.setState({googlePieChartData:s}),$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=et(t,"Developers","Lease Volume");this.setState({exceldata:i})}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:_r,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t}),"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);this.fetchLeaseVolumeByDeveloper(e)}componentDidUpdate(){const t=JSON.stringify(this.props.filters);if(t!==this.state.filters||this.state.areaType!=this.props.areaType){this.setState({filters:t,areaType:this.props.areaType}),this.setState({showLoader:!0,showGraph:!1});var e=new FormData;e.append("filter",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date),e.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),this.fetchLeaseVolumeByDeveloper(e)}}downloadPdf(){Ct(gt,{chartName:_r,filters:this.state.filters});const t=document.getElementById("leaseVolumeDeveloperShare");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("LeaseVolumeDeveloperShare.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Lease Volume - Developer Share"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leaseVolumeDeveloperShare",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Volume - Developer Share"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Volume - Developer Share"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:_r,filters:this.state.filters});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Lease Volume - Developer Share"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"LeaseVolumeDeveloperShare",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:_r,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 allChartHeight",children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Er,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Ur,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Ur.contextType=Wt;var Rr=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Ur);const Yr="Rental Trends - Developers";class Qr extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode;this.props.globalMode&&this.props.globalMode!==this.state.globalMode&&(e=this.props.globalMode);let a,s={filter:t,area_type:this.props.areaType||"",mode:e};"undefined"!==typeof this.props.bodyParams?(a=this.props.bodyParams,a.forEach(((t,e)=>{s[e]=t}))):(a=new FormData,a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),a.append("mode",e),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date),s.start_date=this.state.start_date,s.end_date=this.state.end_date,s.which_date=this.state.which_date));const i=JSON.stringify(s);this.lastFetchedPayload!==i&&(this.lastFetchedPayload=i,this.setState({showLoader:!0,showGraph:!1,globalMode:this.props.globalMode,mode:e,bodyParams:a}),jt.post("api/edge/office/get_rentals_by_developer",a).then((t=>{var e,a,s,i,l;let o=[];if(t.data.datapoints)for(let d=1;d<Object.keys(t.data.datapoints).length+1;d++)t.data.datapoints["y"+d]&&Object.keys(t.data.datapoints["y"+d]).length>0&&o.push({label:"".concat(t.data.legend["y"+d]),data:t.data.datapoints["y"+d].data,borderColor:t.data.bgcolor["y"+d],backgroundColor:t.data.bgcolor["y"+d]});let c={labels:t.data.x,datasets:o},n=!0;t.data.datapoints&&($(null===(e=t.data.datapoints.y1)||void 0===e?void 0:e.data)||$(null===(a=t.data.datapoints.y2)||void 0===a?void 0:a.data)||$(null===(s=t.data.datapoints.y3)||void 0===s?void 0:s.data)||$(null===(i=t.data.datapoints.y4)||void 0===i?void 0:i.data)||$(null===(l=t.data.datapoints.y5)||void 0===l?void 0:l.data))&&(n=!1);const r=this.generateChartOptions(t.data.x);this.setState({showLoader:!1,showGraph:!0,noGraph:n,xAxis:t.data.x,chartData:c,chartOtions:r,exceldata:tt(t)})})))},this.generateChartOptions=t=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:(e,a)=>/\s/.test(t)&&"undefined"!==typeof t[a]?t[a].split(" "):t&&t.length>0&&"undefined"!==typeof t[a]?t[a]:"",autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:t=>{if("undefined"!==typeof t.tooltip.dataPoints){let e="colorGreen",a=j.d,s=t.tooltip.dataPoints[0].dataIndex,i=0===s?0:s-1,l=parseFloat(t.tooltip.dataPoints[0].dataset.data[s]),o=parseFloat(t.tooltip.dataPoints[0].dataset.data[i]);l<o&&(e="colorRed",a=j.c);let c=parseFloat(100*(l-o)/o).toFixed(2)+"%";"Infinity%"!==c&&"NaN%"!==c||(c=""),this.setState({tooltipClassname:e,tooltipArrow:a,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:c})}}}}}),this.downloadPdf=()=>{Ct(gt,{chartName:Yr,mode:this.state.mode,filters:this.state.filters});const t=document.getElementById("rentalTrendsDeveloper");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("RentalTrendsDevelopers.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Rental Trends - Developers"),jt.post("api/user-activity/log-activity",o).then((t=>{}))}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Yr,mode:this.state.mode,filters:this.state.filters}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="quarterly"===this.state.mode||"quarter"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Yr,mode:t,filters:this.state.filters,extra:{from_mode:this.state.mode}}),this.setState({mode:t})},this.state={globalMode:"",mode:"quarterly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalTrendsDeveloper",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loading"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rental Trends - Developers"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Data Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rental Trends - Developers"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:this.downloadPdf,children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Yr,mode:this.state.mode,filters:this.state.filters});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Rental Trends - Developers"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"RentalTrendsDevelopers",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Yr,mode:this.state.mode,filters:this.state.filters}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:"Switch to ".concat("quarterly"===this.state.mode||"quarter"===this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalTrendsDevelopers",options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Qr,filters:this.context.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Qr.contextType=Wt;var kr=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Qr);const Pr="Vacancy Trends - Developers";class Gr extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;const e={filter:t,area_type:this.props.areaType||""},a=JSON.stringify(e);if(this.lastFetchedPayload!==a){this.lastFetchedPayload=a,this.setState({showLoader:!0});var s=new FormData;s.append("filter",JSON.stringify(t)),s.append("area_type",this.props.areaType||""),jt.post("api/edge/office/get_vacancy_by_developer",s).then((t=>{const e={labels:t.data.x,datasets:[{label:t.data.legend,data:t.data.y,backgroundColor:t.data.bgcolor,borderColor:t.data.bgcolor,borderWidth:0,barThickness:10,borderRadius:10}]};let a=!0;$(t.data.y)&&(a=!1);const s=this.generateChartOptions(t.data.x);this.setState({showLoader:!1,noGraph:a,xAxis:t.data.x,chartData:e,chartOtions:s,exceldata:tt(t)})}))}},this.generateChartOptions=t=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"Developers"},ticks:{callback:(e,a)=>/\s/.test(t)&&"undefined"!=typeof t[a]?t[a].split(" "):t.length>0&&"undefined"!=typeof t[a]?t[a]:"",autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Vacancy Percentage"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000"}}}),this.downloadPdf=()=>{Ct(gt,{chartName:Pr,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("vacancyTrendsDevelopers");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("VacancyTrendsDevelopers.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Vacancy Trends - Developers"),jt.post("api/user-activity/log-activity",o).then((t=>{}))}))},this.state={noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipY
1Label:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"vacancyTrendsDevelopers",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Vacancy Trends - Developers"})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph"})})]}),!this.state.showLoader&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Vacancy Trends - Developers"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:this.downloadPdf,children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Pr,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Vacancy Trends - Developers"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"VacancyTrendsDevelopers",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Pr,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Gr,filters:this.context.filters,chartHeightClass:"col-lg-12"},this.state.expandChartKey)]})}}Gr.contextType=Wt;var Lr=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Gr);class Vr extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid p-0 spacingClassForDashboard",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Sr,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Fr,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Ir,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Rr,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(kr,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Lr,{})})]})]})}}var zr=Object(c.f)(Vr);class Jr extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_developer_details",Z(t)).then((t=>{this.setState({developerDetails:t.data[0]||[]})})).catch((t=>console.error("Error fetching developer details:",t)))},this.state={developerDetails:[]}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsx)("div",{className:"widget widgetDeveloper widgetWithExtraPadding borderRadiusClass h-100 p-0",children:Object(M.jsxs)("div",{className:"row m-0 logoWithDetailsDesign",children:[Object(M.jsx)("div",{className:"col-lg-5 p-0 logoWithDetailsDesignL",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:this.state.developerDetails.image,className:"imgWidth100"})}),Object(M.jsxs)("div",{className:"col-lg-7 logoWithDetailsDesignR",children:[Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[Object(M.jsx)("h6",{children:this.state.developerDetails.year_founded}),Object(M.jsx)("p",{children:"Year Founded"})]}),Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[Object(M.jsx)("h6",{children:this.state.developerDetails.headquarters}),Object(M.jsx)("p",{children:"Headquarters"})]}),Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[Object(M.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:this.state.developerDetails.website,children:Object(M.jsx)("h6",{title:this.state.developerDetails.website,children:this.state.developerDetails.website})}),Object(M.jsx)("p",{children:"Website"})]}),Object(M.jsxs)("div",{className:"logoWithDetailsDesignRInner",children:[window.location.href.includes("DLF")?Object(M.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.dlf.in/investor",children:Object(M.jsx)("h6",{children:"Q1 FY25"})}):Object(M.jsx)("h6",{children:"Q2 CY\u201921"}),Object(M.jsx)("p",{children:"Latest Investor PPT"})]})]})]})})}}Jr.contextType=Wt;var Wr=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Jr);Zt()(["/edge/images/updated_logos/officestock.svg"]);class Hr extends i.a.Component{constructor(t){super(t),this.updateUrlFilter=()=>{if(void 0!==W.get.filter){const t=(new Date).toISOString(),e=JSON.parse(W.get.filter);e.end_occupancy_date_orig=t,this.setState({urlFilter:"?filter="+JSON.stringify(e)})}else this.setState({urlFilter:""})},this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_total_office_stock_build",a).then((t=>{this.setState({sumOfChargeableArea:t.data.sum_of_chargeable_area,noOfComplexes:t.data.no_of_complxes})}))},this.state={sumOfChargeableArea:0,noOfComplexes:0,urlFilter:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType),this.updateUrlFilter()}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||(this.fetchData(a,this.props.areaType),this.updateUrlFilter())}render(){return Object(M.jsx)(n.b,{to:"/office/asset/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Total Office Stock Built Icon",src:"/edge/images/updated_logos/officestock.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.sumOfChargeableArea," msf"," ",Object(M.jsxs)("span",{children:["(",this.state.noOfComplexes," Assets)"]})]}),Object(M.jsx)("p",{children:"Total Office Stock Built"})]})]})})}}Hr.contextType=Wt;var Zr=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Hr);Zt()(["/edge/images/updated_logos/underconstructiion.svg"]);class Xr extends i.a.Component{constructor(t){super(t),this.updateUrlFilter=()=>{if(void 0!==W.get.filter){const t=(new Date).toISOString(),e=JSON.parse(W.get.filter);e.start_occupancy_date_orig=t,this.setState({urlFilter:"?filter="+JSON.stringify(e)})}else this.setState({urlFilter:""})},this.fetchData=t=>{jt.post("api/edge/office/get_upcoming_supply",Z(t)).then((t=>{this.setState({sumOfChargeableArea:t.data.sum_of_chargeable_area,noOfComplexes:t.data.no_of_complxes})}))},this.state={sumOfChargeableArea:0,noOfComplexes:0,urlFilter:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t),this.updateUrlFilter()}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&(this.fetchData(a),this.updateUrlFilter())}render(){return Object(M.jsx)(n.b,{to:"/office/asset/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Under Construction Icon",src:"/edge/images/updated_logos/underconstructiion.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.sumOfChargeableArea," msf"," ",Object(M.jsxs)("span",{children:["(",this.state.noOfComplexes," Assets)"]})]}),Object(M.jsx)("p",{children:"Under Construction"})]})]})})}}Xr.contextType=Wt;var Kr=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Xr);Zt()(["/edge/images/updated_logos/prposed.svg"]);class qr extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_developer_proposed_development",a).then((t=>{this.setState({proposedDevelopment:t.data.proposed_development})}))},this.state={proposedDevelopment:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Proposed Development Icon",src:"/edge/images/updated_logos/prposed.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.proposedDevelopment}
1),Object(M.jsx)("p",{children:"Proposed Development"})]})]})}}qr.contextType=Wt;var $r=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(qr);Zt()(["/edge/images/updated_logos/vacancy.svg"]);class td extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_current_vacancy",Z(t)).then((t=>{this.setState({areaActual:t.data.area_actual,areaPerc:t.data.area_perc})}))},this.state={areaActual:0,areaPerc:0}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass position-relative",children:[Object(M.jsxs)("div",{className:"infoCircle text-end",children:[Object(M.jsx)(p.a,{icon:j.k,style:{color:"#cccccc"}}),Object(M.jsx)("div",{className:"vacancyInfo2",style:{display:"none"},children:Object(M.jsx)("p",{className:"text-center",style:{color:"#fff"},children:"Vacancy is based on registered leases only"})})]}),Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/updated_logos/vacancy.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsxs)("h2",{children:[this.state.areaActual," ",Object(M.jsxs)("span",{children:["(",this.state.areaPerc," %)"]})," "]}),Object(M.jsx)("p",{children:"Current Vacancy"})]})]})}}td.contextType=Wt;var ed=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(td);Zt()(["/edge/images/updated_logos/assetpresence.svg"]);class ad extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_developer_occupiers",Z(t)).then((t=>{this.setState({occupiers:t.data.tenant_cnt})}))},this.state={occupiers:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Occupiers Icon",src:"/edge/images/updated_logos/assetpresence.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.occupiers}),Object(M.jsx)("p",{children:"# Occupiers"})]})]})}}ad.contextType=Wt;var sd=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ad);Zt()(["/edge/images/updated_logos/passingrent.svg"]);class id extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_current_passing_rent",a).then((t=>{this.setState({currentPassingRent:t.data.current_passing_rent})}))},this.state={currentPassingRent:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.currentPassingRent," sqft/month"]}),Object(M.jsx)("p",{children:"Current Passing Rent"})]})]})}}id.contextType=Wt;var ld=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(id);Zt()(["/edge/images/updated_logos/wale.svg"]);class od extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_developer_wale",a).then((t=>{this.setState({wale:t.data.wale})}))},this.state={wale:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"WALE Icon",src:"/edge/images/updated_logos/wale.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.wale}),Object(M.jsx)("p",{children:"WALE"})]})]})}}od.contextType=Wt;var cd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(od);Zt()(["/edge/images/updated_logos/passingrent.svg"]);
1class nd extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_developer_effective_rent",a).then((t=>{this.setState({effectiveRent:t.data.effective_rent})}))},this.state={effectiveRent:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Effective Rent Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.effectiveRent}),Object(M.jsx)("p",{children:"Effective Rent"})]})]})}}nd.contextType=Wt;var rd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(nd);const dd="Construction Timeline";class hd extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:dd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType,globalMode:this.props.globalMode}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);this.setState({});const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_developer_construction_timeline",e).then((t=>{this.setState({showLoader:!1,showGraph:!0});const e={labels:t.data.x,datasets:[{label:t.data.legend,data:t.data.y,backgroundColor:t.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=tt(t);a.setState({chartOtions:s,chartData:e,exceldata:i})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var e=new FormData;e.append("filter",JSON.stringify(this.props.filters)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date)):"undefined"!=typeof this.props.bodyParams&&(e=this.props.bodyParams),this.setState({bodyParams:e}),jt.post("api/edge/office/get_developer_construction_timeline",e).then((t=>{this.setState({showLoader:!1,showGraph:!0,xAxis:t.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const e={labels:t.data.x,datasets:[{label:t.data.legend,data:t.data.y,backgroundColor:t.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=tt(t);a.setState({chartOtions:s,chartData:e,exceldata:i})}))}}downloadPdf(){Ct(gt,{chartName:dd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("constructionTimeline");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("ConstructionTimeline.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","ConstructionTimeline"),jt.post("api/user-activity/log-activity",o).then((t=>{console.log(t)}))}))}getModeData(){const t="quarterly"==this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:dd,mode:t,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters),extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_developer_construction_timeline",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend,data:a.data.y,backgroundColor:a.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(this.props.filters)),a.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date?(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date)):"undefined"!=typeof this.props.bodyParams&&(a=this.props.bodyParams),this.setState({bodyParams:a}),jt.post("api/edge/office/get_developer_construction_timeline",a).then((a=>{this.setState({showLoader:!1,showGraph:!0,xAxis:a.data.x}),st(this.state.start_date,this.state.end_date)?this.setState({barThicknesS:5}):this.setState({barThicknesS:10});const s={labels:a.data.x,datasets:[{label:a.data.legend,data:a.data.y,backgroundColor:a.data.bgcolor,borderWidth:0,barThickness:this.state.barThicknesS,borderRadius:10}]};$(a.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const i=tt(a);t.setState({chartOtions:e,chartData:s,exceldata:i})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"constructionTimeline",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Construction Timeline"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Construction Timeline"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf();let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","ConstructionTimeline"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:dd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","ConstructionTimeline"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"ConstructionTimeline",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:dd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 allChartHeight",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:hd,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}hd.contextType=Wt;var pd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(hd);const jd="Top 10 Occupiers";class Ad extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{this.setState({showLoader:!0,showGraph:!1});const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_top_developer_top_occupiers",a).then((t=>{let e=t.data.splice(0,10);this.setState({showLoader:!1,showGraph:!0,topOccupiers:e,jsonForExcel:it(e,{tenant:{name:"Occupier Name",type:"string"},area:{name:"Area Leased (msf)",type:"int"},current_passing_rent:{name:"Wt. Avg. Current Rent (\u20b9/sqft/month)",type:"int"},wale:{name:"WALE",type:"string"}})})}))},this.state={topOccupiers:[],showLoader:!1,showGraph:!1,jsonForExcel:[]}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:jd,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top 10 Occupiers"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"Top10Occupiers",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:jd,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),q("#topOccupiers","Top10Occupiers");let e=new FormData;
1e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top 10 Occupiers"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topOccupiers",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier Name"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Area Leased"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Wt. Avg. Current Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end"})]})]}),Object(M.jsx)("tbody",{children:this.state.topOccupiers.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.current_passing_rent}),Object(M.jsx)("td",{className:"text-end",children:t.wale})]},e)))})]})})]})]})}}Ad.contextType=Wt;var xd=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(Ad);const bd="Passing Rent and Starting Rent (Market Rent)";class md extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode;this.props.globalMode&&this.props.globalMode!==this.state.globalMode&&(e=this.props.globalMode);let a,s={filter:t,area_type:this.props.areaType||"",mode:e};"undefined"!==typeof this.props.bodyParams?(a=this.props.bodyParams,a.forEach(((t,e)=>{s[e]=t}))):(a=new FormData,a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),a.append("mode",e),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date),s.start_date=this.state.start_date,s.end_date=this.state.end_date,s.which_date=this.state.which_date));const i=JSON.stringify(s);this.lastFetchedPayload!==i&&(this.lastFetchedPayload=i,this.setState({showLoader:!0,showGraph:!1,globalMode:this.props.globalMode,mode:e,bodyParams:a}),jt.post("api/edge/office/get_rentals_anlysis_chart",a).then((t=>{let a={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,borderColor:t.data.bgcolor.y1,backgroundColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2,borderColor:t.data.bgcolor.y2,backgroundColor:t.data.bgcolor.y2}]},s=!0;($(t.data.datapoints.y1)||$(t.data.datapoints.y2))&&(s=!1);const i=this.generateChartOptions(t.data.x,e);this.setState({showLoader:!1,showGraph:!0,noGraph:s,xAxis:t.data.x,chartData:a,chartOtions:i,exceldata:tt(t)})})))},this.generateChartOptions=(t,e)=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===e||"quarter"===e?"Quarters":"Years"},ticks:{callback:(e,a)=>/\s/.test(t)&&"undefined"!==typeof t[a]?t[a].split(" "):t.length>0&&"undefined"!==typeof t[a]?t[a]:"",autoSkip:!1,color:"black",font:{size:10}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:t=>{if("undefined"!==typeof t.tooltip.dataPoints){let e="colorGreen",a=j.d,s=t.tooltip.dataPoints[0].dataIndex,i=0===s?0:s-1,l=parseFloat(t.tooltip.dataPoints[0].dataset.data[s]),o=parseFloat(t.tooltip.dataPoints[0].dataset.data[i]);l<o&&(e="colorRed",a=j.c);let c=parseFloat(100*(l-o)/o).toFixed(2)+"%";"Infinity%"!==c&&"NaN%"!==c||(c=""),this.setState({tooltipClassname:e,tooltipArrow:a,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:c})}}}}}),this.downloadPdf=()=>{Ct(gt,{chartName:bd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("passingRentMarketRent");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("PassingRentMarketRent.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Passing Rent Starting Rent (Market Rent)"),jt.post("api/user-activity/log-activity",o).then((t=>{}))}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:bd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="quarterly"===this.state.mode||"quarter"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:bd,mode:t,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters),extra:{from_mode:this.state.mode}}),this.setState({mode:t})},this.state={globalMode:"",mode:"quarterly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"passingRentMarketRent",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent and Starting Rent (Market Rent)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Data Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent and Starting Rent (Market Rent)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:this.downloadPdf,children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:bd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Passing Rent Starting Rent (Market Rent)"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"PassingRentMarketRent",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:bd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:"Switch to ".concat("quarterly"===this.state.mode||"quarter"===this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:md,filters:this.context.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}md.contextType=Wt;var gd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(md);const Od="Future Rent Escalations Occupiers";class ud extends i.a.Component{constructor(t){console.log(t),super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Od,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHe
1ightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}getMinMaxValue(t){if(!Array.isArray(t)||0===t.length)return{min:null,max:null};let e=t.filter((t=>null!==t&&void 0!==t));return 0===e.length?{min:null,max:null}:{min:Math.min(...e),max:Math.max(...e)}}componentDidMount(){var t;if(console.log(this.props.chartHeightClass),this.setState({showLoader:!0,showGraph:!1,areaType:this.props.areaType,globalMode:this.props.globalMode}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);this.state.filters=t;const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return"undefined"!=typeof a.state.xAxis&&/\s/.test(a.state.xAxis)&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):"undefined"!=typeof a.state.xAxis&&a.state.xAxis.length>0&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e]:""},autoSkip:!1,color:"black",font:{size:12}}},y:{display:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:" \u20b9 / sqft / month"},position:"right"},y1:{grid:{display:!1,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"left"}},plugins:{legend:{display:!0,labels:{filter:(t,e)=>["Future Rent (\u20b9/sqft/month)","Chargeable Area (msf)"].includes(t.text),color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0,font:{size:12}}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};jt.post("api/edge/office/get_developer_rent_escalation_lease_expiry_new",e).then((t=>{t.data.datasets.forEach((t=>{Array.isArray(t.data)||(t.data=[])}));let e=[];for(let a=0;a<t.data.labels.length;a++){let s={"Year/Quarters":t.data.labels[a]};for(let e=0;e<t.data.datasets.length;e++)s[t.data.datasets[e].label]=t.data.datasets[e].data[a];e.push(s)}let i=0,l=0;t.data.datasets[0].data.length&&(i=this.getMinMaxValue(t.data.datasets[0].data).min,l=this.getMinMaxValue(t.data.datasets[0].data).max,i=null===i?0:i-3>0?i-3:0,null===l?l=0:l+=3),s.scales.y.min=i,s.scales.y.max=l,t.data.datasets.forEach((t=>{"bar"===t.type&&(t.yAxisID="y1",t.borderRadius=10,t.barThickness=10),"line"===t.type&&(t.pointBackgroun
1dColor="#255993")}));const o=t.data.labels.length>0&&t.data.datasets.some((t=>t.data.some((t=>null!==t&&void 0!==t&&0!==Number(t)))));a.setState({showLoader:!1,showGraph:!0,noGraph:!o,xAxis:t.data.labels});const c={labels:t.data.labels,datasets:t.data.datasets};a.setState({chartOtions:s,chartData:c,exceldata:e})}))}componentDidUpdate(){if(JSON.stringify(this.props.filters)!=this.state.filters||this.state.areaType!=this.props.areaType||this.state.globalMode!=this.props.globalMode){var t=this.state.mode;this.state.globalMode!=this.props.globalMode&&(t=this.props.globalMode,this.setState({globalMode:this.props.globalMode})),this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType,mode:t}),this.setState({showLoader:!0,showGraph:!1});const a=this,s={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,e,s){return"undefined"!=typeof a.state.xAxis&&/\s/.test(a.state.xAxis)&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e].split(" "):"undefined"!=typeof a.state.xAxis&&a.state.xAxis.length>0&&"undefined"!=typeof a.state.xAxis[e]?a.state.xAxis[e]:""},autoSkip:!1,color:"black",font:{size:12}}},y:{display:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:" \u20b9 / sqft / month"},position:"right"},y1:{grid:{display:!1,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"left"}},plugins:{legend:{display:!0,labels:{filter:(t,e)=>["Future Rent (\u20b9/sqft/month)","Chargeable Area (msf)"].includes(t.text),color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0,font:{size:12}}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){if("undefined"!=typeof t.tooltip.dataPoints){var e="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(e="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),a.setState({tooltipClassname:e,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var e=new FormData;e.append("filter",JSON.stringify(a.props.filters)),e.append("mode",t),e.append("area_type",this.props.areaType),a.state.end_date.length>0&&"ull"!=a.state.end_date&&a.state.start_date.length>0&&"ull"!=a.state.start_date&&a.state.which_date.length>0?(e.append("end_date",a.state.end_date),e.append("start_date",a.state.start_date),e.append("which_date",a.state.which_date)):"undefined"!=typeof a.props.bodyParams&&(e=a.props.bodyParams),a.setState({bodyParams:e}),jt.post("api/edge/office/get_developer_rent_escalation_lease_expiry_new",e).then((t=>{t.data.datasets.forEach((t=>{Array.isArray(t.data)||(t.data=[])}));let e=[];for(let a=0;a<t.data.labels.length;a++){let s={"Year/Quarters":t.data.labels[a]};for(let e=0;e<t.data.datasets.length;e++)s[t.data.datasets[e].label]=t.data.datasets[e].data[a];e.push(s)}let i=0,l=0;t.data.datasets[0].data.length&&(i=this.getMinMaxValue(t.data.datasets[0].data).min,l=this.getMinMaxValue(t.data.datasets[0].data).max,i=null===i?0:i-3>0?i-3:0,null===l?l=0:l+=3),s.scales.y.min=i,s.scales.y.max=l,t.data.datasets.forEach((t=>{"bar"===t.type&&(t.yAxisID="y1",t.borderRadius=10,t.barThickness=10),"line"===t.type&&(t.pointBackgroun
1dColor="#255993")}));const o=t.data.labels.length>0&&t.data.datasets.some((t=>t.data.some((t=>null!==t&&void 0!==t&&0!==Number(t)))));a.setState({showLoader:!1,showGraph:!0,noGraph:!o,xAxis:t.data.labels}),st(a.state.start_date,a.state.end_date)?a.setState({barThicknesS:5}):a.setState({barThicknesS:10});const c={labels:this.state.xAxis,datasets:t.data.datasets};a.setState({chartOtions:s,chartData:c,exceldata:e})}))}}downloadPdf(){Ct(gt,{chartName:Od,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("futureRentEscalationsOccupiers");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("FutureRentEscalationsOccupiers.pdf")}))}getModeData(){const t="quarterly"===this.state.mode||"quarter"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Od,mode:t,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters),extra:{from_mode:this.state.mode}}),"yearly"==this.state.mode?this.setState({mode:"quarterly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis&&/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis&&t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:12}}},y:{beginAtZero:!0,display:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:" \u20b9 / sqft / month"},position:"right"},y1:{grid:{display:!1,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"left"}},plugins:{legend:{display:!0,labels:{filter:(t,e)=>["Future Rent (\u20b9/sqft/month)","Chargeable Area (msf)"].includes(t.text),color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0,font:{size:12}}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(t.props.filters)),a.append("mode",this.state.mode),t.state.end_date.length>0&&"ull"!=t.state.end_date&&t.state.start_date.length>0&&"ull"!=t.state.start_date&&t.state.which_date.length>0?(a.append("end_date",t.state.end_date),a.append("start_date",t.state.start_date),a.append("which_date",t.state.which_date)):"undefined"!=typeof t.props.bodyParams&&(a=t.props.bodyParams),t.setState({bodyParams:a}),jt.post("api/edge/office/get_developer_rent_escalation_lease_expiry_new",a).then((a=>{a.data.datasets.forEach((t=>{Array.isArray(t.data)||(t.data=[])}));let s=[];for(let t=0;t<a.data.labels.length;t++){let e={"Year/Quarters":a.data.labels[t]};for(let s=0;s<a.data.datasets.length;s++)e[a.data.datasets[s].label]=a.data.datasets[s].data[t];s.push(e)}let i=0,l=0;a.data.datasets[0].data.length&&(i=this.getMinMaxValue(a.data.datasets[0].data).min,l=this.getMinMaxValue(a.data.datasets[0].data).max,i=null===i?0:i-3>0?i-3:0,null===l?l=0:l+=3),e.scales.y.min=i,e.scales.y.max=l,a.data.datasets.forEach((t=>{"bar"===t.type&&(t.yAxisID="y1",t.borderRadius=10,t.barThickness=10),"line"===t.type&&(t.pointBackgroun
1dColor="#255993")}));const o=a.data.labels.length>0&&a.data.datasets.some((t=>t.data.some((t=>null!==t&&void 0!==t&&0!==Number(t)))));t.setState({showLoader:!1,showGraph:!0,noGraph:!o,xAxis:a.data.labels}),st(t.state.start_date,t.state.end_date)?t.setState({barThicknesS:5}):t.setState({barThicknesS:10});const c={labels:a.data.labels,datasets:a.data.datasets};t.setState({chartOtions:e,chartData:c,exceldata:s})}))})):"quarterly"==this.state.mode&&this.setState({mode:"yearly",showLoader:!0,showGraph:!1},(()=>{const t=this,e={responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis&&/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis&&t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:12}}},y:{beginAtZero:!0,display:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:" \u20b9 / sqft / month"},position:"right"},y1:{grid:{display:!1,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"left"}},plugins:{legend:{display:!0,labels:{filter:(t,e)=>["Future Rent (\u20b9/sqft/month)","Chargeable Area (msf)"].includes(t.text),color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0,font:{size:12}}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}};var a=new FormData;a.append("filter",JSON.stringify(t.props.filters)),a.append("mode",this.state.mode),t.state.end_date.length>0&&"ull"!=t.state.end_date&&t.state.start_date.length>0&&"ull"!=t.state.start_date&&t.state.which_date.length>0?(a.append("end_date",t.state.end_date),a.append("start_date",t.state.start_date),a.append("which_date",t.state.which_date)):"undefined"!=typeof t.props.bodyParams&&(a=t.props.bodyParams),t.setState({bodyParams:a}),jt.post("api/edge/office/get_developer_rent_escalation_lease_expiry_new",a).then((a=>{a.data.datasets.forEach((t=>{Array.isArray(t.data)||(t.data=[])}));let s=[];for(let t=0;t<a.data.labels.length;t++){let e={"Year/Quarters":a.data.labels[t]};for(let s=0;s<a.data.datasets.length;s++)e[a.data.datasets[s].label]=a.data.datasets[s].data[t];s.push(e)}let i=0,l=0;a.data.datasets[0].data.length&&(i=this.getMinMaxValue(a.data.datasets[0].data).min,l=this.getMinMaxValue(a.data.datasets[0].data).max,i=null===i?0:i-3>0?i-3:0,null===l?l=0:l+=3),e.scales.y.min=i,e.scales.y.max=l,a.data.datasets.forEach((t=>{"bar"===t.type&&(t.yAxisID="y1",t.borderRadius=10,t.barThickness=10),"line"===t.type&&(t.pointBackgroun
1dColor="#255993")}));const o=a.data.labels.length>0&&a.data.datasets.some((t=>t.data.some((t=>null!==t&&void 0!==t&&0!==Number(t)))));t.setState({showLoader:!1,showGraph:!0,noGraph:!o,xAxis:a.data.labels}),st(t.state.start_date,t.state.end_date)?t.setState({barThicknesS:5}):t.setState({barThicknesS:10});const c={labels:a.data.labels,datasets:a.data.datasets};t.setState({chartOtions:e,chartData:c,exceldata:s})}))})),"Switch To Quarterly"==this.state.modeText?this.setState({modeText:"Switch To Yearly"}):"Switch To Yearly"==this.state.modeText&&this.setState({modeText:"Switch To Quarterly"})}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"futureRentEscalationsOccupiers",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Contracted Rent, Future Expiry Area and Top 20 Occupiers by area expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Contracted Rent, Future Expiry Area and Top 20 Occupiers by area expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(Ot,{chartName:Od,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Future Rent Escalations Occupiers"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"FutureRentEscalationsOccupiers",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{Ct(wt,{chartName:Od,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.getModeData()},children:"Switch to ".concat("quarterly"==this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:Object(M.jsx)(ne.b,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:ud,filters:this.state.filters,chartHe
1ightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}ud.contextType=Wt;var yd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(ud);const fd="Top Assets";class wd extends i.a.Component{constructor(t){super(t),this.extractDevName=t=>{try{const e=JSON.parse(t);e&&e.developers&&e.developers.length>0&&this.setState({devName:e.developers[0].value})}catch(e){console.error("Error parsing filters for developer name:",e)}},this.fetchData=(t,e)=>{this.setState({showLoader:!0,showGraph:!1});const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_developer_top_assets",a).then((t=>{let e=t.data.splice(0,5);this.setState({showLoader:!1,showGraph:!0,topAssets:e,jsonForExcel:it(e,{complex:{name:"Asset",type:"string"},year:{name:"Year Built/Acquired",type:"int"},area:{name:"Leasable Area",type:"int"},no_of_building:{name:"# of Buildings",type:"int"},no_of_tenants:{name:"# of Occupiers",type:"int"},passing_rent:{name:"Passing Rent (\u20b9/sqft/month)",type:"int"},market_rent:{name:"Starting Rent (Market Rent) (\u20b9/sqft/month)",type:"int"},wale:{name:"WALE",type:"int"}})})}))},this.state={showLoader:!1,showGraph:!1,topAssets:[],devName:"",jsonForExcel:[]}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.extractDevName(t),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||(this.extractDevName(a),this.fetchData(a,this.props.areaType))}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"Loading"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsxs)("p",{children:["Top Assets of ",this.state.devName," - By Leasable Area"]})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:fd,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Assets"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"TopAssets",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:fd,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),q("#topAssets","TopAssets");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Top Assets"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topAssets",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Year Built/Acquired"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Leasable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"# of Buildings"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"# of Occupiers"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Passing Rent"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Starting Rent (Market Rent)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"WALE"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Occupancy"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Ready Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Under Construction Area"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end"}
1),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/sqft/month)"})}),Object(M.jsx)("th",{className:"text-end"}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(%)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(msf)"})})]})]}),Object(M.jsx)("tbody",{children:this.state.topAssets.length>0&&this.state.topAssets.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{className:"text-end",children:t.year}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.no_of_building}),Object(M.jsx)("td",{className:"text-end",children:t.no_of_tenants}),Object(M.jsx)("td",{className:"text-end",children:t.passing_rent}),Object(M.jsx)("td",{className:"text-end",children:t.market_rent}),Object(M.jsx)("td",{className:"text-end",children:t.wale}),Object(M.jsx)("td",{className:"text-end",children:t.complex_occupancy_percent}),Object(M.jsx)("td",{className:"text-end",children:t.ready_area}),Object(M.jsx)("td",{className:"text-end",children:t.under_construction_area})]},e)))})]})})]})]})}}wd.contextType=Wt;var Nd=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(wd);const Sd="Area Leased - Transaction Size";const Dd={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#FFC45C","#E9B14F","#D49E41","#BE8B34","#A97827","#A5680F","#8F5A0C","#794C09","#633D06","#4D2F03"]};class Md extends i.a.Component{constructor(t){super(t),this.piexceldataFormate=(t,e,a)=>{const s=[];for(let i=0;i<t.data.x.length;i++){let l={};"undefined"!=typeof t.data.x&&(l[e]=t.data.x[i]),"undefined"!=typeof t.data.y&&(l[a]=t.data.y[i]),s.push(l)}return s},this.fetchData=(t,e,a,s,i)=>{let l;this.setState({showLoader:!0,showGraph:!1}),"undefined"!=typeof this.props.bodyParams?l=this.props.bodyParams:(l=new FormData,l.append("filter",t),e&&l.append("area_type",e),a&&a.length>0&&"ull"!==a&&s&&s.length>0&&"ull"!==s&&i&&i.length>0&&(l.append("start_date",a),l.append("end_date",s),l.append("which_date",i))),jt.post("api/edge/office/get_developer_transaction_size",l).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["Range","Size"]);let i=!0;$(t.data.y)&&(i=!1);const o=this.piexceldataFormate(t,"Transaction Range","Size");this.setState({showLoader:!1,showGraph:!0,googlePieChartData:s,noGraph:i,exceldata:o,bodyParams:l})}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Sd,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType,this.state.start_date,this.state.end_date,this.state.which_date)}componentDidUpdate(t,e){const a=JSON.stringify(t.filters),s=JSON.stringify(this.props.filters),i=s!==a,l=this.props.areaType!==t.areaType,o=this.state.start_date!==e.start_date||this.state.end_date!==e.end_date||this.state.which_date!==e.which_date;if(i||l||o){let t="{}"===s?JSON.stringify(this.context.filters):s;this.fetchData(t,this.props.areaType,this.state.start_date,this.state.end_date,this.state.which_date)}}downloadPdf(){Ct(gt,{chartName:Sd,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("areaLeasedTransactionSize");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("AreaLeasedTransactionSize.pdf")}))}render(){const t={};t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name;let e="{}"===JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters);return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"areaLeasedTransactionSize",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}
1),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Area Leased - Transaction Size ",Object(M.jsx)("span",{children:"(sqft)"})]}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"no graph"})})]}),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Area Leased - Transaction Size ",Object(M.jsx)("span",{children:"(sqft)"})]}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Area Leased TransactionSize"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Sd,filters:e});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Area Leased TransactionSize"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"AreaLeasedTransactionSize",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Sd,filters:e}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Dd,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Md,filters:e,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Md.contextType=Wt;var Cd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Md);const Fd="Area Leased - Transaction Size";class Bd extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode;this.props.globalMode&&this.props.globalMode!==this.state.globalMode&&(e=this.props.globalMode);let a,s={filter:t,area_type:this.props.areaType||"",mode:e};"undefined"!==typeof this.props.bodyParams?(a=this.props.bodyParams,a.forEach(((t,e)=>{s[e]=t}))):(a=new FormData,a.append("filter",JSON.stringify(t)),a.append("area_type",this.props.areaType||""),a.append("mode",e),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date),s.start_date=this.state.start_date,s.end_date=this.state.end_date,s.which_date=this.state.which_date));const i=JSON.stringify(s);this.lastFetchedPayload!==i&&(this.lastFetchedPayload=i,this.setState({showLoader:!0,showGraph:!1,globalMode:this.props.globalMode,mode:e,bodyParams:a}),jt.post("api/edge/office/get_developer_transaction_size_quarterly",a).then((t=>{let a=st(this.state.start_date,this.state.end_date)?5:10;const s=Object.keys(t.data.datapoints||{}),i=Object.keys(t.data.bgcolor||{}),l=[];for(let e=0;e<s.length;e++){const o=s[e],c=i[e],n=t.data.datapoints[o];l.push({label:o,data:n,backgroundColor:t.data.bgcolor[c],borderWidth:0,barThickness:a,borderRadius:10})}const o={labels:t.data.x,datasets:l},c=this.generateChartOptions(t.data.x,e);let n=!0;n=!($(t.data.datapoints["5k_to_10k"])||$(t.data.datapoints["10k_to_20k"])||$(t.data.datapoints["20k_to_50k"])||$(t.data.datapoints["50k_to_100k"])||$(t.data.datapoints["<_5k"])||$(t.data.datapoints["<_100k"])),this.setState({showLoader:!1,showGraph:!0,noGraph:n,xAxis:t.data.x,barThicknesS:a,chartData:o,chartOtions:c,exceldata:tt(t)})})))},this.generateChartOptions=(t,e)=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===e||"quarter"===e?"Quarters":"Years"},ticks:{callback:(e,a)=>"undefined"!==typeof t[a]&&/\s/.test(t)?t[a].split(" "):"undefined"!==typeof t[a]&&t.length>0?t[a]:"",autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:t=>{if("undefined"!==typeof t.tooltip.dataPoints){let e="colorGreen",a=j.d,s=t.tooltip.dataPoints[0].dataIndex,i=0===s?0:s-1,l=parseFloat(t.tooltip.dataPoints[0].dataset.data[s]),o=parseFloat(t.tooltip.dataPoints[0].dataset.data[i]);l<o&&(e="colorRed",a=j.c);let c=parseFloat(100*(l-o)/o).toFixed(2)+"%";"Infinity%"!==c&&"NaN%"!==c||(c=""),this.setState({tooltipClassname:e,tooltipArrow:a,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:c})}}}}}),this.downloadPdf=()=>{Ct(gt,{chartName:Fd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("areaLeasedTransactionSizeTwo");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("AreaLeasedTransactionSize.pdf");let o=new FormData;o.append("path",window.location.pathname),o.append("action","pdf_download"),o.append("count",1),o.append("hash",window.location.search.split("?").pop()),o.append("screen_sub_type","Area Leased TransactionSize"),jt.post("api/user-activity/log-activity",o).then((t=>{}))}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Fd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="quarterly"===this.state.mode||"quarter"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Fd,mode:t,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters),extra:{from_mode:this.state.mode}}),this.setState({mode:t})},this.state={globalMode:"",mode:"quarterly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"areaLeasedTransactionSizeTwo",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Area Leased - Transaction Size",Object(M.jsx)("span",{children:"(sqft)"})]}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Area Leased - Transaction Size",Object(M.jsx)("span",{children:"(sqft)"})]}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:this.downloadPdf,children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Fd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Area Leased TransactionSize"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"AreaLeasedTransactionSize",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Fd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:"Switch to ".concat("quarterly"===this.state.mode||"quarter"===this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Bd,filters:this.context.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Bd.contextType=Wt;var vd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Bd);const Td="Upcomming Supply";class Id extends i.a.Component{constructor(t){super(t),this.fetchData=()=>{this.setState({showLoader:!0});let t,e="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters;"undefined"!==typeof this.props.bodyParams?t=this.props.bodyParams:(t=new FormData,t.append("filter",JSON.stringify(e)),t.append("area_type",this.props.areaType||""),t.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date))),jt.post("api/edge/office/get_developer_upcoming_supply_quarterly",t).then((e=>{let a=st(this.state.start_date,this.state.end_date)?5:10,s={labels:e.data.x,datasets:[{label:e.data.legend.y1,data:e.data.datapoints.y1,backgroundColor:e.data.bgcolor.y1,borderWidth:0,barThickness:a,borderRadius:10}]},i=!0;$(e.data.datapoints.y1)&&(i=!1);const l=this.generateChartOptions(e.data.x,this.state.mode);this.setState({showLoader:!1,noGraph:i,xAxis:e.data.x,barThicknesS:a,chartData:s,chartOtions:l,exceldata:tt(e),bodyParams:t})}))},this.generateChartOptions=(t,e)=>({responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===e||"quarter"===e?"Quarters":"Years",color:"white"},ticks:{callback:(e,a)=>/\s/.test(t)&&"undefined"!==typeof t[a]?t[a].split(" "):t.length>0&&"undefined"!==typeof t[a]?t[a]:"",autoSkip:!1,color:"white",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)",color:"#fff"},ticks:{color:"white"}}}
1,plugins:{legend:{display:!0,labels:{color:"#fff",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:t=>{if("undefined"!==typeof t.tooltip.dataPoints){let e="colorGreen",a=j.d,s=t.tooltip.dataPoints[0].dataIndex,i=0===s?0:s-1,l=parseFloat(t.tooltip.dataPoints[0].dataset.data[s]),o=parseFloat(t.tooltip.dataPoints[0].dataset.data[i]);l<o&&(e="colorRed",a=j.c);let c=parseFloat(100*(l-o)/o).toFixed(2)+"%";"Infinity%"!==c&&"NaN%"!==c||(c=""),this.setState({tooltipClassname:e,tooltipArrow:a,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:c})}}}}}),this.downloadPdf=()=>{Ct(gt,{chartName:Td,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("upcommingSupply");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("UpcommingSupply.pdf")}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Td,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="quarterly"===this.state.mode||"quarter"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Td,mode:t,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters),extra:{from_mode:this.state.mode}}),this.setState({mode:t})},this.state={globalMode:"",mode:"quarterly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,isOpen:!1,start_date:"",end_date:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){let t=this.state.mode;this.props.globalMode&&(t=this.props.globalMode),this.setState({mode:t,globalMode:this.props.globalMode},(()=>{this.fetchData()}))}componentDidUpdate(t,e){const a=JSON.stringify(this.props.filters)!==JSON.stringify(t.filters),s=this.props.areaType!==t.areaType,i=this.props.globalMode!==t.globalMode,l=this.state.mode!==e.mode,o=this.state.start_date!==e.start_date||this.state.end_date!==e.end_date;a||s||i?i?this.setState({mode:this.props.globalMode,globalMode:this.props.globalMode},(()=>{this.fetchData()})):this.fetchData():(l||o)&&this.fetchData()}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date};return Object(M.jsxs)("div",{className:"widget widgetGraph tableBlue",id:"upcommingSupply",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{style:{color:"#FFF"},children:"Upcomming Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}
1),!this.state.showLoader&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{style:{color:"#FFF"},children:"Upcomming Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Upcomming Supply"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Td,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Upcomming Supply"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"UpcommingSupply",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Td,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:"Switch to ".concat("quarterly"===this.state.mode||"quarter"===this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",style:{height:"300px"},children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Id,filters:this.context.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Id.contextType=Wt;var _d=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Id);const Ed="City-wise Presence";const Ud={pieHole:.4,pieSliceText:"none",chartArea:{left:0,height:250,width:600},legendTextStyle:{color:"black",fontSize:"13",top:10,left:50,position:"start"},sliceVisibilityThreshold:0,pieResidueSliceLabel:"Other",legend:{position:"labeled",textStyle:{color:"#000"},alignment:"start",labeledValueText:"both"},colors:["#fbeb4e","#f8d448","#f5bc42","#f2a53b","#ef8e35","#d66112","#bf550e","#a7490a","#903e06","#793202"]};class Rd extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e,a,s)=>{let i;"undefined"!=typeof this.props.bodyParams?i=this.props.bodyParams:(i=new FormData,i.append("filter",t),e&&i.append("area_type",e),a&&a.length>0&&"ull"!==a&&s&&s.length>0&&"ull"!==s&&(i.append("start_date",a),i.append("end_date",s))),jt.post("api/edge/office/get_developer_citywise_area",i).then((t=>{let e=t.data.x,a=t.data.y;const s=e.map(((t,e)=>[t,Number(a[e])]));s.unshift(["City","Presence"]);let l=!0;$(t.data.y)&&(l=!1);const o=et(t,"City","Presence");this.setState({googlePieChartData:s,noGraph:l,exceldata:o,bodyParams:i}
1)}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Ed,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={googlePieChartData:[["data","0"]],noGraph:!1,expandChartKey:Math.random(),expandChart:!1,isOpen:!1,start_date:"",end_date:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType,this.state.start_date,this.state.end_date)}componentDidUpdate(t,e){const a=JSON.stringify(t.filters),s=JSON.stringify(this.props.filters),i=s!==a,l=this.props.areaType!==t.areaType,o=this.state.start_date!==e.start_date||this.state.end_date!==e.end_date;if(i||l||o){let t="{}"===s?JSON.stringify(this.context.filters):s;this.fetchData(t,this.props.areaType,this.state.start_date,this.state.end_date)}}downloadPdf(){Ct(gt,{chartName:Ed,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("citywisePresence");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("CitywisePresence.pdf")}))}render(){const t={};t.startDate=this.state.start_date,t.endDate=this.state.end_date;let e="{}"===JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters);return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"citywisePresence",children:[this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"City-wise Presence"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph Available"})})]}),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"City-wise Presence"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","City wise Presence"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Ed,filters:e});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","City wise Presence"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"CitywisePresence",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Ed,filters:e}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}
1),Object(M.jsx)("div",{className:this.state.chartHeightClass,children:Object(M.jsx)(Ye.a,{chartType:"PieChart",data:this.state.googlePieChartData,options:Ud,width:"100%",height:"450px"})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Rd,filters:e,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Rd.contextType=Wt;var Yd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(Rd);class Qd extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={noGraph:!1,expandChartKey:Math.random(),expandChart:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",chartOtions:{},chartData:{labels:[],datasets:[]},exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12 allChartHeight"}}componentDidMount(){var t;if(t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,"undefined"!=typeof this.props.bodyParams)var e=this.props.bodyParams;else(e=new FormData).append("filter",t);const a={responsive:!0,maintainAspectRatio:!1,type:"pie",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}},aspectRatio:.5};jt.post("api/edge/office/get_developer_sectorwise_area",e).then((t=>{const e={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0}),this.setState({chartOtions:a,chartData:e})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});const e={responsive:!0,maintainAspectRatio:!1,type:"pie",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}},aspectRatio:.5};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)):"undefined"!=typeof this.props.bodyParams&&(t=this.props.bodyParams),this.setState({bodyParams:t}),jt.post("api/edge/office/get_developer_sectorwise_area",t).then((t=>{const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};$(t.data.y)?this.setState({noGraph:!1}):this.setState({noGraph:!0});const s=et(t,"Sector","Area(%)");this.setState({chartOtions:e,chartData:a,exceldata:s})}))}}downloadPdf(){const t=document.getElementById("sectorBreakupAreaOccupied");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("SectorBreakupAreaOccupied.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"sectorBreakupAreaOccupied",children:[this.state.noGra
1ph&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})}),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Sector Break-up of Area Occupied"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"SectorBreakupAreaOccupied",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Qd,filters:this.state.filters,chartHeightClass:"col-lg-12",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Qd.contextType=Wt;Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Qd);const kd="Future Rent and Area Expiry";class Pd extends i.a.Component{constructor(t){super(t),this.getChartOptions=()=>{const t=this;return{responsive:!0,maintainAspectRatio:!1,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"===this.state.mode||"quarter"===this.state.mode?"Quarters":"Years"},ticks:{callback:function(e,a,s){return"undefined"!=typeof t.state.xAxis&&/\s/.test(t.state.xAxis)&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a].split(" "):"undefined"!=typeof t.state.xAxis&&t.state.xAxis.length>0&&"undefined"!=typeof t.state.xAxis[a]?t.state.xAxis[a]:""},autoSkip:!1,color:"black",font:{size:10}}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}},y1:{grid:{display:!1,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"},position:"right"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){if("undefined"!=typeof e.tooltip.dataPoints){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0===i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(e.tooltip.dataPoints[0].dataset.data[i])-parseFloat(e.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(e.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!==o&&"NaN%"!==o||(o=""),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}}}},this.fetchGraphData=t=>{jt.post("api/edge/office/get_developer_rent_escalation_lease_expiry",t).then((e=>{let a=10;st(this.state.start_date,this.state.end_date)&&(a=5);const s={labels:e.data.x,datasets:[{type:"line",label:e.data.legend.y2,data:e.data.datapoints.y2,backgroundColor:e.data.bgcolor.y2,borderColor:e.data.bgcolor.y2,yAxisID:"y1"},{type:"bar",label:e.data.legend.y1,data:e.data.datapoints.y1,backgroundColor:e.data.bgcolor.y1,borderWidth:0,barThickness:a,borderRadius:10,yAxisID:"y"}]};let i=!0;($(e.data.datapoints.y1)||$(e.data.datapoints.y2))&&(i=!1),this.setState({xAxis:e.data.x,barThicknesS:a,chartData:s,chartOtions:this.getChartOptions(),exceldata:tt(e),noGraph:i,bodyParams:t})}))},this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:kd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getModeData=()=>{const t="yearly"===this.state.mode?"quarterly":"yearly",e="Switch To Quarterly"===this.state.modeText?"Switch To Yearly":"Switch To Quarterly";Ct(Nt,{chartName:kd,mode:t,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters),extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:e,showLoader:!0,showGraph:!1},(()=>{let t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),t.append("mode",this.state.mode),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0?(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(t=this.props.bodyParams),this.fetchGraphData(t)}))},this.state={areaType:"",globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[],exceldata:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){console.log(this.props.chartHeightClass);let t="{}"===JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters);this.setState({areaType:this.props.areaType,globalMode:this.props.globalMode,filters:t},(()=>{let t=this.props.bodyParams;"undefined"===typeof t&&(t=new FormData,t.append("filter",this.state.filters)),this.fetchGraphData(t)}))}componentDidUpdate(t){const e=JSON.stringify(this.props.filters)!==JSON.stringify(t.filters),a=this.props.areaType!==t.areaType,s=this.props.globalMode!==t.globalMode;if(e||a||s){let t=this.state.mode;s&&(t=this.props.globalMode),this.setState({filters:JSON.stringify(this.props.filters),areaType:this.props.areaType,globalMode:this.props.globalMode,mode:t},(()=>{let e=new FormData;e.append("filter",JSON.stringify(this.props.filters)),e.append("mode",t),e.append("area_type",this.props.areaType),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0?(e.append("end_date",this.state.end_date),e.append("start_date",this.state.start_date),e.append("which_date",this.state.which_date)):"undefined"!==typeof this.props.bodyParams&&(e=this.props.bodyParams),this.fetchGraphData(e)}))}}downloadPdf(){Ct(gt,{chartName:kd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("sectorwiseRent");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("FutureRentandAreaExpiry.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"sectorwiseRent",children:[this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rent and Area Expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100"})})]}
1),!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rent and Area Expiry"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Future Rent and Area Expiry"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:kd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Future Rent and Area Expiry"),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.exceldata,fileName:"FutureRentandAreaExpiry",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.openModal(),children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:kd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>this.getModeData(),children:this.state.modeText})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 sectorrr",style:{height:"300px"},children:Object(M.jsx)(ne.b,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Pd,filters:this.state.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Pd.contextType=Wt;var Gd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Pd);const Ld="Major Recent Transactions";class Vd extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_major_recent_lease_transactions",a).then((t=>{let e=t.data.splice(0,5);this.setState({majorSale:e,jsonForExcel:it(e,{complex:{name:"Asset",type:"string"},tenant:{name:"Occupier",type:"string"},area:{name:"ChargeableArea (sqft)",type:"int"},rent:{name:"Rent (\u20b9/sqft/month)",type:"int"},execution_date:{name:"Date",type:"string"},city:{name:"city",type:"string"}})})}))},this.closeErrorDisplayModal=()=>{this.setState({isOpenErrorDisplayModal:!1})},this.state={majorSale:[],isOpenErrorDisplayModal:!1,jsonForExcel:[]}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}verifyUser(t){if(0===this.props.downloadOption.edge_office_export)return this.setState({isOpenErrorDisplayModal:!0}),!1}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[0===this.props.downloadOption.edge_office_export&&Ob
1ject(M.jsx)("li",{className:"excelDownload",onClick:t=>{this.verifyUser(t)},children:"Download as Excel"}),1===this.props.downloadOption.edge_office_export&&Object(M.jsx)("li",{className:"excelDownload",onClick:t=>{Ft(Ot,{chartName:Ld,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let e=new FormData;e.append("path",window.location.pathname),e.append("action","excel_export"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Transaction"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.jsonForExcel,fileName:"MajorRecentTransaction",btnClassName:"download-table-xls-button"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{Ft(gt,{chartName:Ld,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),q("#majorrecentTransaction","MajorRecentTransaction");let e=new FormData;e.append("path",window.location.pathname),e.append("action","pdf_download"),e.append("count",1),e.append("hash",window.location.search.split("?").pop()),e.append("screen_sub_type","Major Recent Transaction"),jt.post("api/user-activity/log-activity",e).then((t=>{console.log(t)}))},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2 newFixedTable",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"majorrecentTransaction",children:[Object(M.jsxs)("thead",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Asset"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Occupier"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Chargeable Area"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("span",{children:"Rent"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"Date"})}),Object(M.jsx)("th",{children:Object(M.jsx)("span",{children:"City"})})]}),Object(M.jsxs)("tr",{className:"thwithNoPadding",children:[Object(M.jsx)("th",{}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(Sqft)"})}),Object(M.jsx)("th",{className:"text-end",children:Object(M.jsx)("b",{children:"(\u20b9/Sqft/Month)"})}),Object(M.jsx)("th",{}),Object(M.jsx)("th",{})]})]}),Object(M.jsx)("tbody",{children:this.state.majorSale.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{className:"text-end",children:t.area}),Object(M.jsx)("td",{className:"text-end",children:t.rent}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city})})]},e)))})]})})]}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsxs)(k.a,{show:this.state.isOpenErrorDisplayModal,onHide:this.closeErrorDisplayModal,className:"columnsModal timeModal notesModal",size:"lg",children:[Object(M.jsx)(k.a.Header,{closeButton:!0,children:Object(M.jsx)(k.a.Title,{children:"Notes"})}),Object(M.jsx)(k.a.Body,{children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("p",{children:["You do not have enough privileges to download data Kindly contact"," ",Object(M.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})})})})})]})})]})}}Vd.contextType=Wt;var zd=Object(D.b)((function(t){return{filters:t.selectedFilters,downloadOption:t.downloadOptions,areaType:t.areaType}}))(Vd);class Jd extends i.a.Component{constructor(t){super(t)}render(){return Object(M.jsx)("div",{className:"widget widgetTable latestNews",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Latest News"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Delhi Govt. Reduces Stamp Duty on Of\ufb01ce and Mall registrations."})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/et.png"})}),Object(M.jsx)("th",{children:"Delhi Govt. Reduces Stamp Duty on Of\ufb01ce and Mall registrations."})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Delhi Govt. Reduces Stamp Duty on Of\ufb01ce and Mall registrations."})]})]})})})]})})}}Jd.contextType=Wt;var Wd=Jd;class Hd extends i.a.Component{constructor(t){super(t)}render(){return Object(M.jsx)("div",{className:"widget widgetTable latestNews keyDocs",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Key Documents"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Latest Annual Report of DLF Cyber City Developers FY 2021"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/et.png"})}),Object(M.jsx)("th",{children:"Latest Quarterly Report of DLF Cyber City Developers Q3 FY 2021"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Registered Developer Agreement for New Commercial Project in Chandigarh"})]})]})})})]})})}}Hd.contextType=Wt;var Zd=Hd;const Xd="Demand by Sectors";class Kd extends i.a.Component{constructor(t){super(t),this.apiTimeout=null,this.lastFetchedPayload=null,this.queueFetchData=()=>{this.apiTimeout&&clearTimeout(this.apiTimeout),this.apiTimeout=setTimeout((()=>{this.fetchData()}),300)},this.fetchData=()=>{let t="{}"===JSON.stringify(this.props.filters)?this.context.filters:this.props.filters,e=this.state.mode;this.props.globalMode&&this.props.globalMode!==this.state.globalMode&&(e=this.props.globalMode);let a,s={filter:t,area_type:this.props.areaType||"",mode:e,graphText:this.state.graphText};"undefined"!==typeof this.props.bodyParams?(a=this.props.bodyParams,a.append("mode",e),a.forEach(((t,e)=>{s[e]=t}))):(a=new FormData,a.append("filter",JSON.stringify(t)),a.append("mode",e),a.append("area_type",this.props.areaType||""),this.state.end_date.length>0&&"ull"!==this.state.end_date&&this.state.start_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&(a.append("end_date",this.state.end_date),a.append("start_date",this.state.start_date),a.append("which_date",this.state.which_date),s.start_date=this.state.start_date,s.end_date=this.state.end_date,s.which_date=this.state.which_date));const i=JSON.stringify(s);this.lastFetchedPayload!==i&&(this.lastFetchedPayload=i,this.setState({showLoader:!0,showGraph:!1,isLoad:!1,globalMode:this.props.globalMode,mode:e,bodyParams:a}),jt.post("api/edge/office/get_developer_sectorwise_area_share",a).then((t=>{let a="By Area"===this.state.graphText?t.data.area_percenatge_share:t.data.area_actual_share,s=st(this.state.start_date,this.state.end_date)?5:10,i=[];
1if(a&&a.labels&&a.labels.length){a.datasets.forEach((t=>{t.borderRadius=10,t.barThickness=s}));for(let t=0;t<a.labels.length;t++){var l={};l["Year/Quarter"]=a.labels[t];for(let e=0;e<a.datasets.length;e++)l[a.datasets[e].label]=Number(a.datasets[e].data[t]);i.push(l)}}let o={labels:a?a.labels:[],datasets:a?a.datasets:[]};const c=this.generateChartOptions(e);this.setState({showLoader:!1,showGraph:!0,isLoad:!0,noGraph:!1,xAxis:t.data.x,barThicknesS:s,chartData:o,chartOtions:c,excelData:i})})))},this.generateChartOptions=t=>({plugins:{title:{display:!0},legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0,font:{size:12}}}},responsive:!0,maintainAspectRatio:!1,scales:{x:{stacked:!0,title:{display:!0,text:"quarterly"===t||"quarter"===t?"Quarters":"Years"}},y:{stacked:!0,title:{display:!0,text:"Area (msf)"}}}}),this.downloadPdf=()=>{Ct(gt,{chartName:Xd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});const t=document.getElementById("divToPrint");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default,s=a.getImageProperties(e),i=a.internal.pageSize.getWidth(),l=s.height*i/s.width;a.addImage(e,"JPEG",0,0,i,l),a.save("DemandbySectors.pdf")}))},this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,isOpen:!1})},this.openModal=()=>{Ct(ft,{chartName:Xd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.getData=()=>{this.setState({graphText:"By Area"===this.state.graphText?" By % Share":"By Area"})},this.getModeData=()=>{const t="quarterly"===this.state.mode||"quarter"===this.state.mode?"yearly":"quarterly";Ct(Nt,{chartName:Xd,mode:t,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters),extra:{from_mode:this.state.mode}}),this.setState({mode:t,modeText:"Switch To Quarterly"===this.state.modeText?"Switch To Yearly":"Switch To Quarterly"})},this.state={globalMode:"",mode:"quarterly",modeText:"Switch To Yearly",graphText:"By % Share",noGraph:!1,expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,isLoad:!1,isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",bodyParams:"",barThicknesS:10,tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:"",tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},excelData:[],xAxis:[],showEllipsis:"undefined"==typeof this.props.showEllipsis||this.props.showEllipsis,chartHeightClass:"undefined"!=typeof this.props.chartHeightClass?this.props.chartHeightClass:"col-lg-12"}}componentDidMount(){this.queueFetchData()}componentDidUpdate(){this.queueFetchData()}componentWillUnmount(){this.apiTimeout&&clearTimeout(this.apiTimeout)}render(){const t={startDate:this.state.start_date,endDate:this.state.end_date,dateType:this.state.which_date,dateTypeName:this.state.which_date_name};return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"divToPrint",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif",alt:"loader"})})}),!this.state.showLoader&&this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Demand by Sectors"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsx)("ul",{className:"downloadOptions",children:Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"})})]})}),Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/NoGraph-01.png",className:"w100",alt:"No Graph"})})]}
1),this.state.showGraph&&!this.state.noGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Demand by Sectors"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!==this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:this.state.showEllipsis&&Object(M.jsxs)("div",{className:"colorBlack downloads",children:[" ",Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getData,children:this.state.graphText}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{this.downloadPdf();let t=new FormData;t.append("path",window.location.pathname),t.append("action","pdf_download"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Demand by Sectors"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:"Download as PDF"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(Ot,{chartName:Xd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)});let t=new FormData;t.append("path",window.location.pathname),t.append("action","excel_export"),t.append("count",1),t.append("hash",window.location.search.split("?").pop()),t.append("screen_sub_type","Demand by Sectors"),jt.post("api/user-activity/log-activity",t).then((t=>{}))},children:Object(M.jsx)(re.a,{title:"Download as Excel",data:this.state.excelData,fileName:"DemandbySectors",btnClassName:"graphExcelDownloadBtn"})}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.openModal,children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:()=>{Ct(wt,{chartName:Xd,mode:this.state.mode,filters:JSON.stringify("{}"===this.props.filters?this.context.filters:this.props.filters)}),this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:this.getModeData,children:"Switch to ".concat("quarterly"===this.state.mode?"Yearly":"Quarterly")})]})]})}),Object(M.jsx)("div",{className:this.state.chartHeightClass,style:{minHeight:"300px"},children:this.state.isLoad&&Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Kd,filters:this.context.filters,chartHeightClass:"col-lg-12 allChartHeight",bodyParams:this.state.bodyParams},this.state.expandChartKey)]})}}Kd.contextType=Wt;var qd=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType,globalMode:t.globalMode}}))(Kd);class $d extends i.a.Component{constructor(t){var e;super(t),e=this,this.fetchNews=function(t,a){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s?e.setState({showLoader:!0,page:a,hasMore:!0}):e.setState({newsLoading:!0});const i=new FormData;i.append("filter",t),i.append("section","developer"),i.append("page",a),jt.post("api/edge/office/get_recent_news",i).then((t=>{const a=t.data||[];e.setState((t=>({data:s?a:[...t.data,...a],showLoader:!1,newsLoading:!1,hasMore:a.length>0})))})).catch((t=>{console.error("Error fetching recent news:",t),e.setState({showLoader:!1,newsLoading:!1,hasMore:!1})}))},this.fetchMoreData=()=>{const t=this.state.page+1;this.setState({page:t});let e=JSON.stringify(this.props.filters);"{}"!==e&&this.props.filters||(e=JSON.stringify(this.context.filters)),this.fetchNews(e,t,!1)},this.state={showLoader:!1,showGraph:!1,data:[],loading:!1,tableHeight:400,page:1,newsLoading:!1,hasMore:!0}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchNews(t,1,!0)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchNews(a,1,!0)}getComplexNames(t){if(!t)return null;let e=t.split(",");return e.map(((t,a)=>Object(M.jsxs)(i.a.Fragment,{children:[Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.trim()),children:t.trim()}),a<e.length-1?", ":""]},a)))}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recent News"})}),this.state.data.length>0&&Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(Aa.a,{dataLength:this.state.data.length,next:this.fetchMoreData,hasMore:this.state.hasMore,height:200,endMessage:Object(M.jsx)("p",{style:{textAlign:"center",paddingTop:"10px"},children:Object(M.jsx)("b",{children:"Yay! You have seen it all"})}),children:Object(M.jsxs)(fe.a,{striped:!0,bordered:!0,style:{width:"100%"},className:"newsTable",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("th",{children:"News Heading"}),Object(M.jsx)("th",{children:"Segment"}),Object(M.jsx)("th",{children:"Assets in News"}),Object(M.jsx)("th",{children:"Source"}),Object(M.jsx)("th",{children:"Date"})]})}),Object(M.jsx)("tbody",{children:this.state.data.map(((t,e)=>Object(M.jsxs)("tr",{style:{height:"60px"},children:[Object(M.jsx)("td",{children:Object(M.jsx)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:t.title})}),Object(M.jsx)("td",{children:t.segment}
1),Object(M.jsx)("td",{children:this.getComplexNames(t.complex_names)}),Object(M.jsx)("td",{children:t.source}),Object(M.jsx)("td",{children:R(t.timestamp).format("Do MMM YYYY")})]},e)))})]})})}),!this.state.showLoader&&0===this.state.data.length&&Object(M.jsx)("h6",{className:"mt-3 text-center w-100",children:"No Data Found"})]})})}}$d.contextType=Wt;var th=Object(D.b)((function(t){return{filters:t.selectedFilters}}))($d);class eh extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid developer p-0 spacingClassForDashboard",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-4 pe-0",children:Object(M.jsx)(Wr,{})}),Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsxs)("div",{class:"newDashboard dashboardWidgetRow m-0",children:[Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(Zr,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(Kr,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(ld,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(ed,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(sd,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)($r,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(cd,{})}),Object(M.jsx)("div",{class:"newDashboardInner withMorePadding",children:Object(M.jsx)(rd,{})})]})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(pd,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(xd,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(gd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(yd,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(Nd,{})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Cd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(vd,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(_d,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Yd,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(qd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Gd,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(zd,{})})}),Object(M.jsx)("div",{className:"row mb-0",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(th,{})})})]})}}var ah=Object(c.f)(eh);Zt()(["/edge/images/updated_logos/officestock.svg"]);class sh extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_total_office_stock_build",Z(t)).then((t=>{this.setState({sumOfChargeableArea:t.data.sum_of_chargeable_area,noOfComplexes:t.data.no_of_complxes})}))},this.state={sumOfChargeableArea:0,noOfComplexes:0}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Total Office Stock Built Icon",src:"/edge/images/updated_logos/officestock.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.sumOfChargeableArea," msf"," ",Object(M.jsxs)("span",{children:["(",this.state.noOfComplexes," Assets)"]})]}),Object(M.jsx)("p",{children:"Total Office Stock Built"})]})]})}}sh.contextType=Wt;var ih=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(sh);Zt()(["/edge/images/updated_logos/underconstructiion.svg"]);class lh extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_upcoming_supply",a).then((t=>{this.setState({sumOfChargeableArea:t.data.sum_of_chargeable_area,noOfComplexes:t.data.no_of_complxes})}))},this.state={sumOfChargeableArea:0,noOfComplexes:0}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Under Construction Icon",src:"/edge/images/updated_logos/underconstructiion.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.sumOfChargeableArea," msf"," ",Object(M.jsxs)("span",{children:["(",this.state.noOfComplexes," Assets)"]})]}),Object(M.jsx)("p",{children:"Under Construction"})]})]})}}lh.contextType=Wt;var oh=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(lh);Zt()(["/edge/images/updated_logos/prposed.svg"]);class ch extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_developer_proposed_development",Z(t)).then((t=>{this.setState({proposedDevelopment:t.data.proposed_development})})).catch((t=>console.error("Error fetching proposed development:",t)))},this.state={proposedDevelopment:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Proposed Development Icon",src:"/edge/images/updated_logos/prposed.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.proposedDevelopment}
1),Object(M.jsx)("p",{children:"Proposed Development"})]})]})}}ch.contextType=Wt;var nh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ch);Zt()(["/edge/images/updated_logos/vacancy.svg"]);class rh extends i.a.Component{constructor(t){super(t),this.fetchData=(t,e)=>{const a=new FormData;a.append("filter",t),e&&a.append("area_type",e),jt.post("api/edge/office/get_current_vacancy",a).then((t=>{this.setState({areaActual:t.data.area_actual,areaPerc:t.data.area_perc})})).catch((t=>console.error("Error fetching current vacancy:",t)))},this.state={areaActual:0,areaPerc:0}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t,this.props.areaType)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a===e&&this.props.areaType===t.areaType||this.fetchData(a,this.props.areaType)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass position-relative",children:[Object(M.jsxs)("div",{className:"infoCircle text-end",children:[Object(M.jsx)(p.a,{icon:j.k,style:{color:"#cccccc"}}),Object(M.jsx)("div",{className:"vacancyInfo2",style:{display:"none"},children:Object(M.jsx)("p",{className:"text-center",children:"Vacancy is based on registered leases only"})})]}),Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/updated_logos/vacancy.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorGreen",children:[Object(M.jsxs)("h2",{children:[this.state.areaActual," ",Object(M.jsxs)("span",{children:["(",this.state.areaPerc," %)"]})," "]}),Object(M.jsx)("p",{children:"Current Vacancy"})]})]})}}rh.contextType=Wt;var dh=Object(D.b)((function(t){return{filters:t.selectedFilters,areaType:t.areaType}}))(rh);Zt()(["/edge/images/updated_logos/assetpresence.svg"]);class hh extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_developer_occupiers",Z(t)).then((t=>{this.setState({occupiers:t.data.tenant_cnt})})).catch((t=>console.error("Error fetching occupiers:",t)))},this.state={occupiers:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Occupiers Icon",src:"/edge/images/updated_logos/assetpresence.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.occupiers}),Object(M.jsx)("p",{children:"# Occupiers"})]})]})}}hh.contextType=Wt;var ph=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(hh);Zt()(["/edge/images/updated_logos/passingrent.svg"]);class jh extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_current_passing_rent",Z(t)).then((t=>{this.setState({currentPassingRent:t.data.current_passing_rent})})).catch((t=>console.error("Error fetching current passing rent:",t)))},this.state={currentPassingRent:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsxs)("h2",{children:[this.state.currentPassingRent," sqft/month"]}),Object(M.jsx)("p",{children:"Current Passing Rent"})]})]})}}jh.contextType=Wt;var Ah=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(jh);Zt()(["/edge/images/updated_logos/wale.svg"]);class xh extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_developer_wale",Z(t)).then((t=>{this.setState({wale:t.data.wale})}))},this.state={wale:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"WALE Icon",src:"/edge/images/updated_logos/wale.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.wale}),Object(M.jsx)("p",{children:"WALE"})]})]})}}xh.contextType=Wt;var bh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(xh);Zt()(["/edge/images/updated_logos/passingrent.svg"]);class mh extends i.a.Component{constructor(t){super(t),this.fetchData=t=>{jt.post("api/edge/office/get_developer_effective_rent",Z(t)).then((t=>{this.setState({effectiveRent:t.data.effective_rent})})).catch((t=>console.error("Error fetching effective rent:",t)))},this.state={effectiveRent:""}}componentDidMount(){let t=JSON.stringify(this.props.filters);"{}"!==t&&this.props.filters||(t=JSON.stringify(this.context.filters)),this.fetchData(t)}componentDidUpdate(t){const e=JSON.stringify(t.filters),a=JSON.stringify(this.props.filters);a!==e&&this.fetchData(a)}render(){return Object(M.jsxs)("div",{className:"newWidgetClass",children:[Object(M.jsx)("img",{alt:"Effective Rent Icon",src:"/edge/images/updated_logos/passingrent.svg",className:"imgWidth100"}),Object(M.jsxs)("div",{className:"colorBlue",children:[Object(M.jsx)("h2",{children:this.state.effectiveRent}),Object(M.jsx)("p",{children:"Effective Rent"})]})]})}}mh.contextType=Wt;var gh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(mh);class Oh extends i.a.Component{componentDidMount(){let t=new FormData;t.append("path",window.location.pathname),t.append("action","visited"),window.location.search.includes("?")?t.append("hash",window.location.search.split("?").pop()):t.append("hash",""),jt.post("api/user-activity/log-activity",t).then((t=>{console.log(t)}))}render(){return Object(M.jsxs)("div",{className:"container-fluid developer p-0 spacingClassForDashboard",children:[Object(M.jsxs)("div",{class:"newDashboard dashboardWidgetRow",children:[Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ih,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(oh,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(Ah,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(dh,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(ph,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(n
1h,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(bh,{})}),Object(M.jsx)("div",{class:"newDashboardInner",children:Object(M.jsx)(gh,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(pd,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(xd,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(gd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(yd,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(Nd,{})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Cd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(vd,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(_d,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Yd,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(qd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Gd,{})})]}),Object(M.jsx)("div",{className:"row mb-0",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(zd,{})})})]})}}var uh=Object(c.f)(Oh);class yh extends i.a.Component{constructor(){super(...arguments),this.state={filters:"{}",mounted:!1}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t,mounted:!0})}componentDidUpdate(){this.state.filters!==JSON.stringify(this.props.filters)&&this.setState({filters:JSON.stringify(this.props.filters)})}renderDeveloper(){if(1==this.state.mounted){var t=JSON.parse(this.state.filters);return console.log(t),void 0===t.developers||0===t.developers.length?Object(M.jsx)(zr,{}):1===t.developers.length?Object(M.jsx)(ah,{}):Object(M.jsx)(uh,{})}return Object(M.jsx)(M.Fragment,{})}render(){return void 0!==this.state.filters?this.renderDeveloper():Object(M.jsx)(M.Fragment,{children:"Loading"})}}yh.contextType=Wt;var fh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(yh);class wh extends i.a.Component{constructor(t){super(t),this.state={ownerDetails:[],filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_details",Z(t)).then((t=>{console.log(t),this.setState({ownerDetails:t.data[0]},(()=>{console.log(this.state.ownerDetails)}))}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_details",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({ownerDetails:t.data[0]})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloper",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:this.state.ownerDetails.image,class:"imgWidth100"})}),Object(M.jsx)("div",{className:"borderBottom"}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:this.state.ownerDetails.year_founded}),Object(M.jsx)("p",{children:"Year Founded"})]})}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:this.state.ownerDetails.headquarters}),Object(M.jsx)("p",{children:"Head quarters"})]})}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:this.state.ownerDetails.website}),Object(M.jsx)("p",{children:"Website"})]})}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:"-"}),Object(M.jsx)("p",{children:"Latest Investor PPT"})]})})]})})}}wh.contextType=Wt;var Nh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(wh);class Sh extends i.a.Component{constructor(){super(...arguments),this.state={totalOfficeStockBuilt:{},filters:"",urlFilter:""}}componentDidMount(){var t;if(t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_office_stock_built",Z(t)).then((t=>{console.log(t),this.setState({totalOfficeStockBuilt:t.data})})),void 0!=W.get.filter){var e=(new Date).toISOString();const t=JSON.parse(W.get.filter);t.end_occupancy_date_orig=e,console.log(JSON.stringify(t)),this.setState({urlFilter:"?filter="+JSON.stringify(t)})}else this.setState({urlFilter:""})}componentDidUpdate(){if(this.props.filters!=this.state.filters)if(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_office_stock_built",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({totalOfficeStockBuilt:t.data})})),void 0!=W.get.filter){var t=(new Date).toISOString();const e=JSON.parse(W.get.filter);e.end_occupancy_date_orig=t,console.log(JSON.stringify(e)),this.setState({urlFilter:"?filter="+JSON.stringify(e)})}else this.setState({urlFilter:""})}render(){return Object(M.jsx)(n.b,{to:"/office/asset/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorLightBlue",children:[Object(M.jsx)("h1",{children:this.state.totalOfficeStockBuilt.office_stock_built}),Object(M.jsxs)("p",{children:["(",this.state.totalOfficeStockBuilt.no_of_assets," Assets)"]}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})})}}Sh.contextType=Wt;var Dh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Sh);class Mh extends i.a.Component{constructor(){super(...arguments),this.state={underConstruction:{},filters:"",urlFilter:""}}componentDidMount(){var t;if(t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_under_construction",Z(t)).then((t=>{console.log(t),this.setState({underConstruction:t.data})})),void 0!=W.get.filter){var e=(new Date).toISOString();const t=JSON.parse(W.get.filter);t.start_occupancy_date_orig=e,console.log(JSON.stringify(t)),this.setState({urlFilter:"?filter="+JSON.stringify(t)})}else this.setState({urlFilter:""})}componentDidUpdate(){if(this.props.filters!=this.state.filters)if(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_under_construction",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({underConstruction:t.data})})),void 0!=W.get.filter){var t=(new Date).toISOString();const e=JSON.parse(W.get.filter);e.start_occupancy_date_orig=t,console.log(JSON.stringify(e)),this.setState({urlFilter:"?filter="+JSON.stringify(e)})}else this.setState({urlFilter:""})}render(){return Object(M.jsx)(n.b,{to:"/office/asset/".concat(this.state.urlFilter),target:"_blank",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/updated_logos/underconstructiion.svg",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsxs)("h1",{children:[this.state.underConstruction.area," msf"]}),Object(M.jsxs)("p",{children:["(",this.state.underConstruction.no_of_assets," Assets)"]}),Object(M.jsx)("p",{class:"widgetName",children:"Under Construction - 36 months"})]})]})})})}}Mh.contextType=Wt;var Ch=Mh;class Fh extends i.a.Component{constructor(){super(...arguments),this.state={cities:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_city_presence",Z(t)).then((t=>{console.log(t),this.setState({cities:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_city_presence",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({cities:t.data})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/current_coverage.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorBlue",children:[Object(M.jsx)("h1",{children:this.state.cities.no_of_cities}),Object(M.jsx)("p",{class:"widgetName",children:"Presence (Cities) "})]})]})})}}Fh.contextType=Wt;var Bh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Fh);class vh extends i.a.Component{constructor(){super(...arguments),this.state={vacancy:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_current_vacancy",Z(t)).then((t=>{console.log(t),this.setState({vacancy:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_current_vacancy",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({vacancy:t.data})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/current_vacancy.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsxs)("h1",{children:[this.state.vacancy.vacancy,"%"]}),Object(M.jsx)("p",{class:"widgetName",children:"Current Vacancy"})]})]})})}}vh.contextType=Wt;var Th=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(vh);class Ih extends i.a.Component{constructor(){super(...arguments),this.state={occupiers:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_occupiers",Z(t)).then((t=>{console.log(t),this.setState({occupiers:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_occupiers",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({occupiers:t.data})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/occupiers.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsx)("h1",{children:this.state.occupiers.no_of_tenants}),Object(M.jsx)("p",{class:"widgetName",children:"# Occupiers"})]})]})})}}Ih.contextType=Wt;var _h=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Ih);class Eh extends i.a.Component{constructor(){super(...arguments),this.state={totalOfficeStockBuilt:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_office_stock_built",Z(t)).then((t=>{console.log(t),this.setState({totalOfficeStockBuilt:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_office_stock_built",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({totalOfficeStockBuilt:t.data})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/current_passing_rent.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorBlue",children:[Object(M.jsx)("h1",{children:"\u20b971"}),Object(M.jsx)("p",{children:"Sqft/Month"}),Object(M.jsx)("p",{class:"widgetName",children:"Current Passing Rent"})]})]})})}}Eh.contextType=Wt;var Uh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Eh);class Rh extends i.a.Component{constructor(){super(...arguments),this.state={wale:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_wale",Z(t)).then((t=>{console.log(t),this.setState({wale:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_wale",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({wale:t.data})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/wale.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsx)("h1",{children:this.state.wale.wale}),Object(M.jsx)("p",{class:"widgetName",children:"WALE"})]})]})})}}
1Rh.contextType=Wt;var Yh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Rh);class Qh extends i.a.Component{constructor(){super(...arguments),this.state={effectiveRent:{},filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_effective_rent",Z(t)).then((t=>{console.log(t),this.setState({effectiveRent:t.data})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_owner_effective_rent",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({effectiveRent:t.data})})))}render(){return Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/current_passing_rent.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorBlue",children:[Object(M.jsx)("h1",{children:this.state.effectiveRent.effective_rent}),Object(M.jsx)("p",{class:"widgetName",children:"Effective Rent"})]})]})})}}Qh.contextType=Wt;var kh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Qh);class Ph extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_owner_demand_supply_chart",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t;const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};jt.post("api/edge/office/get_owner_demand_supply_chart",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_owner_demand_supply_chart",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10},{label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}}downloadPdf(){const t=document.getElementById("demandSupplyVacancy");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("demandSupplyVacancy.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"demandSupplyVacancy",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Demand, Supply & Vacancy"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Ph,filters:this.state.filters},this.state.expandChartKey)]})}}Ph.contextType=Wt;var Gh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Ph);class Lh extends i.a.Component{constructor(t){super(t),this.state={topOccupiers:[],filters:"",showLoader:!1,showGraph:!1}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_top_occupiers",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({topOccupiers:t.data.splice(0,10)})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_owner_top_occupiers",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({topOccupiers:t.data.splice(0,10)})})))}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",children:Object(M.jsx)(Te.a,{id:"topOccupiersTableXlsButton",className:"download-table-xls-button",table:"topOccupiers",filename:"topOccupiers",sheet:"topOccupiers",buttonText:"Download as Excel"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#topOccupiers","topOccupiers")},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topOccupiers",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Occupier Name"}),Object(M.jsx)("th",{children:"Area Leased"}),Object(M.jsx)("th",{children:"Wt. Avg. Current Rent."}),Object(M.jsx)("th",{children:"WALE"})]})}),Object(M.jsx)("tbody",{children:this.state.topOccupiers.length>0&&this.state.topOccupiers.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.area}),Object(M.jsx)("td",{children:t.current_passing_rent}
1),Object(M.jsx)("td",{children:t.wale})]},e)))})]})})]})]})}}Lh.contextType=Wt;var Vh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Lh);class zh extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,this.setState({}),this.state.showGraph){let t=document.getElementById("rentalTrendsDevelopers").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff")}jt.post("api/edge/office/get_owners_rentals_anlysis_chart",Z(t)).then((t=>{this.setState({xAxis:t.data.x})}));const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"Quarters"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Quarters"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){("undefined"!==typeof t.tooltip.dataPoints[0].parsed.y&&t.tooltip.dataPoints[0].parsed.y!==e.state.tooltipYLabel||"undefined"!==typeof t.tooltip.dataPoints[0].label&&t.tooltip.dataPoints[0].label!==e.state.tooltipxLabel)&&e.setState({tooltipClassname:"colorRed",tooltipArrow:j.c,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_owners_rentals_anlysis_chart",Z(t)).then((t=>{if(this.setState({showLoader:!1,showGraph:!0}),t.data){let s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.date,borderColor:t.data.bgcolor.y1,backgroundColor:t.data.bgcolor.y1}]};e.setState({chartOtions:a,chartData:s})}}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){if(this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),this.state.showGraph){let t=document.getElementById("rentalTrendsDevelopers").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff")}const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"Quarters"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Quarters"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){("undefined"!==typeof t.tooltip.dataPoints[0].parsed.y&&t.tooltip.dataPoints[0].parsed.y!==e.state.tooltipYLabel||"undefined"!==typeof t.tooltip.dataPoints[0].label&&t.tooltip.dataPoints[0].label!==e.state.tooltipxLabel)&&e.setState({tooltipClassname:"colorRed",tooltipArrow:j.c,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_owners_rentals_anlysis_chart",t).then((t=>{if(this.setState({showLoader:!1,showGraph:!0}),t.data){let s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.date,borderColor:t.data.bgcolor.y1,backgroundColor:t.data.bgcolor.y1}]};e.setState({chartOtions:a,chartData:s})}}))}}downloadPdf(){const t=document.getElementById("passingMarketRent");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("passingMarketRent.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"passingMarketRent",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent and Starting Rent (Market Rent)"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.d,{id:"rentalTrendsDevelopers",options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:zh,filters:this.state.filters},this.state.expandChartKey)]})}}zh.contextType=Wt;var Jh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(zh);class Wh extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_owner_rent_escalation_lease_expiry",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t,this.setState({});const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}},y1:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"right"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};jt.post("api/edge/office/get_owner_rent_escalation_lease_expiry",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:t.data.x,datasets:[{type:"line",label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1,yAxisID:"y"},{type:"bar",label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10,yAxisID:"y1"}]};e.setState({chartOtions:a,chartData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}},y1:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"},position:"right"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_owner_rent_escalation_lease_expiry",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:t.data.x,datasets:[{type:"line",label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1,yAxisID:"y"},{type:"bar",label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10,yAxisID:"y1"}]};e.setState({chartOtions:a,chartData:s})}))}}downloadPdf(){const t=document.getElementById("futureRentEscalationsOccupiers");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("futureRentEscalationsOccupiers.pdf")}
1))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"futureRentEscalationsOccupiers",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Future Rent, Rent Escalations & Occupiers"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltizpArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Wh,filters:this.state.filters},this.state.expandChartKey)]})}}Wh.contextType=Wt;var Hh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Wh);class Zh extends i.a.Component{constructor(t){super(t),this.state={topAssets:[],filters:"",showLoader:!1,showGraph:!1}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_top_assets",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({topAssets:t.data.splice(0,5)})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_owner_top_assets",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({topAssets:t.data.splice(0,5)})})))}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Assets"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",children:Object(M.jsx)(Te.a,{id:"topAssetsTableXlsButton",className:"download-table-xls-button",table:"topAssets",filename:"TopAssets",sheet:"TopAssets",buttonText:"Download as Excel"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#topAssets","TopAssets")},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topAssets",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Asset"}),Object(M.jsx)("th",{children:"Year Built/Acquired"}),Object(M.jsx)("th",{children:"Leasable Area"}),Object(M.jsx)("th",{children:"# of Buildings"}),Object(M.jsx)("th",{children:"# of Occupiers"}
1),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"Starting Rent (Market Rent)"}),Object(M.jsx)("th",{children:"WALE"}),Object(M.jsx)("th",{children:"Occupancy"})]})}),Object(M.jsx)("tbody",{children:this.state.topAssets.length>0&&this.state.topAssets.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.asset,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.asset),children:t.asset})}),Object(M.jsx)("td",{children:t.year_built}),Object(M.jsx)("td",{children:t.leasable_area}),Object(M.jsx)("td",{children:t.no_of_buildings}),Object(M.jsx)("td",{children:t.no_of_tenants}),Object(M.jsx)("td",{children:t.passing_rent}),Object(M.jsx)("td",{children:t.market_rent}),Object(M.jsx)("td",{children:t.wale}),Object(M.jsx)("td",{className:"text-end",children:t.occupancy})]},e)))})]})})]})]})}}Zh.contextType=Wt;var Xh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Zh);class Kh extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t;const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};jt.post("api/edge/office/get_owner_transaction_size",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_owner_transaction_size",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}}downloadPdf(){const t=document.getElementById("areaLeasedTransaction");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("areaLeasedTransaction.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"areaLeasedTransaction",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Area Leased - Transaction Size"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Kh,filters:this.state.filters},this.state.expandChartKey)]})}}Kh.contextType=Wt;var qh=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Kh);class $h extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_owner_lease_expiry_tenants",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t;const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}},y1:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Number of Tenants"},position:"right"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};jt.post("api/edge/office/get_owner_lease_expiry_tenants",Z(t)).then((t=>{const s={labels:t.data.x,datasets:[{type:"line",label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1,yAxisID:"y"},{type:"bar",label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10,yAxisID:"y1"}]};e.setState({chartOtions:a,chartData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area (msf)"}},y1:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Number of Tenants"},position:"right"}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_owner_lease_expiry_tenants",t).then((t=>{const s={labels:t.data.x,datasets:[{type:"line",label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1,yAxisID:"y"},{type:"bar",label:t.data.legend.y2,data:t.data.datapoints.y2,backgroundColor:t.data.bgcolor.y2,borderWidth:0,barThickness:10,borderRadius:10,yAxisID:"y1"}]};e.setState({chartOtions:a,chartData:s})}))}}downloadPdf(){const t=document.getElementById("leaseExpiryOccupiers");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("leaseExpiryOccupiers.pdf")}
1))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leaseExpiryOccupiers",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Expiry & Occupiers"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:$h,filters:this.state.filters},this.state.expandChartKey)]})}}$h.contextType=Wt;var tp=Object(D.b)((function(t){return{filters:t.selectedFilters}}))($h);class ep extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,filters:"",isOpen:!1,start_date:"",end_date:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipYPercentDiff:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_owner_upcoming_supply_quarterly",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t;const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"}},y:{grid:{display:!0,drawBorder:!0},ticks:{color:"white"},title:{display:!0,text:"Area (msf)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};jt.post("api/edge/office/get_owner_upcoming_supply_quarterly",Z(t)).then((t=>{const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1},title:{display:!0,text:"quarterly"==this.state.mode||"quarter"==this.state.mode?"Quarters":"Years"}},y:{grid:{display:!0,drawBorder:!0},ticks:{color:"white"},title:{display:!0,text:"Area (msf)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c);var o=parseFloat(100*(parseFloat(t.tooltip.dataPoints[0].dataset.data[i])-parseFloat(t.tooltip.dataPoints[0].dataset.data[l]))/parseFloat(t.tooltip.dataPoints[0].dataset.data[l])).toFixed(2)+"%";"Infinity%"!=o&&"NaN%"!=o||(o=""),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label,tooltipYPercentDiff:o})}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date)),jt.post("api/edge/office/get_owner_upcoming_supply_quarterly",t).then((t=>{const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}}downloadPdf(){const t=document.getElementById("upcommingSupply");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("upcommingSupply.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,Object(M.jsxs)("div",{className:"widget widgetGraph tableBlue",id:"upcommingSupply",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Upcomming Supply"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYPercentDiff]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:ep,filters:this.state.filters},this.state.expandChartKey)]})}}ep.contextType=Wt;var ap=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(ep);class sp extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,filters:"",isOpen:!1,start_date:"",end_date:"",chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t;
1const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};jt.post("api/edge/office/get_owner_citywise_area",Z(t)).then((t=>{const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date)),jt.post("api/edge/office/get_owner_citywise_area",t).then((t=>{const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}}downloadPdf(){const t=document.getElementById("cityWisePresence");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("cityWisePresence.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"cityWisePresence",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"City-wise Presence"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:sp,filters:this.state.filters},this.state.expandChartKey)]})}}sp.contextType=Wt;var ip=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(sp);class lp extends i.a.Component{constructor(t){super(t),this.state={expandChartKey:Math.random(),expandChart:!1,filters:"",chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t;const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};jt.post("api/edge/office/get_owner_sectorwise_area",Z(t)).then((t=>{const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});const t={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};jt.post("api/edge/office/get_owner_sectorwise_area",Z(JSON.stringify(this.props.filters))).then((e=>{const a={labels:e.data.x,datasets:[{data:e.data.y,backgroundColor:e.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:t,chartData:a})}))}}downloadPdf(){const t=document.getElementById("sectorBreakupAreaOccupied");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("SectorBreakupAreaOccupied.pdf")}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"sectorBreakupAreaOccupied",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Sector Break-up of Area Occupied"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:lp,filters:this.state.filters},this.state.expandChartKey)]})}}lp.contextType=Wt;var op=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(lp);class cp extends i.a.Component{constructor(t){super(t),this.state={expandChartKey:Math.random(),expandChart:!1,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_owner_sector_rent",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t;const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"Sectors"},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_owner_sector_rent",Z(t)).then((t=>{const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters});const t=this,e={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0,text:"Sectors"},ticks:{callback:function(e,a,s){return/\s/.test(t.state.xAxis)?t.state.xAxis[a].split(" "):t.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_owner_sector_rent",Z(JSON.stringify(this.props.filters))).then((a=>{const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};t.setState({chartOtions:e,chartData:s})}))}}downloadPdf(){const t=document.getElementById("sectorWiseRent");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("sectorWiseRent.pdf")}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"sectorWiseRent",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Sector-wise Rent"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:cp,filters:this.state.filters},this.state.expandChartKey)]})}}cp.contextType=Wt;var np=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(cp);class rp extends i.a.Component{constructor(t){super(t),this.state={majorRecentTransactions:[],filters:""}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_major_recent_lease_transactions",Z(t)).then((t=>{this.setState({majorRecentTransactions:t.data.splice(0,5)})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),jt.post("api/edge/office/get_major_recent_lease_transactions",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({majorRecentTransactions:t.data.splice(0,5)})})))}render(){return Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",children:Object(M.jsx)(Te.a,{id:"majorRecentTransactionsTableXlsButton",className:"download-table-xls-button",table:"majorRecentTransactions",filename:"MajorRecentTransactions",sheet:"MajorRecentTransactions",buttonText:"Download as Excel"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#majorRecentTransactions","MajorRecentTransactions")},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"majorRecentTransactions",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Occupier"}),Object(M.jsx)("th",{children:"New/Renewal"}),Object(M.jsx)("th",{children:"Date"}),Object(M.jsx)("th",{children:"Complex"}),Object(M.jsx)("th",{children:"Chargeable Area (Sqft)"}),Object(M.jsx)("th",{children:"Rent (\u20b9/Sqft/Month)"}),Object(M.jsx)("th",{children:"Micro-Market"}),Object(M.jsx)("th",{children:"City"}),Object(M.jsx)("th",{children:"Term"}),Object(M.jsx)("th",{children:"Security Deposit*"}),Object(M.jsx)("th",{children:"CAM"}),Object(M.jsx)("th",{children:"1st Escalation %"})]})}),Object(M.jsx)("tbody",{children:this.state.majorRecentTransactions.length>0&&this.state.majorRecentTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.tenant,children:Object(M.jsx)(n.b,{target:"_blank",to:H("tenant",t.tenant),children:t.tenant})}),Object(M.jsx)("td",{children:t.new_renewal}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{title:t.complex,children:Object(M.jsx)(n.b,{target:"_blank",to:H("complex",t.complex),children:t.complex})}),Object(M.jsx)("td",{children:t.area}),Object(M.jsx)("td",{children:t.rent}
1),Object(M.jsx)("td",{title:t.micromarket,children:Object(M.jsx)(n.b,{target:"_blank",to:H("micromarket",t.micromarket),children:t.micromarket})}),Object(M.jsx)("td",{children:Object(M.jsx)(n.b,{target:"_blank",to:H("city",t.city),children:t.city})}),Object(M.jsx)("td",{children:t.term}),Object(M.jsx)("td",{children:t.security_deposit}),Object(M.jsx)("td",{children:t.cam}),Object(M.jsx)("td",{children:t.first_escalation})]},e)))})]})})]})})}}rp.contextType=Wt;var dp=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(rp);class hp extends i.a.Component{render(){return console.log("jgjcykufito"),Object(M.jsxs)("div",{className:"container-fluid developer",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Nh,{})}),Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Dh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Ch,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Bh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Th,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(_h,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Uh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Yh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(kh,{})})]})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Gh,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Vh,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Jh,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Hh,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(Xh,{})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(qh,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(tp,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ap,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ip,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(op,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(np,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(dp,{})})}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Wd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Zd,{})})]})]})}}var pp=Object(c.f)(hp);class jp extends i.a.Component{constructor(t){super(t),this.state={topOwnersStock:[],filters:"",showLoader:!1,showGraph:!1}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t,jt.post("api/edge/office/get_owner_owned_stock",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({topOwnersStock:t.data.splice(0,5)})}))}componentDidUpdate(){this.props.filters!=this.state.filters&&(this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),jt.post("api/edge/office/get_owner_owned_stock",Z(JSON.stringify(this.props.filters))).then((t=>{this.setState({showLoader:!1,showGraph:!0}),this.setState({topOwnersStock:t.data.splice(0,5)})})))}render(){return Object(M.jsxs)("div",{className:"widget widgetTable",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Owners - Owned Stock"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsx)("li",{className:"excelDownload",children:Object(M.jsx)(Te.a,{id:"topOwnersStockTableXlsButton",className:"download-table-xls-button",table:"topOwnersStock",filename:"TopOwnersStock",sheet:"TopOwnersStock",buttonText:"Download as Excel"})}),Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{q("#topOwnersStock","TopOwnersStock")},children:["Download as PDF ",Object(M.jsx)(p.a,{icon:j.i})]})]})]})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,id:"topOwnersStock",children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Owner"}),Object(M.jsx)("th",{children:"Owner Stock(#)"}),Object(M.jsx)("th",{className:"text-end",children:"Occupancy(%)"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"WALE"})]})}),Object(M.jsx)("tbody",{children:this.state.topOwnersStock.length>0&&this.state.topOwnersStock.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{title:t.owner,children:Object(M.jsx)(n.b,{target:"_blank",to:H("owner",t.owner),children:t.owner})}),Object(M.jsx)("td",{children:t.owned_stock}),Object(M.jsx)("td",{className:"text-end",children:t.occupancy}),Object(M.jsx)("td",{children:t.passing_rent}
1),Object(M.jsx)("td",{children:t.wale})]},e)))})]})})]})]})}}jp.contextType=Wt;var Ap=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(jp);class xp extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>{this.setState({start_date:t.startDate,end_date:t.endDate,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t;const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};jt.post("api/edge/office/get_owner_ownership_share",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date)),jt.post("api/edge/office/get_owner_ownership_share",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}}downloadPdf(){const t=document.getElementById("ownershipShare");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("ownershipShare.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"ownershipShare",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Ownership Share"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Rl,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:xp,filters:this.state.filters},this.state.expandChartKey)]})}}xp.contextType=Wt;var bp=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(xp);class mp extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,top_xx:t.topXX,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,showToolTip:!1,up:j.d,down:j.c,marketRent:[],currentMarketRent:"",filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",top_xx:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_top_owner_leasing_volume",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t,this.setState({}),jt.post("api/edge/office/get_top_owner_leasing_volume",Z(t)).then((t=>{this.setState({marketRent:t.data.datapoints.y2},(()=>{}))}));const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area Leased (msf)"}}},onHover:(t,e)=>{0!==e.length&&(this.state.currentMarketRent=this.state.marketRent[e[0].index])},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_top_owner_leasing_volume",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!1,text:t=>{}},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Area Leased (msf)"}}},onHover:(t,e)=>{0!==e.length&&(this.state.currentMarketRent=this.state.marketRent[e[0].index])},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),this.state.top_xx>0&&(this.state.top_xx<51?t.append("top_xx",this.state.top_xx):t.append("top_xx",50)),jt.post("api/edge/office/get_top_owner_leasing_volume",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}}downloadPdf(){const t=document.getElementById("topOwnerLeasingVolume");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("topOwnerLeasingVolume.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.topXX=this.state.top_xx,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"topOwnerLeasingVolume",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Top Owners- Leasing Volume",Object(M.jsx)("span",{className:"colorBlack",children:"(Last 12 Months)"})]}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("div",{className:"row mt-2 mb-2",children:[Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsxs)("h4",{className:this.state.currentMarketRent>0?"colorGreen":"colorRed",children:[Object(M.jsx)(p.a,{icon:this.state.currentMarketRent>0?this.state.up:""==this.state.currentMarketRent?"":this.state.down,size:"lg"}),this.state.currentMarketRent]}),""!==this.state.currentMarketRent&&Object(M.jsx)("p",{className:"colorBlack pSmall",children:"Starting Rent (Market Rent)"})]})]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(Re,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:mp,filters:this.state.filters},this.state.expandChartKey)]})}}mp.contextType=Wt;var gp=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(mp);class Op extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.state.filters=t;const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};jt.post("api/edge/office/get_top_owner_leasing_volume_5yrs",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const e={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},datalabels:{color:"white",font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_top_owner_leasing_volume_5yrs",t).then((t=>{this.setState({showLoader:!1,showGraph:!0});const a={labels:t.data.x,datasets:[{data:t.data.y,backgroundColor:t.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:e,chartData:a})}))}}downloadPdf(){const t=document.getElementById("leaseVolumeOwnershipShare");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("leaseVolumeOwnershipShare.pdf")}))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"leaseVolumeOwnershipShare",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Lease Volume - Ownership Share"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:Op,filters:this.state.filters},this.state.expandChartKey)]})}}Op.contextType=Wt;var up=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Op);class yp extends i.a.Component{constructor(t){super(t),this.dateFilter=t=>
1{this.setState({start_date:t.startDate,end_date:t.endDate,which_date:t.dateType,which_date_name:t.dateTypeName,filters:"",isOpen:!1})},this.openModal=()=>{this.setState({isOpen:!0})},this.closeModal=()=>this.setState({isOpen:!1}),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",isOpen:!1,start_date:"",end_date:"",which_date:"",which_date_name:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;if(this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_owners_rentals_anlysis_chart",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t,this.setState({}),this.state.showGraph){let t=document.getElementById("rentalTrendsDevelopers").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff")}const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_owners_rentals_anlysis_chart",Z(t)).then((t=>{if(Object.keys(t.data.datapoints).length>0){this.setState({showLoader:!1,showGraph:!0});let s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.date,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2.date,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};e.setState({chartOtions:a,chartData:s})}}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){if(this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1}),this.state.showGraph){let t=document.getElementById("rentalTrendsDevelopers").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff")}const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]}}},y:{beginAtZero:!0,grid:{display:!0,drawBorder:!0},title:{display:!0,text:"\u20b9 / sqft / month"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};var t=new FormData;t.append("filter",JSON.stringify(this.props.filters)),this.state.end_date.length>0&&"ull"!=this.state.end_date&&this.state.start_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&(t.append("end_date",this.state.end_date),t.append("start_date",this.state.start_date),t.append("which_date",this.state.which_date)),jt.post("api/edge/office/get_owners_rentals_anlysis_chart",t).then((t=>{if(Object.keys(t.data.datapoints).length>0){this.setState({showLoader:!1,showGraph:!0});let s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1.date,backgroundColor:t.data.bgcolor.y1,borderColor:t.data.bgcolor.y1},{label:t.data.legend.y2,data:t.data.datapoints.y2.date,backgroundColor:t.data.bgcolor.y2,borderColor:t.data.bgcolor.y2}]};e.setState({chartOtions:a,chartData:s})}}))}}downloadPdf(){const t=document.getElementById("rentalTrendsOwners");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("rentalTrendsOwners.pdf")}
1))}render(){const t={};return t.startDate=this.state.start_date,t.endDate=this.state.end_date,t.dateType=this.state.which_date,t.dateTypeName=this.state.which_date_name,Object(M.jsxs)("div",{className:"widget widgetGraph",id:"rentalTrendsOwners",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rental Trends - Owners"}),this.state.start_date.length>0&&this.state.end_date.length>0&&"ull"!=this.state.start_date&&this.state.which_date.length>0&&Object(M.jsxs)("p",{className:"dateFont",children:[this.state.start_date," To ",this.state.end_date]}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:this.state.tooltipxLabel})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.openModal()},children:"Select Date Range"}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.d,{id:"rentalTrendsDevelopers",options:this.state.chartOtions,data:this.state.chartData})}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 chartSearchBox",children:Object(M.jsx)(k.a,{show:this.state.isOpen,onHide:this.closeModal,className:"columnsModal selectColumn downloadImgModal chartModal",size:"lg",children:Object(M.jsx)(k.a.Body,{children:Object(M.jsx)(je,{datechildFilter:this.dateFilter,parentData:t})})})})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:yp,filters:this.state.filters},this.state.expandChartKey)]})}}yp.contextType=Wt;var fp=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(yp);class wp extends i.a.Component{constructor(t){super(t),this.state={expandChartKey:Math.random(),expandChart:!1,showLoader:!1,showGraph:!1,filters:"",tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]},xAxis:[]}}componentDidMount(){var t;this.setState({showLoader:!0,showGraph:!1}),t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),jt.post("api/edge/office/get_owner_vacancy_trends",Z(t)).then((t=>{this.setState({xAxis:t.data.x})})),this.state.filters=t;const e=this,a={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0},ticks:{callback:function(t,a,s){return/\s/.test(e.state.xAxis)?e.state.xAxis[a].split(" "):e.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Vacancy (%)"}}},plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(t){var a="colorGreen",s=j.d,i=t.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(t.tooltip.dataPoints[0].dataset.data[i])<parseFloat(t.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),e.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_owner_vacancy_trends",Z(t)).then((t=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:t.data.x,datasets:[{label:t.data.legend.y1,data:t.data.datapoints.y1,backgroundColor:t.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};e.setState({chartOtions:a,chartData:s})}))}componentDidUpdate(){if(this.props.filters!=this.state.filters){this.setState({filters:this.props.filters}),this.setState({showLoader:!0,showGraph:!1});const t=this,e={responsive:!0,scales:{x:{grid:{display:!1},title:{display:!0},ticks:{callback:function(e,a,s){return/\s/.test(t.state.xAxis)?t.state.xAxis[a].split(" "):t.state.xAxis[a]},autoSkip:!1}},y:{grid:{display:!0,drawBorder:!0},title:{display:!0,text:"Vacancy (%)"}}}
1,plugins:{legend:{display:!0,labels:{color:"rgb(0, 0, 0)",boxWidth:6,boxHeight:6,usePointStyle:!0}},title:{display:!1},tooltip:{enabled:!0,y:"bottom",backgroundColor:"#000",external:function(e){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label})}}}};jt.post("api/edge/office/get_owner_vacancy_trends",Z(JSON.stringify(this.props.filters))).then((a=>{this.setState({showLoader:!1,showGraph:!0});const s={labels:a.data.x,datasets:[{label:a.data.legend.y1,data:a.data.datapoints.y1,backgroundColor:a.data.bgcolor.y1,borderWidth:0,barThickness:10,borderRadius:10}]};t.setState({chartOtions:e,chartData:s})}))}}downloadPdf(){const t=document.getElementById("vacancyTrandOwner");Ut()(t).then((t=>{const e=t.toDataURL("image/png"),a=new V.default;a.addImage(e,"JPEG",0,0),a.save("vacancyTrandOwner.pdf")}))}render(){return Object(M.jsxs)("div",{className:"widget widgetGraph",id:"vacancyTrandOwner",children:[this.state.showLoader&&Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12 text-center",children:Object(M.jsx)("img",{src:"/edge/images/edgeLoader.gif"})})}),this.state.showGraph&&Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Vacancy Trends - Owners"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsxs)("p",{className:"colorBlack downloads",children:[Object(M.jsx)(p.a,{icon:j.f}),Object(M.jsxs)("ul",{className:"downloadOptions",children:[Object(M.jsxs)("li",{className:"pdfDownload",onClick:t=>{this.downloadPdf()},children:[Object(M.jsx)(p.a,{icon:j.i})," Download as PDF"]}),Object(M.jsx)("li",{className:"pdfDownload",onClick:t=>{this.setState({expandChart:!0,expandChartKey:Math.random()})},children:"Expand Chart"})]})]})}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]}),Object(M.jsx)(xe,{openModal:this.state.expandChart,chartName:wp,filters:this.state.filters},this.state.expandChartKey)]})}}wp.contextType=Wt;var Np=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(wp);class Sp extends i.a.Component{render(){return Object(M.jsxs)("div",{className:"container-fluid",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Ap,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(bp,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(gp,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(up,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(fp,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Np,{})})]})]})}}var Dp=Object(c.f)(Sp);class Mp extends i.a.Component{render(){return Object(M.jsxs)("div",{className:"container-fluid developer owner3",children:[Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Dh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Ch,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Bh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Th,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(_h,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Uh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Yh,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(kh,{})})]})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)(Gh,{})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)(Vh,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Jh,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Hh,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(Xh,{})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(qh,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(tp,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ap,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(ip,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(op,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(np,{})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(dp,{})})}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Wd,{})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)(Zd,{})})]})]})}}var Cp=Object(c.f)(Mp);class Fp extends i.a.Component{constructor(){super(...arguments),this.state={filters:"{}",mounted:!1}}componentDidMount(){var t;t="{}"==JSON.stringify(this.props.filters)?JSON.stringify(this.context.filters):JSON.stringify(this.props.filters),this.setState({filters:t,mounted:!0})}componentDidUpdate(){this.state.filters!==JSON.stringify(this.props.filters)&&this.setState({filters:JSON.stringify(this.props.filters)})}renderAsset(){if(1==this.state.mounted){var t=JSON.parse(this.state.filters);return void 0===t.owners||0===t.owners.length?Object(M.jsx)(Dp,{}):1===t.owners.length?Object(M.jsx)(pp,{}):Object(M.jsx)(Cp,{})}return Object(M.jsx)(M.Fragment,{})}render(){return void 0!==this.state.filters?this.renderAsset():Object(M.jsx)(M.Fragment,{children:"Loading"})}}Fp.contextType=Wt;Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Fp);var Bp=a(1146),vp=a(766),Tp=(a(1085),a(545)),Ip=a.n(Tp),_p=a(762),Ep=a.n(_p),Up=a(546),Rp=a.n(Up),Yp=(a(1086),a(106)),Qp=a(765),kp=a(763),Pp=a.n(kp);var Gp=t=>{let{chartData:e}=t;Object(s.useRef)();Object(s.useEffect)((()=>{const t=document.createElement("script");t.src="https://cdn.jsdelivr.net/npm/@chartshq/[email protected]/dist/muze.js",t.async=!0,t.onload=()=>a(),document.body.appendChild(t)}),[]);let a=async()=>{const t=window.muze;let a=[],s=[];for(let d=0;d<e.cols.length;d++)a.push({name:e.cols[d].display_name,type:"dimension"}),s.push(e.cols[d].display_name);for(let d=0;d<e.rows.length;d++)a.push({name:e.rows[d].display_name,type:"dimension"}),s.push(e.rows[d].display_name);a.push({name:"value",type:"measure"}),console.log(a);let i=e.data;console.log(i);const l=await t.DataModel.onReady(),o=await l.loadData(i,a);let c=new l(o);console.log(c);const n=await t();for(var r in n)console.log(r);console.log(n.canvas().layers),n.canvas();n.canvas();n.canvas().data(c).rows(["value"]).columns(s).layers([{mark:"line"}]).mount("#chart")};return Object(M.jsx)("div",{id:"chart",style:{height:500}})};Yp.c.register(Qp.a);const Lp=Ep()(Pp.a);class Vp extends i.a.Component{constructor(t){super(t),this.state={myData:[],rows:[],columns:[],filters:[],values:[],columnList:[],columnWidgets:[],rowWidgets:[],filterWidgets:[],valueWidgets:[],searchQuery:"",updatedWidgetName:"",updatedWidgetLabel:"",dataLabelType:"",isSearchable:!0,errMessage:"",show:!1,modalShowColumn:!1,modalShowFilter:!1,selectedValue:"Sum",aggregateropDownValues:[{name:"sum",label:"Sum"},{name:"min",label:"Min"},{name:"max",label:"Max"},{name:"count",label:"Count"},{name:"average",label:"Average"},{name:"delete",label:"Delete"}],filterSectionSearchable:[],selectedFilterSectionSearchable:[],filterSectionNotSearchable:[],selectedFilterSectionNotSearchable:[],filterSectionDate:[],selectedFilterSectionDate:[],filterSectionMinMax:[],selectedFilterSectionMinMax:[],stringNotSearchableDataCol:[],stringNotSearchableDataRow:[],selectedStringNotSearchableDataCol:[],selectedStringNotSearchableDataRow:[],stringSearchableDataColumn:[],stringSearchableDataRow:[],selectedStringSearchableDataCol:[],selectedStringSearchableDataRow:[],columnTypeNumberDataCol:[],columnTypeNumberDataRow:[],columnTypeDateDataCol:[],columnTypeDateDataRow:[],selectedColumnTypeDateDataCol:[],selectedColumnTypeDateDataRow:[],searchingData:"",yearlyOrQuarterlyCol:"y",yearlyOrQuarterlyRow:"y",yearlyOrQuarterlyFilter:"y",currentColumnValue:"",currentColumnType:"",currentColumnSearchable:"",currentColumnMode:"",currentRowValue:"",currentRowType:"",currentRowSearchable:"",currentRowMode:"",currentFilterValue:"",currentFilterType:"",currentFilterSearchable:"",currentFilterMode:"",updatedSelectedColumn:[],updatedSelectedRow:[],updatedSelectedFilter:[],popupIsIncludedCol:!0,popupIsIncludedRow:!0,popupIsIncludedFilter:!0,excluded:[],selectedMinMaxValueColumn:[],selectedMinMaxValueRow:[],selectedMinMaxValueFilter:[],currentSelectedMinMaxColumnValue:[0,100],currentSelectedMinMaxRowValue:[0,100],currentSelectedMinMaxFilterValue:[0,100],minValueColumn:0,maxValueColumn:0,minValueTextColumn:0,maxValueTextColumn:0,minValueRow:0,maxValueRow:0,minValueTextRow:0,maxValueTextRow:0,minValueFilter:0,maxValueFilter:0,minValueTextFilter:0,maxValueTextFilter:0,dataFormat:"Table",chartOtions:{},plotlyChartOptions:[],chartData:{labels:[],datasets:[]},chartStatistics:[],excludeNullEmptyCol:!0,excludeNullEmptyColIndex:[],excludeNullEmptyRow:!0,excludeNullEmptyRowIndex:[]},this.handleOnDrag=(t,e,a,s,i)=>{t.dataTransfer.setData("diaplayLabel",a,"widgetName",e),this.setState({updatedWidgetName:e,updatedWidgetLabel:a,dataLabelType:s,isSearchable:i})},this.addActiveClassToElement=(t,e)=>{document.querySelectorAll(t).forEach((t=>{t.textContent.trim()===e.trim()&&t.classList.add("active")}))},this.removeActiveClassFromElement=(t,e)=>{document.querySelectorAll(t).forEach((t=>{t.textContent.trim()===e.trim()&&t.classList.remove("active")}))},this.handleOnDropColumn=t=>{t.preventDefault();const e=this.state.updatedWidgetName,a=this.state.updatedWidgetLabel,s=this.state.dataLabelType,i=this.state.isSearchable,l=this.state.excludeNullEmptyCol;if(this.state.columnWidgets.some((t=>t.column_name===e)))this.setState({show:!0,errMessage:"Already Exist"}),setTimeout((()=>{this.setState({show:!1,errMessage:""})}),2e3);else{this.addActiveClassToElement(".myocL ul li",a);const t=[...this.state.columnWidgets,{column_name:e,display_name:a,column_type:s,searchable:i,checked:!0,exclude_null_empty:l}];var o=this.state.columns;o.push(a),this.setState({columns:o}),this.setState({columnWidgets:t},(()=>{this.fetchData(),this.updateBarChartData(),console.log(this.state.columnWidgets,"this.state.columnWidgets")}))}},this.handleColumnDelete=(t,e,a)=>{this.state.updatedWidgetLabel;const s=this.state.columnWidgets.filter((e=>e.column_name!==t)),i=this.state.columns.indexOf(e);if(-1!==i){const t=[...this.state.columns];t.splice(i,1),this.setState({columns:t}),this.fetchData()}if(t===this.state.currentColumnValue){const e=Object(h.a)({},this.state.updatedSelectedColumn);e[t]=[],this.setState({updatedSelectedColumn:e})}this.setState({columnWidgets:s}),this.removeActiveClassFromElement(".myocL ul li",e),this.fetchData()},this.handleModalShowColumn=(t,e)=>{let a;this.setState({excludeNullEmptyCol:t.checked}),a=!(this.state.excluded.indexOf(t.column_name)>-1);var s=this.state.currentSelectedMinMaxColumnValue;void 0!=this.state.selectedMinMaxValueColumn[t.column_name]&&(s=this.state.selectedMinMaxValueColumn[t.column_name]),this.setState({currentColumnValue:t.column_name,currentColumnType:t.column_type,currentColumnSearchable:t.searchable,currentColumnMode:this.state.yearlyOrQuarterlyCol,selectedStringSearchableDataCol:this.state.updatedSelectedColumn[t.column_name],selectedStringNotSearchableDataCol:this.state.updatedSelectedColumn[t.column_name],selectedColumnTypeDateDataCol:this.state.updatedSelectedColumn[t.column_name],popupIsIncludedCol:a,currentSelectedMinMaxColumnValue:s,excludeNullEmptyColIndex:e},(()=>{"string"===t.column_type&&!1===t.searchable||"date"===t.column_type||["number","decimal1","decimal2","decimal4"].includes(t.column_type)?this.fetchFilterDataColumn():"string"===t.column_type&&!0===t.searchable&&this.fetchFilterDataOnSearchColumn()})),this.setState({modalShowColumn:!0})},this.fetchFilterDataOnSearchColumn=()=>{var t=JSON.stringify({column_name:this.state.currentColumnValue,column_type:this.state.currentColumnType,searchable:this.state.currentColumnSearchable,search:this.state.searchingData,exclude_null_empty:this.state.excludeNullEmptyCol}),e=new FormData;e.append("filter",t),jt.post("api/edge/office/get_myoc_filter_data",e).then((t=>{this.setState({stringSearchableDataColumn:t.data},(()=>{}))}))},this.fetchFilterDataColumn=()=>
1{if("date"===this.state.currentColumnType)var t=JSON.stringify({column_name:this.state.currentColumnValue,column_type:this.state.currentColumnType,searchable:this.state.currentColumnSearchable,mode:this.state.yearlyOrQuarterlyCol,exclude_null_empty:this.state.excludeNullEmptyCol});else t=JSON.stringify({column_name:this.state.currentColumnValue,column_type:this.state.currentColumnType,searchable:this.state.currentColumnSearchable,exclude_null_empty:this.state.excludeNullEmptyCol});var e=new FormData;e.append("filter",t),jt.post("api/edge/office/get_myoc_filter_data",e).then((t=>{"string"===this.state.currentColumnType&&!1===this.state.currentColumnSearchable&&this.setState({stringNotSearchableDataCol:t.data}),"date"===this.state.currentColumnType&&this.setState({columnTypeDateDataCol:t.data}),["number","decimal1","decimal2","decimal4"].includes(this.state.currentColumnType)&&this.setState({columnTypeNumberDataCol:t.data},(()=>{var t,e;const a=parseFloat(null===(t=this.state.columnTypeNumberDataCol.find((t=>"min"===t.label)))||void 0===t?void 0:t.value),s=parseFloat(null===(e=this.state.columnTypeNumberDataCol.find((t=>"max"===t.label)))||void 0===e?void 0:e.value);var i=this.state.selectedMinMaxValueColumn;void 0==i[this.state.currentColumnValue]&&this.setState({currentSelectedMinMaxColumnValue:[a,s]}),i[this.state.currentColumnValue]=[a,s],this.setState({minValueColumn:a,maxValueColumn:s,minValueTextColumn:a,maxValueTextColumn:s,selectedMinMaxValueColumn:i},(()=>{}))}))}))},this.handleOnDropRow=t=>{t.preventDefault();const e=this.state.updatedWidgetName,a=this.state.updatedWidgetLabel,s=this.state.dataLabelType,i=this.state.isSearchable,l=this.state.excludeNullEmptyRow;if(this.state.rowWidgets.some((t=>t.column_name===e)))this.setState({show:!0,errMessage:"Already Exist"}),setTimeout((()=>{this.setState({show:!1,errMessage:""})}),2e3);else{this.addActiveClassToElement(".myocL ul li",a);const t=[...this.state.rowWidgets,{column_name:e,display_name:a,column_type:s,searchable:i,checked:!0,exclude_null_empty:l}];var o=this.state.rows;o.push(a),this.setState({rows:o}),this.setState({rowWidgets:t},(()=>{this.fetchData(),this.updateBarChartData()}))}},this.handleRowDelete=(t,e)=>{this.state.updatedWidgetLabel;const a=this.state.rowWidgets.filter((e=>e.column_name!==t)),s=this.state.rows.indexOf(e);if(-1!==s){const t=[...this.state.rows];t.splice(s,1),this.setState({rows:t}),this.fetchData()}if(t===this.state.currentRowValue){const e=Object(h.a)({},this.state.updatedSelectedRow);e[t]=[],this.setState({updatedSelectedRow:e})}this.setState({rowWidgets:a}),this.removeActiveClassFromElement(".myocL ul li",e),this.fetchData()},this.handleModalShowRow=(t,e)=>{let a;this.setState({excludeNullEmptyRow:t.checked}),a=!(this.state.excluded.indexOf(t.column_name)>-1);var s=this.state.currentSelectedMinMaxRowValue;void 0!=this.state.selectedMinMaxValueRow[t.column_name]&&(s=this.state.selectedMinMaxValueRow[t.column_name]),this.setState({currentRowValue:t.column_name,currentRowType:t.column_type,currentRowSearchable:t.searchable,currentRowMode:this.state.yearlyOrQuarterlyRow,selectedStringSearchableDataRow:this.state.updatedSelectedRow[t.column_name],selectedStringNotSearchableDataRow:this.state.updatedSelectedRow[t.column_name],selectedColumnTypeDateDataRow:this.state.updatedSelectedRow[t.column_name],popupIsIncludedRow:a,currentSelectedMinMaxRowValue:s,excludeNullEmptyRowIndex:e},(()=>{"string"===t.column_type&&!1===t.searchable||"date"===t.column_type||["number","decimal1","decimal2","decimal4"].includes(t.column_type)?this.fetchFilterDataRow():"string"===t.column_type&&!0===t.searchable&&this.fetchFilterDataOnSearchRow()})),this.setState({modalShowRow:!0})},this.fetchFilterDataOnSearchRow=()=>{var t=JSON.stringify({column_name:this.state.currentRowValue,column_type:this.state.currentRowType,searchable:this.state.currentRowSearchable,search:this.state.searchingData,exclude_null_empty:this.state.excludeNullEmptyRow}),e=new FormData;e.append("filter",t),jt.post("api/edge/office/get_myoc_filter_data",e).then((t=>{this.setState({stringSearchableDataRow:t.data},(()=>{}))}))},this.fetchFilterDataRow=()=>
1{if("date"===this.state.currentRowType)var t=JSON.stringify({column_name:this.state.currentRowValue,column_type:this.state.currentRowType,searchable:this.state.currentRowSearchable,mode:this.state.yearlyOrQuarterlyRow,exclude_null_empty:this.state.excludeNullEmptyRow});else t=JSON.stringify({column_name:this.state.currentRowValue,column_type:this.state.currentRowType,searchable:this.state.currentRowSearchable,exclude_null_empty:this.state.excludeNullEmptyRow});var e=new FormData;e.append("filter",t),jt.post("api/edge/office/get_myoc_filter_data",e).then((t=>{"string"===this.state.currentRowType&&!1===this.state.currentRowSearchable&&this.setState({stringNotSearchableDataRow:t.data}),"date"===this.state.currentRowType&&this.setState({columnTypeDateDataRow:t.data}),["number","decimal1","decimal2","decimal4"].includes(this.state.currentRowType)&&this.setState({columnTypeNumberDataRow:t.data},(()=>{var t,e;const a=parseFloat(null===(t=this.state.columnTypeNumberDataRow.find((t=>"min"===t.label)))||void 0===t?void 0:t.value),s=parseFloat(null===(e=this.state.columnTypeNumberDataRow.find((t=>"max"===t.label)))||void 0===e?void 0:e.value);var i=this.state.selectedMinMaxValueRow;void 0==i[this.state.currentRowValue]&&this.setState({currentSelectedMinMaxRowValue:[a,s]}),i[this.state.currentRowValue]=[a,s],this.setState({minValueRow:a,maxValueRow:s,minValueTextRow:a,maxValueTextRow:s,selectedMinMaxValueRow:i},(()=>{}))}))}))},this.handleOnDropFilters=t=>{t.preventDefault();const e=this.state.updatedWidgetName,a=this.state.updatedWidgetLabel,s=this.state.dataLabelType,i=this.state.isSearchable;if(this.state.filterWidgets.some((t=>t.column_name===e)))this.setState({show:!0,errMessage:"Already Exist"}),setTimeout((()=>{this.setState({show:!1,errMessage:""})}),2e3);else{this.addActiveClassToElement(".myocL ul li",a);const t=[...this.state.filterWidgets,{column_name:e,display_name:a,column_type:s,searchable:i,is_select:!1}];var l=this.state.filters;l.push(a),this.setState({filters:l}),this.setState({filterWidgets:t},(()=>{this.fetchData()}))}},this.handleFilterDelete=(t,e,a)=>{this.state.updatedWidgetLabel;const s=this.state.filterWidgets.filter((e=>e.column_name!==t)),i=this.state.filters.indexOf(e);if(-1!==i){const t=[...this.state.filters];t.splice(i,1),this.setState({filters:t}),this.fetchData()}if(t===this.state.currentFilterValue){const e=Object(h.a)({},this.state.updatedSelectedFilter);e[t]=[],this.setState({updatedSelectedFilter:e})}this.setState({filterWidgets:s},(()=>{})),this.removeActiveClassFromElement(".myocL ul li",e),this.fetchData()},this.handleModalShowFilters=t=>{let e;e=!(this.state.excluded.indexOf(t.column_name)>-1);var a=this.state.currentSelectedMinMaxFilterValue;void 0!=this.state.selectedMinMaxValueFilter[t.column_name]&&(a=this.state.selectedMinMaxValueFilter[t.column_name]),this.setState({currentFilterValue:t.column_name,currentFilterType:t.column_type,currentFilterSearchable:t.searchable,currentFilterMode:this.state.yearlyOrQuarterlyFilter,selectedFilterSectionNotSearchable:this.state.updatedSelectedFilter[t.column_name],selectedFilterSectionSearchable:this.state.updatedSelectedFilter[t.column_name],selectedFilterSectionDate:this.state.updatedSelectedFilter[t.column_name],currentSelectedMinMaxFilterValue:a,popupIsIncludedFilter:e},(()=>{"string"===t.column_type&&!1===t.searchable||"date"===t.column_type||["number","decimal1","decimal2","decimal4"].includes(t.column_type)?this.fetchFilterDataFilter():"string"===t.column_type&&!0===t.searchable&&this.fetchFilterDataOnSearchFilter()})),this.setState({modalShowFilter:!0})},this.fetchFilterDataFilter=()=>{if("date"===this.state.currentFilterType)var t=JSON.stringify({column_name:this.state.currentFilterValue,column_type:this.state.currentFilterType,searchable:this.state.currentFilterSearchable,mode:this.state.yearlyOrQuarterlyFilter});else t=JSON.stringify({column_name:this.state.currentFilterValue,column_type:this.state.currentFilterType,searchable:this.state.currentFilterSearchable});var e=new FormData;e.append("filter",t),jt.post("api/edge/office/get_myoc_filter_data",e).then((t=>{"string"===this.state.currentFilterType&&!1===this.state.currentFilterSearchable&&this.setState({filterSectionNotSearchable:t.data},(()=>{})),"date"===this.state.currentFilterType&&this.setState({filterSectionDate:t.data},(()=>{})),["number","decimal1","decimal2","decimal4"].includes(this.state.currentFilterType)&&this.setState({filterSectionMinMax:t.data},(()=>{var t,e;const a=parseFloat(null===(t=this.state.filterSectionMinMax.find((t=>"min"===t.label)))||void 0===t?void 0:t.value),s=parseFloat(null===(e=this.state.filterSectionMinMax.find((t=>"max"===t.label)))||void 0===e?void 0:e.value);var i=this.state.selectedFilterSectionMinMax;void 0==i[this.state.currentFilterValue]&&this.setState({currentSelectedMinMaxFilterValue:[a,s]}),i[this.state.currentFilterValue]=[a,s],this.setState({minValueFilter:a,maxValueFilter:s,minValueTextFilter:a,maxValueTextFilter:s,selectedFilterSectionMinMax:i},(()=>{}))}))}))},this.fetchFilterDataOnSearchFilter=()=>{var t=JSON.stringify({column_name:this.state.currentFilterValue,column_type:this.state.currentFilterType,searchable:this.state.currentFilterSearchable,search:this.state.searchingData}),e=new FormData;e.append("filter",t),jt.post("api/edge/office/get_myoc_filter_data",e).then((t=>{this.setState({filterSectionSearchable:t.data})}))},this.handleOnDropValue=t=>{t.preventDefault();const e=this.state.updatedWidgetName,a=this.state.updatedWidgetLabel;if(this.state.valueWidgets.some((t=>t.column_name===e)))this.setState({show:!0,errMessage:"Already Exist"}),setTimeout((()=>{this.setState({show:!1,errMessage:""})}),2e3);else{"number"!==this.state.dataLabelType&&"decimal2"!==this.state.dataLabelType||this.addActiveClassToElement(".myocL ul li",a);const t=[...this.state.valueWidgets,{column_name:e,display_name:a,aggregate:"sum",column_type:this.state.dataLabelType}];"number"===this.state.dataLabelType||"decimal2"===this.state.dataLabelType?this.setState({valueWidgets:t},(()=>{if(t.length>1&&t.length<=2)(a=this.state.rows).includes("column")||(a.unshift("column"),this.setState({rows:a}));else if(t.length<2){var e=(a=this.state.rows).indexOf("column");e>=0&&(a.splice(e,1),this.setState({rows:a}))}else if(t.length>2){var a;(a=this.state.rows).includes("column")||(a.unshift("column"),this.setState({rows:a}))}this.fetchData()})):(this.setState({show:!0,errMessage:"Strings not allowed"}),setTimeout((()=>{this.setState({show:!1,errMessage:""})}),2e3))}},this.handleDragOver=t=>{t.preventDefault()},this.handleValueDelete=(t,e)=>{this.state.updatedWidgetLabel;const a=this.state.valueWidgets.filter((e=>e.column_name!==t));this.removeActiveClassFromElement(".myocL ul li",e),this.setState({valueWidgets:a},(()=>{if(a.length<2){var t=this.state.rows,e=t.indexOf("column");e>=0&&(t.splice(e,1),this.setState({rows:t}))}})),this.fetchData()},this.updateBarChartData=()=>{},this.handleClose=()=>{this.setState({show:!1})},this.handleDropdownChange=(t,e)=>{var a=this.state.valueWidgets;a[e].aggregate=t,this.setState({valueWidgets:a}),this.fetchData()},this.handleRadioChangeCol=t=>{this.setState({yearlyOrQuarterlyCol:t},(()=>{this.fetchFilterDataColumn()}))},this.handleRadioChangeFilter=t=>{this.setState({yearlyOrQuarterlyFilter:t},(()=>{this.fetchFilterDataFilter()}))},this.handleRadioChangeRow=t=>{this.setState({yearlyOrQuarterlyRow:t},(()=>{this.fetchFilterDataRow()}))},this.handleModalCloseCol=()=>{this.setState({modalShowColumn:!1,selectedStringSearchableDataCol:[],selectedColumnTypeDateDataCol:[]})},this.handleModalCloseRow=()=>{this.setState({modalShowRow:!1,selectedStringSearchableDataRow:[],selectedColumnTypeDateDataRow:[]})},this.handleModalCloseFilter=()=>{this.setState({modalShowFilter:!1,selectedFilterSectionNotSearchable:[],selectedFilterSectionDate:[]})},this.updateTableDataForColumn=t=>{let e=this.state.excluded;if(this.state.popupIsIncludedCol){const t=e.indexOf(this.state.currentColumnValue);t>-1&&e.splice(t,1)}else-1===e.indexOf(this.state.currentColumnValue)&&e.push(this.state.currentColumnValue);const a=Array.isArray(t)?t:[];var s=this.state.updatedSelectedColumn;s[this.state.currentColumnValue]=a,this.setState({modalShowColumn:!1,updatedSelectedColumn:s});let i=[];a.map((t=>{i=[...i,t.value]}));let l=this.state.columnWidgets.find((t=>t.column_name.trim()===this.state.currentColumnValue.trim()));this.state.popupIsIncludedCol?(l.in=i,delete l.not_in):(l.not_in=i,delete l.in);var o=this.state.columnWidgets.findIndex((t=>t.column_name.trim()===this.state.currentColumnValue.trim())),c=this.state.columnWidgets;c[o]=l,this.setState({columnWidgets:c},(()=>{this.fetchData()}))},this.updateTableDataForDateCol=()=>{this.updateTableDataForColumn(this.state.selectedColumnTypeDateDataCol)},this.updateTableDataForNonSearchStringCol=()=>{this.updateTableDataForColumn(this.state.selectedStringNotSearchableDataCol)},this.selectedStringSearchableDataColBtn=()=>{this.updateTableDataForColumn(this.state.selectedStringSearchableDataCol)},this.updateTableDataForRow=t=>{let e=this.state.excluded;if(this.state.popupIsIncludedRow){const t=e.indexOf(this.state.currentRowValue);t>-1&&e.splice(t,1)}else-1===e.indexOf(this.state.currentRowValue)&&e.push(this.state.currentRowValue);const a=Array.isArray(t)?t:[];var s=Object(h.a)({},this.state.updatedSelectedRow);s[this.state.currentRowValue]=a,this.setState({modalShowRow:!1,updatedSelectedRow:s});let i=[];a.map((t=>{i=[...i,t.value]}));let l=this.state.rowWidgets.find((t=>t.column_name.trim()===this.state.currentRowValue.trim()));this.state.popupIsIncludedRow?(l.in=i,delete l.not_in):(l.not_in=i,delete l.in);var o=this.state.rowWidgets.findIndex((t=>t.column_name.trim()===this.state.currentRowValue.trim())),c=this.state.rowWidgets;c[o]=l,this.setState({rowWidgets:c},(()=>{this.fetchData()}))},this.updateTableDataForDateRow=()=>{this.updateTableDataForRow(this.state.selectedColumnTypeDateDataRow)},this.updateTableDataForNonSearchStringRow=()=>{this.updateTableDataForRow(this.state.selectedStringNotSearchableDataRow)},this.updateTableDataRow=()=>{this.updateTableDataForRow(this.state.selectedStringSearchableDataRow)},this.filterSectionFunction=t=>{let e=this.state.excluded;if(this.state.popupIsIncludedFilter){const t=e.indexOf(this.state.currentFilterValue);t>-1&&e.splice(t,1)}else-1===e.indexOf(this.state.currentFilterValue)&&e.push(this.state.currentFilterValue);const a=Array.isArray(t)?t:[];var s=Object(h.a)({},this.state.updatedSelectedFilter);s[this.state.currentFilterValue]=a,this.setState({modalShowFilter:!1,updatedSelectedFilter:s});let i=[];a.map((t=>{i=[...i,t.value]}));let l=this.state.filterWidgets.find((t=>t.column_name.trim()===this.state.currentFilterValue.trim()));this.state.popupIsIncludedFilter?(l.in=i,delete l.not_in):(l.not_in=i,delete l.in);var o=this.state.filterWidgets.findIndex((t=>t.column_name.trim()===this.state.currentFilterValue.trim())),c=this.state.filterWidgets;c[o]=l,this.setState({filterWidgets:c},(()=>{this.fetchData()}))},this.filterSectionNotSearchableBtn=()=>{this.filterSectionFunction(this.state.selectedFilterSectionNotSearchable)},this.selectedFilterSectionSearchableBtn=()=>{this.filterSectionFunction(this.state.selectedFilterSectionSearchable)},this.filterSectionDateBtn=()=>{this.filterSectionFunction(this.state.selectedFilterSectionDate)},this.handleSelectChange=(t,e)=>{this.setState({[e]:t})},this.updateMinMaxDataColumn=()=>{const{minValueTextColumn:t,maxValueTextColumn:e}=this.state;let a=this.state.columnWidgets.find((t=>t.column_name.trim()===this.state.currentColumnValue.trim()));a.start=t,a.column_type="number",a.end=e;var s=this.state.columnWidgets.findIndex((t=>t.column_name.trim()===this.state.currentColumnValue.trim())),i=this.state.columnWidgets;i[s]=a,this.setState({columnWidgets:i,modalShowColumn:!1},(()=>{this.fetchData()}))},this.updateMinMaxDataRow=()=>{const{minValueTextRow:t,maxValueTextRow:e}=this.state;let a=this.state.rowWidgets.find((t=>t.column_name.trim()===this.state.currentRowValue.trim()));a.start=t,a.column_type="number",a.end=e;var s=this.state.rowWidgets.findIndex((t=>t.column_name.trim()===this.state.currentRowValue.trim())),i=this.state.rowWidgets;i[s]=a,this.setState({rowWidgets:i,modalShowRow:!1},(()=>{this.fetchData()}))},this.minMaxValueFilterBtn=()=>{const{minValueTextFilter:t,maxValueTextFilter:e}=this.state;let a=this.state.filterWidgets.find((t=>t.column_name.trim()===this.state.currentFilterValue.trim()));a.start=t,a.column_type="number",a.end=e;var s=this.state.filterWidgets.findIndex((t=>t.column_name.trim()===this.state.currentFilterValue.trim())),i=this.state.filterWidgets;i[s]=a,this.setState({filterWidgets:i,modalShowFilter:!1},(()=>{this.fetchData()}))},this.handleDataFormat=t=>{this.setState({dataFormat:t})},this.toggleExcludeNullEmptyCol=()=>{let t=!this.state.columnWidgets[this.state.excludeNullEmptyColIndex].checked;this.state.columnWidgets[this.state.excludeNullEmptyColIndex].checked=t,this.setState({columnWidgets:[...this.state.columnWidgets]},(()=>{this.setState({excludeNullEmptyCol:t})}))},this.toggleExcludeNullEmptyRow=()=>{let t=!this.state.rowWidgets[this.state.excludeNullEmptyRowIndex].checked;this.state.rowWidgets[this.state.excludeNullEmptyRowIndex].checked=t,this.setState({rowWidgets:[...this.state.rowWidgets]},(()=>{this.setState({excludeNullEmptyRow:t})}))},this.search_parameters=Object.keys(Object.assign({},...this.state.columnList))}componentDidMount(){jt.get("api/edge/office/get_db_columns_for_myoc").then((t=>{this.setState({columnList:t.data})}))}fetchData(){if(this.state.columnWidgets.length>0&&this.state.valueWidgets.length>0||this.state.rowWidgets.length>0&&this.state.valueWidgets.length>0||this.state.columnWidgets.length>0&&this.state.rowWidgets.length>0&&this.state.valueWidgets.length>0){let a=[...this.state.columnWidgets,...this.state.filterWidgets];var t=JSON.stringify({rows:this.state.rowWidgets,columns:a,values:this.state.valueWidgets}),e=new FormData;e.append("myoc_filters",t),jt.post("api/edge/office/get_myoc_data",e).then((t=>{void 0==t.error&&this.setState({myData:t.data},(()=>{let t=this.state.myData.map((t=>t.value));this.setState({chartStatistics:t},(()=>{this.updateBarChartData()}))}))}))}}search(t){return t.filter((t=>t.column_label.toLowerCase().includes(this.state.searchQuery.toLowerCase())))}componentDidUpdate(){}createTable(){if(0==this.state.myData.length)return;let t=[],e=[];for(let x=0;x<this.state.myData.length;x++){for(let t=0;t<this.state.columns.length;t++)void 0==e[this.state.columns[t]]&&(e[this.state.columns[t]]=[]),-1==e[this.state.columns[t]].indexOf(this.state.myData[x][this.state.columns[t]])&&e[this.state.columns[t]].push(this.state.myData[x][this.state.columns[t]]);for(let e=0;e<this.state.rows.length;e++)void 0==t[this.state.rows[e]]&&(t[this.state.rows[e]]=[]),-1==t[this.state.rows[e]].indexOf(this.state.myData[x][this.state.rows[e]])&&t[this.state.rows[e]].push(this.state.myData[x][this.state.rows[e]])}var a=1,s=1,i=1;for(let x in e)a*=e[x].length;for(let x in t)s*=t[x].length;var l=0,o=(i=1,[]);for(let x in e){e[x].length;var c=a/(e[x].length*i);o[l]=[],o[l].colspan=i,o[l].repeat=c,o[l].key=x,i=e[x].length*i,l++}var n=[];for(l=o.length-1;l>=0;l--){var r=[];for(let t=0;t<this.state.rows.length;t++)r.push(Object(M.jsx)("td",{}));for(let t=0;t<o[l].repeat;t++)r.push(e[o[l].key].map(((t,e)=>Object(M.jsx)("td",{colspan:o[l].colspan,style:{border:"1px solid"},children:t}))));n.push(Object(M.jsx)("tr",{children:r}))}l=0;var d=1,h=[];for(let x in t){t[x].length,c=s/(t[x].length*d);h[l]=[],h[l].rowspan=d,h[l].repeat=c,h[l].key=x,d=t[x].length*d,l++}for(var p=[],j=h.length-1;j>=0;j--)p.push(0);var A=[];for(l=0;l<5;l++){for(r=[],j=h.length-1;j>=0;j--)void 0==A[j]&&(A[j]=0),0==p[j]?(0==p[j]?p[j]=h[j].rowspan-1:p[j]--,r.push(Object(M.jsx)("td",{rowspan:h[j].rowspan,children:t[h[j].key][A[j]%t[h[j].key].length]})),A[j]++):p[j]--;n.push(Object(M.jsx)("tr",{children:r}))}return Object(M.jsx)("table",{border:1,children:n})}cellData(t,e,a){return{count:0,push:function(t){this.count++},value:function(){return this.count},format:function(t){return t}}}render(){return Object(M.jsxs)(M.Fragment,{children:[Object(M.jsxs)("div",{className:"myocMain",children:[Object(M.jsxs)("div",{className:"myocL",children:[Object(M.jsxs)("div",{className:"myocLSearchArea 
1d-flex justify-content-between align-items-center",children:[Object(M.jsxs)("div",{className:"d-flex justify-content-between align-items-center myocLSearchAreaL",children:[Object(M.jsx)("input",{type:"search",placeholder:"Search",onChange:t=>this.setState({searchQuery:t.target.value})}),Object(M.jsxs)(_t.a,{children:[Object(M.jsx)(_t.a.Toggle,{variant:"success",children:Object(M.jsx)(p.a,{icon:j.j})}),Object(M.jsx)(_t.a.Menu,{children:Object(M.jsx)(_t.a.Item,{children:"Filter"})})]})]}),Object(M.jsxs)(_t.a,{className:"noArrow",children:[Object(M.jsx)(_t.a.Toggle,{variant:"success",children:Object(M.jsx)(p.a,{icon:j.q})}),Object(M.jsx)(_t.a.Menu,{children:Object(M.jsx)(_t.a.Item,{children:"Filter"})})]})]}),Object(M.jsx)("ul",{className:"m-0 p-0",children:this.search(this.state.columnList).map(((t,e)=>Object(M.jsx)(Bp.a,{followCursor:!0,placement:"top",speaker:Object(M.jsx)(vp.a,{children:t.column_label}),children:Object(M.jsxs)("li",{draggable:!0,onDragStart:e=>this.handleOnDrag(e,t.column_name,t.column_label,t.column_type,t.searchable),children:["string"===t.column_type?Object(M.jsx)(Pt.a,{icon:"material-symbols:abc-rounded"}):"date"===t.column_type?Object(M.jsx)(Pt.a,{icon:"clarity:date-line"}):Object(M.jsx)(Pt.a,{icon:"ant-design:number-outlined"})," ",t.column_label]},e)})))})]}),Object(M.jsxs)("div",{className:"myocR",children:[Object(M.jsxs)("div",{className:"onDataDrop onDataDropGridView mb-2",onDrop:this.handleOnDropColumn,onDragOver:this.handleDragOver,children:[Object(M.jsxs)("div",{className:"d-flex align-items-center iconWithLabel",children:[Object(M.jsx)(Pt.a,{icon:"tdesign:view-column"}),Object(M.jsx)("p",{children:"Column"})]}),Object(M.jsx)("div",{className:"d-flex align-items-center flexWithGap",children:this.state.columnWidgets.map(((t,e)=>Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)(_t.a,{children:[Object(M.jsx)(_t.a.Toggle,{variant:"success",children:t.display_name}),Object(M.jsxs)(_t.a.Menu,{children:[Object(M.jsx)(_t.a.Item,{onClick:a=>{this.handleModalShowColumn(t,e)},children:"Filter"}),Object(M.jsx)(_t.a.Item,{onClick:()=>this.handleColumnDelete(t.column_name,t.display_name,t.column_type),children:"Delete"})]})]})})))})]}),Object(M.jsxs)("div",{className:"onDataDrop onDataDropGridView onDataDropRows mb-4",onDrop:this.handleOnDropRow,onDragOver:this.handleDragOver,children:[Object(M.jsxs)("div",{className:"d-flex align-items-center iconWithLabel",children:[Object(M.jsx)(Pt.a,{icon:"tdesign:view-column",rotate:1}),Object(M.jsx)("p",{children:"Rows"})]}),Object(M.jsx)("div",{className:"d-flex align-items-center flexWithGap",children:this.state.rowWidgets.map(((t,e)=>Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)(_t.a,{children:[Object(M.jsx)(_t.a.Toggle,{variant:"success",children:t.display_name}),Object(M.jsxs)(_t.a.Menu,{children:[Object(M.jsx)(_t.a.Item,{onClick:a=>{this.handleModalShowRow(t,e)},children:"Filter"}),Object(M.jsx)(_t.a.Item,{onClick:()=>this.handleRowDelete(t.column_name,t.display_name),children:"Delete"})]})]})})))})]}),Object(M.jsxs)("div",{className:"dragAndDropBox position-relative",children:[this.state.show?Object(M.jsx)(Q.a,{variant:"danger",onClose:this.handleClose,dismissible:!0,children:Object(M.jsx)("p",{children:this.state.errMessage})}):"",Object(M.jsx)("div",{className:"table-responsive",children:"Table"===this.state.dataFormat?this.state.myData.length>0&&Object(M.jsx)(Ip.a,{aggregatorName:"Sum",cols:this.state.columns,rows:this.state.rows,vals:["value"],data:this.state.myData,onChange:t=>this.setState(t),renderers:Object.assign({},Rp.a,Lp)}):Object(M.jsx)(Gp,{chartData:{data:this.state.myData,cols:this.state.columnWidgets,rows:this.state.rowWidgets}})})]})]}),Object(M.jsx)("div",{className:"myocM",children:Object(M.jsxs)(tr.a,{defaultActiveKey:"2",children:[Object(M.jsxs)(tr.a.Item,{eventKey:"0",children:[Object(M.jsx)(tr.a.Header,{children:"Filters"}),Object(M.jsx)(tr.a.Body,{children:Object(M.jsxs)("ul",{className:"p-0 m-0 valuesDrageedItem",onDrop:this.handleOnDropFilters,onDragOver:this.handleDragOver,children:[this.state.filterWidgets.length>0?null:Object(M.jsx)("li",{children:"Drag and Drop Here"}),this.state.filterWidgets.map(((t,e)=>Object(M.jsx)(M.Fragment,{children:Object(M.jsxs)(_t.a,{children:[Object(M.jsx)(_t.a.Toggle,{variant:"success",children:t.display_name}),Object(M.jsxs)(_t.a.Menu,{children:[Object(M.jsx)(_t.a.Item,{onClick:e=>{this.handleModalShowFilters(t)},children:"Filter"}),Object(M.jsx)(_t.a.Item,{onClick:()=>this.handleFilterDelete(t.column_name,t.display_name,t.column_type),children:"Delete"})]})]})})))]})})]}),Object(M.jsxs)(tr.a.Item,{eventKey:"1",children:[Object(M.jsx)(tr.a.Header,{children:"Chart Type"}),Object(M.jsx)(tr.a.Body,{children:Object(M.jsxs)("ul",{className:"p-0 m-0",children:[Object(M.jsxs)("li",{className:"Table"===this.state.dataFormat?"active":"",onClick:()=>{this.handleDataFormat("Table")},children:["Table ",Object(M.jsx)(Pt.a,{icon:"octicon:table-24"})]}),Object(M.jsxs)("li",{className:"Bar"===this.state.dataFormat?"active":"",onClick:()=>{this.handleDataFormat("Bar")},children:["Bar ",Object(M.jsx)(Pt.a,{icon:"bi:bar-chart-fill"})]})]})})]}),Object(M.jsxs)(tr.a.Item,{eventKey:"2",className:"position-relative",children:[Object(M.jsx)(tr.a.Header,{children:"Values"}),Object(M.jsx)(tr.a.Body,{children:Object(M.jsxs)("ul",{style:{minHeight:"60vh"},className:"p-0 m-0 valuesDrageedItem d-block",onDrop:this.handleOnDropValue,onDragOver:this.handleDragOver,children:[this.state.valueWidgets.length>0?null:Object(M.jsx)("li",{children:"Drag and Drop Here"}),this.state.valueWidgets.map(((t,e)=>Object(M.jsxs)(_t.a,{children:[Object(M.jsxs)(_t.a.Toggle,{variant:"success",children:[t.aggregate," (",t.display_name,")"]}),Object(M.jsx)(_t.a.Menu,{children:this.state.aggregateropDownValues.map(((a,s)=>Object(M.jsx)(_t.a.Item,{onClick:()=>{"delete"===a.name?this.handleValueDelete(t.column_name,t.display_name):this.handleDropdownChange(a.name,e)},children:a.label},s)))})]},e)))]})})]})]})})]}),Object(M.jsxs)(k.a,{show:this.state.modalShowColumn,onHide:this.handleModalCloseCol,children:[Object(M.jsx)(k.a.Header,{closeButton:!0}),Object(M.jsx)(k.a.Body,{children:"date"===this.state.currentColumnType?Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.columnTypeDateDataCol,value:this.state.selectedColumnTypeDateDataCol,onCh
1ange:t=>this.handleSelectChange(t,"selectedColumnTypeDateDataCol"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner"}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"checkbox",id:"excludeCheckbox",checked:this.state.excludeNullEmptyCol,onChange:this.toggleExcludeNullEmptyCol}),Object(M.jsx)("label",{htmlFor:"excludeCheckbox",children:"Exclude Null/Empty:"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"yearly",name:"yearlyQuarterlyCheckBox",checked:"y"===this.state.yearlyOrQuarterlyCol,onChange:()=>{this.handleRadioChangeCol("y")}}),Object(M.jsx)("label",{htmlFor:"yearly",children:"Yearly"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"quarterly",name:"yearlyQuarterlyCheckBox",checked:"q"===this.state.yearlyOrQuarterlyCol,onChange:()=>{this.handleRadioChangeCol("q")}}),Object(M.jsx)("label",{htmlFor:"quarterly",children:"Quarterly"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.updateTableDataForDateCol,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):"string"===this.state.currentColumnType&&!1===this.state.currentColumnSearchable?Object(M.jsxs)("div",{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.stringNotSearchableDataCol,value:this.state.selectedStringNotSearchableDataCol,onChange:t=>this.handleSelectChange(t,"selectedStringNotSearchableDataCol"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner"}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"checkbox",id:"excludeCheckbox",checked:this.state.excludeNullEmptyCol,onChange:this.toggleExcludeNullEmptyCol}),Object(M.jsx)("label",{htmlFor:"excludeCheckbox",children:"Exclude Null/Empty:"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"exclude",name:"excludeIncludeCheckBox",checked:!0===this.state.popupIsIncludedCol,onChange:()=>{this.setState({popupIsIncludedCol:!0})}}),Object(M.jsx)("label",{htmlFor:"exclude",children:"Include Selected"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"include",name:"excludeIncludeCheckBox",checked:!0!==this.state.popupIsIncludedCol,onChange:()=>{this.setState({popupIsIncludedCol:!1})}}),Object(M.jsx)("label",{htmlFor:"include",children:"Exclude Selected"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.updateTableDataForNonSearchStringCol,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):["number","decimal1","decimal2","decimal4"].includes(this.state.currentColumnType)?Object(M.jsxs)("div",{children:[Object(M.jsxs)("div",{className:"d-flex justify-content-between align-items-center mb-2",children:[Object(M.jsx)("b",{children:"Min"}),Object(M.jsx)("b",{children:"Max"})]}),Object(M.jsx)(E.a,{value:[this.state.currentSelectedMinMaxColumnValue[0],this.state.currentSelectedMinMaxColumnValue[1]],min:this.state.minValueColumn,max:this.state.maxValueColumn,progress:!0,onChange:t=>{this.setState({minValueTextColumn:t[0],maxValueTextColumn:t[1],currentSelectedMinMaxColumnValue:t})}}),Object(M.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[Object(M.jsx)("b",{children:this.state.minValueTextColumn}),Object(M.jsx)("b",{children:this.state.maxValueTextColumn})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.updateMinMaxDataColumn,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):"string"===this.state.currentColumnType&&!0===this.state.currentColumnSearchable?Object(M.jsxs)("div",{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.stringSearchableDataColumn,value:this.state.selectedStringSearchableDataCol,onChange:t=>this.handleSelectChange(t,"selectedStringSearchableDataCol"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner",onInputChange:t=>{this.setState({searchingData:t},(()=>{this.fetchFilterDataOnSearchColumn()}))},onclick:()=>{this.fetchFilterDataOnSearchColumn()}}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"checkbox",id:"excludeCheckbox",checked:this.state.excludeNullEmptyCol,onCh
1ange:this.toggleExcludeNullEmptyCol}),Object(M.jsx)("label",{htmlFor:"excludeCheckbox",children:"Exclude Null/Empty:"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"exclude",name:"excludeIncludeCheckBox",checked:!0===this.state.popupIsIncludedCol,onChange:()=>{this.setState({popupIsIncludedCol:!0})}}),Object(M.jsx)("label",{htmlFor:"exclude",children:"Include Selected"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"include",name:"excludeIncludeCheckBox",checked:!0!==this.state.popupIsIncludedCol,onChange:()=>{this.setState({popupIsIncludedCol:!1})}}),Object(M.jsx)("label",{htmlFor:"include",children:"Exclude Selected"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.selectedStringSearchableDataColBtn,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):""})]}),Object(M.jsxs)(k.a,{show:this.state.modalShowRow,onHide:this.handleModalCloseRow,children:[Object(M.jsx)(k.a.Header,{closeButton:!0}),Object(M.jsx)(k.a.Body,{children:"date"===this.state.currentRowType?Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.columnTypeDateDataRow,value:this.state.selectedColumnTypeDateDataRow,onChange:t=>this.handleSelectChange(t,"selectedColumnTypeDateDataRow"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner"}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"checkbox",id:"excludeCheckbox",checked:this.state.excludeNullEmptyRow,onChange:this.toggleExcludeNullEmptyRow}),Object(M.jsx)("label",{htmlFor:"excludeCheckbox",children:"Exclude Null/Empty:"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"yearly",name:"yearlyQuarterlyCheckBox",checked:"y"===this.state.yearlyOrQuarterlyRow,onChange:()=>{this.handleRadioChangeRow("y")}}),Object(M.jsx)("label",{htmlFor:"yearly",children:"Yearly"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"quarterly",name:"yearlyQuarterlyCheckBox",checked:"q"===this.state.yearlyOrQuarterlyRow,onChange:()=>{this.handleRadioChangeRow("q")}}),Object(M.jsx)("label",{htmlFor:"quarterly",children:"Quarterly"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.updateTableDataForDateRow,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):"string"===this.state.currentRowType&&!1===this.state.currentRowSearchable?Object(M.jsxs)("div",{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.stringNotSearchableDataRow,value:this.state.selectedStringNotSearchableDataRow,onChange:t=>this.handleSelectChange(t,"selectedStringNotSearchableDataRow"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner"}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"checkbox",id:"excludeCheckbox",checked:this.state.excludeNullEmptyRow,onChange:this.toggleExcludeNullEmptyRow}),Object(M.jsx)("label",{htmlFor:"excludeCheckbox",children:"Exclude Null/Empty:"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"exclude",name:"excludeIncludeCheckBox",checked:!0===this.state.popupIsIncludedRow,onChange:()=>{this.setState({popupIsIncludedRow:!0})}}),Object(M.jsx)("label",{htmlFor:"exclude",children:"Include Selected"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"include",name:"excludeIncludeCheckBox",checked:!0!==this.state.popupIsIncludedRow,onChange:()=>{this.setState({popupIsIncludedRow:!1})}}),Object(M.jsx)("label",{htmlFor:"include",children:"Exclude Selected"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.updateTableDataForNonSearchStringRow,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):["number","decimal1","decimal2","decimal4"].includes(this.state.currentRowType)?Object(M.jsxs)("div",{children:[Object(M.jsxs)("div",{className:"d-flex justify-content-between align-items-center mb-2",children:[Object(M.jsx)("b",{children:"Min"}),Object(M.jsx)("b",{children:"Max"})]}),Object(M.jsx)(E.a,{value:[this.state.currentSelectedMinMaxRowValue[0],this.state.currentSelectedMinMaxRowValue[1]],min:this.state.minValueRow,max:this.state.maxValueRow,progress:!0,onChange:t=>{this.setState({minValueTextRow:t[0],maxValueTextRow:t[1],currentSelectedMinMaxRowValue:t})}}),Object(M.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[Object(M.jsx)("b",{children:this.state.minValueTextRow}),Object(M.jsx)("b",{children:this.state.maxValueTextRow})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.updateMinMaxDataRow,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):"string"===this.state.currentRowType&&!0===this.state.currentRowSearchable?Object(M.jsxs)("div",{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.stringSearchableDataRow,value:this.state.selectedStringSearchableDataRow,onChange:t=>this.handleSelectChange(t,"selectedStringSearchableDataRow"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner",onInputChange:t=>{this.setState({searchingData:t},(()=>{this.fetchFilterDataOnSearchRow()}))},onclick:()=>{this.fetchFilterDataOnSearchRow()}}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"checkbox",id:"excludeCheckbox",checked:this.state.excludeNullEmptyRow,onChange:this.toggleExcludeNullEmptyRow}),Object(M.jsx)("label",{htmlFor:"excludeCheckbox",children:"Exclude Null/Empty:"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"exclude",name:"excludeIncludeCheckBox",checked:!0===this.state.popupIsIncludedRow,onChange:()=>{this.setState({popupIsIncludedRow:!0})}}),Object(M.jsx)("label",{htmlFor:"exclude",children:"Include Selected"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"include",name:"excludeIncludeCheckBox",checked:!0!==this.state.popupIsIncludedRow,onChange:()=>{this.setState({popupIsIncludedRow:!1})}}),Object(M.jsx)("label",{htmlFor:"include",children:"Exclude Selected"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.updateTableDataRow,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):""})]}),Object(M.jsxs)(k.a,{show:this.state.modalShowFilter,onHide:this.handleModalCloseFilter,children:[Object(M.jsx)(k.a.Header,{closeButton:!0}),Object(M.jsx)(k.a.Body,{children:"date"===this.state.currentFilterType?Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.filterSectionDate,value:this.state.selectedFilterSectionDate,onChange:t=>this.handleSelectChange(t,"selectedFilterSectionDate"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner"}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"yearly",name:"yearlyQuarterlyCheckBox",checked:"y"===this.state.yearlyOrQuarterlyFilter,onChange:()=>{this.handleRadioChangeFilter("y")}}),Object(M.jsx)("label",{htmlFor:"yearly",children:"Yearly"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"quarterly",name:"yearlyQuarterlyCheckBox",checked:"q"===this.state.yearlyOrQuarterlyFilter,onChange:()=>{this.handleRadioChangeFilter("q")}}),Object(M.jsx)("label",{htmlFor:"quarterly",children:"Quarterly"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.filterSectionDateBtn,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):"string"===this.state.currentFilterType&&!1===this.state.currentFilterSearchable?Object(M.jsxs)("div",{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.filterSectionNotSearchable,value:this.state.selectedFilterSectionNotSearchable,onChange:t=>this.handleSelectChange(t,"selectedFilterSectionNotSearchable"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner"}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"exclude",name:"excludeIncludeCheckBox",checked:!0===this.state.popupIsIncludedFilter,onChange:()=>{this.setState({popupIsIncludedFilter:!0})}}),Object(M.jsx)("label",{htmlFor:"exclude",children:"Include Selected"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"include",name:"excludeIncludeCheckBox",checked:!0!==this.state.popupIsIncludedFilter,onChange:()=>{this.setState({popupIsIncludedFilter:!1})}}),Object(M.jsx)("label",{htmlFor:"include",children:"Exclude Selected"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.filterSectionNotSearchableBtn,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):["number","decimal1","decimal2","decimal4"].includes(this.state.currentFilterType)?Object(M.jsxs)("div",{children:[Object(M.jsxs)("div",{className:"d-flex justify-content-between align-items-center mb-2",children:[Object(M.jsx)("b",{children:"Min"}),Object(M.jsx)("b",{children:"Max"})]}),Object(M.jsx)(E.a,{value:[this.state.currentSelectedMinMaxFilterValue[0],this.state.currentSelectedMinMaxFilterValue[1]],min:this.state.minValueFilter,max:this.state.maxValueFilter,progress:!0,onChange:t=>{this.setState({minValueTextFilter:t[0],maxValueTextFilter:t[1],currentSelectedMinMaxFilterValue:t})}}),Object(M.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[Object(M.jsx)("b",{children:this.state.minValueTextFilter}),Object(M.jsx)("b",{children:this.state.maxValueTextFilter})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.minMaxValueFilterBtn,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):"string"===this.state.currentFilterType&&!0===this.state.currentFilterSearchable?Object(M.jsxs)("div",{children:[Object(M.jsx)(rt.a,{isMulti:!0,name:"colors",options:this.state.filterSectionSearchable,value:this.state.selectedFilterSectionSearchable,onChange:t=>this.handleSelectChange(t,"selectedFilterSectionSearchable"),className:"reactSelectCss",classNamePrefix:"reactSelectCssInner",onInputChange:t=>{this.setState({searchingData:t},(()=>{this.fetchFilterDataOnSearchFilter()}))},onclick:()=>{this.fetchFilterDataOnSearchFilter()}}),Object(M.jsxs)("div",{className:"d-flex align-items-center excludeIncludeCheckBox mt-2",children:[Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"exclude",name:"excludeIncludeCheckBox",checked:!0===this.state.popupIsIncludedFilter,onChange:()=>{this.setState({popupIsIncludedFilter:!0})}}),Object(M.jsx)("label",{htmlFor:"exclude",children:"Include Selected"})]}),Object(M.jsxs)("div",{children:[Object(M.jsx)("input",{type:"radio",id:"include",name:"excludeIncludeCheckBox",checked:!0!==this.state.popupIsIncludedFilter,onChange:()=>{this.setState({popupIsIncludedFilter:!1})}}),Object(M.jsx)("label",{htmlFor:"include",children:"Exclude Selected"})]})]}),Object(M.jsx)("div",{className:"text-end",children:Object(M.jsx)("button",{type:"button",onClick:this.selectedFilterSectionSearchableBtn,class:"btn btn-secondary mt-3",children:"Get Data"})})]}):""})]})]})}}Vp.contextType=Wt;var zp=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Vp);class Jp extends i.a.Component{constructor(){super(...arguments),this.state={passedFilters:{},errorCode:0,filters:"",customClassName:!1}}componentDidMount(){d.a.get("https://www.crematrix.com/api/edge/office/check_auth").then((t=>{var e;(t=>{try{if(!t)return;if(xt||bt(),At.a.register({env:t.env,user_id:t.user_id,user_name:t.user_name,user_email:t.user_email,company_id:t.company_id,company_name:t.company_name,company_type:t.company_type}),t.user_id||t.user_email){const e=t.user_email||t.user_id;At.a.identify(e),At.a.people.set({$name:t.user_name,$email:t.user_email,company_id:t.company_id,company_name:t.company_name,company_type:t.company_type,env:t.env})}}catch(e){console.error("Mixpanel registerGlobalProperties failed:",e)}})(null===t||void 0===t||null===(e=t.data)||void 0===e?void 0:e.data),t.data={error:[],success:["Data fetched successfully."],data:{edge_office_export:1,edge_office_export_pdf:1,is_crematrix_user:1}};var a=X(W.get.filter);this.props.dispatch({type:"CHANGE_SELECTED_FILTER",payload:a}),this.props.dispatch({type:"SET_DOWNLOAD_PERMISSIONS",payload:t.data.data}),this.props.dispatch({type:"CHECK_USER_COMPANY",payload:t.data.data.is_crematrix_user}),this.setState({errorCode:200,passedFilters:a})})).catch((t=>{t.response?this.setState({errorCode:t.response.status}):t.request?(console.log("request error"),this.setState({errorCode:400})):console.log("Error",t.message)}))}componentDidUpdate(){JSON.stringify(this.props.filters)!=JSON.stringify(this.state.passedFilters)&&(this.setState({errorCode:200,passedFilters:this.props.filters}),window.location.href.includes("custom/?filter")?this.setState({customClassName:!0}):this.setState({customClassName:!1}))}render(){return 401===this.state.errorCode&&(window.location.href="https://www.crematrix.com/login"),200===this.state.errorCode?Object(M.jsx)(Jt,{value:{filters:this.state.passedFilters},children:Object(M.jsxs)(c.d,{children:[Object(M.jsx)(c.b,{exact:!0,path:"/office",children:Object(M.jsx)(c.a,{to:"/office/dashboard"})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/dashboard",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(Lt,{activeKey:"Dashboard",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(Sa,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/region",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(Lt,{activeKey:"Market",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(bi,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/developer",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(Lt,{activeKey:"Developer",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(fh,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/asset",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(Lt,{activeKey:"Property",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(Do,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/occupier",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(Lt,{activeKey:"Tenant",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(Qc,{})})]})})}
1)]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/map",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",style:{height:"100dvh",display:"flex",flexDirection:"column",overflow:"hidden"},children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{style:{flex:1,minHeight:0},children:Object(M.jsx)("div",{className:"container-fluid",style:{height:"100%"},children:Object(M.jsxs)("div",{className:"row",style:{height:"100%"},children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(Lt,{activeKey:"Map",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer py-0",style:{height:"100%"},children:Object(M.jsx)(Yn,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/custom",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:!0===this.state.customClassName?"col-lg-1 pe-0 sideNavContainer":"col-lg-1 pe-0 sideNavContainer customPageClass",children:Object(M.jsx)(Lt,{activeKey:"Custom",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(pr,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/transaction",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0 transactionRouteShell",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",style:{height:"93vh"},children:Object(M.jsx)(Lt,{activeKey:"Transaction",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer transactionPadding",children:Object(M.jsx)(yr,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/office/make-your-chart",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(kt,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",style:{height:"93vh"},children:Object(M.jsx)(Lt,{activeKey:"Myoc",propertyType:"office"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(zp,{})})]})})})]})}),Object(M.jsx)(c.b,{path:"*",exact:!0,children:Object(M.jsx)(fr,{})})]})}):Object(M.jsx)("div",{})}}var Wp=Object(D.b)((function(t){return{filters:t.selectedFilters}}))(Jp);const Hp=new w({get:!0,post:!0,url:"api/screener/get_data"});const Zp=Object(S.b)((t=>{const e={onMouseDown:t=>{t.preventDefault(),t.stopPropagation()}};return Object(M.jsx)(m.q.MultiValue,Object(h.a)(Object(h.a)({},t),{},{innerProps:e}))})),Xp=Object(S.a)(b.a);var Kp=Object(D.b)((t=>({filter:t.filter})),null)((function(t){const[e,a]=Object(s.useState)(null),[i,l]=Object(s.useState)(null);Object(s.useEffect)((()=>{a(t.defaultVal),t.dispatch({type:"ADD_TO_FILTER",payload:{key:t.filter_name,value:t.defaultVal}})}),[t.defaultVal]);const o={container:t=>Object(h.a)(Object(h.a)({},t),{},{width:"60%"})};return Object(M.jsx)(Xp,{axis:"xy",distance:4,getHelperDimensions:t=>{let{node:e}=t;return e.getBoundingClientRect()},onSortEnd:s=>{let{oldIndex:i,newIndex:l}=s;const o=(n=i,r=l,(c=(c=e).slice()).splice(r<0?c.length+r:r,0,c.splice(n,1)[0]),c);var c,n,r;a(o),t.dispatch({type:"ADD_TO_FILTER",payload:{key:t.filter_name,value:o}}),t.onChange(t.component_name,o)},defaultOptions:i,value:e,defaultValue:e,getOptionLabel:t=>t.label,getOptionValue:t=>t.id,loadOptions:e=>{var a="";return Object.keys(t.filter).map(((e,s)=>{Object.values(t.filter)[s].map((t=>{a+="&"+e+"[]="+t.value}))})),Hp.get("?q=".concat(t.component_name).concat(a,"&screener=edge_retail&search_term=").concat(e)).then((t=>t.data.suggestions))},onFocus:e=>{var a="";Object.keys(t.filter).map(((e,s)=>{Object.values(t.filter)[s].map((t=>{a+="&"+e+"[]="+t.value}))})),Hp.get("?q=".concat(t.component_name).concat(a,"&screener=edge_retail")).then((t=>{l(t.data.suggestions)}))},onChange:s=>{s.length>e.length?t.dispatch({type:"ADD_TO_FILTER",payload:{key:t.filter_name,value:s}}):t.dispatch({type:"REMOVE_FROM_FILTER",payload:{key:t.filter_name,value:s}}),a(s),t.onChange(t.component_name,s)},isMulti:!0,styles:o,maxMenuHeight:100,components:{MultiValue:Zp},backspaceRemovesValue:!0})}
1));const qp=Object(S.b)((t=>{const e={onMouseDown:t=>{t.preventDefault(),t.stopPropagation()}};return Object(M.jsx)(m.q.MultiValue,Object(h.a)(Object(h.a)({},t),{},{innerProps:e}))})),$p=Object(S.a)(rt.a);var tj=Object(D.b)((t=>({filter:t.filter})),null)((function(t){const[e,a]=Object(s.useState)(null),[i,l]=Object(s.useState)(null);Object(s.useEffect)((()=>{a(t.defaultVal),l(t.options)}),[t.defaultVal,t.options]);const o={container:t=>Object(h.a)(Object(h.a)({},t),{},{width:"60%"})};return Object(M.jsx)($p,{axis:"xy",distance:4,getHelperDimensions:t=>{let{node:e}=t;return e.getBoundingClientRect()},onSortEnd:s=>{let{oldIndex:i,newIndex:l}=s;const o=(n=i,r=l,(c=(c=e).slice()).splice(r<0?c.length+r:r,0,c.splice(n,1)[0]),c);var c,n,r;a(o),t.onChange(t.component_name,o)},value:e,onChange:e=>{a(e),t.onChange(t.component_name,e)},options:i,isMulti:!0,components:{MultiValue:qp},styles:o,maxMenuHeight:100})}));class ej extends i.a.Component{constructor(){super(...arguments),this.state={city:[],macromarket:[],micromarket:[],pincode:[],complex:[],building:[],building_grade:[],spacetype:[],property_condition:[],tenant:[],developer:[],landlord:[],renewed_lease:[],document_type:[],active:[],Lease_Id:[],Sale_Id:[],seller:[],purchaser:[],brand_sub_category:[],brands_parent:[],securityDeposit:[0,0],startingRent:[0,0],startingRentCarpet:[0,0],currentRent:[0,0],currentRentCarpet:[0,0],leaseTerm:[0,0],rentFreePeriod:[0,0],lockinPeriod:[0,0],transactionSize:[0,0],perSqFt:[0,0],totalConsideration:[0,0],areaPurchased:[0,0],rsStartingRentPercent:[0,0],rsCurrentRentPercent:[0,0],start_leaseExpiryDate:null,end_leaseExpiryDate:null,months_leaseExpiryDate:"",start_lockinPeriodEndDate:null,end_lockinPeriodEndDate:null,months_lockinPeriodEndDate:"",start_executionDate:null,end_executionDate:null,months_executionDate:"",start_commencementDate:null,end_commencementDate:null,months_commencementDate:"",start_absorptionDate:null,end_absorptionDate:null,months_absorptionDate:"",start_occupancy_date_orig:null,end_occupancy_date_orig:null,months_occupancy_date_orig:"",floor_number:[],redirect:!1,uri:"",showAlert:!1,showFilter:!1,filters:[],filterSaveName:"",saveClicked:!1}}componentDidMount(){var t=new FormData;t.append("screener","edge_retail"),P.post(t).then((t=>{var e={};for(let s in t.data)"undefined"!==typeof t.data[s].main_category&&(e[t.data[s].main_category]=[]);for(let s in t.data)"undefined"!==typeof t.data[s].main_category&&e[t.data[s].main_category].push(t.data[s]);if(this.setState({showFilter:!0,filters:e}),"undefined"!==typeof W.get.filter){var a=JSON.parse(W.get.filter);this.setState({city:"undefined"!==typeof a.city?a.city:[],macromarket:"undefined"!==typeof a.macromarket?a.macromarket:[],micromarket:"undefined"!==typeof a.micromarket?a.micromarket:[],pincode:"undefined"!==typeof a.pincode?a.pincode:[],complex:"undefined"!==typeof a.complex?a.complex:[],building:"undefined"!==typeof a.building?a.building:[],building_grade:"undefined"!==typeof a.building_grade?a.building_grade:[],spacetype:"undefined"!==typeof a.spacetype?a.spacetype:[],property_condition:"undefined"!==typeof a.property_condition?a.property_condition:[],tenant:"undefined"!==typeof a.tenant?a.tenant:[],developer:"undefined"!==typeof a.developer?a.developer:[],landlord:"undefined"!==typeof a.landlord?a.landlord:[],renewed_lease:"undefined"!==typeof a.renewed_lease?a.renewed_lease:[],document_type:"undefined"!==typeof a.document_type?a.document_type:[],active:"undefined"!==typeof a.active?a.active:[],Lease_Id:"undefined"!==typeof a.Lease_Id?a.Lease_Id:[],Sale_Id:"undefined"!==typeof a.Sale_Id?a.Sale_Id:[],seller:"undefined"!==typeof a.seller?a.seller:[],purchaser:"undefined"!==typeof a.purchaser?a.purchaser:[],brand_sub_category:"undefined"!==typeof a.brand_sub_category?a.brand_sub_category:[],brands_parent:"undefined"!==typeof a.brands_parent?a.brands_parent:[],securityDeposit:"undefined"!==typeof a.securityDeposit?a.securityDeposit:[0,0],startingRent:"undefined"!==typeof a.startingRent?a.startingRent:[0,0],startingRentCarpet:"undefined"!==typeof a.startingRentCarpet?a.startingRentCarpet:[0,0],currentRent:"undefined"!==typeof a.currentRent?a.currentRent:[0,0],currentRentC
1arpet:"undefined"!==typeof a.currentRentCarpet?a.currentRentCarpet:[0,0],leaseTerm:"undefined"!==typeof a.leaseTerm?a.leaseTerm:[0,0],rentFreePeriod:"undefined"!==typeof a.rentFreePeriod?a.rentFreePeriod:[0,0],lockinPeriod:"undefined"!==typeof a.lockinPeriod?a.lockinPeriod:[0,0],transactionSize:"undefined"!==typeof a.transactionSize?a.transactionSize:[0,0],perSqFt:"undefined"!==typeof a.perSqFt?a.perSqFt:[0,0],totalConsideration:"undefined"!==typeof a.totalConsideration?a.totalConsideration:[0,0],areaPurchased:"undefined"!==typeof a.areaPurchased?a.areaPurchased:[0,0],rsStartingRentPercent:"undefined"!==typeof a.rsStartingRentPercent?a.rsStartingRentPercent:[0,0],rsCurrentRentPercent:"undefined"!==typeof a.rsCurrentRentPercent?a.rsCurrentRentPercent:[0,0],start_leaseExpiryDate:"undefined"!==typeof a.start_leaseExpiryDate?Y()(a.start_leaseExpiryDate).toDate():null,end_leaseExpiryDate:"undefined"!==typeof a.end_leaseExpiryDate?Y()(a.end_leaseExpiryDate).toDate():null,months_leaseExpiryDate:"undefined"!==typeof a.months_leaseExpiryDate?a.months_leaseExpiryDate:"",start_lockinPeriodEndDate:"undefined"!==typeof a.start_lockinPeriodEndDate?Y()(a.start_lockinPeriodEndDate).toDate():null,end_lockinPeriodEndDate:"undefined"!==typeof a.end_lockinPeriodEndDate?Y()(a.end_lockinPeriodEndDate).toDate():null,months_lockinPeriodEndDate:"undefined"!==typeof a.months_lockinPeriodEndDate?a.months_lockinPeriodEndDate:"",start_executionDate:"undefined"!==typeof a.start_executionDate?Y()(a.start_executionDate).toDate():null,end_executionDate:"undefined"!==typeof a.end_executionDate?Y()(a.end_executionDate).toDate():null,months_executionDate:"undefined"!==typeof a.months_executionDate?a.months_executionDate:"",start_commencementDate:"undefined"!==typeof a.start_commencementDate?Y()(a.start_commencementDate).toDate():null,end_commencementDate:"undefined"!==typeof a.end_commencementDate?Y()(a.end_commencementDate).toDate():null,months_commencementDate:"undefined"!==typeof a.months_commencementDate?a.months_commencementDate:"",start_absorptionDate:"undefined"!==typeof a.start_absorptionDate?Y()(a.start_absorptionDate).toDate():null,end_absorptionDate:"undefined"!==typeof a.end_absorptionDate?Y()(a.end_absorptionDate).toDate():null,months_absorptionDate:"undefined"!==typeof a.months_absorptionDate?a.months_absorptionDate:"",start_occupancy_date_orig:"undefined"!==typeof a.start_occupancy_date_orig?Y()(a.start_occupancy_date_orig).toDate():null,end_occupancy_date_orig:"undefined"!==typeof a.end_occupancy_date_orig?Y()(a.end_occupancy_date_orig).toDate():null,months_occupancy_date_orig:"undefined"!==typeof a.months_occupancy_date_orig?a.months_occupancy_date_orig:"",floor_number:"undefined"!==typeof a.floor_number?a.floor_number:[]})}}))}render(){const{before:t}=T.a,e=(t,e)=>{this.setState({[t]:e})},a=(t,e)=>{this.setState({[t]:e})},s=(t,e)=>{this.setState({["start_"+t]:e}),null!==this.state["end_"+t]&&new Date(this.state["end_"+t])<new Date(e)&&this.setState({["end_"+t]:null})},i=(t,e)=>{this.setState({["end_"+t]:e})},l=(t,e)=>{if(13===e.keyCode){e.preventDefault();var a=Y()(new Date).add(e.target.value,"M").toDate();this.setState({["start_"+t]:new Date,["end_"+t]:a,["months_"+t]:e.target.value})}},o=(t,e)=>{if(13===e.keyCode){e.preventDefault();var a=Y()(new Date).subtract(e.target.value,"M").toDate();this.setState({["end_"+t]:new Date,["start_"+t]:a,["months_"+t]:e.target.value})}},n=t=>{const e={};let a={};return Object.keys(t).map(((e,s)=>{null===t[e]||0===t[e].length||""===t[e]||Array.isArray(t[e])&&t[e].join("|")===[0,0].join("|")||(a[e]=t[e])})),0===Object.keys(a).length&&(e.error="Select at least one filter",this.setState({showAlert:!0})),e},r=t=>{this.setState({filterSaveName:t.target.value})},d=()=>{this.setState({saveClicked:!0})},h=t=>{var e=this.props.location.pathname;this.props.history.push(e),this.setState({city:[],macromarket:[],micromarket:[],pincode:[],complex:[],building:[],building_grade:[],spacetype:[],property_condition:[],tenant:[],developer:[],landlord:[],renewed_lease:[],document_type:[],active:[],Lease_Id:[],Sale_Id:[],seller:[],purchaser:[],brand_sub_category:[],brands_parent:[],securityDeposit:[0,0],startingRent:[0,0],startingRentCarpet:[0,0],currentRent:[0,0],currentRentC
1arpet:[0,0],leaseTerm:[0,0],rentFreePeriod:[0,0],lockinPeriod:[0,0],transactionSize:[0,0],perSqFt:[0,0],totalConsideration:[0,0],areaPurchased:[0,0],rsStartingRentPercent:[0,0],rsCurrentRentPercent:[0,0],start_leaseExpiryDate:null,end_leaseExpiryDate:null,months_leaseExpiryDate:"",start_lockinPeriodEndDate:null,end_lockinPeriodEndDate:null,months_lockinPeriodEndDate:"",start_executionDate:null,end_executionDate:null,months_executionDate:"",start_commencementDate:null,end_commencementDate:null,months_commencementDate:"",start_absorptionDate:null,end_absorptionDate:null,months_absorptionDate:"",start_occupancy_date_orig:null,end_occupancy_date_orig:null,months_occupancy_date_orig:"",floor_number:[]})};return!0===this.state.redirect?(this.state.redirect=!1,Object(M.jsx)(c.a,{to:this.state.uri})):!1===this.state.showFilter?Object(M.jsx)("div",{className:"row filterContainer",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{children:"Loading Filters"})})}):!0===this.state.showFilter?Object(M.jsx)("div",{className:"row filterContainer",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(v.d,{initialValues:{city:this.state.city,macromarket:this.state.macromarket,micromarket:this.state.micromarket,pincode:this.state.pincode,complex:this.state.complex,building:this.state.building,building_grade:this.state.building_grade,spacetype:this.state.spacetype,property_condition:this.state.property_condition,tenant:this.state.tenant,developer:this.state.developer,landlord:this.state.landlord,renewed_lease:this.state.renewed_lease,document_type:this.state.document_type,active:this.state.active,Lease_Id:this.state.Lease_Id,Sale_Id:this.state.Sale_Id,seller:this.state.seller,purchaser:this.state.purchaser,brand_sub_category:this.state.brand_sub_category,brands_parent:this.state.brands_parent,securityDeposit:this.state.securityDeposit,startingRent:this.state.startingRent,startingRentCarpet:this.state.startingRentCarpet,currentRent:this.state.currentRent,currentRentCarpet:this.state.currentRentCarpet,leaseTerm:this.state.leaseTerm,rentFreePeriod:this.state.rentFreePeriod,lockinPeriod:this.state.lockinPeriod,transactionSize:this.state.transactionSize,perSqFt:this.state.perSqFt,totalConsideration:this.state.totalConsideration,areaPurchased:this.state.areaPurchased,rsStartingRentPercent:this.state.rsStartingRentPercent,rsCurrentRentPercent:this.state.rsCurrentRentPercent,start_leaseExpiryDate:this.state.start_leaseExpiryDate,end_leaseExpiryDate:this.state.end_leaseExpiryDate,months_leaseExpiryDate:this.state.months_leaseExpiryDate,start_lockinPeriodEndDate:this.state.start_lockinPeriodEndDate,end_lockinPeriodEndDate:this.state.end_lockinPeriodEndDate,months_lockinPeriodEndDate:this.state.months_lockinPeriodEndDate,start_executionDate:this.state.start_executionDate,end_executionDate:this.state.end_executionDate,months_executionDate:this.state.months_executionDate,start_commencementDate:this.state.start_commencementDate,end_commencementDate:this.state.end_commencementDate,months_commencementDate:this.state.months_commencementDate,start_absorptionDate:this.state.start_absorptionDate,end_absorptionDate:this.state.end_absorptionDate,months_absorptionDate:this.state.months_absorptionDate,start_occupancy_date_orig:this.state.start_occupancy_date_orig,end_occupancy_date_orig:this.state.end_occupancy_date_orig,months_occupancy_date_orig:this.state.months_occupancy_date_orig,floor_number:this.state.floor_number},enableReinitialize:!0,validate:n,onSubmit:(t,e)=>{let{setFieldError:a}=e,s={},i={},l={city:"markets",macromarket:"macromarkets",micromarket:"micromarkets",pincode:"pincodes",complex:"complexes",building:"buildings",building_grade:"building-grade",spacetype:"spaceTypes",property_condition:"propertyCondition",tenant:"tenants",developer:"developers",landlord:"landlords",renewed_lease:"renewed-lease",document_type:"documentType",active:"lease-status",Lease_Id:"creid",Sale_Id:"cresaleid",seller:"seller",purchaser:"purchaser",brand_sub_category:"brand_sub_category",brands_parent:"brands_parent",securityDeposit:"securityDeposit",startingRent:"startingRent",startingRentCarpet:"startingRentCarpet",currentRent:"currentRent",currentRentC
1arpet:"currentRentCarpet",leaseTerm:"leaseTerm",rentFreePeriod:"rentFreePeriod",lockinPeriod:"lockinPeriod",transactionSize:"transactionSize",perSqFt:"perSqFt",totalConsideration:"totalConsideration",areaPurchased:"areaPurchased",rsStartingRentPercent:"rsStartingRentPercent",rsCurrentRentPercent:"rsCurrentRentPercent",start_leaseExpiryDate:"leaseExpiryDateMin",end_leaseExpiryDate:"leaseExpiryDateMax",start_lockinPeriodEndDate:"lockinPeriodEndDateMin",end_lockinPeriodEndDate:"lockinPeriodEndDateMax",start_executionDate:"executionDateMin",end_executionDate:"executionDateMax",start_commencementDate:"commencementDateMin",end_commencementDate:"commencementDateMax",start_absorptionDate:"absorptionDateMin",end_absorptionDate:"absorptionDateMax",start_occupancy_date_orig:"occupancy_date_origMin",end_occupancy_date_orig:"occupancy_date_origMax",floor_number:"floor_number"};var o;if(Object.keys(t).map(((e,a)=>{null===t[e]||0===t[e].length||""===t[e]||Array.isArray(t[e])&&t[e].join("|")===[0,0].join("|")||("securityDeposit"==e||"startingRent"==e||"startingRentCarpet"==e||"currentRent"==e||"currentRentCarpet"==e||"leaseTerm"==e||"rentFreePeriod"==e||"lockinPeriod"==e||"transactionSize"==e||"perSqFt"==e||"totalConsideration"==e||"areaPurchased"==e||"rsStartingRentPercent"==e||"rsCurrentRentPercent"==e?(s[e+"Start"]=[{value:t[e][0].toString(),id:"",label:t[e][0].toString()}],s[e+"End"]=[{value:t[e][1].toString(),id:"",label:t[e][1].toString()}]):"start_leaseExpiryDate"==e||"end_leaseExpiryDate"==e||"start_lockinPeriodEndDate"==e||"end_lockinPeriodEndDate"==e||"start_executionDate"==e||"end_executionDate"==e||"start_commencementDate"==e||"end_commencementDate"==e||"start_absorptionDate"==e||"end_absorptionDate"==e||"start_occupancy_date_orig"==e||"end_occupancy_date_orig"==e?s[l[e]]=[{value:Y()(t[e]).format("X")+"000",id:"",label:Y()(t[e]).format("DD-MM-YYYY")}]:"undefined"!==typeof l[e]&&(s[l[e]]=t[e]),i[e]=t[e])})),this.state.saveClicked)return this.setState({showAlert:!0}),""==this.state.filterSaveName?(a("error","Filter name is empty"),!1):((o=new FormData).append("filter-name",this.state.filterSaveName),o.append("action",2),o.append("filter-id",0),o.append("mode",1),o.append("present-count",100),o.append("filter-value",JSON.stringify(s)),o.append("screener","edge_retail"),G.post(o).then((t=>{a("error",t.data[0])})),!1);0!==Object.keys(s).length&&((o=new FormData).append("filter-value",JSON.stringify(s)),o.append("screener","edge_retail"),L.post(o).then((t=>{a("error",t.data[0]);var e=this.props.location.pathname+"?filter="+encodeURIComponent(JSON.stringify(i));this.setState({uri:e,redirect:!0}),this.props.onChange()})))},children:c=>{let{errors:n,touched:p}=c;return Object(M.jsxs)(v.c,{children:[Object(M.jsx)(A.a,{defaultActiveKey:"Location",id:"uncontrolled-tab-example",className:"mb-3",children:Object.keys(this.state.filters).map(((c,n)=>Object(M.jsx)(x.a,{eventKey:c,title:c,children:Object(M.jsx)("div",{className:"container",children:Object(M.jsx)("div",{className:"row",children:Object.values(this.state.filters)[n].map((c=>Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("label",{children:c.title})}),Object(M.jsxs)("div",{className:"col-lg-12",children:["autocompleteSourceDialog"===c.type?Object(M.jsx)(Kp,{component_name:c.params,filter_name:c["filter-name"],onChange:e,defaultVal:this.state[c.params]}):null,"range"===c.type?Object(M.jsxs)(M.Fragment,{children:[Object(M.jsx)("div",{children:c.min}),Object(M.jsx)(E.a,{component_name:c["filter-name"],min:c.min,max:c.max,onChange:t=>a(c["filter-name"],t),defaultValue:this.state[c["filter-name"]],value:this.state[c["filter-name"]],progress:!0}),Object(M.jsx)("div",{children:c.max})]}):null,"date"===c.type?"leaseExpiryDate"===c["filter-name"]||"lockinPeriodEndDate"===c["filter-name"]?Object(M.jsxs)(M.Fragment,{children:["From: ",Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",ranges:[],oneTap:!0,onChange:t=>s(c["filter-name"],t),value:this.state["start_"+c["filter-name"]]}),"To: ",Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",ranges:[],oneTap:!0,onChange:t=>i(c["filter-name"],t),disabledDate:t(new Date(this.state["start_"+c["filter-name"]])),value:this.state["end_"+c["filter-name"]]}),"OR",Object(M.jsx)(v.b,{autoComplete:"off",type:"text",name:"months_"+c["filter-name"],placeholder:c["date-helper-text-pre"],onKeyDown:t=>l(c["filter-name"],t)})]}):"executionDate"===c["filter-name"]?Object(M.jsxs)(M.Fragment,{children:["From: ",Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",ranges:[],oneTap:!0,onChange:t=>s(c["filter-name"],t),value:this.state["start_"+c["filter-name"]]}),"To: ",Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",ranges:[],oneTap:!0,onChange:t=>i(c["filter-name"],t),disabledDate:t(new Date(this.state["start_"+c["filter-name"]])),value:this.state["end_"+c["filter-name"]]}),"OR",Object(M.jsx)(v.b,{autoComplete:"off",type:"text",name:"months_"+c["filter-name"],placeholder:c["date-helper-text-pre"],onKeyDown:t=>o(c["filter-name"],t)})]}):"commencementDate"===c["filter-name"]||"absorptionDate"===c["filter-name"]||"occupancy_date_orig"===c["filter-name"]?Object(M.jsxs)(M.Fragment,{children:["From: ",Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",ranges:[],oneTap:!0,onChange:t=>s(c["filter-name"],t),value:this.state["start_"+c["filter-name"]]}),"To: ",Object(M.jsx)(U.a,{format:"yyyy-MM-dd",placeholder:"yyyy-mm-dd",ranges:[],oneTap:!0,onChange:t=>i(c["filter-name"],t),disabledDate:t(new Date(this.state["start_"+c["filter-name"]])),value:this.state["end_"+c["filter-name"]]})]}):null:null,"autocompleteSourceLocal"===c.type?Object(M.jsx)(tj,{component_name:c["filter-name"],filter_name:c["filter-name"],onChange:e,defaultVal:this.state[c["filter-name"]],options:c.filters}):null]})]})})))})})},c)))}),Object(M.jsxs)("div",{className:"row mt-5",children:[n.error&&!0===this.state.showAlert&&Object(M.jsx)(Q.a,{variant:"danger",onClose:()=>this.setState({showAlert:!1}),dismissible:!0,show:this.state.showAlert,children:Object(M.jsx)(Q.a.Heading,{children:n.error})}),Object(M.jsxs)("div",{className:"col-lg-4",children:[Object(M.jsx)("button",{className:"tabFormButton",type:"submit",onClick:()=>{this.setState({saveClicked:!1})},children:"Apply"}
1),Object(M.jsx)("button",{className:"tabFormButton",type:"button",onClick:h,children:"Clear"})]}),Object(M.jsxs)("div",{className:"col-lg-4",children:[Object(M.jsx)("input",{name:"filter_name",value:this.state.filterSaveName,onChange:t=>r(t)}),Object(M.jsx)("button",{className:"tabFormButton",type:"submit",onClick:()=>d(),children:"Save"}),Object(M.jsx)("button",{className:"tabFormButton",type:"button",children:"Load"})]})]})]})}})})}):void 0}}var aj=Object(c.f)(ej);class sj extends i.a.Component{constructor(){super(...arguments),this.handleClick=()=>{this.props.dispatch({type:"SHOW_FILTER_DIV",payload:{showFilterDiv:!0}})},this.closePopup=()=>{this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})}}render(){return Object(M.jsx)("div",{className:"container-fluid header",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1",children:Object(M.jsxs)(n.b,{to:"/edge/office/dashboard/",children:[" ",Object(M.jsx)("img",{alt:"CRE Matrix Logo",src:"/edge/images/cre_edge_logo.png",className:"creMatrixLogo"})]})}),Object(M.jsxs)("div",{className:"col-lg-9 searchBarContainer",ref:t=>this.node=t,children:[Object(M.jsx)("input",{type:"text",name:"search",className:"searchBar",placeholder:"Search Property, Tenant, Landlord, Anything...",onClick:this.handleClick,autoComplete:"off"}),this.props.showFilterDiv&&Object(M.jsx)(aj,{onChange:this.closePopup})]}),Object(M.jsx)("div",{className:"col-lg-2 iconContainer",children:Object(M.jsx)(n.b,{to:"#",children:Object(M.jsx)(p.a,{icon:j.u})})})]})})}}var ij=Object(D.b)((t=>({showFilterDiv:t.showFilterDiv})),null)(sj);class lj extends i.a.Component{constructor(t){super(t),this.state={activeKey:this.props.activeKey,propertyType:this.props.propertyType}}render(){return Object(M.jsx)("div",{className:"leftNav",children:Object(M.jsxs)("ul",{children:[Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/edge/".concat(this.state.propertyType,"/dashboard/")+this.props.location.search,className:"1"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"1"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Dashbord Icon",src:"1"===this.state.activeKey?"/images/dashboard_active.png":"/images/dashboard.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Dashboard"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/edge/".concat(this.state.propertyType,"/region/")+this.props.location.search,className:"2"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"2"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Region Icon",src:"2"===this.state.activeKey?"/images/region_active.png":"/images/region.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Region"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/edge/".concat(this.state.propertyType,"/developer/").concat(this.props.location.search),className:"3"===this.state.activeKey?"activeNav":"",onClick:()=>{this.setState({activeKey:"3"}),this.props.dispatch({type:"HIDE_FILTER_DIV",payload:{showFilterDiv:!1}})},children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Developer Icon",src:"3"===this.state.activeKey?"/images/developer_active.png":"/images/developer.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Developer"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/",children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Owner Icon",src:"/edge/images/owner.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Owner"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/",children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Asset Icon",src:"/edge/images/asset.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Asset"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/",children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Occupier Icon",src:"/edge/images/occupier.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Occupier"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/",children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Map Icon",src:"/edge/images/map.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Map"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/",children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Custom Icon",src:"/edge/images/custom.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Custom"})]})}),Object(M.jsx)("li",{children:Object(M.jsxs)(n.b,{to:"/",children:[Object(M.jsx)("p",{className:"text-center",children:Object(M.jsx)("img",{alt:"Transactions Icon",src:"/edge/images/transactions.png"})}),Object(M.jsx)("p",{className:"text-center",children:"Transaction"})]})})]})})}}var oj=Object(c.f)(Object(D.b)(null,null)(lj));const cj=()=>Object(M.jsx)("div",{children:"Error Occured"});new w({get:!0,post:!0,url:"api/edge/retail/get_current_coverage"});
1class nj extends i.a.Component{constructor(){super(...arguments),this.state={isError:0,cityCount:0,microMarketCount:0}}render(){return 1===this.state.isError?Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsx)("div",{className:"row",children:Object(M.jsx)(cj,{})}),Object(M.jsx)("p",{className:"widgetName",children:"Current Coverage"})]})}):Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/current_coverage.png",className:"imgWidth100"})}),Object(M.jsxs)("div",{className:"col-lg-8 text-start colorBlue",children:[Object(M.jsxs)("h1",{children:[this.state.cityCount," Cities"]}),Object(M.jsxs)("p",{children:["(",this.state.microMarketCount," Micro-markets)"]})]})]}),Object(M.jsx)("p",{className:"widgetName",children:"Current Coverage"})]})})}}nj.contextType=Wt;var rj=nj;new w({get:!0,post:!0,url:"api/edge/retail/get_total_office_stock_build"});class dj extends i.a.Component{constructor(){super(...arguments),this.state={sumOfChargeableArea:0,noOfComplexes:0}}render(){return Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Total Office Stock Built Icon",src:"/edge/images/total_office_stock_built.png",className:"imgWidth100"})}),Object(M.jsxs)("div",{className:"col-lg-8 text-start colorLightBlue",children:[Object(M.jsxs)("h1",{children:[this.state.sumOfChargeableArea," msf"]}),Object(M.jsxs)("p",{children:["(",this.state.noOfComplexes," assets)"]})]})]}),Object(M.jsx)("p",{className:"widgetName",children:"Total Office Stock Built"})]})}}dj.contextType=Wt;var hj=dj;const pj=new w({get:!0,post:!0,url:"api/edge/retail/get_current_vacancy"});class jj extends i.a.Component{constructor(){super(...arguments),this.state={areaActual:0,areaPerc:0}}componentDidMount(){pj.get().then((t=>{this.setState({areaActual:t.data.area_actual,areaPerc:t.data.area_perc})}))}render(){return Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/current_vacancy.png",className:"imgWidth100"})}),Object(M.jsxs)("div",{className:"col-lg-8 text-start colorDarkBlue",children:[Object(M.jsxs)("h1",{children:[this.state.areaPerc," %"]}),Object(M.jsxs)("p",{children:["(",this.state.areaActual," msf)"]})]})]}),Object(M.jsx)("p",{className:"widgetName",children:"Current Vacancy"})]})}}var Aj=jj;const xj=new w({get:!0,post:!0,url:"api/edge/retail/get_current_passing_rent"});class bj extends i.a.Component{constructor(){super(...arguments),this.state={currentPassingRent:0}}componentDidMount(){xj.get().then((t=>{this.setState({currentPassingRent:t.data.current_passing_rent})}))}render(){return Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/current_passing_rent.png",className:"imgWidth100"})}),Object(M.jsx)("div",{className:"col-lg-8 text-start colorBlue",children:Object(M.jsxs)("h1",{children:["\u20b9",this.state.currentPassingRent," ",Object(M.jsx)("span",{className:"smallText",children:" sqft/month"})]})})]}),Object(M.jsx)("p",{className:"widgetName",children:"Current Passing Rent"})]})}}var mj=bj;const gj=new w({get:!0,post:!0,url:"api/edge/retail/get_pan_india_commercial"});class Oj extends i.a.Component{constructor(){super(...arguments),this.state={noOfDevelopers:0,noOfGroupCompanies:0}}componentDidMount(){gj.get().then((t=>{this.setState({noOfDevelopers:t.data.no_of_developers})}))}render(){return Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Pan India Commercial Icon",src:"/edge/images/pan_india_commercial.png",className:"imgWidth100"})}),Object(M.jsx)("div",{className:"col-lg-8 text-start colorLightBlue",children:Object(M.jsxs)("h1",{children:[this.state.noOfDevelopers," ",Object(M.jsx)("span",{className:"smallText",children:"Developers"})]})})]}),Object(M.jsx)("p",{className:"widgetName",children:"Pan India Commercial"})]})})}}var uj=Oj;const yj=new w({get:!0,post:!0,url:"api/edge/retail/get_upcoming_supply"});class fj extends i.a.Component{constructor(){super(...arguments),this.state={sumOfChargeableArea:0,noOfComplexes:0}}componentDidMount(){yj.get().then((t=>{this.setState({sumOfChargeableArea:t.data.sum_of_chargeable_area,noOfComplexes:t.data.no_of_complxes})}))}render(){return Object(M.jsxs)("div",{className:"widget",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"upcoming Supply Icon",src:"/edge/images/upcoming_supply.png",className:"imgWidth100"})}),Object(M.jsxs)("div",{className:"col-lg-8 text-start colorDarkBlue",children:[Object(M.jsxs)("h1",{children:[this.state.sumOfChargeableArea," msf"]}),Object(M.jsxs)("p",{children:["(",this.state.noOfComplexes," assets)"]})]})]}),Object(M.jsx)("p",{className:"widgetName",children:"Upcoming Supply - 36 months"})]})}}var wj=fj;const Nj=new w({get:!0,post:!0,url:"api/edge/retail/get_office_demand_supply_chart"});class Sj extends i.a.Component{constructor(t){super(t),this.state={tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){const t=this,e={responsive:!0,scales:{x:{grid:{display:!1}},y:{grid:{display:!0,drawBorder:!0}}}
1,plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!1,y:"bottom",backgroundColor:"#FFFFFF",external:function(e){var a="colorGreen",s=j.d,i=e.tooltip.dataPoints[0].dataIndex,l=0==i?0:i-1;parseFloat(e.tooltip.dataPoints[0].dataset.data[i])<parseFloat(e.tooltip.dataPoints[0].dataset.data[l])&&(a="colorRed",s=j.c),t.setState({tooltipClassname:a,tooltipArrow:s,tooltipArrowDisplay:"",tooltipYLabel:e.tooltip.dataPoints[0].parsed.y,tooltipxLabel:e.tooltip.dataPoints[0].label})}}}};Nj.get().then((a=>{const s={labels:a.data.x,datasets:[{data:a.data.datapoints.y1,backgroundColor:"rgba(76, 143, 234, 1)",borderWidth:0,barThickness:10},{data:a.data.datapoints.y2,backgroundColor:"rgba(224,224,224, 1)",borderWidth:0,barThickness:10}]};t.setState({chartOtions:e,chartData:s})}))}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Of\ufb01ce Demand & Supply"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.a,{options:this.state.chartOtions,data:this.state.chartData})})]})})})}}var Dj=Sj;const Mj=new w({get:!0,post:!0,url:"api/edge/retail/get_rentals_anlysis_chart"});class Cj extends i.a.Component{constructor(t){super(t),this.state={tooltipClassname:null,tooltipArrow:j.d,tooltipArrowDisplay:"none",tooltipYLabel:null,tooltipxLabel:null,chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){let t=document.getElementById("rentalsVacancyLineChart").getContext("2d").createLinearGradient(0,0,0,400);t.addColorStop(0,"rgba(113,206,250, 1)"),t.addColorStop(1,"#cce9ff");const e=this,a={responsive:!0,scales:{x:{grid:{display:!1}},y:{grid:{display:!0,drawBorder:!0}}},plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!1,y:"bottom",backgroundColor:"#FFFFFF",external:function(t){("undefined"!==typeof t.tooltip.dataPoints[0].parsed.y&&t.tooltip.dataPoints[0].parsed.y!==e.state.tooltipYLabel||"undefined"!==typeof t.tooltip.dataPoints[0].label&&t.tooltip.dataPoints[0].label!==e.state.tooltipxLabel)&&e.setState({tooltipClassname:"colorRed",tooltipArrow:j.c,tooltipArrowDisplay:"",tooltipYLabel:t.tooltip.dataPoints[0].parsed.y,tooltipxLabel:t.tooltip.dataPoints[0].label})}}}};Mj.get().then((t=>{let s={labels:t.data.x,datasets:[{data:t.data.datapoints.y1,borderColor:"rgba(76, 143, 234, 1)"},{data:t.data.datapoints.y2,borderColor:"rgba(224,224,224, 1)"}]};e.setState({chartOtions:a,chartData:s})}))}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue",children:[Object(M.jsx)("p",{children:"Rentals Analysis"}),Object(M.jsxs)("h4",{className:this.state.tooltipClassname,children:[Object(M.jsx)(p.a,{icon:this.state.tooltipArrow,style:{display:this.state.tooltipArrowDisplay}}),this.state.tooltipYLabel," \xa0"]}),Object(M.jsxs)("p",{className:"colorBlack pSmall",children:[this.state.tooltipxLabel,"\xa0"]})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.d,{id:"rentalsVacancyLineChart",options:this.state.chartOtions,data:this.state.chartData})})]})})})}}var Fj=Cj;const Bj=new w({get:!0,post:!0,url:"api/edge/retail/get_major_recent_lease_transactions"});class vj extends i.a.Component{constructor(){super(...arguments),this.state={majorRecentLeaseTransactions:[]}}componentDidMount(){Bj.get().then((t=>{this.setState({majorRecentLeaseTransactions:t.data})}))}render(){return Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Lease Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:"Occupier"}),Object(M.jsx)("th",{children:"Date"}),Object(M.jsx)("th",{children:"Asset"}),Object(M.jsx)("th",{children:"ChargeableArea (sqft) "}),Object(M.jsx)("th",{children:"Rent (\u20b9/sqft/month)"}),Object(M.jsx)("th",{children:"City"})]})}),Object(M.jsx)("tbody",{children:this.state.majorRecentLeaseTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:t.tenant}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{children:t.complex}),Object(M.jsx)("td",{children:t.area}),Object(M.jsx)("td",{children:t.rent}
1),Object(M.jsx)("td",{children:t.city})]},e)))})]})})]})})})}}var Tj=vj;const Ij=new w({get:!0,post:!0,url:"api/edge/retail/get_upcoming_project_completions"});class _j extends i.a.Component{constructor(){super(...arguments),this.state={upcomingProjectCompletions:[]}}componentDidMount(){Ij.get().then((t=>{this.setState({upcomingProjectCompletions:t.data})}))}render(){return Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsxs)("div",{className:"widget widgetUpcoming",children:[Object(M.jsx)("h3",{children:"Upcoming Project Completions"}),this.state.upcomingProjectCompletions.map(((t,e)=>Object(M.jsxs)("div",{children:[Object(M.jsx)("h5",{className:"mt-3",children:t.developer}),Object(M.jsx)("h5",{className:"mb-3",children:t.project}),Object(M.jsx)("div",{className:"row ms-1 me-1",children:Object(M.jsx)("div",{className:"darkBlueBg",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("img",{alt:"Project Incomplete Icon",src:"/edge/images/incomplete_icon.png"})}),Object(M.jsxs)("div",{className:"col-lg-8",children:[Object(M.jsx)("p",{className:"text-start",children:"Completion Date"}),Object(M.jsx)("h5",{children:t.completion_date})]})]})})})]},e)))]})})}}var Ej=_j;new w({get:!0,post:!0,url:"api/edge/retail/get_top_office_projects"});class Uj extends i.a.Component{constructor(){super(...arguments),this.state={topOfficeProjects:[]}}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Of\ufb01ce Projects"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end"}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:"Asset"}),Object(M.jsx)("th",{children:"Occupancy"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"Market Rent."}),Object(M.jsx)("th",{children:"WALE"})]})}),Object(M.jsx)("tbody",{children:this.state.topOfficeProjects.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:t.complex}),Object(M.jsxs)("td",{children:[t.occupancy,"%"]}),Object(M.jsx)("td",{children:t.passing_rent}),Object(M.jsx)("td",{children:t.rent}),Object(M.jsx)("td",{children:t.wale})]},e)))})]})})]})})})}}Uj.contextType=Wt;var Rj=Uj;new w({get:!0,post:!0,url:"api/edge/retail/get_top_office_tenants"});class Yj extends i.a.Component{constructor(){super(...arguments),this.state={topOfficeTenants:[]}}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Office Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end"}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:"Occupier"}),Object(M.jsx)("th",{children:"Current Rent"}),Object(M.jsx)("th",{children:"Area Leased"}),Object(M.jsx)("th",{children:"Last 2 Yrs. Rent"}),Object(M.jsx)("th",{children:"WALE"})]})}),Object(M.jsx)("tbody",{children:this.state.topOfficeTenants.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:t.tenant}),Object(M.jsx)("td",{children:t.current_rent}),Object(M.jsx)("td",{children:t.area_leased}),Object(M.jsx)("td",{children:t.last_2yr_rent}),Object(M.jsx)("td",{children:t.wale})]},e)))})]})})]})})})}}Yj.contextType=Wt;var Qj=Yj;const kj=new w({get:!0,post:!0,url:"api/edge/retail/get_top_sectors_in_office_leasing_chart"});class Pj extends i.a.Component{constructor(t){super(t),this.state={chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){const t={responsive:!0,type:"doughnut",radiu
1s:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!1},title:{display:!1},datalabels:{color:"white",display:function(t){return t.dataset.data[t.dataIndex]>35e6},formatter:function(t){return Math.round(t/1e6,2)+"mn"},font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}}};kj.get().then((e=>{const a={labels:e.data.x,datasets:[{data:e.data.y,backgroundColor:e.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:t,chartData:a})}))}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader mb-3",children:Object(M.jsx)("p",{children:"Top Sectors in Of\ufb01ce Leasing"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})})]})})})}}var Gj=Pj;const Lj=new w({get:!0,post:!0,url:"api/edge/retail/get_top_developers_in_office_development_chart"});class Vj extends i.a.Component{constructor(t){super(t),this.state={chartOtions:{},chartData:{labels:[],datasets:[]}}}componentDidMount(){const t={responsive:!0,type:"doughnut",radius:"80%",animation:{animateRotate:!1,animateScale:!0},plugins:{legend:{display:!1},title:{display:!1},datalabels:{color:"white",display:function(t){return t.dataset.data[t.dataIndex]>35e6},formatter:function(t){return Math.round(t/1e6,2)+"mn"},font:{weight:"bold"},offset:0,padding:0}},scales:{x:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}},y:{ticks:{display:!1},grid:{display:!1,drawBorder:!1}}},aspectRatio:.5};Lj.get().then((e=>{const a={labels:e.data.x,datasets:[{data:e.data.y,backgroundColor:e.data.bgcolor,hoverOffset:4}]};this.setState({chartOtions:t,chartData:a})}))}render(){return Object(M.jsx)("div",{className:"col-lg-6",id:"#section2",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader mb-3",children:Object(M.jsx)("p",{children:"Top Developers in Of\ufb01ce Development"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)(ne.c,{options:this.state.chartOtions,data:this.state.chartData})})]})})})}}var zj=Vj;const Jj=new w({get:!0,post:!0,url:"api/edge/retail/get_major_recent_sale_transactions"});class Wj extends i.a.Component{constructor(){super(...arguments),this.state={majorRecentSaleTransactions:[]}}componentDidMount(){Jj.get().then((t=>{this.setState({majorRecentSaleTransactions:t.data})}))}render(){return Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Sale Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Buyer"}),Object(M.jsx)("th",{children:"Date"}),Object(M.jsx)("th",{children:"Complex"}),Object(M.jsx)("th",{children:"Chargeable Area (sqft)"}),Object(M.jsx)("th",{children:"Sale Price (\u20b9/sqft)"}),Object(M.jsx)("th",{children:"City"}),Object(M.jsx)("th",{children:"Seller"}),Object(M.jsx)("th",{children:"Ef\ufb01ciency(%)"}),Object(M.jsx)("th",{children:"Micro-market"})]})}),Object(M.jsx)("tbody",{children:this.state.majorRecentSaleTransactions.map(((t,e)=>Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:t.buyer}),Object(M.jsx)("td",{children:t.execution_date}),Object(M.jsx)("td",{children:t.complex}),Object(M.jsx)("td",{children:t.area}),Object(M.jsx)("td",{children:t.sale_price}),Object(M.jsx)("td",{children:t.city}),Object(M.jsx)("td",{children:t.seller}
1),Object(M.jsx)("td",{children:t.efficiency}),Object(M.jsx)("td",{children:t.micromarket})]},e)))})]})})]})})})}}var Hj=Wj;const Zj=new w({get:!0,post:!0,url:"api/edge/retail/get_asset_summary"});class Xj extends i.a.Component{constructor(){super(...arguments),this.state={assetSummary:[]}}componentDidMount(){Zj.get().then((t=>{this.setState({assetSummary:t.data})}))}render(){return Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Asset Summary"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("th",{children:"Type"}),Object(M.jsx)("th",{children:"Projects"}),Object(M.jsx)("th",{children:"Total Area (msf)"}),Object(M.jsx)("th",{children:"% Contribution"}),Object(M.jsx)("th",{children:"Vacancy"})]})}),Object(M.jsx)("tbody",{children:this.state.assetSummary.map(((t,e)=>Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:t.asset_type}),Object(M.jsx)("td",{children:t.project}),Object(M.jsx)("td",{children:t.total_area}),Object(M.jsx)("td",{children:t.perc_contribution}),Object(M.jsxs)("td",{children:[t.vacancy,"%"]})]},e)))})]})})]})})})}}var Kj=Xj;const qj=new w({get:!0,post:!0,url:"api/edge/retail/get_recent_searches"});class $j extends i.a.Component{constructor(){super(...arguments),this.state={recentSearches:[]}}componentDidMount(){qj.get().then((t=>{"undefined"===typeof t.error&&this.setState({recentSearches:t.data})}))}render(){return Object(M.jsx)("div",{className:"widget widgetRightSideBar text-start mb-4",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Your Recent Searches"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.n})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4 colorBlack searchTip",children:Object.keys(this.state.recentSearches).map(((t,e)=>Object(M.jsxs)("div",{children:[Object(M.jsx)("p",{children:t}),Object(M.jsx)("div",{className:"row recentSearch",children:Object(M.jsx)("div",{className:"col-12 recentBorderBottom",children:Object.values(this.state.recentSearches[t]).map(((t,e)=>Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"?filter="+encodeURIComponent(K(t.filter_value)),children:t.label})},t.id)))})})]},e)))})]})})}}var tA=$j;const eA=new w({get:!0,post:!0,url:"api/edge/retail/get_saved_filters"});class aA extends i.a.Component{constructor(){super(...arguments),this.state={savedFilters:[]}}componentDidMount(){eA.get().then((t=>{this.setState({savedFilters:t.data})}))}render(){return Object(M.jsx)("div",{className:"widget widgetRightSideBar text-start mb-4",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Your Saved Filters"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.j})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4 colorBlack searchTip",children:Object.keys(this.state.savedFilters).map(((t,e)=>Object(M.jsxs)("div",{children:[Object(M.jsx)("p",{children:t}),Object(M.jsx)("div",{className:"row recentSearch",children:Object(M.jsx)("div",{className:"col-12 recentBorderBottom",children:Object.values(this.state.savedFilters[t]).map(((t,e)=>Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"?filter="+encodeURIComponent(K(t.filter_value)),children:t.text})},t.id)))})})]},e)))})]})})}}var sA=aA;const iA=new w({get:!0,post:!0,url:"api/edge/retail/get_recently_added_transactions"});class lA extends i.a.Component{constructor(){super(...arguments),this.state={recentTransactions:[]}}componentDidMount(){iA.get().then((t=>
1{this.setState({recentTransactions:t.data})}))}render(){return Object(M.jsx)("div",{className:"widget widgetRightSideBar text-start widgetBlueBg",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Recently Added Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.m})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4 colorBlack searchTip",children:this.state.recentTransactions.map(((t,e)=>Object(M.jsxs)("div",{children:[Object(M.jsx)("p",{children:t.date}),Object(M.jsx)("div",{className:"row recentSearch recentTransaction",children:Object(M.jsxs)("div",{className:"col-12 recentBorderBottom",children:[Object(M.jsxs)("p",{children:[t.tenant," @",t.area," - ",t.complex]}),Object(M.jsxs)("p",{children:[t.micromarket,", ",t.city]})]})})]},e)))})]})})}}var oA=lA;class cA extends i.a.Component{render(){return Object(M.jsxs)("div",{className:"container-fluid",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)(rj,{}),Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsx)(hj,{})}),Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsx)(Aj,{})}),Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsx)(mj,{})}),Object(M.jsx)(uj,{}),Object(M.jsx)("div",{className:"col-lg-4 mb-4",children:Object(M.jsx)(wj,{})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)(Dj,{}),Object(M.jsx)(Fj,{})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)(Tj,{}),Object(M.jsx)(Ej,{})]}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)(Rj,{}),Object(M.jsx)(Qj,{})]}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)(Gj,{}),Object(M.jsx)(zj,{})]}),Object(M.jsx)("div",{className:"row mt-4",children:Object(M.jsx)(Hj,{})}),Object(M.jsx)("div",{className:"row mt-4",children:Object(M.jsx)(Kj,{})}),Object(M.jsx)("div",{className:"row mt-4"})]}),Object(M.jsxs)("div",{className:"col-lg-3 rightSideBar",children:[Object(M.jsx)(tA,{}),Object(M.jsx)(sA,{}),Object(M.jsx)(oA,{})]})]}),Object(M.jsx)("div",{className:"row",children:Object(M.jsx)("div",{className:"col-lg-12"})})]})}}var nA=cA;class rA extends i.a.Component{render(){return Object(M.jsxs)("div",{className:"container-fluid region",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9",children:[Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(hj,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(Aj,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(mj,{})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)(wj,{})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsxs)("p",{children:["Of\ufb01ce Demand & Supply ",Object(M.jsx)("span",{children:"(All Grades)"})]}),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rentals"}
1),Object(M.jsxs)("h4",{className:"colorRed",children:[Object(M.jsx)(p.a,{icon:j.c,size:"lg"}),"-4%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]})]}),Object(M.jsx)("div",{className:"col-lg-3 rightSideBar",children:Object(M.jsx)("div",{class:"widget widgetRightSideBar text-start mb-4",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"New Completions"})}),Object(M.jsx)("div",{class:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})}),Object(M.jsx)("div",{class:"col-lg-12 mt-4 colorBlack tableCompletion",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Complex"}),Object(M.jsx)("th",{children:"Area"}),Object(M.jsx)("th",{children:"Micro-Market"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"DLF Downtown Phase - II"}),Object(M.jsx)("td",{children:"0.6 msf"}),Object(M.jsx)("td",{children:"Golf Course Road"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"DLF Downtown Phase - II"}),Object(M.jsx)("td",{children:"0.6 msf"}),Object(M.jsx)("td",{children:"Golf Course Road"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"DLF Downtown Phase - II"}),Object(M.jsx)("td",{children:"0.6 msf"}),Object(M.jsx)("td",{children:"Golf Course Road"})]})]})]})})]})})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-4",children:[Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Office Stock"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Grade"}),Object(M.jsx)("th",{children:"Building"}),Object(M.jsx)("th",{children:"Area"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"Market Rent"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]})]}),Object(M.jsx)("tfoot",{children:Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:"Total"}),Object(M.jsx)("td",{children:"310"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]})})]})})]})}),Object(M.jsx)("div",{className:"widget widgetGraph mt-4",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Grade-ewise Office Absorption Trend"}
1),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})]}),Object(M.jsx)("div",{className:"col-lg-5",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Projects"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Building"}),Object(M.jsx)("th",{children:"Area (msf)"}),Object(M.jsx)("th",{children:"Completion"}),Object(M.jsx)("th",{children:"Current Rent"}),Object(M.jsx)("th",{children:"Occupancy"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"tableTdColor ",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"tableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]})]})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-3",children:Object(M.jsx)("div",{class:"widget widgetRightSideBar widgetGreen text-start mb-4",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Summary"})}),Object(M.jsx)("div",{class:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"colorWhite",children:Object(M.jsx)(p.a,{icon:j.f})})}),Object(M.jsx)("div",{class:"col-lg-12 mt-4 colorBlack tableCompletion",children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Assets"}
1),Object(M.jsx)("td",{children:"82"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Active Leases"}),Object(M.jsx)("td",{children:"1,892(7.2 msf)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Inctive Leases"}),Object(M.jsx)("td",{children:"892(5.2 msf)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"# of Sales Transaction"}),Object(M.jsx)("td",{children:"82(2.3 msf)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Occupancy"}),Object(M.jsx)("td",{children:"82%"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Wt. Avg Current Rent"}),Object(M.jsx)("td",{children:"102"})]})]})})})]})})}),Object(M.jsx)("div",{className:"col-lg-12 mapContainer mb-4 mt-4",children:Object(M.jsx)("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d30711058.69295036!2d64.4487244350266!3d20.012353286203773!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x30635ff06b92b791%3A0xd78c4fa1854213a6!2sIndia!5e0!3m2!1sen!2sin!4v1640941177663!5m2!1sen!2sin",width:"100%",height:"600",style:{border:"0",loading:"lazy"}})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Future Supply"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Grade"}),Object(M.jsx)("th",{children:"3 Months"}),Object(M.jsx)("th",{children:"6 Months"}),Object(M.jsx)("th",{children:"9 Months"}),Object(M.jsx)("th",{children:"12 Months"}),Object(M.jsx)("th",{children:"24 Months"}),Object(M.jsx)("th",{children:"36 Months"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"A+"}),Object(M.jsx)("td",{children:"192"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"})]})]})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable tableBlue",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start widgetTableHeader",children:Object(M.jsx)("p",{children:"Upcoming Project Completions"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3 colorWhite",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorWhite",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Complex"}),Object(M.jsx)("th",{children:"Leaseable Area"}),Object(M.jsx)("th",{children:"Completion Date"}),Object(M.jsx)("th",{children:"Micro-Market"}),Object(M.jsx)("th",{children:"Config"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"DLF Downtown Phase - II"}),Object(M.jsx)("td",{children:"0.6 msf"}),Object(M.jsx)("td",{children:"Dec 2021"}
1),Object(M.jsx)("td",{children:"XYZ Vihar"}),Object(M.jsx)("td",{children:"3B + G + 11"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"DLF Downtown Phase - II"}),Object(M.jsx)("td",{children:"0.6 msf"}),Object(M.jsx)("td",{children:"Dec 2021"}),Object(M.jsx)("td",{children:"XYZ Vihar"}),Object(M.jsx)("td",{children:"3B + G + 11"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"DLF Downtown Phase - II"}),Object(M.jsx)("td",{children:"0.6 msf"}),Object(M.jsx)("td",{children:"Dec 2021"}),Object(M.jsx)("td",{children:"XYZ Vihar"}),Object(M.jsx)("td",{children:"3B + G + 11"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"DLF Downtown Phase - II"}),Object(M.jsx)("td",{children:"0.6 msf"}),Object(M.jsx)("td",{children:"Dec 2021"}),Object(M.jsx)("td",{children:"XYZ Vihar"}),Object(M.jsx)("td",{children:"3B + G + 11"})]})]})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Year-Wise Analysis"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Year"}),Object(M.jsx)("th",{children:"Year-end Stock"}),Object(M.jsx)("th",{children:"Gross Leasing"}),Object(M.jsx)("th",{children:"Avg. Market Rent"}),Object(M.jsx)("th",{children:"New Supply"}),Object(M.jsx)("th",{children:"Leasing in New Supply"}),Object(M.jsx)("th",{children:"Avg. Lease Rental in New Supply"}),Object(M.jsx)("th",{children:"Top New Complexes"}),Object(M.jsx)("th",{children:"Top Tenants"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]})]})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-4",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Projects"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Name"}),Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{children:"Leasable Area"}),Object(M.jsx)("th",{children:"Occupied Area"}),Object(M.jsx)("th",{children:"Occupancy"}),Object(M.jsx)("th",{children:"Rentals"}
1),Object(M.jsx)("th",{children:"Lease Term"}),Object(M.jsx)("th",{children:"Lock-in Period"}),Object(M.jsx)("th",{children:"Security Deposit"}),Object(M.jsx)("th",{children:"Anchor Tenants"}),Object(M.jsx)("th",{children:"Anchor Rent"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"2015"}),Object(M.jsx)("td",{children:"123.1"}),Object(M.jsx)("td",{children:"117.2"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"}),Object(M.jsx)("td",{children:"DLF IT Park, Ambience Corp Spaze IT Park, TRIL Centre"}),Object(M.jsx)("td",{children:"HCL, Accenture, Microsoft, NTT Data"})]})]})]})})]})})})]}),Object(M.jsxs)("div",{className:"row mt-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Lease Transactions"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Tenant"}),Object(M.jsx)("th",{children:"Date"}),Object(M.jsx)("th",{children:"Complex"}),Object(M.jsx)("th",{children:"ChargeableArea (sqft)"}),Object(M.jsx)("th",{children:"Rent (\u20b9/sqft/month)"}),Object(M.jsx)("th",{children:"City"}),Object(M.jsx)("th",{children:"Term"}),Object(M.jsx)("th",{children:"Security Deposit"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"regionTableTdColor ",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"regionTableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"regionTableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"regionTableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:"regionTableTdColor",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]})]})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Office Tenants"})}),Object(M.jsx)("div",{className:"col-lg-3 text-end",children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Tenant"}),Object(M.jsx)("th",{children:"Current Rent"}),Object(M.jsx)("th",{children:"Area Leased"}),Object(M.jsx)("th",{children:"Last 2 Yrs. Rent"}),Object(M.jsx)("th",{children:"Wale"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:" ",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:" ",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:" ",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]}),Object(M.jsxs)("tr",{className:" ",children:[Object(M.jsx)("td",{children:"ASF Insignia - B"}),Object(M.jsx)("td",{children:"3.2"}),Object(M.jsx)("td",{children:"Dec - 20"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"70%"})]})]})]})})]})})})]})]})}}var dA=Object(c.f)(rA);class hA extends i.a.Component{render(){return Object(M.jsxs)("div",{className:"container-fluid",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Developers - Built Stock"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{children:"Built Stock(#)"}),Object(M.jsx)("th",{children:"Built Stock(msf)"}),Object(M.jsx)("th",{className:"text-end",children:"Occupancy(%)"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"WALE"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}
1),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]})]})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Built Stock - Developer Share"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"My Selected Developers"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",className:"pe-3",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{children:"Built Stock(#)"}),Object(M.jsx)("th",{children:"Built Stock(msf)"}),Object(M.jsx)("th",{className:"text-end",children:"Occupancy(%)"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"WALE"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Embassy"}),Object(M.jsx)("td",{children:"92"}),Object(M.jsx)("td",{children:"117"}),Object(M.jsx)("td",{children:"71.3"}),Object(M.jsx)("td",{children:"82.6"}),Object(M.jsx)("td",{children:"56"})]})]})]})})]})})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Top Developers - Built Stock"}),Object(M.jsxs)("div",{className:"row mt-2 mb-2",children:[Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-6",children:[Object(M.jsxs)("h4",{className:"colorRed",children:[Object(M.jsx)(p.a,{icon:j.c,size:"lg"}),"-4%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"Market Rent - INR 92 ps pm"})]})]})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.e})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Lease Volume - Developer Share"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Rental Trends - Developers"}
1),Object(M.jsxs)("h4",{className:"colorRed",children:[Object(M.jsx)(p.a,{icon:j.c,size:"lg"}),"Embassy 4%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"Q-o-q vs Q3 Cy\u201920"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Vacancy Trends - Developers"}),Object(M.jsxs)("h4",{className:"colorRed",children:[Object(M.jsx)(p.a,{icon:j.c,size:"lg"}),"Embassy 4%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"Q-o-q vs Q3 Cy\u201920"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]})]})}}var pA=Object(c.f)(hA);class jA extends i.a.Component{render(){return Object(M.jsxs)("div",{className:"container-fluid developer",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloper",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/dlf.png",class:"imgWidth100"})}),Object(M.jsx)("div",{className:"borderBottom"}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:"1996"}),Object(M.jsx)("p",{children:"Year Founded"})]})}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:"New Delhi"}),Object(M.jsx)("p",{children:"Head quarters"})]})}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:"www.dlf.in"}),Object(M.jsx)("p",{children:"Website"})]})}),Object(M.jsx)("div",{class:"col-lg-6 developerDetails",children:Object(M.jsxs)("div",{className:"widgetDeveloperDetails",children:[Object(M.jsx)("h6",{children:"Q2 CY\u201921"}),Object(M.jsx)("p",{children:"Latest Investor PPT"})]})})]})})}),Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorLightBlue",children:[Object(M.jsx)("h1",{children:"29.1 msf"}),Object(M.jsx)("p",{children:"(21 Assets)"}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsx)("h1",{children:"1.1 msf"}),Object(M.jsx)("p",{children:"(9 Assets)"}
1),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorLightBlue",children:[Object(M.jsx)("h1",{children:"1.2 msf"}),Object(M.jsx)("p",{children:"(21 Assets)"}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsx)("h1",{children:"8.1%"}),Object(M.jsx)("p",{children:"(21 Assets)"}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsx)("h1",{children:"291"}),Object(M.jsx)("p",{children:"(21 Assets)"}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/current_passing_rent.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorLightBlue",children:[Object(M.jsx)("h1",{children:"\u20b971"}),Object(M.jsx)("p",{children:"(21 Assets)"}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorDarkBlue",children:[Object(M.jsx)("h1",{children:"29.1 msf"}),Object(M.jsx)("p",{children:"(21 Assets)"}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetDeveloperRight",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-end",children:Object(M.jsx)("p",{children:Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})})}),Object(M.jsx)("div",{class:"col-lg-12 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-12 text-center colorLightBlue",children:[Object(M.jsx)("h1",{children:"29.1 msf"}),Object(M.jsx)("p",{children:"(21 Assets)"}
1),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})})]})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Top Developers - Built Stock"}),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{children:"Built Stock(#)"}),Object(M.jsx)("th",{children:"Built Stock(msf)"}),Object(M.jsx)("th",{className:"text-end",children:"Occupancy(%)"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]})]})]})})]})})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent and Market Rent"}),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Future Rent, Rent Escalations & Occupiers"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Assets of Brookfield"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Asset"}),Object(M.jsx)("th",{children:"Year Built/Acquired"}),Object(M.jsx)("th",{children:"Leasable Area"}),Object(M.jsx)("th",{children:"# of Buildings"}),Object(M.jsx)("th",{children:"# of Tenants"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"Market Rent"}),Object(M.jsx)("th",{children:"WALE"}),Object(M.jsx)("th",{children:"Occupancy"}),Object(M.jsx)("th",{children:"Valuation*"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}
1),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]})]})]})})]})})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Area Leased - Transaction Size"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Area Leased - Transaction Size"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph tableBlue",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Upcomming Supply"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"City-wise Presence"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Sector Break-up of Area Occupied"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Sector-wise Rent"}),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"BFSI - 14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"Y-o-y vs CY\u201921"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Transactions"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Tenant"}),Object(M.jsx)("th",{children:"New/Renewal"}),Object(M.jsx)("th",{children:"Date"}),Object(M.jsx)("th",{children:"Complex"}),Object(M.jsx)("th",{children:"Chargeable Area (Sqft)"}),Object(M.jsx)("th",{children:"Rent (\u20b9/Sqft/Month)"}),Object(M.jsx)("th",{children:"Micro-Market"}),Object(M.jsx)("th",{children:"City"}),Object(M.jsx)("th",{children:"Term"}),Object(M.jsx)("th",{children:"Security Deposit*"}),Object(M.jsx)("th",{children:"CAM"}),Object(M.jsx)("th",{children:"1st Escalation %"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}
1),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]})]})]})})]})})})}),Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable latestNews",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Latest News"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Delhi Govt. Reduces Stamp Duty on Of\ufb01ce and Mall registrations."})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/et.png"})}),Object(M.jsx)("th",{children:"Delhi Govt. Reduces Stamp Duty on Of\ufb01ce and Mall registrations."})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Delhi Govt. Reduces Stamp Duty on Of\ufb01ce and Mall registrations."})]})]})})})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetTable latestNews keyDocs",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-12 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Key Documents"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsx)(fe.a,{responsive:!0,hover:!0,children:Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Latest Annual Report of DLF Cyber City Developers FY 2021"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/et.png"})}),Object(M.jsx)("th",{children:"Latest Quarterly Report of DLF Cyber City Developers Q3 FY 2021"})]}),Object(M.jsxs)("tr",{children:[Object(M.jsx)("td",{children:Object(M.jsx)("img",{alt:"News Outlet Icon",src:"/edge/images/money_control.png"})}),Object(M.jsx)("th",{children:"Registered Developer Agreement for New Commercial Project in Chandigarh"})]})]})})})]})})})]})]})}}var AA=Object(c.f)(jA);class xA extends i.a.Component{render(){return Object(M.jsxs)("div",{className:"container-fluid developer",children:[Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsx)("div",{class:"widget widgetCard",children:Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/total_office_stock_built.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-8 text-start colorLightBlue",children:[Object(M.jsx)("h1",{children:"29.1 msf"}),Object(M.jsx)("p",{children:"(21 Assets)"}
1),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})]})})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsxs)("div",{class:"widget widgetCard",children:[Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/updated_logos/underconstructiion.svg",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-8 text-start colorDarkBlue",children:[Object(M.jsx)("h1",{children:"23 %"}),Object(M.jsx)("p",{children:"(34 msf)"})]})]}),Object(M.jsx)("p",{class:"widgetName",children:"Current Vacancy"})]})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsxs)("div",{class:"widget widgetCard",children:[Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/current_coverage.png",class:"imgWidth100"})}),Object(M.jsx)("div",{class:"col-lg-8 text-start colorLightBlue",children:Object(M.jsxs)("h1",{children:["\u20b971 ",Object(M.jsx)("span",{class:"smallText",children:" sqft/month"})]})})]}),Object(M.jsx)("p",{class:"widgetName",children:"Current Passing Rent"})]})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsxs)("div",{class:"widget widgetCard",children:[Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/current_vacancy.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-8 text-start colorDarkBlue",children:[Object(M.jsx)("h1",{children:"7.1 msf"}),Object(M.jsx)("p",{children:"(191 Assets)"})]})]}),Object(M.jsx)("p",{class:"widgetName",children:"Upcoming Supply - 36 months"})]})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsxs)("div",{class:"widget widgetCard",children:[Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Coverage Icon",src:"/edge/images/occupiers.png",class:"imgWidth100"})}),Object(M.jsx)("div",{class:"col-lg-8 text-start colorLightBlue",children:Object(M.jsx)("h1",{children:"529 msf"})})]}),Object(M.jsx)("p",{class:"widgetName",children:"Total Office Stock Built"})]})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsxs)("div",{class:"widget widgetCard",children:[Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/current_passing_rent.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-8 text-start colorDarkBlue",children:[Object(M.jsx)("h1",{children:"23 %"}),Object(M.jsx)("p",{children:"(34 msf)"})]})]}),Object(M.jsx)("p",{class:"widgetName",children:"Current Vacancy"})]})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsxs)("div",{class:"widget widgetCard",children:[Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Passing Rent Icon",src:"/edge/images/wale.png",class:"imgWidth100"})}),Object(M.jsx)("div",{class:"col-lg-8 text-start colorLightBlue",children:Object(M.jsxs)("h1",{children:["\u20b971 ",Object(M.jsx)("span",{class:"smallText",children:" sqft/month"})]})})]}),Object(M.jsx)("p",{class:"widgetName",children:"Current Passing Rent"})]})}),Object(M.jsx)("div",{class:"col-lg-3 mb-4",children:Object(M.jsxs)("div",{class:"widget widgetCard",children:[Object(M.jsxs)("div",{class:"row",children:[Object(M.jsx)("div",{class:"col-lg-4 flexCenter",children:Object(M.jsx)("img",{alt:"Current Vacancy Icon",src:"/edge/images/re-leasing.png",class:"imgWidth100"})}),Object(M.jsxs)("div",{class:"col-lg-8 text-start colorDarkBlue",children:[Object(M.jsx)("h1",{children:"7.1 msf"}),Object(M.jsx)("p",{children:"(191 Assets)"})]})]}),Object(M.jsx)("p",{class:"widgetName",children:"Upcoming Supply - 36 months"})]})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-8",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Top Developers - Built Stock"}),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-4",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top 10 Occupiers"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Developer"}),Object(M.jsx)("th",{children:"Built Stock(#)"}),Object(M.jsx)("th",{children:"Built Stock(msf)"}),Object(M.jsx)("th",{className:"text-end",children:"Occupancy(%)"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Accenture"}),Object(M.jsx)("td",{children:"IT/ITeS"}),Object(M.jsx)("td",{children:"1.1 msf(7%)"}),Object(M.jsx)("td",{children:"INR 92 Cr. (10%)"})]})]})]})})]})})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Passing Rent and Market Rent"}),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"M-o-m vs Q1 CY\u201919"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Future Rent, Rent Escalations & Occupiers"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Top Assets of Brookfield"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Asset"}),Object(M.jsx)("th",{children:"Year Built/Acquired"}),Object(M.jsx)("th",{children:"Leasable Area"}),Object(M.jsx)("th",{children:"# of Buildings"}),Object(M.jsx)("th",{children:"# of Tenants"}),Object(M.jsx)("th",{children:"Passing Rent"}),Object(M.jsx)("th",{children:"Market Rent"}),Object(M.jsx)("th",{children:"WALE"}),Object(M.jsx)("th",{children:"Occupancy"}),Object(M.jsx)("th",{children:"Valuation*"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}
1),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]})]})]})})]})})})}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Area Leased - Transaction Size"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Area Leased - Transaction Size"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph tableBlue",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Upcomming Supply"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"City-wise Presence"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsxs)("div",{className:"row mb-4",children:[Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Sector Break-up of Area Occupied"})}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})}),Object(M.jsx)("div",{className:"col-lg-6",children:Object(M.jsx)("div",{className:"widget widgetGraph",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsxs)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:[Object(M.jsx)("p",{children:"Sector-wise Rent"}),Object(M.jsxs)("h4",{className:"colorGreen",children:[Object(M.jsx)(p.a,{icon:j.d,size:"lg"}),"BFSI - 14%"]}),Object(M.jsx)("p",{className:"colorBlack pSmall",children:"Y-o-y vs CY\u201921"})]}),Object(M.jsxs)("div",{className:"col-lg-3 text-end",children:[Object(M.jsx)(n.b,{to:"/#",children:Object(M.jsx)(p.a,{icon:j.s})}),Object(M.jsx)(n.b,{to:"/#",className:"colorBlack",children:Object(M.jsx)(p.a,{icon:j.f})})]}),Object(M.jsx)("div",{className:"col-lg-12"})]})})})]}),Object(M.jsx)("div",{className:"row mb-4",children:Object(M.jsx)("div",{className:"col-lg-12",children:Object(M.jsx)("div",{className:"widget widgetTable",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-9 text-start colorLightBlue widgetTableHeader",children:Object(M.jsx)("p",{children:"Major Recent Transactions"})}),Object(M.jsx)("div",{className:"col-lg-12 mt-2",children:Object(M.jsxs)(fe.a,{responsive:!0,hover:!0,children:[Object(M.jsx)("thead",{children:Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("th",{children:"Tenant"}),Object(M.jsx)("th",{children:"New/Renewal"}),Object(M.jsx)("th",{children:"Date"}),Object(M.jsx)("th",{children:"Complex"}),Object(M.jsx)("th",{children:"Chargeable Area (Sqft)"}),Object(M.jsx)("th",{children:"Rent (\u20b9/Sqft/Month)"}),Object(M.jsx)("th",{children:"Micro-Market"}),Object(M.jsx)("th",{children:"City"}),Object(M.jsx)("th",{children:"Term"}),Object(M.jsx)("th",{children:"Security Deposit*"}),Object(M.jsx)("th",{children:"CAM"}),Object(M.jsx)("th",{children:"1st Escalation %"})]})}),Object(M.jsxs)("tbody",{children:[Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}
1),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]}),Object(M.jsxs)("tr",{className:"",children:[Object(M.jsx)("td",{children:"Aster"}),Object(M.jsx)("td",{children:"1992"}),Object(M.jsx)("td",{children:"7.2"}),Object(M.jsx)("td",{children:"3"}),Object(M.jsx)("td",{children:"32"}),Object(M.jsx)("td",{children:"96"}),Object(M.jsx)("td",{children:"112"}),Object(M.jsx)("td",{children:"61"}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."}),Object(M.jsx)("td",{children:"92%"}),Object(M.jsx)("td",{children:"9,538 Cr."})]})]})]})})]})})})})]})}}var bA=Object(c.f)(xA);class mA extends i.a.Component{constructor(t){if(super(t),"undefined"!==typeof W.get.filter){var e=JSON.parse(W.get.filter);this.state={whichDeveloper:20===e.expiringInMonth?2:30===e.expiringInMonth?3:1}}else this.state={whichDeveloper:1}}componentDidUpdate(t,e){if("undefined"!==typeof W.get.filter){var a=JSON.parse(W.get.filter),s=20===a.expiringInMonth?2:30===a.expiringInMonth?3:1;this.state.whichDeveloper!==s&&this.setState({whichDeveloper:s})}}render(){return Object(M.jsxs)(M.Fragment,{children:[1===this.state.whichDeveloper&&Object(M.jsx)(pA,{}),2===this.state.whichDeveloper&&Object(M.jsx)(AA,{}),3===this.state.whichDeveloper&&Object(M.jsx)(bA,{})]})}}var gA=Object(c.f)(mA);class OA extends i.a.Component{constructor(){super(...arguments),this.state={passedFilters:{},errorCode:0}}componentDidMount(){d.a.get("https://www.crematrix.com/api/edge/retail/check_auth").then((t=>{console.log("success");var e=X(W.get.filter);this.props.dispatch({type:"CHANGE_SELECTED_FILTER",payload:JSON.stringify(e)}),this.setState({errorCode:200,passedFilters:e})})).catch((t=>{t.response?(console.log("response error"),this.setState({errorCode:t.response.status})):t.request?(console.log("request error"),this.setState({errorCode:400})):console.log("Error",t.message)}))}render(){return 401===this.state.errorCode?Object(M.jsx)("h6",{children:"You are not authorized to access this page"}):200===this.state.errorCode?Object(M.jsx)(Jt,{value:{filters:this.state.passedFilters},children:Object(M.jsxs)(c.d,{children:[Object(M.jsx)(c.b,{exact:!0,path:"/retail",children:Object(M.jsx)(c.a,{to:"/edge/retail/dashboard"})}),Object(M.jsx)(c.b,{exact:!0,path:"/retail/dashboard",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(ij,{}
1),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(oj,{activeKey:"1",propertyType:"retail"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(nA,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/retail/region",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(ij,{}),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(oj,{activeKey:"2",propertyType:"retail"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(dA,{})})]})})})]})}),Object(M.jsx)(c.b,{exact:!0,path:"/retail/developer",children:Object(M.jsxs)("div",{className:"container-fluid ps-0 pe-0",children:[Object(M.jsx)(ij,{}
1),Object(M.jsx)("div",{children:Object(M.jsx)("div",{className:"container-fluid",children:Object(M.jsxs)("div",{className:"row",children:[Object(M.jsx)("div",{className:"col-lg-1 pe-0 sideNavContainer",children:Object(M.jsx)(oj,{activeKey:"3",propertyType:"retail"})}),Object(M.jsx)("div",{className:"col-lg-11 mainContainer",children:Object(M.jsx)(gA,{})})]})})})]})}),Object(M.jsx)(c.b,{path:"*",exact:!0,children:Object(M.jsx)(fr,{})})]})}):Object(M.jsx)("div",{children:"Loading..."})}}var uA=OA,yA=a(764),fA=a.n(yA);class wA extends i.a.Component{render(){return Object(M.jsx)(n.a,{basename:"/edge",children:Object(M.jsxs)(c.d,{children:[Object(M.jsx)(c.b,{exact:!0,path:"/",children:Object(M.jsx)(fr,{})}),Object(M.jsx)(c.b,{exact:!0,path:"/edge",children:Object(M.jsx)(fr,{})}),Object(M.jsx)(c.b,{path:"/office",children:Object(M.jsx)(Wp,{})}),Object(M.jsx)(c.b,{path:"/retail",children:Object(M.jsx)(uA,{})}),Object(M.jsx)(c.b,{path:"/warehouse",children:Object(M.jsx)(fA.a,{})}),Object(M.jsx)(c.b,{path:"*",exact:!0,children:Object(M.jsx)(fr,{})})]})})}}var NA=wA;var SA=function(){return Object(M.jsx)(NA,{})},DA=(a(1094),a(1095),a(1096),a(1097),a(1098),a(129));const MA={showFilterDiv:!1,filter:[],selectedFilters:{},selectedMenu:"",downloadOptions:{},creUser:"",areaType:"chargeable",globalMode:"quarterly"},CA=Object(DA.d)((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:MA,e=arguments.length>1?arguments[1]:void 0;return"HIDE_FILTER_DIV"===e.type?Object.assign({},t,{showFilterDiv:e.payload.showFilterDiv}):"CHANGE_CHARGEABLE_TO_CARPET"===e.type?Object.assign({},t,{areaType:e.payload.areaType}):"CHANGE_QUARTERLY_TO_YEARLY"===e.type?Object.assign({},t,{globalMode:e.payload.globalMode}):"SHOW_FILTER_DIV"===e.type?Object.assign({},t,{showFilterDiv:e.payload.showFilterDiv}):"CHANGE_SELECTED_FILTER"===e.type?Object.assign({},t,{selectedFilters:e.payload}):"CHANGE_SELECTED_FILTER_MENU"===e.type?Object.assign({},t,{selectedFilters:e.payload,selectedMenu:e.selectMenu}):"CHANGE_SELECTED_SIDE_MENU"===e.type?Object.assign({},t,{selectedMenu:e.selectMenuNew}):"SET_DOWNLOAD_PERMISSIONS"===e.type?Object.assign({},t,{downloadOptions:e.payload}):"CHECK_USER_COMPANY"===e.type?Object.assign({},t,{creUser:e.payload}):"ADD_TO_FILTER"===e.type||"REMOVE_FROM_FILTER"===e.type?(t.filter[e.payload.key]=e.payload.value,Object(h.a)(Object(h.a)({},t),{},{filter:t.filter})):t}));var FA=CA;a(1099);window.store=FA,console.error=()=>{},o.a.render(Object(M.jsx)(i.a.StrictMode,{children:Object(M.jsx)(D.a,{store:FA,children:Object(M.jsx)(SA,{})})}),document.getElementById("root"))},724:function(t,e){},764:function(t,e){},805:function(t,e,a){},806:function(t,e,a){}},[[1102,3,4]]]);
2//# sourceMappingURL=main.54f5f53e.chunk.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.