1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1589],{41946:(e,t,a)=>{var l=a(71266);e.exports=function(e,t){return l(e,t)}},51589:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>S});var l=a(37876),i=a(70381),n=a(18847),r=a.n(n),s=a(14232),o=a(24755),d=a(15039),c=a.n(d),p=a(95041),b=a(21942),u=a(63318),h=a(41946),m=a.n(h),g=a(94547),x=a(16225);let f=r()(()=>Promise.all([a.e(7094),a.e(3132)]).then(a.bind(a,63132)),{loadableGenerated:{webpack:()=>[63132]},ssr:!0}),_=r()(()=>Promise.all([a.e(8746),a.e(7094),a.e(1116),a.e(8161),a.e(2985)]).then(a.bind(a,68161)),{loadableGenerated:{webpack:()=>[68161]},ssr:!0}),C=r()(()=>Promise.all([a.e(7094),a.e(1116),a.e(8660)]).then(a.bind(a,26279)),{loadableGenerated:{webpack:()=>[26279]},ssr:!1}),P=r()(()=>Promise.all([a.e(8746),a.e(7094),a.e(1116),a.e(4793)]).then(a.bind(a,84793)),{loadableGenerated:{webpack:()=>[84793]},ssr:!1}),j=r()(()=>Promise.all([a.e(4715),a.e(1116),a.e(1065)]).then(a.bind(a,31065)),{loadableGenerated:{webpack:()=>[31065]},ssr:!1}),T=r()(()=>Promise.all([a.e(4715),a.e(8746),a.e(7094),a.e(1116),a.e(8161),a.e(9441),a.e(7200)]).then(a.bind(a,29441)),{loadableGenerated:{webpack:()=>[29441]},ssr:!1}),y=r()(()=>a.e(1663).then(a.bind(a,31663)),{loadableGenerated:{webpack:()=>[31663]},ssr:!1}),S=(0,s.memo)(e=>{let{t}=(0,o.Bd)(),{root_class:n,style:r,floorPlanData:d,propertyGalleryCTAHandler:h,propertyDetailsGallery:m,unit_floor_plans:S,unitFloorPlanImages:v=[],builder:w,property_id:N,project_name_short:A,projectName:k,AreaType:O,p_area_type:L,areaTitle:R,cross_links:G={},openpopupModal:H,projectNameWithLocality:I,isMobileView:q,onRequestFloorPlan:D}=e,F=h||m,$=s.useMemo(()=>((e,t=[])=>Array.isArray(e)?t?.length?e.map(e=>{if(e?.floorPlanImageList||e?.floorImageUrl)return e;let a=e?.id!=null?String(e.id):"",l=e?.imageName?String(e.imageName):"",i=e?.alt?String(e.alt):"",n=t.filter(e=>{if(!e?.url)return!1;let t=null!=e.id?String(e.id):"",n=e.imageName?String(e.imageName):"",r=e.alt?String(e.alt):"";return!!(a&&(t===a||t.startsWith(`${a}_`))||l&&(n===l||n.startsWith(`${l}-`))||i&&(r===i||r.startsWith(`${i} `)||r.startsWith(`${i} -`)))});if(!n.length)return e;let r={};for(let e of n){let t=String(e.type||e.planViewType||"").toUpperCase();"2D"===t||"3D"===t?r[t]=e.url:r["2D"]||(r["2D"]=e.url)}let s=r["3D"]||r["2D"]||n[0]?.url||"";return s&&-1===String(s).indexOf("noimage")?{...e,floorPlanImageList:Object.keys(r).length?r:{"2D":s},floorImage:!0,floorImageUrl:s}:e}):e:[])(d||[],v),[d,v]),[U,z]=(0,s.useState)(!1),[Q,B]=(0,s.useState)([...new Set($.map(e=>e.type))]),[M,W]=(0,s.useState)(""),[E,V]=(0,s.useState)("all"),[K,X]=(0,s.useState)({}),[Y,J]=(0,s.useState)(!1),[Z,ee]=(0,s.useState)({open:!1}),[et,ea]=(0,s.useState)(!1),[el,ei]=(0,u.Ay)("100px"),[en,er]=(0,s.useState)(null);function es(e,t,a,l){ee({open:!0,label:e,formName:t,buttonName:a,enquiredFor:l})}(0,s.useEffect)(()=>{ea(!0)},[]),(0,s.useEffect)(()=>{if(!ei)return;let e=!1;return Promise.all([a.e(3086),a.e(2998)]).then(a.t.bind(a,92998,23)).then(t=>{e||er(t.default)}),()=>{e=!0}},[ei]),(0,s.useEffect)(()=>{$&&$.length>0&&(B([...new Set($.map(e=>e.type))]),W($[0].type),V("all"))},[$]);let[eo,ed]=(0,s.useState)(!1);(0,i.A)(eo),(0,s.useEffect)(()=>{},[M]);let ec=e=>e?.["3D"]||e?.["2D"]||"",[ep,eb]=(0,s.useState)(null);(0,s.useEffect)(()=>{if($&&$.length>0){let e=$[0];if(e?.floorImage&&e.floorImageUrl?.indexOf("noimage")===-1)eb(0);else{let e=$.findIndex(e=>e.floorImage&&e.floorImageUrl?.indexOf("noimage")===-1);eb(-1!==e?e:null)}}let e=$.findIndex(e=>{let t=ec(e.floorPlanImageList);return t&&-1===t.indexOf("noimage")});eb(-1!==e?e:null)},[$]);let eu=e=>{eb(ep===e?null:e)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("section",{ref:el,id:"pricing",style:r,className:`${c()([en?.root,n])}`,children:[(0,l.jsxs)("div",{className:en?.mobilepadding,children:[(0,l.jsxs)("h2",{className:en?.pdpPricingSectionTitle,children:["Pricing & Floor Plans of ",A]}),(0,l.jsxs)("div",{className:c()(["tabDetailsWapper",en?.mobileMargin]),children:[Q&&Q.length>1?(0,l.jsx)(p.A,{variant:"pill",tabs:[{label:"All",value:"all"},...Q.map(e=>({label:e,value:e}))],value:E,onChange:e=>{V(e);let t=null;(t="all"===e?$.find(e=>{let t=ec(e.floorPlanImageList);return t&&-1===t.indexOf("noimage")}):$.find(t=>{let a=ec(t.floorPlanImageList);return t.type===e&&a&&-1===a.indexOf("noimage")}))&&t.id?eb($.findIndex(e=>e.id===t.id)):t?eb($.findIndex(e=>e.type===t.type&&e.carpetArea===t.carpetArea&&e.actualPrice===t.actualPrice)):eb(null)}
1,getDataCy:e=>`type-${(0,b.Yv)(e)}`}):null,(0,l.jsx)("div",{className:en?.pricingTableContainer,children:(0,l.jsxs)("table",{className:en?.pricingTable,children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{className:en?.wideCol,children:"Type"}),(0,l.jsx)("th",{className:c()(en?.wideCol,en?.pdpPricingThArea),children:L||R}),(0,l.jsx)("th",{className:en?.wideCol,children:"Price"}),(0,l.jsx)("th",{className:c()(en?.narrowCol,en?.pdpPricingThActions),children:q?"View Floorplan":"Floorplan"}),(0,l.jsx)("th",{className:c()(en?.narrowCol,en?.pdpPricingThActions),colSpan:2,children:q?"View RoomSizes":"Room sizes"})]})}),$&&$.length>0&&(0,l.jsx)("tbody",{children:$.map((e,a)=>{let{type:i,actualPrice:n,carpetArea:r,areaUnit:o,roomSizes:d,floorPlanImageList:p,id:b}=e,u="all"===E||E===e?.type,h=ec(p),m=h&&-1===h.indexOf("noimage");return(0,l.jsxs)(s.Fragment,{children:[(0,l.jsxs)("tr",{className:c()([et?u?en?.show1:en?.hide:en?.show1]),children:[(0,l.jsx)("td",{className:en?.pdpPricingCellType,children:(0,l.jsx)("span",{className:en?.pdpPricingCellTypeLabel,children:i})}),r&&parseInt(r)?(0,l.jsxs)("td",{className:en?.pdpPricingCellMobilePadding,style:{paddingLeft:q?"8px":"0px",paddingRight:q?"8px":"0px"},children:[r," ",o]}):(0,l.jsx)("td",{className:en?.PriceOnRequest,children:(0,l.jsx)("div",{onClick:()=>{q?(X({header:"Request for Carpet Area",subHeader:"We will contact you in a short while",buttonText:"",innerHeader:"Request for Carpet Area",innerSubHeader:" ",buttons:{left:"Close",right:"Get Quote"},formType:"Get Carpet Details",enquiredFor:"Contact Us"}),ed(!0)):es("Request For Area","Area On Request","Request For Area","Contact Us")},className:c()(["price-breakup",en?.priceHover,en?.textOverflow,en?.pdpPricingPriceOnRequestLink]),children:(0,l.jsx)("span",{children:"Area On Request"})})}),n&&parseInt(n)?(0,l.jsx)("td",{children:`${t("currency.symbol")} ${n}`}):(0,l.jsx)("td",{className:en?.PriceOnRequest,children:(0,l.jsx)("div",{onClick:()=>{q?(X({header:"Request for Price",subHeader:"We will contact you in a short while",buttonText:"",innerHeader:"Request for Price",innerSubHeader:" ",buttons:{left:"Close",right:"Get Quote"},formType:"Get Price Details",enquiredFor:"Contact Us "}),ed(!0)):es("Request For Price","Price On Request","Request For Price","Contact Us")},className:c()(["price-breakup",en?.priceHover,en?.textOverflow,en?.pdpPricingPriceOnRequestLink]),children:(0,l.jsx)("span",{children:"Price On Request"})})}),(0,l.jsx)("td",{onClick:m?e=>{e.stopPropagation(),eu(a)}:e=>{e.stopPropagation(),D?.()},className:c()(["price-breakup",en?.pdpPricingActionCell,en?.priceHover]),children:m?q?(0,l.jsx)("img",{loading:"lazy",fetchpriority:"low",src:`${x.STATIC_CDN_HOST}/assets/image/floorPlan-n.svg`,alt:"floor-plan"}):"[ View Now ]":q?(0,l.jsx)("span",{children:"Request Now"}):"[ Request Now ]"}),(0,l.jsx)("td",{onClick:e=>{e.stopPropagation(),d?.length>0?H(d):D?.()},className:c()(["price-breakup",en?.pdpPricingActionCell,en?.priceHover]),children:d?.length>0?q?(0,l.jsx)("img",{loading:"lazy",fetchpriority:"low",src:`${x.STATIC_CDN_HOST}/assets/image/view-plan.svg`,alt:"view-plan"}):"[ View Now ]":q?(0,l.jsx)("span",{children:"Request Now"}):"[ Request Now ]"}),(0,l.jsx)("td",{onClick:m?e=>{e.stopPropagation(),eu(a)}:void 0,className:c()(en?.pdpPricingToggleCell,m?en?.pdpPricingToggleCellActive:en?.pdpPricingToggleCellDisabled),children:ep===a?(0,l.jsx)("img",{loading:"lazy",fetchpriority:"low",src:`${x.STATIC_CDN_HOST}/assets/image/arrow-down.svg`,alt:"Collapse"}):(0,l.jsx)("img",{loading:"lazy",fetchpriority:"low",src:`${x.STATIC_CDN_HOST}/assets/image/arrow-right.svg`,alt:"Expand"})})]}),ep===a&&(0,l.jsx)("tr",{className:c()([en?.pdpPricingAccordionRow,u?en?.show1:en?.hide]),children:(0,l.jsxs)("td",{colSpan:6,className:en?.pdpPricingAccordionTd,children:[(0,l.jsxs)("div",{className:c()(en?.accordionContent,en?.pdpPricingAccordionClickable),onClick:()=>{F("Unit Floor Plans",a,q?b:`image-${b}`)},children:[p&&(0,l.jsx)(l.Fragment,{children:q?(0,l.jsx)("img",{loading:"lazy",src:`${h}?tr=w-450,h-auto`,alt:(0,g.r9)(I,`Floor plan ${i||""} ${r||""} ${o||""}`),style:{maxHeight:"300px",maxWidth:"100%"}}):(0,l.jsx)("img",{loading:"lazy",src:`${h}?tr=w-668,h-auto`,alt:(0,g.r9)(I,`Floor plan ${i||""} ${r||""} ${o||""}`),style:{maxHeight:"520px",maxWidth:"634px"}})}),-1==h.indexOf("noimage")&&(0,l.jsx)("div",{className:en?.pdpPricing_zoomIcon,children:(0,l.jsx)("img",{loading:"lazy",fetchpriority:"low",src:x.COMMON_ICONS_SPRITE_URL,title:"zoom",alt:"zoom",style:{objectPosition:"-504px -2px",objectFit:"none",width:"27px",height:"35px",opacity:"0.7",cursor:"pointer"}})})]}),(0,l.jsxs)("div",{className:en?.viewRoomSizeTxtContainer,children:[!q&&d?.length>0&&(0,l.jsx)("div",{className:en?.viewRoomSizeTxt,onClick:()=>z(e=>!e),children:"View Room Sizes"}),U&&(0,l.jsx)("div",{onClick:e=>e.stopPropagation(),children:(0,l.jsx)(y,{roomSizes:d,root_class:en?.viewRoomPopup,onClose:()=>z(!1)})})]})]})})]},a)})})]})}),(0,l.jsxs)("div",{className:en?.tableFooterContainer,children:[(0,l.jsxs)("div",{className:en?.bestQuoteContainer,children:[(0,l.jsx)("img",{loading:"lazy",fetchpriority:"low",src:`${x.STATIC_CDN_HOST}/assets/image/best-quote.svg`,title:"Get The Best Quote",alt:"Get The Best Quote",className:en?.pdpPricingBestQuoteImg}),(0,l.jsx)("button",{onClick:()=>{q?(X({header:"Get The Best Quote",subHeader:"We will contact you in a short while",buttonText:"Get Best Quote",innerHeader:"Get the Best",innerSubHeader:" ",buttons:{left:"Close",right:"Get The Best Quote"},formType:"Get Best Quote",enquiredFor:"Get The Best Quote"}),ed(!0)):es("Get Best Quote","Get the Best Quote","Get Best Quote","Get The Best Quote")},className:en?.pdpPricingFooterBtn,children:"Get The Best Quote"})]}),(0,l.jsx)("div",{className:"costsheet-container",children:(0,l.jsx)("div",{className:c()(en?.pdpPricingCostSheetTrigger,en?.downloadCostText),onClick:()=>{q?(X({header:"Download Cost Sheet",subHeader:"The sheet is downloaded. We will contact you for the further queries",buttonText:"",innerHeader:"Get Costing Details",innerSubHeader:"Please provide details to download cost sheet",buttons:{left:"Close",right:"Send Now"},formType:"Download Cost Sheet",enquiredFor:"Complete Costing Details"}),ed(!0)):es("Get Cost sheet","Get Costing Details","Get Cost Sheet","Complete Costing Details")},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("img",{loading:"lazy",fetchpriority:"low",src:x.COMMON_ICONS_SPRITE_URL,alt:"Getcostsheet",style:{width:"18px",height:"32px",objectFit:"none",objectPosition:"-474px 5px"}}),(0,l.jsx)("span",{className:en?.pdpPricingCostSheetLabel,children:"Get Cost Sheet"})]})})})]})]})]}
1),G&&Object.keys(G).length>0?(0,l.jsxs)("div",{className:en?.pdpPricingCrossLinks,children:[G.text&&(0,l.jsx)("h4",{className:en?.pdpPricingCrossLinkTitle,children:G.text}),G.links&&"object"==typeof G.links&&Object.entries(G.links).map(([e,t],a)=>(0,l.jsx)("a",{href:`/${t}`,className:en?.pdpPricingCrossLink,target:"_blank",rel:"noopener noreferrer",children:e},a))]}):null]}),q&&Y&&(0,l.jsx)(j,{isOpen:Y,setOpen:J,root_class:n,floorPlanData:$,propertyDetailsGallery:m,unit_floor_plans:S,AreaType:O}),eo&&(0,l.jsx)(T,{isOpen:eo,setOpen:ed,heading:k,builder:w,snapPoints:[470,300,200,0],successSheet:{header:K?.header,subHeader:K?.subHeader,buttonText:K?.buttonText},innerHeader:K?.innerHeader,innerSubHeader:K?.innerSubHeader,property_id:N,buttons:K?.buttons,formType:K?.formType,enquiredFor:K?.enquiredFor,module_type:"buy"}),!q&&Z.open&&(0,l.jsx)(C,{root_class:en?.customModal,open:Z.open,close:function(){ee({open:!1})},modal_content:(0,l.jsx)(f,{active_index:0,list:[{label:Z.label,value:(0,l.jsx)(P,{property_id:N,heading:k,formName:Z.formName,buttonName:Z.buttonName,enquiredFor:Z.enquiredFor,module_type:"buy"})},{label:"Arrange Site Visit",value:(0,l.jsx)(_,{heading:k,property_id:N,module_type:"buy"})}]})})]})},m())},86678:e=>{e.exports={root:"hbTab_root__wP5mw",tabList:"hbTab_tabList__0dr0D",tabListPill:"hbTab_tabListPill__f9CLi",tabListUnderline:"hbTab_tabListUnderline___u3He",tabListScrollable:"hbTab_tabListScrollable__6Kl3N",tabListMenu:"hbTab_tabListMenu__N7oZe",tab:"hbTab_tab___6f_q",tabPill:"hbTab_tabPill__nPsev",tabPillActive:"hbTab_tabPillActive__3SDJ2",tabMenuItem:"hbTab_tabMenuItem__obXOV",tabUnderline:"hbTab_tabUnderline__Yse5g",tabUnderlineActive:"hbTab_tabUnderlineActive__8tCkL",panel:"hbTab_panel__iMTrt",panelHidden:"hbTab_panelHidden__wQfGg",tabListSegmented:"hbTab_tabListSegmented__xKRgU",tabSegmented:"hbTab_tabSegmented__thXrX",tabSegmentedActive:"hbTab_tabSegmentedActive__RY8OG",panelSegmented:"hbTab_panelSegmented__ueAx_"}},95041:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var l=a(37876),i=a(14232),n=a(15039),r=a.n(n),s=a(86678),o=a.n(s);let d=({variant:e="pill",tabs:t=[],value:a,onChange:n=()=>{},scrollable:s=!0,className:d,listClassName:c,panelClassName:p,getDataCy:b,menuLayout:u=!1})=>{let h="pill"===e,m="segmented"===e,g=t.some(e=>null!=e.content),x=m?o().tabListSegmented:h?o().tabListPill:o().tabListUnderline,f=m?o().tabSegmented:h?o().tabPill:o().tabUnderline,_=m?o().tabSegmentedActive:h?o().tabPillActive:o().tabUnderlineActive,C=t.reduce((e,t,a)=>(t.hidden||e.push(a),e),[]),P=(0,i.useCallback)((e,a)=>{let l=C.indexOf(a);if(-1===l)return;let i=l;if("ArrowRight"===e.key)i=(l+1)%C.length;else{if("ArrowLeft"!==e.key)return;i=(l-1+C.length)%C.length}e.preventDefault(),n(t[C[i]].value)},[t,n,C]);return(0,l.jsxs)("div",{className:r()(o().root,d),children:[(0,l.jsx)("div",{role:"tablist",className:r()(o().tabList,x,s&&!m&&o().tabListScrollable,u&&o().tabListMenu,c),children:t.map((e,t)=>{if(e.hidden)return null;let i=e.value===a,s=`hbtab-tab-${e.value}`;return(0,l.jsx)("button",{type:"button",role:"tab",id:s,"aria-selected":i,"aria-controls":g?`hbtab-panel-${e.value}`:void 0,tabIndex:i?0:-1,disabled:e.disabled,"data-cy":b?b(e.value):e.dataCy,className:r()(o().tab,f,i&&_,h&&"mainTabList",u&&o().tabMenuItem),onClick:()=>n(e.value),onKeyDown:e=>P(e,t),children:e.label},e.value??t)})}),g&&t.map((e,t)=>null==e.content?null:(0,l.jsx)("div",{role:"tabpanel",id:`hbtab-panel-${e.value}`,"aria-labelledby":`hbtab-tab-${e.value}`,hidden:e.value!==a,className:r()(o().panel,m&&o().panelSegmented,e.value!==a&&o().panelHidden,p),children:e.value===a&&e.content},e.value??t))]})}}}]);
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.