1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var l in r)r.hasOwnProperty(l)&&(e[l]=r[l])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:filtering-out-cove-sg":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bcb4a88e-d16d-4312-a4f6-22fb1f33d653",e._sentryDebugIdIdentifier="sentry-dbid-bcb4a88e-d16d-4312-a4f6-22fb1f33d653")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1365],{19591:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>_,default:()=>g});var l=r(37236),n=r(21580),s=r(62179),o=r(14062),a=r(81055),i=r.n(a),d=r(12774),c=r.n(d),u=r(41368);let f=i()(()=>Promise.resolve().then(r.bind(r,51245)).then(e=>e.Button),{loadableGenerated:{webpack:()=>[51245]}}),h=i()(()=>Promise.resolve().then(r.bind(r,51245)).then(e=>e.HeroSection),{loadableGenerated:{webpack:()=>[51245]}}),m=i()(()=>Promise.resolve().then(r.bind(r,51245)).then(e=>e.PromoCardContent),{loadableGenerated:{webpack:()=>[51245]}}),b=i()(()=>Promise.resolve().then(r.bind(r,1031)).then(e=>e.NoPromos),{loadableGenerated:{webpack:()=>[1031]}}),p=i()(()=>Promise.resolve().then(r.bind(r,1031)).then(e=>e.Promos),{loadableGenerated:{webpack:()=>[1031]}});var _=!0;function g({activePromotions:e,pastPromotions:t}){let{t:r,lang:a}=(0,o.A)(),[i,d]=(0,u.useState)(1);return(0,l.jsxs)(n.A,{title:r("promo"),description:s.m.promo_description?.[a]||"",headChildren:(0,l.jsx)("link",{rel:"preload",href:"/images/hero-section/promo.jpg",as:"image"}),children:[(0,l.jsx)(h,{title:r("promo"),text:r("upgrade_your_coliving_life_with_our_events"),image:"/images/hero-section/promo.jpg"}),(0,l.jsxs)("section",{className:"tablet:mt-16 desktop:mt-20 container mt-10",children:[(0,l.jsxs)("div",{className:"tablet:flex-row tablet:items-center tablet:gap-10 flex flex-col gap-4",children:[(0,l.jsx)("h2",{className:"heading-1",children:r("exclusive_offers")}),(0,l.jsxs)("div",{className:"flex h-fit gap-2",children:[(0,l.jsx)(f,{outlined:1!==i,color:1===i?"coral":"neutral-600",size:"default",onClick:()=>d(1),children:r("current")}),(0,l.jsx)(f,{outlined:2!==i,color:2===i?"coral":"neutral-600",size:"default",onClick:()=>d(2),children:r("past")})]})]}),1===i&&(e.length>0?(0,l.jsx)("div",{className:"tablet:grid tablet:grid-cols-2 desktop:grid-cols-3 mt-6 flex flex-wrap gap-6",children:(0,l.jsx)(p,{items:e,cardClassName:"shrink",imageClassName:"w-full",children:e=>(0,l.jsx)(m,{data:e,url:`/promo/${e.slug}`,children:(0,l.jsxs)(l.Fragment,{children:["button_url"in e&&"button_label"in e&&e.button_url&&(0,l.jsx)(f,{href:e.button_url,className:"mt-6 w-full !justify-center lowercase",outlined:!1,target:e.button_url.includes("https://cove.sg")?"_self":"_blank",rel:"noopener nofollow",children:r("browse_now")}),(0,l.jsx)("div",{className:"mt-4 pb-4 text-center",children:(0,l.jsx)(c(),{className:"text-sm font-medium text-neutral-600 underline hover:no-underline",href:`/promo/${e.slug}`,prefetch:!1,children:r("view_offer_details")})})]})})})}):(0,l.jsx)(b,{type:"offer"})),2===i&&(t.length>0?(0,l.jsx)("div",{className:"tablet:grid tablet:grid-cols-2 desktop:grid-cols-3 mt-6 flex flex-wrap gap-6",children:(0,l.jsx)(p,{items:t,cardClassName:"shrink",imageClassName:"grayscale w-full",children:e=>(0,l.jsx)(m,{data:e,url:`/promo/${e.slug}`,children:(0,l.jsxs)(l.Fragment,{children:["button_url"in e&&"button_label"in e&&e.button_url&&(0,l.jsx)(f,{href:e.button_url,className:"mt-6 w-full !justify-center lowercase",outlined:!1,target:e.button_url.includes("https://cove.sg")?"_self":"_blank",rel:"noopener nofollow",children:r("browse_now")}),(0,l.jsx)("div",{className:"mt-4 pb-4 text-center",children:(0,l.jsx)(c(),{className:"text-sm font-medium text-neutral-600 underline hover:no-underline",href:`/promo/${e.slug}`,prefetch:!1,children:r("view_offer_details")})})]})})})}):(0,l.jsx)(b,{type:"offer"}))]})]})}},98763:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/promo",function(){return r(19591)}])}},e=>{e.O(0,[1580,636,6593,8792],()=>e(e.s=98763)),_N_E=e.O()}]);
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.